/* ==========================================================================
   Rehab2Fitness — design system
   Navy / gold / cream · Cormorant Garamond + DM Sans
   ========================================================================== */

:root {
  --navy-900: #090d19;
  --navy-800: #0b1020;
  --navy-700: #0e1527;
  --navy-600: #121b31;
  --line: rgba(201, 168, 76, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #c9a84c;
  --gold-soft: #d9bd6e;
  --cream: #f3efe6;
  --cream-80: rgba(243, 239, 230, 0.8);
  --muted: #9aa3b5;
  --muted-2: #6f7889;
  --teal: #7fb3b3;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 160px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-800);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(201, 168, 76, 0.35); color: var(--cream); }

/* ---------- Typography ---------- */
.serif { font-family: var(--serif); }
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--cream);
}
.display em, .accent { font-style: italic; color: var(--gold); font-weight: 400; }
.display .teal { font-style: italic; color: var(--teal); }

.h-xl { font-size: clamp(44px, 6.4vw, 84px); }
.h-xl--long { font-size: clamp(38px, 5.2vw, 68px); }
.h-lg { font-size: clamp(38px, 4.6vw, 60px); }
.h-md { font-size: clamp(28px, 3.1vw, 40px); }
.h-sm { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow--muted { color: var(--muted-2); }
.eyebrow--line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--line::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.lede {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.75;
  color: var(--cream-80);
  max-width: 62ch;
}
.body { color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.body strong { color: var(--cream); font-weight: 500; }
.small { font-size: 13px; color: var(--muted-2); }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--alt { background: var(--navy-700); }
.section--deep { background: var(--navy-900); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.divider { border-top: 1px solid var(--line-soft); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--reverse { grid-template-columns: 1fr 1fr; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }

.split > * { min-width: 0; }
@media (max-width: 900px) {
  .split, .split--even, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--gold);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn--ghost { color: var(--gold); background: transparent; }
.btn--ghost:hover { background: rgba(201, 168, 76, 0.1); transform: translateY(-1px); }
.btn--sm { padding: 11px 20px; font-size: 10.5px; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; line-height: 1.5; } }
.btn .arrow { font-size: 13px; line-height: 1; transform: translateY(-1px); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link:hover { border-color: var(--gold); gap: 12px; }
.link .arrow { font-size: 12px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--sans); font-size: 15px; letter-spacing: 0.14em; color: var(--cream); font-weight: 500; }
.brand__name b { font-weight: 500; color: var(--gold); }
.brand__tag { font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }
.brand__logo { height: 46px; width: auto; display: block; }
.footer .brand__logo { height: 54px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; transition: color .3s var(--ease); position: relative; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--cream); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--gold); }
.nav__cta { margin-left: 8px; }
.nav__ext { color: var(--gold); font-size: 9px; margin-left: 2px; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--cream); position: relative; transition: transform .3s var(--ease), background .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 84px; left: 0; right: 0; bottom: auto; z-index: 49;
    height: calc(100vh - 84px); height: calc(100dvh - 84px); overflow-y: auto;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 40px var(--gutter); gap: 28px;
    background: var(--navy-900);
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav-open .nav { transform: translateX(0); }
  .nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
  .nav-open { overflow: hidden; }
  .nav__link { font-size: 14px; }
  .nav__cta { margin: 12px 0 0; }
  .brand__tag { display: none; }
  .brand__logo { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(96px, 13vw, 176px) clamp(80px, 10vw, 140px);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(201, 168, 76, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(127, 179, 179, 0.06), transparent 60%);
}
.hero__inner { position: relative; max-width: 860px; margin-inline: auto; }
.hero .eyebrow { margin-bottom: 28px; display: block; }
.hero .display { margin-bottom: 28px; }
.hero .lede { margin-inline: auto; text-align: center; margin-bottom: 40px; max-width: 56ch; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero__meta { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); }
.hero__meta span + span::before { content: "|"; margin-right: 22px; color: var(--line); }

.hero--page { text-align: left; padding-block: clamp(80px, 10vw, 140px) clamp(64px, 8vw, 110px); }
.hero--page .hero__inner { margin-inline: 0; max-width: 900px; }
.hero--page .lede { margin-inline: 0; text-align: left; }
.hero--page .hero__actions { justify-content: flex-start; }

/* ---------- Hero with image (homepage) ---------- */
.hero--image { text-align: left; background: #000b1a; min-height: min(78vh, 720px); display: flex; align-items: center; padding-block: clamp(80px, 10vw, 128px) clamp(72px, 8vw, 112px); }
.hero--image::before { display: none; }
.hero__media { position: absolute; inset: 0; background: url("../assets/hero-brain.jpg") no-repeat right 3% center / auto 70%; }
.hero__media::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #000b1a 0%, #000b1a 42%, rgba(0,11,26,.7) 56%, rgba(0,11,26,.12) 68%, rgba(0,11,26,0) 100%); }
.hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(180deg, rgba(11,16,32,0), var(--navy-800)); }
.hero--image .hero__inner { position: relative; }
.hero--image .hero__copy { max-width: 640px; }
.hero--image .eyebrow { white-space: nowrap; }
.hero--image .lede { margin-inline: 0; text-align: left; }
.hero--image .hero__actions { justify-content: flex-start; flex-wrap: nowrap; }
.hero--image .hero__meta { justify-content: flex-start; font-size: 11.5px; color: var(--cream-80); }
.hero--image .hero__meta span + span::before { color: var(--gold); opacity: .6; }
.hero--image .eyebrow { font-size: 12.5px; color: var(--gold-soft); }
@media (max-width: 900px) {
  .hero--image { min-height: 0; display: block; padding-top: 0; }
  .hero__media { position: relative; inset: auto; height: 88vw; max-height: 460px; background-image: url("../assets/hero-brain-m.jpg"); background-position: center center; background-size: contain; margin-top: 12px; margin-bottom: 28px; }
  .hero__media::before { background: linear-gradient(180deg, rgba(0,11,26,0) 55%, #000b1a 100%); }
  .hero__media::after { display: none; }
  .hero--image .hero__copy { max-width: none; }
  .hero--image .hero__actions { flex-wrap: wrap; }
  .hero--image .eyebrow { white-space: normal; }
  .hero--image .hero__meta { flex-direction: column; gap: 8px; }
  .hero--image .hero__meta span + span::before { display: none; }
}
/* Page-specific hero images (same single file used on desktop and mobile) */
.hero__media--approach { background-image: url("../assets/approach-neuron.jpg"); background-size: auto 82%; background-position: right 6% center; }
.hero__media--pain { background-image: url("../assets/pain-brainstem.jpg"); background-size: auto 82%; background-position: right 6% center; }
@media (max-width: 900px) {
  .hero__media--approach { background-image: url("../assets/approach-neuron.jpg"); aspect-ratio: 508 / 537; }
  .hero__media--pain { background-image: url("../assets/pain-brainstem.jpg"); aspect-ratio: 522 / 487; }
  .hero__media--approach, .hero__media--pain { height: auto; width: 100%; max-height: 420px; margin-top: 0; margin-bottom: 20px; background-size: contain; background-position: center; }
}

/* ---------- Pillar strip ---------- */
.pillars { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--navy-900); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar {
  padding: 26px 24px; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  border-left: 1px solid var(--line-soft); display: flex; gap: 12px; align-items: center; transition: color .3s var(--ease), background .3s var(--ease);
}
.pillar:first-child { border-left: 0; }
.pillar:hover { color: var(--cream); background: rgba(201, 168, 76, 0.04); }
.pillar b { color: var(--gold); font-weight: 500; }
@media (max-width: 900px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } .pillar:nth-child(3) { border-left: 0; } .pillar { border-top: 1px solid var(--line-soft); } .pillar:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 600px) { .hero .display br { display: none; } }
@media (max-width: 520px) { .pillars__grid { grid-template-columns: 1fr; } .pillar { border-left: 0; border-top: 1px solid var(--line-soft); } .pillar:first-child { border-top: 0; } }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.card {
  padding: clamp(28px, 3.6vw, 48px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255, 255, 255, 0.012);
  transition: background .4s var(--ease);
  position: relative;
}
.card:hover { background: rgba(201, 168, 76, 0.045); }
.grid-2 .card:nth-child(2n) { border-right: 0; }
.grid-2 .card:nth-last-child(-n+2) { border-bottom: 0; }
.grid-3 .card:nth-child(3n) { border-right: 0; }
.grid-3 .card:nth-last-child(-n+3) { border-bottom: 0; }
.card__kicker { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.card__kicker--muted { color: var(--muted-2); }
.card__title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--cream); }
.card__body { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.card__body strong { color: var(--cream); font-weight: 500; }
.card__arrow { margin-top: auto; padding-top: 10px; color: var(--gold); font-size: 16px; transition: transform .3s var(--ease); }
.card:hover .card__arrow { transform: translate(3px, -3px); }
.card__num { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--gold); line-height: 1; }
.card--link { cursor: pointer; }
.card--quote { gap: 10px; }
.card__qmark { font-family: var(--serif); font-size: 56px; line-height: 0.5; color: var(--gold); display: block; margin: 14px 0 8px; }
.card__quote { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.4; color: var(--cream); }
.card__cite { margin-top: auto; padding-top: 14px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; line-height: 1.7; }
.card__cite span { color: var(--muted-2); }
a.card { color: inherit; }
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 .card, .grid-3 .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-2 .card:last-child, .grid-3 .card:last-child { border-bottom: 0; }
}

/* ---------- Inline proof excerpts ---------- */
.proof { position: relative; margin-top: 40px; padding: 6px 0 0 30px; border-left: 1px solid var(--gold); max-width: 56ch; }
.proof__q { font-family: var(--serif); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.4; color: var(--cream); font-style: italic; margin: 0 0 12px; }
.proof__q::before { content: "“"; color: var(--gold); margin-right: 2px; }
.proof__q::after { content: "”"; color: var(--gold); margin-left: 2px; }
.proof__cite { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.proof__cite span { color: var(--muted-2); }
.proof--tight { margin-top: 32px; }
.proof .link { margin-top: 16px; }

/* ---------- Featured stories ---------- */
.story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.story:last-child { border-bottom: 1px solid var(--line); }
.story__head .eyebrow { display: block; margin-bottom: 14px; }
.story__title { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; color: var(--cream); }
.story__title em { font-style: italic; color: var(--gold); }
.story__cite { margin-top: 22px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; line-height: 1.7; }
.story__cite span { color: var(--muted-2); }
.story__quote { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--cream); }
.story__quote p { margin-bottom: 1em; }
.story__quote p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 20px; } }

/* Homepage featured trio */
.card--story .card__title { font-size: clamp(22px, 1.9vw, 26px); }
.card--story .card__quote { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--cream-80); }
.card--story .card__cite { padding-top: 18px; }

/* ---------- Excerpt wall ---------- */
.excerpts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.excerpt { background: var(--navy-900); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 16px; transition: background .4s var(--ease); }
.excerpt:hover { background: rgba(201, 168, 76, 0.05); }
.excerpt__q { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--cream); margin: 0; }
.excerpt__cite { margin-top: auto; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; line-height: 1.7; display: flex; flex-direction: column; gap: 2px; }
.excerpt__src { color: var(--muted-2); letter-spacing: .14em; }
@media (max-width: 900px) { .excerpts { grid-template-columns: repeat(2, 1fr); } .excerpt:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .excerpts { grid-template-columns: 1fr; } }

/* ---------- Perspective / text blocks ---------- */
.aside-note { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); line-height: 1.9; }
.list { display: grid; gap: 14px; }
.list li { position: relative; padding-left: 34px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 1px; background: var(--gold); }
.list li strong { color: var(--cream); font-weight: 500; }

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold); line-height: 1; }
.step__title { font-family: var(--serif); font-size: 26px; color: var(--cream); margin-bottom: 8px; }
.step__body { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 60ch; }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Testimonial ---------- */
.quote { position: relative; }
.quote__mark { font-family: var(--serif); font-size: 72px; line-height: 0.6; color: var(--gold); margin: 26px 0 30px; display: block; }
.quote__text { font-family: var(--serif); font-size: clamp(28px, 3.3vw, 44px); line-height: 1.2; color: var(--cream); margin-bottom: 28px; max-width: 20ch; }
.quote__text--long { font-size: clamp(24px, 2.6vw, 34px); max-width: 26ch; }
.quote__cite { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.quote__cite span { color: var(--muted-2); }
.quote__aside { border-left: 1px solid var(--line); padding-left: 28px; align-self: center; }
.quote__aside p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 18px; }

/* ---------- Practitioner ---------- */
.portrait { max-width: 480px; width: 100%; border: 1px solid var(--line); background: var(--navy-600); }
.portrait__img { aspect-ratio: 4 / 5; overflow: hidden; }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.portrait__strip { border-top: 1px solid var(--line); padding: 26px 30px 28px; background: var(--navy-900); display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: end; }
.portrait__strip .portrait__top { grid-column: 1 / -1; margin-bottom: 4px; }
.portrait__strip .portrait__bottom { grid-column: 1 / -1; margin-top: 6px; }
.portrait__top { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.portrait__top::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.portrait__stat { display: contents; }
.portrait__stat .num { font-family: var(--serif); font-size: 64px; line-height: 0.9; color: var(--cream); }
.portrait__stat .num b { color: var(--gold); font-weight: 400; }
.portrait__stat .cap { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-80); line-height: 1.6; padding-bottom: 4px; }
.portrait__bottom { display: block; margin-top: 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }

.creds { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin: 34px 0 30px; }
.cred { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred:nth-child(2n) { border-right: 0; }
.cred:nth-last-child(-n+2) { border-bottom: 0; }
.cred__title { font-family: var(--serif); font-size: 22px; color: var(--cream); line-height: 1.1; margin-bottom: 6px; }
.cred__sub { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); line-height: 1.6; }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } .cred { border-right: 0; } .cred:nth-last-child(2) { border-bottom: 1px solid var(--line); } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 20% 50%, rgba(201,168,76,.08), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.cta__inner .body { max-width: 38ch; margin-bottom: 26px; }
@media (max-width: 820px) { .cta__inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- The goal ---------- */
.goal { position: relative; overflow: hidden; background: var(--navy-900); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding-block: clamp(110px, 14vw, 190px); }
.goal::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1000px 520px at 50% 100%, rgba(201,168,76,.12), transparent 62%), radial-gradient(700px 400px at 15% 0%, rgba(127,179,179,.06), transparent 60%); }
.goal__inner { position: relative; max-width: 900px; text-align: center; }
.goal__inner .eyebrow--line { justify-content: center; margin-bottom: 28px; }
.goal__inner .eyebrow--line::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.goal__inner .display { margin-bottom: 36px; }
.goal__body { max-width: 60ch; margin-inline: auto; }
.goal__body p { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; color: var(--cream-80); margin-bottom: 1em; }
.goal__body p:last-child { margin-bottom: 0; }

.spectrum { position: relative; }
.spectrum::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 72px; background: linear-gradient(180deg, transparent, var(--gold)); transform: translateX(-50%); }
.spectrum__links { display: flex; gap: 28px; flex-wrap: wrap; }
.goal__tick { position: absolute; left: 50%; top: 0; width: 1px; height: 72px; background: linear-gradient(180deg, var(--gold), transparent); transform: translateX(-50%); }
.goal__key { color: var(--cream) !important; font-style: italic; }

/* ---------- Epigraph (Lewit) ---------- */
.epigraph { margin: 40px 0 0; padding: 0; max-width: 56ch; }
.epigraph__q { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; color: var(--cream); margin: 0 0 12px; }
.epigraph__q::before { content: "“"; color: var(--gold); } .epigraph__q::after { content: "”"; color: var(--gold); }
.epigraph__cite { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.epigraph + .proof { margin-top: 44px; }

/* ---------- Spectrum closing ---------- */
.spectrum__close { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); max-width: 760px; }
.spectrum__close .lede { margin-top: 18px; }

/* ---------- Goal triad ---------- */
.goal__triad { margin: 40px 0 0; display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: var(--gold); }
.goal__triad span { position: relative; }
.goal__triad span + span::before { content: ""; position: absolute; left: calc(-1 * clamp(9px, 1.5vw, 20px)); top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); opacity: .7; }
@media (max-width: 560px) { .goal__triad { flex-direction: column; gap: 8px; align-items: center; } .goal__triad span + span::before { display: none; } }

/* ---------- IPO framework ---------- */
.ipo { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0 clamp(16px, 2.5vw, 36px); align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 3.5vw, 44px) 0; }
.ipo__cell { display: flex; flex-direction: column; gap: 10px; }
.ipo__label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.ipo__title { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; color: var(--cream); }
.ipo__body { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0; }
.ipo__arrow { font-family: var(--serif); font-size: 34px; color: var(--gold); align-self: center; line-height: 1; opacity: .8; }
.ipo__note { margin-top: 28px; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--cream); font-style: italic; max-width: 40ch; }
@media (max-width: 820px) {
  .ipo { grid-template-columns: 1fr; gap: 22px; }
  .ipo__arrow { transform: rotate(90deg); justify-self: start; margin-left: 2px; font-size: 28px; }
}

/* ---------- Services: subsections, framework, golf note ---------- */
.subsection { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.subsection__title { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); color: var(--cream); margin-bottom: 12px; }
.fw .card { gap: 12px; }
.fw .card__body { font-size: 14px; }
.fw__label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-top: 10px; }
.fw__list { display: grid; gap: 7px; }
.fw__list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.fw__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--gold); }
.fw__list a { color: var(--cream-80); border-bottom: 1px solid var(--line); } .fw__list a:hover { color: var(--gold); border-color: var(--gold); }
.fw__close { margin-top: 10px; color: var(--cream-80) !important; }
.fw__card--focus { background: rgba(201,168,76,.06); border-top: 2px solid var(--gold); margin-top: -1px; position: relative; }
.fw__card--focus:hover { background: rgba(201,168,76,.08); }
.fw__focus { position: absolute; top: 14px; right: 18px; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.golfnote__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.golfnote .body { max-width: 52ch; }
@media (max-width: 820px) { .golfnote__inner { flex-direction: column; align-items: flex-start; } .fw__card--focus { border-top: 2px solid var(--gold); } }

.pillars__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pillars__grid--3 { grid-template-columns: 1fr; } .pillars__grid--3 .pillar { border-left: 0; border-top: 1px solid var(--line-soft); } .pillars__grid--3 .pillar:first-child { border-top: 0; } }
.fw__golf { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--cream-80) !important; }
.fw__golf a { color: var(--gold); border-bottom: 1px solid var(--line); } .fw__golf a:hover { border-color: var(--gold); }

/* ---------- Energy for Life ---------- */
.efl { background: var(--navy-700); border-top: 1px solid var(--line-soft); }
.efl__sub { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.5vw, 22px); color: var(--gold); margin-top: 14px; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); color: var(--cream); line-height: 1.25;
}
.faq__q .plus { width: 28px; height: 28px; flex: none; position: relative; border: 1px solid var(--line); border-radius: 50%; transition: transform .35s var(--ease), border-color .35s var(--ease); }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold); transform: translate(-50%, -50%); }
.faq__q .plus::before { width: 11px; height: 1px; }
.faq__q .plus::after { width: 1px; height: 11px; transition: opacity .3s var(--ease); }
.faq__item[open] .plus { transform: rotate(180deg); border-color: var(--gold); }
.faq__item[open] .plus::after { opacity: 0; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q { list-style: none; cursor: pointer; }
.faq__a { padding: 0 0 28px; color: var(--muted); font-size: 15.5px; line-height: 1.8; max-width: 68ch; }
.faq__a strong { color: var(--cream); font-weight: 500; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255,255,255,.025); border: 1px solid var(--line); color: var(--cream);
  padding: 14px 16px; font: inherit; font-size: 15px; outline: none; border-radius: 0;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: rgba(201,168,76,.05); }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--navy-700); }
.form__note { font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }
.hidden { display: none !important; }

.contact-card { border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 40px); display: grid; gap: 22px; }
.contact-card dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 6px; }
.contact-card dd { margin: 0; color: var(--cream-80); font-size: 15px; line-height: 1.7; }
.contact-card dd a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); border-top: 1px solid var(--line-soft); padding-block: clamp(56px, 7vw, 88px) 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__about { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 34ch; margin-top: 20px; }
.footer__loc { font-size: 13px; color: var(--muted-2); margin-top: 14px; }
.footer__head { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 500; }
.footer__list { display: grid; gap: 11px; }
.footer__list a { color: var(--muted); font-size: 14px; transition: color .3s var(--ease); }
.footer__list a:hover { color: var(--cream); }
.footer__list a.ext::after { content: " ↗"; color: var(--gold); font-size: 11px; }
.footer__fine { font-size: 11.5px; color: var(--muted-2); margin-top: 18px; line-height: 1.6; }
.footer__bar { border-top: 1px solid var(--line-soft); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; color: var(--muted-2); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.max-60 { max-width: 60ch; }
.max-48 { max-width: 48ch; }
.center { text-align: center; }
.stack { display: grid; gap: 18px; }
.ext::after { content: " ↗"; color: var(--gold); font-size: .8em; }
