/* Yogasana — heritage atelier */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Outfit:wght@300;400;500&display=swap");

:root {
  --ink: #1c1412;
  --burgundy: #5c2430;
  --burgundy-deep: #3e1822;
  --gold: #b8956a;
  --gold-bright: #d4bc94;
  --ivory: #f6f1ea;
  --paper: #fbf8f4;
  --sand: #e7ddd0;
  --stone: #6e6258;
  --white: #fffcf8;
  --line: rgba(28, 20, 18, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 300;
  font-size: 1.05rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  z-index: 10000;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.kicker.light { color: var(--gold-bright); }

.wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}
.wrap-wide {
  width: min(1360px, calc(100% - 2.4rem));
  margin-inline: auto;
}

/* Veil */
.veil {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 9000;
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.veil span {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.veil.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* Utility + nav */
.utility {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 4vw;
  background: rgba(28, 20, 18, 0.45);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.utility a:hover { color: var(--gold-bright); }
.nav.is-solid ~ .utility,
body.scrolled .utility { background: var(--ink); }

.nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 4vw;
  color: var(--ivory);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s;
}
.nav.is-solid,
.nav.is-open {
  background: rgba(251, 248, 244, 0.98);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid { top: 0; }
body.scrolled .nav { top: 0; }
body.scrolled .utility { transform: translateY(-100%); }
.utility { transition: transform 0.4s var(--ease), background 0.4s; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--serif);
  font-size: 1.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
}
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 11px;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.btn-ivory { background: var(--ivory); color: var(--ink); }
.btn-ivory:hover { background: var(--white); }
.btn-line { border-color: rgba(255, 252, 248, 0.7); color: var(--ivory); }
.btn-line:hover { background: var(--ivory); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: var(--burgundy); }
.btn-gold {
  border-color: var(--gold);
  color: var(--gold-bright);
}
.nav.is-solid .btn-gold,
.nav.is-open .btn-gold { color: var(--burgundy); border-color: var(--burgundy); }
.nav.is-solid .btn-gold:hover,
.nav.is-open .btn-gold:hover { background: var(--burgundy); color: var(--ivory); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ivory);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8.5rem 0 2rem;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) saturate(0.85);
}
.js .hero-slide.is-active img { animation: drift 18s var(--ease) forwards; }
@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 12, 10, 0.72) 0%, rgba(18, 12, 10, 0.48) 46%, rgba(18, 12, 10, 0.38) 100%),
    linear-gradient(180deg, rgba(18, 12, 10, 0.55) 0%, rgba(18, 12, 10, 0.28) 42%, rgba(18, 12, 10, 0.62) 100%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 3rem));
  margin: 0 0 4.5rem 6vw;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.35rem 0 0.2rem;
}
.hero-sanskrit {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--gold-bright);
  margin-bottom: 1rem;
}
.hero-lede {
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(255, 252, 248, 0.88);
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-quote {
  margin-top: 2rem;
  max-width: 34rem;
  border-left: 1px solid var(--gold);
  padding-left: 1rem;
}
.hero-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.35;
}
.hero-quote cite {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.hero-quote.is-fading { opacity: 0; transition: opacity 0.4s; }
.hero-ui {
  position: absolute;
  z-index: 3;
  right: 6vw;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-ui button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 252, 248, 0.45);
  color: var(--ivory);
  font-size: 1.1rem;
}
.hero-ui button:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.dots { display: flex; gap: 0.45rem; }
.dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 252, 248, 0.4);
  border: 0;
}
.dots button[aria-selected="true"] { background: var(--gold-bright); }

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--gold-bright);
  overflow: hidden;
  border-top: 1px solid rgba(212, 188, 148, 0.25);
  border-bottom: 1px solid rgba(212, 188, 148, 0.25);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: ticker 42s linear infinite;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.marquee-track span::before {
  content: "·";
  margin-right: 2.5rem;
  color: var(--gold);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
section { padding: 6.5rem 0; }
.sec-head { margin-bottom: 3rem; max-width: 40rem; }
.sec-head h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0.4rem 0 0.8rem;
  font-weight: 500;
}
.lede { color: var(--stone); font-size: 1.08rem; max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: start;
}
.frame-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.intro-copy h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin: 0.4rem 0 1rem; }
.intro-copy p + p { margin-top: 1rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--burgundy);
}
.stats span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Method */
.method { background: var(--ivory); }
.method-list { display: grid; gap: 0; }
.method-item {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.method-item:last-child { border-bottom: 1px solid var(--line); }
.method-item .num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
}
.method-item h3 { font-size: 2rem; }
.method-item p { color: var(--stone); }

/* Classes home */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.class-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.class-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.class-card .body { padding: 1.4rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.class-card h3 { font-size: 1.8rem; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.price {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--burgundy);
  margin-top: auto;
}
.class-card p { color: var(--stone); font-size: 0.98rem; }
.link-quiet {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 0.15rem;
}
.link-quiet:hover { color: var(--burgundy); }

/* Ritual */
.ritual { background: var(--burgundy-deep); color: var(--ivory); }
.ritual .kicker { color: var(--gold-bright); }
.ritual .sec-head h2 { color: var(--ivory); }
.ritual-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.ritual-step {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(212, 188, 148, 0.55);
  padding: 1.5rem 1.25rem 1.6rem;
  min-height: 100%;
}
.ritual-step em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}
.ritual-step h3 { font-size: 1.6rem; margin-bottom: 0.5rem; color: var(--burgundy); }
.ritual-step p { color: var(--stone); font-size: 0.95rem; }

/* Teachers rail */
.teacher-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
}
.teacher-rail article { scroll-snap-align: start; }
.teacher-rail img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.teacher-rail h3 { font-size: 1.45rem; margin-top: 0.7rem; }
.teacher-rail p { color: var(--stone); font-size: 0.92rem; }

/* Testimonials */
.quotes { background: var(--ivory); }
.quote-stage { max-width: 820px; margin: 0 auto; text-align: center; min-height: 280px; }
.quote-stage blockquote { display: none; }
.quote-stage blockquote.is-active { display: block; animation: rise 0.7s var(--ease); }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.quote-stage q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  display: block;
}
.who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.who img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.who strong { display: block; font-weight: 500; }
.who span { color: var(--stone); font-size: 0.9rem; }
.quote-nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; }

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
}
.visit-grid img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.visit-copy {
  background: var(--ink);
  color: var(--ivory);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visit-copy h2 { font-size: clamp(2.4rem, 4vw, 3.5rem); margin: 0.4rem 0 1rem; }
.visit-copy p { color: rgba(255, 252, 248, 0.8); }
.visit-copy address { font-style: normal; margin: 1.4rem 0; color: var(--gold-bright); }
.visit-copy .btn { align-self: flex-start; margin-top: 0.6rem; }

/* Close band — inset so it never sits on the footer */
section.close-band {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
  width: min(1180px, calc(100% - 3rem));
  margin: 1rem auto 5rem;
  padding: 4.5rem 1.5rem;
}
.close-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close-band .shade {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 18, 0.55);
}
.close-band .inner { position: relative; z-index: 1; padding: 4rem 1.2rem; max-width: 40rem; }
.close-band h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0.4rem 0 0.8rem; }

/* Page hero */
.page-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 20, 18, 0.25), rgba(28, 20, 18, 0.72));
}
.page-hero .inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 2.4rem));
  margin: 0 auto 4.5rem;
}
.page-hero h1 { font-size: clamp(3.2rem, 8vw, 6.2rem); font-weight: 400; margin: 0.3rem 0 0.8rem; }
.page-hero p { max-width: 40rem; color: rgba(255, 252, 248, 0.88); }

/* Class features */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0.3rem 0 0.8rem; }
.feature .price { margin: 1rem 0; }
.detail-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.pill {
  border: 1px solid var(--line);
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Pricing */
.pricing { background: var(--ivory); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.plan {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 1.6rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.plan:hover,
.plan:focus-within {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--gold);
  transform: translateY(-8px);
}
.plan .flag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.plan h3 { font-size: 1.8rem; }
.plan .amount {
  font-family: var(--serif);
  font-size: 2.3rem;
  color: var(--burgundy);
}
.plan:hover .amount,
.plan:focus-within .amount { color: var(--gold-bright); }
.plan .amount span { font-family: var(--sans); font-size: 0.85rem; color: var(--stone); }
.plan:hover .amount span,
.plan:focus-within .amount span { color: rgba(255, 252, 248, 0.65); }
.plan ul { display: grid; gap: 0.45rem; color: var(--stone); font-size: 0.95rem; margin: 0.4rem 0 0.8rem; }
.plan:hover ul,
.plan:focus-within ul { color: rgba(255, 252, 248, 0.82); }
.plan .btn { margin-top: auto; }
.plan:hover .btn,
.plan:focus-within .btn {
  background: var(--ivory);
  color: var(--ink);
  border-color: transparent;
}

/* Schedule */
.day-panel { display: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 860px; background: var(--white); }
th, td { padding: 0.9rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.92rem; }
th {
  background: var(--ink);
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
td strong { display: block; font-weight: 500; }
td span { color: var(--stone); font-size: 0.82rem; }
.time-col { color: var(--burgundy); font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }

.day-switch { display: none; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.day-switch button {
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.day-switch button[aria-selected="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.day-panel.is-active { display: none; }
.slot {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.slot time { font-family: var(--serif); color: var(--burgundy); }
.slot h3 { font-size: 1.35rem; }
.slot p { color: var(--stone); font-size: 0.92rem; }

.prep {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.prep article { border-top: 1px solid var(--gold); padding-top: 1rem; }
.prep h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.prep p { color: var(--stone); }

/* About */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.story img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.story p + p { margin-top: 1rem; }
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--burgundy);
  margin: 1.4rem 0;
}

.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: var(--white);
  border: 1px solid var(--line);
}
.founder img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.founder div { padding: 2.5rem 2.2rem; }
.founder h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.founder .role { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; margin: 0.4rem 0 1rem; }
.founder p + p { margin-top: 0.9rem; }
.creds { margin-top: 1.2rem; color: var(--stone); font-size: 0.95rem; }

.principles { display: grid; gap: 0; }
.principles article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.principles h3 { font-size: 1.8rem; }

.faculty {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.faculty img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faculty h3 { font-size: 1.4rem; margin-top: 0.6rem; }
.faculty p { color: var(--stone); font-size: 0.92rem; }

.rooms {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}
.room { position: relative; overflow: hidden; min-height: 280px; color: var(--ivory); }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(28, 20, 18, 0.82));
}
.room h3 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.room p { color: rgba(255, 252, 248, 0.86); font-size: 0.95rem; }
.room.tall { grid-row: span 2; min-height: 580px; }

.awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.awards article {
  padding: 1.4rem 0;
  border-top: 1px solid var(--gold);
}
.awards h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.awards p { color: var(--stone); font-size: 0.95rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
form, .desk {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
}
.desk { background: var(--ink); color: var(--ivory); }
.desk h2, form h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.85rem 0.8rem;
  color: var(--ink);
  font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.err { display: none; color: #8d2d32; font-size: 0.82rem; margin-top: 0.25rem; }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-color: #8d2d32; }
.field.is-bad .err { display: block; }
.desk-item { display: grid; grid-template-columns: 28px 1fr; gap: 0.8rem; margin: 1.1rem 0; }
.desk-item h3 { font-size: 1.15rem; font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--gold-bright); }
.desk-item p, .desk-item a { color: rgba(255, 252, 248, 0.86); }
.desk svg { margin-top: 0.15rem; }
.map-frame {
  margin-top: 1.2rem;
  border: 1px solid rgba(212, 188, 148, 0.35);
  height: 230px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(0.95); }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 188, 148, 0.45);
  display: grid;
  place-items: center;
}
.socials a:hover { background: var(--gold); color: var(--ink); }
.thanks { display: none; }
.thanks.is-on {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
}
.thanks h2 { margin-bottom: 0.6rem; }
form.is-off { display: none; }

.faq { display: grid; gap: 0.5rem; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.45rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--stone); margin-top: 0.6rem; max-width: 70ch; }

/* Footer */
footer {
  background: var(--burgundy-deep);
  color: rgba(255, 252, 248, 0.82);
  padding: 4rem 0 1.4rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
footer h2 {
  font-size: 2rem;
  color: var(--ivory);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
footer h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
footer a:hover { color: var(--gold-bright); }
footer li + li { margin-top: 0.35rem; }
.mt { margin-top: 1.4rem; }
.mt-s { margin-top: 0.8rem; }

.legal {
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 252, 248, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 252, 248, 0.55);
}

/* Reveal — text and pictures arrive as they enter the screen */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  animation: none;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veil { display: none; }
  .marquee-track, .hero-slide img, .js .reveal { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
  .quote-stage blockquote.is-active { animation: none; }
}

@media (max-width: 1100px) {
  .class-grid, .price-grid, .faculty, .awards { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .feature, .feature.reverse, .story, .founder, .contact-grid, .visit-grid { grid-template-columns: 1fr; direction: ltr; }
  .ritual-row { grid-template-columns: 1fr 1fr; }
  .method-item, .principles article { grid-template-columns: 70px 1fr; }
  .method-item p, .principles article p { grid-column: 2; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .room.tall { grid-row: auto; min-height: 320px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .utility p:nth-child(2) { display: none; }
  .nav-toggle { display: block; }
  .nav-panel {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    color: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    transform: translateY(-102%);
    transition: transform 0.5s var(--ease);
  }
  .nav.is-open .nav-panel { transform: none; }
  .nav-links { flex-direction: column; gap: 1.2rem; }
  .nav-links a { font-family: var(--serif); font-size: 2rem; letter-spacing: 0.04em; text-transform: none; }
  .hero-copy { margin: 0 1.2rem 3rem; }
  .hero-ui { right: 1.2rem; left: 1.2rem; justify-content: space-between; }
  .prep, .rooms { grid-template-columns: 1fr; }
  .table-wrap { display: none; }
  .day-switch { display: flex; }
  .day-panel.is-active { display: grid; gap: 0.7rem; }
  section { padding: 4.2rem 0; }
  .visit-copy, form, .desk, .founder div { padding: 1.6rem 1.2rem; }
}

@media (max-width: 560px) {
  .class-grid, .price-grid, .faculty, .awards, .ritual-row, .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 4.2rem; }
  .hero-quote p { font-size: 1.15rem; }
  .method-item, .principles article { grid-template-columns: 1fr; }
  .method-item p, .principles article p { grid-column: auto; }
}
