/* =========================================================================
   DeskHand — workforce rebuild
   Warm paper + navy ink, one accent (logo cyan, deepened for text on paper).
   Fraunces display · Hanken Grotesk body · Outfit wordmark.
   Motion uses transform/opacity only. prefers-reduced-motion respected.
   ========================================================================= */

:root {
  --paper:   #f5f1e8;
  --paper-2: #ece6d8;
  --card:    #fbf9f4;
  --ink:     #0c1b30;
  --ink-2:   #15273f;
  --ink-3:   #1e3350;

  --text:    #14202f;
  --muted:   #4a5566;
  --muted-2: #5d6878;
  --line:    rgba(12, 27, 48, 0.12);
  --line-2:  rgba(12, 27, 48, 0.22);

  --accent:        #0b6a87;   /* text-safe on paper (≈5.9:1) */
  --accent-bright: #3ac8f5;   /* logo cyan, used on ink only */
  --accent-wash:   rgba(11, 106, 135, 0.08);

  --on-ink:        #eef2f6;
  --on-ink-muted:  #a9b6c6;
  --on-ink-line:   rgba(238, 242, 246, 0.14);

  --success: #1f7a4d;
  --danger:  #b3261e;

  /* aliases kept for privacy.html */
  --teal-soft: var(--accent);

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Outfit", var(--font-sans);

  --container: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 12px); }
@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 {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  color-scheme: light;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }

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

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 32px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-sm { padding: 56px 0; }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink h2, .band-ink h3 { color: var(--on-ink); }
.band-ink h2 em { color: var(--accent-bright); }
.band-paper-2 { background: var(--paper-2); }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.band-ink .eyebrow { color: var(--accent-bright); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.lede { margin-top: 18px; font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-3); }
.band-ink .btn-primary { background: var(--accent-bright); color: var(--ink); }
.band-ink .btn-primary:hover { background: #6fd8f8; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(245, 241, 232, 0.97); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-word { font-family: var(--font-brand); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-word span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: .95rem; color: var(--muted); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent; cursor: pointer; padding: 10px; }
.mobile-menu { display: none; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .mobile-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0; display: grid; gap: 4px;
    padding: 12px 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .mobile-menu.open { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
  .mobile-menu .btn { margin-top: 12px; }
}

/* ----------------------------- Hero ----------------------------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.kicker { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -0.025em; }
.hero h1 em { display: inline-block; }
.subhead { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.hero-points b { color: var(--ink); font-weight: 600; }

/* Shift report card */
.report {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(12,27,48,.04), 0 24px 48px -24px rgba(12,27,48,.28);
  overflow: hidden;
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.report-k { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.report-biz { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin-top: 2px; transition: opacity .3s; }
.report-day { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--paper-2); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.report-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.kpi { padding: 16px 18px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-money b { color: var(--accent); }
.kpi > span { display: block; font-size: .76rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.report-log { padding: 8px 22px; height: 236px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }
.log-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-size: .87rem; line-height: 1.45; animation: rowIn .45s var(--ease) both;
}
.log-row:last-child { border-bottom: 0; }
.log-row time { font-variant-numeric: tabular-nums; color: var(--muted-2); font-size: .8rem; padding-top: 1px; }
.log-row .who { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; color: var(--accent); }
.log-row .who.crm { color: #7a5a1e; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.report-foot {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: var(--ink); color: var(--on-ink);
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.report-foot.show { opacity: 1; transform: none; }
.who-badge { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-bright); color: var(--ink); padding: 4px 8px; border-radius: 4px; }
.report-foot-txt { display: grid; font-size: .85rem; line-height: 1.35; }
.report-foot-txt b { font-weight: 600; }
.report-foot-txt span { color: var(--on-ink-muted); }
.stage-caption { margin-top: 14px; font-size: .85rem; color: var(--muted-2); text-align: center; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; }
}
@media (max-width: 520px) {
  .kpi { padding: 14px 12px; }
  .kpi b { font-size: 1.45rem; }
  .report-log { padding: 6px 16px; }
  .report-head, .report-foot { padding-inline: 16px; }
}

/* ---------------------------- Problem ---------------------------- */
.problem-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.problem-head p { margin-top: 20px; color: var(--on-ink-muted); font-size: 1.1rem; }
.leaks { display: grid; }
.leaks li { display: block; padding: 24px 0; position: relative; }
.leaks li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--on-ink-line); transform-origin: left; transition: transform 1s var(--ease) calc(var(--i, 0) * 120ms); }
.leaks li:last-child { border-bottom: 1px solid var(--on-ink-line); }
.leak-n { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--accent-bright); padding-top: 2px; }
.leaks h3 { font-size: 1.25rem; }
.leaks p { color: var(--on-ink-muted); margin-top: 6px; }
@media (max-width: 860px) { .problem-wrap { grid-template-columns: 1fr; } }

/* ----------------------------- Team ----------------------------- */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 36px); display: flex; flex-direction: column; }
.role-head { display: flex; align-items: center; gap: 16px; }
.role-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; }
.role-ico svg { width: 24px; height: 24px; }
.role-k { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.role h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 2px; }
.role-sum { margin-top: 20px; color: var(--muted); font-size: 1.04rem; }
.role-spec { margin-top: 24px; border-top: 1px solid var(--line); }
.role-spec div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.role-spec dt { color: var(--muted-2); font-weight: 500; }
.role-spec dd { margin: 0; color: var(--text); }
.role-kpis { margin-top: auto; padding-top: 24px; }
.role-kpis-h { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.role-kpis ul { display: flex; flex-wrap: wrap; gap: 8px; }
.role-kpis li { font-size: .86rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }

.roster-h { margin: 48px 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); display: flex; align-items: center; gap: 14px; }
.roster-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.roles-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-sm { padding: clamp(22px, 2.6vw, 28px); }
.role-sm .role-ico { width: 44px; height: 44px; }
.role-sm .role-ico svg { width: 21px; height: 21px; }
.role-sm h3 { font-size: 1.35rem; }
.role-sm .role-sum { font-size: .95rem; margin-top: 16px; }
.role-sm .role-kpis li { font-size: .8rem; padding: 5px 10px; }
.honest-note { margin-top: 32px; max-width: 760px; font-size: .98rem; color: var(--muted); padding-left: 16px; border-left: 2px solid var(--accent); }
.honest-note b { color: var(--ink); }
@media (max-width: 860px) {
  .roles, .roles-3 { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1080px) { .roles-3 { grid-template-columns: 1fr 1fr; } }

/* -------------------------- Calculator -------------------------- */
.calc-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.calc-controls { margin-top: 36px; display: grid; gap: 26px; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .95rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.calc-field output { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--p), var(--line-2) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(12,27,48,.2); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }

.calc-result { background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.calc-k { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.calc-big { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; margin-top: 14px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-big small { font-family: var(--font-sans); font-size: 1rem; color: var(--on-ink-muted); margin-left: 6px; letter-spacing: 0; }
.calc-year { margin-top: 12px; color: var(--on-ink-muted); }
.calc-year b { color: var(--accent-bright); font-weight: 600; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; border-top: 1px solid var(--on-ink-line); border-bottom: 1px solid var(--on-ink-line); }
.calc-split div { padding: 14px 0; }
.calc-split div + div { padding-left: 18px; border-left: 1px solid var(--on-ink-line); }
.calc-split div > span { display: block; font-size: .8rem; color: var(--on-ink-muted); }
.calc-split b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.calc-fine { margin-top: 14px; font-size: .8rem; color: var(--on-ink-muted); }
.cur-toggle { display: inline-flex; margin-top: 18px; border: 1px solid var(--on-ink-line); border-radius: 999px; padding: 3px; }
.cur-toggle button { background: transparent; border: 0; color: var(--on-ink-muted); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.cur-toggle button.active { background: var(--on-ink); color: var(--ink); }
@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; } }

/* --------------------------- Timeline --------------------------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: left; transition: transform 1.4s var(--ease); }
.timeline li { padding: 24px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li:last-child::before { background: var(--ink); }
.tl-when { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.timeline h3 { font-size: 1.2rem; }
.timeline p { margin-top: 8px; font-size: .94rem; color: var(--muted); }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; margin-left: 4px; }
  .timeline::after { right: auto; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .timeline li { padding: 0 0 32px 28px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { top: 4px; left: -5px; }
}

/* ---------------------------- Compare ---------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.compare-table tbody th { font-weight: 500; color: var(--ink); width: 28%; }
.compare-table td { color: var(--muted); }
.compare-table .col-us { background: var(--accent-wash); color: var(--ink); font-weight: 600; }
.compare-table thead .col-us { color: var(--accent); }

/* ---------------------------- Pricing ---------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.price-k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.price-big { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3rem); color: var(--ink); line-height: 1.05; margin-top: 14px; font-variant-numeric: tabular-nums; }
.price-big-text { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.price-from { font-family: var(--font-sans); font-size: .95rem; color: var(--muted); }
.price-sub { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.ticks { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: .93rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-card-ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.price-card-ink .price-k { color: var(--accent-bright); }
.price-card-ink .price-big { color: var(--on-ink); }
.price-card-ink .price-sub { color: var(--on-ink-muted); }
.price-card-ink .btn { margin-top: auto; }
.price-card-ink .price-sub { margin-bottom: 28px; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }

/* ------------------------- Lead capture ------------------------- */
.capture-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.capture-copy p { margin-top: 20px; color: var(--on-ink-muted); font-size: 1.08rem; }
.after-book { margin-top: 32px; display: grid; gap: 16px; }
.after-book li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: var(--on-ink-muted); }
.after-book li span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--on-ink-line); display: grid; place-items: center; font-size: .82rem; font-weight: 600; color: var(--accent-bright); }
.after-book b { color: var(--on-ink); font-weight: 600; }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 36px); }
.form-card h3 { color: var(--ink); font-size: 1.5rem; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--card); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.field .err { display: none; font-size: .82rem; color: var(--danger); }
.field.invalid input { border-color: var(--danger); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-fine { margin-top: 12px; font-size: .82rem; color: var(--muted-2); text-align: center; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: .92rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(31,122,77,.1); color: var(--success); }
.form-status.bad { background: rgba(179,38,30,.08); color: var(--danger); }
@media (max-width: 900px) { .capture-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ------------------------------ FAQ ------------------------------ */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ink);
}
.faq-q .ico { flex: none; position: relative; width: 16px; height: 16px; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq-q .ico::after { transform: rotate(90deg); }
.faq-item.open .ico::after { transform: rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding-bottom: 22px; color: var(--muted); max-width: 64ch; }

/* --------------------------- Final CTA --------------------------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.final-cta p { margin: 18px auto 0; color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.final-cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* --------------------------- Newsletter -------------------------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.newsletter h2 { font-size: 1.5rem; }
.newsletter p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.news-form input { flex: 1 1 220px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--card); }
.news-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.news-status { flex-basis: 100%; font-size: .88rem; min-height: 1.2em; }
.news-status.ok { color: var(--success); }
.news-status.bad { color: var(--danger); }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }

/* ----------------------------- Footer ---------------------------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 64px 0 32px; font-size: .93rem; }
.site-footer .brand-word { color: var(--on-ink); }
.site-footer .brand-word span { color: var(--accent-bright); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 40ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h3 { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 4px; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--on-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--on-ink-line); font-size: .85rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------- Sticky CTA ---------------------------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    background: var(--ink); color: var(--on-ink); border-radius: var(--r-md); padding: 10px 10px 10px 16px;
    box-shadow: 0 12px 30px -10px rgba(12,27,48,.5);
    transform: translateY(140%); transition: transform .3s var(--ease);
  }
  .sticky-cta.show:not(.hide) { transform: none; }
  .sticky-cta .inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .sticky-cta b { display: block; font-size: .95rem; }
  .sticky-cta span { display: block; font-size: .78rem; color: var(--on-ink-muted); }
  .sticky-cta .btn { background: var(--accent-bright); color: var(--ink); }
}

/* ------------------------------ Reveal ------------------------------ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease) var(--rd, 0ms), transform .6s var(--ease) var(--rd, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
.price-to { margin: 0 .12em; color: var(--muted-2); }
.price-unit { font-family: var(--font-sans); font-size: 1rem; color: var(--muted); margin-left: 6px; }

/* ------------------------------ Legal pages ------------------------------ */
.legal { width: min(760px, 100% - 32px); padding: clamp(48px, 8vw, 88px) 0 96px; }
.legal-k { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal .updated { color: var(--muted-2); font-size: .9rem; margin-top: 10px; }
.legal h2 { font-size: 1.45rem; margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(11,106,135,.35); }
.legal a:hover { text-decoration-color: var(--accent); }
.legal strong { color: var(--text); font-weight: 600; }
.legal-toc { margin-top: 32px; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.legal-toc ol { list-style: decimal; padding-left: 22px; columns: 2; column-gap: 32px; font-size: .92rem; }
.legal-toc li { line-height: 1.9; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-links { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.site-footer .footer-bottom:first-child { margin-top: 0; }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }
.form-fine a, .price-sub a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------ Motion (subtle) ------------------------------ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; background: var(--accent); pointer-events: none; }

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .8;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 20%, transparent 78%);
}

.rotator { display: inline-block; text-align: left; color: var(--ink); }
.rot-word { display: inline-block; transition: opacity .32s var(--ease), transform .32s var(--ease); }
.rot-word.out { opacity: 0; transform: translateY(-6px); }
.rot-word.in { animation: rotIn .42s var(--ease) both; }
@keyframes rotIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.marquee-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; align-items: center; gap: 28px; overflow: hidden; }
.marquee-label { flex: none; padding-left: max(16px, calc((100vw - var(--container)) / 2)); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 1.05rem; color: var(--muted); padding: 0 22px; white-space: nowrap; position: relative; }
.marquee-track span::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marquee-label { display: none; } }

.hero-stage { perspective: 1100px; }
.report { transform-style: preserve-3d; }

.btn-primary.shine { position: relative; overflow: hidden; }
.btn-primary.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease);
}
.btn-primary.shine:hover::after { left: 120%; }
.btn-primary:hover { box-shadow: 0 10px 22px -12px rgba(12,27,48,.55); }
.magnetic { transition: transform .25s var(--ease), background-color .2s, box-shadow .2s; }

/* .settled is added once the reveal fade finishes, so hover lift doesn't fight it */
.role.settled, .price-card.settled { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.role.settled:hover, .price-card.settled:not(.price-card-ink):hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(12,27,48,.35); border-color: var(--line-2); }
.role .role-ico { transition: transform .3s var(--ease); }
.role:hover .role-ico { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .role.settled:hover, .price-card.settled:hover { transform: none; }
}

/* ---------------------------- Report micro-motion ---------------------------- */
.report-k { display: inline-flex; align-items: center; gap: 7px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: livePulse 2.4s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(31,122,77,.45); } 70% { box-shadow: 0 0 0 7px rgba(31,122,77,0); } 100% { box-shadow: 0 0 0 0 rgba(31,122,77,0); } }
.log-row .dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.log-row .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); animation: typ 1.1s infinite ease-in-out; }
.log-row .dots i:nth-child(2) { animation-delay: .15s; }
.log-row .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.log-row .logged {
  margin-left: 8px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--success); background: rgba(31,122,77,.08); border-radius: 4px; padding: 1px 5px; vertical-align: 1px;
  animation: loggedIn .4s var(--ease) .45s both;
}
@keyframes loggedIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.report-foot.show .who-badge { animation: needYou 2.2s ease-in-out .4s infinite; }
@keyframes needYou { 0%, 100% { box-shadow: 0 0 0 0 rgba(58,200,245,0); } 50% { box-shadow: 0 0 12px 1px rgba(58,200,245,.55); } }
.kpi b { transition: color .3s; }
@media (prefers-reduced-motion: reduce) { .live-dot, .log-row .dots i, .report-foot.show .who-badge { animation: none; } }

/* ---------------------------- Role links ---------------------------- */
.role { position: relative; }
.role-more { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--accent); }
.role-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.role-more span { transition: transform .25s var(--ease); }
.role:hover .role-more span { transform: translateX(3px); }
.role:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.role-more:focus-visible { outline: none; }

.footer-role { display: inline-flex; align-items: center; gap: 9px; }
.footer-role svg { flex: none; color: var(--accent-bright); opacity: .75; transition: opacity .2s, transform .2s var(--ease); }
.footer-role:hover svg { opacity: 1; transform: translateX(2px); }
.footer-role[aria-current="page"] { color: var(--on-ink); }

/* ---------------------------- Role pages ---------------------------- */
.role-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 104px); }
.role-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.crumb { display: block; width: max-content; font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumb:hover { color: var(--ink); }
.role-hero-k { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.role-hero-k .role-ico { width: 40px; height: 40px; }
.role-hero-k .role-ico svg { width: 18px; height: 18px; }
.role-hero h1 { margin-top: 20px; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.025em; }
.role-name { display: block; font-style: italic; color: var(--accent); font-size: .55em; letter-spacing: -0.01em; margin-bottom: 10px; }
.role-spec-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 24px 48px -28px rgba(12,27,48,.28); }
.role-spec-card .role-spec { margin-top: 16px; }
.role-spec-card .role-kpis { margin-top: 0; padding-top: 22px; }

.handles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.handles li { background: var(--card); padding: 26px 24px; }
.handles h3 { font-size: 1.15rem; }
.handles p { margin-top: 8px; font-size: .94rem; color: var(--muted); }

.day-wrap, .tools-wrap, .role-price { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.day-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; }
.day-list { margin-top: 10px; }
.day-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.day-list li:last-child { border-bottom: 0; }
.day-list time { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; font-size: .88rem; padding-top: 1px; }

.kpi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kpi-card { border: 1px solid var(--on-ink-line); border-radius: var(--r-lg); padding: 26px; }
.kpi-n { font-family: var(--font-display); font-style: italic; color: var(--accent-bright); }
.kpi-card h3 { margin-top: 10px; font-size: 1.3rem; }
.kpi-card p { margin-top: 8px; color: var(--on-ink-muted); font-size: .95rem; }
.band-ink .lede { color: var(--on-ink-muted); }

.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tools li { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: .93rem; font-weight: 500; color: var(--ink); }
.lede a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.role-price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role-price-card .price-k { display: block; }
.role-price-card b { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--ink); font-variant-numeric: tabular-nums; }
.role-price-card small { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); margin-left: 5px; }
.role-price-card .btn { grid-column: 1 / -1; }

.other-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.other-role { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.other-role.settled:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(12,27,48,.35); border-color: var(--line-2); }
.other-role .role-ico { width: 42px; height: 42px; }
.other-role .role-ico svg { width: 19px; height: 19px; }
.other-role .role-k { display: block; font-size: .68rem; }
.other-role b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.other-arrow { margin-left: auto; color: var(--accent); transition: transform .25s var(--ease); }
.other-role:hover .other-arrow { transform: translateX(3px); }

@media (max-width: 960px) {
  .role-hero-inner, .day-wrap, .tools-wrap, .role-price { grid-template-columns: 1fr; }
  .handles, .kpi-cards { grid-template-columns: 1fr 1fr; }
  .other-roles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .handles, .kpi-cards, .other-roles, .role-price-card { grid-template-columns: 1fr; }
}

/* ------------------------- Role click cues (stronger) ------------------------- */
.role { cursor: pointer; overflow: hidden; }
.role::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.role:hover::before, .role:focus-within::before { transform: scaleX(1); }
.role.settled:hover { transform: translateY(-6px); border-color: rgba(11,106,135,.45); box-shadow: 0 26px 48px -26px rgba(12,27,48,.45); }
.role:hover .role-ico { background: var(--accent); color: var(--paper); }
.role .role-ico { transition: transform .3s var(--ease), background-color .3s, color .3s; }

/* "Meet the …" is now a visible pill with a nudging arrow */
.role-more {
  align-self: flex-start; padding: 9px 14px 9px 16px; border-radius: 999px;
  background: var(--accent-wash); border: 1px solid rgba(11,106,135,.22);
  transition: background-color .25s, color .25s, border-color .25s;
}
.role:hover .role-more { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.role-more span { display: inline-block; animation: nudge 2.6s var(--ease) infinite; }
.role:hover .role-more span { animation: none; transform: translateX(4px); }
@keyframes nudge { 0%, 60%, 100% { transform: translateX(0); } 70% { transform: translateX(5px); } 80% { transform: translateX(0); } 88% { transform: translateX(3px); } }

/* one-time glint across each card when it first settles in view */
.role::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(11,106,135,.10), transparent); transform: skewX(-16deg);
}
.role.settled::after { animation: glint 1.1s var(--ease) var(--gd, 0ms) 1 both; }
@keyframes glint { from { left: -40%; } to { left: 130%; } }

.other-role .other-arrow { display: inline-block; animation: nudge 2.6s var(--ease) infinite; }
.other-role:hover { border-color: rgba(11,106,135,.45); }
.other-role:hover .role-ico { background: var(--accent); color: var(--paper); }
.other-role .role-ico { transition: background-color .3s, color .3s; }

@media (prefers-reduced-motion: reduce) {
  .role-more span, .other-role .other-arrow, .role.settled::after { animation: none; }
}

/* ------------------------------ Audit polish ------------------------------ */
/* Browser surfaces themed from the palette (Impeccable craft floor) */
::selection { background: rgba(11,106,135,.18); color: var(--ink); }
.band-ink ::selection, .site-footer ::selection { background: rgba(58,200,245,.3); color: var(--on-ink); }
html { accent-color: var(--accent); caret-color: var(--accent); scrollbar-color: rgba(12,27,48,.35) var(--paper); }
a, button, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(11,106,135,.12); }

/* Balanced headings, no orphans in body copy (Vercel typography) */
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* Footer + legal links get proper tap targets on touch screens */
@media (pointer: coarse) {
  .footer-col a, .footer-bottom a { min-height: 40px; display: inline-flex; align-items: center; }
  .footer-col { gap: 2px; }
}

/* Pause-motion control */
.motion-toggle {
  position: absolute; right: max(16px, calc((100vw - var(--container)) / 2)); top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; min-height: 32px;
  font-size: .78rem; font-weight: 600; color: var(--muted); cursor: pointer;
  background: rgba(251,249,244,.8); border: 1px solid var(--line); border-radius: 999px;
  transition: color .2s, border-color .2s, background-color .2s;
}
.motion-toggle:hover { color: var(--ink); border-color: var(--line-2); background: var(--card); }
.motion-toggle[aria-pressed="true"] svg { display: none; }
.motion-toggle[aria-pressed="true"]::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .role.settled::after { animation: none; }
@media (max-width: 960px) { .motion-toggle { top: 8px; } }

/* ------------------------------ More movement ------------------------------ */
/* Hero headline: each sentence resolves in turn (the page's one authored moment) */
.js .hl { animation: hlIn .9s cubic-bezier(.16,1,.3,1) both; }
.js h1 .hl:nth-child(1) { animation-delay: .05s; }
.js h1 .hl:nth-child(2) { animation-delay: .22s; }
.js h1 .hl:nth-child(3) { animation-delay: .42s; }
@keyframes hlIn { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }

/* Lines that draw themselves when they scroll into view */
.js [data-draw]:not(.drawn).timeline::after { transform: scaleX(0); }
.js [data-draw]:not(.drawn).leaks li::before { transform: scaleX(0); }
@media (max-width: 960px) { .js [data-draw]:not(.drawn).timeline::after { transform: scaleY(0); } }
.js .timeline[data-draw] li::before { transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1) calc(.25s + var(--i, 0) * 260ms), background-color .3s calc(.25s + var(--i, 0) * 260ms); }
.js .timeline.drawn li::before { transform: none; }
.js .timeline[data-draw] .tl-when { opacity: 0; transition: opacity .5s var(--ease) calc(.3s + var(--i, 0) * 260ms); }
.js .timeline.drawn .tl-when { opacity: 1; }

/* Role pages: the day log plays in, tool chips pop in */
.js .day-list[data-draw] li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) calc(var(--i, 0) * 320ms), transform .5s var(--ease) calc(var(--i, 0) * 320ms); }
.js .day-list.drawn li { opacity: 1; transform: none; }
.day-list li time { transition: color .4s; }
.js .tools[data-draw] li { opacity: 0; transform: translateY(6px) scale(.94); transition: opacity .4s var(--ease) calc(var(--i, 0) * 60ms), transform .45s cubic-bezier(.34,1.56,.64,1) calc(var(--i, 0) * 60ms); }
.js .tools.drawn li { opacity: 1; transform: none; }
.tools li { transition: border-color .2s, color .2s; }
.tools li:hover { border-color: var(--accent); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .js .hl { animation: none; }
  .js [data-draw] li, .js [data-draw] li::before, .js [data-draw]::after, .js [data-draw] .tl-when { transform: none !important; opacity: 1 !important; }
}
