/* ============================================================
   SEMICO.AI — Home page styles (namespace: hm-) · v2 "silicon sand"
   Light sand page plane; every box is a dark island (.di or a
   shared island component). Tokens only — suite/product colors
   arrive inline via --sc / --pc custom props.
   ============================================================ */

/* ---------- Utilities ---------- */
.hm-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hm-sec-cta { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
/* etch on the deeper sand band needs the stronger ink (≥4.5:1);
   inside dark islands --ink-2 re-resolves light, so this stays safe */
.section--panel .etch { color: var(--ink-2); }

/* ---------- 1. Hero ---------- */
.hm-hero {
  position: relative;
  min-height: min(84vh, 840px);
  display: flex; align-items: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

/* ---------- 1a. The Decision Line — hero right-column scene ----------
   An ink-drawn conveyor on the sand, in the house character style
   (hexagon-headed agents): decisions arrive as red/amber chips, get
   inspected, stamped CITED, approved by the human at the gate desk,
   and exit green with a receipt. One 24s chip cycle; every station
   works a 6s beat, so the whole line stays in sync. Reduced motion
   (semico.css kills all animation) leaves a readable static tableau:
   one chip at each station, gate open, green chip leaving. */
.hm-hero-line { justify-self: center; width: min(100%, 680px); text-align: center; }
.hm-line { width: 100%; height: auto; }
.hm-line-cap { margin: 10px 0 0; }
/* Enlarged scene rides slightly above the copy's vertical centre (desktop) */
.hm-line, .hm-line-cap { transform: translateY(clamp(-30px, -2.4vw, -12px)); }

/* drawing language (adapted from the DemoForgi school scene) */
.hm-line .sk { stroke: var(--ink-2); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hm-line .sk-thin { stroke: var(--ink-3); stroke-width: 1.5; fill: none; stroke-linecap: round; }
.hm-line .sk-cop { stroke: var(--copper); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hm-line .sk-good { stroke: var(--sand-good); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hm-line .hm-fine { stroke-width: 1.4; }
.hm-line .hm-fillink { fill: var(--ink-2); stroke: none; }
.hm-line .etx {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; fill: var(--ink-3);
}

/* scenery */
.hm-signplate { fill: var(--glass); stroke: var(--ink-3); stroke-width: 1.5; }
.hm-signtxt { font-size: 9.5px; fill: var(--ink-2); }
.hm-sign { animation: hmSway 7s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 0%; }
.hm-beacon { fill: var(--sand-bad); animation: hmBlink 1.6s ease-in-out infinite; }
.hm-belt { fill: var(--bg-page); stroke: var(--ink-2); stroke-width: 2.4; }
.hm-beltline {
  stroke: var(--ink-3); stroke-width: 1.6; fill: none;
  stroke-dasharray: 7 9; animation: hmBeltMove 0.9s linear infinite;
}
.hm-roller { animation: hmSpin 1.15s linear infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.hm-desk { fill: var(--bg-page); stroke: var(--ink-2); stroke-width: 2; }
.hm-hexmark { fill: none; stroke: var(--copper); stroke-width: 1.5; stroke-linejoin: round; }
.hm-fine-t { font-size: 7px; letter-spacing: 0.1em; }

/* decision chips: --dc carries the state color (status = state, not series) */
.hm-dc--red { --dc: var(--sand-bad); }
.hm-dc--amb { --dc: var(--sand-equipment); }
.hm-dc-ok  { --dc: var(--sand-good); }
.hm-dc-body { fill: var(--bg-page); stroke: var(--dc); stroke-width: 2.2; }
.hm-dc-pin { stroke: var(--dc); stroke-width: 2; stroke-linecap: round; fill: none; }
.hm-dc-dot { fill: var(--dc); }
.hm-dc-hot .hm-dc-dot { animation: hmBlink 1.4s ease-in-out infinite; }
.hm-dc-lab {
  font-family: var(--font-mono); font-weight: 600; font-size: 9px;
  letter-spacing: 0.06em; fill: var(--ink); text-anchor: middle;
}
.hm-dc-lab--s { font-size: 8.5px; }
.hm-dc-tag rect { fill: var(--bg-page); stroke: var(--copper); stroke-width: 1.8; }
.hm-dc-tag text {
  font-family: var(--font-mono); font-weight: 700; font-size: 8px;
  letter-spacing: 0.05em; fill: var(--copper); text-anchor: middle;
}
.hm-dc-rtail { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 3 4; fill: none; }
.hm-receipt rect { fill: var(--bg-page); stroke: var(--ink-3); stroke-width: 1.5; }
.hm-receipt path { stroke: var(--ink-3); stroke-width: 1.3; fill: none; stroke-linecap: round; }
.hm-receipt { animation: hmFlutter 1.9s ease-in-out infinite; transform-box: fill-box; transform-origin: 90% 15%; }

/* the ride: same waypoints for all four chips (offset per chip so the
   non-animated base = one chip per station), staggered by -6s each */
.hm-dc-ride { animation: hmRide1 24s ease-in-out infinite; }
.hm-dc--2 .hm-dc-ride { animation-name: hmRide2; }
.hm-dc--3 .hm-dc-ride { animation-name: hmRide3; }
.hm-dc--4 .hm-dc-ride { animation-name: hmRide4; }
.hm-dc-hot { animation: hmDcHot 24s linear infinite; }
.hm-dc-ok  { opacity: 0; animation: hmDcOk 24s linear infinite; }
.hm-dc-tag { opacity: 0; animation: hmDcTag 24s linear infinite; }
.hm-dc--2 :is(.hm-dc-ride, .hm-dc-hot, .hm-dc-ok, .hm-dc-tag) { animation-delay: -6s; }
.hm-dc--3 :is(.hm-dc-ride, .hm-dc-hot, .hm-dc-ok, .hm-dc-tag) { animation-delay: -12s; }
.hm-dc--4 :is(.hm-dc-ride, .hm-dc-hot, .hm-dc-ok, .hm-dc-tag) { animation-delay: -18s; }
/* static tableau (reduced motion): stamped tags on 2 & 3, chip 4 cleared */
.hm-dc--2 .hm-dc-tag, .hm-dc--3 .hm-dc-tag, .hm-dc--4 .hm-dc-tag { opacity: 1; }
.hm-dc--4 .hm-dc-hot { opacity: 0; }
.hm-dc--4 .hm-dc-ok { opacity: 1; }

/* station crews — every station works a 6s beat (24s ÷ 4 chips) */
.hm-loupearm { animation: hmSweep 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 0% 60%; }
.hm-stamparm { animation: hmStampA 6s ease-in-out infinite; }
.hm-stampfx { fill: var(--copper); opacity: 0; animation: hmFlash6 6s linear infinite; }
.hm-usher { animation: hmUsher 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 0% 30%; }
.hm-nod { animation: hmNod 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.hm-okarm { animation: hmApprove 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 0% 100%; }
.hm-okcheck { opacity: 0; animation: hmOkCheck 6s linear infinite; }
.hm-gatearm { transform: rotate(74deg); animation: hmGate 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 80% 50%; }
.hm-gatelight { fill: var(--sand-good); animation: hmGateLight 6s linear infinite; }

/* chip waypoints: enter → INSPECT (12–20%) → CITE (37–45%) → gate desk
   (62–70%) → cleared, exits fast. Offsets: chips 1–4 park at x 140/265/390/505. */
@keyframes hmRide1 { 0% { transform: translateX(-200px); } 12%, 20% { transform: translateX(0); } 37%, 45% { transform: translateX(125px); } 62%, 70% { transform: translateX(250px); } 82%, 100% { transform: translateX(520px); } }
@keyframes hmRide2 { 0% { transform: translateX(-325px); } 12%, 20% { transform: translateX(-125px); } 37%, 45% { transform: translateX(0); } 62%, 70% { transform: translateX(125px); } 82%, 100% { transform: translateX(395px); } }
@keyframes hmRide3 { 0% { transform: translateX(-450px); } 12%, 20% { transform: translateX(-250px); } 37%, 45% { transform: translateX(-125px); } 62%, 70% { transform: translateX(0); } 82%, 100% { transform: translateX(270px); } }
@keyframes hmRide4 { 0% { transform: translateX(-565px); } 12%, 20% { transform: translateX(-365px); } 37%, 45% { transform: translateX(-240px); } 62%, 70% { transform: translateX(-115px); } 82%, 100% { transform: translateX(155px); } }
/* state swaps: CITED tag lands at the stamp (40%), color flips at approval (68%) */
@keyframes hmDcHot { 0%, 67.7% { opacity: 1; } 68.4%, 100% { opacity: 0; } }
@keyframes hmDcOk  { 0%, 67.7% { opacity: 0; } 68.4%, 82.5% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes hmDcTag { 0%, 39.6% { opacity: 0; } 40.4%, 82.5% { opacity: 1; } 84%, 100% { opacity: 0; } }
/* crew beats */
@keyframes hmSweep { 0%, 28%, 100% { transform: none; } 40% { transform: translate(-8px, 3px) rotate(-3deg); } 54% { transform: translate(-18px, 5px) rotate(-5deg); } 68% { transform: translate(-5px, 2px) rotate(-1deg); } }
@keyframes hmStampA { 0%, 45%, 100% { transform: translateY(-9px); } 58%, 72% { transform: translateY(0); } }
@keyframes hmFlash6 { 0%, 59%, 78%, 100% { opacity: 0; } 63%, 73% { opacity: 1; } }
@keyframes hmUsher { 0%, 32%, 100% { transform: rotate(0deg); } 12% { transform: rotate(-24deg); } 22% { transform: rotate(9deg); } }
@keyframes hmNod { 0%, 38%, 72%, 100% { transform: rotate(0deg); } 48%, 60% { transform: rotate(-5deg); } }
@keyframes hmApprove { 0%, 62% { transform: rotate(34deg); } 70%, 94% { transform: rotate(0deg); } 100% { transform: rotate(34deg); } }
@keyframes hmOkCheck { 0%, 69%, 90%, 100% { opacity: 0; } 73%, 86% { opacity: 1; } }
@keyframes hmGate { 0%, 44% { transform: rotate(0deg); } 52%, 96% { transform: rotate(74deg); } 100% { transform: rotate(0deg); } }
@keyframes hmGateLight { 0%, 46% { fill: var(--sand-bad); } 54%, 94% { fill: var(--sand-good); } 100% { fill: var(--sand-bad); } }
/* utility beats */
@keyframes hmBlink { 0%, 100% { opacity: 1; } 55% { opacity: 0.3; } }
@keyframes hmBeltMove { to { stroke-dashoffset: -16; } }
@keyframes hmSpin { to { transform: rotate(360deg); } }
@keyframes hmFlutter { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(5deg); } }
@keyframes hmSway { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1.2deg); } }

.hm-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.hm-hero-copy { max-width: 560px; }

/* Chip-silkscreen eyebrow with fine trace rules (draw in on reveal) */
.hm-etchline { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 3vw, 30px); }
.hm-etchline .etch { color: var(--copper); }
.hm-etch-trace { flex: none; color: rgba(138, 69, 23, 0.55); }
.hm-etch-trace path { stroke: currentColor; fill: none; stroke-width: 1.5; }
.hm-etch-trace .via { fill: currentColor; stroke: none; }
.hm-etch-trace [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out) 0.25s; }
.hm-hero-copy.in-view .hm-etch-trace [data-draw] { stroke-dashoffset: 0; }
@media (max-width: 720px) { .hm-etch-trace--r { display: none; } }
@media (max-width: 440px) { .hm-etch-trace { display: none; } }

.hm-hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); max-width: 640px; margin-bottom: 0.5em; }
.hm-hero-sub { max-width: 560px; margin-bottom: 0; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hm-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; }

/* Compact trust strip on a trace rule */
.hm-trust {
  justify-content: flex-start; gap: 10px 26px;
  margin-top: clamp(30px, 4.5vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.hm-trust::before {
  content: ""; position: absolute; top: -2.5px; left: 0;
  width: 5px; height: 5px; border-radius: 1px;
  background: var(--copper); opacity: 0.7;
}
.hm-trust .t-item { font-size: 0.82rem; }

/* Photograph frame caption — printed like silkscreen (used by the
   Digital Twin Lab band photo strip) */
.hm-fig-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap;
  padding: 9px 16px; border-top: 1px solid var(--hairline);
  position: relative; z-index: 1;
}
.hm-fig-cap .etch { font-size: 0.62rem; }

@media (max-width: 940px) {
  .hm-hero { min-height: 0; }
  .hm-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hm-hero-copy { max-width: 640px; }
  .hm-hero-line { width: min(100%, 560px); }
  .hm-line, .hm-line-cap { transform: none; }
}

/* ---------- 2. Challenges — "whack-a-mole" humour scene ----------
   Ink-drawn on the sand in the house style (hexagon-headed exec): ten
   labelled problem-chips pop from the console while the exec swings a
   mallet and can never get them all. Each chip runs its own ~3.4s pop on
   a staggered delay; the mallet strikes on a 3.2s beat. Reduced motion
   (semico.css freezes animation) leaves a static tableau: four chips up,
   mallet raised. */
.hm-wham-wrap { max-width: 560px; margin: 0 auto clamp(26px, 4vw, 44px); text-align: center; }
.hm-wham { display: block; width: 100%; height: auto; }
.hm-wham-cap { margin: 6px 0 0; }

.hm-wham .sk { stroke: var(--ink-2); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hm-wham .hm-fine { stroke-width: 1.4; }
.hm-wham .hm-fillink { fill: var(--ink-2); stroke: none; }

/* console */
.hm-wham-panel { fill: var(--bg-page); stroke: none; }
.hm-wham-rim { stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.hm-wham-hole { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.hm-wham-legs { stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; fill: none; }

/* problem-chips: --dc carries the state colour (state, not series) */
.hm-wham-chip--red { --dc: var(--sand-bad); }
.hm-wham-chip--amb { --dc: var(--sand-equipment); }
.hm-wham-body { fill: var(--bg-page); stroke: var(--dc); stroke-width: 2; }
.hm-wham-pins { stroke: var(--dc); stroke-width: 1.8; stroke-linecap: round; fill: none; }
.hm-wham-cdot { fill: var(--dc); }
.hm-wham-lab {
  font-family: var(--font-mono); font-weight: 600; font-size: 6px;
  letter-spacing: 0.02em; fill: var(--ink); text-anchor: middle;
}

/* the mallet — pivots at the shoulder, strikes on the beat */
.hm-wham-head { fill: var(--ink-2); stroke: none; }
.hm-wham-mallet {
  transform-box: fill-box; transform-origin: 0% 0%;
  transform: rotate(-48deg);
  animation: hmWhamHit 3.2s ease-in-out infinite;
}
.hm-wham-fx { stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; fill: none; opacity: 0; animation: hmWhamFx 3.2s linear infinite; }
.hm-wham-sweat { fill: var(--link, #0b66a3); opacity: 0; animation: hmWhamSweat 3.4s ease-in infinite; }

/* pop rhythm: default down (hidden behind the console); four up in the
   static tableau; the animation overrides both when motion is allowed */
.hm-wham-chips .pop { transform: translateY(20px); animation: hmWhamPop 3.4s ease-in-out infinite; }
.hm-wham-chip:nth-child(2) .pop,
.hm-wham-chip:nth-child(5) .pop,
.hm-wham-chip:nth-child(7) .pop,
.hm-wham-chip:nth-child(10) .pop { transform: translateY(-10px); }
.hm-wham-chip:nth-child(1) .pop { animation-delay: -0.10s; }
.hm-wham-chip:nth-child(2) .pop { animation-delay: -1.30s; }
.hm-wham-chip:nth-child(3) .pop { animation-delay: -0.65s; }
.hm-wham-chip:nth-child(4) .pop { animation-delay: -2.20s; }
.hm-wham-chip:nth-child(5) .pop { animation-delay: -1.75s; }
.hm-wham-chip:nth-child(6) .pop { animation-delay: -0.30s; }
.hm-wham-chip:nth-child(7) .pop { animation-delay: -2.80s; }
.hm-wham-chip:nth-child(8) .pop { animation-delay: -1.05s; }
.hm-wham-chip:nth-child(9) .pop { animation-delay: -3.15s; }
.hm-wham-chip:nth-child(10) .pop { animation-delay: -1.95s; }

@keyframes hmWhamPop { 0%, 100% { transform: translateY(20px); } 6% { transform: translateY(-10px); } 26% { transform: translateY(-10px); } 34% { transform: translateY(20px); } }
@keyframes hmWhamHit { 0%, 55% { transform: rotate(-48deg); } 66% { transform: rotate(9deg); } 73% { transform: rotate(3deg); } 82%, 100% { transform: rotate(-48deg); } }
@keyframes hmWhamFx { 0%, 62%, 78%, 100% { opacity: 0; } 66%, 73% { opacity: 0.9; } }
@keyframes hmWhamSweat { 0%, 58% { opacity: 0; transform: translateY(0); } 66% { opacity: 0.85; transform: translateY(0); } 92% { opacity: 0.45; transform: translateY(11px); } 100% { opacity: 0; transform: translateY(13px); } }

/* ---------- "Something missing?" capture (dark island on sand) ---------- */
/* Compact "problem eleven?" invite — a slim light card that unfolds */
.hm-missing {
  max-width: 480px; margin: clamp(24px, 3.5vw, 40px) auto 0;
  background: #f9f5ec;
  border: 1px solid rgba(36, 31, 22, 0.16);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  overflow: hidden;
}
.hm-missing-invite {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 16px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 0.9rem; color: var(--ink-2); text-align: left;
  transition: background var(--dur-1);
}
.hm-missing-invite:hover { background: rgba(36, 31, 22, 0.04); }
.hm-missing-invite b { color: var(--copper); font-weight: 600; }
.hm-missing-hex { flex: none; color: var(--copper); animation: hmHexPeek 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes hmHexPeek { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-8deg); } 94% { transform: rotate(6deg); } }
.hm-missing-caret { flex: none; margin-left: auto; color: var(--ink-3); transition: transform var(--dur-2) var(--ease-out); }
.hm-missing-invite[aria-expanded="true"] .hm-missing-caret { transform: rotate(180deg); }
.hm-missing-body { padding: 2px 16px 16px; }
.hm-missing-body[hidden] { display: none; }
.hm-missing-intro { margin-bottom: 12px; }
.hm-missing-lede { font-size: 0.82rem; color: var(--ink-3); margin: 0; }
.hm-missing-form .field { margin-bottom: 10px; }
.hm-missing-form .field label { color: var(--ink-2); }
.hm-missing-form input, .hm-missing-form textarea {
  background: #fff; border: 1px solid rgba(36, 31, 22, 0.18); color: var(--ink);
}
.hm-missing-form input:focus, .hm-missing-form textarea:focus {
  border-color: var(--copper); box-shadow: 0 0 0 3px rgba(138, 69, 23, 0.12);
}
.hm-missing-form textarea { resize: vertical; min-height: 50px; line-height: 1.5; }
.hm-missing-actions { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 2px; }
.hm-missing-actions .btn { flex: none; }
.hm-missing-note { font-size: 0.62rem; color: var(--ink-3); }
.hm-missing-done { display: flex; align-items: center; gap: 12px; padding: 12px 16px 16px; }
.hm-missing-done[hidden] { display: none; }
.hm-missing-done p { margin: 0; font-size: 0.92rem; color: var(--ink); }
.hm-missing-tick { flex: none; color: var(--sand-good); }
.hm-missing-done-email { color: var(--cyan); font-weight: 600; }
.hm-missing-done:focus-visible { outline: 2px solid var(--focus-c); outline-offset: 4px; border-radius: 10px; }

/* ---------- 3. Challenges (dark dies on the sand; flip cards) ---------- */
.hm-pains {
  display: grid; gap: 16px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1180px) { .hm-pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .hm-pains { grid-template-columns: 1fr; } }

/* .di re-scopes the tokens; the faces carry the actual surfaces */
.hm-pain { position: relative; height: 248px; perspective: 1400px; background: none; }
@media (max-width: 1180px) { .hm-pain { height: 228px; } }
@media (max-width: 640px)  { .hm-pain { height: 232px; } }

.hm-pain-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease-out);
}
.hm-pain.is-flipped .hm-pain-inner { transform: rotateY(180deg); }
.hm-pain-face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: var(--card-shade, #f9f5ec);
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-radius: var(--radius-m);
  padding: 16px 16px 14px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
}
/* three alternating sand shades — premium, few colors */
.hm-pain:nth-of-type(3n+1) { --card-shade: #f9f5ec; }
.hm-pain:nth-of-type(3n+2) { --card-shade: #f4eddd; }
.hm-pain:nth-of-type(3n)   { --card-shade: #efe6d2; }
.hm-pain-front { cursor: pointer; visibility: visible; transition: visibility 0s linear 0.3s; }
.hm-pain.is-flipped .hm-pain-front { visibility: hidden; }
.hm-pain-front:hover { border-color: var(--ac, var(--copper)); box-shadow: 0 10px 26px rgba(36, 31, 22, 0.12); }
.hm-pain-back {
  transform: rotateY(180deg);
  background: #fbf8f1;
  border-color: var(--ac, var(--copper));
  visibility: hidden; transition: visibility 0s linear 0.3s;
  cursor: pointer;
}
.hm-pain.is-flipped .hm-pain-back { visibility: visible; }

.hm-pain-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hm-pain-num {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--ac, var(--copper));
}
.hm-pain-ic { flex: none; color: var(--ac, var(--copper)); opacity: 0.9; }
.hm-pain h3 { font-size: 0.98rem; margin-bottom: 7px; }
.hm-pain-front p { font-size: 0.83rem; line-height: 1.45; color: var(--ink-2); margin: 0; }
.hm-pain-hint {
  margin-top: auto; padding-top: 12px;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}
.hm-pain-stat { font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 4px; }
.hm-pain-stat strong { font-size: 1.12em; color: var(--ink); }
.hm-pain-answer {
  display: block; margin: 12px 0 8px;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.hm-pain-products { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-pain-products a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem; font-weight: 500; color: #c7d3ea;
  transition: color var(--dur-1), border-color var(--dur-1);
}
.hm-pain-products a::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--pc, var(--cyan)); flex: none;
}
.hm-pain-products a:hover { color: #fff; border-color: var(--pc, var(--cyan)); }
.hm-pain-products a.hm-pain-df::before { background: var(--brand-grad); }
.hm-pain-products a.hm-pain-df:hover { border-color: var(--violet); }

.hm-pain-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(36, 31, 22, 0.05); border: 1px solid rgba(36, 31, 22, 0.16);
  color: var(--ac, var(--copper)); cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease-out), background var(--dur-1), border-color var(--dur-1);
}
.hm-pain-toggle:hover { background: rgba(36, 31, 22, 0.09); border-color: var(--ac, var(--copper)); }
.hm-pain.is-flipped .hm-pain-toggle { transform: rotate(45deg); }

.hm-pains-src { margin: 26px auto 0; max-width: 720px; text-align: center; }

/* ---------- 4. Why pillars — light dies on a live trace ---------- */
.hm-pillars { position: relative; padding-top: 26px; }
.hm-pillars::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 2px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(138, 69, 23, 0.38) 0 10px, transparent 10px 18px);
  border-radius: 2px;
}
.hm-pillars::after {
  content: ""; position: absolute; top: -2px; left: 5%;
  width: 10px; height: 10px; border-radius: 3px; background: var(--copper);
  animation: hmTraceRun 6.5s linear infinite;
}
@keyframes hmTraceRun {
  0% { left: 5%; opacity: 0; }
  8% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(95% - 10px); opacity: 0; }
}
.hm-lite {
  background: #f9f5ec;
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-radius: var(--radius-m);
  padding: 22px;
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.hm-pillars > .hm-lite:nth-child(2) { background: #f4eddd; }
.hm-pillars > .hm-lite:nth-child(3) { background: #efe6d2; }
.hm-lite:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(36, 31, 22, 0.13); }
.hm-lite .icon-tile {
  background: rgba(138, 69, 23, 0.10);
  border-color: rgba(138, 69, 23, 0.28);
  color: var(--ac, var(--copper));
}
.hm-pillar { display: flex; flex-direction: column; align-items: flex-start; }
.hm-pillar h3 { font-size: 1.05rem; margin-bottom: 12px; }
.hm-pillar-fig { display: flex; align-items: baseline; gap: 9px; }
.hm-pillar-num {
  font-family: var(--font-ui); font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 700; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hm-pillar-unit { font-size: 0.98rem; font-weight: 600; color: var(--ink-2); }
.hm-pillar-line { font-size: 0.92rem; color: var(--ink-2); margin: 10px 0 16px; }
.hm-pillar .etch { margin-top: auto; font-size: 0.64rem; }

/* ---------- 5. Platform suites — light dies on the sand plane ----------
   Seven suites + a gold CTA tile on a 4-col grid → two rows (4 + 4).
   Light-card recipe (matches the challenge cards / why pillars): sand shades,
   hairline, soft warm shadow, dark ink. Suite accent = the on-sand --sand-*
   token passed in as --sc (top border, dot, count). Product chips stay small
   dark dies, exactly as on the challenge cards. */
.hm-suite {
  display: flex; flex-direction: column;
  background: #f9f5ec;
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-top: 3px solid var(--sc, var(--copper));
  border-radius: var(--radius-m);
  padding: 22px;
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
/* three alternating sand shades cycling across the grid */
.hm-suites > .hm-suite:nth-of-type(3n+2) { background: #f4eddd; }
.hm-suites > .hm-suite:nth-of-type(3n)   { background: #efe6d2; }
.hm-suite:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(36, 31, 22, 0.13); }
.hm-suite header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hm-suite-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--sc, var(--copper));
  box-shadow: 0 0 0 3px rgba(36, 31, 22, 0.05);
}
.hm-suite h3 { font-size: 1.12rem; margin: 0; color: var(--ink); }
.hm-suite-count { margin-left: auto; font-size: 0.64rem; flex: none; color: var(--ink-3); }
.hm-suite > p { font-size: 0.88rem; margin-bottom: 16px; color: var(--ink-2); }
.hm-suite-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.hm-suite-chips a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px 4px 8px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem; font-weight: 500; color: #c7d3ea;
  transition: color var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}
.hm-suite-chips a .ic { font-size: 0.85rem; line-height: 1; flex: none; }
.hm-suite-chips a:hover { color: #fff; border-color: var(--sc, var(--cyan)); transform: translateY(-1px); }

/* Gold CTA tile — 8th grid cell; reads as a call to action, not a suite */
.hm-suite-cta {
  display: flex; flex-direction: column; justify-content: center;
  border-radius: var(--radius-m); padding: 24px 22px;
  background: linear-gradient(155deg, #f4e2ad 0%, #e7cd82 52%, #dcbb55 100%);
  border: 1px solid rgba(168, 126, 31, 0.55);
  box-shadow: 0 6px 18px rgba(120, 86, 20, 0.16);
  color: #2a2010;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.hm-suite-cta:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(120, 86, 20, 0.24); }
.hm-suite-cta-k { color: #7a5312; }
.hm-suite-cta-h {
  font-family: var(--font-display); font-weight: 700; font-size: 1.24rem;
  line-height: 1.2; color: #2a2010; margin: 10px 0 14px;
}
.hm-suite-cta-arrow {
  font-size: 1.5rem; line-height: 1; color: #2a2010;
  transition: transform var(--dur-1) var(--ease-out);
}
.hm-suite-cta:hover .hm-suite-cta-arrow { transform: translateX(5px); }

/* ---------- 6. Architecture stack — a 3D-stacked package of dark dies ----------
   Dies drop onto the substrate bottom-up (L1 first) with a settle bounce;
   a copper through-silicon bus draws in behind them and a data pulse
   climbs L1→L5 in the gaps (faster on hover). Hover/focus/tap flips a
   die to its underside: what the CEO sees. */
.hm-arch {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 940px) { .hm-arch { grid-template-columns: 1fr; } }
.hm-arch-copy p { max-width: 480px; }
.hm-arch-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }

.hm-stackwrap { position: relative; }
.hm-bus {
  position: absolute; left: 50%; top: 16px; bottom: 40px;
  width: 2px; margin-left: -1px; z-index: 0;
  background: repeating-linear-gradient(180deg, var(--copper) 0 5px, transparent 5px 10px);
  opacity: 0.55;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 1.1s var(--ease-out) 0.55s;
}
.hm-stackwrap.in-view .hm-bus { transform: scaleY(1); }
.hm-bus-pulse {
  position: absolute; left: 50%; top: 100%;
  width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: var(--copper);
  box-shadow: 0 0 10px rgba(138, 69, 23, 0.55);
  opacity: 0;
}
.hm-stackwrap.in-view .hm-bus-pulse { animation: hmBusPulse 4.2s ease-in-out infinite 1.4s; }
.hm-stackwrap:hover .hm-bus-pulse { animation-duration: 1.6s; animation-delay: 0s; }
@keyframes hmBusPulse {
  0% { top: 100%; opacity: 0; }
  10% { opacity: 1; }
  86% { opacity: 1; }
  100% { top: -2%; opacity: 0; }
}

.hm-stack {
  list-style: none; margin: 0; padding: 0;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.hm-stack-cap { display: block; margin: 14px 0 0; text-align: center; }
.hm-layer { position: relative; background: none; perspective: 1100px; }
.hm-stack > li { width: 100%; }
.hm-stack > li:nth-child(1) { width: 70%; }
.hm-stack > li:nth-child(2) { width: 79%; }
.hm-stack > li:nth-child(3) { width: 87%; }
.hm-stack > li:nth-child(4) { width: 94%; }
.hm-stack > li:nth-child(5) { width: 100%; }
/* dies drop DOWN onto the stack (override the shared reveal's rise) */
.hm-stack > li {
  transform: translateY(-30px) scale(1.02);
  transition: opacity var(--dur-3) var(--ease-out), transform 0.75s cubic-bezier(0.34, 1.55, 0.64, 1);
}
/* Build the stack bottom-up: reverse the shared stagger delays */
.hm-stack.in-view > li:nth-child(1) { transition-delay: 480ms; }
.hm-stack.in-view > li:nth-child(2) { transition-delay: 360ms; }
.hm-stack.in-view > li:nth-child(3) { transition-delay: 240ms; }
.hm-stack.in-view > li:nth-child(4) { transition-delay: 120ms; }
.hm-stack.in-view > li:nth-child(5) { transition-delay: 0ms; }
/* through-silicon vias in the gaps between dies */
.hm-layer:not(:first-child)::before {
  content: ""; position: absolute; top: -8px; left: 50%;
  width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--copper); opacity: 0.8; z-index: 2;
}

/* flip machinery: the button is the 3D flipper; faces carry the die look */
.hm-layer-in {
  display: grid; width: 100%; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease-out);
  border-radius: var(--radius-m);
}
.hm-layer:hover .hm-layer-in,
.hm-layer.is-flipped .hm-layer-in,
.hm-layer-in:focus-visible { transform: rotateX(180deg); }
.hm-layer-in:focus-visible { outline: 2px solid var(--focus-c); outline-offset: 3px; }
.hm-layer-face {
  grid-area: 1 / 1;
  display: flex; gap: 14px; align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  background: linear-gradient(100deg, rgba(56, 189, 248, 0.10), rgba(168, 85, 247, 0.10)), var(--surface-2);
  box-shadow: var(--shadow-1);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.hm-stack > li:nth-child(5) .hm-layer-face { background: var(--surface-1); }
.hm-layer-back {
  transform: rotateX(180deg);
  background: linear-gradient(100deg, rgba(166, 116, 32, 0.14), rgba(138, 69, 23, 0.10)), var(--surface-3);
  border-color: rgba(166, 116, 32, 0.4);
}
.hm-stack > li:nth-child(5) .hm-layer-face.hm-layer-back { background: linear-gradient(100deg, rgba(166, 116, 32, 0.14), rgba(138, 69, 23, 0.10)), var(--surface-3); }
.hm-layer-flipic { margin-left: auto; flex: none; color: var(--ink-3); opacity: 0.8; }
.hm-stack-tag {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  color: var(--cyan); background: var(--glass-strong);
  border: 1px solid var(--glass-border); border-radius: 6px;
  padding: 3px 8px; flex: none;
}
.hm-stack-tag--ceo { color: #dcbb55; border-color: rgba(220, 187, 85, 0.35); }
.hm-layer-txt { min-width: 0; }
.hm-layer-txt b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.96rem; color: var(--ink); line-height: 1.3;
}
.hm-layer-txt span { display: block; font-size: 0.78rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- 7. Workflows teaser — light cards ----------
   Light-card recipe (matches the challenge cards); per-card suite accent via
   --ac. The before/after toggle goes light; the comparison bars keep their
   red→green semantic via --sand-bad / --sand-good on the sand plane. */
.hm-wf {
  display: flex; flex-direction: column;
  background: #f9f5ec;
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-radius: var(--radius-m);
  padding: 22px;
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.hm-wf:nth-of-type(2) { background: #f4eddd; }
.hm-wf:nth-of-type(3) { background: #efe6d2; }
.hm-wf:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(36, 31, 22, 0.13); }
.hm-wf h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 12px; color: var(--ink); }
.hm-wf-ic { flex: none; color: var(--ac, var(--copper)); opacity: 0.95; }

/* Before/After toggle — light track, dark-ink active pill */
.hm-wf .ba-switch { margin-bottom: 16px; background: rgba(36, 31, 22, 0.06); border: 1px solid rgba(36, 31, 22, 0.16); }
.hm-wf .ba-switch button { color: #554a38; }
.hm-wf .ba-switch button:hover { color: #241f16; }
.hm-wf .ba-switch button.is-active { background: #241f16; color: #f6f0e3; }

.hm-wf .ba-pane { min-height: 172px; }
.hm-wf .ba-pane p { font-size: 0.88rem; color: var(--ink-2); }
.hm-wf-big {
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1;
  color: var(--ink); margin: 2px 0 10px;
}
.hm-wf-big--good { color: var(--sand-good); }
.hm-wf-note { font-size: 0.75rem !important; color: var(--ink-3); margin: 8px 0 0; }

/* comparison bars on light: soften the inline track to a warm sand-dark */
.hm-wf [data-bars] { --surface-3: rgba(36, 31, 22, 0.10); }

/* ECN blast-radius mini infographic (status colors = state, not series) */
.hm-blast { display: block; margin: 4px 0 10px; }
.hm-wf .hm-blast .core { fill: var(--ac, var(--copper)); }
.hm-wf .hm-blast .ring { fill: none; stroke: rgba(36, 31, 22, 0.22); }
.hm-wf .hm-blast .spoke { stroke: var(--sand-bad); opacity: 0.6; stroke-dasharray: 3 3; }
.hm-wf .hm-blast .hit { fill: var(--sand-bad); }
.hm-wf .hm-blast .ok { fill: var(--sand-good); }

/* ---------- 8. Digital Twin Lab band (dark island) ---------- */
.hm-df { padding-block: clamp(48px, 7vw, 96px); }
.hm-df-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(56, 189, 248, 0.10), transparent 62%),
    radial-gradient(700px 420px at -8% 110%, rgba(139, 92, 246, 0.10), transparent 60%),
    var(--surface-1);
  border: 1px solid rgba(148, 184, 255, 0.14);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  padding: clamp(28px, 4.5vw, 56px);
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 48px); align-items: center;
}
.hm-df-band::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--brand-grad);
}
@media (max-width: 940px) { .hm-df-band { grid-template-columns: 1fr; } }
.hm-df-copy h2 { margin-bottom: 0.45em; }
.hm-df-copy > p { font-size: 0.95rem; max-width: 460px; }
.hm-df-demo { min-width: 0; }

/* icon + number + five-word line */
.hm-df-stats { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.hm-df-stat { display: flex; align-items: center; gap: 14px; }
.hm-df-stat .ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  color: var(--cyan);
}
.hm-df-stat b {
  flex: none; min-width: 84px;
  font-size: 1.18rem; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hm-df-stat span { font-size: 0.88rem; color: var(--ink-2); line-height: 1.4; }

/* full-width photo strip inside the band */
.hm-df-strip { grid-column: 1 / -1; margin: clamp(4px, 1vw, 10px) 0 0; }
.hm-df-strip.photo-frame { border-color: rgba(148, 184, 255, 0.16); }
.hm-df-strip img { width: 100%; height: clamp(150px, 20vw, 220px); object-fit: cover; object-position: 50% 66%; }

/* fork console (sits one surface above the band) */
.hm-fork {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.hm-fork-head {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-2);
}
.hm-sim {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); border-bottom: 1px dotted var(--cyan);
}
.hm-fork-stage { position: relative; padding: 8px 10px 0; }
.hm-fork-stage svg { display: block; width: 100%; height: auto; }

.hm-fk-main {
  fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--ease-out);
}
.hm-fork.p1 .hm-fk-main { stroke-dashoffset: 0; }
.hm-fk-bolt { opacity: 0; transition: opacity 0.45s var(--ease-out); }
.hm-fork.p2 .hm-fk-bolt { opacity: 1; }
.hm-fk-boltring { fill: none; stroke: var(--serious); stroke-width: 1.5; opacity: 0.7; }
.hm-fk-boltglyph { fill: var(--warning); }
.hm-fk-node { fill: var(--cyan); opacity: 0; transition: opacity 0.4s; }
.hm-fork.p3 .hm-fk-node { opacity: 1; }
.hm-fk-a {
  fill: none; stroke: var(--good-text); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease-out);
}
.hm-fork.p3 .hm-fk-a { stroke-dashoffset: 0; }
.hm-fk-b {
  fill: none; stroke: var(--critical); stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 5 6; opacity: 0;
  transition: opacity 1.1s var(--ease-out);
}
.hm-fork.p3 .hm-fk-b { opacity: 0.85; }
.hm-fk-dot { opacity: 0; transition: opacity 0.5s; }
.hm-fk-dot--a { fill: var(--good-text); }
.hm-fk-dot--b { fill: var(--critical); }
.hm-fork.p4 .hm-fk-dot { opacity: 1; }

.hm-fork-lab {
  position: absolute; max-width: 205px;
  font-size: 0.72rem; line-height: 1.4; color: var(--ink-2);
  opacity: 0; transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.hm-fork-lab b { display: block; font-size: 0.74rem; color: var(--ink); }
.hm-fork-lab span { display: block; }
.hm-fork-lab--inject { left: 26%; top: 12%; transform: translate(-50%, 6px); }
.hm-fork.p2 .hm-fork-lab--inject { opacity: 1; transform: translate(-50%, 0); }
.hm-fork-lab--inject b { color: var(--warning); }
.hm-fork-lab--a { right: 2%; top: 1%; text-align: right; transform: translateY(6px); }
.hm-fork-lab--a b { color: var(--good-text); }
.hm-fork-lab--b { right: 2%; bottom: 2%; text-align: right; transform: translateY(6px); }
.hm-fork-lab--b b { color: var(--critical); }
.hm-fork.p4 .hm-fork-lab--a, .hm-fork.p4 .hm-fork-lab--b { opacity: 1; transform: translateY(0); }

.hm-fork-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--hairline); margin-top: 6px;
}
.hm-fork-delta {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--good-text);
  opacity: 0; transition: opacity 0.6s var(--ease-out);
}
.hm-fork.p4 .hm-fork-delta { opacity: 1; }
@media (max-width: 640px) {
  .hm-fork-lab { max-width: 150px; font-size: 0.64rem; }
  .hm-fork-lab b { font-size: 0.66rem; }
}

/* ---------- 9. Assessment CTA band (dark island section) ---------- */
.hm-cta {
  background:
    radial-gradient(1000px 420px at 50% 0%, rgba(56, 189, 248, 0.10), transparent 70%),
    var(--surface-1);
  border-block: 1px solid var(--hairline);
  text-align: center;
}
.hm-cta-inner { max-width: 780px; display: flex; flex-direction: column; align-items: center; }
.hm-cta-inner .kicker::after {
  content: ""; width: 22px; height: 2px;
  background: var(--brand-grad); border-radius: 2px;
}
.hm-cta-inner h2 { margin-bottom: 0.4em; }
.hm-cta-inner .lede { max-width: 620px; }
.hm-cta-inner .btn { margin-top: 22px; }
.hm-cta-trust { margin: 18px 0 0; }
