/* ============================================================
   Constellation — design system for adrimarieg.github.io
   "Finding connections in the noise."
   Dark ground, amber signal, mono labels, node-and-link motifs.
   ============================================================ */

/* Night — "Gold Leaf": celestial-atlas gold on indigo-black plates.
   (--amber is the historic token name; it now holds the accent, gold/brass.) */
:root {
  --ground: #0A0C12;
  --panel: #12151E;
  --panel-2: #191E2B;
  --seam: #2A3040;
  --seam-soft: #212633;
  --ink: #ECEAE2;
  --body: #C8C6BC;
  --muted: #8B8A80;
  --muted-dim: #807F75;
  --amber: #E3B84F;
  --amber-dim: #96742B;
  --cyan: #9FB6E8;
  --good: #9FB6E8;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --disp: "Helvetica Neue", system-ui, sans-serif;
  --maxw: 1080px;
  --on-amber: #171205;
  --shade: rgba(0, 0, 0, 0.85);
  /* raw rgb triplets for the hero canvas (constellation.js) */
  --sig-rgb: 227, 184, 79;
  --dot-rgb: 128, 127, 117;

  /* aliases so legacy inline styles keep resolving */
  --border-color: var(--seam-soft);
  --bg-secondary: var(--panel);
  --text-primary: var(--ink);
  --text-secondary: var(--body);
  --text-muted: var(--muted);
  --accent-primary: var(--amber);
  --font-mono: var(--mono);
}

/* Day — "Atlas Plate": the printed chart of the same sky. Brass ink and
   faded lapis on aged plate stock; stars become ink dots. */
:root[data-theme="day"] {
  --ground: #F5F2E9;
  --panel: #FFFDF5;
  --panel-2: #EFEBDC;
  --seam: #C9C1A6;
  --seam-soft: #DFD8C4;
  --ink: #1E1A10;
  --body: #4A4433;
  --muted: #736B54;
  --muted-dim: #736B54;
  --amber: #7C5E15;
  --amber-dim: #A5893B;
  --cyan: #35547F;
  --good: #35547F;
  --on-amber: #F5F2E9;
  --shade: rgba(62, 52, 24, 0.28);
  --sig-rgb: 124, 94, 21;
  --dot-rgb: 115, 107, 84;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* faint starfield: tiled dot layers under a gold glow; one sparse layer of
     brighter stars and one rarer gold star for depth. Dots are ink-derived,
     so at night they are starlight and in day mode they are printed dots. */
  background-image:
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--amber) 6%, transparent), transparent 60%),
    radial-gradient(circle at 22% 32%, color-mix(in srgb, var(--ink) 5%, transparent) 0 1px, transparent 1.6px),
    radial-gradient(circle at 71% 64%, color-mix(in srgb, var(--ink) 4%, transparent) 0 1px, transparent 1.6px),
    radial-gradient(circle at 48% 12%, color-mix(in srgb, var(--ink) 7%, transparent) 0 1.2px, transparent 2px),
    radial-gradient(circle at 13% 79%, color-mix(in srgb, var(--amber) 24%, transparent) 0 1px, transparent 1.8px);
  background-size: 100% 100%, 260px 260px, 420px 420px, 640px 640px, 820px 820px;
}

::selection { background: color-mix(in srgb, var(--amber) 28%, transparent); color: var(--ink); }

a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- mono labels ---------- */
.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.label .amber { color: var(--amber); }

/* ---------- top bar ---------- */
header.bar {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--seam-soft);
  background: color-mix(in srgb, var(--ground) 80%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em; }
.brand a { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.brand b { font-weight: 700; letter-spacing: -0.01em; }
.brand .sub { color: var(--muted-dim); }
nav.top { display: flex; align-items: center; gap: 26px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; }
nav.top a { color: var(--muted); text-decoration: none; transition: color 0.18s; padding: 10px 2px; }
nav.top a:hover { color: var(--amber); }
nav.top a.cta { color: var(--ink); }
/* day/night switch: labeled with the sky it takes you to */
.mode {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  background: none; border: 1px solid var(--seam); border-radius: 3px;
  color: var(--muted); padding: 6px 11px; cursor: pointer; white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.mode:hover { color: var(--amber); border-color: var(--amber-dim); }
@media (max-width: 700px) {
  .brand .sub { display: none; }
  nav.top { gap: 13px; font-size: 0.7rem; letter-spacing: 0.02em; }
  .mode { padding: 5px 8px; font-size: 0.62rem; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
#scope {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.9;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 74%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 74%, transparent);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-eyebrow .rule { height: 1px; flex: 0 0 44px; background: var(--amber); }

h1.name {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
}
h1.name .cur { color: var(--amber); font-weight: 400; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.tagline {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 30px 0 0;
  max-width: 30ch;
  text-wrap: balance;
}
.tagline em { font-style: italic; color: var(--amber); font-weight: 600; }

.lede {
  max-width: 60ch; color: var(--muted);
  font-size: 1.02rem; margin: 22px 0 0;
}

.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.05em;
  text-decoration: none; padding: 12px 20px; border-radius: 3px;
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--seam); color: var(--ink);
  transition: border-color 0.18s, color 0.18s, background 0.18s, transform 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--amber); color: var(--on-amber); border-color: var(--amber); font-weight: 600; }
.btn.primary:hover { box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--amber) 50%, transparent); }
.btn.ghost:hover { border-color: var(--amber); color: var(--amber); }

/* live connection counter, top right of the hero */
.vu {
  position: absolute; right: 28px; top: 96px; z-index: 3;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  color: var(--muted); text-align: right; user-select: none;
}
.vu .count { color: var(--amber); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .vu { display: none; } }

/* ---------- section frame ---------- */
section.block { padding: 62px 0; border-top: 1px solid var(--seam-soft); }
section.block.first { border-top: none; padding-top: 12px; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 34px; }
.sec-head .idx { font-family: var(--mono); font-size: 0.8rem; color: var(--amber); }
.sec-head h2 {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0; line-height: 1;
}
.sec-head .meter { flex: 1; height: 1px; background: linear-gradient(90deg, var(--seam), transparent); align-self: center; position: relative; }
.sec-head .meter::before { content: ""; position: absolute; left: -2px; top: 50%; margin-top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber-dim); }
.sec-head .label { align-self: center; }
@media (max-width: 560px) { .sec-head .label { display: none; } }

/* ---------- through-line: career as a constellation ---------- */
.tline { display: block; width: 100%; height: auto; }
/* Draw-in: JS stamps data-anim (so no-JS and reduced-motion keep the static
   default), then .lit resolves the constellation node by node, link by link. */
.tline[data-anim] circle, .tline[data-anim] text { opacity: 0; }
.tline[data-anim] line.tl-link { stroke-dasharray: 1; stroke-dashoffset: 1; }
.tline[data-anim]:not(.lit) .tl-now { animation: none; }
.tline[data-anim].lit circle, .tline[data-anim].lit text { opacity: 1; transition: opacity 0.5s ease-out; }
.tline[data-anim].lit line.tl-link { stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.tline[data-anim].lit circle:nth-of-type(1), .tline[data-anim].lit circle:nth-of-type(2),
.tline[data-anim].lit text:nth-of-type(-n+3) { transition-delay: 0s; }
.tline[data-anim].lit line.tl-link:nth-of-type(1) { transition-delay: 0.1s; }
.tline[data-anim].lit circle:nth-of-type(3), .tline[data-anim].lit circle:nth-of-type(4),
.tline[data-anim].lit text:nth-of-type(n+4):nth-of-type(-n+6) { transition-delay: 0.55s; }
.tline[data-anim].lit line.tl-link:nth-of-type(2) { transition-delay: 0.7s; }
.tline[data-anim].lit circle:nth-of-type(5), .tline[data-anim].lit circle:nth-of-type(6),
.tline[data-anim].lit text:nth-of-type(n+7):nth-of-type(-n+9) { transition-delay: 1.15s; }
.tline[data-anim].lit line.tl-link:nth-of-type(3) { transition-delay: 1.3s; }
.tline[data-anim].lit circle:nth-of-type(7), .tline[data-anim].lit circle:nth-of-type(8),
.tline[data-anim].lit text:nth-of-type(n+10) { transition-delay: 1.75s; }
.tline[data-anim].lit .tl-now { animation-delay: 1.75s; }
.tline .tl-link { stroke: color-mix(in srgb, var(--amber) 32%, transparent); stroke-width: 1; }
.tline .tl-halo { fill: none; stroke: color-mix(in srgb, var(--amber) 28%, transparent); stroke-width: 1; }
.tline .tl-now { animation: halo 2.6s ease-in-out infinite; }
@keyframes halo { 0%,100% { opacity: 0.95; } 50% { opacity: 0.3; } }
.tline .tl-node { fill: var(--amber); }
.tline .tl-year { font-family: var(--mono); font-size: 12px; fill: var(--amber); letter-spacing: 0.08em; }
.tline .tl-name { font-family: var(--disp); font-size: 16px; font-weight: 700; fill: var(--ink); letter-spacing: -0.01em; }
.tline .tl-role { font-family: var(--mono); font-size: 11.5px; fill: var(--muted); }
.tl-list { display: none; }
.tl-more { margin-top: 20px; }
.tl-more a { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--amber); text-decoration: none; }
.tl-more a:hover { text-decoration: underline; }
@media (max-width: 840px) {
  .tline { display: none; }
  .tl-list { display: flex; flex-direction: column; gap: 22px; position: relative; padding-left: 30px; }
  .tl-list::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--seam), var(--amber-dim)); }
  .tl-item { position: relative; }
  .tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px color-mix(in srgb, var(--amber) 60%, transparent); }
  .tl-item .yr { font-family: var(--mono); font-size: 0.72rem; color: var(--amber); letter-spacing: 0.08em; }
  .tl-item h4 { margin: 2px 0; font-size: 1.02rem; }
  .tl-item p { margin: 0; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
}

/* ---------- experience: nodes threaded on a line ---------- */
.strips { display: flex; flex-direction: column; gap: 1px; background: var(--seam-soft); border: 1px solid var(--seam-soft); }
.strip {
  background: var(--panel); padding: 24px 24px 24px 58px; display: grid;
  grid-template-columns: 195px 1fr; gap: 24px; transition: background 0.2s;
  position: relative;
}
.strip::before { content: ""; position: absolute; left: 29px; top: 0; bottom: 0; width: 1px; background: var(--seam-soft); }
.strip::after { content: ""; position: absolute; left: 25px; top: 31px; width: 9px; height: 9px; border-radius: 50%; background: var(--ground); border: 1px solid var(--muted-dim); transition: border-color 0.2s, box-shadow 0.2s; }
.strip:hover::after { border-color: var(--amber); box-shadow: 0 0 8px color-mix(in srgb, var(--amber) 45%, transparent); }
.strip.now::after { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 10px color-mix(in srgb, var(--amber) 70%, transparent); }
.strip:hover { background: var(--panel-2); }
.strip.now { background: linear-gradient(90deg, color-mix(in srgb, var(--amber) 7%, transparent), transparent 42%); }
.strip.now:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--amber) 10%, transparent), var(--panel-2) 42%); }
.strip .who h3 { margin: 0 0 3px; font-size: 1.14rem; letter-spacing: -0.01em; }
.strip .who .co { color: var(--amber); font-family: var(--mono); font-size: 0.86rem; }
.strip .who .dt { color: var(--muted-dim); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; margin-top: 6px; }
.strip .who .badge {
  display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--good);
  border: 1px solid color-mix(in srgb, var(--good) 40%, transparent); border-radius: 100px; padding: 3px 9px;
}
.strip .live { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.strip .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 9px var(--amber); animation: pulse 1.8s ease-in-out infinite; }
.strip ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.strip li { position: relative; padding-left: 20px; color: var(--body); font-size: 0.94rem; }
.strip li::before { content: "›"; position: absolute; left: 2px; color: var(--amber); font-family: var(--mono); }
@media (max-width: 640px) { .strip { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- projects: clusters ---------- */
.rack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.unit {
  position: relative; grid-column: span 1; text-decoration: none; color: inherit;
  border: 1px solid var(--seam-soft); border-radius: 4px; padding: 26px 24px 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  display: flex; flex-direction: column; min-height: 220px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.unit:hover { transform: translateY(-4px); border-color: var(--amber-dim); box-shadow: 0 20px 44px -20px var(--shade), 0 0 0 1px color-mix(in srgb, var(--amber) 12%, transparent) inset; }
/* each project is its own small constellation; it resolves on hover */
.unit .mini { position: absolute; top: 18px; right: 18px; width: 72px; height: 52px; opacity: 0.5; pointer-events: none; transition: opacity 0.25s; }
.unit .mini line { stroke: var(--muted-dim); stroke-width: 1; transition: stroke 0.25s; }
.unit .mini circle { fill: var(--muted-dim); transition: fill 0.25s; }
.unit:hover .mini { opacity: 1; }
.unit:hover .mini line { stroke: color-mix(in srgb, var(--amber) 55%, transparent); }
.unit:hover .mini circle { fill: var(--amber); }
.unit.lead { grid-column: span 2; min-height: 200px; }
.unit .eyebrow { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.unit .win { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--good); margin-bottom: 6px; }
.unit h3 { font-family: var(--disp); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; margin: 8px 0 2px; }
.unit .role { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }
.unit p { color: var(--body); font-size: 0.92rem; margin: 12px 0 0; flex: 1; }
.unit .go { font-family: var(--mono); font-size: 0.78rem; color: var(--amber); margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; }
.unit:hover .go { gap: 12px; }
@media (max-width: 720px) { .rack { grid-template-columns: 1fr; } .unit.lead { grid-column: span 1; } }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.03em; color: var(--muted); border: 1px solid var(--seam-soft); border-radius: 3px; padding: 4px 8px; }

/* ---------- skills: clusters ---------- */
.eq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.band { border: 1px solid var(--seam-soft); border-radius: 4px; padding: 18px 18px 20px; background: var(--panel); }
.band h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.band h4::before { content: "\2726\00a0\00a0"; color: var(--amber-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 0.84rem; color: var(--body); padding: 4px 10px; border-radius: 3px; background: var(--panel-2); border: 1px solid var(--seam-soft); transition: border-color 0.18s, color 0.18s; }
.chip:hover { border-color: var(--amber-dim); color: var(--ink); }
@media (max-width: 720px) { .eq { grid-template-columns: 1fr; } }

/* ---------- outro / contact ---------- */
.outro { text-align: center; padding: 84px 0; border-top: 1px solid var(--seam-soft); }
.outro h2 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: -0.03em; margin: 0 0 8px; }
.outro h2 em { font-style: normal; color: var(--amber); }
.outro p { color: var(--muted); max-width: 46ch; margin: 16px auto 28px; }
.outro .hero-cta { justify-content: center; }

footer { border-top: 1px solid var(--seam-soft); padding: 28px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.74rem; color: var(--muted-dim); letter-spacing: 0.04em; }
.foot-inner a { color: var(--muted); text-decoration: none; margin-left: 14px; display: inline-block; padding: 8px 4px; }
.foot-inner a:hover { color: var(--amber); }
@media (max-width: 560px) { .foot-inner { flex-direction: column; gap: 14px; } }

/* ============================================================
   Subpages (project docs, my-path)
   ============================================================ */

/* mono breadcrumb: the node path back to home */
.crumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted-dim); padding: 26px 0 0; text-transform: uppercase; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs .sep { color: var(--amber-dim); margin: 0 8px; }

/* smaller page hero */
.page-hero { padding: 40px 0 30px; border-bottom: 1px solid var(--seam-soft); }
.page-hero .award { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--good); display: inline-block; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(2.1rem, 6vw, 3.8rem); line-height: 0.95; margin: 0 0 10px; text-wrap: balance; }
.page-hero .sub { font-family: var(--mono); font-size: 0.86rem; color: var(--amber); letter-spacing: 0.04em; margin: 0 0 16px; }
.page-hero .lede { margin-top: 0; max-width: 66ch; }

/* meta readouts */
.meta-row { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 26px; }
.meta-row .meta { display: flex; flex-direction: column; gap: 3px; }
.meta-row .meta .k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dim); }
.meta-row .meta .v { font-family: var(--mono); font-size: 0.84rem; color: var(--ink); }

/* doc body */
.doc { padding: 14px 0 40px; }
.doc-sec { padding: 34px 0 6px; }
.doc-sec h2 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.45rem; margin: 0 0 16px; }
.doc-sec h2::before { content: "\2726"; color: var(--amber); margin-right: 12px; font-size: 0.9em; }
.doc-sec h3 { font-size: 1.08rem; margin: 28px 0 10px; letter-spacing: -0.01em; }
.doc-sec p { color: var(--body); margin: 0 0 14px; }
.doc-sec p strong { color: var(--ink); }
.doc-sec p em { color: var(--amber); font-style: italic; }
.doc-sec a { color: var(--amber); text-decoration: none; }
.doc-sec a:hover { text-decoration: underline; }
.doc-sec ol { color: var(--body); padding-left: 24px; margin: 0 0 14px; }
.doc-sec ol li { margin-bottom: 10px; }
.doc-sec ol li strong, .doc-sec ul li strong { color: var(--ink); }
.doc-sec ul.plain { color: var(--body); padding-left: 0; list-style: none; margin: 0 0 14px; }
.doc-sec ul.plain li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.95rem; }
.doc-sec ul.plain li::before { content: "›"; position: absolute; left: 2px; color: var(--amber); font-family: var(--mono); }

/* feature list: nodes threaded on a line */
.nodelist { list-style: none; margin: 8px 0 0; padding: 0 0 0 30px; position: relative; display: flex; flex-direction: column; gap: 24px; }
.nodelist::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, var(--amber-dim), var(--seam)); }
.nodelist > li { position: relative; }
.nodelist > li::before { content: ""; position: absolute; left: -30px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px color-mix(in srgb, var(--amber) 50%, transparent); }
.nodelist h4 { margin: 0 0 6px; font-size: 1.02rem; letter-spacing: -0.01em; }
.nodelist p { margin: 0; color: var(--body); font-size: 0.94rem; }

/* figures */
figure.shot { margin: 24px 0 8px; }
figure.shot img { width: 100%; height: auto; display: block; border: 1px solid var(--seam-soft); border-radius: 4px; background: var(--panel); }
figure.shot figcaption { margin-top: 10px; font-family: var(--mono); font-size: 0.74rem; line-height: 1.6; color: var(--muted); }
.shot-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.shot-row img { flex: 1 1 320px; min-width: 0; height: auto; display: block; border: 1px solid var(--seam-soft); border-radius: 4px; background: var(--panel); }

/* card grid (impact, highlights) */
.cardgrid { display: grid; gap: 14px; margin-top: 18px; }
.cardgrid .card { background: var(--panel); border: 1px solid var(--seam-soft); border-radius: 4px; padding: 20px 22px; }
.cardgrid .card h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.cardgrid .card h4::before { content: "\2726\00a0\00a0"; color: var(--amber-dim); }
.cardgrid .card p { margin: 0; color: var(--body); font-size: 0.93rem; }

.backline { margin: 40px 0 10px; }

/* ---------- my-path stations ---------- */
.path-track { display: flex; flex-direction: column; align-items: stretch; }
.path-link { width: 1px; height: 72px; margin: 0 auto; background: linear-gradient(180deg, var(--amber-dim), var(--seam)); position: relative; }
.path-link::after { content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--amber-dim); }
.path-station { display: grid; grid-template-columns: 0.7fr 1fr; gap: 40px; align-items: center; }
.path-station.reverse { grid-template-columns: 1fr 0.7fr; }
.path-station.reverse .path-photo { order: 2; }
.path-station.reverse .path-copy { order: 1; }
.path-photo { position: relative; border: 1px solid var(--seam-soft); border-radius: 4px; overflow: hidden; background: var(--panel); width: 100%; max-width: 330px; justify-self: center; }
.path-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; filter: grayscale(1) brightness(0.82); transition: filter 0.6s ease; }
.path-station.is-active .path-photo img { filter: none; }
.plabel { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--amber); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ground) 88%, transparent)); text-transform: uppercase; }
.plabel i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-dim); transition: background 0.4s, box-shadow 0.4s; }
.path-station.is-active .plabel i { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.path-ch { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.path-copy h2 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1; margin: 0 0 12px; }
.path-copy p { color: var(--body); max-width: 46ch; margin: 0 0 14px; }
.path-era { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted-dim); text-transform: uppercase; }
@media (max-width: 760px) {
  .path-station { grid-template-columns: 1fr; gap: 20px; }
  .path-station.reverse .path-photo { order: 1; }
  .path-station.reverse .path-copy { order: 2; }
  .path-link { height: 48px; }
}

/* ---------- focus & skip ---------- */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.skip {
  position: fixed; top: -52px; left: 14px; z-index: 100;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  background: var(--amber); color: var(--on-amber); padding: 10px 16px;
  border-radius: 3px; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #scope { display: none; }
  .brand .dot, .strip .live::before, .tline .tl-now, h1.name .cur { animation: none; }
  .path-photo img { transition: none; }
}
