:root {
  --ink: #1c1612;
  --muted: #5e554c;
  --paper: #f3eee6;
  --card: #fffdf9;
  --line: rgba(28, 22, 18, 0.12);
  --plum: #3c3148;
  --plum-soft: #efe6f2;
  --header: #14110f;
  --cream: #f7f2ea;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --header-h: 4.6rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 380;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}

h1 { font-size: clamp(2.85rem, 12vw, 7.2rem); max-width: 10ch; }

h2 { font-size: clamp(2.4rem, 6vw, 4rem); }

p { margin: 0; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--cream);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus { top: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.45rem 0.9rem;
  background: var(--header);
  color: var(--cream);
}

.logo { flex: 0 0 auto; }

.logo img {
  display: block;
  height: 2.7rem;
  width: auto;
}

.view[hidden] { display: none !important; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.booking-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(247, 242, 234, 0.45);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.booking-link:hover { background: rgba(247, 242, 234, 0.08); }

.menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
}

.menu summary::-webkit-details-marker { display: none; }

.primary-nav {
  position: absolute;
  right: 0.75rem;
  top: calc(100% - 0.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 12rem;
  padding: 0.45rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(20, 17, 15, 0.18);
}

.primary-nav a {
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] { background: rgba(60, 49, 72, 0.08); }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - var(--header-h));
  color: var(--cream);
  background: #1a1613;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 28vh 1.15rem 1.6rem;
  background: linear-gradient(to top, rgba(14, 11, 9, 0.88) 0%, rgba(14, 11, 9, 0.45) 55%, rgba(14, 11, 9, 0.05) 100%);
}

.kicker {
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  margin-top: 0.9rem;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 560;
  font-size: 0.98rem;
  text-decoration: none;
}

.btn-solid { background: var(--cream); color: var(--ink); }

.btn-solid:hover { background: #fff; }

.btn-ghost {
  border: 1px solid rgba(247, 242, 234, 0.7);
  color: var(--cream);
}

.btn-line {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-plum { background: var(--plum); color: var(--cream); }

.trial {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.15rem 1.15rem;
  background: var(--plum);
  color: var(--cream);
}

.trial h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.trial-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trial-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: min(100%, 11rem);
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  background: rgba(247, 242, 234, 0.08);
  color: inherit;
  text-decoration: none;
}

.trial-card strong { font-weight: 600; }

.trial-card:hover { background: rgba(247, 242, 234, 0.16); }

.was {
  color: rgba(247, 242, 234, 0.62);
  text-decoration: line-through;
}

.practice {
  display: grid;
  gap: 1.25rem;
  padding: 2.4rem 1.15rem;
}

.practice-copy {
  display: grid;
  gap: 0.85rem;
}

.practice-photo img,
.bleed img,
.gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.practice-photo img {
  border-radius: 1.2rem;
  aspect-ratio: 4 / 3;
}

.panel { padding: 2.2rem 1.15rem 0.4rem; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.7rem 1.2rem;
  margin-bottom: 1rem;
}

.text-link {
  font-weight: 500;
  text-underline-offset: 0.18em;
}

.muted { color: var(--muted); }

.stack { display: grid; gap: 1.15rem; }

.day h3 {
  margin-bottom: 0.45rem;
  font-size: 1.7rem;
}

.class-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.class-row .when {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.class-row h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  text-transform: capitalize;
}

.class-row h4 a {
  color: inherit;
  text-decoration: none;
}

.class-row h4 a:hover {
  text-decoration: underline;
}

.class-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.95rem;
}

.class-row .btn { grid-column: 1 / -1; justify-self: start; }

.credits-head { margin-top: 2rem; }

.cards {
  display: grid;
  gap: 0.8rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
}

.card h3 {
  font-size: 2rem;
  text-transform: capitalize;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

.card .price {
  font-weight: 600;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.bleed { margin: 2rem 0 0; }

.bleed img {
  max-height: 70vh;
  object-position: center 30%;
}

.visit {
  display: grid;
  gap: 1rem;
  padding: 2.4rem 1.15rem 1rem;
}

.address {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.map-frame {
  overflow: hidden;
  border-radius: 1.2rem;
  background: #ddd6cc;
  min-height: 18rem;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 1rem 1.15rem 2rem;
}

.gallery figure { margin: 0; }

.gallery img {
  aspect-ratio: 1;
  border-radius: 0.8rem;
}

.gallery figure:first-child { grid-column: 1 / -1; }

.gallery figure:first-child img { aspect-ratio: 16 / 10; }

.site-footer {
  padding: 1.5rem 1.15rem 2.4rem;
  background: var(--header);
  color: var(--cream);
}

.footer-mark {
  height: 3.4rem;
  width: auto;
  margin-bottom: 0.8rem;
}

.noscript {
  padding: 1rem 1.15rem 2rem;
  background: #fff4d8;
}

:focus-visible {
  outline: 2px solid #8d6ea8;
  outline-offset: 3px;
}

@media (min-width: 800px) {
  .logo img { height: 3.4rem; }

  h1 { max-width: 12ch; }

  .menu summary { display: none; }

  .primary-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    min-width: 0;
    padding: 0;
    background: transparent;
    color: var(--cream);
    box-shadow: none;
  }

  .primary-nav a { padding: 0.4rem 0.45rem; font-size: 0.92rem; }

  .primary-nav a[data-nav="home"] { display: none; }

  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] { background: rgba(247, 242, 234, 0.12); }

  .hero-copy { padding: 0 8vw 4.5rem; }

  .practice {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
    padding: 4.5rem 8vw;
  }

  .panel, .visit { padding-left: 8vw; padding-right: 8vw; }

  .class-row { grid-template-columns: 8.5rem 1fr auto; }

  .class-meta { grid-column: 2; }

  .class-row .btn { grid-column: 3; grid-row: 1 / span 2; align-self: center; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .visit {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 2rem;
    padding-top: 4rem;
  }

  .gallery {
    grid-template-columns: 1.4fr 1fr 1fr;
    padding: 1.2rem 8vw 3rem;
  }

  .gallery figure:first-child { grid-column: auto; grid-row: span 2; }

  .gallery figure:first-child img,
  .gallery img { aspect-ratio: auto; height: 100%; min-height: 14rem; }

  .site-footer { padding: 2rem 8vw 3rem; }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
