/* ============================================================
   CogniCluster Devblog · devblog.cognicluster.com
   Same star-chart identity as ambientagents.net, tuned for
   long-form technical reading. System fonts only.
   ============================================================ */

:root {
  --void: #05080f;
  --void-2: #070c16;
  --panel: #0b1220;
  --panel-2: #0d1526;
  --line: #1b2942;
  --line-soft: #14203a;
  --ink: #e9eef7;
  --body: #c3cede;
  --muted: #8b9cb5;
  --faint: #5b6b85;
  --amber: #ffb648;
  --amber-dim: #c98a2e;
  --cyan: #4fd8c4;
  --red: #ff5d5d;
  --blue: #6ea8ff;
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.72;
  overflow-x: hidden;
}
::selection { background: rgba(255, 182, 72, 0.28); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ---------- nav ---------- */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  height: 56px; display: flex; align-items: center; gap: 26px;
}
.brand {
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.13em; color: var(--ink); white-space: nowrap;
}
.brand b { color: var(--amber); }
.brand:hover { text-decoration: none; }
.nav-links { margin-left: auto; display: flex; gap: 20px; }
.nav-links a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- hero (index) ---------- */
.hero {
  position: relative; z-index: 1;
  padding: 150px 0 80px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5,8,15,0.55) 0%, rgba(5,8,15,0.92) 78%, var(--void) 100%),
    url("assets/backdrop-station.jpg") center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line-soft);
}
#c-hero3d {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
#c-hero3d.ready { opacity: 1; }
#c-hero3d.failed { display: none; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(5,8,15,0.8) 0%, rgba(5,8,15,0.42) 46%, rgba(5,8,15,0.06) 80%);
  pointer-events: none;
}
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.hero-crest {
  width: 64px; height: 64px; margin-bottom: 24px; background: var(--amber);
  -webkit-mask: url("assets/wings.png") center / contain no-repeat;
  mask: url("assets/wings.png") center / contain no-repeat;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px); font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.04; margin: 14px 0 22px; color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { font-size: 19px; max-width: 62ch; color: var(--body); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.cta-btn {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #10131a; background: var(--amber); padding: 11px 20px; border-radius: 3px; font-weight: 700;
}
.cta-btn:hover { background: #ffc670; text-decoration: none; }
.ghost-btn {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--line); padding: 10px 20px; border-radius: 3px;
}
.ghost-btn:hover { border-color: var(--amber); color: var(--amber); text-decoration: none; }

.series-chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--amber);
}
.series-chip a { color: var(--amber); }

/* ---------- index cards ---------- */
section { position: relative; z-index: 1; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 70px 28px 90px; }
.sec-label {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 26px;
  display: flex; align-items: center; gap: 12px;
}
.sec-label::before {
  content: ""; width: 20px; height: 20px; background: var(--amber);
  -webkit-mask: url("assets/chevron.png") center / contain no-repeat;
  mask: url("assets/chevron.png") center / contain no-repeat;
}
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  display: block; border: 1px solid var(--line); border-radius: 5px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 24px 26px; color: var(--body); position: relative;
}
.card:hover { border-color: rgba(255, 182, 72, 0.55); text-decoration: none; }
.card-part { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--faint); }
.card h3 { margin: 10px 0 8px; color: var(--ink); font-size: 19px; line-height: 1.3; }
.card p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.card-go { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: 0.08em; }
.foot-note { max-width: 72ch; color: var(--muted); font-size: 15px; margin-top: 36px; }

/* ---------- article ---------- */
article {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  padding: 130px 28px 60px;
}
.art-head { margin-bottom: 40px; }
.art-head h1 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 850; letter-spacing: -0.015em;
  line-height: 1.12; color: var(--ink); margin: 14px 0 20px;
}
.preamble {
  color: var(--muted); font-size: 16px; font-style: italic;
  border-left: 2px solid var(--amber); padding-left: 18px;
}
.preamble a { color: var(--blue); }

article h2 {
  font-size: 26px; font-weight: 800; color: var(--ink);
  margin: 52px 0 16px; letter-spacing: -0.01em; line-height: 1.25;
}
article p { margin: 0 0 20px; }
article strong { color: var(--ink); }
article li { margin: 8px 0; }
article code {
  font-family: var(--mono); font-size: 0.86em;
  background: rgba(11, 18, 32, 0.9); border: 1px solid var(--line-soft);
  padding: 1px 6px; border-radius: 3px; color: #d7dfeb;
}
article pre {
  background: #060a13; border: 1px solid var(--line); border-radius: 5px;
  padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.7;
  margin: 0 0 20px;
}
article pre code { background: none; border: none; padding: 0; }
article blockquote {
  margin: 0 0 20px; padding: 4px 0 4px 20px;
  border-left: 2px solid var(--cyan); color: var(--muted);
}

/* tables */
.table-scroll { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 5px; }
article table { border-collapse: collapse; width: 100%; font-size: 14px; }
article th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); text-align: left; padding: 12px 14px;
  background: rgba(11, 18, 32, 0.9); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
article td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
article tr:last-child td { border-bottom: none; }
article tbody tr:hover { background: rgba(255, 182, 72, 0.04); }

/* diagrams */
.diagram {
  margin: 30px 0 34px; padding: 22px 18px 14px;
  border: 1px solid var(--line); border-radius: 6px;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(207,216,232,0.45), transparent 100%),
    radial-gradient(1px 1px at 78% 12%, rgba(207,216,232,0.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 62% 82%, rgba(159,216,255,0.3), transparent 100%),
    radial-gradient(1px 1px at 34% 64%, rgba(255,217,160,0.35), transparent 100%),
    radial-gradient(1px 1px at 90% 55%, rgba(207,216,232,0.35), transparent 100%),
    radial-gradient(90% 100% at 70% 0%, rgba(255,182,72,0.05) 0%, transparent 60%),
    radial-gradient(120% 140% at 50% 0%, #0c1428 0%, var(--void-2) 75%);
  position: relative;
}
.diagram::before, .diagram::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  background: var(--amber); opacity: 0.8; pointer-events: none;
  -webkit-mask: url("../assets/corner.png") center / contain no-repeat;
  mask: url("../assets/corner.png") center / contain no-repeat;
}
.diagram::before { top: -4px; left: -4px; }
.diagram::after { bottom: -4px; right: -4px; transform: rotate(180deg); }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption {
  font-family: var(--mono); font-size: 12px; color: var(--faint);
  letter-spacing: 0.05em; margin-top: 12px; text-align: center; line-height: 1.6;
}

/* diagram vocabulary (inline SVGs inherit these; gradients/orbs live in the
   shared defs block the build injects into every page) */
.dg-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; fill: var(--muted); }
.dg-label.big { font-size: 13px; }
.dg-label.small { font-size: 10px; }
.dg-ink { fill: var(--ink); }
.dg-amber { fill: var(--amber); }
.dg-cyan { fill: var(--cyan); }
.dg-red { fill: var(--red); }
.dg-blue { fill: var(--blue); }
.dg-faint { fill: var(--faint); }
.dg-box { fill: url(#g-panel); stroke: #2e4368; stroke-width: 1.2; }
.dg-box.hot { stroke: rgba(255, 182, 72, 0.85); filter: drop-shadow(0 0 9px rgba(255, 182, 72, 0.3)); }
.dg-box.good { stroke: rgba(79, 216, 196, 0.85); filter: drop-shadow(0 0 9px rgba(79, 216, 196, 0.28)); }
.dg-box.bad { stroke: rgba(255, 93, 93, 0.85); stroke-dasharray: 5 4; filter: drop-shadow(0 0 9px rgba(255, 93, 93, 0.28)); }
.dg-hexline { fill: none; stroke: var(--faint); stroke-width: 1.3; }
.dg-hexline.amber { stroke: var(--amber); filter: drop-shadow(0 0 7px rgba(255, 182, 72, 0.45)); }
.dg-hexline.cyan { stroke: var(--cyan); filter: drop-shadow(0 0 7px rgba(79, 216, 196, 0.4)); }
.dg-hexline.red { stroke: var(--red); stroke-dasharray: 4 3; filter: drop-shadow(0 0 7px rgba(255, 93, 93, 0.4)); }
.dg-hexfill { fill: rgba(79, 216, 196, 0.14); stroke: var(--cyan); stroke-width: 1.3; filter: drop-shadow(0 0 8px rgba(79, 216, 196, 0.45)); }
.dg-line { stroke: #2e4368; stroke-width: 1.3; fill: none; }
.dg-line.amber { stroke: rgba(255, 182, 72, 0.8); }
.dg-line.cyan { stroke: rgba(79, 216, 196, 0.8); }
.dg-line.red { stroke: rgba(255, 93, 93, 0.8); }
.dg-line.dash { stroke-dasharray: 5 4; }
.dg-line.thick { stroke-width: 2.2; }
.dg-line.thick.amber { filter: drop-shadow(0 0 6px rgba(255, 182, 72, 0.5)); }
.dg-line.thick.cyan { filter: drop-shadow(0 0 6px rgba(79, 216, 196, 0.45)); }
.dg-flow { stroke-dasharray: 6 7; animation: dgflow 1.5s linear infinite; }
@keyframes dgflow { to { stroke-dashoffset: -13; } }
.dg-bar { fill: url(#g-bar-amber); filter: drop-shadow(0 0 7px rgba(255, 182, 72, 0.35)); }
.dg-bar.dim { fill: #263858; filter: none; }
.dg-bar.red { fill: url(#g-bar-red); filter: drop-shadow(0 0 7px rgba(255, 93, 93, 0.35)); }
.dg-bar.cyan { fill: url(#g-bar-cyan); filter: drop-shadow(0 0 7px rgba(79, 216, 196, 0.35)); }
.dg-node { fill: url(#g-orb-amber); }
.dg-node.cyan { fill: url(#g-orb-cyan); }
.dg-node.red { fill: url(#g-orb-red); }
.dg-pulse { animation: dgpulse 2s ease-in-out infinite; }
@keyframes dgpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* in-article 3D scenes */
.scene3d-fig { margin: 30px 0 34px; }
.scene3d-fig.failed .scene3d, .scene3d-fig.failed .scrub { display: none; }
.scene3d {
  position: relative;
  height: 440px;
  border: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: radial-gradient(130% 150% at 50% 0%, #0c1428 0%, var(--void-2) 75%);
}
.scene3d-fig figcaption {
  font-family: var(--mono); font-size: 12px; color: var(--faint);
  letter-spacing: 0.05em; margin-top: 12px; text-align: center; line-height: 1.6;
}
.scene3d canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  opacity: 0; transition: opacity 1s ease;
}
.scene3d canvas.ready { opacity: 1; }
.overlay-label {
  position: absolute; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); background: rgba(5, 8, 15, 0.72);
  border: 1px solid var(--line); border-radius: 3px; padding: 4px 10px;
  pointer-events: none;
}
.overlay-label.amber { color: var(--amber); border-color: rgba(255, 182, 72, 0.45); }
.overlay-label.cyan { color: var(--cyan); border-color: rgba(79, 216, 196, 0.45); }
.overlay-label.red { color: var(--red); border-color: rgba(255, 93, 93, 0.45); }

/* scrub timeline + system-state panel */
.scrub {
  border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 6px 6px;
  background: rgba(9, 15, 28, 0.85);
  padding: 16px 20px 18px;
}
.scrub-row { display: flex; align-items: center; gap: 12px; }
.scrub-prev, .scrub-next {
  background: var(--panel); color: var(--amber);
  border: 1px solid var(--line); border-radius: 4px;
  width: 34px; height: 30px; font-size: 17px; line-height: 1;
  cursor: pointer; flex: none;
}
.scrub-prev:hover, .scrub-next:hover { border-color: var(--amber); }
.scrub-range { flex: 1; accent-color: var(--amber); height: 6px; cursor: pointer; }
.scrub-phase {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  color: var(--amber); margin-top: 12px;
}
.scrub-note { font-size: 14px; color: var(--muted); margin-top: 4px; min-height: 42px; }
.sys-panel {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px;
}
.sys {
  border: 1px solid var(--line); border-radius: 4px;
  padding: 9px 12px; background: rgba(11, 18, 32, 0.7);
  transition: border-color 0.25s;
}
.sys-name {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--faint); margin-bottom: 4px;
}
.sys-val { font-family: var(--mono); font-size: 11.5px; color: var(--ink); line-height: 1.5; }
.sys[data-state="on"] { border-color: rgba(79, 216, 196, 0.55); }
.sys[data-state="on"] .sys-val { color: var(--cyan); }
.sys[data-state="hot"] { border-color: rgba(255, 182, 72, 0.65); box-shadow: 0 0 12px rgba(255, 182, 72, 0.12); }
.sys[data-state="hot"] .sys-val { color: var(--amber); }
.sys[data-state="warn"] { border-color: rgba(255, 182, 72, 0.35); }
.sys[data-state="warn"] .sys-val { color: #d9b98a; }
.sys[data-state="off"] { opacity: 0.6; }
.sys[data-state="off"] .sys-val { color: var(--faint); }

@media (max-width: 760px) {
  .scene3d { height: 320px; }
  .sys-panel { grid-template-columns: 1fr; }
  .overlay-label { font-size: 9.5px; padding: 3px 7px; }
}

/* callouts */
.callout {
  margin: 26px 0; padding: 14px 18px;
  border: 1px dashed rgba(255, 182, 72, 0.5); border-radius: 5px;
  font-size: 14.5px; color: var(--muted);
}
.callout.decision { border-color: rgba(110, 168, 255, 0.5); }
.callout.delta {
  border-style: solid;
  border-color: rgba(79, 216, 196, 0.45);
  background: rgba(79, 216, 196, 0.04);
}
.callout-label {
  display: block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; color: var(--amber); margin-bottom: 6px;
}
.callout.decision .callout-label { color: var(--blue); }
.callout.delta .callout-label { color: var(--cyan); }
.callout.delta strong { color: var(--ink); }

/* article footer nav + bio */
.art-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 56px 0 0; padding-top: 30px; border-top: 1px solid var(--line-soft);
}
.art-nav a {
  border: 1px solid var(--line); border-radius: 5px; padding: 14px 18px;
  color: var(--ink); font-weight: 650; font-size: 15px; line-height: 1.4;
}
.art-nav a:hover { border-color: rgba(255, 182, 72, 0.55); text-decoration: none; }
.art-nav a span {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; color: var(--faint); margin-bottom: 5px;
}
.art-nav .next { text-align: right; }
.bio {
  margin-top: 34px; padding: 18px 20px; border-left: 2px solid var(--line);
  color: var(--faint); font-size: 13.5px; font-style: italic; line-height: 1.65;
}

/* ---------- site footer ---------- */
.site-foot { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); padding: 40px 0 56px; }
.foot-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); font-family: var(--mono);
}
.foot-inner a { color: var(--muted); }
.foot-inner a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .cards, .art-nav { grid-template-columns: 1fr; }
  .art-nav .next { text-align: left; }
  .nav-links a:not(:last-child) { display: none; }
  article { padding-top: 100px; }
  .hero { padding: 120px 0 60px; }
}

/* Ambient Agents series accents and working-document slot markers */
.sec-label.cyan { color: var(--cyan); }
.sec-label.cyan::before { background: var(--cyan); }
.series-chip.cyan, .series-chip.cyan a { color: var(--cyan); }
.sec-intro {
  max-width: 70ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 26px;
}
.cards.ambient .card-part { color: var(--cyan); }
.cards.ambient .card:hover { border-color: rgba(79, 216, 196, 0.55); }
mark.slot {
  background: none;
  color: var(--amber);
  border: 1px dashed rgba(255, 182, 72, 0.45);
  border-radius: 3px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 0.82em;
  white-space: nowrap;
}

/* ---------- author / recruiter layer ---------- */

/* index: author strip */
.author-strip {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px;
  border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 34px 38px;
}
.author-copy h2 {
  margin: 0 0 14px; color: var(--ink);
  font-size: 28px; font-weight: 850; letter-spacing: -0.015em;
}
.author-copy p { margin: 0 0 22px; font-size: 15.5px; color: var(--body); }
.stat-col { display: grid; gap: 14px; align-content: center; }
.stat {
  display: flex; align-items: baseline; gap: 12px;
  border-left: 2px solid var(--amber); padding-left: 14px;
}
.stat b {
  font-family: var(--mono); font-size: 22px; font-weight: 700;
  color: var(--amber); white-space: nowrap;
}
.stat span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* about page */
.hero.about {
  padding: 140px 0 64px;
  background:
    linear-gradient(180deg, rgba(5,8,15,0.6) 0%, rgba(5,8,15,0.93) 78%, var(--void) 100%),
    url("assets/backdrop-bridge.jpg") center 38% / cover no-repeat;
}
.about-lede { max-width: 72ch; }
.about-lede p { margin: 0 0 20px; font-size: 17px; }
.callout.avail {
  border-style: solid;
  border-color: rgba(255, 182, 72, 0.55);
  background: rgba(255, 182, 72, 0.05);
  font-size: 15.5px; color: var(--body);
  max-width: 72ch; margin-top: 34px;
}
.callout.avail strong { color: var(--amber); }
.cards.impact .card, .card.static { cursor: default; }
.card.static:hover { border-color: var(--line); }
.timeline { border-left: 1px solid var(--line); }
.tl-row { display: flex; gap: 22px; padding: 14px 0 14px 22px; position: relative; }
.tl-row::before {
  content: ""; position: absolute; left: -4px; top: 24px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 8px rgba(255, 182, 72, 0.6);
}
.tl-when {
  flex: none; width: 110px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--faint); padding-top: 3px; white-space: nowrap;
}
.tl-body { font-size: 15px; color: var(--muted); }
.tl-body b { color: var(--ink); font-weight: 700; }
.tl-body span { display: block; font-size: 13.5px; color: var(--faint); margin-top: 2px; }

/* article bio link row */
.bio-links {
  font-style: normal; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.05em; margin-top: 12px; color: var(--faint);
}
.bio-links a { color: var(--muted); }
.bio-links a:hover { color: var(--amber); }

@media (max-width: 760px) {
  .author-strip { grid-template-columns: 1fr; padding: 26px 22px; gap: 26px; }
  .tl-row { flex-direction: column; gap: 2px; }
  .tl-when { width: auto; }
}

/* ============================================================
   cognicluster.com additions on the shared star-chart base
   ============================================================ */

/* nav cta + brand (shared with jeffrey.blog) */
.nav-cta {
  color: #10131a !important; background: var(--amber);
  padding: 6px 12px; border-radius: 3px; font-weight: 700;
}
.nav-cta:hover { background: #ffc670; color: #10131a !important; }

/* hiring front door: slim hire strip between the fixed nav and the hero
   (same strip as jeffrey.blog). Sits in normal flow, offset past the
   fixed nav; side padding aligns its content with .nav-inner at 1080px. */
.hire-bar {
  position: relative; z-index: 2;
  margin-top: 56px;
  display: flex; flex-wrap: wrap; align-items: baseline;
  column-gap: 22px; row-gap: 2px;
  padding: 8px max(28px, calc(50% - 512px));
  background: rgba(8, 13, 24, 0.92);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  line-height: 1.7; color: var(--muted);
}
.hire-bar b { color: var(--ink); font-weight: 700; }
.hb-avail { color: var(--amber); white-space: nowrap; }
.hb-links { margin-left: auto; color: var(--faint); white-space: nowrap; }
.hb-links a { color: var(--blue); }
.hb-links a:hover { color: var(--ink); }

/* plain-English relevance line: the hiring translation directly under
   each product's sec-label, before the flavor copy */
.plain-line {
  max-width: 70ch;
  margin: -12px 0 26px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 182, 72, 0.45);
  font-size: 15px; line-height: 1.68;
  color: var(--muted);
}
.plain-line.cyan-line { border-left-color: rgba(79, 216, 196, 0.45); }

/* hero with the yard scene */
.hero.yard {
  min-height: 92vh; display: flex; align-items: flex-end;
  padding: 150px 0 90px;
  background:
    linear-gradient(180deg, rgba(5,8,15,0.5) 0%, rgba(5,8,15,0.92) 80%, var(--void) 100%),
    url("assets/site/backdrop-station.jpg") center 30% / cover no-repeat;
}
#c-yard {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
#c-yard.ready { opacity: 1; }
#c-yard.failed { display: none; }
.hero.yard .hero-inner { width: 100%; }
.hero .overlay-label { z-index: 2; }
.overlay-label.lane-left { left: 5%; top: 26%; }
.overlay-label.lane-right { right: 5%; top: 16%; }

/* acts */
.act-h {
  margin: 0 0 16px; color: var(--ink);
  font-size: clamp(26px, 3.6vw, 36px); font-weight: 850; letter-spacing: -0.015em;
}
.act-lede { max-width: 68ch; color: var(--body); font-size: 17px; margin: 0 0 22px; }
.tightwrap { padding-top: 28px; padding-bottom: 60px; }

.status-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 40px; }
.status-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 3px;
  padding: 6px 12px; background: rgba(11, 18, 32, 0.7);
}
.status-chip.amber { color: var(--amber); border-color: rgba(255, 182, 72, 0.45); }
.status-chip.cyan { color: var(--cyan); border-color: rgba(79, 216, 196, 0.45); }

/* full-width scene panels */
.scene-panel {
  position: relative; margin: 26px 0 0; height: 66vh; min-height: 420px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(130% 150% at 50% 0%, #0c1428 0%, var(--void-2) 75%);
  overflow: hidden;
}
.scene-panel canvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  opacity: 0; transition: opacity 1s ease;
}
.scene-panel canvas.ready { opacity: 1; }
.scene-panel canvas.failed { display: none; }

/* the hand: fanned card components */
.hand {
  display: flex; justify-content: center; gap: 0;
  padding: 30px 0 8px; flex-wrap: wrap;
}
.pcard {
  position: relative; width: 178px; min-height: 240px;
  margin: 0 -12px; padding: 46px 18px 16px;
  border: 1px solid var(--line); border-radius: 8px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 182, 72, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  transform: rotate(var(--tilt)) translateY(var(--lift, 0px));
  transition: transform 0.25s ease, border-color 0.25s ease;
  text-align: center;
}
.pcard:hover {
  --lift: -18px; z-index: 5;
  border-color: rgba(255, 182, 72, 0.6);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}
.pcard-crest {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(38%) saturate(720%) hue-rotate(347deg);
  opacity: 0.9;
}
.pcard-kind {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em;
  color: var(--faint);
}
.pcard h3 { margin: 6px 0 8px; color: var(--ink); font-size: 15.5px; line-height: 1.25; }
.pcard p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.hand-note {
  text-align: center; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--faint); margin: 14px 0 44px;
}
.hand-note.cyan-note { color: var(--cyan); opacity: 0.8; margin-bottom: 10px; }

/* crew manifest */
.crew {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin: 8px 0 14px;
}
.crew .slot {
  border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 18px 14px 14px; text-align: center;
}
.crew .portrait {
  width: 86px; height: 86px; margin: 0 auto 12px; border-radius: 50%;
  border: 2px solid rgba(255, 182, 72, 0.45); overflow: hidden;
  background: var(--void-2);
  display: flex; align-items: center; justify-content: center;
}
.crew .portrait img { width: 100%; height: 100%; object-fit: cover; }
.crew .portrait.empty {
  color: var(--faint); font-family: var(--mono); font-size: 30px;
  border-style: dashed; border-color: var(--line);
}
.crew b { display: block; color: var(--ink); font-size: 13px; letter-spacing: 0.06em; }
.crew .role {
  display: inline-block; margin-top: 4px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  color: var(--amber);
}
.crew .bond {
  display: block; height: 4px; margin: 10px 12px; border-radius: 2px;
  background: var(--line-soft); position: relative; overflow: hidden;
}
.crew .bond::after {
  content: ""; position: absolute; inset: 0; width: var(--bond, 0%);
  background: linear-gradient(90deg, var(--amber-dim), var(--amber));
}
.crew .slot p { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.crew .recruit { opacity: 0.75; border-style: dashed; }

/* drydock board */
.dock { display: grid; gap: 18px; margin: 26px 0 20px; }
.dock-row {
  display: grid; grid-template-columns: 240px 1fr 260px; gap: 20px; align-items: center;
  border: 1px solid var(--line); border-radius: 5px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 16px 22px;
}
.dock-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--ink); }
.ladder { display: flex; gap: 6px; }
.ladder i {
  flex: 1; font-style: normal; text-align: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  color: var(--faint); padding: 9px 2px 7px;
  border: 1px solid var(--line-soft); border-radius: 3px;
  background: rgba(11, 18, 32, 0.6);
}
.ladder[style*="--lit:1"] i:nth-child(-n+1),
.ladder[style*="--lit:2"] i:nth-child(-n+2),
.ladder[style*="--lit:3"] i:nth-child(-n+3),
.ladder[style*="--lit:4"] i:nth-child(-n+4),
.ladder[style*="--lit:5"] i:nth-child(-n+5) {
  color: var(--amber); border-color: rgba(255, 182, 72, 0.55);
  background: rgba(255, 182, 72, 0.07);
  box-shadow: 0 0 10px rgba(255, 182, 72, 0.12);
}
.ladder.cyan[style*="--lit:1"] i:nth-child(-n+1) {
  color: var(--cyan); border-color: rgba(79, 216, 196, 0.55);
  background: rgba(79, 216, 196, 0.07);
  box-shadow: 0 0 10px rgba(79, 216, 196, 0.12);
}
.dock-note { font-size: 13px; color: var(--muted); text-align: right; }

/* availability card (shared recipe with jeffrey.blog) */
.availability-card {
  display: grid; gap: 6px; justify-items: start;
  margin-top: 22px; padding: 20px 24px;
  border: 1px solid rgba(255, 182, 72, 0.55); border-radius: 5px;
  background: rgba(255, 182, 72, 0.05); max-width: 760px;
}
.availability-card b { color: var(--ink); font-size: 17px; }
.availability-card span { color: var(--muted); font-size: 14.5px; }
.availability-card .avail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

.cyan-btn { background: var(--cyan); }
.cyan-btn:hover { background: #7ce8d6; }

@media (max-width: 900px) {
  .crew { grid-template-columns: repeat(2, 1fr); }
  .crew .recruit { display: none; }
  .dock-row { grid-template-columns: 1fr; gap: 10px; }
  .dock-note { text-align: left; }
  .scene-panel { height: 52vh; }
}
@media (max-width: 760px) {
  .hero.yard { min-height: 78vh; }
  .pcard { margin: 6px; transform: none; }
  .pcard:hover { transform: translateY(-8px); }
  .nav-links a:not(:nth-last-child(-n+2)) { display: none; }
}

/* hero lane chips are links */
a.overlay-label { pointer-events: auto; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
a.overlay-label:hover { text-decoration: none; background: rgba(11, 18, 32, 0.95); }
a.overlay-label.amber:hover { border-color: var(--amber); }
a.overlay-label.cyan:hover { border-color: var(--cyan); }

/* cross-property nav scheme (per ultra4x nav research) */
.brand-sub {
  display: inline-block; margin-left: 12px; font-weight: 400;
  font-size: 10px; letter-spacing: 0.1em; color: var(--faint);
  text-transform: uppercase;
}
.nav-div { width: 1px; height: 16px; background: var(--line); display: inline-block; }
.nav-links a.xsite { color: var(--faint); }
.nav-links a.xsite::after { content: " \2197"; font-size: 9px; }
.nav-links a.xsite:hover { color: var(--ink); }
@media (max-width: 900px) { .brand-sub { display: none; } }
@media (max-width: 760px) { .nav-div { display: none; } }

/* icon button (LinkedIn glyph) */
.icon-btn { display: inline-flex; align-items: center; padding: 10px 14px; }
.icon-btn svg { display: block; }

/* mobile fixes: lane chips off small screens; both nav pins visible */
@media (max-width: 760px) {
  .hero .overlay-label.lane-left, .hero .overlay-label.lane-right { display: none; }
  .nav-links a:not(:last-child) { display: inline; }
  .nav-links a:not(:nth-last-child(-n+2)) { display: none; }
  .nav-links { gap: 10px; }
  /* keep both pins on one line next to the brand at 375px */
  .nav-inner { padding: 0 16px; gap: 14px; }
  .nav-links a { font-size: 10.5px; white-space: nowrap; }
  .nav-cta { padding: 6px 9px; }
}
