@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;500;600;700&display=swap");

/* AWFISH SYSTEMS — UPGRADED HOMEPAGE
   Palette: warm paper, ink black, oxblood stamp, political navy
   Type: Bebas Neue (display) + Oswald (text/labels) — condensed poster gothic.
*/

@font-face {
  font-family: "Iron Ranger";
  src: url("assets/YRTIronRanger.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KC Leisure Park";
  src: url("assets/KCLeisurePark-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KC Royal Sans";
  src: url("assets/KCRoyalSans.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* A.W. FISH — MIDCENTURY AVIATION PALETTE
     Manila chart paper, USAF slate, olive drab, aged brass, oxide red. */
  --cream:    #e6d9b6;   /* manila chart paper */
  --navy:     #2b3a49;   /* USAF/USN slate blue, dusty */
  --red:      #b8431f;   /* oxide / international-orange accent */
  --yellow:   #c79434;   /* aged brass / khaki — NOT neon */
  --olive:    #4a4e2c;   /* olive drab */
  --olive-2:  #5e6336;
  --black:    #181612;   /* warm ink, never pure black */
  --white:    #f3eacb;   /* bone */

  /* Semantic aliases (existing rules use these) */
  --paper:      var(--cream);            /* primary background */
  --paper-2:    #d8c896;                 /* deeper manila for cards */
  --paper-dark: #c4b176;
  --paper-3:    #f0e4c4;                 /* highlight manila */
  --ink:        var(--black);            /* type + rules */
  --ink-2:      #2a261d;
  --rule:       var(--black);
  --stamp:      var(--red);              /* action / CTA — oxide red */
  --stamp-dark: #8e3219;
  --ochre:      var(--yellow);           /* brass accent */
  --halftone:   rgba(0, 0, 0, 0.06);

  /* Type — Iron Ranger (primary display) + Bebas Neue (secondary / numerals)
     + Oswald (text/labels), heavy industrial gothic */
  --ff-display: "Iron Ranger", "Bebas Neue", "Impact", sans-serif;
  --ff-num:     "Bebas Neue", "Iron Ranger", "Oswald", "Impact", sans-serif;
  --ff-cond:    "Oswald", "Bebas Neue", sans-serif;
  --ff-serif:   "Oswald", "Source Serif 4", sans-serif;
  --ff-body:    "Oswald", "Source Serif 4", sans-serif;
  --ff-mono:    "Oswald", "IBM Plex Mono", sans-serif;    /* labels / signage */
  --ff-code:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;  /* logs (true monospace) */

  --max-w: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  /* Manila chart paper: faint blueprint grid + olive fiber grain */
  background-image:
    /* faint sectional-chart fold shadow */
    radial-gradient(ellipse 60% 40% at 20% 18%, rgba(74,78,44,0.05) 0, transparent 60%),
    radial-gradient(ellipse 50% 50% at 82% 82%, rgba(24,22,18,0.05) 0, transparent 60%),
    /* coarse blueprint grid — 40px majors, 8px minors, olive */
    linear-gradient(rgba(74,78,44,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,78,44,0.055) 1px, transparent 1px),
    linear-gradient(rgba(74,78,44,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,78,44,0.025) 1px, transparent 1px),
    /* paper fiber noise */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: auto, auto, 80px 80px, 80px 80px, 16px 16px, 16px 16px, 280px 280px;
  background-blend-mode: multiply, multiply, normal, normal, normal, normal, multiply;
}

::selection { background: var(--stamp); color: var(--paper); }

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--ff-mono); letter-spacing: 0.02em; }

/* Logs only — true monospace needed for column-aligned timestamps */
.sys-log, .sys-log-line .t,
.ops-log, .log-time {
  font-family: var(--ff-code) !important;
}
.cond { font-family: var(--ff-cond); }
.serif { font-family: var(--ff-serif); }
.display { font-family: var(--ff-display); letter-spacing: 0.005em; }

.rule { background: var(--rule); height: 2px; width: 100%; }
.rule-thin { background: var(--rule); height: 1px; width: 100%; }

.eyebrow {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.stamp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.stamp-tag.red { color: var(--stamp); border-color: var(--stamp); }
.stamp-tag.navy { color: var(--navy); border-color: var(--navy); }

/* —— layout —— */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px;
}

.shell {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* —— NAV (olive command bar) —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive);
  color: var(--cream);
  border-bottom: 2px solid var(--black);
  box-shadow: 0 1px 0 rgba(243,234,203,0.08) inset, 0 -1px 0 rgba(0,0,0,0.4) inset;
}
.nav::before {
  /* rivet strip under the bar */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background-image: radial-gradient(circle, rgba(0,0,0,0.55) 0 1.2px, transparent 1.4px);
  background-size: 18px 4px;
  background-position: 9px 1px;
  pointer-events: none;
  opacity: 0.7;
}
.nav .nav-link { color: var(--cream); }
.nav .nav-link:hover { color: var(--yellow); }
.nav .nav-link::after { background: var(--yellow); }
.nav .nav-brand { color: var(--cream); }
.nav .nav-brand:hover { color: var(--yellow); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 36px;
  gap: 18px;
}
.nav-left, .nav-right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-right { justify-content: flex-end; }
.nav-link {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { color: var(--stamp); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--stamp);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-brand {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-brand-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--stamp);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--stamp);
  animation: heart 2.4s ease-in-out infinite;
}
.nav-mascot {
  height: 38px;
  width: auto;
  display: block;
  transition: transform 200ms ease;
}
.nav-brand:hover .nav-mascot { transform: rotate(-6deg) scale(1.08); }
@keyframes heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--cream);
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background 150ms, transform 150ms, color 150ms, box-shadow 150ms;
}
.cta-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--black);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--black);
}
.cta-btn.outline { background: transparent; color: var(--black); }
.cta-btn.outline:hover { background: var(--black); color: var(--yellow); }
.cta-btn.red { background: var(--red); border-color: var(--red); color: var(--white); }
.cta-btn.red:hover { background: var(--yellow); color: var(--black); border-color: var(--black); }

/* —— BULLETIN BAR (data tape) —— */
.bulletin {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 22px),
    var(--black);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(243,234,203,0.18);
  border-bottom: 1px solid rgba(243,234,203,0.18);
  position: relative;
}
.bulletin::before, .bulletin::after {
  /* sprocket holes top & bottom — like reel-to-reel tape */
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background-image: radial-gradient(circle, var(--cream) 0 1.1px, transparent 1.3px);
  background-size: 14px 3px;
  background-position: 7px 0;
  opacity: 0.35;
}
.bulletin::before { top: 2px; }
.bulletin::after  { bottom: 2px; }
.bulletin-track {
  display: flex;
  gap: 56px;
  padding: 11px 0;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
}
.bulletin-item {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}
.bulletin-dot { color: var(--yellow); font-size: 9px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— small bits —— */
.scanlines {
  position: relative;
}
.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 1;
}
.scanlines > * { position: relative; z-index: 2; }

@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.4; }
  94% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
}
.flicker { animation: flicker 6s infinite; }

/* —— HERO (slate hangar block) —— */
.hero {
  padding: 56px 36px 24px;
  border-bottom: 2px solid var(--black);
  position: relative;
  background:
    /* corner reticles + faint stencil grid on slate */
    linear-gradient(rgba(243,234,203,0.04) 1px, transparent 1px) 0 0 / 100% 80px,
    linear-gradient(90deg, rgba(243,234,203,0.04) 1px, transparent 1px) 0 0 / 80px 100%,
    radial-gradient(ellipse at 50% 0%, rgba(243,234,203,0.06), transparent 60%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -30px;
  width: 520px;
  height: 520px;
  background: url("assets/Speedboy_Z.png") center / contain no-repeat;
  opacity: 0.06;
  filter: grayscale(1) contrast(1.3) brightness(1.4);
  pointer-events: none;
  transform: rotate(8deg);
  z-index: 0;
}
.hero::after {
  /* corner registration crosshairs — hand-drawn aviation chart vibe */
  content: "";
  position: absolute;
  inset: 16px 20px;
  pointer-events: none;
  background-image:
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream));
  background-repeat: no-repeat;
  background-size:
    14px 1px, 1px 14px,    /* TL */
    14px 1px, 1px 14px,    /* TR */
    14px 1px, 1px 14px,    /* BL */
    14px 1px, 1px 14px;    /* BR */
  background-position:
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
  opacity: 0.5;
  z-index: 1;
}
.hero > * { position: relative; z-index: 1; }
.hero .hero-sub { color: var(--cream); }
.hero .hero-sub b { color: var(--yellow); font-style: italic; }
.hero .hero-meta-row { color: var(--cream); }
.hero .stamp-tag { color: var(--cream); border-color: var(--cream); }
.hero .stamp-tag.red { color: var(--yellow); border-color: var(--yellow); }
.hero .cta-btn { color: var(--cream); border-color: var(--cream); background: transparent; }
.hero .cta-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); box-shadow: 4px 4px 0 var(--black); }
.hero .cta-btn.red { background: var(--red); color: var(--white); border-color: var(--red); }
.hero .cta-btn.red:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: end;
}
.hero-grid.hero-grid-solo {
  grid-template-columns: 1fr;
  align-items: start;
}
.hero-grid.hero-grid-solo .hero-sub { max-width: 720px; }
.hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto 32px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-meta-row .col {
  display: flex; align-items: center; gap: 18px;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(72px, 11vw, 168px);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
  /* Stencil-style soft offset — like an ink-stamp double print, not a poster shadow */
  text-shadow:
    1px 1px 0 rgba(0,0,0,0.6),
    2px 2px 0 rgba(184,67,31,0.55);
}
.hero-title {
  cursor: default;
}
.hero-title .word { cursor: pointer; }
.hero-title .word {
  display: inline-block;
  position: relative;
  transition: color 220ms;
  /* keep height stable while alt is absolutely positioned */
}
.hero-title .word .original,
.hero-title .word .alt {
  display: inline-block;
  transition:
    transform 380ms cubic-bezier(.2,.8,.2,1),
    opacity 240ms ease;
}
.hero-title .word .alt {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  color: var(--stamp);
  transform: translateY(115%);
  white-space: nowrap;
}
/* Per-word swap — hovering (or tapping) a single word flips just that word
   to its synonym, so any combination still reads as two coherent sentences. */
.hero-title .word:hover .original,
.hero-title .word.flip .original {
  opacity: 0;
  transform: translateY(-115%);
}
.hero-title .word:hover .alt,
.hero-title .word.flip .alt {
  opacity: 1;
  transform: translateY(0);
}
/* second line — cream instead of yellow, classic poster contrast */
.hero-title .word-wrap:nth-of-type(n+4) .word .original,
.hero-title .word-wrap:nth-of-type(n+4) .word .alt {
  color: var(--cream);
}

/* words whose alt is the same as the original — don't animate, just sit there */
.hero-title .word.same .alt {
  position: absolute;
  opacity: 0;
}
.hero-title .word.same .original { opacity: 1 !important; transform: none !important; }

.hero-title .slash { color: var(--stamp); display: inline-block; margin: 0 0.05em; }

.hero-sub {
  font-family: var(--ff-serif);
  font-size: 21px;
  line-height: 1.45;
  max-width: 620px;
  margin-top: 28px;
  color: var(--ink-2);
}
.hero-sub b { color: var(--ink); font-weight: 600; font-style: italic; }

.hero-cta-row {
  display: flex; gap: 14px; margin-top: 28px;
  flex-wrap: wrap;
}

/* Hero brand mark */
.mark-card {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  padding: 22px 22px 18px;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
  align-self: end;
}
.mark-card-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.mark-tab {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 7px;
  border: 1px solid var(--ink);
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.mark-tab.active { background: var(--ink); color: var(--paper); }

.mark-svg-wrap {
  background:
    repeating-linear-gradient(45deg, rgba(20,17,13,0.05) 0 6px, transparent 6px 12px),
    var(--paper);
  border: 1px solid var(--ink);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.mark-svg-wrap svg { width: 78%; height: auto; }

.mark-treatment {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
}
.mark-treatment img {
  width: 64%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 2px 0 rgba(20,17,13,0.15));
}
.mark-treatment.t-inverse {
  background: var(--ink);
}
.mark-treatment.t-inverse img {
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.08));
  width: 58%;
}
.mark-treatment.t-inverse .mark-wordmark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px;
  pointer-events: none;
}
.mark-treatment.t-inverse .mark-wordmark span {
  font-family: var(--ff-display);
  color: var(--paper);
  font-size: 28px;
  letter-spacing: 0.04em;
}
.mark-treatment.t-inverse .mark-wordmark span:last-child {
  text-align: right;
  color: var(--stamp);
}

.mark-treatment.t-stamp {
  background:
    radial-gradient(circle at center, var(--paper) 60%, transparent 62%),
    repeating-linear-gradient(45deg, rgba(20,17,13,0.05) 0 6px, transparent 6px 12px),
    var(--paper);
}
.mark-treatment.t-stamp .stamp-ring {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.mark-treatment.t-stamp .stamp-ring svg {
  width: 100%;
  height: 100%;
}
.mark-treatment.t-stamp img {
  width: 48%;
  position: relative;
  z-index: 2;
}

.mark-treatment.t-ledger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--paper);
}
.mark-treatment.t-ledger .ledger-top,
.mark-treatment.t-ledger .ledger-bot {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid var(--ink);
}
.mark-treatment.t-ledger .ledger-bot {
  border-bottom: none;
  border-top: 1px solid var(--ink);
}
.mark-treatment.t-ledger img {
  width: 70%;
  margin: 0 auto;
}

.mark-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mark-meta b { color: var(--stamp); }

/* SECTION HEADERS */
.section-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 36px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: end;
  border-top: 2px solid var(--ink);
}
.section-head .num {
  font-family: var(--ff-num);
  font-size: 96px;
  line-height: 0.85;
  color: var(--stamp);
}
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
}
.section-head h2 em {
  font-style: italic;
  color: var(--stamp);
}
.section-head .lede {
  font-family: var(--ff-serif);
  font-size: 18px;
  color: var(--ink-2);
  max-width: 560px;
  margin-top: 12px;
}

/* —— SERVICES MARQUEE & GRID —— */
.services {
  padding: 0 36px 64px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  margin-top: 36px;
}
.svc-card {
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 22px 22px 26px;
  cursor: pointer;
  position: relative;
  background: var(--paper);
  transition: background 200ms;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-card:hover { background: var(--paper-2); }
.svc-card.open { background: var(--ink); color: var(--paper); }
.svc-card.open .eyebrow { color: var(--paper); opacity: 0.7; }
.svc-card.open .svc-rule { background: var(--paper); }

.svc-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.svc-title {
  font-family: var(--ff-display);
  font-size: 30px;
  line-height: 0.95;
  text-transform: uppercase;
}
.svc-sub {
  font-family: var(--ff-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--stamp);
  text-transform: uppercase;
  margin-top: -6px;
}
.svc-card.open .svc-sub { color: var(--ochre); }
.svc-rule { height: 2px; background: var(--ink); width: 36px; }
.svc-body {
  font-size: 14.5px;
  line-height: 1.5;
  font-family: var(--ff-serif);
}
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.svc-chip {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 7px;
  border: 1px solid currentColor;
  opacity: 0.85;
}
.svc-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--stamp);
}
.svc-card.open .svc-icon { color: var(--stamp); }

/* —— OPS MONITOR · FOUR SYSTEMS —— */
.sys-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #3a342a;
}
.sys-card {
  border-right: 1px solid #3a342a;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%);
  min-height: 460px;
}
.sys-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.sys-card:last-child { border-right: none; }
.sys-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sys-eyebrow {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8a87a;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sys-dot {
  width: 7px; height: 7px; border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
.sys-status {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid var(--accent);
  opacity: 0.85;
}
.sys-title {
  font-family: var(--ff-display);
  font-size: 26px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}
.sys-project {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #b8a87a;
  text-transform: uppercase;
  margin-top: -4px;
}
.sys-body {
  flex: 0 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
}
.sys-visual { width: 100%; }

.cc-row { display: flex; gap: 6px; justify-content: center; margin-bottom: 10px; }
.cc-issue {
  width: 30px; height: 40px;
  border: 1.5px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0 4px;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--paper);
}
.cc-issue .cc-check { font-size: 11px; line-height: 1; }

.stack-bar { display: flex; gap: 2px; height: 6px; }
.stack-bar .seg { flex: 1; }

.ma-mini { width: 100%; max-width: 220px; display: block; margin: 0 auto; }

.claude-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
  width: 100%;
}
.claude-grid span { aspect-ratio: 1; transition: background 400ms; }

.robo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: 100%;
}
.robo-cover {
  aspect-ratio: 2/3;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 13px;
  color: var(--paper);
  transition: background 400ms, border-color 400ms;
}

/* Challenger Club status line */
.cc-status {
  display: flex;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-items: baseline;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dotted rgba(245, 241, 232, 0.18);
}
.cc-status .k { color: rgba(245, 241, 232, 0.55); }
.cc-status .v { color: var(--stamp); font-weight: 600; }
.cc-status .sep { color: rgba(245, 241, 232, 0.3); margin: 0 2px; }

/* Product Intelligence capabilities under the grid */
.pi-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
}

/* Robo Picto live feed */
.robo-feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.robo-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid #5b8a72;
  font-size: 11px;
  transition: background 400ms;
}
.robo-row.err {
  border-left-color: #c8242b;
  background: rgba(200, 36, 43, 0.06);
}
.robo-row.fresh {
  animation: robo-flash 800ms ease-out;
}
@keyframes robo-flash {
  0%   { background: rgba(91, 138, 114, 0.35); transform: translateX(-3px); }
  100% { background: rgba(255, 255, 255, 0.025); transform: translateX(0); }
}
.robo-row.err.fresh {
  animation: robo-flash-err 800ms ease-out;
}
@keyframes robo-flash-err {
  0%   { background: rgba(200, 36, 43, 0.3); transform: translateX(-3px); }
  100% { background: rgba(200, 36, 43, 0.06); transform: translateX(0); }
}
.robo-blurcover {
  width: 26px; height: 36px;
  position: relative;
  overflow: hidden;
  filter: blur(2.2px);
  flex-shrink: 0;
}
.robo-blurcover.err { filter: blur(3.5px) saturate(0.4); }

.robo-row-main { min-width: 0; line-height: 1.2; }
.robo-row-title {
  font-family: var(--ff-display);
  font-size: 13px;
  color: var(--paper);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.robo-row-title .iss {
  color: var(--ochre);
  margin-left: 3px;
}
.robo-row-meta {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.robo-row.err .robo-row-meta { color: #c8242b; }

.robo-row-conf {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  font-weight: 600;
  color: #5b8a72;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.robo-row-conf.err { color: #c8242b; }
.robo-row-time {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(245, 241, 232, 0.45);
  font-weight: 400;
  margin-top: 1px;
}

.pub-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #b8a87a;
  margin-top: 6px;
  text-transform: uppercase;
}

.sys-metric {
  border-top: 1px dashed #3a342a;
  padding-top: 10px;
}
.sys-metric-v {
  font-family: var(--ff-num);
  font-size: 44px;
  line-height: 0.95;
  color: var(--paper);
}
.sys-metric-l {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8a87a;
  margin-top: 4px;
}

.sys-log {
  background: #0b0907;
  border: 1px solid #3a342a;
  padding: 8px 10px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  line-height: 1.6;
  flex: 1;
  overflow: hidden;
  min-height: 78px;
}
.sys-log-line { display: flex; gap: 8px; align-items: baseline; }
.sys-log-line .t { color: #6b6147; min-width: 56px; font-size: 9.5px; }
.sys-log-line .g { color: #b8a87a; min-width: 64px; font-size: 9.5px; }
.sys-log-line .g.ok { color: #4ade80; }
.sys-log-line .g.warn { color: #fbbf24; }
.sys-log-line .g.err { color: #f87171; }
.sys-log-line .m { color: #d6c89e; flex: 1; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sys-foot {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 4px;
  cursor: pointer;
  transition: color 150ms;
}
.sys-foot:hover { color: var(--paper); }

@media (max-width: 1100px) {
  .sys-grid { grid-template-columns: 1fr 1fr; }
  .sys-card:nth-child(2) { border-right: none; }
  .sys-card:nth-child(-n+2) { border-bottom: 1px solid #3a342a; }
}
@media (max-width: 640px) {
  .sys-grid { grid-template-columns: 1fr; }
  .sys-card { border-right: none; border-bottom: 1px solid #3a342a; }
}

/* —— OPS MONITOR —— */
.ops {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 36px;
  margin: 56px 0 0;
}
.ops-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.ops-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--paper);
  padding-bottom: 14px;
}
.ops-head h3 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.5vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
}
.ops-head h3 em { color: var(--stamp); font-style: italic; }
.ops-head .right {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-dot {
  width: 9px; height: 9px; background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #3a342a;
}
.ops-cell {
  padding: 18px 18px 22px;
  border-right: 1px solid #3a342a;
  border-bottom: 1px solid #3a342a;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  min-height: 130px;
}
.ops-cell:nth-child(4n) { border-right: none; }
.ops-cell:nth-last-child(-n+4) { border-bottom: none; }
.ops-cell .label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8a87a;
}
.ops-cell .value {
  font-family: var(--ff-num);
  font-size: 48px;
  line-height: 0.95;
}
.ops-cell .value.green { color: #4ade80; }
.ops-cell .value.red { color: #f87171; }
.ops-cell .delta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #b8a87a;
}
.ops-cell .delta.up { color: #4ade80; }
.ops-cell .delta.dn { color: #f87171; }

.spark {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 90px; height: 32px;
}

.ops-log {
  margin-top: 24px;
  background: #0b0907;
  border: 1px solid #3a342a;
  padding: 14px 18px;
  font-family: var(--ff-mono);
  font-size: 12px;
  line-height: 1.8;
  max-height: 200px;
  overflow: hidden;
  position: relative;
}
.ops-log::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background: linear-gradient(transparent, #0b0907);
  pointer-events: none;
}
.log-line { display: flex; gap: 14px; }
.log-time { color: #6b6147; min-width: 70px; }
.log-tag { color: #b8a87a; min-width: 80px; }
.log-tag.ok { color: #4ade80; }
.log-tag.warn { color: #fbbf24; }
.log-tag.err { color: #f87171; }
.log-msg { color: #d6c89e; flex: 1; }

/* —— WORK —— */
.work {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px 64px;
}
.work-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}
.work-row {
  border-bottom: 2px solid var(--ink);
  padding: 26px 0 26px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 80px 1fr 200px 160px 40px;
  gap: 24px;
  align-items: center;
  position: relative;
  transition: padding 250ms;
}
.work-row:hover { padding-left: 16px; }
.work-row:hover .work-title { color: var(--stamp); }
.work-num {
  font-family: var(--ff-num);
  font-size: 36px;
  color: var(--stamp);
  line-height: 0.9;
}
.work-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
  transition: color 200ms;
}
.work-meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.work-arrow {
  font-family: var(--ff-num);
  font-size: 32px;
  color: var(--ink);
  transition: transform 200ms, color 200ms;
}
.work-row:hover .work-arrow { transform: translateX(6px); color: var(--stamp); }
.work-row.open .work-arrow { transform: rotate(90deg); color: var(--stamp); }

.work-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  padding: 24px 0 36px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
  margin: 0 -36px;
  padding-left: 36px;
  padding-right: 36px;
}
.work-detail-visual {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 2px solid var(--ink);
}
.work-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work-detail-meta h4 {
  font-family: var(--ff-display);
  font-size: 28px;
  text-transform: uppercase;
}
.work-detail-meta p {
  font-family: var(--ff-serif);
  font-size: 15.5px;
  line-height: 1.55;
}
.work-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  margin-top: 6px;
}
.work-stat {
  padding: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.work-stat .v {
  font-family: var(--ff-num);
  font-size: 32px;
  color: var(--stamp);
  line-height: 0.95;
}
.work-stat .l {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* —— PROCESS —— */
.process {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px 80px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}
.proc-step {
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 24px 22px 28px;
  position: relative;
  cursor: pointer;
  background: var(--paper);
}
.proc-step:hover { background: var(--paper-2); }
.proc-step .num {
  font-family: var(--ff-num);
  font-size: 64px;
  color: var(--ink);
  line-height: 0.9;
  opacity: 0.15;
  position: absolute;
  top: 12px;
  right: 16px;
}
.proc-step h4 {
  font-family: var(--ff-display);
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.proc-step p {
  font-family: var(--ff-serif);
  font-size: 14.5px;
  line-height: 1.5;
}

/* —— INFLUENCES —— */
.inf {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px 80px;
}
.inf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.inf-card {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  padding: 18px;
  position: relative;
  min-height: 200px;
  cursor: pointer;
  transition: transform 200ms, box-shadow 200ms, background 200ms;
}
.inf-card:hover {
  background: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.inf-card h4 {
  font-family: var(--ff-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.inf-card p {
  font-family: var(--ff-serif);
  font-size: 14px;
  line-height: 1.5;
}
.inf-card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--stamp);
}

/* —— WORK ORDER —— */
.order {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 36px;
  border-top: 2px solid var(--ink);
}
.order-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.order h3 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 6vw, 100px);
  line-height: 0.9;
  text-transform: uppercase;
}
.order h3 em { color: var(--stamp); font-style: italic; }
.order .lede {
  font-family: var(--ff-serif);
  font-size: 18px;
  margin-top: 18px;
  color: #d6c89e;
  max-width: 480px;
}

.order-form {
  background: var(--paper);
  color: var(--ink);
  padding: 28px;
  border: 2px solid var(--paper);
  box-shadow: 8px 8px 0 var(--stamp);
}
.order-form .step-pips {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.pip {
  flex: 1;
  height: 4px;
  background: var(--paper-dark);
  border: 1px solid var(--ink);
}
.pip.active { background: var(--stamp); }

.order-form h5 {
  font-family: var(--ff-display);
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.opt {
  border: 1.5px solid var(--ink);
  padding: 10px 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  text-align: left;
  transition: background 150ms;
}
.opt:hover { background: var(--paper-2); }
.opt.active { background: var(--ink); color: var(--paper); }

.order-form input,
.order-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  padding: 9px 0;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
  outline: none;
}
.order-form input:focus,
.order-form textarea:focus { border-bottom-color: var(--stamp); }
.order-form label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
  margin-top: 8px;
  color: var(--ink-2);
}
.order-form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.order-submitted {
  text-align: center;
  padding: 36px 18px;
}
.inf-card .badge { font-family: var(--ff-mono) !important; }
.order-submitted .seal {
  width: 110px; height: 110px;
  margin: 0 auto 18px;
  border: 3px solid var(--stamp);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
  color: var(--stamp);
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.05;
  padding: 8px;
}

/* —— FOOTER —— */
.foot {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 36px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  border-top: 2px solid var(--ink);
}
.foot h6 {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--ink-2);
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.foot li {
  font-family: var(--ff-serif);
  font-size: 15px;
  cursor: pointer;
}
.foot li:hover { color: var(--stamp); }
.foot-col {
  display: flex;
  flex-direction: column;
}
.foot-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 36px 32px;
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.foot-incognito {
  margin-left: 8px;
  text-decoration: none;
  color: var(--ink-2);
  opacity: 0.3;
  transition: opacity 0.2s, color 0.2s;
}
.foot-incognito:hover {
  opacity: 1;
  color: var(--red, #C4401A);
}
.shop {
  background: var(--paper-2);
  padding: 64px 36px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.shop-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.shop-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 200ms, box-shadow 200ms;
  position: relative;
}
.shop-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
.shop-thumb {
  aspect-ratio: 1;
  background: var(--paper-dark);
  display: grid;
  place-items: center;
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.shop-meta { padding: 14px 14px 16px; }
.shop-meta .name {
  font-family: var(--ff-display);
  font-size: 22px;
  text-transform: uppercase;
  line-height: 0.95;
}
.shop-meta .row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shop-meta .price { color: var(--stamp); }
.sold-out {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 7px;
}
.low-stock {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--stamp);
  color: var(--paper);
  padding: 3px 7px;
}

/* —— DISPATCHES (FIELD NOTES + PUBLIUS) —— */
.disp {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px 80px;
}
.disp-masthead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 4px double var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 14px 0 10px;
  margin-bottom: 4px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.disp-masthead .center {
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: 0.08em;
}
.disp-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
}
.disp-tab {
  flex: 1;
  padding: 16px 18px;
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.6vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: transparent;
  border: none;
  border-right: 2px solid var(--ink);
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--ink);
  transition: background 200ms, color 200ms;
  position: relative;
}
.disp-tab:last-child { border-right: none; }
.disp-tab:hover { background: var(--paper-2); }
.disp-tab.active { background: var(--ink); color: var(--paper); }
.disp-tab .sub {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.65;
}
.disp-tab em { font-style: italic; color: var(--stamp); }
.disp-tab.active em { color: var(--stamp); }

.disp-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.disp-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--ink);
  padding-right: 32px;
}
.disp-feature .visual {
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
}
.disp-feature h3 {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms;
}
.disp-feature h3:hover { color: var(--stamp); }
.disp-feature h3 .it { font-style: italic; color: var(--stamp); font-family: var(--ff-serif); font-weight: 500; text-transform: none; }
.disp-feature .meta-row {
  display: flex;
  gap: 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  align-items: center;
}
.disp-feature .lede-p {
  font-family: var(--ff-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 620px;
}
.disp-feature .lede-p::first-letter {
  font-family: var(--ff-display);
  float: left;
  font-size: 56px;
  line-height: 0.85;
  padding-right: 8px;
  padding-top: 4px;
  color: var(--stamp);
}

.disp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.disp-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: padding 200ms, color 200ms;
}
.disp-item:first-child { padding-top: 0; }
.disp-item:hover { padding-left: 8px; }
.disp-item:hover h4 { color: var(--stamp); }
.disp-item .row1 {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.disp-item h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  transition: color 180ms;
}
.disp-item p {
  font-family: var(--ff-serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.disp-subscribe {
  margin-top: 18px;
  padding: 18px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.disp-subscribe .left {
  font-family: var(--ff-serif);
  font-size: 14.5px;
  line-height: 1.45;
  max-width: 320px;
}
.disp-subscribe .left b { font-family: var(--ff-display); font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; display: block; margin-bottom: 4px; }

.disp-cat-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 3px 7px;
  border: 1px solid var(--ink);
  text-transform: uppercase;
}
.disp-cat-tag.design { background: var(--ink); color: var(--paper); }
.disp-cat-tag.ai { background: var(--stamp); color: var(--paper); border-color: var(--stamp); }
.disp-cat-tag.ops { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.disp-cat-tag.ochre { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
.disp-cat-tag.essay { background: transparent; color: var(--ink); }

@media (max-width: 1100px) {
  .disp-body { grid-template-columns: 1fr; }
  .disp-feature { border-right: none; padding-right: 0; border-bottom: 1px solid var(--ink); padding-bottom: 24px; }
  .disp-tab { font-size: 18px; }
}

/* —— small bits —— */
.divider-stars {
  text-align: center;
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--stamp);
  padding: 18px 0;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mark-card { max-width: 380px; }
  .svc-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .order-inner, .foot { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: 48px 1fr 100px 32px; }
  .work-row .work-meta:nth-of-type(2) { display: none; }
  .work-detail { grid-template-columns: 1fr; }
  .inf-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; }
}

/* =====================================================
   INNER PAGES — case studies, about, field notes
   ===================================================== */

.page-shell { background: var(--paper); min-height: 100vh; }

/* Case study hero */
.case-hero {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 4px solid var(--black);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.case-hero-inner {
  padding: 56px 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.case-hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}
.case-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(54px, 7.5vw, 124px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--red), 6px 6px 0 rgba(0,0,0,0.35);
}
.case-hero-sub {
  font-family: var(--ff-serif);
  font-size: 22px;
  line-height: 1.4;
  max-width: 640px;
  color: var(--cream);
}
.case-hero-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 2px solid var(--cream);
  padding-top: 18px;
  margin-top: 8px;
}
.case-hero-info > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--ff-body);
  font-size: 17px;
  color: var(--cream);
}
.case-hero-info .label {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.case-hero-visual {
  position: relative;
  border-left: 4px solid var(--black);
  background: var(--black);
  min-height: 480px;
  overflow: hidden;
}
.case-hero-visual > svg { width: 100%; height: 100%; display: block; }

/* Case section */
.case-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 56px;
  border-bottom: 2px solid var(--black);
}
.case-section.bg-yellow { background: var(--yellow); }
.case-section.bg-navy { background: var(--navy); color: var(--cream); max-width: none; padding-left: 56px; padding-right: 56px; }
.case-section.bg-navy > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.case-section.bg-cream-2 { background: #ebe4d3; max-width: none; }
.case-section.bg-cream-2 > * { max-width: 1280px; margin-left: auto; margin-right: auto; padding: 0; }
.case-section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 24px;
}
.case-section-num {
  font-family: var(--ff-display);
  font-size: 64px;
  line-height: 0.85;
  color: var(--red);
}
.case-section.bg-navy .case-section-num { color: var(--yellow); }
.case-section.bg-yellow .case-section-num { color: var(--black); }
.case-section-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}
.case-section-lede {
  font-family: var(--ff-serif);
  font-size: 22px;
  line-height: 1.45;
  max-width: 820px;
  margin-bottom: 28px;
  color: var(--ink-2);
}
.case-section.bg-navy .case-section-lede { color: var(--cream); }
.case-section-body {
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.65;
}
.case-section-body p { margin-bottom: 18px; max-width: 760px; }
.case-section-body p.drop-cap::first-letter {
  font-family: var(--ff-display);
  float: left;
  font-size: 78px;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--red);
}
.case-section-body h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  text-transform: uppercase;
  margin: 24px 0 10px;
}
.case-section-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 24px;
}
.case-section-body ul li { padding-left: 24px; position: relative; }
.case-section-body ul li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }

/* Stats */
.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--black);
  border-left: 3px solid var(--black);
}
.case-stat {
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  padding: 24px 22px;
  background: var(--paper);
}
.case-stat .v {
  font-family: var(--ff-display);
  font-size: 56px;
  line-height: 0.9;
  color: var(--red);
}
.case-stat .l {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Split */
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.case-visual-card {
  background: var(--paper-2);
  border: 3px solid var(--black);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.case-visual-card svg { width: 100%; height: 100%; display: block; }

/* Pull quote */
.pull-quote {
  background: var(--yellow);
  border: 3px solid var(--black);
  padding: 36px 36px 28px 64px;
  margin: 32px 0;
  position: relative;
  max-width: 820px;
  box-shadow: 8px 8px 0 var(--black);
}
.pull-quote .pull-mark {
  font-family: var(--ff-display);
  font-size: 96px;
  line-height: 0.7;
  color: var(--red);
  position: absolute;
  top: 12px;
  left: 14px;
}
.pull-quote p {
  font-family: var(--ff-display);
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
}
.pull-quote cite {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-style: normal;
  display: block;
  margin-top: 16px;
  text-transform: uppercase;
}

/* Timeline */
.case-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--black);
  border-left: 3px solid var(--black);
  margin-top: 24px;
}
.case-timeline-step {
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  padding: 22px;
  background: var(--paper);
  position: relative;
}
.case-timeline-step .step-num {
  font-family: var(--ff-display);
  font-size: 48px;
  color: var(--red);
  line-height: 0.85;
  position: absolute;
  right: 16px;
  top: 14px;
  opacity: 0.25;
}
.case-timeline-step h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.case-timeline-step p {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.5;
}

/* Gallery */
.case-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-gallery-item {
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border: 3px solid var(--black);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 200ms, box-shadow 200ms;
}
.case-gallery-item:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--black); }
.case-gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.case-gallery-item svg { width: 100%; height: 100%; display: block; }

/* Next */
.case-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 4px solid var(--black);
}
.case-next-card {
  padding: 36px 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 200ms;
  position: relative;
}
.case-next-card.prev { border-right: 2px solid var(--black); }
.case-next-card.next { text-align: right; }
.case-next-card .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.case-next-card.next .eyebrow { justify-content: flex-end; }
.case-next-card h4 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.2vw, 42px);
  text-transform: uppercase;
  line-height: 0.95;
}
.case-next-card:hover { background: var(--yellow); color: var(--black); }
.case-next-card .meta {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Crumb */
.case-crumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 56px;
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  gap: 14px;
  align-items: center;
}
.case-crumb a:hover { color: var(--red); }

/* Field Notes */
.fn-masthead {
  background: var(--navy);
  color: var(--cream);
  padding: 56px;
  border-bottom: 4px solid var(--black);
}
.fn-masthead-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 18px;
}
.fn-masthead h1 {
  font-family: var(--ff-display);
  font-size: clamp(54px, 7.5vw, 120px);
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--red);
  line-height: 0.9;
}
.fn-masthead .issue-meta {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-align: right;
}
.fn-page { max-width: 1280px; margin: 0 auto; padding: 56px; }
.fn-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  border-bottom: 3px solid var(--black);
  padding-bottom: 48px;
  margin-bottom: 48px;
}
.fn-featured .visual {
  aspect-ratio: 4 / 3;
  border: 3px solid var(--black);
  background: var(--navy);
  overflow: hidden;
}
.fn-featured .visual svg { width: 100%; height: 100%; display: block; }
.fn-featured h2 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 72px);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 12px 0;
  cursor: pointer;
}
.fn-featured h2:hover { color: var(--red); }
.fn-featured .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  align-items: center;
}
.fn-featured .lede {
  font-family: var(--ff-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 560px;
}
.fn-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fn-card {
  background: var(--paper);
  border: 3px solid var(--black);
  cursor: pointer;
  transition: transform 200ms, box-shadow 200ms;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.fn-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--black); }
.fn-card .thumb {
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-bottom: 3px solid var(--black);
  overflow: hidden;
}
.fn-card .thumb svg { width: 100%; height: 100%; display: block; }
.fn-card .body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fn-card .cat {
  display: inline-flex;
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 7px;
  align-self: flex-start;
  border: 1.5px solid var(--black);
}
.fn-card .cat.design { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.fn-card .cat.ai { background: var(--red); color: var(--cream); border-color: var(--red); }
.fn-card .cat.ops { background: var(--yellow); color: var(--black); border-color: var(--black); }
.fn-card .cat.essay { background: transparent; color: var(--black); }
.fn-card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.05;
}
.fn-card p {
  font-family: var(--ff-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
}
.fn-card .row {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-top: 1px solid var(--black);
  padding-top: 8px;
}
.fn-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.fn-filter button {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 2px solid var(--black);
  background: transparent;
  cursor: pointer;
  transition: background 150ms;
}
.fn-filter button.active { background: var(--black); color: var(--cream); }
.fn-filter button:hover:not(.active) { background: var(--yellow); }

/* Article */
.post-hero { background: var(--navy); color: var(--cream); padding: 56px 56px 72px; border-bottom: 4px solid var(--black); }
.post-hero-inner { max-width: 900px; margin: 0 auto; }
.post-hero .cat {
  display: inline-block;
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--cream);
  padding: 5px 10px;
  margin-bottom: 24px;
}
.post-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 96px);
  text-transform: uppercase;
  color: var(--yellow);
  line-height: 0.95;
  text-shadow: 4px 4px 0 var(--red);
  margin-bottom: 18px;
}
.post-hero .deck {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: var(--cream);
  max-width: 820px;
  margin-bottom: 28px;
}
.post-hero .byline {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--cream);
  border-top: 1px solid var(--cream);
  padding-top: 18px;
}
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 56px 80px;
  font-family: var(--ff-serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
}
.post-body p { margin-bottom: 22px; }
.post-body p.drop::first-letter {
  font-family: var(--ff-display);
  float: left;
  font-size: 86px;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  color: var(--red);
}
.post-body h2 {
  font-family: var(--ff-display);
  font-size: 38px;
  text-transform: uppercase;
  margin: 36px 0 14px;
  line-height: 0.95;
}
.post-body h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  text-transform: uppercase;
  margin: 24px 0 10px;
}
.post-body ul, .post-body ol { margin: 16px 0 24px 0; padding-left: 0; list-style: none; }
.post-body ul li, .post-body ol li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.post-body ul li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }
.post-body ol { counter-reset: l; }
.post-body ol li { counter-increment: l; }
.post-body ol li::before { content: counter(l) "."; position: absolute; left: 0; font-family: var(--ff-display); color: var(--red); }
.post-body em { font-style: italic; }
.post-body strong { font-weight: 600; }
.post-body a { color: var(--red); border-bottom: 1.5px solid var(--red); }
.post-body a:hover { background: var(--yellow); color: var(--black); }
.post-body hr { border: none; border-top: 3px solid var(--black); margin: 36px auto; max-width: 240px; }

/* About */
.about-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 56px;
  border-bottom: 4px solid var(--black);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero-portrait {
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 4px solid var(--black);
  position: relative;
  overflow: hidden;
}
.about-hero-portrait svg { width: 100%; height: 100%; display: block; }
.about-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(56px, 8vw, 140px);
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--red);
}
.about-hero .deck {
  font-family: var(--ff-serif);
  font-size: 22px;
  line-height: 1.5;
  margin-top: 18px;
  color: var(--cream);
}
.about-body { max-width: 1280px; margin: 0 auto; padding: 72px 56px; }
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.about-essay { font-family: var(--ff-serif); font-size: 20px; line-height: 1.65; }
.about-essay p { margin-bottom: 22px; max-width: 680px; }
.about-essay p.drop::first-letter {
  font-family: var(--ff-display);
  float: left;
  font-size: 86px;
  line-height: 0.85;
  padding: 4px 12px 0 0;
  color: var(--red);
}
.about-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.about-block { background: var(--paper-2); border: 3px solid var(--black); padding: 18px 20px 22px; }
.about-block h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about-block ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.about-block li {
  font-family: var(--ff-body);
  font-size: 15.5px;
  padding-left: 18px;
  position: relative;
}
.about-block li::before { content: "■"; position: absolute; left: 0; font-size: 9px; color: var(--red); top: 6px; }
.about-block.red { background: var(--red); color: var(--cream); border-color: var(--black); }
.about-block.red li::before { color: var(--yellow); }
.about-block.yellow { background: var(--yellow); border-color: var(--black); }

.about-timeline { margin-top: 36px; border-top: 3px solid var(--black); padding-top: 28px; }
.about-timeline h3 { font-family: var(--ff-display); font-size: 36px; text-transform: uppercase; margin-bottom: 20px; }
.tl-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.tl-row .yr { font-family: var(--ff-display); font-size: 28px; color: var(--red); line-height: 1; }
.tl-row .body { font-family: var(--ff-body); font-size: 16px; line-height: 1.55; }
.tl-row .body b {
  font-family: var(--ff-display);
  font-weight: normal;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .case-hero { grid-template-columns: 1fr; }
  .case-hero-visual { border-left: none; border-top: 4px solid var(--black); min-height: 320px; }
  .case-stats { grid-template-columns: 1fr 1fr; }
  .case-timeline { grid-template-columns: 1fr 1fr; }
  .case-split { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr 1fr; }
  .case-next { grid-template-columns: 1fr; }
  .case-next-card.prev { border-right: none; border-bottom: 2px solid var(--black); }
  .case-next-card.next { text-align: left; }
  .fn-list { grid-template-columns: 1fr 1fr; }
  .fn-featured { grid-template-columns: 1fr; }
  .about-hero, .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
}
@media (max-width: 640px) {
  .case-hero-inner, .about-hero, .about-body, .post-hero, .post-body, .fn-page, .case-section, .case-next-card { padding-left: 24px; padding-right: 24px; }
  .case-stats, .case-timeline { grid-template-columns: 1fr; }
  .fn-list { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-section-head { grid-template-columns: 1fr; gap: 12px; }
}

/* =====================================================
   HOMEPAGE CONSOLE — atoms shared with /pages/admin
   Prefix: .hc-*   Color tokens reused from :root above.
   ===================================================== */

.hc-eyebrow {
  font-family: var(--ff-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-2);
  display: block;
}

.hc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 4px 9px; color: var(--cream);
  white-space: nowrap;
}
.hc-pill.ok   { color: #4ade80; border-color: #4ade80; }
.hc-pill.warn { color: var(--yellow); border-color: var(--yellow); }

.hc-stamp {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-weight: 700;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 8px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  white-space: nowrap;
}
.hc-stamp.ok   { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.hc-stamp.warn { background: var(--red); color: var(--cream); border-color: var(--red); }
.hc-stamp.info { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.hc-dot.live {
  width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.18);
  animation: hc-pulse 1.6s ease-in-out infinite; display: inline-block;
}
@keyframes hc-pulse { 0%,100% { opacity:1; transform: scale(1);} 50% { opacity: 0.55; transform: scale(0.85);} }

/* ── SHIFT STRIP (under nav) ─────────────────────────────────── */
.hc-shift {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 3px solid var(--black);
  position: relative;
  overflow: hidden;
}
.hc-shift::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
}
.hc-shift-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 36px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; position: relative;
}
.hc-shift-l { display: flex; align-items: center; gap: 16px; }
.hc-shift-num {
  font-family: var(--ff-display);
  font-size: 44px; line-height: 1; color: var(--red);
  text-shadow: 2px 2px 0 rgba(255,255,255,0.05);
}
.hc-shift-meta { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.hc-shift-meta .hc-eyebrow { color: var(--yellow); }
.hc-shift-line {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); opacity: 0.85;
}
.hc-shift-r { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ── SHIFT STRIP v2 — mid-century Americana world clocks + KORH wx ── */
.hc-strip-v2 {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212,165,49,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(163, 32, 24, 0.05) 0%, transparent 50%),
    var(--ink);
  padding: 0;
}
.hc-strip-v2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px);
}
.hc-strip-rule {
  height: 3px;
  background:
    linear-gradient(90deg, var(--red) 0%, var(--red) 33%, var(--yellow) 33%, var(--yellow) 66%, var(--cream) 66%, var(--cream) 100%);
  opacity: 0.7;
}
.hc-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 28px;
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(360px, 1.5fr) minmax(240px, 1fr);
  gap: 0;
  position: relative;
  align-items: center;
}
.hc-strip-inner > * + * {
  border-left: 1px dashed rgba(245, 241, 232, 0.18);
  padding-left: 18px;
  margin-left: 18px;
}

/* dateline */
.hc-strip-dateline { display: flex; align-items: center; gap: 12px; }
.hc-strip-num {
  font-family: var(--ff-display);
  font-size: 40px; line-height: 0.85;
  color: var(--red);
  text-shadow: 2px 2px 0 rgba(255,255,255,0.04);
  letter-spacing: -0.01em;
}
.hc-strip-stack { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.hc-strip-eyebrow {
  font-family: var(--ff-display);
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--yellow); text-transform: uppercase;
}
.hc-strip-sub {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  line-height: 1.4;
}

/* world clocks */
.hc-clock-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.hc-clock {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 6px;
}
.hc-clock + .hc-clock {
  border-left: 1px dotted rgba(245, 241, 232, 0.14);
  padding-left: 10px;
}
.hc-clockface {
  width: 26px; height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.4));
}
.hc-clock-meta {
  display: flex; flex-direction: column;
  gap: 0; line-height: 1.05;
  min-width: 0;
}
.hc-clock-code {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--yellow);
}
.hc-clock-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.hc-clock-time i { color: var(--red); font-style: normal; opacity: 0.85; animation: hc-blink 1s steps(2, end) infinite; }
.hc-clock-time .ap {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-left: 3px;
  vertical-align: 2px;
}
@keyframes hc-blink { 50% { opacity: 0.25; } }
.hc-clock-city {
  font-size: 7.5px;
  letter-spacing: 0.18em;
  color: var(--cream);
  opacity: 0.55;
  text-transform: uppercase;
}

/* weather */
.hc-wx-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}
.hc-wx-temp {
  display: flex; flex-direction: column;
  align-items: flex-start;
  padding-right: 12px;
  border-right: 1px solid rgba(245, 241, 232, 0.14);
}
.hc-wx-temp .big {
  font-family: var(--ff-display);
  font-size: 28px; line-height: 0.9;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.hc-wx-temp .big sup {
  font-size: 12px; vertical-align: super;
  color: var(--red); margin-left: 1px;
}
.hc-wx-temp .alt {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--yellow);
  opacity: 0.85;
  text-transform: uppercase;
  margin-top: 2px;
}
.hc-wx-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 12px;
}
.hc-wx-grid > div {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px dotted rgba(245, 241, 232, 0.12);
  padding-bottom: 1px;
}
.hc-wx-grid .k { color: var(--cream); opacity: 0.55; }
.hc-wx-grid .v { color: var(--cream); }

@media (max-width: 1100px) {
  .hc-strip-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 22px;
  }
  .hc-strip-inner > * + * {
    border-left: none;
    border-top: 1px dashed rgba(245, 241, 232, 0.18);
    padding-left: 0;
    margin-left: 0;
    padding-top: 10px;
    margin-top: 2px;
  }
  .hc-clock-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .hc-strip-num { font-size: 32px; }
  .hc-wx-temp .big { font-size: 24px; }
}

/* ── STUDIO READOUTS ─────────────────────────────────────────── */
.hc-readouts {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 36px 8px;
}
.hc-readouts-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 18px;
  border-bottom: 2px solid var(--ink); padding-bottom: 14px;
}
.hc-readouts-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.6vw, 64px); line-height: 0.95;
  text-transform: uppercase; margin-top: 8px;
}
.hc-readouts-head h2 em { font-style: italic; color: var(--stamp); }
.hc-readouts-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
  background: var(--paper);
}
.hc-readout {
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 18px 20px 14px;
  background: var(--paper);
  position: relative;
}
.hc-readout-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px;
  border-top: 1.5px dashed rgba(0,0,0,0.25);
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.hc-readout-foot .up { color: #15803d; }
.hc-readout-foot .dn { color: var(--red); }

.hc-gauge { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; }
.hc-gauge svg { width: 120px; height: 80px; display: block; }
.hc-gauge-out { display: flex; flex-direction: column; line-height: 1; }
.hc-gauge-out .v {
  font-family: var(--ff-display); font-size: 42px; line-height: 0.9; color: var(--red);
}
.hc-gauge-out .l {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 6px; color: var(--ink-2);
}

/* ── PRODUCTION BOARD ────────────────────────────────────────── */
.hc-pb {
  max-width: var(--max-w);
  margin: 0 auto 16px;
  padding: 0 36px;
}
.hc-pb-head {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--navy); color: var(--cream);
  padding: 12px 18px;
  border: 3px solid var(--ink); border-bottom: none;
  font-family: var(--ff-display); font-size: 16px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hc-pb-head .mono { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); }
.hc-pb-body {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 3px solid var(--ink);
  background: var(--paper);
}
.hc-lane {
  border-right: 3px solid var(--ink);
  background: var(--paper-2);
  min-height: 480px; display: flex; flex-direction: column;
}
.hc-lane:last-child { border-right: none; }
.hc-lane-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.hc-lane-k {
  font-family: var(--ff-display); font-size: 18px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hc-lane-head .mono {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); flex: 1;
}
.hc-lane-n {
  font-family: var(--ff-display); font-size: 16px;
  color: var(--cream); background: var(--red);
  padding: 1px 8px; border: 1.5px solid var(--ink);
}
.hc-lane-warn .hc-lane-k { color: var(--red); }
.hc-lane-info .hc-lane-k { color: var(--navy); }
.hc-lane-ok   .hc-lane-k { color: #15803d; }

.hc-lane-body {
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px; flex: 1;
}
.hc-lane-empty {
  text-align: center; padding: 32px 12px;
  color: var(--ink-2); opacity: 0.55;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1.5px dashed var(--ink);
}
.hc-slip {
  background: var(--paper); border: 2.5px solid var(--ink);
  padding: 14px 14px 12px 18px;
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; position: relative;
  transition: transform 180ms, box-shadow 180ms, background 180ms;
  color: var(--ink);
}
.hc-slip::before {
  /* perforated edge */
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 6px;
  background-image: radial-gradient(circle, var(--paper-2) 0 1.5px, transparent 1.6px);
  background-size: 4px 7px;
}
.hc-slip:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--yellow);
}
.hc-slip:hover .hc-slip-foot .go { color: var(--red); }
.hc-slip-row { display: flex; justify-content: space-between; align-items: center; }
.hc-slip-row .num { font-family: var(--ff-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; }
.hc-slip-title {
  font-family: var(--ff-display); font-size: 22px;
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.0;
  margin-top: 4px;
}
.hc-slip-blurb {
  font-family: var(--ff-serif); font-size: 14px; line-height: 1.45; color: var(--ink-2);
  margin-top: 2px;
}
.hc-slip-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
  border-top: 1px dashed rgba(0,0,0,0.25);
  padding-top: 8px;
}
.hc-slip-stats > div { display: flex; flex-direction: column; gap: 2px; }
.hc-slip-stats .v { font-family: var(--ff-display); font-size: 20px; line-height: 1; color: var(--red); }
.hc-slip-stats .l { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.hc-slip-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,0.18);
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.hc-slip-foot .go { color: var(--ink-2); transition: color 150ms; }

/* ── PINNED-NOTE GRID (Influences) ───────────────────────────── */
.hc-board {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px 80px;
}
.hc-board-strip {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  background: var(--red); color: var(--cream);
  padding: 8px 18px; text-align: center;
  border: 2.5px solid var(--ink);
}
.hc-pin-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  padding: 36px 16px 16px;
  background:
    radial-gradient(circle at 18% 22%, rgba(0,0,0,0.05), transparent 60%),
    radial-gradient(circle at 78% 78%, rgba(0,0,0,0.06), transparent 60%),
    repeating-linear-gradient(115deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 7px),
    #c9a87d;
  border: 2.5px solid var(--ink); border-top: none;
}
.hc-pin-grid-duo {
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  padding: 44px 40px 30px;
}
.hc-pin-grid-duo .hc-pin { padding: 26px 26px 24px; }
.hc-pin-grid-duo .hc-pin h4 { font-size: 23px; margin-bottom: 10px; }
.hc-pin-grid-duo .hc-pin p { font-size: 15px; line-height: 1.55; }
.hc-pin-grid-one {
  grid-template-columns: 1fr;
  padding: 44px 40px 34px;
}
.hc-pin-grid-one .hc-pin { padding: 30px 34px 28px; }
.hc-pin-grid-one .hc-pin h4 { font-size: 26px; margin-bottom: 12px; }
.hc-pin-grid-one .hc-pin p { font-size: 16.5px; line-height: 1.62; max-width: 70ch; }
@media (max-width: 860px) {
  .hc-pin-grid-duo { grid-template-columns: 1fr; gap: 36px; }
}
.hc-pin {
  position: relative;
  background: var(--paper);
  padding: 18px 18px 16px;
  border: 1.5px solid var(--ink);
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 4px 5px 0 rgba(0,0,0,0.18), 8px 10px 18px rgba(0,0,0,0.18);
  transition: transform 200ms, box-shadow 200ms;
}
.hc-pin:hover {
  transform: rotate(0deg) translateY(-2px) scale(1.02);
  box-shadow: 6px 7px 0 rgba(0,0,0,0.22), 12px 14px 24px rgba(0,0,0,0.22);
  z-index: 2;
}
.hc-pin.hc-pin-bone   { background: #efe8d6; }
.hc-pin.hc-pin-yellow { background: var(--yellow); }
.hc-pin.hc-pin-cream  { background: var(--paper); }
.hc-pin.hc-pin-red-edge   { background: var(--paper); border-color: var(--red); }
.hc-pin.hc-pin-navy-edge  { background: #e7dec6; border-color: var(--navy); }
.hc-pin h4 {
  font-family: var(--ff-display); font-size: 20px;
  text-transform: uppercase; line-height: 1.05;
  margin: 8px 0 8px;
}
.hc-pin p {
  font-family: var(--ff-serif); font-size: 14.5px; line-height: 1.5;
  color: var(--ink);
}
.hc-pin .hc-eyebrow { color: var(--ink-2); }
.hc-pin-corner {
  position: absolute; right: -6px; top: -6px;
  width: 16px; height: 16px; background: var(--red);
  border: 2px solid var(--ink); border-radius: 50%;
  box-shadow: 1px 1.5px 0 rgba(0,0,0,0.3);
}
.hc-pin-tape {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 72px; height: 18px;
  background: rgba(255,214,10,0.65);
  border: 1px dashed rgba(0,0,0,0.18);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.hc-pin.hc-pin-yellow .hc-pin-tape { background: rgba(255,255,255,0.55); }

/* ── REFERENCE CLIPPINGS (early inspo + inspo) ───────────────── */
.hc-ref-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  padding: 40px 28px 22px;
  background:
    radial-gradient(circle at 18% 22%, rgba(0,0,0,0.05), transparent 60%),
    radial-gradient(circle at 78% 78%, rgba(0,0,0,0.06), transparent 60%),
    repeating-linear-gradient(115deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 7px),
    #c9a87d;
  border-left: 2.5px solid var(--ink);
  border-right: 2.5px solid var(--ink);
}
.hc-ref {
  position: relative; margin: 0;
  background: var(--paper);
  padding: 14px 14px 16px;
  border: 1.5px solid var(--ink);
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 5px 6px 0 rgba(0,0,0,0.20), 10px 13px 22px rgba(0,0,0,0.22);
  transition: transform 220ms, box-shadow 220ms;
}
.hc-ref.hc-pin-red-edge  { border-color: var(--red); }
.hc-ref.hc-pin-navy-edge { background: #e7dec6; border-color: var(--navy); }
.hc-ref:hover {
  transform: rotate(0deg) translateY(-3px) scale(1.015);
  box-shadow: 7px 8px 0 rgba(0,0,0,0.24), 14px 18px 30px rgba(0,0,0,0.26);
  z-index: 2;
}
.hc-ref-img {
  border: 1.5px solid var(--ink);
  background: #14110d;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hc-ref-img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.hc-ref-tape {
  width: auto; padding: 3px 12px; height: auto;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  top: -13px;
}
.hc-ref-cap { padding: 12px 4px 2px; }
.hc-ref-cap h4 {
  font-family: var(--ff-display); font-size: 21px;
  text-transform: uppercase; line-height: 1.04;
  margin: 6px 0 8px;
}
.hc-ref-cap p {
  font-family: var(--ff-serif); font-size: 14.5px; line-height: 1.5;
  color: var(--ink);
}
.hc-ref-cap .hc-eyebrow { color: var(--ink-2); }
.hc-ref-tie {
  font-family: var(--ff-mono);
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  padding: 9px 18px; text-align: center;
  border-left: 2.5px solid var(--ink);
  border-right: 2.5px solid var(--ink);
}
@media (max-width: 860px) {
  .hc-ref-strip { grid-template-columns: 1fr; gap: 36px; }
}

/* ── STOCK BAR (Shop) ────────────────────────────────────────── */
.hc-stock {
  position: relative;
  width: 16px; height: 64px;
  background: #efe8d6;
  border: 1.5px solid var(--ink);
  overflow: visible;
}
.hc-stock-fill {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #15803d;
  transition: height 200ms;
}
.hc-stock-warn .hc-stock-fill   { background: var(--yellow); }
.hc-stock-danger .hc-stock-fill { background: var(--red); animation: hc-pulse 1.6s ease-in-out infinite; }
.hc-stock-tick {
  position: absolute; left: -2px; right: -2px; height: 1px; background: var(--ink);
}
.hc-stock-tick.t-25 { bottom: 25%; }
.hc-stock-tick.t-50 { bottom: 50%; }
.hc-stock-tick.t-75 { bottom: 75%; }
.hc-stock-l {
  position: absolute;
  bottom: -16px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-mono); font-weight: 700;
  font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.shop-thumb .hc-stock {
  position: absolute; top: 10px; right: 10px;
  z-index: 3;
  background: rgba(245,241,232,0.92);
  box-shadow: 2px 2px 0 var(--ink);
}
.shop-thumb .hc-stock .hc-stock-l { display: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hc-readouts-row { grid-template-columns: 1fr 1fr; }
  .hc-readouts-row .hc-readout:nth-child(2) { border-right: none; }
  .hc-pb-body { grid-template-columns: 1fr; }
  .hc-lane { border-right: none; border-bottom: 3px solid var(--ink); min-height: auto; }
  .hc-pin-grid { grid-template-columns: 1fr 1fr; }
  .hc-shift-r { display: none; }
}
@media (max-width: 700px) {
  .hc-readouts-row { grid-template-columns: 1fr; }
  .hc-readouts-row .hc-readout { border-right: none; }
  .hc-pin-grid { grid-template-columns: 1fr; }
  .hc-shift-num { font-size: 32px; }
}



/* ─────────────────────────────────────────────────────────────────────
   TWEAKS — appended overrides controlled by tweaks.jsx
   ───────────────────────────────────────────────────────────────────── */

/* Disable stencil shadow on the hero title */
:root.tw-no-stencil .hero-title { text-shadow: none !important; }

/* Halftone grain overlay (sits above the hero, below content) */
:root { --tw-halftone-opacity: 0.18; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.55) 1px, transparent 1.4px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: var(--tw-halftone-opacity);
  pointer-events: none;
  z-index: 0;
}

/* ── FUTURA WEIGHT ───────────────────────────────────────────────
   Jost (Futura) defaults to 400; the old display faces were inherently
   heavy. Give all display/numeral type a bold default so headings keep
   their impact. --tw-display-weight is driven by the "Futura Heavy" tweak. */
:root { --tw-display-weight: 700; }
.display,
.nav-brand,
.hero-title,
.section-head h2, .section-head .num,
.svc-title, .svc-sub,
.sys-title, .robo-row-title,
.ops-head h3, .ops-cell .value,
.work-title, .work-num, .work-arrow, .work-detail-meta h4, .work-stat .v,
.proc-step .num, .proc-step h4,
.inf-card h4,
.order h3, .order-form h5,
.foot-brand .display,
.shop-meta .name,
.disp-masthead .center, .disp-tab, .disp-feature h3, .disp-item h4,
.hc-slip-title, .hc-pin h4, .hc-ref-cap h4, .hc-shift-num,
.hc-readout-v, .hc-pb-head h3, .mark-wordmark span {
  font-weight: var(--tw-display-weight);
}
/* keep the italic serif accent + drop-cap at their intended weights */
.disp-feature h3 .it { font-weight: 500; }
