/* =====================================================================
   PERFORMANCE CORNER NUTRITION
   Light / Bone + Gold design system (editorial, photo-optional).
   Display: Barlow Condensed   |   Body: Inter
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:       #f4f1ea;   /* bone page canvas */
  --bg-2:     #ece7dc;   /* alt sections */
  --surface:  #fffdf8;   /* cards / panels (warm white) */
  --surface-2:#faf7f0;

  --ink:   #1b1a17;   /* charcoal primary text */
  --ink-2: #4a463d;   /* secondary */
  --ink-3: #7d7869;   /* muted */

  --gold:      #a9791f;   /* accent (graphics, large text, borders) */
  --gold-deep: #7c5510;   /* darker gold for small text (AA on bone) */
  --gold-bright:#c79a3a;
  --gold-grad: linear-gradient(100deg, #c79a3a, #a9791f 70%);
  --gold-soft: rgba(169,121,31,.10);
  --gold-line: rgba(169,121,31,.34);

  --line:    rgba(27,26,23,.11);
  --line-2:  rgba(27,26,23,.20);

  /* charcoal contrast blocks (footer, CTA, teaser) */
  --charcoal:  #1b1a17;
  --charcoal-2:#13120f;
  --on-dark:    #f4f1ea;
  --on-dark-2:  #b8b2a4;
  --gold-on-dark:#d9b25a;

  /* signal colors */
  --green: #2f8f4e;
  --warn:  #b5821b;
  --red:   #c2362b;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(27,26,23,.05);
  --shadow:    0 18px 44px -22px rgba(27,26,23,.30);
  --shadow-gold: 0 22px 50px -24px rgba(169,121,31,.45);

  --wrap: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700; line-height: .98; letter-spacing: .01em;
  color: var(--ink); margin: 0 0 .5em;
}
h1 { font-size: clamp(3rem, 1.9rem + 6vw, 6.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); text-transform: uppercase; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1rem; }
strong { color: var(--ink); }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }

.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--ink-2); font-size: 1.12rem; margin: 0; }

.gold-text { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 16px 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.18rem;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: var(--pad);
  border-radius: var(--r-sm); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn svg { width: 1.05em; height: 1.05em; }

.btn--gold { background: var(--gold-grad); color: #fff; box-shadow: 0 10px 26px -12px rgba(169,121,31,.6); }
.btn--gold:hover { box-shadow: var(--shadow-gold); color: #fff; }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

.btn--lg { --pad: 19px 38px; font-size: 1.3rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.scrolled {
  background: rgba(244,241,234,.85); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--gold-grad); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.28rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.brand__name span { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.08rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 9px 14px; border-radius: 8px;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--ink); background: rgba(27,26,23,.05); }
.nav__links .btn { margin-left: 10px; --pad: 11px 22px; font-size: 1.04rem; }

.nav__toggle { display: none; width: 46px; height: 46px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); cursor: pointer; padding: 0; }
.nav__toggle svg { width: 24px; height: 24px; margin: 0 auto; }

/* ---------- Hero (graphic, light) ---------- */
.hero {
  position: relative; min-height: auto; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 96px; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(820px 560px at 84% 8%, rgba(169,121,31,.14), transparent 60%),
    linear-gradient(180deg, #fbf9f3 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 72px); align-items: center; position: relative; }
.hero__content { max-width: 640px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: .2em; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.hero .lead { max-width: 54ch; margin-bottom: 34px; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__trust { margin-top: 28px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .95rem; }
.hero__trust b { color: var(--ink); }
.hero__stars { color: var(--gold); letter-spacing: 2px; }

.hero__ghost {
  position: absolute; right: -1%; top: -14%; z-index: 0; pointer-events: none; user-select: none;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 24vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(27,26,23,.06); text-transform: uppercase;
}

.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: 'Barlow Condensed', sans-serif; font-size: .82rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Fight-curve card */
.fightcurve {
  position: relative; z-index: 2; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 22px; box-shadow: var(--shadow);
}
.fightcurve__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fightcurve__head b { font-family: 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; font-size: .92rem; color: var(--ink); }
.fightcurve__legend { font-family: 'Barlow Condensed', sans-serif; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 7px; }
.fightcurve__legend::before { content: ""; width: 16px; height: 2px; background: var(--gold-grad); }
.fightcurve svg { width: 100%; height: auto; display: block; }
.fightcurve__axis { display: flex; justify-content: space-between; margin-top: 12px; padding: 0 2px; }
.fightcurve__axis span { font-family: 'Barlow Condensed', sans-serif; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fightcurve__axis span.peak { color: var(--gold-deep); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .fightcurve { order: 2; max-width: 520px; }
  .hero__ghost { display: none; }
}

/* ---------- Credibility strip ---------- */
.cred { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.cred__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; padding: 26px 24px; }
.cred__label { font-family: 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-size: .82rem; }
.cred__items { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; justify-content: center; }
.cred__item { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 1.12rem; }
.cred__item svg { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Feature split (problem / promise) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split__media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fbf9f3, #efe9dd); border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--gauge { display: grid; place-items: center; padding: 34px 34px 134px; }
.split__media--gauge svg { width: 80%; max-width: 300px; height: auto; }
.stat-float {
  position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 2;
  background: rgba(255,253,248,.92); backdrop-filter: blur(8px); border: 1px solid var(--gold-line);
  border-radius: var(--r); padding: 18px 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm);
}
.stat-float b { font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat-float span { font-size: .92rem; color: var(--ink-2); }

.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; color: var(--ink-2); }
.checklist li strong { color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.checklist li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.svc {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 30px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.svc:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: var(--shadow); }
.svc__num { position: absolute; top: 22px; right: 26px; font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; color: rgba(27,26,23,.06); font-weight: 700; }
.svc__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-deep); }
.svc__icon svg { width: 28px; height: 28px; }
.svc h3 { margin-bottom: .35em; }
.svc p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* ---------- Method / timeline ---------- */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--gold-line), transparent); }
.stage { display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 26px 0; align-items: start; }
.stage__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--gold-line); color: var(--gold-deep); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.5rem; position: relative; z-index: 1; box-shadow: var(--shadow-sm); }
.stage__body { padding-top: 6px; }
.stage__body h3 { font-size: 1.9rem; margin-bottom: .25em; }
.stage__kicker { font-family: 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--gold-deep); display: block; margin-bottom: 6px; }
.stage__body p { color: var(--ink-2); margin: 0; max-width: 60ch; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 34px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); color: var(--gold); line-height: 1; }
.stat span { color: var(--ink-2); font-size: .98rem; }

/* ---------- Tool teaser (charcoal contrast block) ---------- */
.teaser {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--charcoal);
  background: radial-gradient(700px 360px at 88% -10%, rgba(217,178,90,.22), transparent 60%), linear-gradient(160deg, #23211c, var(--charcoal-2));
  padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.teaser h2 { margin-bottom: .25em; color: #fff; }
.teaser .eyebrow { color: var(--gold-on-dark); }
.teaser p { color: var(--on-dark-2); max-width: 48ch; }
.teaser__visual { display: grid; gap: 12px; }
.teaser__row { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1); }
.teaser__row span { color: var(--on-dark-2); font-size: .92rem; }
.teaser__row b { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; color: #fff; }
.teaser__row.match { border-color: var(--gold-line); background: rgba(217,178,90,.12); }
.teaser__row.match b { color: var(--gold-on-dark); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.quote__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { color: var(--ink); font-size: 1.08rem; line-height: 1.6; }
.quote__by { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-grad); color: #fff; display: grid; place-items: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; }
.quote__by b { display: block; color: var(--ink); font-size: .98rem; }
.quote__by span { color: var(--ink-3); font-size: .85rem; }

/* ---------- About / coach ---------- */
.coach { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.coach__portrait { position: relative; aspect-ratio: 3/4; border-radius: var(--r-lg); background: linear-gradient(160deg, #fbf9f3, #ece7dc); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); }
.coach__portrait img { width: 100%; height: 100%; object-fit: cover; }
.coach__portrait .monogram { font-family: 'Barlow Condensed', sans-serif; font-size: 8rem; font-weight: 700; color: rgba(169,121,31,.18); letter-spacing: .04em; }
.coach__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; }
.badge svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan__label { font-family: 'Barlow Condensed', sans-serif; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--ink-3); }
.plan h3 { font-size: 1.9rem; margin: 6px 0 .15em; }
.plan__price { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 2.6rem; color: var(--ink); line-height: 1; margin: 10px 0; }
.plan__price small { font-size: .9rem; color: var(--ink-3); font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: 0; text-transform: none; }
.plan > p { color: var(--ink-2); font-size: .96rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .96rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 3px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan--featured { border-color: var(--gold-line); background: radial-gradient(500px 300px at 50% -20%, rgba(169,121,31,.1), transparent 60%), var(--surface); box-shadow: var(--shadow-gold); }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold-grad); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; padding: 6px 16px; border-radius: 999px; }
.plans__note { text-align: center; color: var(--ink-3); font-size: .92rem; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 44px 24px 0; position: relative; color: var(--ink); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.45rem; letter-spacing: .01em; }
.faq__q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-65%) rotate(45deg); transition: transform .25s var(--ease); }
.faq__item.open .faq__q::after { transform: translateY(-35%) rotate(225deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a p { padding: 0 40px 24px 0; margin: 0; color: var(--ink-2); }

/* ---------- CTA band (charcoal) ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--charcoal);
  background: radial-gradient(600px 400px at 80% -30%, rgba(217,178,90,.2), transparent 60%), linear-gradient(160deg, #23211c, var(--charcoal-2));
  padding: clamp(44px, 6vw, 84px); text-align: center;
}
.cta .eyebrow { color: var(--gold-on-dark); }
.cta h2 { margin-bottom: .25em; color: #fff; }
.cta p { color: var(--on-dark-2); max-width: 56ch; margin: 0 auto 34px; font-size: 1.12rem; }
.cta__row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn--outline { color: #fff; border-color: rgba(255,255,255,.3); }
.cta .btn--outline:hover { border-color: var(--gold-on-dark); color: var(--gold-on-dark); background: rgba(217,178,90,.1); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: calc(var(--nav-h) + 60px) 0 50px; border-bottom: 1px solid var(--line); position: relative; background: linear-gradient(180deg, #fbf9f3, var(--bg)); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 82% 0%, rgba(169,121,31,.1), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 1.8rem + 4vw, 4.6rem); margin-bottom: .2em; }
.page-hero .lead { max-width: 62ch; }
.crumb { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: .9rem; margin-bottom: 18px; }
.crumb a { color: var(--ink-2); }

/* ---------- Calculator ---------- */
.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm); }

.field { margin-bottom: 22px; }
.field > label { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; color: var(--ink); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 15px; min-height: 50px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: auto; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169,121,31,.18); }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237c5510' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px;
}
.hint { font-size: .85rem; color: var(--ink-3); margin-top: 8px; }

.toggle-row { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; }
.seg { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.04rem; letter-spacing: .04em; text-transform: uppercase; padding: 10px 20px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.seg:hover { color: var(--ink); }
.seg.active { background: var(--gold-grad); color: #fff; }

.form-note { font-size: .85rem; color: var(--ink-3); margin: 16px 0 0; }

.result-empty { display: grid; place-items: center; min-height: 300px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 30px; }
.result-block { display: none; }
.result-block.show { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.metric { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.metric .k { color: var(--ink-2); font-size: .96rem; }
.metric .v { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--ink); text-align: right; }

.callout { margin-top: 20px; padding: 17px 19px; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r-sm); color: var(--ink-2); font-size: .96rem; }

.class-pill { display: inline-block; font-size: .85rem; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; margin: 0 7px 8px 0; }
.class-pill.match { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-deep); font-weight: 600; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
a.post-card:hover { transform: translateY(-6px); border-color: var(--gold-line); color: var(--ink); box-shadow: var(--shadow); }
.post-card__top { height: 150px; position: relative; background: radial-gradient(300px 160px at 75% 10%, rgba(217,178,90,.28), transparent 60%), linear-gradient(160deg, #23211c, var(--charcoal-2)); display: flex; align-items: flex-end; padding: 18px; }
.post-card__top span { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--gold-on-dark); background: rgba(217,178,90,.14); border: 1px solid var(--gold-line); padding: 5px 12px; border-radius: 999px; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 1.4rem; margin-bottom: .35em; }
.post-card__body p { color: var(--ink-2); font-size: .96rem; margin: 0 0 18px; }
.post-card .meta { margin-top: auto; font-size: .82rem; color: var(--ink-3); }
.post-card.is-draft { opacity: .58; }

/* ---------- Article ---------- */
.article { padding: calc(var(--nav-h) + 50px) 0 90px; }
.article .wrap { max-width: 760px; }
.article .tag { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--gold-deep); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 6px 13px; border-radius: 999px; margin: 18px 0; }
.article h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem); margin: 0 0 .3em; }
.article h2 { font-size: 2rem; margin: 1.6em 0 .4em; }
.article p { color: var(--ink-2); font-size: 1.13rem; line-height: 1.8; }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; line-height: 1.25; font-weight: 600; color: var(--ink); }

/* ---------- Forms (apply) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-grid .field { margin-bottom: 0; }
.field.full { grid-column: 1 / -1; margin-bottom: 0; }
.checkbox-field { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--ink-2); font-size: .95rem; }
.checkbox-field input { width: 21px; height: 21px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--gold); }
.form-success { display: none; text-align: center; padding: 30px 8px; }
.form-success.show { display: block; }

/* ---------- Footer (charcoal) ---------- */
.footer { background: var(--charcoal-2); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 84px) 0 34px; color: var(--on-dark-2); }
.footer .brand { color: #fff; }
.footer .brand__name b { color: #fff; }
.footer .brand__name span { color: var(--gold-on-dark); }
.footer .brand__mark { box-shadow: none; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { max-width: 34ch; }
.footer__brand p { color: var(--on-dark-2); margin-top: 16px; }
.footer__links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { color: #fff; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; font-size: .92rem; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--on-dark-2); padding: 6px 0; font-size: .96rem; }
.footer__col a:hover { color: var(--gold-on-dark); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8c887f; }
.footer__bottom a { color: var(--on-dark-2); }
.footer__bottom a:hover { color: var(--gold-on-dark); }

/* ---------- Reveal animation (fail-safe progressive enhancement) ---------- */
[data-reveal] { opacity: 1; transform: none; }
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-on [data-reveal][data-delay="1"] { transition-delay: .08s; }
.reveal-on [data-reveal][data-delay="2"] { transition-delay: .16s; }
.reveal-on [data-reveal][data-delay="3"] { transition-delay: .24s; }
.reveal-on [data-reveal][data-delay="4"] { transition-delay: .32s; }
.reveal-on [data-reveal][data-delay="5"] { transition-delay: .40s; }
.reveal-on .hero [data-reveal] { opacity: 0; animation: revealUp .7s var(--ease) forwards; }
.reveal-on .hero [data-reveal][data-delay="1"] { animation-delay: .12s; }
.reveal-on .hero [data-reveal][data-delay="2"] { animation-delay: .24s; }
.reveal-on .hero [data-reveal][data-delay="3"] { animation-delay: .36s; }
.reveal-on .hero [data-reveal][data-delay="4"] { animation-delay: .48s; }
@keyframes revealUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--3, .quotes, .post-grid, .plans, .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .coach, .teaser { grid-template-columns: 1fr; }
  .split__media, .coach__portrait { max-width: 460px; }
  .teaser { gap: 28px; }
  .calc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(244,241,234,.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px; transform: translateY(-130%); transition: transform .3s var(--ease); pointer-events: none;
    box-shadow: var(--shadow);
  }
  .nav__links.open { transform: translateY(0); pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 13px; font-size: 1.2rem; }
  .nav__links .btn { margin: 8px 0 0; --pad: 15px; width: 100%; }
  .nav__toggle { display: grid; place-items: center; }

  .grid--3, .grid--2, .quotes, .post-grid, .plans, .stats, .form-grid { grid-template-columns: 1fr; }
  .stats { gap: 14px; }
  .hero__cta .btn { width: 100%; }
  .cta__row .btn { width: 100%; }
  .stage { grid-template-columns: 48px 1fr; gap: 18px; }
  .timeline::before { left: 23px; }
  .stage__dot { width: 48px; height: 48px; font-size: 1.3rem; }
  .footer__top { flex-direction: column; gap: 32px; }
}
@media (max-width: 420px) {
  .brand__name span { display: none; }
}

/* ---------- Accessibility skip-link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Calculator: verdict, phases, levers ---------- */
.verdict { display: flex; gap: 16px; align-items: flex-start; padding: 18px; margin-bottom: 22px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.verdict p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.verdict__badge { flex: none; align-self: flex-start; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.verdict__badge.tier-low       { background: rgba(47,143,78,.14);  color: #226b3a; border: 1px solid rgba(47,143,78,.4); }
.verdict__badge.tier-manageable{ background: rgba(47,143,78,.12);  color: #2f8f4e; border: 1px solid rgba(47,143,78,.35); }
.verdict__badge.tier-rising    { background: rgba(181,130,27,.16); color: #8a5e12; border: 1px solid rgba(181,130,27,.45); }
.verdict__badge.tier-high      { background: rgba(194,54,43,.12);  color: #b0291f; border: 1px solid rgba(194,54,43,.4); }

.phase { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--line); }
.phase__head { display: flex; align-items: center; gap: 12px; margin: 14px 0 8px; }
.phase__head h3 { font-size: 1.3rem; margin: 0; }
.phase__tag { flex: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--gold-deep); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 4px 10px; border-radius: 999px; }

.levers { display: grid; gap: 10px; margin-top: 14px; }
.lever { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.lever b { display: block; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .03em; text-transform: uppercase; font-size: .92rem; color: var(--ink); margin-bottom: 2px; }
.lever span { font-size: .9rem; color: var(--ink-2); }

/* ---------- Active nav + back-to-top ---------- */
.nav__links a:not(.btn).active { color: var(--gold-deep); }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); border: 0; border-radius: 12px; cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none; box-shadow: var(--shadow);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .2s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold-deep); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .to-top { right: 16px; bottom: 16px; } }
