/* ============================================================
   THE CONCERT CONSULTING GROUP
   Editorial dark / "rock concert" — gold + oxblood on near-black
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---------- Tokens ---------- */
:root {
  --bg:        #0A0908;
  --bg-soft:   #14100E;
  --ink:       #F5F2EC;
  --ink-2:     #D8D2C7;
  --ink-3:     #A69D92;
  --gold:      #C9A36B;
  --gold-2:    #E6CB95;
  --gold-deep: #93733F;
  --oxblood:   #6E1F23;
  --oxblood-2: #9A2A30;
  --hair:      rgba(201,163,107,.20);
  --hair-soft: rgba(245,242,236,.10);
  --scrim:     rgba(8,7,6,.66);

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(5rem, 10vw, 9rem);

  --ease: cubic-bezier(.22,.61,.36,1);
  --z-stage: 0;
  --z-content: 10;
  --z-nav: 50;
  --z-menu: 60;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: .005em;
}
body.menu-open { overflow: hidden; }

::selection { background: var(--gold); color: #14100E; }

/* ---------- Accessibility helpers ---------- */
.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;
}
.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 100;
  background: var(--gold); color: #14100E; padding: .7rem 1.1rem;
  border-radius: 4px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ============================================================
   FIXED CINEMATIC STAGE (background photos + lighting fx)
   ============================================================ */
#stage {
  position: fixed; inset: 0;
  z-index: var(--z-stage);
  background: var(--bg);
  overflow: hidden;
  pointer-events: none;
}
.scene {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08); /* static crop — immersive framing, no motion cost */
  /* Opacity is set per-frame from scroll position (see main.js); the dissolve
     length is governed there by the scroll BAND. This transition only smooths
     the frame steps + the load-flip, so it's kept short — a long one would make
     the fade lag behind a slow scroll and read as "stuck on the old image." */
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity;
}
/* Hero background video — fills the hero scene and crossfades with it via the
   scene engine. Desktop only; mobile falls back to the scene's poster photo. */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
@media (max-width: 820px) { .hero-video { display: none; } }
/* Anchor these section photos to the TOP so their truss + stage lighting stay
   in frame and the crop happens at the bottom (good-fit + "Book an Hour"). */
.scene[data-scene="amber"],
.scene[data-scene="stage-warm"] { background-position: center top; }
/* Founder photo: drop the ceiling (anchor bottom) and push the view right so
   the standing operator sits centred. */
.scene[data-scene="console"] { background-position: 62% bottom; }

/* warm duotone grade — unifies all photos toward the brand palette,
   keeps some life in them but pulls everything to gold/oxblood/black */
.stage-grade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 70% 18%, rgba(201,163,107,.18), transparent 55%),
    radial-gradient(120% 120% at 50% 120%, rgba(110,31,35,.42), transparent 60%),
    linear-gradient(180deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.30) 35%, rgba(10,9,8,.55) 100%);
  mix-blend-mode: multiply;
}
.stage-warm-wash {
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(35,24,12,.35), rgba(10,9,8,.10) 40%, rgba(110,31,35,.18));
  mix-blend-mode: soft-light;
}

/* slow sweeping light beams */
.beams { position: absolute; inset: 0; overflow: hidden; mix-blend-mode: screen; }
.beam {
  position: absolute;
  top: -40%;
  width: 16vmax; height: 170vh;
  background: linear-gradient(180deg, rgba(230,203,149,.0) 0%, rgba(230,203,149,.16) 30%, rgba(230,203,149,.05) 70%, transparent 100%);
  filter: blur(14px);
  transform-origin: top center;
  opacity: .65;
  will-change: transform;
}
.beam.b1 { left: 8%;  transform: rotate(14deg);  animation: sway1 16s ease-in-out infinite alternate; }
.beam.b2 { left: 34%; transform: rotate(-9deg);  animation: sway2 21s ease-in-out infinite alternate; background: linear-gradient(180deg, transparent, rgba(245,242,236,.12) 40%, transparent); }
.beam.b3 { left: 62%; transform: rotate(8deg);   animation: sway1 19s ease-in-out infinite alternate-reverse; }
.beam.b4 { left: 84%; transform: rotate(-15deg); animation: sway2 24s ease-in-out infinite alternate; background: linear-gradient(180deg, transparent, rgba(154,42,48,.14) 38%, transparent); }
@keyframes sway1 { from { transform: rotate(11deg)  translateX(-2vw); } to { transform: rotate(18deg) translateX(3vw); } }
@keyframes sway2 { from { transform: rotate(-13deg) translateX(2vw);  } to { transform: rotate(-6deg) translateX(-3vw); } }

/* film grain + vignette for the expensive, shot-on-film texture */
.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: overlay;
}
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 42%, transparent 50%, rgba(6,5,4,.72) 100%);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.content { position: relative; z-index: var(--z-content); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }

section[id] { scroll-margin-top: 88px; }

.band {
  position: relative;
  padding-block: var(--section-y);
}
/* legibility scrim behind text-heavy bands so type stays crisp over photos */
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,.30), rgba(10,9,8,.74) 45%, rgba(10,9,8,.86));
  z-index: -1;
}
.band.band-light::before {
  background: linear-gradient(180deg, rgba(10,9,8,.20), rgba(10,9,8,.52) 50%, rgba(10,9,8,.30));
}

/* ---------- Section headers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .8rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .7;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin-top: 1.1rem;
  max-width: 16ch;
}
.section-title em { font-style: italic; color: var(--gold-2); }
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.27rem);
  line-height: 1.66;
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 1.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px;
  padding: 0 1.7rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: .92rem;
  letter-spacing: .04em;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1A1206;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 34px -14px rgba(201,163,107,.65);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 40px -12px rgba(230,203,149,.8); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: rgba(245,242,236,.04);
  color: var(--ink);
  border-color: var(--hair);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201,163,107,.08); transform: translateY(-2px); }
.btn-lg { min-height: 60px; padding: 0 2.2rem; font-size: 1rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad-x);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,9,8,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hair);
  padding-block: .7rem;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 44px; width: auto; transition: height .4s var(--ease); }
.nav.scrolled .nav-brand img { height: 38px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  position: relative;
  font-size: .86rem; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-2);
  padding: .35rem 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--hair); border-radius: 3px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  position: relative; transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* mobile slide-down menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: var(--z-menu);
  background: rgba(8,7,6,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem var(--pad-x) 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  padding: .5rem 0;
  border-bottom: 1px solid var(--hair-soft);
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.mobile-menu a.m-link:hover, .mobile-menu a.m-link:focus-visible { color: var(--gold-2); padding-left: .6rem; }
.mobile-menu .m-cta { margin-top: 2.2rem; }
.mobile-menu .m-meta { margin-top: auto; color: var(--ink-3); font-size: .85rem; letter-spacing: .04em; }
.mobile-menu .m-meta a { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center;
  /* Sit the wordmark in the upper-middle — fills the dark space above the
     lighting and opens up the view down onto the stage. */
  padding: clamp(6rem, 15vh, 10rem) var(--pad-x) 4rem;
}
/* Legibility scrim over the hero video: darkens behind the wordmark + CTAs so
   they stay crisp even when the clip rests on its bright, beam-crossed end
   frame — while letting the light show read at the edges. */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 78% at 50% 38%, rgba(8,7,6,.62) 0%, rgba(8,7,6,.34) 38%, transparent 68%),
    linear-gradient(180deg, rgba(8,7,6,.30), transparent 30%);
}
/* cursor-follow spotlight (built by main.js §9; desktop, wakes after the video).
   Moved with transform/scale only (cheap). Sits above the scrim, below the
   wordmark so the logo stays crisp. */
.hero-spotlight {
  position: absolute; top: 0; left: 0; width: 170px; height: 170px;
  z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity 1s ease;
  mix-blend-mode: screen;
  /* real-spotlight feel: solid to 95% of the radius, crisp edge with a hair of feather */
  background: radial-gradient(circle closest-side,
    var(--c, rgba(232,184,96,.64)) 0%,
    var(--c, rgba(232,184,96,.64)) 95%,
    transparent 100%);
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1));
  will-change: transform;
}
.hero-spotlight.on { opacity: 1; }
/* while the spotlight is live it stands in for the cursor — hide the OS cursor
   over the hero, but keep a pointer on the actual button for affordance */
.hero.spot-active { cursor: none; }
.hero.spot-active a, .hero.spot-active button { cursor: pointer; }
.hero-inner { max-width: 880px; position: relative; z-index: 2; }
.hero-scroll { z-index: 2; }
.hero-brand { position: relative; margin: 0 auto; isolation: isolate; }
/* soft, blurred dark halo behind the wordmark — lifts the gold logo off the
   busy photo so the name reads clearly, with a feathered (fuzzy) edge */
.hero-brand::before {
  content: "";
  position: absolute; z-index: -1;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 132%; height: 165%;
  background: radial-gradient(58% 54% at 50% 50%,
    rgba(8,7,6,.82) 0%, rgba(8,7,6,.55) 42%, rgba(8,7,6,0) 72%);
  filter: blur(26px);
  border-radius: 50%;
  animation: heroGlow 7.5s ease-in-out infinite;
}
.hero-brand img {
  width: clamp(240px, 40vw, 440px);
  margin-inline: auto;
  filter: drop-shadow(0 14px 50px rgba(201,163,107,.28));
  animation: heroFloat 10s ease-in-out infinite;
}
@keyframes heroFloat {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(4px, -9px); }
  66%  { transform: translate(-4px, -4px); }
  100% { transform: translate(0, 0); }
}
@keyframes heroGlow {
  0%, 100% { opacity: .82; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 3vw, 1.85rem);
  color: var(--ink);
  margin-top: 1.6rem;
  line-height: 1.3;
}
.hero-sub .amp { color: var(--gold-2); }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center;
  margin-top: 2.4rem;
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3);
}
.hero-scroll .line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   WHO WE HELP
   ============================================================ */
.segments {
  margin-top: 3.2rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--hair-soft);
  border: 1px solid var(--hair-soft);
}
.segment {
  background: rgba(12,10,9,.66);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.segment:hover { background: rgba(20,16,13,.78); }
.segment h3 {
  font-family: var(--font-body);
  font-size: 1.18rem; font-weight: 700; letter-spacing: .01em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: .7rem;
}
.segment h3 .dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex: none; transform: translateY(-3px); }
.segment p { margin-top: .8rem; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
/* a segment that spans the full row (keeps the grid even when there's an odd count) */
.segment-wide { grid-column: 1 / -1; }
.section-cta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ============================================================
   SERVICES — "Welcome to the Machine"
   ============================================================ */
.services {
  margin-top: 3.4rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hair-soft);
  border: 1px solid var(--hair-soft);
}
.service {
  position: relative;
  background: rgba(11,9,8,.7);
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
  overflow: hidden;
  transition: background .35s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--oxblood-2));
  transition: width .45s var(--ease);
}
.service:hover { background: rgba(20,16,13,.82); }
.service:hover::after { width: 100%; }
.service .num {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.05rem; color: var(--gold); opacity: .8;
}
.service h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; line-height: 1.1; letter-spacing: -.01em;
  margin-top: .5rem; color: var(--ink);
}
.service p { margin-top: .9rem; color: var(--ink-2); font-size: .96rem; line-height: 1.6; }
/* Accordion header/panel (markup built by main.js). Desktop: header is static
   (number over title, exactly as before) and the panel always shows. Phones:
   header becomes a tap row with a chevron and the panel collapses. */
/* Shared accordion mechanics (Services + Who We Help). Desktop: header static,
   panel always shown. Phones: header is a tap row with chevron + one-line
   teaser, panel collapses. Built by main.js initAccordion(). */
.acc-head {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: default;
}
.acc-chev { display: none; }
.acc-teaser { display: none; }
@media (max-width: 720px) {
  .acc-head { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; cursor: pointer; padding: .15rem 0; }
  .acc-head h3 { margin-top: 0; flex: 1; }
  .acc-chev { display: inline-flex; flex: none; color: var(--gold); transition: transform .3s var(--ease); }
  .acc-chev svg { width: 20px; height: 20px; display: block; }
  .open .acc-chev { transform: rotate(180deg); }
  .acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  /* one-line preview under the title, only while collapsed */
  .acc-teaser {
    display: block; flex-basis: 100%; margin-top: .3rem;
    color: var(--ink-3); font-size: .9rem; line-height: 1.4;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .open .acc-teaser { display: none; }
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.founder-body { max-width: 64ch; }
.founder-body p { color: var(--ink-2); margin-top: 1.2rem; font-size: 1.05rem; }
.founder-body p.opener { color: var(--ink); font-size: clamp(1.1rem,1.8vw,1.3rem); line-height: 1.6; }
.pullquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.22; color: var(--ink);
  margin: 2.2rem 0; padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
}
.pullquote .accent { color: var(--gold-2); }

.arc { margin-top: 2.6rem; border-top: 1px solid var(--hair); }
.arc li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.4rem; align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px solid var(--hair-soft);
}
.arc .role { font-family: var(--font-display); font-size: 1.18rem; color: var(--gold-2); white-space: nowrap; }
.arc .role-desc { color: var(--ink-2); font-size: .98rem; }

.signature {
  margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .4rem 1.4rem;
}
.signature .name {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.8rem); color: var(--ink); line-height: 1;
}
.signature .title { color: var(--ink-3); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; }
.signature .ln {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .88rem; font-weight: 600; letter-spacing: .03em;
  margin-left: auto; transition: color .25s var(--ease);
}
.signature .ln:hover { color: var(--gold-2); }
.signature .ln svg { width: 18px; height: 18px; }

/* ============================================================
   PHILOSOPHY — "Calm is a skill"
   ============================================================ */
.philosophy-intro { max-width: 64ch; margin-inline: auto; text-align: center; }
.philosophy-intro p { color: var(--ink); font-size: clamp(1.1rem,1.8vw,1.3rem); margin-top: 1.3rem; line-height: 1.6; }
.philosophy-intro p strong { color: var(--gold-2); font-weight: 600; }

/* maxims as a staggered, editorial manifesto — italic statements that alternate
   side to side for fluidity, each marked by a short gold rule */
.maxims {
  margin-top: 3.6rem;
  display: flex; flex-direction: column; gap: 2.4rem;
  max-width: 900px; margin-inline: auto;
}
.maxim { max-width: 44ch; }
.maxim::before { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); opacity: .85; margin-bottom: 1rem; }
.maxim p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.32; color: var(--ink);
}
.maxim:nth-child(even) { margin-left: auto; text-align: right; }
.maxim:nth-child(even)::before { margin-left: auto; }
#philosophy .closing-line { margin-inline: auto; text-align: center; }
@media (max-width: 720px) {
  /* straighten to a simple in-order stack on phones */
  .maxims { gap: 1.8rem; max-width: 100%; }
  .maxim, .maxim:nth-child(even) { max-width: 100%; margin-left: 0; text-align: left; }
  .maxim:nth-child(even)::before { margin-left: 0; }
  .maxim p { font-size: 1.2rem; }
}
.closing-line {
  /* sit the closing quote equidistant from the text above and the section
     bottom — the bottom gap is var(--section-y) (the band's padding), so match it */
  margin-top: var(--section-y); max-width: 56ch;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--ink);
}
.closing-line .accent { color: var(--gold-2); }

/* ============================================================
   FREE FIT CALL
   ============================================================ */
.fitcall-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.fitcall-copy .lead { margin-top: 0; }
.fitcall-note {
  margin-top: 1.5rem;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.4;
  color: var(--gold-2); max-width: 50ch;
}
.fitcall-kicker {
  display: block; margin-bottom: 1rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.4rem; color: var(--ink); line-height: 1.1;
}
.fitcall-kicker .free { color: var(--gold); }
/* Calendly embed, framed to match the dark aesthetic */
.fitcall-book .calendly-inline-widget {
  border: 1px solid var(--hair);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 820px) {
  .fitcall-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.finale { text-align: center; }
.finale .container { display: flex; flex-direction: column; align-items: center; }
.finale .lead { max-width: 62ch; text-align: center; }
.finale .lead strong { color: var(--ink); font-weight: 600; }
.finale .section-title { max-width: 22ch; text-align: center; }
.finale-cta { margin-top: 2.6rem; }
.finale .micro { margin-top: 1.4rem; color: var(--ink-3); font-size: .85rem; letter-spacing: .04em; }

/* ============================================================
   GUEST LIST
   ============================================================ */
/* Guest List rides on the (grayscale) TCCG6 console photo. We warm it toward
   the brand with an oxblood→gold duotone wash, then darken enough that the
   form and copy stay crisp. */
.guest { border-top: 1px solid var(--hair); }
.guest::before {
  display: block;
  background:
    linear-gradient(115deg, rgba(110,31,35,.40) 0%, rgba(110,31,35,.10) 38%, transparent 60%),
    radial-gradient(90% 80% at 78% 22%, rgba(201,163,107,.16), transparent 58%),
    linear-gradient(180deg, rgba(8,7,6,.74), rgba(8,7,6,.66) 45%, rgba(8,7,6,.84));
  mix-blend-mode: normal;
}
.guest-form {
  background: rgba(10,9,8,.55);
  border: 1px solid var(--hair);
  border-radius: 5px;
  padding: clamp(1.4rem, 3vw, 2rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* "Get in Touch": newsletter + contact form, side by side */
.contact-grid {
  margin-top: 2.8rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.contact-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.1; color: var(--ink); }
.contact-blurb { color: var(--ink-2); margin: .6rem 0 1.4rem; max-width: 44ch; font-size: .98rem; }
.guest-form textarea {
  background: rgba(245,242,236,.04);
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: .85rem 1rem;
  color: var(--ink); font: inherit;
  resize: vertical; min-height: 112px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.guest-form textarea::placeholder { color: var(--ink-3); opacity: .7; }
.guest-form textarea:focus { outline: none; border-color: var(--gold); background: rgba(201,163,107,.06); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.guest-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input {
  background: rgba(245,242,236,.04);
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: .85rem 1rem; min-height: 50px;
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder { color: var(--ink-3); opacity: .7; }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(201,163,107,.06); }
.field input:user-invalid { border-color: var(--oxblood-2); }
.guest-form button { margin-top: .4rem; width: 100%; }
.form-status { min-height: 1.2rem; font-size: .9rem; color: var(--gold-2); }
.form-status.error { color: var(--oxblood-2); }
.form-note { color: var(--ink-3); font-size: .78rem; margin-top: .2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: var(--z-content); background: var(--bg); border-top: 1px solid var(--hair); padding-block: clamp(3rem,6vw,4.5rem); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; align-items: flex-start; }
.footer-brand img { width: 200px; }
.footer-tag { color: var(--ink-3); margin-top: 1.2rem; max-width: 34ch; font-size: .92rem; font-style: italic; font-family: var(--font-display); }
.footer-links { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer-col h4 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); padding: .3rem 0; font-size: .95rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-2); }
.footer-col svg { width: 16px; height: 16px; flex: none; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hair-soft); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; color: var(--ink-3); font-size: .8rem; letter-spacing: .03em; }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: var(--ink-3); transition: color .25s var(--ease); }
.footer-legal a:hover { color: var(--gold-2); }

/* ============================================================
   SUB-PAGES (/book, /terms, /privacy)
   ============================================================ */
.subpage-main { padding-top: clamp(6rem, 12vh, 9rem); }
/* booking cards */
.book-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.book-card { position: relative; display: flex; flex-direction: column; gap: .55rem; background: rgba(12,10,9,.6); border: 1px solid var(--hair); border-radius: 6px; padding: clamp(1.6rem, 2.6vw, 2.2rem); }
.book-card.featured { border-color: var(--gold); box-shadow: 0 30px 70px -42px rgba(201,163,107,.5); }
.book-flag { position: absolute; top: -.7rem; right: 1.2rem; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1A1206; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 3px; }
.book-kicker { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.book-price { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.book-price .amt { color: var(--gold); font-size: 1rem; font-weight: 600; }
.book-card p { color: var(--ink-2); font-size: .98rem; line-height: 1.6; flex: 1; margin-top: .3rem; }
.book-btn { margin-top: 1rem; width: 100%; }
.book-flag-soon { background: rgba(245,242,236,.09); color: var(--ink-2); }
.book-btn-soon { background: rgba(245,242,236,.04); color: var(--ink-3); border-color: var(--hair); border-style: dashed; cursor: not-allowed; box-shadow: none; }
.book-btn-soon:hover { transform: none; box-shadow: none; border-color: var(--hair); }
.book-refund { margin-top: 2.8rem; max-width: 72ch; color: var(--ink-3); font-size: .9rem; line-height: 1.65; }
.book-refund a { color: var(--gold); }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }
/* legal prose */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ink); margin-top: 2.4rem; }
.legal p { color: var(--ink-2); margin-top: 1rem; line-height: 1.7; }
.legal p em { color: var(--ink-3); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { color: var(--ink-2); margin: 1rem 0 0; padding-left: 1.25rem; line-height: 1.7; }
.legal li { margin-top: .5rem; }
.legal li::marker { color: var(--gold); }
.legal a { color: var(--gold); }
.legal-meta { color: var(--ink-3); font-size: .9rem; margin-top: 1.2rem; }
.legal-meta strong { color: var(--gold-2); font-weight: 600; }

/* nav dropdowns (desktop hover/focus; the panel links live inside .nav-links so
   they're in the DOM on every viewport for crawlers, just hidden on mobile) */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-panel {
  position: absolute; top: 100%; left: 0;
  display: flex; flex-direction: column;
  min-width: 232px; padding: .5rem 0; margin-top: .2rem;
  background: rgba(10,9,8,.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--hair); border-radius: 6px;
  box-shadow: 0 26px 60px -30px rgba(0,0,0,.9);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  z-index: 5;
}
.nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-panel a { padding: .5rem 1.1rem; font-size: .85rem; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.nav-dd-panel a::after { display: none; }
.nav-dd-panel a:hover { color: var(--gold-2); background: rgba(201,163,107,.08); }

/* topic (SEO) pages */
.topic { max-width: 820px; }
.topic .lead { max-width: 64ch; }
.topic-body { margin-top: .5rem; }
.topic-body h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.85rem); color: var(--ink); line-height: 1.15; margin-top: 2.8rem; }
.topic-body p { color: var(--ink-2); margin-top: 1.05rem; line-height: 1.75; max-width: 68ch; }
.topic-body p strong { color: var(--ink); font-weight: 600; }
.topic-body ul { color: var(--ink-2); margin: 1.05rem 0 0; padding-left: 1.25rem; line-height: 1.75; max-width: 68ch; }
.topic-body li { margin-top: .5rem; }
.topic-body li::marker { color: var(--gold); }
.cta-alt { margin-top: 1rem; font-size: .92rem; color: var(--ink-3); }
.cta-alt a { color: var(--gold); }
.crumbs { font-size: .76rem; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 1.4rem; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { opacity: .5; margin: 0 .25rem; }
.topic-note { margin-top: 1.8rem; max-width: 60ch; color: var(--ink-2); font-size: 1rem; line-height: 1.6; padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold); background: rgba(201,163,107,.06); border-radius: 0 4px 4px 0; }
.topic-note strong { color: var(--gold-2); }
.related { margin-top: var(--section-y); border-top: 1px solid var(--hair); padding-top: 2rem; }
.related-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem,2.2vw,1.6rem); color: var(--ink); margin-bottom: 1.2rem; }
.related-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.related-link { display: inline-flex; padding: .5rem .9rem; border: 1px solid var(--hair); border-radius: 999px; font-size: .88rem; color: var(--ink-2); transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.related-link:hover { color: var(--gold-2); border-color: var(--gold); background: rgba(201,163,107,.06); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav .btn-ghost { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .segments { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .maxims { grid-template-columns: 1fr; gap: 1.2rem; }
  .arc li { grid-template-columns: 1fr; gap: .3rem; padding: .9rem 0; }
  .arc .role { white-space: normal; }
  .signature .ln { margin-left: 0; width: 100%; margin-top: .6rem; }
  .hero { padding-top: 5.5rem; padding-bottom: 3rem; }
  .hero-brand img { width: clamp(210px, 60vw, 360px); }
  .hero-ctas { gap: .7rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .footer-grid { flex-direction: column; gap: 2rem; }
}
@media (max-height: 740px) {
  .hero-scroll { display: none; }
}
@media (max-width: 420px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  /* Keep the slow scene dissolve. A soft opacity crossfade isn't the kind of
     movement reduced-motion guards against — and a hard cut between full-frame
     photos looks broken, which is worse. */
  .scene { transition: opacity .6s linear !important; transform: none !important; }
  /* Drop the continuous/looping motion: sweeping beams, the floating logo and
     its glow, the scroll-cue pulse. */
  .beam, .hero-brand img, .hero-brand::before, .hero-scroll .line { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* slightly calmer fx on small screens to protect performance/battery */
@media (max-width: 720px) {
  .beam.b2, .beam.b4 { display: none; }
  .grain { opacity: .03; }
}
