/* Aubrey Rhose: design system + layout
   Spacing scale: 8 16 24 32 48 64 96 128
   Grid: 4 cols mobile, 8 tablet, 12 desktop (max 1200px) */

:root {
  --linen: #F6F1EA;
  --sand: #E6D9C7;
  --espresso: #2B211C;
  --terracotta: #A9522F;
  --terracotta-dark: #8E4426;
  --olive: #4E5B3F;
  --clay: #D9A48F;
  --stone: #6B6158;
  --stone-on-sand: #5A5149;
  --white: #FFFDF9;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px;
  --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;

  --section: clamp(96px, 6vw + 64px, 128px);
  --gutter: 16px;
  --gap: 16px;
  --max: 1200px;

  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.75rem, 1.7rem + 4.4vw, 4.75rem);
  --fs-h2: clamp(2.125rem, 1.65rem + 2.1vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.25rem + 0.55vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.07rem + 0.25vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: none;
  --hairline: rgba(43, 33, 28, 0.12);
}

@media (min-width: 768px) { :root { --gutter: 32px; --gap: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; font-optical-sizing: auto; }
p { margin: 0 0 var(--s2); max-width: 65ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
em, .ital { font-style: italic; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }

.skip {
  position: absolute; left: var(--s2); top: -100px; z-index: 200;
  background: var(--espresso); color: var(--linen); padding: var(--s1) var(--s2); border-radius: 8px;
}
.skip:focus { top: var(--s2); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible, .menu :focus-visible { outline-color: var(--clay); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.grid > * { grid-column: 1 / -1; min-width: 0; }

.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: var(--s12) 0; }
.sand { background: var(--sand); }
.dark { background: var(--espresso); color: var(--linen); }
.dark p { color: rgba(246, 241, 234, 0.86); }

.eyebrow {
  font-family: var(--font-body); font-size: var(--fs-small); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone); margin: 0 0 var(--s3); display: inline-flex; align-items: center; gap: var(--s1);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.sand .eyebrow { color: var(--stone-on-sand); }
.dark .eyebrow { color: var(--clay); }

.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.small { font-size: var(--fs-small); color: var(--stone); }
.sand .small { color: var(--stone-on-sand); }
.dark .small { color: rgba(246, 241, 234, 0.72); }
.stack > * + * { margin-top: var(--s3); }
.stack-lg > * + * { margin-top: var(--s4); }
.section-head { margin-bottom: var(--s8); }
.section-head .h2 { max-width: 18ch; }

/* ---------- Links + buttons ---------- */
.link {
  color: var(--terracotta); text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 400ms var(--ease);
  padding-bottom: 2px;
}
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link--quiet { color: inherit; background-size: 100% 1px; background-image: linear-gradient(rgba(43,33,28,.3), rgba(43,33,28,.3)), linear-gradient(currentColor, currentColor); background-position: 0 100%, 0 100%; background-size: 100% 1px, 0 1px; transition: background-size 400ms var(--ease); }
.link--quiet:hover, .link--quiet:focus-visible { background-size: 100% 1px, 100% 1px; }
.sand .link, .dark .link { color: inherit; background-size: 100% 1px; background-image: linear-gradient(currentColor, currentColor); }
.sand .link:hover, .dark .link:hover { background-size: 100% 2px; }
.prose a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 12px 28px;
  border-radius: 4px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.8125rem; line-height: 1.2;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn:active { transform: translateY(2px) scale(0.98); }
.btn .arrow { display: inline-block; transition: transform 400ms var(--ease); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn--primary { background: var(--terracotta); color: var(--white); }
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--secondary { background: var(--olive); color: var(--white); }
.btn--secondary:hover { background: #404b33; }
.btn--ghost { border-color: rgba(43, 33, 28, 0.35); color: var(--espresso); background: transparent; }
.btn--ghost:hover { border-color: var(--espresso); }
.dark .btn--ghost { border-color: rgba(246, 241, 234, 0.4); color: var(--linen); }
.dark .btn--ghost:hover { border-color: var(--linen); }
.dark .btn--light { background: var(--linen); color: var(--espresso); }
.dark .btn--light:hover { background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s4); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(246, 241, 234, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform 500ms var(--ease), border-color 300ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: rgba(43, 33, 28, 0.12); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-head); font-size: 1.1875rem; font-weight: 400; text-decoration: none; letter-spacing: 0.1em; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.logo--lg { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: 0.08em; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: var(--s4); align-items: center; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size 400ms var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.nav .btn { min-height: 44px; padding: 10px 20px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: var(--s1);
  min-height: 44px; min-width: 44px; padding: 0 var(--s1);
  background: none; border: 0; cursor: pointer; font-size: 0.9375rem; font-weight: 500;
}
.menu-toggle .bars { width: 22px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 400ms var(--ease); }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { bottom: 0; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* Full screen menu */
.menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--espresso); color: var(--linen);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) var(--s6);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 600ms var(--ease), visibility 0s linear 600ms;
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 600ms var(--ease), visibility 0s; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.menu-close { background: none; border: 0; color: inherit; min-height: 44px; min-width: 44px; cursor: pointer; font-size: 0.9375rem; font-weight: 500; }
.menu nav { margin-top: var(--s4); }
.menu ul { list-style: none; }
.menu li { overflow: hidden; border-bottom: 1px solid rgba(246, 241, 234, 0.14); }
.menu li a {
  display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: var(--s1);
  text-decoration: none; padding: var(--s2) 0; min-height: 64px;
  transform: translateY(110%); transition: transform 600ms var(--ease);
}
.menu li .n { font-family: var(--font-head); font-style: italic; font-weight: 300; color: var(--clay); font-size: 1.125rem; }
.menu li .t { font-family: var(--font-head); font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1.1; }
.menu li .t small { display: block; font-family: var(--font-body); font-size: 0.8125rem; line-height: 1.4; color: rgba(246,241,234,.68); margin-top: 4px; letter-spacing: 0; }
.menu li .go { color: var(--clay); transition: transform 400ms var(--ease); }
.menu li a:hover .go { transform: translateX(4px); }
.menu li a[aria-current="page"] .t { font-style: italic; font-weight: 300; }
.menu.is-open li a { transform: none; }
.menu.is-open li:nth-child(1) a { transition-delay: 150ms; }
.menu.is-open li:nth-child(2) a { transition-delay: 215ms; }
.menu.is-open li:nth-child(3) a { transition-delay: 280ms; }
.menu.is-open li:nth-child(4) a { transition-delay: 345ms; }
.menu.is-open li:nth-child(5) a { transition-delay: 410ms; }
.menu.is-open li:nth-child(6) a { transition-delay: 475ms; }
.menu-foot { margin-top: var(--s6); display: flex; flex-direction: column; gap: var(--s3); opacity: 0; transition: opacity 400ms var(--ease) 0ms; }
.menu.is-open .menu-foot { opacity: 1; transition-delay: 600ms; }
.menu-foot .btn { align-self: flex-start; }
body.menu-open { overflow: hidden; }

main { padding-top: 72px; }

/* ---------- Mobile booking pill ---------- */
.book-pill {
  border-radius: 4px;
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, 0);
  box-shadow: 0 12px 28px -10px rgba(43, 33, 28, 0.5);
  transition: transform 500ms var(--ease), opacity 400ms var(--ease);
}
.book-pill.is-hidden { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .book-pill { display: none; } }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--clay); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--portrait { aspect-ratio: 27 / 43; }
.frame--wide { aspect-ratio: 4 / 3; }
.frame--arch { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 3 / 4; }
.frame--arch img { object-position: 50% 30%; }
figcaption { font-size: var(--fs-small); color: var(--stone); margin-top: var(--s1); }
.sand figcaption { color: var(--stone-on-sand); }
.dark figcaption { color: rgba(246, 241, 234, 0.72); }

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .mask > span { display: inline-block; transform: translateY(105%); transition: transform 800ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .is-in .mask > span, .js .mask.is-in > span { transform: none; }
.js [data-unclip] { clip-path: inset(12% 12% 12% 12% round 24px); transition: clip-path 1000ms var(--ease); }
.js [data-unclip] img, .js [data-unclip] video { transform: scale(1.08); transition: transform 1200ms var(--ease); }
.js [data-unclip].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .frame--arch[data-unclip].is-in { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }
.js [data-unclip].is-in img, .js [data-unclip].is-in video { transform: none; }

/* ---------- Hero (home) ---------- */
.hero { padding: var(--s6) 0 0; position: relative; }
.hero .grid { align-items: end; }
.hero-copy { padding-bottom: var(--s6); }
.hero-title { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.025em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line > span { display: inline-block; }
.hero-beats { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s3) 0 var(--s4); }
.chip { display: inline-block; font-family: var(--font-head); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); line-height: 1.2; padding: 8px 16px; border-radius: 4px; }
.chip--sand { background: var(--sand); color: var(--espresso); }
.chip--olive { background: rgba(78, 91, 63, 0.14); color: var(--olive); }
.chip--terra { background: var(--terracotta); color: var(--white); font-style: italic; }
.hero-photo { position: relative; margin-bottom: calc(var(--s12) * -1); z-index: 2; }
.hero-photo .frame--arch { max-width: 520px; margin-left: auto; }
.hero-photo .tag {
  position: absolute; left: 0; bottom: 18%; background: var(--linen); border-radius: 999px;
  padding: 10px 18px; font-size: var(--fs-small); box-shadow: var(--shadow);
}
.hero-photo .tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); margin-right: 8px; vertical-align: 1px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s4); font-size: var(--fs-small); color: var(--stone); list-style: none; }
.hero-meta li + li::before { content: "·"; margin-right: var(--s3); }
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-copy { grid-column: 1 / span 7; }
  .hero-photo { grid-column: 3 / -1; }
  .hero-photo .frame--arch { max-width: 440px; }
}
@media (min-width: 1024px) {
  .hero { padding-top: var(--s8); }
  .hero-copy { grid-column: 1 / span 7; padding-bottom: var(--s12); }
  .hero-photo { grid-column: 8 / -1; margin-bottom: calc(var(--s16) * -1); }
  .hero-photo .tag { left: -32px; }
}

/* Hero load sequence */
.js .hero-title .line > span { transform: translateY(110%); animation: rise 800ms var(--ease) forwards; }
.js .hero-beats > .chip { opacity: 0; transform: translateY(16px); animation: chipIn 650ms var(--ease) forwards; }
.js .hero-title .line > span { animation-delay: 120ms; }
.js .hero-beats > .chip:nth-child(1) { animation-delay: 700ms; }
.js .hero-beats > .chip:nth-child(2) { animation-delay: 850ms; }
.js .hero-beats > .chip:nth-child(3) { animation-delay: 1700ms; }
.js .hero-fade { opacity: 0; animation: fade 800ms var(--ease) 1900ms forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes chipIn { to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: var(--s8) 0 var(--s12); }
.page-hero .display { max-width: 14ch; }
.page-hero .lead { margin-top: var(--s3); }
.page-hero-media { position: relative; }
@media (min-width: 1024px) {
  .page-hero { padding: var(--s12) 0 var(--s16); }
}

/* ---------- Offers (home) ---------- */
.offers { padding-top: calc(var(--section) + var(--s12)); }
@media (min-width: 1024px) { .offers { padding-top: calc(var(--section) + var(--s16)); } }
.offers-grid { row-gap: var(--s3); }
.card {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--linen); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.card .card-cta { margin-top: auto; padding-top: var(--s1); font-weight: 500; color: var(--terracotta); display: inline-flex; gap: 8px; }
.card .card-cta .arrow { transition: transform 400ms var(--ease); }
.card:hover .card-cta .arrow { transform: translateX(4px); }
.card .frame { border-radius: 0; }
.card a.cover::after { content: ""; position: absolute; inset: 0; }
.card a.cover { text-decoration: none; }
.badge { align-self: flex-start; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--espresso); color: var(--linen); }
.badge--olive { background: var(--olive); }
.badge--outline { background: transparent; color: var(--espresso); border: 1px solid rgba(43,33,28,.35); }

.offer--main .frame { aspect-ratio: 4 / 3; }
.offer--main .frame img { object-position: 50% 25%; }
.offer--events .frame { aspect-ratio: 4 / 3; }
.offer--events .frame img { object-position: 50% 20%; }
.offer--pilates .frame { aspect-ratio: 4 / 3; }
.offer--pilates .frame img { object-position: 50% 18%; }
@media (min-width: 768px) {
  .offer--main { grid-column: 1 / -1; }
  .offer--events { grid-column: 1 / span 4; }
  .offer--pilates { grid-column: 5 / -1; }
}
@media (min-width: 1024px) {
  .offer--main { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .offer--main .frame { aspect-ratio: 5 / 4; }
  .offer--main .card-body { padding: var(--s4); }
  .offer--events { grid-column: 8 / -1; flex-direction: row; }
  .offer--events .frame { aspect-ratio: auto; width: 42%; flex: none; }
  .offer--pilates { grid-column: 8 / -1; flex-direction: row-reverse; }
  .offer--pilates .frame { aspect-ratio: auto; width: 42%; flex: none; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid rgba(43, 33, 28, 0.14); overflow: hidden; padding: var(--s3) 0; background: var(--linen); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; align-items: center; flex: none; }
.marquee li { font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem); white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); margin: 0 var(--s4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Proof ---------- */
.proof .grid { row-gap: var(--s8); align-items: start; }
.stat-num { font-family: var(--font-head); font-size: clamp(4.5rem, 2.5rem + 10vw, 10rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--linen); }
.stat-label { margin-top: var(--s3); font-size: var(--fs-lead); max-width: 28ch; }
.proof-list { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(246,241,234,.2); }
.proof-list li { padding: var(--s3) 0; border-bottom: 1px solid rgba(246,241,234,.2); display: flex; justify-content: space-between; gap: var(--s2); align-items: baseline; }
.proof-list strong { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); }
.proof-list span { font-size: var(--fs-small); color: rgba(246,241,234,.72); text-align: right; }
.quotes { display: grid; gap: var(--s3); }
.quote { border: 1px dashed rgba(246,241,234,.35); border-radius: var(--radius-lg); padding: var(--s4); }
.quote blockquote { margin: 0; font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: var(--fs-h3); line-height: 1.3; }
.quote figcaption { margin-top: var(--s2); color: var(--clay); }
@media (min-width: 768px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .proof-stat { grid-column: 1 / span 6; }
  .proof-side { grid-column: 8 / -1; }
  .quotes { grid-column: 1 / -1; }
}

/* ---------- Silent but deadly ---------- */
.sbd .grid { align-items: center; row-gap: var(--s6); }
.sbd-photo .frame { aspect-ratio: 4 / 5; max-width: 440px; }
.sbd-photo .frame img { object-position: 50% 35%; }
.sbd-title { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.025em; }
.sbd-aside { font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: var(--fs-h3); color: var(--stone); margin-top: var(--s2); }
.js .sbd-title { opacity: 0; transition: opacity 600ms var(--ease); }
.js .sbd-aside { opacity: 0; transition: opacity 900ms var(--ease-soft) 1400ms; }
.js .sbd-text > *:not(.sbd-title):not(.sbd-aside) { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease) 2100ms, transform 700ms var(--ease) 2100ms; }
.js .sbd.is-in .sbd-title, .js .sbd.is-in .sbd-aside { opacity: 1; }
.js .sbd.is-in .sbd-text > * { opacity: 1; transform: none; }
@media (min-width: 768px) {
  .sbd-photo { grid-column: 1 / span 3; }
  .sbd-text { grid-column: 4 / -1; }
}
@media (min-width: 1024px) {
  .sbd-photo { grid-column: 2 / span 4; }
  .sbd-text { grid-column: 7 / -1; }
}

/* ---------- Intro (Hi, I'm Aubrey) ---------- */
.intro .grid { row-gap: var(--s6); align-items: start; }
.intro-media { position: relative; padding-bottom: var(--s8); }
.intro-media .frame:first-child { aspect-ratio: 4 / 5; width: 78%; }
.intro-media .frame:first-child img { object-position: 50% 30%; }
.intro-media .frame--small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border: 8px solid var(--sand); border-radius: 20px; }
.intro-media .frame--small img { object-position: 50% 20%; }
@media (min-width: 768px) {
  .intro-media { grid-column: 1 / span 4; }
  .intro-text { grid-column: 5 / -1; padding-top: var(--s8); }
}
@media (min-width: 1024px) {
  .intro-media { grid-column: 1 / span 5; margin-top: calc(var(--section) * -1 - var(--s8)); }
  .intro-text { grid-column: 7 / span 5; padding-top: 0; }
}

/* ---------- Signup ---------- */
.signup-card { background: var(--sand); border-radius: var(--radius-lg); padding: var(--s6) var(--s3); display: grid; gap: var(--s4); }
@media (min-width: 768px) { .signup-card { padding: var(--s8); } }
@media (min-width: 1024px) { .signup-card { grid-template-columns: 5fr 6fr; gap: var(--s8); align-items: end; } }
.form { display: grid; gap: var(--s3); }
.form-row { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s1); }
.field label, .field legend { font-size: var(--fs-small); font-weight: 500; }
.field .req { color: var(--stone); font-weight: 400; }
.sand .field .req { color: var(--stone-on-sand); }
.input {
  width: 100%; min-height: 48px; padding: 12px var(--s2);
  border: 1px solid rgba(43, 33, 28, 0.3); border-radius: 12px; background: var(--white);
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.input:hover { border-color: rgba(43, 33, 28, 0.55); }
.input:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(169, 82, 47, 0.25); }
textarea.input { min-height: 144px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232B211C' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: var(--s1); align-items: center; font-size: var(--fs-small); min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--terracotta); }

/* ---------- Final CTA ---------- */
.final { text-align: left; overflow: hidden; }
.final .display { max-width: 12ch; }
.final-inner { display: grid; gap: var(--s4); }
@media (min-width: 1024px) { .final-inner { grid-template-columns: 7fr 4fr; align-items: end; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--linen); padding: var(--s12) 0 var(--s8); border-top: 1px solid rgba(246,241,234,.12); }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.05; }
.footer-brand em { font-weight: 300; color: var(--clay); }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-small); letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--s2); }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size 400ms var(--ease); }
.site-footer a:hover { background-size: 100% 1px; }
.footer-base { margin-top: var(--s8); padding-top: var(--s3); border-top: 1px solid rgba(246,241,234,.15); display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; font-size: var(--fs-small); color: rgba(246,241,234,.72); }
@media (max-width: 1023px) { .site-footer { padding-bottom: calc(var(--s8) + 64px); } }

/* ---------- Split / feature blocks ---------- */
.split { row-gap: var(--s6); align-items: center; }
.pillars { list-style: none; display: grid; gap: 0; counter-reset: p; }
.pillars li { counter-increment: p; padding: var(--s4) 0; border-top: 1px solid rgba(43,33,28,.16); display: grid; gap: var(--s1); }
.pillars li:last-child { border-bottom: 1px solid rgba(43,33,28,.16); }
.pillars li::before { content: "0" counter(p); font-size: var(--fs-small); color: var(--stone); letter-spacing: 0.1em; }
.sand .pillars li::before { color: var(--stone-on-sand); }
@media (min-width: 768px) {
  .pillars li { grid-template-columns: 64px 1fr 1.3fr; gap: var(--s3); align-items: baseline; }
}

.steps { list-style: none; display: grid; gap: var(--s3); counter-reset: s; }
.steps li { counter-increment: s; background: var(--linen); border-radius: var(--radius); padding: var(--s3); display: grid; gap: var(--s1); }
.steps li::before { content: counter(s); font-family: var(--font-head); font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--terracotta); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1); }
.chips li { padding: 8px 16px; border: 1px solid rgba(43,33,28,.25); border-radius: 999px; font-size: var(--fs-small); }
.dark .chips li { border-color: rgba(246,241,234,.3); }

/* ---------- Tiers ---------- */
.tiers { display: grid; gap: var(--s3); align-items: stretch; }
@media (min-width: 1024px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: center; } }
.tier { background: var(--linen); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); display: flex; flex-direction: column; gap: var(--s3); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); border: 1px solid rgba(43,33,28,.1); }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier-head { display: grid; gap: var(--s1); }
.tier-price { font-family: var(--font-head); font-size: var(--fs-h3); }
.tier-price small { display: block; font-family: var(--font-body); font-size: var(--fs-small); color: var(--stone); margin-bottom: 2px; }
.tier ul { list-style: none; display: grid; gap: 12px; font-size: 0.9375rem; }
.tier li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; line-height: 1.45; }
.tier li svg { margin-top: 2px; }
.tier li.no { color: var(--stone); }
.tier .btn { margin-top: auto; align-self: stretch; }
.tier--featured { background: var(--espresso); color: var(--linen); padding: var(--s6) var(--s4); border-color: transparent; }
.tier--featured .tier-price small, .tier--featured li.no { color: rgba(246,241,234,.7); }
.tier--featured .badge { background: var(--clay); color: var(--espresso); }
.tier--featured :focus-visible { outline-color: var(--clay); }
@media (min-width: 1024px) { .tier--featured { padding: var(--s8) var(--s4); } }
.addon { margin-top: var(--s4); border: 1px dashed rgba(43,33,28,.35); border-radius: var(--radius-lg); padding: var(--s3); display: grid; gap: var(--s2); }
@media (min-width: 768px) { .addon { grid-template-columns: 1fr auto; align-items: center; padding: var(--s4); } }

/* ---------- Gallery (events proof, travel trio) ---------- */
.gallery { display: grid; gap: var(--s2); grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; }
.gallery .frame { aspect-ratio: 3 / 4; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child .frame { aspect-ratio: 4 / 3; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 5fr 4fr 4fr; gap: var(--s3); align-items: start; }
  .gallery figure:first-child { grid-column: auto; }
  .gallery figure:first-child .frame { aspect-ratio: 3 / 4; }
  .gallery figure:nth-child(2) { margin-top: var(--s12); }
  .gallery figure:nth-child(3) { margin-top: var(--s6); }
}

.trio { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s2); margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.trio figure { margin: 0; flex: 0 0 72%; scroll-snap-align: start; }
.trio .frame { aspect-ratio: 3 / 4; }
@media (min-width: 768px) {
  .trio { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: start; }
  .trio figure:nth-child(1) .frame { aspect-ratio: 3 / 4; }
  .trio figure:nth-child(2) { margin-top: var(--s12); }
  .trio figure:nth-child(2) .frame { aspect-ratio: 4 / 5; }
  .trio figure:nth-child(3) { margin-top: var(--s6); }
  .trio figure:nth-child(3) .frame { aspect-ratio: 2 / 3; }
}
.swipe-hint { font-size: var(--fs-small); color: var(--stone); margin-bottom: var(--s2); }
@media (min-width: 768px) { .swipe-hint { display: none; } }

/* ---------- Video hero ---------- */
.video-hero .grid { row-gap: var(--s6); align-items: center; }
.video-frame { aspect-ratio: 9 / 16; max-height: 78vh; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--sand); margin-inline: auto; width: min(100%, 420px); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame--rect { border-radius: var(--radius-lg); }
.video-toggle { margin-top: var(--s2); }
@media (min-width: 768px) {
  .video-hero .vh-text { grid-column: 1 / span 4; }
  .video-hero .vh-media { grid-column: 5 / -1; }
}
@media (min-width: 1024px) {
  .video-hero .vh-text { grid-column: 1 / span 6; }
  .video-hero .vh-media { grid-column: 8 / span 4; }
  .video-hero--flip .vh-text { grid-column: 7 / -1; grid-row: 1; }
  .video-hero--flip .vh-media { grid-column: 1 / span 5; grid-row: 1; }
}

/* ---------- Schedule table ---------- */
.schedule { width: 100%; border-collapse: collapse; }
.schedule caption { text-align: left; font-size: var(--fs-small); color: var(--stone-on-sand); margin-bottom: var(--s2); }
.schedule th, .schedule td { text-align: left; padding: var(--s2); border-bottom: 1px solid rgba(43,33,28,.16); vertical-align: top; }
.schedule thead th { font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone-on-sand); }
.schedule tbody th { font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; }
.schedule .when { font-variant-numeric: tabular-nums; font-weight: 500; }
@media (max-width: 767px) {
  .schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; }
  .schedule tr { background: var(--linen); border-radius: var(--radius); padding: var(--s3); margin-bottom: var(--s2); }
  .schedule th, .schedule td { border: 0; padding: 4px 0; }
  .schedule tbody th { padding-bottom: var(--s1); }
  .schedule td::before { content: attr(data-label); display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
  .schedule td + td { margin-top: var(--s1); }
}

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid rgba(43,33,28,.16); }
.faq-item { border-bottom: 1px solid rgba(43,33,28,.16); }
.faq-q { margin: 0; font-size: inherit; }
.faq-q button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  text-align: left; background: none; border: 0; cursor: pointer; padding: var(--s3) 0; min-height: 64px;
  font-family: var(--font-head); font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.3;
}
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(43,33,28,.3); position: relative; transition: transform 500ms var(--ease), background-color 300ms var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 500ms var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q button[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-q button[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; height: 0; transition: height 500ms var(--ease); }
.faq-a[hidden] { display: block; height: 0; visibility: hidden; }
.faq-a > div { padding: 0 0 var(--s3); max-width: 65ch; }
.no-js .faq-a { height: auto; }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: var(--s8); }
.post-card { display: grid; gap: var(--s3); align-items: center; }
.post-card .frame { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .post-card { grid-template-columns: 5fr 6fr; gap: var(--s6); } .post-card:nth-child(even) .frame { order: 2; } }
.post-meta { font-size: var(--fs-small); color: var(--stone); display: flex; gap: var(--s1); flex-wrap: wrap; }
.post-card h2 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 500ms var(--ease); }
.post-card h2 a:hover { background-size: 100% 1px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--terracotta); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.article { max-width: 720px; margin: 0 auto; }
.article-head { padding: var(--s8) 0 var(--s6); }
.article-head .display { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); }
.article-cover { max-width: 960px; margin: 0 auto var(--s8); }
.article-cover .frame { aspect-ratio: 16 / 10; }
.article-cover .frame img { object-position: 50% 25%; }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose p { margin-bottom: var(--s3); }
.prose h2 { font-size: clamp(1.5rem, 1.35rem + 0.7vw, 2rem); margin: var(--s6) 0 var(--s2); }
.pull { margin: var(--s6) 0; padding: var(--s3) 0 var(--s3) var(--s3); border-left: 2px solid var(--terracotta); font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 1.3rem + 1vw, 2.125rem); line-height: 1.3; }
@media (min-width: 1024px) { .pull { margin-left: calc(var(--s8) * -1); padding-left: var(--s4); } }

/* ---------- Contact ---------- */
.contact .grid { row-gap: var(--s8); align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); box-shadow: 0 1px 0 rgba(43,33,28,.06); }
@media (min-width: 768px) { .form-card { padding: var(--s6); } }
.book-card { background: var(--olive); color: var(--white); border-radius: var(--radius-lg); padding: var(--s4); display: grid; gap: var(--s2); }
.book-card p { color: rgba(255,253,249,.88); }
.book-card .btn { background: var(--linen); color: var(--espresso); justify-self: start; }
.book-card :focus-visible { outline-color: var(--linen); }
@media (min-width: 1024px) {
  .contact-form { grid-column: 1 / span 7; }
  .contact-side { grid-column: 9 / -1; position: sticky; top: 96px; }
}
.contact-list { list-style: none; display: grid; gap: var(--s2); }
.contact-list span { display: block; font-size: var(--fs-small); color: var(--stone); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--s2); } .mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); } .mt-6 { margin-top: var(--s6); } .mt-8 { margin-top: var(--s8); }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--stone); }
.terra { color: var(--terracotta); }
.clay { color: var(--clay); }
.olive { color: var(--olive); }
.note { font-size: var(--fs-small); color: var(--stone); border-left: 2px solid var(--clay); padding-left: var(--s2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .mask > span, .js [data-unclip], .js [data-unclip] img, .js [data-unclip] video,
  .js .hero-title .line > span, .js .hero-beats > .chip, .js .hero-fade,
  .js .sbd-title, .js .sbd-aside, .js .sbd-text > * { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; row-gap: var(--s1); padding-inline: var(--gutter); }
  .card:hover, .tier:hover { transform: none; }
}

/* ---------- Page specific placements ---------- */
.faq-body { margin-top: var(--s4); }
@media (min-width: 768px) {
  .cm-text { grid-column: 1 / span 5; }
  .cm-media { grid-column: 6 / -1; }
  .pl-media { grid-column: 1 / span 3; }
  .pl-text { grid-column: 4 / -1; }
}
@media (min-width: 1024px) {
  .cm-text { grid-column: 1 / span 6; }
  .cm-media { grid-column: 8 / -1; margin-bottom: calc(var(--s16) * -1); position: relative; z-index: 2; }
  .how-text { grid-column: 1 / span 6; margin-bottom: var(--s6); }
  .who-list { grid-column: 1 / span 7; }
  .who-chips { grid-column: 9 / -1; align-self: start; }
  .faq-head { grid-column: 1 / span 4; position: sticky; top: 112px; align-self: start; }
  .faq-body { grid-column: 6 / -1; margin-top: 0; }
  .ev-proof-text { grid-column: 1 / span 6; margin-bottom: var(--s6); }
  .pl-media { grid-column: 1 / span 5; grid-row: 1; margin-top: calc(var(--section) * -1 - var(--s8)); }
  .pl-text { grid-column: 7 / span 5; grid-row: 1; align-self: center; }
  .story-head { grid-column: 1 / span 4; position: sticky; top: 112px; align-self: start; }
  .story-body { grid-column: 6 / span 6; }
}
.cm-media .frame img { object-position: 50% 20%; }
.pl-media .frame img { object-position: 50% 25%; }
.trio .frame img, .gallery .frame img { object-position: 50% 40%; }
.quote, .gallery figure, .trio figure { margin: 0; }
@media (min-width: 1024px) { .intro-media { margin-top: calc(var(--s16) * -1); } }
.addon .link { justify-self: start; }
@media (max-width: 767px) { .hero-meta { flex-direction: column; } .hero-meta li + li::before { content: none; } }
.btn-row .link, .addon .link, .video-toggle { display: inline-flex; align-items: center; min-height: 44px; background-position: 0 calc(100% - 10px); }
.skip { min-height: 44px; display: inline-flex; align-items: center; }

/* Above the fold on inner pages: animate on load, not on scroll (protects LCP) */
.js .page-hero .mask > span { transition: none; animation: rise 800ms var(--ease) forwards; animation-delay: calc(100ms + var(--i, 0) * 90ms); }
.js .page-hero [data-reveal] { transition: none; animation: fadeUp 700ms var(--ease) forwards; animation-delay: calc(350ms + var(--i, 0) * 75ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .page-hero .lead[data-reveal] { animation: none; opacity: 1; transform: none; }


/* =====================================================================
   v2: flat tactile surfaces, arch plane, dark marquee, filters, footer news
   ===================================================================== */
/* Arch photo with an offset clay plane behind it (print-style depth, no shadows) */
[data-parallax] { position: relative; isolation: isolate; }
[data-parallax]::before { content: ""; position: absolute; inset: 12px -8px -12px 8px; background: var(--clay); border-radius: 999px 999px 4px 4px; z-index: -1; }
@media (min-width: 1024px) { [data-parallax]::before { inset: 16px -16px -16px 16px; } }
.hero-photo .tag { box-shadow: none; border: 1px solid var(--hairline); border-radius: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; font-weight: 600; }

/* Hover: physical lift + tone deepening, no blur shadows */
.card, .tier { border: 1px solid var(--hairline); transition: transform 400ms var(--ease), background-color 400ms var(--ease), border-color 400ms var(--ease); }
.card:hover, .card:focus-within, .tier:hover { transform: translateY(-4px); box-shadow: none; border-color: rgba(43, 33, 28, 0.32); }
.card:hover { background: var(--white); }
.tier:not(.tier--featured):hover { background: var(--white); }
.card-body, .tier { box-shadow: none; }
.badge, .chips li, .chip-btn { border-radius: 4px; }
.badge { letter-spacing: 0.1em; font-weight: 600; }
.quote, .signup-card, .form-card, .book-card, .addon, .steps li, .tier { border-radius: 8px; }
.frame { border-radius: 4px; }
.frame--arch { border-radius: 999px 999px 4px 4px; }
.video-frame { border-radius: 999px 999px 8px 8px; }
.input { border-radius: 4px; border-color: rgba(43, 33, 28, 0.25); background: transparent; }
.sand .input, .form-card .input { background: var(--white); }
.input:focus { box-shadow: none; border-color: var(--terracotta); }
.eyebrow { font-weight: 600; font-size: 0.75rem; }

/* Marquee: dark band */
.marquee { background: var(--espresso); color: var(--linen); border-block: 0; padding: var(--s3) 0; }
.marquee li::after { background: var(--clay); }

/* Schedule filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s3); }
.chip-btn { min-height: 44px; padding: 8px 16px; border: 1px solid rgba(43,33,28,.3); background: transparent; cursor: pointer; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.chip-btn:hover { border-color: var(--espresso); }
.chip-btn[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--white); }
.schedule tbody tr { transition: opacity 300ms var(--ease); }
.schedule tbody tr[hidden] { display: none; }

/* Footer: wordmark + newsletter */
.footer-grid { gap: var(--s6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1.6fr 1fr 1fr; align-items: start; } }
.footer-tag { font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: var(--fs-h3); color: var(--clay); margin: var(--s1) 0 0; }
.footer-news p { color: rgba(246,241,234,.78); font-size: 0.9375rem; }
.news-form { display: flex; gap: var(--s1); margin-top: var(--s2); flex-wrap: wrap; }
.news-form .input { flex: 1 1 180px; background: rgba(246,241,234,.06); border-color: rgba(246,241,234,.35); color: var(--linen); }
.news-form .input::placeholder { color: rgba(246,241,234,.6); }
.news-form .input:focus { border-color: var(--clay); }
.news-form .btn { min-width: 96px; }
.site-footer .btn { display: inline-flex; background-image: none; }
.form-done { padding: var(--s3); border: 1px solid var(--hairline); border-radius: 8px; font-family: var(--font-head); font-size: var(--fs-h3); line-height: 1.3; }
.site-footer .form-done { border-color: rgba(246,241,234,.3); }
.form-error { color: var(--terracotta); font-size: var(--fs-small); margin-top: var(--s1); }
.site-footer .form-error { color: var(--clay); }
.site-footer h2 { font-weight: 600; font-size: 0.75rem; }
.btn--light, .dark .btn--light { background: var(--linen); color: var(--espresso); }
.btn--light:hover, .dark .btn--light:hover { background: var(--white); }
.site-footer .small { color: rgba(246, 241, 234, 0.72); }
.site-footer .btn--light:focus-visible { outline-color: var(--clay); }
.site-footer a, .menu-foot a, .contact-list a { overflow-wrap: anywhere; }
@media (min-width: 768px) and (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1.4fr 0.9fr 1.55fr; } }

/* ---------- Facts strip, stat grid, fit cards ---------- */
.facts { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--hairline); }
.facts li { display: grid; gap: 4px; align-content: start; }
.facts li span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.facts strong { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }

.stats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s3); }
.stat-n { display: block; font-family: var(--font-head); font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.75rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-l { display: block; margin-top: var(--s1); font-size: 0.9375rem; line-height: 1.45; color: rgba(246, 241, 234, 0.8); max-width: 22ch; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats--row { grid-template-columns: repeat(3, 1fr); } }
.proof .stats { grid-column: 1 / -1; padding-top: var(--s6); border-top: 1px solid rgba(246, 241, 234, 0.2); }
.case-more { margin-top: var(--s8); }
.case-more .small { margin-bottom: var(--s2); }
@media (min-width: 1024px) { .case-more { display: grid; grid-template-columns: 4fr 7fr; gap: var(--s6); align-items: start; } .case-more .small { margin: 0; } }

.fit { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit-card { background: var(--linen); border: 1px solid var(--hairline); border-radius: 8px; padding: var(--s4) var(--s3); display: grid; gap: var(--s3); align-content: start; }
.fit-card ul { list-style: none; display: grid; gap: var(--s2); }
.fit-card li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.fit-card li svg { margin-top: 3px; }
.fit-card:last-child { background: transparent; }
@media (min-width: 1024px) { .stats:not(.stats--row) { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
@media (max-width: 1023px) { .stats .stat-n { font-size: clamp(2.25rem, 1.2rem + 4.5vw, 3.5rem); } }

.tools { margin-top: var(--s8); display: grid; gap: var(--s4); }
.tools .small { margin-bottom: var(--s1); }
@media (min-width: 1024px) { .tools { grid-template-columns: 1.3fr 1fr 1fr; } }
.proof-list span { max-width: 34ch; }
@media (max-width: 767px) { .proof-list li { flex-direction: column; gap: 4px; } .proof-list span { text-align: left; max-width: none; } }
