/* ============================================================
   Aerial Somatic Therapy — aerialsomatictherapy.com
   Design system: sanctuary-luxe, gravity-soft, alive.
   Palette (verified brand): navy #1F3253 · gold #BDA169 ·
   ivory #E0DEAD · white #FFFFFF · sky #2EA3F2 (sparing accent)
   60-30-10 = ivory/white 60 · navy 30 · gold 10
   Type: Fraunces (display) + Inter (body). Max 2 families.
   Motion: soft, exhale-paced, never gimmicky. Reduced-motion safe.
   ============================================================ */

:root {
  --navy: #1F3253;
  --navy-deep: #182842;          /* derived shade of brand navy */
  --gold: #BDA169;
  --gold-bright: #C9B07A;        /* derived tint of brand gold */
  --sky: #2EA3F2;                /* sparing 10% accent only */
  --ivory: #E0DEAD;
  --ivory-tint: #F5F3E6;         /* derived tint of brand ivory */
  --white: #FFFFFF;

  --text: rgba(31, 50, 83, 0.94);
  --text-soft: rgba(31, 50, 83, 0.68);
  --text-inverse: rgba(245, 243, 230, 0.96);
  --text-inverse-soft: rgba(245, 243, 230, 0.72);
  --hairline: rgba(31, 50, 83, 0.16);
  --hairline-gold: rgba(189, 161, 105, 0.55);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.8rem, 6.4vw, 4.9rem);
  --fs-h2: clamp(2rem, 4.1vw, 3.05rem);
  --fs-h3: clamp(1.35rem, 2.2vw, 1.7rem);
  --fs-lead: clamp(1.22rem, 1.8vw, 1.45rem);
  --fs-body: 1.0625rem;

  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-reveal: 1.05s;

  --space-section: clamp(4.5rem, 9vw, 8.5rem);
  --container: 1180px;
  --container-narrow: 780px;
  --container-wide: 1340px;
  --radius: 2px;

  --header-h: 96px;
  --header-h-scrolled: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* offset gold frames intentionally overhang section edges; clip, don't scroll */
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 380; line-height: 1.12; margin: 0 0 1.1rem; color: var(--navy); letter-spacing: -0.012em; }
h1 { font-size: var(--fs-hero); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.35rem; }
a { color: var(--navy); text-decoration-color: var(--hairline-gold); text-underline-offset: 3px; transition: color 0.45s var(--ease-soft), text-decoration-color 0.45s var(--ease-soft); }
a:hover { color: var(--gold); text-decoration-color: var(--gold); }
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 1px; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.35rem, 4.5vw, 2.75rem); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--white { background: var(--white); }
.section--tint { background: var(--ivory-tint); }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: var(--text-inverse); }
.section--navy h2, .section--navy h3 { color: var(--ivory-tint); }
.section--navy p { color: var(--text-inverse-soft); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.35rem;
}
.section--navy .eyebrow { color: var(--gold-bright); }

.lead {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 340;
  line-height: 1.62;
  color: var(--navy);
}
.section--navy .lead { color: var(--ivory-tint); }

.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.45rem; }
.prose p:last-child { margin-bottom: 0; }

.measure-center { max-width: 66ch; margin-inline: auto; }

/* Gold rule dividers (she asked for these by name) */
.gold-rule { width: 72px; height: 1px; background: var(--gold); border: 0; margin: 0 auto 2.4rem; }
.gold-rule--left { margin-inline: 0; }
.gold-rule--wide { width: 120px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.5s var(--ease-soft), color 0.5s var(--ease-soft), border-color 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--ivory-tint); }
.btn-navy:hover { background: var(--navy-deep); color: var(--ivory-tint); }
.btn-ghost { background: transparent; border-color: var(--gold); color: var(--ivory-tint); }
.btn-ghost:hover { background: rgba(189, 161, 105, 0.16); color: var(--white); }
.btn-ghost--dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost--dark:hover { background: rgba(31, 50, 83, 0.07); color: var(--navy); }

.text-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3rem;
  transition: color 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}
.text-link:hover { color: var(--gold); }
.section--navy .text-link { color: var(--ivory-tint); }

/* ============================================================
   HEADER — navy, sticky, animated Stacked Gold logo (the sting)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--navy);
  transition: box-shadow 0.6s var(--ease-soft);
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(24, 40, 66, 0.35); }
.header-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1.35rem, 4vw, 2.5rem);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: height 0.6s var(--ease-soft);
}
.site-header.is-scrolled .header-inner { height: var(--header-h-scrolled); }

.brand { display: inline-flex; align-items: center; text-decoration: none; }

/* --- The logo sting (approved animated-logo asset, scoped) --- */
.ast-sting {
  --ast-logo-width: 128px;
  --ast-float: 5px;
  --ast-glow: rgba(189, 161, 105, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  line-height: 0;
}
/* Light/ivory context variant (brand rule: gold-on-navy, blue-on-ivory).
   Same reveal + idle float; swap the <img> to logo-stacked-blue.png and
   the glow goes soft navy so the mark reads on a light background. */
.ast-sting--blue { --ast-glow: rgba(31, 50, 83, 0.4); }
.ast-sting__logo {
  display: block;
  width: var(--ast-logo-width);
  height: auto;
  opacity: 0;
  transform: translateY(4px) scale(0.94);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 var(--ast-reveal, 0%), rgba(0,0,0,0) calc(var(--ast-reveal, 0%) + 14%), rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to top, #000 0%, #000 var(--ast-reveal, 0%), rgba(0,0,0,0) calc(var(--ast-reveal, 0%) + 14%), rgba(0,0,0,0) 100%);
  will-change: opacity, transform, -webkit-mask-image, filter;
  transition: width 0.6s var(--ease-soft);
}
.site-header.is-scrolled .ast-sting__logo { width: 96px; }
.ast-sting.ast-animate .ast-sting__logo {
  animation:
    ast-reveal 1500ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    ast-rise 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    ast-fade 900ms ease-in-out forwards,
    ast-float 4000ms ease-in-out 2600ms infinite,
    ast-glow 4600ms ease-in-out 2600ms infinite;
}
@keyframes ast-reveal { 0% { --ast-reveal: 0%; } 100% { --ast-reveal: 130%; } }
@property --ast-reveal { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes ast-rise { 0% { transform: translateY(10px) scale(0.94); } 100% { transform: translateY(0) scale(1); } }
@keyframes ast-fade { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ast-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(var(--ast-float) * -1)); } }
@keyframes ast-glow { 0%, 100% { filter: drop-shadow(0 0 0 var(--ast-glow)); } 50% { filter: drop-shadow(0 6px 22px var(--ast-glow)); } }

/* --- Navigation --- */
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 1.9rem); }
.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-inverse-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
  white-space: nowrap;
}
.nav a:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav .nav-cta {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.55rem 1.25rem;
  color: var(--gold-bright);
}
.nav .nav-cta:hover { background: rgba(189, 161, 105, 0.14); color: var(--white); border-bottom-color: var(--gold); }

/* Active page marker (body[data-page] set per page; header stays identical) */
body[data-page="home"] .nav a[data-nav="home"],
body[data-page="what-is-ast"] .nav a[data-nav="what-is-ast"],
body[data-page="about"] .nav a[data-nav="about"],
body[data-page="offerings"] .nav a[data-nav="offerings"],
body[data-page="the-somatic-ceremony"] .nav a[data-nav="offerings"],
body[data-page="metamorphosis"] .nav a[data-nav="offerings"],
body[data-page="group-experiences"] .nav a[data-nav="offerings"],
body[data-page="practitioner-training"] .nav a[data-nav="practitioner-training"],
body[data-page="inside-the-dome"] .nav a[data-nav="inside-the-dome"],
body[data-page="testimonials"] .nav a[data-nav="testimonials"],
body[data-page="order-your-swing"] .nav a[data-nav="order-your-swing"],
body[data-page="contact"] .nav a[data-nav="contact"] {
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* Offerings dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-drop > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.4s var(--ease-soft);
}
.nav-drop.open > a::after, .nav-drop:hover > a::after { transform: rotate(225deg) translateY(-1px); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 240px;
  background: var(--navy-deep);
  border-top: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(24, 40, 66, 0.45);
  list-style: none;
  margin: 0;
  padding: 0.7rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), visibility 0s linear 0.5s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), visibility 0s;
}
.nav-drop-menu li a {
  display: block;
  padding: 0.65rem 1.4rem;
  border-bottom: 0;
  color: var(--text-inverse-soft);
}
.nav-drop-menu li a:hover { color: var(--gold-bright); background: rgba(189, 161, 105, 0.07); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  position: relative;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ivory-tint);
  transition: transform 0.55s var(--ease-soft), opacity 0.4s var(--ease-soft), top 0.55s var(--ease-soft);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-soft), visibility 0s linear 0.6s;
    z-index: 100;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease-soft), visibility 0s; }
  .nav a { font-family: var(--font-display); font-size: 1.45rem; font-weight: 380; letter-spacing: 0.01em; text-transform: none; }
  .nav .nav-cta { padding: 0.75rem 2rem; }
  .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    padding: 0;
    display: none;
    text-align: center;
  }
  .nav-drop.open .nav-drop-menu { display: block; }
  .nav-drop-menu li a { font-size: 1.05rem; padding: 0.5rem 0; color: var(--gold-bright); }
  body.nav-open { overflow: hidden; }
}

/* ============================================================
   HERO — full-bleed, editorial left-aligned, Ken Burns drift
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
/* Interior photo heroes fill the entire above-fold area (Pattern A, matches
   Practitioner Training): photo fills the fold, overlaid title sits at its base,
   body copy begins cleanly below the fold. No mid-fold gap. */
.hero--short { min-height: 92vh; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* What Is AST hero (photo 13): subject sits high in frame; bias the crop
   toward the top so Maura's head is not clipped by the fill-the-fold hero. */
body[data-page="what-is-ast"] .hero-media img { object-position: center 22%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(24, 40, 66, 0.88) 0%, rgba(24, 40, 66, 0.6) 34%, rgba(24, 40, 66, 0.18) 62%, rgba(24, 40, 66, 0.04) 80%),
    linear-gradient(to top, rgba(24, 40, 66, 0.55) 0%, rgba(24, 40, 66, 0) 34%);
}
.hero--short .hero-scrim {
  background:
    linear-gradient(to top, rgba(24, 40, 66, 0.72) 0%, rgba(24, 40, 66, 0.28) 55%, rgba(24, 40, 66, 0.34) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: clamp(4rem, 9vh, 7rem) clamp(1.35rem, 4.5vw, 2.75rem) clamp(4.5rem, 11vh, 8rem);
}
.hero-eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.6rem;
}
.hero-title {
  color: var(--ivory-tint);
  max-width: 12.5ch;
  margin-bottom: 2.2rem;
}
.hero-title em { font-style: italic; font-weight: 340; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }

/* Ken Burns — a still that quietly breathes */
.kenburns { animation: kenburns 38s ease-in-out infinite alternate; transform-origin: 62% 42%; will-change: transform; }
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.4%, -1.2%, 0); }
}

/* ============================================================
   FULL-BLEED PHOTO BAND — slow parallax
   ============================================================ */
.band { position: relative; overflow: hidden; background: var(--navy); }
.band-media { position: absolute; inset: -14% 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 40, 66, 0.78) 0%, rgba(24, 40, 66, 0.3) 55%, rgba(24, 40, 66, 0.42) 100%); }
.band-inner {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.35rem, 4.5vw, 2.75rem);
}
.band-inner h2 { color: var(--ivory-tint); }
.band-inner p { color: var(--text-inverse-soft); max-width: 52ch; }
.band-inner--center { align-items: center; text-align: center; }

/* ============================================================
   SPLIT — image + text editorial rows
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.75rem, 7vw, 5.5rem);
  align-items: center;
}
.split--flip .split-media { order: 2; }
.split--flip .split-body { order: 1; }
.split-media img { border-radius: var(--radius); width: 100%; box-shadow: 0 30px 70px rgba(24, 40, 66, 0.18); }
.split-media--frame { position: relative; }
.split-media--frame::after {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius);
  z-index: -1;
}
.split--flip .split-media--frame::after { inset: 1.4rem 1.4rem -1.4rem -1.4rem; }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; gap: 2.4rem; }
  .split--flip .split-media { order: 0; }
  .split--flip .split-body { order: 1; }
  .split-media--frame::after, .split--flip .split-media--frame::after { inset: 1rem -0.7rem -0.7rem 1rem; }
}

/* ============================================================
   THREE PRINCIPLES — quiet numerals, no icons
   ============================================================ */
.principles { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.principle {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}
.principle:nth-child(even) { padding-left: clamp(0rem, 6vw, 5.5rem); }
.principle-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.65rem;
}
.principle h3 { margin-bottom: 0; }
.principle-body { max-width: 62ch; }
@media (max-width: 760px) {
  .principle { grid-template-columns: 1fr; gap: 1rem; }
  .principle:nth-child(even) { padding-left: 0; }
}

/* Arc stages (Metamorphosis): three quiet numbered stages as a centered
   left-to-right progression. Same gold italic numeral as the Three Principles,
   but the numeral sits directly above its stage name so short labels read as a
   deliberate, spacious arc rather than floating apart. */
.arc-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  text-align: center;
}
.arc-stage .principle-num { margin: 0 auto 0.9rem; }
.arc-stage h3 { margin-bottom: 0; }
@media (max-width: 640px) {
  .arc-stages { grid-template-columns: 1fr; gap: clamp(2.5rem, 9vw, 3.5rem); }
}

/* ============================================================
   QUOTES
   ============================================================ */
/* Maura's own pull-quote: centered, Fraunces italic, gold rules */
.pullquote {
  margin: 0;
  padding: 0;
  text-align: center;
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  color: var(--navy);
  max-width: 30ch;
  margin: 0 auto;
}
.section--navy .pullquote p { color: var(--ivory-tint); }

/* External attributed voice: DISTINCT from Maura's (her explicit note).
   Inter light italic, gold left border, small-caps attribution. */
.external-quote {
  margin: 0;
  padding: 0.4rem 0 0.4rem 1.75rem;
  border-left: 2px solid var(--gold);
}
.external-quote p {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.72;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}
.quote-attr {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}
.quote-attr span { display: block; font-weight: 400; letter-spacing: 0.1em; color: var(--text-soft); margin-top: 0.3rem; }
.section--ivory .external-quote p, .section--tint .external-quote p { color: rgba(31, 50, 83, 0.72); }
.section--navy .external-quote p { color: var(--text-inverse-soft); }
.section--navy .quote-attr { color: var(--ivory-tint); }
.section--navy .quote-attr span { color: var(--text-inverse-soft); }

/* Testimonial strip (homepage) + testimonial cards */
.quote-strip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 860px) { .quote-strip { grid-template-columns: 1fr; } }

.t-feature { margin: 0; }
.t-feature p {
  font-family: var(--font-display);
  font-weight: 340;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.t-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}
.t-card:last-child { border-bottom: 1px solid var(--hairline); }
.t-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hairline-gold); }
.t-card p { font-weight: 300; font-style: italic; font-size: 1.08rem; color: rgba(31, 50, 83, 0.8); margin-bottom: 0.9rem; }
.t-card--noavatar { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 560px) { .t-card { grid-template-columns: 56px 1fr; } .t-card img { width: 56px; height: 56px; } }

/* ============================================================
   OFFERINGS — asymmetric three, staggered baseline
   ============================================================ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
.offer-card { text-decoration: none; display: block; color: inherit; }
.offer-card:nth-child(2) { margin-top: clamp(0rem, 4vw, 3.25rem); }
/* Home "Where Would You Like to Begin" grid: Jose wants all three cards on one
   baseline (the staggered 2nd card reads as misaligned here). Scoped to home so
   the editorial stagger stays intact on the Offerings overview. */
body[data-page="home"] .offer-card:nth-child(2) { margin-top: 0; }
.offer-card figure { overflow: hidden; border-radius: var(--radius); }
.offer-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  transition: transform 1.4s var(--ease-soft);
}
.offer-card:hover img { transform: scale(1.045); }
.offer-card h3 { margin: 1.6rem 0 0.5rem; transition: color 0.45s var(--ease-soft); }
.offer-card:hover h3 { color: var(--gold); }
.offer-card .offer-line { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 1.1rem; }
@media (max-width: 860px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card:nth-child(2) { margin-top: 0; }
  .offer-card img { aspect-ratio: 16 / 10; }
}

/* ============================================================
   GALLERY — editorial masonry (Inside the Dome)
   ============================================================ */
.gallery { columns: 3 300px; column-gap: 1.5rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1.5rem; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; transition: transform 1.4s var(--ease-soft); }
.gallery figure:hover img { transform: scale(1.035); }

/* Deterministic 3-column gallery (Inside the Dome / The Space): explicit columns
   so the arrangement is controlled, not left to masonry balancing. Preserves
   each photo's natural aspect ratio (no cropping). Stacks on mobile. */
.gallery-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.gcol { display: flex; flex-direction: column; gap: 1.5rem; }
.gcol figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gcol img { width: 100%; display: block; transition: transform 1.4s var(--ease-soft); }
.gcol figure:hover img { transform: scale(1.035); }
@media (max-width: 760px) { .gallery-cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .gcol img { transition: none; } }

/* Swing color swatches (Order Your Swing): her supplied fabric colors as an
   editorial grid, photo + color name. Sourced from her live site's color set. */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.swatch { margin: 0; text-align: center; }
.swatch figure, .swatch { break-inside: avoid; }
.swatch img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 12px 30px rgba(24, 40, 66, 0.12);
  transition: transform 1.2s var(--ease-soft);
}
.swatch:hover img { transform: scale(1.03); }
.swatch figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
@media (prefers-reduced-motion: reduce) { .swatch img { transition: none; } }

/* ============================================================
   VIDEO HOLDING SPOT — poster now, film drops in later
   ============================================================ */
.video-slot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.video-slot img, .video-slot video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.video-slot--tall img, .video-slot--tall video { aspect-ratio: 16 / 10; }

/* Film theater (Inside the Dome): the full film in a contained gold-hairline
   16:9 frame, deliberately framed and centered, never cut by the fold. */
.theater {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(0.55rem, 1.3vw, 0.95rem);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius);
  background: var(--navy-deep);
  box-shadow: 0 30px 70px rgba(24, 40, 66, 0.22);
}
.theater video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  background: var(--navy);
}

/* ============================================================
   FACULTY / DEFINITION ROWS
   ============================================================ */
.faculty { display: grid; gap: 2.75rem; }
.faculty-item {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 2.75rem;
  border-top: 1px solid var(--hairline);
}
.faculty-item h3 { margin-bottom: 0.35rem; }
.faculty-role { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 760px) { .faculty-item { grid-template-columns: 1fr; gap: 0.9rem; } }

/* Checklist without icons: gold hairline list */
.gold-list { list-style: none; margin: 0 0 1.35rem; padding: 0; }
.gold-list li { padding: 0.85rem 0 0.85rem 1.65rem; position: relative; border-bottom: 1px solid var(--hairline); }
.gold-list li:first-child { border-top: 1px solid var(--hairline); }
.gold-list li::before { content: ""; position: absolute; left: 0; top: 1.7rem; width: 0.75rem; height: 1px; background: var(--gold); }
.section--navy .gold-list li { border-color: rgba(224, 222, 173, 0.18); }

/* Investment block (training) */
.invest { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); align-items: baseline; }
.invest-item .invest-num { font-family: var(--font-display); font-weight: 380; font-size: clamp(2.1rem, 3.6vw, 3rem); color: var(--ivory-tint); line-height: 1.1; display: block; }
.invest-item .invest-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-inverse-soft); display: block; margin-top: 0.5rem; }
.invest-item--earlybird .invest-num { color: var(--sky); }

/* ============================================================
   FORMS — editorial, quiet
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.14);
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--text-soft); }

/* ============================================================
   FOOTER — navy, newsletter, corrected brand name
   ============================================================ */
.site-footer { background: var(--navy-deep); color: var(--text-inverse-soft); }
.footer-main {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.35rem, 4.5vw, 2.75rem) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1.1fr;
  gap: clamp(2.25rem, 5vw, 4rem);
}
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand img { width: 200px; margin-bottom: 1.4rem; }
.footer-brand p { font-size: 0.94rem; margin-bottom: 0.4rem; }
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: var(--text-inverse-soft); text-decoration: none; font-size: 0.95rem; transition: color 0.45s var(--ease-soft); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-news p { font-size: 0.95rem; margin-bottom: 1.1rem; }
.footer-news-form { display: flex; gap: 0.6rem; }
.footer-news-form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ivory-tint);
  background: rgba(245, 243, 230, 0.07);
  border: 1px solid rgba(245, 243, 230, 0.22);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft);
}
.footer-news-form input::placeholder { color: rgba(245, 243, 230, 0.45); }
.footer-news-form input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.16); }
.footer-news-form .btn { padding: 0.75rem 1.4rem; }
.footer-bottom { border-top: 1px solid rgba(245, 243, 230, 0.14); }
.footer-bottom-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 1.6rem clamp(1.35rem, 4.5vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  font-size: 0.85rem;
  color: rgba(245, 243, 230, 0.55);
}
.footer-bottom-inner a { color: rgba(245, 243, 230, 0.7); text-decoration: none; }
.footer-bottom-inner a:hover { color: var(--gold-bright); }

/* ============================================================
   SUB-PAGE HERO (interior pages)
   ============================================================ */
.page-hero { background: var(--navy); position: relative; overflow: hidden; }
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.35rem, 4.5vw, 2.75rem) clamp(3.5rem, 8vh, 6rem);
}
.page-hero h1 { color: var(--ivory-tint); max-width: 18ch; font-size: clamp(2.4rem, 5vw, 3.9rem); }
.page-hero .hero-eyebrow { margin-bottom: 1.3rem; }
.page-hero p { color: var(--text-inverse-soft); max-width: 56ch; font-size: 1.05rem; }

/* About (Pattern B): the navy title band + full section padding stacked into a
   mid-fold gap that cut the opening paragraph. Tighten the band's base and the
   first section's top so all of the opening copy sits above the fold. */
body[data-page="about"] .page-hero-inner { padding-bottom: clamp(2rem, 4vh, 3rem); }
/* The navy band + opening copy together fill the above-fold area; the copy is
   vertically centered in the white space beneath the band (self-adjusts to any
   viewport height, so the copy never bottoms out on the fold). */
body[data-page="about"] .about-fold { min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; }
body[data-page="about"] .about-fold > .section--white {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1rem, 3vh, 2.5rem);
}

/* Contact: same mid-fold gap pushed the photo + intake form partly under the
   fold. Tighten the band base and the form section top so the (now-landscape)
   photo sits fully visible and the form begins cleanly above the fold. */
body[data-page="contact"] .page-hero-inner { padding-bottom: clamp(2rem, 4vh, 3rem); }
body[data-page="contact"] main > section:nth-of-type(2) { padding-top: clamp(2rem, 4vw, 3rem); }

/* Testimonials: shift the whole featured group up so the first testimonial
   (Myers) sits cleanly above the fold on its own and the second falls below.
   Only the band base + group top are trimmed; the stack-lg spacing BETWEEN
   testimonials is left exactly as-is. */
body[data-page="testimonials"] .page-hero-inner { padding-bottom: clamp(2rem, 4vh, 3rem); }
body[data-page="testimonials"] main > section:nth-of-type(2) { padding-top: clamp(2rem, 4vw, 3rem); }

/* Inside the Dome: compact the excess white below The Space gallery so the
   cream "The Work" section follows without a large empty gap. */
body[data-page="inside-the-dome"] main > section:nth-of-type(3) { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ============================================================
   MOTION — scroll reveals (exhale-paced) + reduced motion
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-reveal) var(--ease-soft), transform calc(var(--dur-reveal) + 0.15s) var(--ease-soft);
  will-change: opacity, transform;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="2"] { transition-delay: 0.14s; }
[data-reveal="3"] { transition-delay: 0.28s; }
[data-reveal="4"] { transition-delay: 0.42s; }

/* No-JS and reduced-motion: everything visible, everything still */
html.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .kenburns { animation: none; }
  .ast-sting.ast-animate .ast-sting__logo {
    animation: none;
    opacity: 1;
    transform: none;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .band-media img { transform: none !important; }
  .offer-card img, .gallery img { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-lg > * + * { margin-top: clamp(2.5rem, 5vw, 4rem); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
