/* ============================================================
   SEMAI — Semiconductor Lifecycle Intelligence (namespace: lc-)
   Standalone page (pending approval — not in nav).
   Light premium sand page: light-card recipe (#f9f5ec/#f4eddd/#efe6d2),
   copper/gold accents, --sand-* suite tokens for lifecycle accents.
   Dark .di islands ONLY for the KPI etch chips inside detail panels.
   All motion reduced-motion safe: semico.css kills animation globally;
   every scene below is authored so its STATIC state reads correctly
   (loop fully lit, one chip per station equivalent, nodes visible).
   ============================================================ */

/* ---------- 0. Utilities ---------- */
.lc-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 1. Hero ---------- */
.lc-hero {
  position: relative;
  min-height: min(78vh, 780px);
  display: flex; align-items: center;
  padding: clamp(44px, 6.5vw, 88px) 0 clamp(36px, 5vw, 64px);
  overflow: hidden;
}
.lc-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}
.lc-hero-copy { max-width: 580px; }
.lc-hero-copy .etch { color: var(--copper); }
.lc-etchline { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.6vw, 28px); }
.lc-etch-trace { flex: none; color: rgba(138, 69, 23, 0.55); }
.lc-etch-trace path { stroke: currentColor; fill: none; stroke-width: 1.5; }
.lc-etch-trace .via { fill: currentColor; stroke: none; }
.lc-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); max-width: 620px; margin-bottom: 0.5em; }
.lc-hero h1 .grad-text { display: block; font-size: 0.72em; margin-top: 0.28em; }
.lc-hero-sub { max-width: 520px; font-size: clamp(0.98rem, 1.35vw, 1.12rem); margin-bottom: 0; }
.lc-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 0; }

/* ---------- 1a. The grand loop — ink-on-sand, house drawing language ----
   sand → fab → wafer → die → ship → field → learn on a dashed ring;
   a copper pulse orbits (21s), each glyph's halo brightens as it passes
   (same 21s beat, phase-shifted 3s per glyph). One hexagon-headed agent
   holds the center. Reduced motion: animations die → static state is the
   fully-lit loop with the pulse parked at SAND. */
.lc-hero-loop { justify-self: center; width: min(100%, 560px); text-align: center; }
.lc-loop { width: 100%; height: auto; display: block; }
.lc-loop-cap { margin: 8px 0 0; }

.lc-loop .etx {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; fill: var(--ink-3);
}
.lc-ring {
  fill: none; stroke: var(--ink-3); stroke-width: 1.6;
  stroke-dasharray: 7 9;
  animation: lcRingMove 1.15s linear infinite;
}
@keyframes lcRingMove { to { stroke-dashoffset: -16; } }

.lc-glyph .dot { fill: var(--bg-page); stroke: var(--ink-2); stroke-width: 2.2; }
.lc-glyph .halo {
  fill: none; stroke: var(--copper); stroke-width: 2.4;
  opacity: 0.85; /* static = lit (reduced-motion tableau: all lit) */
  animation: lcGlyphBeat 21s linear infinite;
  animation-delay: calc(var(--k) * 3s - 21s);
}
@keyframes lcGlyphBeat {
  0% { opacity: 1; stroke-width: 3; }
  5% { opacity: 1; stroke-width: 3; }
  14% { opacity: 0.18; stroke-width: 2.4; }
  90% { opacity: 0.18; stroke-width: 2.4; }
  100% { opacity: 1; stroke-width: 3; }
}
.lc-orbit { animation: lcOrbit 21s linear infinite; transform-box: view-box; transform-origin: 260px 260px; }
@keyframes lcOrbit { to { transform: rotate(360deg); } }
.lc-orbit-dot { fill: var(--copper); }
.lc-agent .lc-hex { fill: var(--bg-page); stroke: var(--copper); stroke-width: 2.4; stroke-linejoin: round; }
.lc-agent .lc-eye { fill: var(--ink-2); }
.lc-agent .lc-smile { fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; }
.lc-agent .lc-halo-c {
  fill: none; stroke: rgba(138, 69, 23, 0.35); stroke-width: 1.4; stroke-dasharray: 4 6;
  animation: lcRingMove 2.6s linear infinite;
}

/* ---------- 1b. Stat strip (light, count-ups from the data) ---------- */
.lc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: clamp(34px, 5vw, 56px);
}
.lc-stat {
  background: #f9f5ec;
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  padding: 16px 18px 14px;
  text-align: center;
}
.lc-stat:nth-child(2), .lc-stat:nth-child(4) { background: #f4eddd; }
.lc-stat-n {
  display: block; font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lc-stat .etch { font-size: 0.62rem; display: block; margin-top: 5px; }
@media (max-width: 940px) {
  .lc-hero { min-height: 0; }
  .lc-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .lc-hero-loop { width: min(100%, 460px); }
}
@media (max-width: 640px) { .lc-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 2. Explorer ---------- */
.lc-explorer .etch { color: var(--ink-2); } /* etch on the deeper sand band */

/* sticky switcher rail — raised light chips, accent underline per lifecycle */
.lc-tabs-wrap {
  position: sticky; top: calc(var(--nav-h) + 10px); z-index: 30;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.lc-tabs {
  display: flex; gap: 6px; padding: 8px;
  background: rgba(249, 245, 236, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-radius: var(--radius-m);
  box-shadow: 0 8px 22px rgba(36, 31, 22, 0.10);
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.lc-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 10px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 0.84rem; font-weight: 600;
  color: var(--ink-2); white-space: nowrap;
  box-shadow: inset 0 -3px 0 transparent;
  transition: background var(--dur-1), color var(--dur-1), box-shadow var(--dur-1);
}
.lc-tab .lc-tab-ic { font-size: 1rem; line-height: 1; }
.lc-tab:hover { background: rgba(36, 31, 22, 0.05); color: var(--ink); }
.lc-tab[aria-selected="true"] {
  background: #efe6d2; color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--lca, var(--copper));
}

/* ---------- 2a. Segment lens — "View as your business" ----------
   One lens over the same map. Raised light chips (single copper active
   state, clean). Selecting a segment leads with its primary lifecycles,
   dims the off-focus tabs, and surfaces a headline + one honest gap. */
.lc-segments {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.lc-seg-label {
  flex: none; font-size: 0.64rem; color: var(--copper); letter-spacing: 0.16em;
}
.lc-seg-chips {
  display: flex; gap: 8px; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin;
  padding: 4px 2px;
}
.lc-seg-chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: var(--radius-pill);
  background: #f9f5ec; border: 1px solid rgba(36, 31, 22, 0.16);
  box-shadow: 0 3px 10px rgba(36, 31, 22, 0.07);
  font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600;
  color: var(--ink-2); white-space: nowrap; cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1),
              border-color var(--dur-1), box-shadow var(--dur-1), transform var(--dur-1);
}
.lc-seg-chip:hover { color: var(--ink); border-color: rgba(138, 69, 23, 0.4); transform: translateY(-1px); }
.lc-seg-chip:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.lc-seg-chip.is-active {
  background: linear-gradient(180deg, #fbf3e2, #f3e6c9);
  color: var(--ink); border-color: var(--copper);
  box-shadow: inset 0 0 0 1px rgba(138, 69, 23, 0.24), 0 6px 16px rgba(138, 69, 23, 0.16);
}
.lc-seg-chip.is-active::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--copper);
}

/* coverage headline + the one honest gap */
.lc-seg-banner {
  margin-bottom: clamp(18px, 2.6vw, 26px);
  padding: 14px 18px;
  background: linear-gradient(180deg, #fbf8f1, #f6efe0);
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  animation: fadeUp var(--dur-2) var(--ease-out);
}
.lc-seg-headline {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--ink); line-height: 1.35;
}
.lc-seg-gap {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(36, 31, 22, 0.18);
}
.lc-seg-gap-label {
  flex: none; font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper);
}
.lc-seg-gap-link {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px dashed rgba(138, 69, 23, 0.5);
}
.lc-seg-gap-link .ic { font-size: 0.9rem; line-height: 1; }
.lc-seg-gap-link:hover { color: var(--copper); border-bottom-color: var(--copper); }
.lc-seg-gap-note { font-size: 0.8rem; color: var(--ink-2); line-height: 1.5; flex: 1 1 240px; min-width: 0; }

/* the lens on the switcher rail: dim off-focus, small accent pip on primaries */
.lc-tab--dim { opacity: 0.46; }
.lc-tab--dim:hover { opacity: 0.84; }
.lc-tab--dim[aria-selected="true"] { opacity: 0.92; }
.lc-tab--lead .lc-tab-name::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px;
  border-radius: 50%; background: var(--lca, var(--copper)); vertical-align: middle;
}

@media (max-width: 560px) {
  .lc-segments { flex-direction: column; align-items: stretch; gap: 8px; }
  .lc-seg-label { margin-left: 2px; }
}

/* explorer header: identity + coverage band */
.lc-exp-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: 18px 36px; align-items: end;
  margin-bottom: clamp(20px, 3vw, 30px);
  animation: fadeUp var(--dur-2) var(--ease-out);
}
.lc-exp-id { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.lc-exp-ic {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: #f9f5ec; border: 1px solid rgba(36, 31, 22, 0.14);
  box-shadow: inset 0 -3px 0 var(--lca, var(--copper)), 0 6px 18px rgba(36, 31, 22, 0.08);
}
.lc-exp-id h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 2px 0 4px; }
.lc-exp-tagline { font-size: 0.92rem; color: var(--ink-2); margin: 0; max-width: 560px; }

/* coverage band: covered · planning · future, with counts */
.lc-cov-wrap { min-width: 0; }
.lc-cov {
  display: flex; gap: 3px; height: 10px; border-radius: 5px; overflow: hidden;
}
.lc-cov .seg { min-width: 10px; border-radius: 3px; }
.lc-cov .seg--c { background: var(--sand-good); }
.lc-cov .seg--p { background: var(--sand-equipment); }
.lc-cov .seg--f { background: none; border: 1px dashed var(--ink-3); }
.lc-cov-legend {
  display: flex; gap: 4px 14px; flex-wrap: wrap; margin-top: 7px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2);
}
.lc-cov-legend .k { display: inline-flex; align-items: center; gap: 5px; }
.lc-cov-legend .sw { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.lc-cov-legend .sw--c { background: var(--sand-good); }
.lc-cov-legend .sw--p { background: var(--sand-equipment); }
.lc-cov-legend .sw--f { border: 1px dashed var(--ink-3); }
@media (max-width: 820px) { .lc-exp-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- 3. Serpentine stage track ----------
   DOM stays in logical stage order (keyboard + mobile read top-to-bottom);
   odd rows reverse VISUALLY via flex-direction so the path snakes.
   Connectors are dashed copper traces; each carries one pulse dot on a
   shared 12s cycle, staggered 0.6s per connector — one pulse appears to
   travel the whole serpentine. Static state: dashes visible, dots hidden. */
.lc-track { position: relative; }
.lc-row { display: flex; align-items: stretch; gap: 0; }
.lc-row--rev { flex-direction: row-reverse; }

.lc-node {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 10px 12px; margin: 0;
  background: var(--card-shade, #f9f5ec);
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  font-family: var(--font-ui); color: var(--ink); text-align: center; cursor: pointer;
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-2);
}
.lc-node:hover { transform: translateY(-3px); border-color: var(--lca, var(--copper)); box-shadow: 0 10px 26px rgba(36, 31, 22, 0.13); }
.lc-node[aria-expanded="true"] {
  border-color: var(--lca, var(--copper));
  box-shadow: inset 0 -3px 0 var(--lca, var(--copper)), 0 10px 26px rgba(36, 31, 22, 0.13);
}
.lc-node-ic { font-size: 1.35rem; line-height: 1; }
.lc-node-name { font-size: 0.8rem; font-weight: 600; line-height: 1.25; }
.lc-node-count {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.lc-node-gap {
  position: absolute; top: 7px; right: 9px;
  font-family: var(--font-mono); font-size: 0.66rem; line-height: 1;
}
.lc-node-gap--plan { color: var(--sand-equipment); }
.lc-node-gap--fut { color: var(--ink-3); }

/* stagger-build on entry (re-runs on every lifecycle switch) */
.lc-track .lc-node {
  opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out),
              border-color var(--dur-2), box-shadow var(--dur-2);
  transition-delay: calc(var(--bi, 0) * 55ms), calc(var(--bi, 0) * 55ms), 0ms, 0ms;
}
.lc-track.is-built .lc-node { opacity: 1; transform: none; }
.lc-track.is-built .lc-node:hover { transform: translateY(-3px); transition-delay: 0ms; }

/* connectors: dashed trace + traveling pulse dot */
.lc-link, .lc-vlink { position: relative; flex: none; }
.lc-link { width: clamp(18px, 3vw, 38px); align-self: center; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(138, 69, 23, 0.45) 0 6px, transparent 6px 12px);
}
.lc-link::after {
  content: ""; position: absolute; top: -3px; left: -3px;
  width: 8px; height: 8px; border-radius: 3px;
  background: var(--copper); box-shadow: 0 0 8px rgba(138, 69, 23, 0.5);
  opacity: 0; /* static: hidden — dashes alone read as the path */
  animation: lcPulseX 12s linear infinite;
  animation-delay: calc(var(--lki, 0) * 0.6s);
}
@keyframes lcPulseX {
  0% { opacity: 0; transform: translateX(0); }
  0.6% { opacity: 1; }
  4.4% { opacity: 1; transform: translateX(calc(clamp(18px, 3vw, 38px) - 4px)); }
  5% { opacity: 0; transform: translateX(calc(clamp(18px, 3vw, 38px) - 4px)); }
  100% { opacity: 0; transform: translateX(0); }
}
.lc-vlink { height: 26px; width: 2px; margin: 4px 0;
  background: repeating-linear-gradient(180deg, rgba(138, 69, 23, 0.45) 0 6px, transparent 6px 12px);
}
.lc-vlink--r { margin-left: auto; margin-right: calc(var(--lc-edge, 10%) - 1px); }
.lc-vlink--l { margin-right: auto; margin-left: calc(var(--lc-edge, 10%) - 1px); }
@media (max-width: 1020px) { .lc-track { --lc-edge: 16.6%; } }
.lc-vlink::after {
  content: ""; position: absolute; left: -3px; top: -3px;
  width: 8px; height: 8px; border-radius: 3px;
  background: var(--copper); box-shadow: 0 0 8px rgba(138, 69, 23, 0.5);
  opacity: 0;
  animation: lcPulseY 12s linear infinite;
  animation-delay: calc(var(--lki, 0) * 0.6s);
}
@keyframes lcPulseY {
  0% { opacity: 0; transform: translateY(0); }
  0.6% { opacity: 1; }
  4.4% { opacity: 1; transform: translateY(22px); }
  5% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* mobile: the serpentine collapses to a vertical rail (DOM order = story order) */
@media (max-width: 640px) {
  .lc-row, .lc-row--rev { flex-direction: column; }
  .lc-node { width: 100%; flex-direction: row; text-align: left; padding: 12px 40px 12px 14px; gap: 12px; }
  .lc-node-name { font-size: 0.86rem; }
  .lc-node-gap { top: 50%; transform: translateY(-50%); }
  .lc-link { width: 2px; height: 22px; margin: 2px auto; align-self: center;
    background: repeating-linear-gradient(180deg, rgba(138, 69, 23, 0.45) 0 6px, transparent 6px 12px); }
  .lc-link::after { animation-name: lcPulseY; left: -3px; top: -3px; }
  .lc-vlink--r, .lc-vlink--l { margin-left: auto; margin-right: auto; height: 22px; }
}

/* a dim lifecycle opened under a lens: gentle stage dim + one honest hint
   (nothing hidden — the CEO can still walk every stage) */
.lc-lenshint {
  margin: 0 0 14px; padding: 8px 14px;
  background: rgba(36, 31, 22, 0.04);
  border: 1px dashed rgba(36, 31, 22, 0.2); border-radius: 10px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em;
  color: var(--ink-3);
}
.lc-body.is-lensdim .lc-node:not([aria-expanded="true"]) { opacity: 0.66; }
.lc-body.is-lensdim .lc-node:not([aria-expanded="true"]):hover { opacity: 1; }

/* ---------- 4. Stage detail panel ---------- */
.lc-panel {
  width: 100%;
  margin: 14px 0 6px;
  background: #fbf8f1;
  border: 1px solid rgba(36, 31, 22, 0.16);
  border-left: 3px solid var(--lca, var(--copper));
  border-radius: var(--radius-m);
  box-shadow: 0 10px 26px rgba(36, 31, 22, 0.10);
  padding: 20px 22px 18px;
  animation: fadeUp var(--dur-2) var(--ease-out);
}
.lc-panel-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.lc-panel-head .lc-panel-ic { font-size: 1.3rem; line-height: 1; }
.lc-panel-head h4 { margin: 0; font-size: 1.06rem; }
.lc-panel-purpose { font-size: 0.9rem; color: var(--ink-2); margin: 0 0 14px; max-width: 720px; }
.lc-panel-products { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.lc-pchip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 9px; border-radius: var(--radius-pill);
  background: #f4eddd; border: 1px solid rgba(36, 31, 22, 0.16);
  font-size: 0.78rem; font-weight: 600; color: var(--ink);
  transition: border-color var(--dur-1), transform var(--dur-1);
}
.lc-pchip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pc, var(--copper)); flex: none; }
.lc-pchip .ic { font-size: 0.9rem; line-height: 1; }
.lc-pchip:hover { border-color: var(--pc, var(--copper)); transform: translateY(-1px); }
.lc-nochip { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
/* platform (Twin Lab) — substrate, styled distinct from vertical-product chips */
.lc-node-count--platform { color: var(--sand-platform); font-weight: 600; }
.lc-pchip--platform { background: rgba(109, 52, 184, 0.09); border-color: rgba(109, 52, 184, 0.32); }
.lc-pchip-tag {
  font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sand-platform);
  border: 1px solid rgba(109, 52, 184, 0.35); border-radius: 999px;
  padding: 1px 6px; margin-left: 2px;
}
.lc-panel-proof { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.lc-panel-value { font-size: 0.92rem; font-weight: 600; color: var(--ink); margin: 0; }
.lc-panel-value::before { content: "✦ "; color: var(--copper); }
/* KPI chip — the ONE dark island in the panel: etched, silkscreen */
.lc-kpi {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid rgba(148, 184, 255, 0.14);
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--cyan);
}
.lc-kpi .etch { font-size: 0.58rem; color: var(--ink-3); }
.lc-panel-gapnote { font-size: 0.82rem; color: var(--ink-2); margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed rgba(36, 31, 22, 0.18); max-width: 720px; }
.lc-gapbadge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.lc-gapbadge--plan { color: var(--sand-equipment); border: 1px solid rgba(143, 95, 0, 0.45); background: rgba(143, 95, 0, 0.08); }
.lc-gapbadge--fut { color: var(--ink-3); border: 1px dashed var(--ink-3); }

/* ---------- 5. The honest map ---------- */
.lc-gaps-wry { display: block; margin-top: 4px; }
.lc-gap-grid { align-items: start; }
.lc-gap-card {
  background: #f9f5ec;
  border: 1px solid rgba(36, 31, 22, 0.14);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 18px rgba(36, 31, 22, 0.08);
  padding: 22px 22px 16px;
}
.lc-gap-card--fut { background: #f4eddd; }
.lc-gap-card > header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lc-gap-card > header h3 { font-size: 1.02rem; margin: 0; }
.lc-gap-card > header .lc-gapbadge { margin-left: auto; flex: none; }
.lc-gap-wave { font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin: 14px 0 6px; }
.lc-gap-list { list-style: none; margin: 0; padding: 0; }
.lc-gap-list li {
  padding: 9px 0; border-top: 1px dashed rgba(36, 31, 22, 0.14);
}
.lc-gap-list li:first-child { border-top: 0; }
.lc-gap-it { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lc-gap-it b { font-size: 0.86rem; color: var(--ink); }
.lc-gap-it .lc-gap-lc { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.lc-gap-list p { font-size: 0.78rem; color: var(--ink-2); line-height: 1.5; margin: 3px 0 0; }

/* ---------- 6. Closing band ---------- */
.lc-close-inner { text-align: center; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.lc-close-inner h2 { margin-bottom: 0.35em; }
.lc-close-inner p { max-width: 560px; }
.lc-verbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 8px 0 24px; }
.lc-verb {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--radius-pill);
  background: #f9f5ec; border: 1px solid rgba(36, 31, 22, 0.16);
  box-shadow: 0 4px 12px rgba(36, 31, 22, 0.07);
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.lc-verb::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--copper); flex: none; }

/* ---------- 7. Motion safety (authored static states) ---------- */
@media (prefers-reduced-motion: reduce) {
  .lc-track .lc-node { opacity: 1 !important; transform: none !important; }
  .lc-link::after, .lc-vlink::after { opacity: 0 !important; }
  .lc-glyph .halo { opacity: 0.85 !important; }
  .lc-orbit { transform: none !important; }
}
