/* ───────────────────────────────────────────────────────────
   Career Canvas — Free Career Health Check
   Page-specific styles. Loads AFTER site-v2.css (tokens + pills + grain).
   A standalone, full-bleed editorial experience.
   ─────────────────────────────────────────────────────────── */

/* hidden must always win over component display rules */
[hidden] { display: none !important; }

html, body { height: 100%; background: var(--paper-2); }
body { min-height: 100vh; }

/* ── Stage: the editorial sheet, centred on paper ───────────── */
.hc-stage {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  max-width: 860px; margin: 0 auto;
  padding: 0 40px;
  background: var(--paper-2);
}

/* Masthead — persistent thin rule at the very top */
.hc-mast {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0 12px; border-bottom: 1px solid var(--ink);
  position: relative; z-index: 4;
}
.hc-mast .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; flex-shrink: 0; }
.hc-mast .brand .word { font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.hc-mast .brand .word .dot { color: var(--tomato); }
.hc-mast .center {
  font-family: var(--cond); font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: baseline; gap: 10px;
}
.hc-mast .center .num { font-family: var(--mono); color: var(--tomato); letter-spacing: 0.08em; }
.hc-mast .right {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
}
.hc-mast .free {
  font-family: var(--cond); font-weight: 700; font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--tomato); color: var(--paper);
}

/* ── Progress folio — sits under the masthead during intake ── */
.hc-folio {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0 0; position: relative; z-index: 4;
}
.hc-folio .track {
  flex: 1; height: 2px; background: var(--paper-3); position: relative; overflow: hidden;
}
.hc-folio .track .fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: var(--tomato); transition: width 0.5s cubic-bezier(0.22,0.61,0.36,1);
}
.hc-folio .count {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.hc-folio .count b { color: var(--tomato); font-weight: 700; }

/* ── Screen wrapper — each state ────────────────────────────── */
.hc-body { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hc-screen { display: none; }
.hc-screen.on { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hc-screen.on { animation: hc-drift 0.5s cubic-bezier(0.22,0.61,0.36,1); }
}
/* Transform-only drift: content stays visible even if the animation
   is throttled/paused (e.g. backgrounded tab) — never rests hidden. */
@keyframes hc-drift {
  from { transform: translateY(16px); }
  to   { transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   HOOK / COVER SCREEN
   ════════════════════════════════════════════════════════════ */
.hc-hook { padding: 40px 0; position: relative; }
.hc-hook .cover-blobs {
  position: absolute; top: 240px; right: -120px; width: 460px; height: 460px;
  pointer-events: none; z-index: 0;
}
.hc-hook .cover-blobs .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; opacity: 1; }
.hc-hook .cover-blobs .b1 { top: 0;   right: 60px;  width: 260px; height: 260px; background: var(--tomato); }
.hc-hook .cover-blobs .b2 { top: 90px; right: 220px; width: 180px; height: 180px; background: var(--teal); }
.hc-hook .cover-blobs .b3 { top: 180px; right: 80px; width: 150px; height: 150px; background: var(--mustard); }
.hc-hook .cover-blobs .b4 { top: 250px; right: 210px; width: 70px; height: 70px; background: var(--lavender); }

.hc-hook .eyebrow {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; position: relative; z-index: 3;
}
.hc-hook .eyebrow .fnum { font-family: var(--mono); color: var(--tomato); font-size: 11.5px; letter-spacing: 0.08em; }
.hc-hook .eyebrow .fl { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 11.5px; color: var(--ink-2); }

.hc-hook h1 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 8vw, 92px); line-height: 0.92; letter-spacing: -0.025em;
  margin: 0 0 26px; max-width: 14ch; position: relative; z-index: 3;
}
.hc-hook h1 .dot { color: var(--tomato); }
.hc-hook .sub {
  font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.45;
  color: var(--ink-2); max-width: 30ch; margin: 0 0 34px; position: relative; z-index: 3;
}
.hc-hook .sub em { color: var(--tomato); }
.hc-hook .hook-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; z-index: 3; }
.hc-hook .hook-meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 12px;
}
.hc-hook .hook-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--tomato); }

/* dimension preview ribbon on the hook */
.hc-hook .dims-ribbon {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 48px; position: relative; z-index: 3;
  border-top: 1px solid var(--rule-soft);
}
.hc-hook .dims-ribbon .d {
  flex: 1; min-width: 110px; padding: 14px 0; border-bottom: 1px solid transparent;
}
.hc-hook .dims-ribbon .d .n { font-family: var(--mono); font-size: 9.5px; color: var(--tomato); letter-spacing: 0.08em; }
.hc-hook .dims-ribbon .d .t {
  font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-2); margin-top: 5px;
}

/* ════════════════════════════════════════════════════════════
   INTAKE — slider / recognition / open question
   ════════════════════════════════════════════════════════════ */
.hc-q { padding: 18px 0 28px; max-width: 660px; }
.hc-q .q-eyebrow {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px;
}
.hc-q .q-eyebrow .num { font-family: var(--mono); color: var(--tomato); font-size: 11px; letter-spacing: 0.08em; font-weight: 700; }
.hc-q .q-eyebrow .lbl { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.hc-q .statement {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 6px; color: var(--ink); text-wrap: balance;
}
.hc-q .q-hint {
  font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-3);
  margin: 12px 0 0; max-width: 48ch;
}

/* ── Slider ─── */
.hc-slider { margin-top: 40px; }
.hc-slider .readout {
  font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1;
  color: var(--tomato); margin-bottom: 22px; height: 34px;
}
.hc-slider .track-wrap { position: relative; }
.hc-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
  background: var(--paper-3); border-radius: 999px; outline: none; margin: 0;
  border: 1px solid var(--rule-soft);
}
.hc-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--tomato); border: 2px solid var(--ink); cursor: grab;
  box-shadow: 0 2px 8px -2px rgba(21,17,13,0.4);
}
.hc-slider input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; }
.hc-slider input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--tomato); border: 2px solid var(--ink); cursor: grab;
}
.hc-slider .ticks {
  display: flex; justify-content: space-between; margin-top: 6px; padding: 0 2px;
}
.hc-slider .ticks .tk { width: 1px; height: 7px; background: var(--rule-soft); }
.hc-slider .ends {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-family: var(--cond); font-weight: 700; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ── Recognition chips (multiple choice) ─── */
.hc-choices { margin-top: 34px; display: flex; flex-direction: column; gap: 0; }
.hc-choice {
  display: flex; align-items: center; gap: 18px; width: 100%;
  text-align: left; cursor: pointer;
  background: transparent; border: none; border-top: 1px solid var(--rule-soft);
  padding: 18px 6px; color: var(--ink);
  transition: background 0.16s, padding 0.16s;
}
.hc-choice:last-child { border-bottom: 1px solid var(--rule-soft); }
.hc-choice .ci {
  font-family: var(--mono); font-size: 11px; color: var(--tomato); font-weight: 700;
  letter-spacing: 0.08em; flex-shrink: 0; width: 28px;
}
.hc-choice .ct {
  font-family: var(--display); font-style: italic; font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2; letter-spacing: -0.01em; flex: 1;
}
.hc-choice .cx {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rule-mid);
  flex-shrink: 0; position: relative; transition: border-color 0.16s;
}
.hc-choice:hover { background: var(--paper-2); padding-left: 14px; padding-right: 14px; }
.hc-choice.on { background: var(--ink); padding-left: 14px; padding-right: 14px; }
.hc-choice.on .ct, .hc-choice.on .ci { color: var(--paper); }
.hc-choice.on .ci { color: var(--mustard); }
.hc-choice.on .cx { border-color: var(--paper); background: var(--tomato); }
.hc-choice.on .cx::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--paper);
}

/* ── Open question textarea ─── */
.hc-open { margin-top: 30px; }
.hc-open textarea {
  width: 100%; resize: none; min-height: 100px;
  font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.4;
  color: var(--ink); background: transparent;
  border: none; border-bottom: 2px solid var(--ink); padding: 8px 2px 14px;
}
.hc-open textarea::placeholder { color: var(--ink-3); opacity: 0.55; }
.hc-open textarea:focus { outline: none; border-bottom-color: var(--tomato); }
.hc-open .open-note {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
}
.hc-open .open-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* ── Step nav ─── */
.hc-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule-soft);
}
.hc-nav .back {
  appearance: none; background: transparent; border: none; cursor: pointer;
  font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px;
}
.hc-nav .back:hover { color: var(--ink); }
.hc-nav .back[hidden] { visibility: hidden; display: flex; }

/* ════════════════════════════════════════════════════════════
   EMAIL GATE
   ════════════════════════════════════════════════════════════ */
.hc-gate { padding: 30px 0; max-width: 600px; margin: 0 auto; text-align: left; position: relative; }
.hc-gate .gate-blobs { position: absolute; top: -30px; right: -90px; width: 260px; height: 260px; pointer-events: none; z-index: 0; }
.hc-gate .gate-blobs .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.hc-gate .gate-blobs .b1 { top: 0; right: 30px; width: 150px; height: 150px; background: var(--tomato); }
.hc-gate .gate-blobs .b2 { top: 60px; right: 120px; width: 110px; height: 110px; background: var(--teal); }
.hc-gate .gate-blobs .b3 { top: 110px; right: 50px; width: 80px; height: 80px; background: var(--mustard); }

.hc-gate .ready {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; position: relative; z-index: 3;
  font-family: var(--cond); font-weight: 700; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
}
.hc-gate .ready .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .hc-gate .ready .pulse { animation: hc-pulse 1.6s ease-in-out infinite; }
}
@keyframes hc-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hc-gate h2 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.6vw, 48px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 18px; position: relative; z-index: 3;
}
.hc-gate h2 .dot { color: var(--tomato); }
.hc-gate .gate-sub {
  font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.5;
  color: var(--ink-2); max-width: 38ch; margin: 0 0 30px; position: relative; z-index: 3;
}
.hc-gate .fields { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 3; }
.hc-gate .field label {
  display: block; font-family: var(--cond); font-weight: 700; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px;
}
.hc-gate .field input {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--ink); border-radius: 12px;
  padding: 13px 15px;
}
.hc-gate .field input:focus { outline: 2px solid var(--tomato); outline-offset: 1px; }
.hc-gate .field input.err { outline: 2px solid var(--tomato); outline-offset: 1px; }
.hc-gate .gate-go {
  margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  position: relative; z-index: 3;
}
.hc-gate .reassure {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; line-height: 1.6;
  color: var(--ink-3); text-transform: uppercase; max-width: 28ch;
}
.hc-gate .reassure .em { color: var(--ink-2); }

/* ════════════════════════════════════════════════════════════
   LOADING
   ════════════════════════════════════════════════════════════ */
.hc-loading { padding: 80px 0; text-align: center; }
.hc-loading .ring {
  width: 64px; height: 64px; margin: 0 auto 26px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--tomato), var(--mustard), var(--teal), var(--lavender), var(--tomato));
  -webkit-mask: radial-gradient(circle 25px at center, transparent 99%, #000 100%);
  mask: radial-gradient(circle 25px at center, transparent 99%, #000 100%);
  animation: hc-spin 1.3s linear infinite;
}
@keyframes hc-spin { to { transform: rotate(360deg); } }
.hc-loading h3 {
  font-family: var(--display); font-style: italic; font-size: 38px; line-height: 1;
  letter-spacing: -0.02em; margin: 0 0 14px;
}
.hc-loading h3 .dot { color: var(--tomato); }
.hc-loading .steps {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.hc-loading .steps .now { color: var(--tomato); }

/* ════════════════════════════════════════════════════════════
   RESULT
   ════════════════════════════════════════════════════════════ */
.hc-result { padding: 28px 0 60px; }

/* Archetype banner */
.hc-arch {
  position: relative; padding: 28px 0 30px; margin-bottom: 8px;
  border-bottom: 1px solid var(--ink); overflow: hidden;
}
.hc-arch .arch-blobs { position: absolute; top: -60px; right: -70px; width: 320px; height: 320px; pointer-events: none; z-index: 0; }
.hc-arch .arch-blobs .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.hc-arch .arch-blobs .b1 { top: 30px; right: 40px; width: 180px; height: 180px; background: var(--tomato); }
.hc-arch .arch-blobs .b2 { top: 90px; right: 150px; width: 130px; height: 130px; background: var(--teal); }
.hc-arch .arch-blobs .b3 { top: 130px; right: 30px; width: 100px; height: 100px; background: var(--mustard); }
.hc-arch .arch-eyebrow {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; position: relative; z-index: 3;
}
.hc-arch .arch-eyebrow .num { font-family: var(--mono); color: var(--tomato); font-size: 11px; letter-spacing: 0.08em; }
.hc-arch .arch-eyebrow .lbl { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.hc-arch h2 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 6vw, 72px); line-height: 0.92; letter-spacing: -0.025em;
  margin: 0; position: relative; z-index: 3; max-width: 16ch;
}
.hc-arch h2 .dot { color: var(--tomato); }
.hc-arch .arch-sub {
  font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.4;
  color: var(--ink-2); margin: 14px 0 0; max-width: 36ch; position: relative; z-index: 3;
}

/* Score hero */
.hc-score {
  display: grid; grid-template-columns: auto 1fr; gap: 0 30px;
  padding: 26px 0; border-bottom: 1px solid var(--rule-soft);
}
.hc-score .left { border-right: 1px solid var(--rule-soft); padding-right: 30px; }
.hc-score .big {
  font-family: var(--display); font-style: italic; font-size: 104px; line-height: 0.84;
  color: var(--mustard); letter-spacing: -0.02em;
}
.hc-score .big .of { font-size: 38px; color: var(--ink-3); margin-left: 2px; }
.hc-score .left .lbl {
  font-family: var(--cond); font-weight: 700; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 8px;
}
.hc-score .right { align-self: center; }
.hc-score .right .line {
  font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.2;
  color: var(--ink); letter-spacing: -0.01em;
}
.hc-score .right .line .em { color: var(--tomato); }

/* Section head reused */
.hc-sec-head {
  display: flex; align-items: baseline; gap: 12px; margin: 30px 0 6px;
  padding-bottom: 8px; border-bottom: 1px solid var(--rule-soft);
}
.hc-sec-head .num { font-family: var(--mono); color: var(--tomato); font-size: 11px; letter-spacing: 0.08em; font-weight: 700; }
.hc-sec-head .lbl { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.hc-sec-head .r { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

/* Dimension rows */
.hc-dims { }
.dim-row { padding: 16px 0; border-bottom: 1px solid var(--rule-soft); position: relative; }
.dim-row.low {
  background: rgba(194,58,31,0.05);
  margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  border-bottom-color: rgba(194,58,31,0.25);
}
.dim-row .dr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.dim-row .dr-name { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1; letter-spacing: -0.01em; }
.dim-row .dr-low-tag {
  font-family: var(--cond); font-weight: 700; font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--paper); background: var(--tomato);
  padding: 3px 8px; border-radius: 999px; margin-left: 10px; vertical-align: 3px;
}
.dim-row .dr-metric { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.dim-row .dr-stars { color: var(--tomato); font-size: 17px; letter-spacing: 1px; line-height: 1; }
.dim-row .dr-stars .off { color: var(--ink-3); opacity: 0.35; }
.dim-row .dr-stars.warn { color: var(--mustard); }
.dim-row .dr-stars.risk { color: var(--tomato); }
.dim-row .dr-pct { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--teal); min-width: 38px; text-align: right; }
.dim-row .dr-pct.warn { color: var(--mustard); }
.dim-row .dr-pct.risk { color: var(--tomato); }
.dim-row .dr-track { height: 5px; background: var(--paper-3); border-radius: 2px; position: relative; overflow: hidden; }
.dim-row .dr-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--teal); border-radius: 2px; transition: width 0.7s cubic-bezier(0.22,0.61,0.36,1); }
.dim-row .dr-fill.warn { background: var(--mustard); }
.dim-row .dr-fill.risk { background: var(--tomato); }
.dim-row .dr-reason { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
/* device modes: data-device = stars | bars | both */
.hc-result[data-device="bars"] .dr-stars { display: none; }
.hc-result[data-device="stars"] .dr-track { display: none; }
.hc-result[data-device="stars"] .dr-pct { display: none; }

/* The reading */
.hc-reading {
  position: relative; padding: 26px 30px 28px; margin: 22px 0 0;
  background: var(--paper-2); border: 1px solid var(--rule-soft);
}
.hc-reading::before {
  content: "\201C"; position: absolute; top: 2px; left: 18px;
  font-family: var(--display); font-style: italic; font-size: 64px; color: var(--tomato); line-height: 1;
}
.hc-reading .rd-label {
  font-family: var(--cond); font-weight: 700; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--tomato); margin-bottom: 14px; padding-left: 40px;
}
.hc-reading .rd-body {
  font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.42; color: var(--ink); padding-left: 40px; letter-spacing: -0.005em;
}
.hc-reading .rd-body em { color: var(--tomato); }

/* The gap + CTA */
.hc-gap {
  margin: 30px 0 0; padding: 30px; border: 1px solid var(--ink); background: var(--paper);
  position: relative; overflow: hidden;
}
.hc-gap .gap-blobs { position: absolute; bottom: -80px; left: -50px; width: 240px; height: 240px; pointer-events: none; z-index: 0; }
.hc-gap .gap-blobs .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; opacity: 0.5; }
.hc-gap .gap-blobs .b1 { bottom: 40px; left: 30px; width: 140px; height: 140px; background: var(--tomato); }
.hc-gap .gap-blobs .b2 { bottom: 0; left: 110px; width: 100px; height: 100px; background: var(--mustard); }
.hc-gap .gap-eyebrow {
  font-family: var(--cond); font-weight: 700; font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; position: relative; z-index: 3;
}
.hc-gap h3 {
  font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(28px, 4vw, 40px);
  line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 22ch; position: relative; z-index: 3;
}
.hc-gap h3 .dot { color: var(--tomato); }
.hc-gap .gap-body {
  font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-2);
  max-width: 50ch; margin: 0 0 24px; position: relative; z-index: 3;
}
.hc-gap .gap-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 3; }
.hc-gap .depth {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--rule-mid);
  font-family: var(--display); font-style: italic; font-size: 16px; line-height: 1.5;
  color: var(--ink-3); max-width: 52ch; position: relative; z-index: 3;
}
.hc-gap .depth em { color: var(--tomato); }

/* Share block */
.hc-share { margin: 30px 0 0; }
.hc-share .share-intro {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 22px;
}
.hc-share .share-intro h3 {
  font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1; letter-spacing: -0.02em; margin: 0;
}
.hc-share .share-intro h3 .dot { color: var(--tomato); }
.hc-share .share-intro p {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin: 10px 0 0; max-width: 44ch;
}
.hc-share .card-preview {
  display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap;
}
.hc-share .card-figure { display: flex; flex-direction: column; gap: 12px; }
.hc-share .card-figure canvas {
  display: block; border: 1px solid var(--ink);
  box-shadow: 0 18px 40px -24px rgba(21,17,13,0.5);
  background: var(--paper);
}
.hc-share .card-figure .cap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.hc-share .card-figure .cap .dl {
  appearance: none; cursor: pointer; background: transparent; border: none;
  font-family: var(--cond); font-weight: 700; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tomato); display: flex; align-items: center; gap: 6px;
}
.hc-share .card-figure .cap .dl:hover { color: var(--rust); }
.hc-share .card-story canvas { width: 200px; height: auto; }
.hc-share .card-square canvas { width: 280px; height: auto; }

.hc-share .share-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid var(--rule-soft);
}
.hc-share .perma {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hc-share .perma .lbl { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: 9.5px; }
.hc-share .perma .url { color: var(--tomato); }
.hc-share .perma .copy {
  appearance: none; cursor: pointer; background: transparent; border: 1px solid var(--rule-mid);
  border-radius: 999px; padding: 4px 11px; font-family: var(--cond); font-weight: 700;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.hc-share .perma .copy:hover { border-color: var(--ink); color: var(--ink); }

/* Result footer colophon */
.hc-colophon {
  margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--ink);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.hc-colophon .l b { color: var(--tomato); font-weight: 400; }
.hc-colophon .restart {
  appearance: none; cursor: pointer; background: transparent; border: none;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.hc-colophon .restart:hover { color: var(--tomato); }

/* ── Page footer (hook screen) ─── */
.hc-foot {
  padding: 22px 0; border-top: 1px solid var(--ink); margin-top: auto;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  background: var(--paper-2);
}
.hc-foot b { color: var(--tomato); font-weight: 400; }

/* ── Share card overlay (fullscreen view for native share) ─── */
.hc-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(21,17,13,0.78);
}
.hc-overlay.on { display: flex; }
.hc-overlay .ov-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; max-height: 100%; }
.hc-overlay img { max-height: 78vh; max-width: 90vw; border: 1px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.hc-overlay .ov-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hc-overlay .ov-close {
  appearance: none; cursor: pointer; background: transparent; border: 1px solid var(--paper);
  color: var(--paper); border-radius: 999px; width: 40px; height: 40px; font-size: 18px;
  position: absolute; top: 20px; right: 20px;
}

@media (max-width: 720px) {
  .hc-stage { padding: 0 22px; }
  .hc-mast .right { display: none; }
  .hc-hook .cover-blobs { display: none; }
  .hc-hook .dims-ribbon { display: none; }
  .hc-score { grid-template-columns: 1fr; }
  .hc-score .left { border-right: none; border-bottom: 1px solid var(--rule-soft); padding-right: 0; padding-bottom: 16px; margin-bottom: 16px; }
  .hc-share .card-preview { gap: 16px; }
  .hc-share .card-story canvas { width: 150px; }
  .hc-share .card-square canvas { width: 210px; }
  .hc-share .share-intro { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   FORM SCREEN
   ════════════════════════════════════════════════════════════ */
.hc-form-screen { padding: 44px 0 60px; }
.hc-form-screen .form-eyebrow {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px;
}
.hc-form-screen .form-eyebrow .fnum {
  font-family: var(--mono); color: var(--tomato); font-size: 11.5px; letter-spacing: 0.08em;
}
.hc-form-screen .form-eyebrow .fl {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 11.5px; color: var(--ink-2);
}
.hc-form-screen .form-head {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 6vw, 72px); line-height: 0.95; letter-spacing: -0.025em;
  margin: 0 0 16px; color: var(--ink);
}
.hc-form-screen .form-head .dot { color: var(--tomato); }
.hc-form-screen .form-sub {
  font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.5;
  color: var(--ink-2); max-width: 46ch; margin: 0 0 36px;
}

.form-fields { display: flex; flex-direction: column; gap: 28px; max-width: 520px; }

.hc-field label {
  display: block; font-family: var(--cond); font-weight: 700; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px;
}
.hc-field .opt {
  color: var(--ink-3); font-weight: 400; letter-spacing: 0.08em; text-transform: none;
}
.hc-field input {
  width: 100%; font-family: var(--sans); font-size: 18px; color: var(--ink);
  background: transparent; border: none; border-bottom: 2px solid var(--ink);
  padding: 8px 2px 12px; border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-bottom-color 0.15s;
}
.hc-field input:focus { outline: none; border-bottom-color: var(--tomato); }
.hc-field input.err { border-bottom-color: var(--tomato); }
.hc-field input::placeholder { color: var(--ink-3); opacity: 0.5; font-style: italic; }

/* Tenure button group */
.tenure-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tenure-btn {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  font-family: var(--cond); font-weight: 700; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  background: transparent; border: 1px solid var(--rule-mid);
  border-radius: 999px; padding: 10px 20px;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.tenure-btn:hover { border-color: var(--ink); color: var(--ink); }
.tenure-btn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tenure-btns.err .tenure-btn:not(.on) { border-color: var(--tomato); color: var(--tomato); }

.form-submit { margin-top: 8px; padding-top: 8px; }

/* ════════════════════════════════════════════════════════════
   NEW RESULT SECTIONS
   ════════════════════════════════════════════════════════════ */

/* Result header — headline + timeframe */
.res-header {
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--ink);
}
.res-eyebrow {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px;
}
.res-eyebrow .num {
  font-family: var(--mono); color: var(--tomato); font-size: 11px;
  letter-spacing: 0.08em; font-weight: 700;
}
.res-eyebrow .lbl {
  font-family: var(--cond); font-weight: 700; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
}
#rHeadline {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 24px; color: var(--ink); text-wrap: balance;
}
.res-timeframe {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; line-height: 1.55;
  color: var(--ink-2); border-left: 3px solid var(--tomato);
  padding: 10px 0 10px 16px; max-width: 52ch;
}

/* Horizon */
.res-section {
  padding: 28px 0; border-bottom: 1px solid var(--rule-soft);
}
.res-sec-label {
  font-family: var(--cond); font-weight: 700; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--tomato); margin-bottom: 14px;
}
.res-horizon-body {
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 2.6vw, 23px); line-height: 1.55;
  color: var(--ink); margin: 0; max-width: 60ch;
}

/* At risk / What holds split */
.res-split {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule-soft);
}
.res-col { padding: 26px 0; }
.res-risk-col { border-right: 1px solid var(--rule-soft); padding-right: 32px; }
.res-durable-col { padding-left: 32px; }

.res-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.res-list li {
  font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-2);
  display: flex; align-items: flex-start; gap: 10px;
}
.res-list li::before {
  content: '—'; color: var(--tomato); flex-shrink: 0;
  font-family: var(--mono); font-size: 12px; margin-top: 1px; line-height: 1.45;
}
.res-durable-col .res-list li::before { color: var(--teal); }

/* The move — dark block */
.res-move {
  padding: 28px 30px 32px;
  background: var(--ink);
  margin-bottom: 0;
}
.res-move-label {
  font-family: var(--cond); font-weight: 700; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mustard); margin-bottom: 14px;
}
.res-move-body {
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 2.6vw, 25px); line-height: 1.48;
  color: var(--paper); margin: 0; max-width: 54ch;
}

/* Share section simplified */
.hc-share { margin: 30px 0 0; }

/* Mobile overrides for new result */
@media (max-width: 720px) {
  .hc-form-screen .form-head { font-size: clamp(36px, 8vw, 52px); }
  .res-split { grid-template-columns: 1fr; }
  .res-risk-col {
    border-right: none; border-bottom: 1px solid var(--rule-soft);
    padding-right: 0; padding-bottom: 20px;
  }
  .res-durable-col { padding-left: 0; padding-top: 20px; }
  .res-move { margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; }
}
