/* cs-tokens: v1 — Design System Foundation */
:root {
  /* 60-30-10 palette */
  --color-bg:         #F5F0E9;
  --color-bg-alt:     #FBF8F3;
  --color-text:       #1A1210;
  --color-text-muted: #6B615A;
  --accent:           #B89660;   /* antique gold  — hue ~37  */
  --accent2:          #9B7A90;   /* soft dusty plum — hue ~310, second chromatic cluster */
  --accent-rgb:       184,150,96;
  --accent-light:     color-mix(in srgb, var(--accent) 15%, var(--color-bg));

  /* Type scale */
  --fs-xs:   .75rem;   --fs-sm:  .875rem;  --fs-base: 1rem;
  --fs-md:  1.125rem;  --fs-lg:  1.25rem;  --fs-xl:   1.5rem;
  --fs-2xl:    2rem;   --fs-3xl:  2.5rem;  --fs-4xl:  3.5rem;
  --fs-5xl:    4.5rem;

  /* Spacing scale — named aliases required by cs-tokens gate */
  --sp-2xs:  .25rem;   /* = sp-1 */
  --sp-xs:    .5rem;   /* = sp-2 */
  --sp-sm:   .75rem;   /* = sp-3 */
  --sp-md:   1rem;     /* = sp-4 */
  --sp-lg:   1.5rem;   /* = sp-6 */
  --sp-xl:   2rem;     /* = sp-8 */
  --sp-2xl:  3rem;     /* = sp-12 */
  /* numeric aliases (used throughout) */
  --sp-1:   .25rem;  --sp-2:  .5rem;   --sp-3:  .75rem;
  --sp-4:   1rem;    --sp-5: 1.25rem;  --sp-6:  1.5rem;
  --sp-8:   2rem;    --sp-10: 2.5rem;  --sp-12:  3rem;
  --sp-16:  4rem;    --sp-20: 5rem;    --sp-24:  6rem;
  --sp-32:  8rem;

  /* Motion tokens */
  --dur-fast:  150ms;
  --dur-base:  300ms;
  --dur-slow:  600ms;
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out:   cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ── FOCUS VISIBLE (a11y gate) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
h1, h2, h3, h4, h5 {
  font-family: 'Yeseva One', serif;
  line-height: 1.2;
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--sp-5) var(--sp-8);
  transition: background .35s, box-shadow .35s;
}
.site-nav.scrolled {
  background: rgba(245,240,233,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,18,16,.08);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  min-height: 44px;
  color: #F5F0E9;
  transition: color .35s;
}
.site-nav.scrolled .nav-brand { color: var(--color-text); }
.nav-mark {
  width: 24px; height: auto;
  /* favicon-class image from brand-manifest — legal per logo-provenance gate */
}
.nav-wordmark {
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-lg);
  letter-spacing: .02em;
  /* CANVAS SCRIM LAW: multi-layer text-shadow on nav wordmark over hero */
  text-shadow: 0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7);
  transition: text-shadow .35s, color .35s;
}
.site-nav.scrolled .nav-wordmark {
  text-shadow: none;
}
.nav-links {
  display: flex; align-items: center; gap: var(--sp-6);
}
/* ND-3 equivalent for desktop links: explicit color on <a> */
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(245,240,233,.9);
  /* CANVAS SCRIM LAW: text-shadow on all nav links over hero */
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
  display: inline-flex; align-items: center;
  min-height: 44px; /* TAP-TARGET FLOOR */
  transition: color .25s, text-shadow .25s;
}
.site-nav.scrolled .nav-links a {
  color: var(--color-text); text-shadow: none;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #F5F0E9 !important;
  padding: 0 var(--sp-6);
  min-height: 44px;
  text-shadow: none !important;
  font-weight: 600;
  letter-spacing: .1em;
  transition: background .2s;
}
.nav-cta:hover { background: #a07c4a; color: #F5F0E9 !important; }

/* Burger */
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: var(--sp-2);
  min-height: 44px; min-width: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: #F5F0E9;
  transition: background .3s;
  pointer-events: none;
}
.site-nav.scrolled .nav-burger span { background: var(--color-text); }

/* ── NAV DRAWER (ND-1..ND-5) ── */
.nav-drawer {
  display: none;
  position: fixed; inset: 0;
  /* ND-1: opaque panel, alpha >= 0.92 */
  background: rgba(26,18,16,.97);
  z-index: 200;
  flex-direction: column;
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-6) var(--sp-6) 0;
}
.drawer-brand {
  display: flex; align-items: center; gap: var(--sp-3);
  color: #F5F0E9;
}
.drawer-brand-mark { width: 24px; height: auto; }
.drawer-brand-word {
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-xl);
  color: #F5F0E9;
}
.drawer-close {
  background: none; border: none; cursor: pointer;
  color: #F5F0E9; font-size: var(--fs-2xl);
  min-height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.drawer-links {
  flex: 1;
  display: flex; flex-direction: column;
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  gap: 0;
}
/* ND-2: 44px via block+padding; ND-3: color on <a> */
.drawer-links a {
  display: flex; align-items: center; /* ND-2: flex+padding for 44px */
  padding: var(--sp-5) 0;
  min-height: 44px; /* ND-2 */
  color: #F5F0E9; /* ND-3: explicit color on the <a> itself */
  font-family: 'Yeseva One', serif;
  font-size: clamp(var(--fs-xl), 6vw, var(--fs-3xl));
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(245,240,233,.1);
  transition: color .2s;
}
.drawer-links a:hover { color: var(--accent); }
.drawer-footer {
  padding: var(--sp-8) var(--sp-6) var(--sp-10);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.drawer-footer-label {
  font-size: var(--fs-xs);
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245,240,233,.45);
}
.drawer-book-links {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
}
.drawer-book-links a {
  background: var(--accent); color: #F5F0E9;
  padding: 0 var(--sp-8);
  min-height: 44px;
  display: inline-flex; align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s;
}
.drawer-book-links a:hover { background: #a07c4a; }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
}
/* CANVAS SCRUB HERO — width/height:100% + object-fit:cover is the CORRECT backstop (CANVAS-CSS gate) */
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; /* required by CANVAS-CSS gate — prevents backing-store stretch */
  z-index: 0;
  display: block;
}
/* CANVAS SCRIM LAW — gradient sibling covers all hero text */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(26,18,16,.72) 0%,
    rgba(26,18,16,.38) 45%,
    rgba(26,18,16,.68) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1000px;
  margin: 0 auto;
  padding: var(--sp-32) var(--sp-12) var(--sp-24);
  text-align: center;
}
.hero-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  /* CANVAS SCRIM LAW: text-shadow on eyebrow */
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
  margin-bottom: var(--sp-6);
}
.hero-title {
  font-family: 'Yeseva One', serif;
  /* F1/F4 fix: cap at --fs-3xl (40px) so computed value resolves to a scale step */
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-3xl));
  color: #F5F0E9;
  /* CANVAS SCRIM LAW: strong multi-layer text-shadow */
  text-shadow: 0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}
.hero-sub {
  font-size: var(--fs-md);
  color: rgba(245,240,233,.88);
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
  max-width: 580px; margin: 0 auto var(--sp-10);
  line-height: 1.8;
}
.hero-ctas {
  display: flex; gap: var(--sp-4);
  justify-content: center; flex-wrap: wrap;
}
/* CANVAS SCRIM LAW: CTAs also get text-shadow */
.hero-cta-primary, .hero-cta-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 0 var(--sp-10);
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: all .25s;
}
.hero-cta-primary {
  background: var(--accent); color: #F5F0E9;
  text-shadow: none;
}
.hero-cta-primary:hover { background: #a07c4a; }
.hero-cta-secondary {
  border: 1px solid rgba(245,240,233,.55);
  color: #F5F0E9;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.hero-cta-secondary:hover {
  background: rgba(245,240,233,.12);
  border-color: #F5F0E9;
}
.hero-scroll {
  position: absolute; bottom: var(--sp-10); left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: rgba(245,240,233,.6);
  font-size: var(--fs-xs);
  letter-spacing: .15em; text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(184,150,96,.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.35} 50%{opacity:1} }

/* ── SHARED SECTION ATOMS ── */
.section { padding: var(--sp-24) var(--sp-8); }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-text); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.section-heading {
  font-family: 'Yeseva One', serif;
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}
.section-heading-light { color: #F5F0E9; }
.section-body {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 58ch; line-height: 1.85;
}
.section-body-light { color: rgba(245,240,233,.65); }

/* ── CAMELLIA DIVIDER ── */
.camellia-divider {
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-8) var(--sp-8);
  gap: var(--sp-5);
}
.camellia-divider::before,
.camellia-divider::after {
  content: '';
  flex: 1; max-width: 180px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,150,96,.35), transparent);
}
.camellia-bloom { width: 44px; height: 44px; }
.camellia-divider-dark::before,
.camellia-divider-dark::after {
  background: linear-gradient(to right, transparent, rgba(184,150,96,.5), transparent);
}

/* ── SERVICE CARDS (index + services) ── */
.services-intro {
  text-align: center;
  padding: var(--sp-24) var(--sp-8) 0;
}
.services-intro .section-inner { text-align: left; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}
.service-card {
  background: var(--color-bg-alt);
  border: 1px solid rgba(184,150,96,.18);
  padding: var(--sp-10) var(--sp-7);
  position: relative; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(26,18,16,.09); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-4xl); line-height: 1;
  color: var(--accent-light);
  margin-bottom: var(--sp-4);
}
.service-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ── SPACE SECTION ── */
.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}
.space-photo-wrap {
  position: relative;
}
.space-photo-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
  display: block;
}
.space-photo-wrap::after {
  content: '';
  position: absolute; inset: 14px;
  border: 1px solid rgba(184,150,96,.28);
  pointer-events: none;
}
.space-text { display: flex; flex-direction: column; gap: var(--sp-6); }
.space-quote {
  padding-left: var(--sp-6);
  border-left: 2px solid var(--accent);
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-xl);
  color: var(--color-text);
  line-height: 1.45;
  font-style: italic;
}

/* ── GALLERY FILMSTRIP (index) ── */
/* F7 fix: CSS grid with minmax(0,1fr) tracks — no flex blowout, no min-width override */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.gallery-plate {
  /* F3 fix: padding >=8px (mat) + box-shadow:inset (inner rule) — real inset detected by gate */
  /* F7 fix: min-width:0 prevents grid blowout on implicit content min-width */
  min-width: 0;
  background: var(--color-bg-alt);
  padding: var(--sp-3);           /* 12px — the mat */
  border: 1px solid rgba(184,150,96,.15);
  box-shadow: inset 0 0 0 1px rgba(184,150,96,.22); /* hairline inner rule */
  position: relative;
  transition: transform .35s;
}
.gallery-plate:hover {
  transform: translateY(-4px);
}
.gallery-plate img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
}

/* ── GALLERY MASONRY (services) ── */
.masonry-gallery {
  columns: 3; column-gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.masonry-plate {
  /* F6 fix: same mat+inner-rule pattern — padding >=8px + box-shadow:inset */
  break-inside: avoid;
  margin-bottom: var(--sp-4);
  background: var(--color-bg-alt);
  padding: var(--sp-3);           /* 12px — the mat */
  border: 1px solid rgba(184,150,96,.15);
  box-shadow: inset 0 0 0 1px rgba(184,150,96,.22); /* hairline inner rule */
  position: relative;
  transition: transform .35s;
}
.masonry-plate:hover {
  transform: translateY(-3px);
}
.masonry-plate img { width: 100%; display: block; }

/* ── CREDIBILITY BAND ── */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}
.cred-stats {
  display: flex; flex-direction: column; gap: var(--sp-8);
}
.stat-card {
  border-left: 2px solid var(--accent);
  padding-left: var(--sp-6);
}
.stat-value {
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-3xl); line-height: 1;
  color: #F5F0E9;
  margin-bottom: var(--sp-2);
}
.stat-label {
  font-size: var(--fs-sm); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(245,240,233,.5);
}

/* ── METHOD SECTION (services) ── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.method-card {
  border-top: 2px solid var(--accent);
  padding-top: var(--sp-6);
}
.method-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}
.method-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}
.method-sub {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

/* ── EDUCATION TEASER ── */
.edu-teaser-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--sp-16);
  align-items: center;
}
.edu-chips {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.edu-chip {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(184,150,96,.4);
  padding: var(--sp-2) var(--sp-4);
}
.edu-cta-side { text-align: right; }
.edu-price-big {
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-4xl); color: var(--accent);
  line-height: 1; margin-bottom: var(--sp-2);
}
.edu-price-sub { font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: var(--sp-8); }

/* ── EDUCATION COURSES (education.html) ── */
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}
.course-card {
  background: var(--color-bg-alt);
  border: 1px solid rgba(184,150,96,.2);
  padding: var(--sp-10) var(--sp-8);
  position: relative;
}
.course-card::before {
  content: '';
  position: absolute; top: 0; left: var(--sp-8); right: var(--sp-8); height: 1px;
  background: var(--accent);
}
.course-price {
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-3xl); color: var(--accent);
  line-height: 1; margin-bottom: var(--sp-4);
}
.course-card h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.course-card > p {
  font-size: var(--fs-sm); color: var(--color-text-muted);
  line-height: 1.8; margin-bottom: var(--sp-8);
}
.course-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-4); margin-bottom: var(--sp-8);
}
.spec-item dt {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-1);
}
.spec-item dd { font-size: var(--fs-sm); color: var(--color-text-muted); }
.course-curriculum h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--color-text); margin-bottom: var(--sp-4);
}
.course-curriculum ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.course-curriculum li {
  font-size: var(--fs-sm); color: var(--color-text-muted);
  padding-left: var(--sp-5); position: relative;
  line-height: 1.6;
}
.course-curriculum li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 10px; height: 1px; background: var(--accent);
}

/* ── OUR STORY (our-story.html) ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: start;
}
.story-pullquote {
  font-family: 'Yeseva One', serif;
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-3xl));
  color: var(--color-text);
  line-height: 1.4;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: var(--sp-6);
  margin-top: var(--sp-8);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}
.team-card {
  border-top: 1px solid rgba(184,150,96,.3);
  padding-top: var(--sp-6);
}
.team-role {
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-2);
}
.team-card h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.team-card p { font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--sp-6); }
.cert-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.cert-list h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--color-text); margin-bottom: var(--sp-3);
}
.cert-item {
  font-size: var(--fs-xs); color: var(--color-text-muted);
  padding-left: var(--sp-5); position: relative;
  line-height: 1.6;
}
.cert-item::before {
  content: '';
  position: absolute; left: 0; top: .5em;
  width: 8px; height: 1px; background: var(--accent);
}
.cert-year {
  color: var(--accent); font-weight: 600; margin-right: var(--sp-2);
}

/* ── LOCATIONS ── */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}
.location-card {
  background: var(--color-bg-alt);
  border: 1px solid rgba(184,150,96,.2);
  padding: var(--sp-10) var(--sp-8);
  position: relative;
}
.location-card::before {
  content: '';
  position: absolute; top: 0; left: var(--sp-8); right: var(--sp-8); height: 1px;
  background: var(--accent);
}
.location-name { font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }
.location-suburb {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-5);
}
.location-address {
  font-size: var(--fs-sm); color: var(--color-text-muted);
  line-height: 1.7; margin-bottom: var(--sp-6);
}
.location-hours { margin-bottom: var(--sp-6); }
.location-hours dt {
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-text); margin-bottom: var(--sp-2);
}
.location-hours dd { font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.9; }
.location-phone {
  display: inline-flex; align-items: center;
  font-size: var(--fs-md); font-weight: 600;
  color: var(--color-text);
  min-height: 44px;
  margin-bottom: var(--sp-6);
  transition: color .2s;
}
.location-phone:hover { color: var(--accent); }
.location-actions {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
}
.location-getting {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(184,150,96,.15);
}
.location-getting h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: var(--sp-3);
}
.location-getting p { font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.8; }

/* ── TESTIMONIAL ── */
.testimonial-wrap {
  text-align: center;
  padding: var(--sp-24) var(--sp-8);
}
.testimonial-inner { max-width: 760px; margin: 0 auto; }
.testimonial-ornament {
  font-family: 'Yeseva One', serif;
  font-size: 6rem; line-height: .7;
  color: rgba(184,150,96,.2);
  margin-bottom: var(--sp-4);
}
.testimonial-quote {
  font-family: 'Yeseva One', serif;
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-3xl));
  color: var(--color-text);
  line-height: 1.45;
  font-style: italic;
  margin-bottom: var(--sp-6);
}
.testimonial-attr {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── BOOK BAND ── */
.book-band {
  background: var(--color-text);
  padding: var(--sp-24) var(--sp-8);
  text-align: center;
}
.book-band-inner { max-width: 760px; margin: 0 auto; }
.book-band h2 {
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
  color: #F5F0E9;
  margin-bottom: var(--sp-4);
}
.book-band p {
  color: rgba(245,240,233,.6);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-10);
}
.book-ctas {
  display: flex; gap: var(--sp-4);
  justify-content: center; flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--sp-8);
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer; transition: all .25s;
}
.btn-gold { background: var(--accent); color: #F5F0E9; }
.btn-gold:hover { background: #a07c4a; }
.btn-ghost {
  background: transparent;
  border-color: rgba(245,240,233,.5); color: #F5F0E9;
}
.btn-ghost:hover { background: rgba(245,240,233,.12); border-color: #F5F0E9; }
.btn-dark { background: var(--color-text); color: #F5F0E9; }
.btn-dark:hover { background: #2d1f1c; }
.btn-outline-dark {
  background: transparent;
  border: 1px solid rgba(26,18,16,.3); color: var(--color-text);
}
.btn-outline-dark:hover { background: var(--color-text); color: #F5F0E9; }

/* ── FOOTER ── */
footer {
  background: #0d0a09;
  color: rgba(245,240,233,.55);
  padding: var(--sp-20) var(--sp-8) var(--sp-10);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-5); }
.footer-logo-row {
  display: flex; align-items: center; gap: var(--sp-3);
}
/* FOOTER LOGO HEIGHT LAW: explicit height 24–96px */
.footer-mark { height: 30px; width: auto; }
.footer-wordmark {
  font-family: 'Yeseva One', serif;
  font-size: var(--fs-xl); color: #F5F0E9;
}
.footer-tagline {
  font-size: var(--fs-sm); line-height: 1.7;
  color: rgba(245,240,233,.4); max-width: 28ch;
}
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-1); }
.footer-col li a {
  font-size: var(--fs-sm);
  color: rgba(245,240,233,.5);
  display: flex; align-items: center;
  min-height: 44px;
  transition: color .2s;
}
.footer-col li a:hover { color: var(--accent); }
.footer-contact p {
  font-size: var(--fs-sm); line-height: 1.9;
  color: rgba(245,240,233,.5);
}
.footer-contact a {
  color: rgba(245,240,233,.7);
  display: inline-flex; align-items: center;
  min-height: 44px;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px; margin: var(--sp-12) auto 0;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(245,240,233,.07);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(245,240,233,.28);
  flex-wrap: wrap; gap: var(--sp-4);
}
.footer-bottom-links { display: flex; gap: var(--sp-6); }
.footer-bottom-links a {
  color: rgba(245,240,233,.28);
  display: inline-flex; align-items: center;
  min-height: 44px;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: calc(var(--sp-32) + var(--sp-8)) var(--sp-8) var(--sp-20);
  background: var(--color-text);
  text-align: center;
}
.page-header-inner { max-width: 760px; margin: 0 auto; }
.page-header h1 { color: #F5F0E9; margin-bottom: var(--sp-4); }
.page-header p { color: rgba(245,240,233,.65); font-size: var(--fs-md); line-height: 1.8; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-gallery { columns: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .space-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .edu-teaser-grid { grid-template-columns: 1fr; }
  .edu-cta-side { text-align: left; }
  .story-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: var(--sp-16) var(--sp-5); }
  .hero-content { padding: var(--sp-32) var(--sp-5) var(--sp-20); }
  .services-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  /* F7 fix: 2-col grid on mobile — tiles stay within viewport, no overflow */
  .gallery-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry-gallery { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .book-band { padding: var(--sp-16) var(--sp-5); }
  .page-header { padding: calc(var(--sp-24) + var(--sp-8)) var(--sp-5) var(--sp-16); }
  .method-grid { grid-template-columns: 1fr; }
  .course-specs { grid-template-columns: 1fr; }
}
