/* ==========================================================================
   EG Dynamics — main.css
   Aesthetic: "Editorial Executive" — warm paper, deep ink, terracotta accent.
   Type: Fraunces (display serif) + Hanken Grotesk (body grotesque).
   Hand-written static CSS, design tokens in :root. No framework.
   ========================================================================== */

/* ---- Tokens ---------------------------------------------------------------*/
:root {
  --paper:      #F4EFE6;   /* warm bone background */
  --paper-2:    #ECE4D5;   /* deeper paper for alt sections */
  --ink:        #1A1611;   /* warm near-black */
  --ink-2:      #2C2620;   /* softer ink */
  --muted:      #6E6456;   /* warm taupe, secondary text */
  --clay:       #BC4A2B;   /* terracotta accent */
  --clay-deep:  #993720;
  --clay-text:  #A83D20;   /* darker terracotta for SMALL text — WCAG AA 4.5:1 */
  --gold:       #B6883D;   /* muted ochre, scorecard only */
  --line:       rgba(26,22,17,0.14);
  --line-soft:  rgba(26,22,17,0.08);
  --paper-card: #FBF8F1;   /* raised card on paper */

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

  --maxw: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.4rem);
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ----------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* ---- Grain / atmosphere ---------------------------------------------------*/
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.45; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---- Layout ---------------------------------------------------------------*/
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.rule { height: 1px; background: var(--line); border: 0; }

/* Eyebrow / kicker */
.eyebrow {
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--clay-text); display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--clay); display: inline-block; }
.section--ink .eyebrow { color: #E8A07F; }
.section--ink .eyebrow::before { background: #E8A07F; }

/* Headings */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.012em; font-optical-sizing: auto; }
.display { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 380; }
.section-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-bottom: 0.5em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--muted); line-height: 1.5; max-width: 46ch; }
.section--ink .lead { color: rgba(244,239,230,0.72); }

/* ---- Buttons --------------------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius); min-height: 48px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--clay); color: #FFF7F2; box-shadow: 0 1px 0 var(--clay-deep); }
.btn--primary:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(153,55,32,0.6); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.section--ink .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(244,239,230,0.3); }
.section--ink .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; min-height: 56px; } /* v0.8: uniform large-CTA height */
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- Header / nav ---------------------------------------------------------*/
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 0.5rem; }
.nav__brand .brand-logo { height: 58px; width: auto; display: block; } /* v2: logo +26% per Eric */
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.1rem); }
.nav__links a { font-size: 0.92rem; font-weight: 500; position: relative; padding-block: 0.3rem; color: var(--ink-2); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--clay); transition: width 0.3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: inline-flex; gap: 0.6rem; align-items: center; }
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__panel {
    position: fixed; inset: 68px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 1.4rem var(--pad) 2rem;
    display: grid; gap: 0.4rem; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 49;
  }
  .nav__panel.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__panel a { padding: 0.85rem 0; font-size: 1.15rem; font-family: var(--font-display); border-bottom: 1px solid var(--line-soft); }
  .nav__panel .btn { margin-top: 1rem; justify-content: center; }
}
@media (min-width: 861px) { .nav__panel { display: none; } }

/* ---- Hero -----------------------------------------------------------------*/
.hero { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title { margin-bottom: 1.5rem; }
.hero__title .accent { font-style: italic; color: var(--clay); }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--ink-2); max-width: 40ch; min-height: 4.2em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__aside { border-left: 1px solid var(--line); padding-left: clamp(1.2rem, 2vw, 2rem); align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__aside .quote { font-family: var(--font-display); font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.3; letter-spacing: -0.01em; }
.hero__aside .quote em { color: var(--clay); font-style: italic; }
.hero__aside .by { margin-top: 1rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__aside { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.6rem; }
  .hero__lead { min-height: 0; }
}

/* Persona toggle */
.persona { display: inline-flex; padding: 4px; gap: 4px; background: var(--paper-2); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-soft); margin-bottom: 1.6rem; }
.persona__btn { padding: 0.5rem 1.05rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--muted); transition: color 0.25s, background 0.3s var(--ease); }
.persona__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---- Unifying band --------------------------------------------------------*/
.band { text-align: center; }
.band__title { font-size: clamp(2rem, 5.5vw, 4rem); font-weight: 360; max-width: 16ch; margin: 0 auto 1.2rem; }
.band__title .pin { color: var(--clay); }
.band__body { max-width: 52ch; margin: 0 auto; color: rgba(244,239,230,0.74); font-size: 1.08rem; }

/* ---- Two audience paths ---------------------------------------------------*/
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 2.6rem; }
.path-card {
  position: relative; background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 0.9rem; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.path-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--clay); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(26,22,17,0.4); border-color: transparent; }
.path-card:hover::before { transform: scaleY(1); }
.path-card__num { font-family: var(--font-display); font-size: 0.95rem; color: var(--clay-text); letter-spacing: 0.05em; }
.path-card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.path-card__tag { font-style: italic; font-family: var(--font-display); color: var(--muted); font-size: 1.1rem; }
.path-card__body { color: var(--ink-2); }
.path-card__link { margin-top: auto; font-weight: 600; color: var(--clay-text); display: inline-flex; align-items: center; gap: 0.45rem; }
.path-card__link .arrow { transition: transform 0.25s var(--ease); }
.path-card:hover .path-card__link .arrow { transform: translateX(5px); }
@media (max-width: 720px) { .paths { grid-template-columns: 1fr; } }

/* ---- Stats ----------------------------------------------------------------*/
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 2.4rem; }
.stat { border-top: 2px solid var(--clay); padding-top: 1rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1; }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }
.section--ink .stat__label { color: rgba(244,239,230,0.6); }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---- Services -------------------------------------------------------------*/
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(1rem, 2vw, 1.4rem); margin-top: 2.4rem; }
.svc {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem); display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(26,22,17,0.4); }
.svc__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.svc__price { font-family: var(--font-display); font-size: 1.25rem; color: var(--clay-text); white-space: nowrap; }
.svc__price small { color: var(--muted); font-size: 0.8rem; font-family: var(--font-body); }
.svc__title { font-size: 1.45rem; }
.svc__sub { font-style: italic; font-family: var(--font-display); color: var(--muted); margin-top: -0.3rem; }
.svc__list { display: grid; gap: 0.6rem; margin-top: 0.3rem; }
.svc__list li { position: relative; padding-left: 1.4rem; color: var(--ink-2); font-size: 0.96rem; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--clay); border-radius: 50%; }
.svc .btn { margin-top: auto; align-self: flex-start; }
.track-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.3rem; }
.track-head .num { font-family: var(--font-display); color: var(--clay-text); font-size: 1.1rem; }

/* ---- Compare (Hiring Lens) ------------------------------------------------*/
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 2.4rem; }
.compare__col { border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.6vw, 2.1rem); border: 1px solid var(--line); }
.compare__col--myth { background: var(--paper-2); }
.compare__col--real { background: var(--ink); color: var(--paper); border-color: transparent; }
.compare__h { font-size: 1.3rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.6rem; }
.compare__list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 0.7rem; font-size: 1.02rem; }
.compare__col--real .compare__list li { border-color: rgba(244,239,230,0.12); }
.compare__list li:last-child { border-bottom: none; }
.compare__list .ic { width: 18px; height: 18px; flex: none; opacity: 0.85; }
.compare__col--myth .ic { color: var(--muted); }
.compare__col--real .ic { color: #E8A07F; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ---- Scorecard (animated) -------------------------------------------------*/
.scorecard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin: 2.4rem auto 0; max-width: 720px; }
.score {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem; text-align: left;
}
.score--after { background: var(--ink); color: var(--paper); border-color: transparent; }
.score__label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.score--after .score__label { color: #E8A07F; }
.score__num { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 4.6rem); line-height: 1; margin: 0.2rem 0 0.8rem; }
.score__num .of { font-size: 0.35em; color: var(--muted); }
.score--after .score__num .of { color: rgba(244,239,230,0.5); }
.score__track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.score--after .score__track { background: rgba(244,239,230,0.18); }
.score__fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--clay)); transition: width 1.4s var(--ease); }
.score-caption { text-align: center; color: var(--muted); margin-top: 1.4rem; font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }
@media (max-width: 560px) { .scorecard { grid-template-columns: 1fr; } }

/* ---- v1.0: scorecard infographic + tap-to-enlarge lightbox ----------------*/
.scorecard-figure { display: block; position: relative; max-width: 820px; margin: 2.4rem auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 50px -22px rgba(40,26,18,0.55); cursor: zoom-in; }
.scorecard-figure img { display: block; width: 100%; height: auto; }
.scorecard-figure__hint { position: absolute; bottom: 0.8rem; right: 0.8rem; background: rgba(26,22,17,0.82); color: var(--paper); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 999px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 4vw; background: rgba(20,14,10,0.92); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease); cursor: zoom-out; }
.lightbox:target { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(900px, 96vw); max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); }
.lightbox__close { position: absolute; top: 1rem; right: 1.4rem; color: var(--paper); font-size: 2.6rem; line-height: 1; }

/* ---- Pillars (3 C's) ------------------------------------------------------*/
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 2.4rem; }
.pillar { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.section--ink .pillar { border-color: var(--clay); }
.pillar__k { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.pillar__k .dot { color: var(--clay); }
.pillar p { color: var(--muted); font-size: 0.98rem; }
.section--ink .pillar p { color: rgba(244,239,230,0.7); }

/* ---- v0.7: Leadership & Client Experience (monochrome wordmarks, no logos) ---- */
.cred-groups { list-style: none; padding: 0; display: grid; gap: clamp(1.5rem, 3.5vw, 2.4rem); margin-top: 2.2rem; }
.cred-group { border-top: 2px solid var(--clay); padding-top: 1.1rem; }
.cred-group__label { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-text); margin-bottom: 0.85rem; }
.cred-wordmarks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.55rem 1.85rem; }
.cred-wordmarks li { font-family: var(--font-body); font-weight: 500; font-size: clamp(1rem, 1.5vw, 1.18rem); letter-spacing: 0.015em; color: var(--ink-2); }
.cred-wordmarks .note { color: var(--muted); font-weight: 400; font-size: 0.82em; }
@media (max-width: 620px) { .cred-wordmarks { gap: 0.45rem 1.15rem; } }

/* ---- FAQ / AEO ------------------------------------------------------------*/
.faq { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { flex: none; width: 24px; height: 24px; position: relative; margin-top: 0.3rem; }
.faq-item .plus::before, .faq-item .plus::after { content: ""; position: absolute; background: var(--clay); inset: 0; margin: auto; }
.faq-item .plus::before { width: 14px; height: 2px; }
.faq-item .plus::after { width: 2px; height: 14px; transition: transform 0.3s var(--ease); }
.faq-item[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item__body { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 70ch; }

/* ---- Testimonials (hidden until real) -------------------------------------*/
.testimonials[hidden] { display: none; }

/* ---- Interactive Hiring Lens quiz -----------------------------------------*/
.quiz { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.6rem); margin-top: 2.4rem; max-width: 760px; }
.quiz__bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 1.8rem; }
.quiz__bar i { display: block; height: 100%; width: 20%; background: var(--clay); border-radius: 999px; transition: width 0.4s var(--ease); }
.quiz__step { display: none; animation: fade-up 0.45s var(--ease); }
.quiz__step.active { display: block; }
.quiz__qn { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-text); font-weight: 600; }
.quiz__q { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.2; margin: 0.5rem 0 1.3rem; }
.quiz__options { display: grid; gap: 0.7rem; }
.quiz__opt { text-align: left; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow 0.2s, transform 0.2s var(--ease), background 0.2s; font-size: 1rem; display: flex; align-items: center; gap: 0.9rem; }
.quiz__opt::before { content: ""; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; transition: box-shadow 0.2s, background 0.2s; }
.quiz__opt:hover { transform: translateX(3px); box-shadow: inset 0 0 0 1.5px var(--clay); }
.quiz__opt:hover::before { box-shadow: inset 0 0 0 2px var(--clay); }
.quiz__result { display: none; text-align: center; animation: fade-up 0.5s var(--ease); }
.quiz__result.active { display: block; }
.ring { --pct: 0; width: 168px; height: 168px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--clay) calc(var(--pct) * 1%), var(--line) 0); transition: --pct 1.2s var(--ease); }
@property --pct { syntax: '<number>'; inherits: false; initial-value: 0; }
.ring__inner { width: 132px; height: 132px; border-radius: 50%; background: var(--paper-card); display: grid; place-items: center; }
.ring__num { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; }
.ring__num small { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); margin-top: 0.2rem; }
.quiz__band { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.7rem; }
.quiz__msg { color: var(--ink-2); max-width: 48ch; margin: 0 auto 1.6rem; }
.quiz__micro { font-size: 0.78rem; color: var(--muted); margin-top: 1.2rem; }
.quiz__restart { margin-top: 1rem; color: var(--clay-text); font-weight: 600; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Final CTA ------------------------------------------------------------*/
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 360; max-width: 18ch; margin: 0 auto 1.2rem; }
.cta-final .btnrow { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---- Footer ---------------------------------------------------------------*/
.site-footer { position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding-block: clamp(2.8rem, 6vw, 4.5rem) 2.6rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__brand { font-family: var(--font-display); font-size: 1.6rem; }
.footer__logo { height: 88px; width: auto; display: block; margin-bottom: 1rem; }
.footer__tag { color: rgba(244,239,230,0.6); margin-top: 0.6rem; max-width: 30ch; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #E8A07F; margin-bottom: 0.9rem; }
.footer__col a, .footer__col p { display: block; color: rgba(244,239,230,0.78); padding: 0.3rem 0; font-size: 0.95rem; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(244,239,230,0.14); color: rgba(244,239,230,0.5); font-size: 0.85rem; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; } .site-footer { padding-bottom: 3.2rem; } }

/* v0.8: trim mobile vertical rhythm ~12% per Eric's final review */
@media (max-width: 620px) {
  .section { padding-block: 3rem; }
  .hero { padding-block: 2.4rem 2rem; }
}

/* ---- Reveal animation -----------------------------------------------------*/
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__animate > * { opacity: 0; animation: fade-up 0.9s var(--ease) forwards; }
.hero__animate > *:nth-child(1) { animation-delay: 0.05s; }
.hero__animate > *:nth-child(2) { animation-delay: 0.15s; }
.hero__animate > *:nth-child(3) { animation-delay: 0.25s; }
.hero__animate > *:nth-child(4) { animation-delay: 0.35s; }
.hero__animate > *:nth-child(5) { animation-delay: 0.45s; }

/* ---- Utility --------------------------------------------------------------*/
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-prose { max-width: 60ch; }
.flow > * + * { margin-top: 1.1rem; }
.tag-note { display: inline-block; font-size: 0.74rem; color: var(--muted); background: var(--paper-2); border: 1px dashed var(--line); padding: 0.2rem 0.6rem; border-radius: 4px; }

/* ---- Reduced motion -------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__animate > * { opacity: 1; }
}

/* ---- v0.5: font tame ------------------------------------------------------*/
/* Eric flagged Fraunces' quirky "F" glyphs in his name + the About headline.
   Pin the optical-size axis to a calmer text value (instead of auto, which
   pushes huge headings toward the exaggerated display cut). Keeps the family
   and the black + red treatment; tames the letterforms. */
h1, h2, h3, .display, .nav__brand,
.band__title, .hero__title, .section-title,
.pillar__k, .svc__title, .quiz__q, .faq-item summary, .score__num {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 32, "SOFT" 0, "WONK" 0;
}

/* ---- v0.5: How It Works (3 cards) -----------------------------------------*/
.paths--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .paths--three { grid-template-columns: 1fr; } }

/* ---- v0.5: hero headshot --------------------------------------------------*/
.hero__grid--photo { align-items: stretch; column-gap: clamp(3.5rem, 7vw, 6.5rem); } /* v2: +40-60px copy-to-portrait gap per Eric */
.hero__aside--photo { border-left: none; padding-left: 0; justify-content: center; }
.hero__headshot {
  width: 100%; height: 100%; max-height: 610px; /* v2: portrait +9% per Eric */
  object-fit: cover; border-radius: 10px;
  box-shadow: 0 18px 50px -22px rgba(40, 26, 18, 0.55);
}
@media (max-width: 720px) {
  .hero__aside--photo { border-top: none; padding-top: 0; }
  .hero__headshot { max-height: 460px; }
}
.hero__figure { margin: 0; }
.hero__byline { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.1rem; }
.hero__byline strong { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.hero__byline span { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--clay-text); }

/* ---- v0.5: about portrait -------------------------------------------------*/
.about-bio { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.about-bio__photo { width: 100%; border-radius: 10px; object-fit: cover; box-shadow: 0 18px 50px -22px rgba(40, 26, 18, 0.55); }
@media (max-width: 760px) { .about-bio { grid-template-columns: 1fr; } .about-bio__photo { max-width: 360px; } }
