/* =========================================================================
   MAD LAB SOUND — shared visual system
   Field-notebook / engineering datasheet aesthetic
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Big+Shoulders+Stencil+Display:wght@400;700;900&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500;700&display=swap');

:root {
  --ink: #0b0b09;
  --ink-2: #131310;
  --ink-3: #1a1a16;
  --rule: #2a2a23;
  --rule-2: #3a3a30;
  --paper: #efeadb;
  --paper-2: #d8d2c0;
  --dim: #7a7568;
  --dim-2: #9a9684;
  --acid: #46e84a;
  --acid-2: #2cc230;
  --acid-soft: rgba(70, 232, 74, 0.08);
  --danger: #ff3c1f;
  --rust: #c1421a;
  --grid: rgba(70, 232, 74, 0.05);
  --grid-2: rgba(70, 232, 74, 0.12);
}

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

html, body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain overlay on the whole page */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.09;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 100;
}

/* Subtle scanline / grid background */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--acid); color: var(--ink); }

/* ============== TYPOGRAPHY ============== */

.display, h1, h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.85;
  text-transform: uppercase;
}

.stencil {
  font-family: 'Big Shoulders Stencil Display', sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.italic, em.label {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  letter-spacing: -0.01em;
}

.mono { font-family: 'JetBrains Mono', monospace; }

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.tag-acid { color: var(--acid); }
.tag-danger { color: var(--danger); }

/* ============== LAYOUT PRIMITIVES ============== */

.wrap {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

.rule { height: 1px; background: var(--rule); width: 100%; }
.rule-acid { height: 1px; background: var(--acid); width: 100%; }
.rule-thick { height: 3px; background: var(--paper); width: 100%; }

/* ============== NAVIGATION ============== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 9, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px clamp(16px, 3vw, 40px);
  max-width: 1480px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}

.brand-mark {
  width: 34px; height: 38px;
  color: var(--acid);
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: 'Anton', sans-serif;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.36em;
  color: var(--dim-2);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-2);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--acid); }

.nav-links a.active { color: var(--acid); }
.nav-links a.active::before {
  content: '●';
  margin-right: 6px;
  font-size: 8px;
  vertical-align: middle;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--acid);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--acid);
  transition: all 0.2s;
}
.nav-cta:hover {
  background: transparent;
  color: var(--acid);
}
.nav-cta .arrow { transition: transform 0.2s; }
.nav-cta:hover .arrow { transform: translateX(3px); }

/* ============== HAZARD TAPE ============== */

.hazard {
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--acid) 0 18px,
    var(--ink) 18px 36px
  );
  position: relative;
}

.hazard-thin {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--acid) 0 8px,
    var(--ink) 8px 16px
  );
}

/* ============== HERO ============== */

.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--rule);
}

.hero-meta .item {
  display: flex;
  gap: 10px;
}
.hero-meta .item .k { color: var(--dim); }
.hero-meta .item .v { color: var(--paper); }
.hero-meta .pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--acid);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  position: relative;
}

.hero-title .l1 { display: block; }
.hero-title .l2 { display: block; padding-left: 8vw; }
.hero-title .l3 { display: block; padding-left: 2vw; }

.hero-title .em-acid { color: var(--acid); }
.hero-title .outline {
  -webkit-text-stroke: 2px var(--paper);
  color: transparent;
}

.hero-tagline {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.hero-tagline .quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  max-width: 560px;
  color: var(--paper);
}
.hero-tagline .quote em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero-tagline .cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
  text-align: right;
  max-width: 220px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============== BUTTONS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--paper);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn.btn-acid {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}
.btn.btn-acid:hover {
  background: transparent;
  color: var(--acid);
}

.btn.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
}
.btn.btn-danger:hover {
  background: var(--danger);
  color: var(--paper);
}

.btn .num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 10px;
  opacity: 0.6;
  padding-left: 8px;
  border-left: 1px solid currentColor;
}

/* ============== SECTION HEAD ============== */

.section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.section-head .lhs .tag {
  display: block;
  margin-bottom: 16px;
}

.section-head .lhs .fig {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.16em;
}

.section-head h2 {
  font-size: clamp(48px, 7vw, 110px);
  color: var(--paper);
}
.section-head h2 .em-acid { color: var(--acid); }

.section-head .rhs {
  font-size: 14px;
  color: var(--paper-2);
  max-width: 640px;
  line-height: 1.7;
}

/* ============== TWO-LANE SPLIT ============== */

.lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.lane {
  background: var(--ink-2);
  padding: 48px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s;
}

.lane:hover { background: var(--ink-3); }

.lane-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.lane-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
}

.lane-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--rule-2);
  color: var(--dim-2);
}

.lane-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.85;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--paper);
}

.lane-title .em-acid { color: var(--acid); }
.lane-title .em-danger { color: var(--danger); }

.lane-sub {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--paper-2);
  max-width: 420px;
  margin-bottom: 24px;
}

.lane-spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 12px;
  margin: 24px 0;
  max-width: 360px;
}
.lane-spec dt { color: var(--dim); letter-spacing: 0.08em; }
.lane-spec dd { color: var(--paper); }

.lane-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--rule);
  padding-top: 24px;
  margin-top: 24px;
}

.lane-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  transition: gap 0.2s, color 0.2s;
}

.lane-arrow:hover {
  gap: 20px;
  color: var(--acid);
}

.lane-illo {
  position: absolute;
  right: -40px;
  top: 60px;
  width: 280px;
  opacity: 0.18;
  pointer-events: none;
}
.lane:hover .lane-illo { opacity: 0.35; }

/* ============== WAVEFORM ============== */

.waveform {
  width: 100%;
  height: 80px;
  display: block;
}

.waveform path {
  stroke: var(--acid);
  fill: none;
  stroke-width: 1.5;
}

.waveform.dim path { stroke: var(--rule-2); }

/* ============== SIGNATURE TRICK SECTION ============== */

.trick {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.trick-lhs h3 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.trick-lhs h3 .big {
  font-size: 1.4em;
  color: var(--acid);
}

.trick-lhs h3 .strike {
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 4px;
  color: var(--dim-2);
}

.trick-lhs p {
  max-width: 540px;
  color: var(--paper-2);
  margin-top: 16px;
}

.trick-rhs {
  border: 1px solid var(--rule);
  padding: 32px;
  background: var(--ink-2);
  position: relative;
}
.trick-rhs::before {
  content: 'EXP. 047 — ENCLOSURE SIM';
  position: absolute;
  top: -8px; left: 24px;
  background: var(--ink);
  padding: 0 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--acid);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-size: 12px;
}

.spec-row {
  border-top: 1px dashed var(--rule);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.spec-row:first-child { border-top: 0; padding-top: 0; }
.spec-row .k { color: var(--dim); letter-spacing: 0.08em; font-size: 10px; text-transform: uppercase; }
.spec-row .v { color: var(--paper); font-weight: 500; }
.spec-row .v.acid { color: var(--acid); }
.spec-row .v.danger { color: var(--danger); }

/* ============== SIGNAL CHAIN ============== */

.chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--rule);
}

.chain-node {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
  position: relative;
  background: var(--ink-2);
}
.chain-node:last-child { border-right: 0; }

.chain-node .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--acid);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
}

.chain-node h4 {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1;
}

.chain-node p {
  font-size: 12px;
  color: var(--paper-2);
  line-height: 1.55;
}

.chain-node::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  color: var(--acid);
  font-size: 14px;
  z-index: 2;
}
.chain-node:last-child::after { display: none; }

/* ============== GALLERY ============== */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  aspect-ratio: 1 / 1;
}

.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.85) contrast(1.05);
}

.tile:hover img { transform: scale(1.05); filter: saturate(1.15) contrast(1.1); }

.tile.span-2 { grid-column: span 4; }
.tile.span-3 { grid-column: span 6; aspect-ratio: 16 / 10; }
.tile.span-4 { grid-column: span 8; aspect-ratio: 16 / 9; }
.tile.span-6 { grid-column: span 12; aspect-ratio: 21 / 9; }
.tile.col-3 { grid-column: span 3; }

.tile-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(11,11,9,0.95), rgba(11,11,9,0));
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tile-caption .l { color: var(--acid); }
.tile-caption .r { color: var(--paper); }

.tile-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 8px;
  background: var(--ink);
  border: 1px solid var(--acid);
  color: var(--acid);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
}

/* ============== EMBED PLAYER ============== */

.player {
  border: 1px solid var(--rule);
  background: var(--ink-2);
  overflow: hidden;
  position: relative;
}

.player-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--ink-3);
}

.player-led {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
  animation: pulse 1.6s ease-in-out infinite;
}

.player-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.player-title small {
  display: block;
  color: var(--dim);
  margin-top: 2px;
  letter-spacing: 0.1em;
}

.player-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.16em;
}

.player-body {
  padding: 0;
  position: relative;
  min-height: 166px;
  display: grid;
  place-items: center;
  background: var(--ink-3);
}

.player-body iframe { border: 0; width: 100%; min-height: 166px; }

.player-fake {
  width: 100%;
  padding: 24px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
}
.player-fake .cover {
  width: 64px; height: 64px;
  background: var(--acid);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  position: relative;
}
.player-fake .cover::after {
  content: '';
  position: absolute; inset: 3px;
  border: 1px solid var(--ink);
}
.player-fake .info .name {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.player-fake .info .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.16em;
  margin-top: 4px;
}
.player-fake .info .scrub {
  margin-top: 12px;
  height: 28px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.player-fake .info .scrub svg { width: 100%; height: 100%; }
.player-fake .info .scrub .head {
  position: absolute;
  top: 0; bottom: 0; left: 35%;
  width: 1px;
  background: var(--acid);
}
.player-fake .info .scrub .head::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px;
  width: 7px; height: 7px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acid);
}

/* ============== STATS ============== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }

.stat .n {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 5vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--acid);
}
.stat .n sup {
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 4px;
  color: var(--paper);
}

.stat .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-top: 8px;
}

/* ============== FOOTER ============== */

.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand h3 {
  font-family: 'Anton', sans-serif;
  font-size: 80px;
  line-height: 0.85;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand h3 .em-acid { color: var(--acid); }
.footer-brand p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--paper-2);
  max-width: 360px;
}

.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 13px; }
.footer-col a { color: var(--paper-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--acid); }

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer-bar .l { display: flex; gap: 24px; }
.footer-bar .r { display: flex; gap: 24px; }

/* ============== SCHEMATIC DECORATION ============== */

.callout {
  position: relative;
  display: inline-block;
}

.callout::before {
  content: attr(data-fig);
  position: absolute;
  top: -22px; left: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--acid);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

/* ============== INNER PAGE HEADER ============== */

.page-header {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.page-header .crumb {
  display: flex;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 32px;
}
.page-header .crumb .acid { color: var(--acid); }

.page-header h1 {
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.84;
}
.page-header h1 .em-acid { color: var(--acid); }
.page-header h1 .outline { -webkit-text-stroke: 2px var(--paper); color: transparent; }

.page-header .deck {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: var(--paper-2);
  max-width: 720px;
  margin-top: 32px;
}

.page-header .meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
}

.page-header .meta-strip .item {
  display: flex;
  flex-direction: column;
}
.page-header .meta-strip .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.page-header .meta-strip .v {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.page-header .meta-strip .v.acid { color: var(--acid); }

/* ============== SERVICE LIST ============== */

.services {
  border-top: 1px solid var(--rule);
}

.service {
  display: grid;
  grid-template-columns: 80px 2fr 3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s, padding 0.2s;
  position: relative;
  cursor: pointer;
}

.service:hover {
  background: var(--ink-2);
  padding-left: 16px;
}

.service .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acid);
}

.service h3 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3.5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.service h3 .em-acid { color: var(--acid); }

.service p {
  font-size: 13px;
  color: var(--paper-2);
  line-height: 1.6;
  max-width: 560px;
}

.service .price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2);
  text-align: right;
}
.service .price strong {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* ============== PROCESS STEPS ============== */

.process-list {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.process-item {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  position: relative;
}

.process-item .step-n {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 10vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--acid);
}

.process-item .step-n::before {
  content: '/ ';
  color: var(--dim);
  font-size: 0.5em;
  vertical-align: top;
}

.process-item .step-content h4 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}

.process-item .step-content p {
  color: var(--paper-2);
  line-height: 1.6;
  font-size: 14px;
  max-width: 480px;
}

.process-item .step-detail {
  border-left: 1px solid var(--rule);
  padding-left: 32px;
  font-size: 12px;
  color: var(--dim-2);
  line-height: 1.7;
}
.process-item .step-detail strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 8px;
}

/* ============== FORM ============== */

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  border: 1px solid var(--rule);
  background: var(--ink-2);
}

.form-side {
  padding: 48px;
  border-right: 1px solid var(--rule);
  background: var(--ink-3);
  position: relative;
}

.form-side h3 {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.form-side h3 .em-acid { color: var(--acid); }

.form-side p {
  color: var(--paper-2);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.form-side .ck {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--paper);
  letter-spacing: 0.08em;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}
.form-side .ck::before {
  content: '✓ ';
  color: var(--acid);
  margin-right: 8px;
}

.form-main {
  padding: 48px;
}

.lane-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}

.lane-pick label {
  position: relative;
  cursor: pointer;
  padding: 16px;
  border: 1px solid var(--rule);
  text-align: center;
  transition: all 0.2s;
  background: var(--ink);
}

.lane-pick input { position: absolute; opacity: 0; }
.lane-pick input:checked + .pick-card {
  background: var(--acid);
  color: var(--ink);
}
.lane-pick label:has(input:checked) {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}
.lane-pick label:has(input:checked) .l { color: var(--ink); }
.lane-pick label:has(input:checked) .s { color: var(--ink); opacity: 0.6; }

.lane-pick .l {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4px;
  display: block;
  color: var(--paper);
}
.lane-pick .s {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.field {
  display: block;
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.field label .acid { color: var(--acid); }

.field input, .field textarea, .field select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--rule);
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--paper);
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--acid);
}

.field textarea { resize: vertical; min-height: 140px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
}
.form-foot .note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============== TICKER / MARQUEE ============== */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-track span { display: inline-flex; align-items: center; gap: 48px; }
.ticker-track span::after {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--ink);
  border-radius: 50%;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== ABOUT / BIO ============== */

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.bio-portrait {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.bio-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.bio-portrait .annot {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
  background: var(--ink);
  padding: 4px 8px;
  border: 1px solid var(--acid);
}
.bio-portrait .annot-1 { top: 16px; left: 16px; }
.bio-portrait .annot-2 { bottom: 16px; right: 16px; }

.bio-body p {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--paper);
}
.bio-body p em {
  font-style: italic;
}
.bio-body p strong {
  font-family: 'Anton', sans-serif;
  font-size: 1.3em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--acid);
  letter-spacing: 0.02em;
}

.timeline {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
}

.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: baseline;
}
.timeline-row .y {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: var(--acid);
}
.timeline-row .e {
  font-size: 13px;
  color: var(--paper);
}
.timeline-row .e small {
  display: block;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ============== RESPONSIVE ============== */

@media (max-width: 1100px) {
  .lanes { grid-template-columns: 1fr; }
  .trick { grid-template-columns: 1fr; gap: 32px; }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain-node:nth-child(2)::after { display: none; }
  .form-wrap { grid-template-columns: 1fr; }
  .form-side { border-right: 0; border-bottom: 1px solid var(--rule); }
  .bio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .process-item { grid-template-columns: 1fr; gap: 24px; }
  .service { grid-template-columns: 60px 1fr; }
  .service p, .service .price { grid-column: 2; }
  .page-header .meta-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-tagline { grid-template-columns: 1fr; gap: 16px; }
  .hero-tagline .cite { text-align: left; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 12px 16px; }
  .hero { padding: 32px 0 48px; }
  .hero-meta { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 64px 0; }
  .lane { padding: 32px 24px; min-height: auto; }
  .form-side, .form-main { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand h3 { font-size: 52px; }
  .lane-pick { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .tile.span-2, .tile.span-3, .tile.span-4, .tile.span-6, .tile.col-3 {
    grid-column: 1;
    aspect-ratio: 4 / 3;
  }
}

/* ============== UTILITY ============== */

.spacer-sm { height: 32px; }
.spacer-md { height: 64px; }
.spacer-lg { height: 96px; }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.text-acid { color: var(--acid); }
.text-danger { color: var(--danger); }
.text-dim { color: var(--dim); }

.bg-acid { background: var(--acid); color: var(--ink); }
.bg-paper { background: var(--paper); color: var(--ink); }

.full-bleed-img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
}

/* fade in on load */
.fadein {
  opacity: 0;
  transform: translateY(12px);
  animation: fadein 0.8s ease forwards;
}
@keyframes fadein {
  to { opacity: 1; transform: translateY(0); }
}
.fadein.d1 { animation-delay: 0.1s; }
.fadein.d2 { animation-delay: 0.2s; }
.fadein.d3 { animation-delay: 0.3s; }
.fadein.d4 { animation-delay: 0.4s; }
.fadein.d5 { animation-delay: 0.5s; }
.fadein.d6 { animation-delay: 0.6s; }
