/* ==========================================================================
   5Careers — career-change coaching marketplace marketing site
   Design system + styles. Hand-authored, no framework.
   ========================================================================== */

:root {
  /* Color — a warm editorial canvas with a dusk→dawn signature thread.
     The thread color travels from cool "stuck" to warm "arrived", encoding
     the core promise: your experience carries through the change. */
  --ink:        #15231d;  /* deep pine-ink: dark sections, headings */
  --ink-2:      #243a31;  /* softer ink for dark-section surfaces */
  --ink-soft:   #46554d;  /* muted body text on light */
  --paper:      #f4f1ea;  /* warm paper: primary light background */
  --paper-2:    #fbfaf5;  /* lifted cards on light */
  --line:       rgba(21, 35, 29, 0.12);
  --line-soft:  rgba(21, 35, 29, 0.07);

  --dusk:       #6f8a98;  /* cool slate — the "before" end of the thread */
  --dawn:       #e6a24a;  /* warm amber — the signature accent / "after" */
  --dawn-deep:  #d97746;  /* coral-amber for depth in gradients */
  --dawn-soft:  #f4d9ac;

  --paper-on-dark: #eef1ec;
  --muted-on-dark: #9fb0a6;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Space + shape */
  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(21,35,29,.05), 0 18px 40px -24px rgba(21,35,29,.28);
  --shadow-lg: 0 30px 70px -34px rgba(21,35,29,.42);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  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, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--dawn); color: var(--ink); }

/* --------------------------------------------------------------- helpers */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dawn-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 1.6em; height: 1px;
  background: var(--dawn-deep);
  opacity: .55;
}
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section-head { max-width: 46rem; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 540;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin-top: 1.1rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin-top: 1.1rem; max-width: 38rem; }

h1,h2,h3 { font-family: var(--display); font-weight: 540; font-optical-sizing: auto; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .92em 1.5em;
  border-radius: 100px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  line-height: 1;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(105deg, var(--dawn) 0%, var(--dawn-deep) 100%);
  color: #2a1605;
  box-shadow: 0 10px 24px -10px rgba(217,119,70,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(217,119,70,.7); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-dark .btn-ghost, .btn-ghost.on-dark { color: var(--paper-on-dark); border-color: rgba(238,241,236,.28); }
.on-dark .btn-ghost:hover { border-color: var(--paper-on-dark); }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.05rem; }

a.textlink { color: var(--dawn-deep); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s; }
a.textlink:hover { border-color: var(--dawn-deep); }

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

/* ============================================================= nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.stuck { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand .mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .95rem; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ============================================================= hero */
.hero { position: relative; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 1.2rem + 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 560;
}
.hero h1 em { font-style: italic; color: var(--dawn-deep); }
.hero .lead { margin-top: 1.5rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; align-items: center; }
.hero-reassure { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.hero-reassure svg { color: var(--dawn-deep); flex: none; }

/* hero visual: the dusk→dawn thread, drawn */
.hero-visual { position: relative; aspect-ratio: 4/5; min-height: 360px; }
.hero-card {
  position: absolute; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.15rem;
  display: flex; flex-direction: column; gap: .25rem;
  max-width: 14.5rem;
}
.hero-card .role { font-family: var(--display); font-size: 1.05rem; font-weight: 560; }
.hero-card .meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
.hero-card.from { top: 4%; left: 0; }
.hero-card.from .meta { color: var(--dusk); }
.hero-card.to { bottom: 4%; right: 0; border-color: rgba(217,119,70,.4); }
.hero-card.to .meta { color: var(--dawn-deep); }
.hero-card .tag { font-size: .78rem; color: var(--ink-soft); }
.hero-thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 3/2; min-height: 280px; max-width: 460px; }
}

/* hero direction chevrons: generated by JS ON the thread path itself, so they
   always sit on the curve and point along it. A staggered opacity wave makes
   them "travel" toward the destination card. */
.thread-chev path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thread-chev { opacity: .15; animation: chevFlow 1.8s linear infinite; }
@keyframes chevFlow { 0%, 100% { opacity: .15; } 35% { opacity: 1; } }

/* trust strip */
.trust { border-block: 1px solid var(--line); }
.trust .wrap { display: flex; align-items: center; gap: clamp(1rem,4vw,3rem); flex-wrap: wrap; padding-block: 1.4rem; }
.trust .label { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft); }
.trust ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(1rem,3vw,2.4rem); }
.trust li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.trust li svg { color: var(--dawn-deep); flex: none; }

/* ===================================================== throughline rail */
.rail {
  position: fixed; left: max(1.5rem, calc((100vw - var(--wrap)) / 2 - 1.6rem));
  top: 0; bottom: 0; width: 2px; z-index: 5;
  pointer-events: none;
}
.rail-track { position: absolute; inset: 0; background: var(--line); border-radius: 2px; }
.rail-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--dusk) 0%, #b98c69 45%, var(--dawn) 78%, var(--dawn-deep) 100%);
  border-radius: 2px;
  transition: height .12s linear;
}
.rail-fill::after {
  content: ""; position: absolute; bottom: -4px; left: 50%; translate: -50% 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dawn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dawn) 30%, transparent);
}
@media (max-width: 1180px) { .rail { display: none; } }
@media (prefers-reduced-motion: reduce) { .rail-fill { transition: none; } }

/* ============================================================= problem (dark) */
.problem { background: var(--ink); color: var(--paper-on-dark); }
.problem .eyebrow { color: var(--dawn); }
.problem .eyebrow::before { background: var(--dawn); }
.problem h2 { color: var(--paper-on-dark); }
.mirror { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3rem; }
.mirror blockquote {
  background: var(--ink-2); border: 1px solid rgba(238,241,236,.08);
  border-radius: var(--radius); padding: 1.6rem;
  font-family: var(--display); font-size: 1.18rem; line-height: 1.4; font-weight: 440;
  position: relative;
}
.mirror blockquote .q { color: var(--dawn); font-size: 2.4rem; line-height: 0; position: relative; top: .55rem; margin-right: .1rem; font-family: var(--display); }
.problem .villain { margin-top: 2.6rem; font-size: 1.25rem; max-width: 44rem; color: var(--paper-on-dark); }
.problem .villain strong { color: var(--dawn); font-weight: 600; }
@media (max-width: 760px) { .mirror { grid-template-columns: 1fr; } }

/* ============================================================= reframe */
.reframe .big {
  font-family: var(--display); font-weight: 540;
  font-size: clamp(1.8rem, 1rem + 3vw, 3rem); line-height: 1.1; letter-spacing: -0.02em;
  max-width: 30rem;
}
.reframe .big em { font-style: italic; color: var(--dawn-deep); }
.reframe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.pillars { display: grid; gap: 1rem; }
.pillar { display: flex; gap: 1rem; padding: 1.3rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar .n { font-family: var(--mono); font-size: .8rem; color: var(--dawn-deep); padding-top: .2rem; }
.pillar h3 { font-size: 1.16rem; font-weight: 560; }
.pillar p { color: var(--ink-soft); font-size: .98rem; margin-top: .3rem; }
@media (max-width: 820px) { .reframe-grid { grid-template-columns: 1fr; } }

/* ============================================================= method (PIVOT) */
.method { background: linear-gradient(180deg, var(--paper) 0%, #efe9dd 100%); }
.phases { margin-top: 3.2rem; position: relative; display: grid; gap: 1.1rem; }
.phases::before {
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--dusk), var(--dawn-deep));
  border-radius: 2px;
}
.phase {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; align-items: start;
  padding: 1.2rem 1.4rem 1.2rem 0;
}
.phase .node {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: var(--paper-2); border: 2px solid var(--line);
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  color: var(--ink); z-index: 1; position: relative;
  transition: border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease);
}
.phase.in .node { border-color: var(--dawn); background: #fff; }
.phase .letter { color: var(--dawn-deep); }
.phase h3 { font-size: 1.3rem; font-weight: 560; }
.phase h3 span { color: var(--ink-soft); font-weight: 440; font-style: italic; font-size: 1.05rem; }
.phase p { color: var(--ink-soft); margin-top: .35rem; max-width: 44rem; }
@media (max-width:600px){ .phase{ grid-template-columns: 44px 1fr; gap:1rem;} .phase .node{width:44px;height:44px;font-size:1.05rem;} .phases::before{left:21px;} }

/* ============================================================= roles */
.roles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 3rem; }
.role-group { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.role-group:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role-group h3 { font-size: 1.18rem; font-weight: 560; display: flex; align-items: center; gap: .6rem; }
.role-group h3 .dot { width: 10px; height: 10px; border-radius: 50%; flex:none; }
.role-group .why { font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; margin-bottom: 1.1rem; }
.role-group ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.role-group li { font-size: .96rem; padding-left: 1.3rem; position: relative; }
.role-group li::before { content: "→"; position: absolute; left: 0; color: var(--dawn-deep); }
@media (max-width: 900px){ .roles-grid{ grid-template-columns: 1fr; } }

/* ============================================================= stories */
.stories-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; margin-top: 3rem; }
.story { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--paper-2); }
.story .path { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: 1.12rem; font-weight: 540; flex-wrap: wrap; }
.story .path .to { color: var(--dawn-deep); }
.story .path .sep { color: var(--dusk); }
.story p { color: var(--ink-soft); font-size: .96rem; margin-top: .7rem; }
.story .who { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: .9rem; }
.disclaimer { font-size: .82rem; color: var(--ink-soft); margin-top: 1.4rem; font-style: italic; }
@media (max-width: 720px){ .stories-grid{ grid-template-columns: 1fr; } }

/* ============================================================= fit */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.fit-col { border-radius: var(--radius-lg); padding: 1.8rem; border: 1px solid var(--line); }
.fit-col.yes { background: var(--paper-2); }
.fit-col.no { background: transparent; }
.fit-col h3 { font-size: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.fit-col ul { list-style: none; padding: 0; margin-top: 1.1rem; display: grid; gap: .8rem; }
.fit-col li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.fit-col li svg { flex: none; margin-top: .15rem; }
.fit-col.yes svg { color: #4c9a6a; }
.fit-col.no { color: var(--ink-soft); }
.fit-col.no svg { color: var(--dusk); }
@media (max-width: 720px){ .fit-grid{ grid-template-columns: 1fr; } }

/* ============================================================= compare */
.compare-wrap { margin-top: 3rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 1.1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
table.compare thead th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 500; }
table.compare thead th.us { color: var(--dawn-deep); }
table.compare tbody th { font-weight: 560; color: var(--ink); }
table.compare td.us { background: color-mix(in srgb, var(--dawn) 9%, transparent); font-weight: 600; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
.tick { color: #4c9a6a; } .cross { color: var(--dusk); }

/* ============================================================= offer */
.offer { background: var(--ink); color: var(--paper-on-dark); }
.offer .eyebrow { color: var(--dawn); } .offer .eyebrow::before { background: var(--dawn); }
.offer h2 { color: var(--paper-on-dark); }
.offer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,3.5rem); margin-top: 2.6rem; align-items: start; }
.includes { list-style: none; padding: 0; display: grid; gap: .9rem; }
.includes li { display: flex; gap: .8rem; align-items: flex-start; }
.includes li svg { color: var(--dawn); flex: none; margin-top: .2rem; }
.guarantee {
  background: var(--ink-2); border: 1px solid rgba(230,162,74,.35);
  border-radius: var(--radius-lg); padding: 1.8rem;
}
.guarantee .seal { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dawn); }
.guarantee h3 { color: var(--paper-on-dark); font-size: 1.4rem; margin-top: .6rem; }
.guarantee p { color: var(--muted-on-dark); margin-top: .7rem; font-size: .98rem; }
.offer .founding { margin-top: 1.6rem; font-size: .92rem; color: var(--muted-on-dark); }
.offer .founding strong { color: var(--dawn); }
@media (max-width: 820px){ .offer-grid{ grid-template-columns: 1fr; } }

/* ============================================================= faq */
.faq-list { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--display); font-size: 1.18rem; font-weight: 540; color: var(--ink); }
.faq-q .pm { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; top:50%; left:50%; translate:-50% -50%; background: var(--dawn-deep); border-radius: 2px; }
.faq-q .pm::before { width: 14px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq-item[open] .pm::after { transform: rotate(90deg); }
.faq-a { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 48rem; }
.faq-a a { color: var(--dawn-deep); font-weight: 600; }
details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; }

/* ============================================================= final cta */
.final { position: relative; overflow: hidden; background: var(--ink); color: var(--paper-on-dark); text-align: center; }
.final .glow { position: absolute; left: 50%; top: 120%; translate: -50% -50%; width: 120vw; height: 120vw; max-width: 1100px; max-height: 1100px; background: radial-gradient(circle, rgba(230,162,74,.28), transparent 60%); pointer-events: none; }
.final-inner { position: relative; max-width: 40rem; margin-inline: auto; }
.final h2 { color: var(--paper-on-dark); font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.final h2 em { font-style: italic; color: var(--dawn); }
.final p { color: var(--muted-on-dark); font-size: 1.15rem; margin-top: 1.2rem; }
.final .hero-actions { justify-content: center; }
.final-reassure { margin-top: 1.3rem; font-size: .9rem; color: var(--muted-on-dark); }

/* ============================================================= footer */
.footer { background: var(--ink); color: var(--muted-on-dark); border-top: 1px solid rgba(238,241,236,.08); padding-block: 3.5rem 2.5rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer .brand { color: var(--paper-on-dark); }
.footer-cols { display: flex; gap: clamp(2rem,6vw,5rem); flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--paper-on-dark); margin-bottom: .9rem; font-weight: 500; }
.footer-cols ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-cols a { font-size: .92rem; transition: color .2s; }
.footer-cols a:hover { color: var(--paper-on-dark); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(238,241,236,.08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer-tagline { max-width: 18rem; margin-top: .9rem; font-size: .92rem; line-height: 1.5; }

/* ============================================================= how it works (steps) */
.how { background: linear-gradient(180deg, var(--paper) 0%, #efe9dd 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.2rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--dusk), var(--dawn-deep)); opacity: .5;
}
.step { position: relative; }
.step .step-n {
  width: 56px; height: 56px; border-radius: 50%; background: #fff;
  border: 2px solid var(--dawn); color: var(--dawn-deep);
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.4rem;
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.22rem; font-weight: 560; margin-top: 1.1rem; }
.step p { color: var(--ink-soft); margin-top: .45rem; max-width: 22rem; }
.how-cta { margin-top: 2.8rem; }
@media (max-width: 800px){ .steps{ grid-template-columns: 1fr; gap: 1.6rem; } .steps::before{ display:none; } }

/* ============================================================= coaches */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.2rem; }
.chip {
  padding: .55em 1.05em; border-radius: 100px; border: 1px solid var(--line);
  background: var(--paper-2); color: var(--ink-soft); font-size: .86rem; font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper-on-dark); border-color: var(--ink); }

.coaches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2rem; }
.coach {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem 1.4rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.coach:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(217,119,70,.35); }
.coach[hidden] { display: none; }
.coach .avatar {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line); background: var(--paper);
}
.coach .name { font-family: var(--display); font-size: 1.16rem; font-weight: 560; margin-top: 1rem; }
.coach .cred { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dawn-deep); margin-top: .3rem; }
.coach .pivot { font-size: .92rem; margin-top: .8rem; line-height: 1.4; }
.pivot .sep { color: var(--dusk); margin: 0 .15rem; }
.pivot .to { color: var(--dawn-deep); font-weight: 600; }
.coach .madeit { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; color: #4c9a6a; margin-top: .7rem; font-weight: 600; }
.coach .tags { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: .9rem; }
.coach .tag { font-size: .72rem; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: .3em .75em; color: var(--ink-soft); }
.coach .coach-cta { margin-top: auto; padding-top: 1.2rem; font-size: .9rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.coach .coach-cta .arrow { color: var(--dawn-deep); transition: transform .25s var(--ease); }
.coach .coach-cta:hover .arrow { transform: translateX(4px); }
.empty-note { margin-top: 1.6rem; color: var(--ink-soft); }
.empty-note a { color: var(--dawn-deep); font-weight: 600; }
@media (max-width: 1080px){ .coaches-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 800px){ .coaches-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .coaches-grid{ grid-template-columns: 1fr; } }

/* ============================================================= for-coaches band */
.joinband-sec { padding-block: 0; }
.joinband {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(105deg, #efe9dd, var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.joinband h3 { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 560; }
.joinband p { color: var(--ink-soft); margin-top: .5rem; max-width: 34rem; }

/* coach specialty label (reframed from personal-pivot claim) */
.pivot .plabel {
  display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem;
}

/* optional matchmaker helper under the how-it-works CTA */
.how-helper { margin-top: 1.1rem; color: var(--ink-soft); font-size: .95rem; }

/* ============================================================= circles (community) */
.circles { background: var(--paper); }
.circles-panel {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: linear-gradient(120deg, #efe9dd, var(--paper-2));
  border: 1px solid var(--line); border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(1.8rem, 4vw, 3.4rem);
}
.circles-copy .lead { margin-top: 1.2rem; }
.circles-copy .lead strong { color: var(--ink); }
.circle-feats { list-style: none; padding: 0; margin: 1.9rem 0 0; display: grid; gap: 1.1rem; }
.circle-feats li { display: flex; gap: .9rem; align-items: flex-start; }
.circle-feats .cf-ic {
  flex: none; width: 28px; height: 28px; border-radius: 50%; margin-top: .1rem;
  background: color-mix(in srgb, var(--dawn) 20%, transparent); color: var(--dawn-deep);
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
}
.circle-feats strong { display: block; font-weight: 600; font-size: 1.02rem; }
.circle-feats p { color: var(--ink-soft); font-size: .95rem; margin-top: .2rem; }
.circle-price { margin-top: 1.7rem; font-size: 1.02rem; }
.circle-price strong { color: var(--dawn-deep); }
.circles .hero-actions { margin-top: 1.4rem; }
.circle-note { margin-top: 1rem; font-size: .85rem; color: var(--ink-soft); font-style: italic; }
.circles-visual { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.circles-visual svg { max-width: 320px; width: 100%; height: auto; }
.circles-cap { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 820px){ .circles-panel{ grid-template-columns: 1fr; } .circles-visual{ order: -1; max-width: 280px; margin-inline: auto; } }

/* ============================================================= skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper-on-dark);
  padding: .7em 1.1em; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ============================================================= mobile nav */
.nav-inner { position: relative; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); align-items: center; justify-content: center; }
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle-bars { position: relative; width: 18px; height: 2px; background: var(--ink); display: block; transition: background .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav.menu-open .nav-toggle-bars { background: transparent; }
.nav.menu-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav.menu-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav-menu-cta { display: none; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.25rem,4vw,2.5rem) 1.4rem; box-shadow: var(--shadow);
  }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav.menu-open .nav-menu-cta { display: inline-flex; justify-content: center; margin-top: 1rem; }
  .nav-cta .btn-primary:not(.nav-menu-cta) { display: none; }
}

/* ============================================================= hero rotation */
/* whole cards slide out/in on each swap, and the destination card + active dot
   take a per-example accent color so the change is unmissable */
.hero-visual { --pairAccent: var(--dawn-deep); }
.hero-card { transition: transform .45s var(--ease), opacity .45s var(--ease), border-color .5s var(--ease), background .5s var(--ease); }
.hero-visual.swapping .hero-card.from { transform: translateY(-16px) scale(.96); opacity: 0; }
.hero-visual.swapping .hero-card.to { transform: translateY(16px) scale(.96); opacity: 0; }
.hero-card.to {
  border-color: color-mix(in srgb, var(--pairAccent) 50%, transparent);
  background: color-mix(in srgb, var(--pairAccent) 7%, var(--paper-2));
}
.hero-card.to .meta { color: var(--pairAccent); }
.hero-card.to .role { color: color-mix(in srgb, var(--pairAccent) 70%, var(--ink)); }
.hero-dots { display: flex; gap: .5rem; justify-content: center; position: absolute; left: 0; right: 0; bottom: -1.9rem; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .3s var(--ease), width .3s var(--ease); }
.hero-dots button:hover { background: var(--dusk); }
.hero-dots button.active { background: var(--pairAccent, var(--dawn-deep)); width: 24px; border-radius: 5px; }
@media (max-width: 900px) { .hero-dots { bottom: -1.6rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero-card { transition: none; }
  .hero-visual.swapping .hero-card.from, .hero-visual.swapping .hero-card.to { transform: none; opacity: 1; }
}

/* inline link-button (matches .textlink, but a <button>) */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--dawn-deep); font-weight: 600; cursor: pointer; border-bottom: 1px solid transparent; }
.linkbtn:hover { border-color: var(--dawn-deep); }

/* coach result count */
.coach-count { margin-top: 1.1rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* ============================================================= modals */
.modal-overlay { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.2rem; background: rgba(21,35,29,.55); backdrop-filter: blur(4px); animation: mmFade .2s var(--ease); }
.modal-overlay[hidden] { display: none; }
@keyframes mmFade { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; background: var(--paper); border-radius: var(--radius-lg); width: 100%; max-width: 600px; max-height: 90vh; overflow: auto; padding: clamp(1.7rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); display: grid; place-items: center; color: var(--ink); }
.modal-close:hover { border-color: var(--ink); }
.mm-step-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.mm-progress { display: flex; gap: .4rem; margin: .6rem 0 1.4rem; }
.mm-progress span { height: 4px; flex: 1; background: var(--line); border-radius: 2px; transition: background .3s var(--ease); }
.mm-progress span.on { background: linear-gradient(90deg, var(--dusk), var(--dawn)); }
.mm-q { font-family: var(--display); font-size: 1.5rem; font-weight: 560; line-height: 1.1; letter-spacing: -0.01em; }
.mm-sub { color: var(--ink-soft); margin-top: .5rem; font-size: .98rem; }
fieldset.mm-screen { border: 0; padding: 0; margin: 0; }
fieldset.mm-screen[hidden] { display: none; }
legend.mm-q { padding: 0; display: block; }
.mm-options { display: grid; gap: .55rem; margin-top: 1.3rem; }
.mm-opt { text-align: left; padding: .9em 1.1em; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); font-weight: 600; color: var(--ink); transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.mm-opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.mm-opt.sel { border-color: var(--dawn); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--dawn) 18%, transparent); }
.mm-nav { display: flex; align-items: center; margin-top: 1.5rem; }
.mm-nav-spacer { flex: 1; }
.mm-result[hidden] { display: none; }
.mm-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.3rem; }
.mm-result-grid .coach { padding: 1.2rem 1rem; }
.mm-result-grid .coach .avatar { width: 72px; height: 72px; }
.mm-result-actions { display: flex; align-items: center; gap: 1.3rem; margin-top: 1.6rem; flex-wrap: wrap; }
.mm-tip { margin-top: 1.1rem; background: color-mix(in srgb, var(--dawn) 12%, transparent); border-radius: 10px; padding: .85rem 1rem; font-size: .92rem; color: var(--ink); }
.mm-tip[hidden] { display: none; }
@media (max-width: 520px) { .mm-result-grid { grid-template-columns: 1fr; } }

/* waitlist form */
.wl-form { display: flex; flex-direction: column; gap: 1rem; }
.wl-form[hidden] { display: none; }
.wl-form .mm-q { margin-top: .4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field-opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field select { font: inherit; padding: .75em .9em; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--dawn); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--dawn) 20%, transparent); }
.field-error { color: #c0492f; font-size: .85rem; font-weight: 500; }
.field-error[hidden] { display: none; }
.wl-fineprint { font-size: .8rem; color: var(--ink-soft); text-align: center; }
.wl-success { text-align: center; }
.wl-success[hidden] { display: none; }
.wl-check { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, #4c9a6a 16%, transparent); color: #4c9a6a; display: grid; place-items: center; margin: 0 auto 1rem; }
.wl-success .btn { margin-top: 1.3rem; }

body.modal-open { overflow: hidden; }

/* ============================================================= from→to + roadblock filter */
.coach-filters { margin-top: 2.1rem; display: grid; gap: 1.2rem; }
.cf-row { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.cf-field { display: flex; flex-direction: column; gap: .4rem; }
.cf-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.cf-field select {
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; min-width: 13rem;
  padding: .7em 2.4em .7em .95em; border: 1px solid var(--line); border-radius: 10px;
  -webkit-appearance: none; appearance: none; background-color: var(--paper-2);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%2346554d" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat; background-position: right .85em center;
}
.cf-field select:focus { border-color: var(--dawn); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--dawn) 20%, transparent); }
.cf-arrow { font-size: 1.4rem; color: var(--dawn-deep); padding-bottom: .35rem; }
.cf-reset { padding-bottom: .6rem; }
.cf-challenges { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cf-challenges .cf-label { margin-right: .3rem; }
@media (max-width: 560px) { .cf-field, .cf-field select { width: 100%; min-width: 0; } .cf-arrow { display: none; } }

/* coach card: video badge + clickable */
.coach .avatar-wrap { position: relative; display: inline-block; line-height: 0; }
.coach .play-badge { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--dawn-deep); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(21,35,29,.25); }
.coach .play-badge svg { width: 13px; height: 13px; margin-left: 1px; }
.coach--clickable { cursor: pointer; }
.coach-cta { cursor: pointer; }

/* ============================================================= coach profile modal */
.modal-wide { max-width: 720px; }
.profile-head { display: flex; gap: 1.4rem; align-items: flex-start; flex-wrap: wrap; }
.profile-video { position: relative; width: 200px; flex: none; border-radius: 14px; overflow: hidden; background: var(--paper-2); aspect-ratio: 1/1; }
.profile-video .pv-thumb { width: 100%; height: 100%; object-fit: cover; }
.pv-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(21,35,29,.6); color: #fff; display: grid; place-items: center; }
.pv-play svg { width: 22px; height: 22px; margin-left: 2px; }
.pv-label { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(21,35,29,.74); color: #fff; font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: .45em; }
.profile-id { flex: 1; min-width: 14rem; }
.profile-id .mm-q { margin-top: .35rem; }
.profile-loc { font-size: .88rem; color: var(--ink-soft); margin-top: .25rem; }
.profile-id .pivot { margin-top: .7rem; font-size: .95rem; }
.profile-id .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.profile-id .tag { font-size: .72rem; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: .3em .75em; color: var(--ink-soft); }
.profile-id .tag.tag-ch { background: color-mix(in srgb, var(--dusk) 15%, transparent); }
.tag-ch { background: color-mix(in srgb, var(--dusk) 15%, transparent); }
.profile-bio { margin-top: 1.4rem; color: var(--ink-soft); font-size: 1.02rem; }
.profile-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.profile-ctas .btn { font-size: .9rem; }
.profile-block { margin-top: 1.9rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.profile-h { font-family: var(--display); font-size: 1.16rem; font-weight: 560; }
.profile-mini { font-size: .8rem; color: var(--ink-soft); margin-top: .7rem; font-style: italic; }
.feed { display: grid; gap: .6rem; margin-top: 1rem; }
.feed-item { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); transition: border-color .2s var(--ease); }
.feed-item:hover { border-color: var(--ink); }
.feed-play { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.feed-play svg { width: 14px; height: 14px; margin-left: 1px; }
.feed-meta { display: flex; flex-direction: column; }
.feed-meta strong { font-weight: 600; font-size: .95rem; }
.feed-meta span { font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-top: .1rem; }
.casestudy { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .8rem; align-items: stretch; margin-top: 1.1rem; }
.cs-step { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.cs-step.cs-after { border-color: rgba(217,119,70,.4); background: color-mix(in srgb, var(--dawn) 8%, var(--paper-2)); }
.cs-tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dawn-deep); }
.cs-step p { margin-top: .45rem; font-size: .9rem; }
.cs-arrow { align-self: center; color: var(--dusk); font-size: 1.2rem; }
@media (max-width: 640px) { .casestudy { grid-template-columns: 1fr; } .cs-arrow { transform: rotate(90deg); justify-self: center; } }
.freebie-block { display: grid; gap: 1rem; }
.freebie-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.freebie-form input { flex: 1; min-width: 12rem; font: inherit; padding: .7em .9em; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); color: var(--ink); }
.freebie-form input:focus { border-color: var(--dawn); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--dawn) 20%, transparent); }
.freebie-done { color: #3f7a55; font-weight: 600; }
@media (max-width: 520px) { .profile-video { width: 100%; aspect-ratio: 16/10; } }

/* ============================================================= engagement ladder */
.ladder { list-style: none; padding: 0; margin: 2.6rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rung { background: var(--ink-2); border: 1px solid rgba(238,241,236,.1); border-radius: 14px; padding: 1.4rem; }
.rung-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dawn); }
.rung h3 { color: var(--paper-on-dark); font-size: 1.16rem; margin-top: .5rem; font-weight: 560; }
.rung p { color: #bcc8bf; font-size: .92rem; margin-top: .5rem; }
@media (max-width: 760px) { .ladder { grid-template-columns: 1fr; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .thread-chev { opacity: .5 !important; }
  * { animation-duration: .001ms !important; }
}
