/* Zelda Digital Marketing — games publishing & monetization. Graphite dark system, one signal-green accent, sharp 4–6px geometry. */
:root {
  --ink: #0b1015;
  --ink-2: #10161d;
  --panel: #151d26;
  --panel-2: #1a2430;
  --edge: #233040;
  --edge-2: #2e3d4f;
  --text: #e9eef3;
  --muted: #9aa8b6;
  --dim: #6b7a8a;
  --accent: #34d399;
  --accent-deep: #10b981;
  --accent-glow: rgba(52,211,153,.14);
  --paper: #f4f6f8;
  --paper-text: #0f171f;
  --paper-muted: #4b5866;
  --paper-edge: #dde3e9;
  --max: 1200px;
  --display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --r: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.hl { color: var(--accent); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,16,21,.86); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--edge); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }
.brand .name { display: flex; flex-direction: column; line-height: 1.15; }
.brand .name b { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.brand .name small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; color: var(--muted); }
.links a { transition: color .18s; }
.links a:hover, .links a.active { color: var(--text); }
.nav-cta { font-family: var(--mono); font-size: 12.5px !important; letter-spacing: .08em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--accent); border-radius: var(--r); color: var(--accent) !important; transition: background .18s, color .18s; }
.nav-cta:hover { background: var(--accent); color: var(--ink) !important; }
.burger { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--r);
  background: var(--accent); color: var(--ink); border: 1px solid var(--accent);
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { background: #5ee6b2; border-color: #5ee6b2; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--edge-2); }
.btn-ghost:hover { background: transparent; border-color: var(--text); }
.btn-go::after { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .18s; }
.btn-go:hover::after { transform: translateX(3px); }

/* Label — mono eyebrow with index */
.label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.label b { font-weight: 500; color: var(--dim); }
.label::after { content: ''; width: 40px; height: 1px; background: var(--edge-2); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--edge); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--edge) 1px, transparent 1px), linear-gradient(90deg, var(--edge) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(38px, 4.2vw, 58px); margin-bottom: 22px; }
.hero .lede { font-size: 17.5px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--edge); max-width: 560px; }
.facts div { padding: 18px 18px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--edge); }
.facts b { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; }
.facts span { font-size: 13px; color: var(--dim); }

/* Lifecycle ring (hero visual) */
.ring-wrap { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-left: auto; }
.ring { width: 100%; height: 100%; overflow: visible; }
.ring .track { fill: none; stroke: var(--edge-2); stroke-width: 1; }
.ring .track-dash { fill: none; stroke: var(--edge); stroke-width: 1; stroke-dasharray: 2 6; }
.ring .sweep { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 160 783; transform-origin: 250px 250px; animation: sweep 9s linear infinite; }
.ring .node { fill: var(--ink); stroke: var(--edge-2); stroke-width: 1.5; }
.ring .node-dot { fill: var(--accent); }
.ring .ntext { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; fill: var(--text); text-transform: uppercase; }
.ring .nsub { font-family: var(--sans); font-size: 12px; fill: var(--dim); }
.ring .core { fill: var(--panel); stroke: var(--edge-2); }
.ring .core-k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; fill: var(--dim); }
.ring .core-v { font-family: var(--display); font-size: 30px; font-weight: 600; fill: var(--text); letter-spacing: -.02em; }
.ring .bar { fill: var(--accent); transform-box: fill-box; transform-origin: bottom; animation: grow 3.6s ease-in-out infinite; }
.ring .bar:nth-of-type(2) { animation-delay: .3s; } .ring .bar:nth-of-type(3) { animation-delay: .6s; } .ring .bar:nth-of-type(4) { animation-delay: .9s; } .ring .bar:nth-of-type(5) { animation-delay: 1.2s; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes grow { 0%,100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--edge-2); border-radius: var(--r); font-size: 13px; color: var(--muted); white-space: nowrap; box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); }
.chip b { color: var(--text); font-weight: 600; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.chip-a { top: 4%; left: -6%; }
.chip-b { bottom: 6%; right: -4%; }

/* Ticker */
.ticker { border-bottom: 1px solid var(--edge); background: var(--ink-2); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 18px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker span::after { content: ''; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding: 112px 0; }
.sec-paper { background: var(--paper); color: var(--paper-text); }
.sec-paper h2, .sec-paper h3 { color: var(--paper-text); }
.sec-paper .label { color: var(--accent-deep); }
.sec-paper .label b { color: #8794a1; }
.sec-paper .label::after { background: var(--paper-edge); }
.sec-paper .hl { color: var(--accent-deep); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 64px; }
.head h2 { font-size: clamp(32px, 4vw, 50px); }
.head p { color: var(--muted); font-size: 17px; }
.sec-paper .head p { color: var(--paper-muted); }

/* Lifecycle stages — horizontal timeline */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--edge-2); }
.stage { position: relative; padding: 36px 28px 8px 0; }
.stage + .stage { padding-left: 28px; border-left: 1px solid var(--edge); }
.stage::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.stage + .stage::before { left: -5px; }
.stage .k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.stage h3 { font-size: 26px; margin: 14px 0 14px; }
.stage p { color: var(--muted); font-size: 15px; }
.stage ul { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.stage li { font-family: var(--mono); font-size: 12.5px; color: var(--text); padding-left: 16px; position: relative; }
.stage li::before { content: '›'; position: absolute; left: 0; color: var(--accent); }

/* Monetization stack (paper section) */
.stack-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.stack-copy h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 22px; }
.stack-copy p { color: var(--paper-muted); font-size: 17px; margin-bottom: 18px; }
.stack { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--paper-edge); border-radius: var(--r); transition: border-color .2s, transform .2s; }
.layer:hover { border-color: var(--accent-deep); transform: translateX(6px); }
.layer .ix { font-family: var(--mono); font-size: 13px; color: #8794a1; }
.layer h3 { font-size: 19px; margin-bottom: 4px; }
.layer p { font-size: 14.5px; color: var(--paper-muted); }
.layer .meter { width: 92px; height: 6px; background: #e8edf1; border-radius: 3px; overflow: hidden; }
.layer .meter i { display: block; height: 100%; background: var(--accent-deep); }
.layer:nth-child(1) { margin-right: 0; }
.layer:nth-child(2) { margin-left: 18px; }
.layer:nth-child(3) { margin-left: 36px; }
.layer:nth-child(4) { margin-left: 54px; }

/* Services — numbered rows */
.rows { border-top: 1px solid var(--edge); }
.row { display: grid; grid-template-columns: 90px 1.1fr 1.4fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--edge); align-items: start; transition: background .2s; }
.row:hover { background: linear-gradient(90deg, var(--accent-glow), transparent 60%); }
.row .ix { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 6px; }
.row h3 { font-size: 28px; }
.row h3 small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-top: 10px; }
.row p { color: var(--muted); margin-bottom: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { font-family: var(--mono); font-size: 12px; color: var(--text); padding: 6px 10px; border: 1px solid var(--edge-2); border-radius: 4px; }

/* Catalogue — coming soon */
.vault { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--edge-2); border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.vault-copy { padding: 56px; }
.vault-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; }
.vault-copy p { color: var(--muted); margin-bottom: 18px; }
.vault-copy .note { font-size: 14px; color: var(--dim); border-left: 2px solid var(--accent); padding-left: 14px; margin-top: 28px; }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--edge); border-left: 1px solid var(--edge-2); }
.cell { background: var(--panel); aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; position: relative; overflow: hidden; }
.cell .n { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.cell .bar-s { height: 6px; width: 60%; background: var(--edge-2); border-radius: 3px; }
.cell .bar-s + .bar-s { width: 38%; margin-top: 8px; }
.cell::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 3.2s ease-in-out infinite; }
.cell.lit { background: var(--panel-2); }
.cell.lit .n { color: var(--accent); }
@keyframes shimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

/* Principles (paper) */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { background: #fff; border: 1px solid var(--paper-edge); border-radius: var(--r); padding: 34px 30px; border-top: 3px solid var(--accent-deep); }
.principle .k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #8794a1; text-transform: uppercase; }
.principle h3 { font-size: 22px; margin: 16px 0 12px; }
.principle p { color: var(--paper-muted); font-size: 15px; }

/* Publishing partner split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 22px; }
.split p { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 12px; margin: 26px 0 32px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: ''; flex: 0 0 auto; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.spec { border: 1px solid var(--edge-2); border-radius: var(--r); background: var(--panel); }
.spec-head { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--edge); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.spec-head span:last-child { color: var(--accent); }
.spec dl { display: grid; grid-template-columns: auto 1fr; }
.spec dt, .spec dd { padding: 16px 22px; border-bottom: 1px solid var(--edge); font-size: 15px; }
.spec dt { color: var(--dim); }
.spec dd { text-align: right; font-weight: 500; }
.spec dt:nth-last-of-type(1), .spec dd:nth-last-of-type(1) { border-bottom: 0; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: var(--display); font-size: 20px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 26px; max-width: 720px; }

/* Closing band */
.band { border: 1px solid var(--edge-2); border-radius: var(--r); padding: 72px 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(52,211,153,.12), transparent 60%), var(--ink-2); }
.band h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 16px; }
.band p { color: var(--muted); }
.band .actions { justify-content: flex-end; }

/* Page hero (inner pages) */
.page-hero { padding: 104px 0 72px; border-bottom: 1px solid var(--edge); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--edge) 1px, transparent 1px), linear-gradient(90deg, var(--edge) 1px, transparent 1px); background-size: 56px 56px; opacity: .3; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 900px; margin-bottom: 22px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 680px; }

/* About — story columns */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.story h3 { font-size: 20px; margin-bottom: 12px; }
.story p { color: var(--paper-muted); font-size: 15.5px; }
.story .k { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); letter-spacing: .12em; display: block; margin-bottom: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-grid h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.contact-grid p { color: var(--muted); margin-bottom: 16px; }
.addr-card { border: 1px solid var(--edge-2); border-radius: var(--r); background: var(--panel); padding: 36px; }
.addr-card .k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.addr-card address { font-style: normal; font-family: var(--display); font-size: 24px; line-height: 1.35; margin: 18px 0 24px; }
.addr-card .sub { font-size: 14px; color: var(--dim); border-top: 1px solid var(--edge); padding-top: 18px; }

/* Legal */
.legal { max-width: 860px; margin: 0 auto; padding: 88px 32px 112px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.legal .updated { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 40px; }
.legal .notice { border: 1px solid var(--accent); background: var(--accent-glow); border-radius: var(--r); padding: 22px 26px; margin-bottom: 44px; font-size: 16px; color: var(--text); font-weight: 500; }
.legal .notice .k { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-weight: 400; }
.legal .toc { border: 1px solid var(--edge); border-radius: var(--r); padding: 22px 26px; margin-bottom: 48px; background: var(--ink-2); }
.legal .toc b { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.legal .toc ol { columns: 2; column-gap: 32px; margin: 14px 0 0 18px; font-size: 14.5px; color: var(--muted); }
.legal .toc li { padding: 3px 0; break-inside: avoid; }
.legal .toc a:hover { color: var(--accent); }
.legal h2 { font-size: 23px; margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--edge); scroll-margin-top: 90px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; display: grid; gap: 6px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border: 1px solid var(--edge); vertical-align: top; color: var(--muted); }
.legal th { background: var(--panel); color: var(--text); font-weight: 600; font-family: var(--display); }
.legal .addr { font-style: normal; color: var(--text); line-height: 1.7; }
.table-scroll { overflow-x: auto; }

/* Footer */
footer { border-top: 1px solid var(--edge); background: var(--ink-2); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.foot-brand p { color: var(--dim); font-size: 14.5px; margin-top: 18px; max-width: 340px; }
.foot-brand .addr { color: var(--muted); font-style: normal; line-height: 1.7; }
.foot-col h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .18s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--edge); font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .04em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Short laptop screens — keep the whole hero above the fold */
@media (min-width: 1021px) and (max-height: 860px) {
  .hero-grid { padding-top: 40px; padding-bottom: 48px; }
  .hero .label { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(36px, 3.9vw, 52px); margin-bottom: 18px; }
  .hero .lede { font-size: 16.5px; margin-bottom: 26px; }
  .facts { margin-top: 30px; }
  .facts div { padding-top: 14px; }
  .ring-wrap { max-width: 390px; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
  .ring-wrap { margin: 0 auto; max-width: 440px; }
  .head, .stack-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .stack-grid, .split, .contact-grid { gap: 48px; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stage:nth-child(3) { border-left: 0; padding-left: 0; }
  .stage:nth-child(3)::before { left: 0; }
  .row { grid-template-columns: 60px 1fr; }
  .row > div:last-child { grid-column: 2; }
  .vault { grid-template-columns: 1fr; }
  .vault-grid { border-left: 0; border-top: 1px solid var(--edge-2); }
  .principles, .story { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 56px 40px; }
  .band .actions { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .burger { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: none; border: 1px solid var(--edge-2); border-radius: var(--r); cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; }
  .burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--edge); padding: 8px 32px 20px; }
  .links.open { display: flex; }
  .links a { padding: 13px 0; border-bottom: 1px solid var(--edge); }
  .links .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1px solid var(--accent); }
}
@media (max-width: 640px) {
  .container, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .links { padding-left: 16px; padding-right: 16px; }
  .sec { padding: 80px 0; }
  .brand .name small { display: none; }
  .hero .lede { font-size: 16.5px; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--edge); }
  .chip { font-size: 12px; padding: 8px 11px; }
  .chip-a { left: 0; top: 0; } .chip-b { right: 0; bottom: 0; }
  .stages { grid-template-columns: 1fr; }
  .stage, .stage + .stage { padding-left: 0; border-left: 0; }
  .stage + .stage { border-top: 1px solid var(--edge); }
  .stage + .stage::before { left: 0; }
  .layer { grid-template-columns: 40px 1fr; padding: 18px; }
  .layer .meter { display: none; }
  .layer:nth-child(n) { margin-left: 0; }
  .row { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .row > div:last-child { grid-column: auto; }
  .vault-copy { padding: 36px 24px; }
  .band { padding: 44px 24px; }
  .addr-card { padding: 26px; }
  .addr-card address { font-size: 20px; }
  .legal { padding: 64px 16px 88px; }
  .legal .toc ol { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}
