/* ============================================================
   amochi.dev — shared system
   Swiss / tech-poster: paper, ink, one accent per page.
   A page sets its accent with  <body style="--acid:#xxxxxx">
   ============================================================ */
:root {
  --paper: #ffffff;
  --paper-2: #efefec;
  --paper-3: #e3e3df;
  --ink: #0c0c0e;
  --ink-2: #3a3a40;
  --ink-3: #75757d;
  --line: #d9d9d4;
  --acid: #c8ec2c;
  --on-acid: #0c0c0e;
  --inv-bg: #0c0c0e;
  --inv-bg-2: #1b1b20;
  --inv-fg: #ffffff;
  --inv-mute: #9a9aa3;
  --inv-soft: #cfcfd6;
  --inv-line: #2b2b31;
  --header-bg: rgba(255,255,255,.92);
  --code-bg: rgba(12,12,14,.07);
  --shot-shadow: 0 30px 60px -30px rgba(0,0,0,.45);

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --gutter: clamp(16px, 3vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #0d0d10;
    --paper-2: #16161a;
    --paper-3: #202025;
    --ink: #f0f0ea;
    --ink-2: #b9b9c0;
    --ink-3: #85858e;
    --line: #2a2a31;
    --inv-bg: #18181d;
    --inv-bg-2: #212127;
    --inv-line: #2c2c33;
    --header-bg: rgba(13,13,16,.88);
    --code-bg: rgba(240,240,234,.1);
    --shot-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-variation-settings: "wdth" 100;
  font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4 { margin: 0; }
code { font-family: var(--mono); font-size: .86em; background: var(--code-bg); padding: .05em .35em; }
kbd {
  font-family: var(--mono); font-size: .78em; font-weight: 500;
  display: inline-block; padding: .1em .45em; line-height: 1.3;
  border: 1.5px solid currentColor; border-bottom-width: 3px; vertical-align: .08em;
}
.mono { font-family: var(--mono); letter-spacing: .02em; }
.muted { color: var(--ink-3); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--acid); color: var(--on-acid); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- patterns ---------- */
.checker { background: conic-gradient(var(--acid) 25%, transparent 0 50%, var(--acid) 0 75%, transparent 0) 0 0 / 16px 16px; }
.stripes { height: 46px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, transparent 12px 24px); }
.dots { height: 70px; background: radial-gradient(circle, var(--ink) 2.4px, transparent 2.8px) 0 0 / 26px 26px; }
.barcode { height: 52px; display: flex; align-items: stretch; }
.barcode i { background: currentColor; display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  padding: 14px 20px; border: 2px solid var(--ink); color: var(--ink); background: transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-acid { background: var(--acid); color: var(--on-acid); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { box-shadow: 3px 3px 0 var(--acid); }
.btn-sm { padding: 10px 14px; font-size: 12px; }

/* ============ HEADER ============ */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: var(--header-bg); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; background: var(--acid); position: relative; flex: none; }
.brand-mark span { position: absolute; width: 15px; height: 15px; background: var(--on-acid); }
.brand-mark span:first-child { left: 7px; top: 7px; border-radius: 15px 0 0 0; }
.brand-mark span:last-child { right: 7px; bottom: 7px; border-radius: 0 0 15px 0; }
.brand-name { font-weight: 800; font-size: 17px; line-height: .92; font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
.top-nav { display: flex; gap: 22px; margin-left: auto; font-size: 12px; }
.top-nav a { text-decoration: none; color: var(--ink-2); }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ============ SECTION HEADS ============ */
section { scroll-margin-top: 80px; }
.sec-head { padding: 96px var(--gutter) 40px; max-width: 1100px; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.sec-num { font-size: 12px; color: var(--ink-2); margin-bottom: 14px; }
.sec-title { font-weight: 900; font-size: clamp(46px, 7.4vw, 124px); line-height: .84; letter-spacing: -.045em; font-variation-settings: "wdth" 96; }
.sec-lede { margin-top: 22px; max-width: 560px; font-size: 17px; color: var(--ink-2); }
.sec-lede b { color: var(--ink); }
.sec-head-split .sec-lede { margin-top: 0; }

/* ============ MARQUEE ============ */
.marquee { background: var(--inv-bg); color: var(--inv-fg); overflow: hidden; border-block: 2px solid var(--inv-bg); }
.marquee-track { display: flex; gap: 28px; align-items: center; width: max-content; padding: 16px 0; font-size: 14px; font-weight: 700; animation: scroll 40s linear infinite; }
.marquee-track i { font-style: normal; color: var(--acid); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ HERO (shared by home + project pages) ============ */
.hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-rows: auto auto;
  padding: 0 var(--gutter) 72px 0;
}
.hero-rail { grid-column: 1; grid-row: 1 / 3; position: relative; overflow: hidden; padding: 40px 0 0 var(--gutter); }
.rail-meta { font-size: 12px; display: grid; gap: 14px; color: var(--ink-2); }
.rail-words { position: absolute; left: var(--gutter); bottom: 0; top: 150px; display: flex; }
.rail-words span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 900; font-size: 132px; line-height: .78;
  font-variation-settings: "wdth" 112; letter-spacing: -.03em; white-space: nowrap;
}
.rail-ink { color: var(--ink); }
.rail-acid { color: var(--acid); }
.hero-main { grid-column: 2 / 4; grid-row: 1; padding: 56px 0 56px 32px; }
.kicker { font-size: 12px; color: var(--ink-2); margin-bottom: 18px; }
.hero-title-wrap { position: relative; display: inline-block; max-width: 100%; }
.hero-title { font-weight: 900; font-size: clamp(58px, 10.4vw, 182px); line-height: .8; letter-spacing: -.045em; font-variation-settings: "wdth" 96; }
.hero-title .hl { color: var(--acid); -webkit-text-stroke: 3px var(--on-acid); paint-order: stroke fill; }
@media (prefers-color-scheme: dark) { .hero-title .hl { -webkit-text-stroke-color: transparent; } }
.quarter-mark { position: absolute; left: calc(100% + 28px); top: -4px; width: clamp(60px, 8vw, 130px); aspect-ratio: 1; }
.quarter-mark i { position: absolute; width: 50%; height: 50%; background: var(--ink); }
.quarter-mark i:first-child { left: 0; top: 0; border-radius: 100% 0 0 0; }
.quarter-mark i:last-child { right: 0; bottom: 0; border-radius: 0 0 100% 0; }
.hero-sub { margin-top: 28px; font-size: clamp(22px, 2.6vw, 38px); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; font-variation-settings: "wdth" 92; text-transform: uppercase; }
.hero-body { margin-top: 18px; max-width: 480px; font-size: 16px; color: var(--ink-2); }
.hero-body b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.spec-card {
  grid-column: 2; grid-row: 2; position: relative; z-index: 1;
  background: var(--acid); color: var(--on-acid);
  padding: 44px 32px 32px; margin-right: -60px; min-height: 540px;
  display: flex; flex-direction: column;
}
.spec-card .checker { position: absolute; top: 0; right: -16px; width: 16px; height: 300px; }
.spec-id { font-weight: 900; font-size: clamp(50px, 5.6vw, 92px); line-height: .85; letter-spacing: -.05em; font-variation-settings: "wdth" 92; }
.spec-name { margin-top: 10px; font-weight: 800; font-size: 22px; text-align: right; padding-right: 64px; text-transform: uppercase; }
.spec-ico { width: 78px; margin: 34px 0 28px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.spec-list { list-style: none; margin: 0; padding: 0; font-size: 12.5px; line-height: 1.35; display: grid; gap: 10px; max-width: 300px; }
.spec-card .barcode { margin-top: auto; padding-top: 28px; width: 200px; box-sizing: content-box; }
.barcode-label { display: flex; justify-content: space-between; width: 200px; font-size: 11px; margin-top: 4px; }

.hero-shot { grid-column: 3; grid-row: 2; margin: 120px 0 0; position: relative; z-index: 2; background: var(--paper-2); padding: 14px; align-self: start; }
.hero-shot img, .hero-shot video { box-shadow: var(--shot-shadow); width: 100%; }
.hero-shot .checker { position: absolute; top: -40px; right: 40px; width: 112px; height: 80px; opacity: .9; }
.hero-shot figcaption { padding: 18px 6px 4px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; }
.hero-shot figcaption span { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; letter-spacing: .02em; }

/* ============ HOME: ENTRY INDEX ============ */
.index { margin: 0 var(--gutter); border-top: 2px solid var(--ink); }
.entry {
  --acc: var(--acid);
  position: relative; display: grid;
  grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1.3fr) 200px 40px;
  gap: 28px; align-items: center;
  padding: 26px 0; border-bottom: 2px solid var(--ink);
  text-decoration: none; color: var(--ink);
  transition: background .2s, padding .2s;
}
.entry::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--acc); transition: width .25s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.entry:hover::before, .entry:focus-visible::before { width: 100%; }
.entry:hover, .entry:focus-visible { color: var(--on-acid); padding-left: 16px; padding-right: 16px; }
.entry:hover .entry-desc, .entry:hover .entry-no, .entry:hover .entry-tags { color: var(--on-acid); }
.entry { isolation: isolate; }
.entry-no { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.entry-no::before { content: ""; width: 14px; height: 14px; background: var(--acc); flex: none; outline: 1.5px solid var(--ink); }
.entry-name { font-weight: 900; font-size: clamp(34px, 4.2vw, 66px); line-height: .86; letter-spacing: -.045em; font-variation-settings: "wdth" 96; text-transform: uppercase; }
.entry-desc { font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.entry-tags { display: block; margin-top: 10px; font-size: 11px; color: var(--ink-3); }
.entry-thumb { width: 200px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-2); border: 2px solid var(--ink); }
.entry-arrow { font-size: 30px; font-weight: 300; justify-self: end; transition: transform .2s; }
.entry:hover .entry-arrow { transform: translate(4px, -4px); }
.thumb-poster { display: grid; place-items: center; font-weight: 900; font-size: 46px; letter-spacing: -.05em; color: #dffcff; background: #05070c; }
.thumb-poster b { color: #ff2f8e; }

/* ============ HOME: MORE / STACK / OSS ============ */
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0 var(--gutter); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.more { display: flex; flex-direction: column; gap: 8px; min-height: 170px; padding: 22px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); text-decoration: none; transition: background .2s; }
.more:hover { background: var(--paper-2); }
.more-id { font-size: 11px; color: var(--ink-3); }
.more h3 { font-size: 24px; font-weight: 800; letter-spacing: -.025em; line-height: 1; font-variation-settings: "wdth" 92; }
.more p { font-size: 14px; color: var(--ink-2); }
.more .more-stack { margin-top: auto; font-size: 11px; color: var(--ink-3); }

.stack-sec { background: var(--paper-2); padding: 0 0 96px; position: relative; }
.stack-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: conic-gradient(var(--acid) 25%, transparent 0 50%, var(--acid) 0 75%, transparent 0) 0 0 / 14px 14px; }
.stack-table { margin: 0 var(--gutter); border-top: 2px solid var(--ink); }
.stack-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--ink-3); align-items: baseline; }
.stack-key { font-size: 13px; font-weight: 700; }
.stack-val { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 13px; padding: 6px 10px; border: 1.5px solid var(--ink); background: var(--paper); }
.chip-acid { background: var(--acid); color: var(--on-acid); border-color: var(--on-acid); }

.null-sec { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: end; padding: 110px var(--gutter) 90px; }
.null-left { display: grid; gap: 22px; }
.null-left .stripes { max-width: 300px; }
.null-num { text-align: right; }
.big-num { font-weight: 900; font-size: clamp(110px, 17vw, 280px); line-height: .78; letter-spacing: -.06em; font-variation-settings: "wdth" 110; }
.big-cap { font-size: clamp(30px, 4vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-top: 10px; font-variation-settings: "wdth" 90; }
.null-right { display: grid; gap: 28px; font-size: 15px; color: var(--ink-2); max-width: 340px; }
.null-right a { color: var(--ink); font-weight: 700; }
.small { font-size: 12px; }

.contact-sec { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: end; padding: 100px var(--gutter); }
.contact-cards { display: grid; gap: 12px; }

/* ---------- link cards (contact + project CTAs) ---------- */
.i-card { position: relative; display: grid; gap: 2px; text-decoration: none; padding: 20px 64px 20px 22px; border: 2px solid var(--ink); background: var(--paper); transition: transform .15s, box-shadow .15s; }
.i-card:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--ink); }
.i-card .mono { font-size: 11px; color: var(--ink-3); }
.i-card b { font-size: 26px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; font-variation-settings: "wdth" 92; }
.i-sub { font-size: 14px; color: var(--ink-2); }
.i-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; }
.i-acid { background: var(--acid); color: var(--on-acid); }
.i-acid .mono, .i-acid .i-sub { color: var(--on-acid); }
.i-ink { background: var(--inv-bg); color: var(--inv-fg); }
.i-ink .mono { color: var(--inv-mute); }
.i-ink .i-sub { color: var(--inv-soft); }
.i-ink:hover { box-shadow: 4px 4px 0 var(--acid); }

/* ============ PROJECT PAGES ============ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 var(--gutter); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.feat { padding: 26px 26px 34px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); min-height: 260px; display: flex; flex-direction: column; transition: background .2s; }
.feat:hover { background: var(--paper-2); }
.feat-id { font-size: 11px; color: var(--ink-3); }
.feat h3 { margin-top: auto; padding-top: 40px; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.025em; font-variation-settings: "wdth" 92; }
.feat p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 36ch; }
.feat-acid { background: var(--acid); color: var(--on-acid); }
.feat-acid:hover { background: var(--acid); filter: brightness(.95); }
.feat-acid .feat-id, .feat-acid p { color: var(--on-acid); }
.feat-ink { background: var(--inv-bg); color: var(--inv-fg); }
.feat-ink:hover { background: var(--inv-bg-2); }
.feat-ink .feat-id { color: var(--inv-mute); }
.feat-ink p { color: var(--inv-soft); }

.media-sec { padding: 0 var(--gutter); }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.media-grid figure, .media-wide { margin: 0; background: var(--paper-2); padding: 12px; border: 2px solid var(--ink); }
.media-grid figcaption, .media-wide figcaption { font-size: 11px; padding: 10px 2px 0; color: var(--ink-2); }

.steps-sec { background: var(--paper-2); padding: 0 var(--gutter) 96px; position: relative; margin-top: 96px; }
.steps-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: conic-gradient(var(--acid) 25%, transparent 0 50%, var(--acid) 0 75%, transparent 0) 0 0 / 14px 14px; }
.steps-sec .sec-head { padding-left: 0; padding-right: 0; }
.steps-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); overflow-wrap: anywhere; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ink-3); font-size: 17px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-weight: 700; font-size: 13px; padding-top: 4px; }
.steps li p + p { margin-top: 6px; }
.term { background: var(--inv-bg); color: var(--inv-fg); border: 2px solid var(--ink); font-family: var(--mono); font-size: 13px; }
.term-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--inv-line); color: var(--inv-mute); font-size: 11px; }
.term-bar i { width: 9px; height: 9px; background: var(--inv-line); display: block; }
.term-bar i:first-child { background: var(--acid); }
.term pre { margin: 0; padding: 16px 18px; overflow-x: auto; line-height: 1.7; }
.term .c { color: var(--inv-mute); }
.term .p { color: var(--acid); }
.note { margin-top: 18px; padding: 16px 18px; border: 2px solid var(--ink); background: var(--paper); font-size: 14px; color: var(--ink-2); }
.note b { color: var(--ink); }

.limits { margin: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 40px; border-top: 2px solid var(--ink); }
.limits p { padding: 16px 0; border-bottom: 1px solid var(--ink-3); font-size: 15px; color: var(--ink-2); }
.limits p::before { content: "> "; font-family: var(--mono); color: var(--ink); font-weight: 700; }

.next-entry { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin: 110px var(--gutter) 0; padding: 32px 0 40px; border-top: 2px solid var(--ink); text-decoration: none; }
.next-entry .mono { font-size: 12px; color: var(--ink-3); }
.next-name { font-weight: 900; font-size: clamp(54px, 9vw, 150px); line-height: .8; letter-spacing: -.05em; font-variation-settings: "wdth" 96; text-transform: uppercase; transition: color .2s; }
.next-entry:hover .next-name { color: var(--next-acc, var(--acid)); -webkit-text-stroke: 2px var(--ink); }
.next-arrow { font-size: clamp(50px, 7vw, 110px); font-weight: 200; line-height: .8; transition: transform .2s; }
.next-entry:hover .next-arrow { transform: translateX(10px); }

/* ============ FOOTER ============ */
.foot { background: var(--inv-bg); color: var(--inv-fg); overflow: hidden; }
@media (prefers-color-scheme: dark) { .foot { border-top: 2px solid var(--line); } .marquee { border-block-color: var(--line); } }
.foot-giant { font-weight: 900; font-size: 17vw; line-height: .8; letter-spacing: -.055em; font-variation-settings: "wdth" 80; color: var(--acid); padding: 50px 0 0 calc(var(--gutter) - .04em); white-space: nowrap; }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between; padding: 36px var(--gutter); font-size: 12px; color: var(--inv-soft); }
.foot-row a { color: var(--inv-fg); text-decoration: none; }
.foot-row a:hover { color: var(--acid); }
.foot-ticker { display: flex; justify-content: space-between; gap: 40px; padding: 14px var(--gutter); border-top: 1px solid var(--inv-line); font-size: 12px; color: var(--inv-mute); white-space: nowrap; overflow: hidden; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); }
  .rail-words span { font-size: 96px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .entry { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) 40px; }
  .entry-thumb { display: none; }
}
@media (max-width: 960px) {
  .top-nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 0 var(--gutter) 56px; }
  .hero-rail { grid-column: 1; grid-row: auto; padding: 24px 0 0; }
  .rail-meta { display: flex; gap: 28px; flex-wrap: wrap; }
  .rail-meta br { display: none; }
  .rail-words { display: none; }
  .hero-main { grid-column: 1; grid-row: auto; padding: 28px 0 40px; }
  .spec-card { grid-column: 1; grid-row: auto; margin-right: 0; min-height: 0; }
  .spec-name { padding-right: 0; }
  .hero-shot { grid-column: 1; grid-row: auto; margin: 56px 0 0; }
  .sec-head-split, .steps-grid, .contact-sec { grid-template-columns: minmax(0, 1fr); }
  .null-sec { grid-template-columns: 1fr; }
  .null-num { text-align: left; }
  .entry { grid-template-columns: 64px minmax(0, 1fr) 32px; gap: 8px 18px; }
  .entry-desc { grid-column: 2 / 4; }
  .entry-arrow { grid-row: 1; grid-column: 3; }
}
@media (max-width: 640px) {
  .brand-name { font-size: 15px; }
  .hero-title { font-size: 13.4vw; }
  .hero-title .hl { -webkit-text-stroke-width: 2px; }
  .kicker { font-size: 11px; }
  .quarter-mark { display: none; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .feat-grid, .media-grid, .limits { grid-template-columns: 1fr; }
  .feat { min-height: 0; }
  .stack-row { grid-template-columns: 1fr; gap: 10px; }
  .sec-head { padding-top: 72px; }
  .entry { grid-template-columns: minmax(0, 1fr) 32px; }
  .entry-no { grid-column: 1 / 3; }
  .entry-name { grid-column: 1; grid-row: 2; }
  .entry-arrow { grid-row: 2; grid-column: 2; }
  .entry-desc { grid-column: 1 / 3; }
  .i-card b { font-size: 22px; }
  .next-entry { grid-template-columns: 1fr; }
  .next-arrow { display: none; }
}
