/* Arsenal — tobynoskillson.com/arsenal/. v7: a precise product page. Black ground, system type, hairlines;
   colour comes only from the real outputs. Normal scrolling; motion answers arrival, the pointer and clicks. */
:root {
  --w: 1200px;
  --bg: #000;
  --panel: #0e0e10;
  --ink: #0a84ff;
  --deep: #0060c8;
  --bone: #f5f5f7;
  --text: #f5f5f7;
  --dim: #8e8e93;
  --faint: #48484a;
  --line: rgba(255, 255, 255, .1);
  --gold: #ffd60a;
  --hot: #ff375f;
  --teal: #5ee6c8;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --serif: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 17px/1.45 var(--font); -webkit-font-smoothing: antialiased; background: var(--bg); }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip, .agents { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 9; background: var(--text); color: #000; padding: 8px 12px; border-radius: 8px; }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 56px;
  padding: 0 max(24px, calc((100vw - var(--w)) / 2)); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
body.past .nav { background: rgba(0, 0, 0, .74); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; text-decoration: none; font-size: 14px; color: rgba(245, 245, 247, .8); }
.nav nav a:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.nav svg { width: 16px; height: 16px; fill: currentColor; } .heart svg { fill: var(--hot); }

.brew { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 6px 6px 6px 18px; border-radius: 12px; background: var(--panel); border: 1px solid rgba(255, 255, 255, .14); }
.brew code { font: 15px/1.4 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brew .pr { color: var(--faint); margin-right: 6px; user-select: none; }
.copy { width: 36px; height: 36px; flex: none; display: grid; place-items: center; color: var(--dim); border-radius: 8px; }
.copy:hover { color: var(--text); background: rgba(255, 255, 255, .08); } .copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; } .copy.done { color: #30d158; }

h1 { margin: 0; font-size: clamp(42px, 5.6vw, 80px); line-height: 1; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.credit { margin: 14px 0 0; font-size: 13px; color: var(--dim); }

/* hero: headline and install line side by side, then the split */
.hero { max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 56px 24px 0; }
.lede { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 36px; }
.split { margin: 0; }
.split-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.split-stage .L { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-stage .boxes { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--a)) 0 0); }
.split-stage .L[data-k="depth"] { clip-path: inset(0 0 0 var(--a)); }
.split-stage .L[data-k="normals"] { clip-path: inset(0 0 0 var(--b)); }
.split-stage .L[data-k="cutout"] { clip-path: inset(0 0 0 var(--c)); background: #111 url(/arsenal/assets/g/checker.svg) 0 0 / 24px 24px; }
.split.anim { transition: --a .5s var(--ease), --b .5s var(--ease), --c .5s var(--ease); }
@property --a { syntax: "<percentage>"; inherits: true; initial-value: 25%; }
@property --b { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --c { syntax: "<percentage>"; inherits: true; initial-value: 75%; }
.split-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(var(--a) - 1px), rgba(255,255,255,.7) var(--a), transparent calc(var(--a) + 1px)),
    linear-gradient(90deg, transparent calc(var(--b) - 1px), rgba(255,255,255,.7) var(--b), transparent calc(var(--b) + 1px)),
    linear-gradient(90deg, transparent calc(var(--c) - 1px), rgba(255,255,255,.7) var(--c), transparent calc(var(--c) + 1px)); }
.bands { display: grid; grid-template-columns: var(--a) calc(var(--b) - var(--a)) calc(var(--c) - var(--b)) 1fr; margin-top: 14px; }
.bands button { display: flex; flex-direction: column; gap: 2px; padding: 0 14px; text-align: left; min-width: 0; border-left: 1px solid var(--line); }
.bands button:first-child { border-left: 0; padding-left: 2px; }
.bands b { font-size: 15px; font-weight: 600; } .bands i { font-style: normal; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bands button[aria-current="true"] b { color: var(--ink); }
.box { position: absolute; border: 2px solid #fff; border-radius: 10px; }
.box span { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 6px; background: #fff; color: #000; font-size: 13px; font-weight: 600; white-space: nowrap; }
.box span em { font-style: normal; font-weight: 500; color: #6e6e73; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* facts and the app */
.facts { max-width: calc(var(--w) + 48px); margin: 96px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr) 300px; gap: 24px; align-items: start; }
.facts .app { grid-row: span 1; margin-top: -40px; }
.fact { border-top: 1px solid var(--line); padding-top: 18px; }
.fact b { display: block; font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font-size: 15px; color: var(--dim); }
.app { margin: 0; } .app img { width: 300px; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.app figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); }

/* groups: specs on one side, the real output on the other; wide groups stack */
.group { max-width: calc(var(--w) + 48px); margin: 128px auto 0; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.group.wide { grid-template-columns: 1fr; gap: 28px; }
.group.wide header { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.group header h2 { margin-bottom: 20px; }
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 2px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.spec b { font-weight: 600; } .spec .p, .spec .s { color: var(--dim); font-variant-numeric: tabular-nums; text-align: right; }
.spec .m { grid-column: 1 / -1; font-size: 12.5px; color: var(--teal); }
.group.wide .spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.demo { min-width: 0; transition: opacity .7s var(--ease), transform .8s var(--ease); }
html.js .group:not(.in) .demo { opacity: 0; transform: translateY(24px); }
.pagepair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
.pair2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; margin-top: 16px; align-items: start; }
.ex-col { display: flex; flex-direction: column; gap: 10px; }
.seg { display: inline-flex; margin-top: 12px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.seg button { padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #c7c7cc; }
.seg button[aria-pressed="true"] { background: #fff; color: #000; }
.spot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; } .spot img { width: 100%; }
.tl { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.tl span { display: inline-flex; flex-direction: column; padding: 6px 10px; border-radius: 8px; background: rgba(10, 132, 255, .12); }
.tl i { font-style: normal; font: 11px var(--mono); color: var(--dim); } .tl b { font-weight: 600; font-size: 15px; }

/* ---------- The real outputs ---------- */
.weapon { min-width: 0; }
/* 1 page */
.ocr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.ocr .page { position: relative; background: #e9e1cf; border-radius: 4px; overflow: hidden;  }
.blocks { position: absolute; inset: 0; }
.blk { position: absolute; border-radius: 3px; outline: 2px solid transparent; transition: outline-color .4s, background .4s; }
.blk.lit, .blk.on { outline-color: var(--deep); background: rgba(226, 104, 58, .14); }
.ocr .text { max-height: 520px; overflow: hidden; font: 16px/1.55 "New York", Georgia, serif; color: #d6cbbb; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.ocr .text p { margin: 0 0 12px; padding: 2px 6px; margin-left: -6px; border-radius: 5px; transition: background .2s, color .2s; }
.ocr .text p.title { font: 700 14px/1.3 var(--font); letter-spacing: .12em; color: var(--ink); }
.ocr .text p.on { background: rgba(226, 104, 58, .16); color: var(--text); }
/* 2 translate */
.langs, .queries { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.langs button, .queries button, .chip { padding: 8px 15px; border-radius: 99px; background: rgba(243, 230, 207, .08); font-size: 14.5px; color: #e4d9c8; transition: background .2s, color .2s; }
.langs button:hover, .queries button:hover, .chip:hover { background: rgba(243, 230, 207, .15); }
.langs button[aria-pressed="true"], .queries button[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--ink); color: #1a0b05; font-weight: 600; }
.out { margin: 0; font-size: clamp(26px, 3vw, 44px); line-height: 1.18; letter-spacing: -.025em; font-weight: 700; }
/* 3 voices */
.karaoke { margin: 0 0 30px; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; color: rgba(245, 239, 230, .34); }
.karaoke .w { transition: color .12s; } .karaoke .w.on { color: var(--text); } .karaoke .w.now { color: var(--gold); }
.voices { display: flex; flex-wrap: wrap; gap: 8px; }
.vbtn { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 99px; background: rgba(243, 230, 207, .08); transition: background .2s; }
.vbtn:hover { background: rgba(243, 230, 207, .14); }
.vbtn[aria-pressed="true"] { background: rgba(255, 207, 107, .2); }
.vbtn .ic { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.vbtn .ic svg { width: 12px; height: 12px; fill: #1a0b05; } .vbtn[aria-pressed="true"] .ic { background: var(--gold); }
.vbtn .nm { font-weight: 600; font-size: 15px; }
.vbtn canvas { width: 60px; height: 20px; }
/* 4 colour */
.wipe { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; cursor: ew-resize; touch-action: pan-y; --x: 50%; box-shadow: 0 50px 120px -60px rgba(226, 104, 58, .5); }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.wipe .top { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--bone); }
.handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: var(--bone) url(/arsenal/assets/g/arrows.svg) center / 22px no-repeat; }
.wipe.intro { transition: --x 1.7s var(--ease); }
@property --x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.ex { display: flex; gap: 8px; margin-top: 16px; }
.ex button { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.ex button:hover { opacity: .9; } .ex button[aria-pressed="true"] { opacity: 1; outline-color: var(--ink); }
.ex img { width: 100%; height: 100%; object-fit: cover; }
/* 5 erase */
.erase { position: relative; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; cursor: pointer; }
.erase img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.eframe { position: absolute; }
.erase[data-state="mask"] img[data-s="before"], .erase[data-state="after"] img[data-s="before"], .erase[data-state="after"] img[data-s="mask"] { opacity: 0; }
.ebox { position: absolute; border: 2px solid var(--bone); border-radius: 8px; transition: opacity .3s; }
.ebox::before { content: attr(data-label); position: absolute; left: -2px; top: -2px; transform: translateY(-100%); background: var(--bone); color: #000; font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 6px 6px 6px 0; white-space: nowrap; }
.erase:not([data-state="before"]) .ebox { opacity: 0; }
.steps-e { display: inline-flex; gap: 22px; margin-top: 20px; }
.steps-e button { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.035em; color: rgba(245, 239, 230, .24); transition: color .3s; }
.steps-e button[aria-pressed="true"] { color: var(--text); }
.weapon .ex[data-ex="erase"] { display: inline-flex; float: right; margin-top: 20px; }
/* 6 search */
.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: min(60vh, 560px); }
.results li { position: relative; min-height: 0; transition: opacity .35s; }
.results li:first-child { grid-row: 1 / span 2; }
.results li:nth-child(n+6) { display: none; }
.results img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.results li:first-child img { outline: 3px solid var(--ink); outline-offset: 4px; }
.results .bar { display: none; }
/* 7 song */
.music { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.play { width: 104px; height: 104px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease); box-shadow: 0 20px 60px -18px rgba(226, 104, 58, .8); }
.play:hover { transform: scale(1.04); } .play:active { transform: scale(.96); }
.play svg { width: 38px; height: 38px; fill: #1a0b05; }
.play .i-pause, .music.on .play .i-play { display: none; } .music.on .play .i-pause { display: block; }
.music.loading .play { opacity: .6; }
.tracks { display: grid; gap: 12px; min-width: 0; }
.track { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 14px; height: 72px; }
.track button { text-align: left; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.track button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.track[data-off] button { color: var(--faint); } .track[data-off] button::before, .track[data-off] canvas { opacity: .25; }
.track canvas { width: 100%; height: 68px; }
/* 8 forecast */
.forecast { display: flex; flex-direction: column; gap: 22px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.forecast > svg { width: 100%; height: min(54vh, 520px); display: block; overflow: visible; }
.forecast text { fill: rgba(243, 230, 207, .55); font: 13px var(--font); }
.forecast .hist { fill: none; stroke: var(--bone); stroke-width: 2; stroke-linejoin: round; }
.forecast .band { fill: rgba(94, 230, 200, .22); }
.forecast .med { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linejoin: round; }
.forecast .act { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; }
.forecast .cut { stroke: rgba(243, 230, 207, .35); stroke-dasharray: 3 5; }
.forecast .fzone { fill: rgba(94, 230, 200, .05); }
.forecast text.dl { font-size: 15px; font-weight: 700; } .forecast .dl-h { fill: var(--bone); } .forecast .dl-f { fill: var(--teal); } .forecast .dl-a { fill: var(--gold); } .forecast .dl-u { font-weight: 400; }
.forecast .area { opacity: .55; }
.legend { display: none; }
.forecast > svg path.med, .forecast > svg path.act { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.forecast > svg .band { opacity: 0; transition: opacity .8s; }
.forecast.drawn > svg path.med { stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease) .1s; }
.forecast.drawn > svg path.act { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease) .6s; }
.forecast.drawn > svg .band { opacity: 1; transition-delay: .1s; }
.forecast.instant > svg path, .forecast.instant > svg .band { transition: none !important; }
html:not(.js) .forecast > svg path.med, html:not(.js) .forecast > svg path.act { stroke-dashoffset: 0; } html:not(.js) .forecast > svg .band { opacity: 1; }
/* 9 views */
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.views figure { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.views img { width: 100%; height: 100%; object-fit: cover; }
.views .v-cut { background: radial-gradient(60% 70% at 55% 55%, #4a2416, #160b07 70%); }
.views figcaption { position: absolute; left: 12px; bottom: 10px; padding: 3px 10px; border-radius: 6px; background: rgba(11, 9, 8, .72); font-size: 13px; font-weight: 600; }
.boxes { position: absolute; inset: 0; pointer-events: none; }
.box { position: absolute; border: 2px solid var(--bone); border-radius: 8px; }
.box span { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 6px; background: var(--bone); color: #000; font-size: 12px; font-weight: 600; white-space: nowrap; }
.box span em { font-style: normal; font-weight: 500; color: #6e6e73; margin-left: 4px; }

/* close */
.close { max-width: calc(var(--w) + 48px); margin: 160px auto 0; padding: 0 24px; text-align: center; }
.close h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 30px; }
.links { display: flex; justify-content: center; gap: 28px; margin: 26px 0 0; }
.links a { text-decoration: none; color: var(--dim); display: inline-flex; align-items: center; gap: 7px; } .links a:hover { color: var(--text); }
.links svg { width: 16px; height: 16px; fill: var(--hot); }
.foot { max-width: var(--w); margin: 120px auto 0; padding: 24px 24px 48px; text-align: center; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }
.foot a { color: var(--dim); }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(3, 1fr); } .app { grid-column: 1 / -1; }
  .group, .group.wide header { grid-template-columns: 1fr; gap: 24px; }
  .pagepair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 32px; } .lede { margin-bottom: 24px; }
  h1 { font-size: clamp(38px, 11vw, 48px); }
  .brew { padding: 4px 4px 4px 12px; } .brew code { font-size: 11px; } .brew .pr { display: none; } .copy { width: 30px; height: 30px; }
  .split { margin: 0 -24px; } .split-stage { border-radius: 0; aspect-ratio: 4 / 3; }
  .bands { padding: 0 16px; } .bands button { padding: 0 6px; } .bands b { font-size: 13px; } .bands i { display: none; }
  .facts { margin-top: 64px; grid-template-columns: 1fr 1fr; } .facts .fact:nth-child(3) { grid-column: 1 / -1; }
  .group { margin-top: 88px; padding: 0 16px; } .facts, .close { padding: 0 16px; }
  .group.wide .spec { grid-template-columns: 1fr; }
  .ocr { grid-template-columns: 1fr; } .ocr .text { max-height: 220px; font-size: 14px; }
  .results { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; } .results li:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; } .results li { aspect-ratio: 1; }
  .music { grid-template-columns: 1fr; } .play { width: 72px; height: 72px; } .play svg { width: 28px; height: 28px; }
  .track { grid-template-columns: 64px 1fr; height: 54px; } .track canvas { height: 50px; }
  .wipe { aspect-ratio: 4 / 5; } .wipe img { object-position: 50% 50%; } .erase { aspect-ratio: 4 / 3.4; }
  .pair2 { grid-template-columns: 1fr; } .ex-col { flex-direction: row; }
  .links { flex-direction: column; align-items: center; gap: 14px; }
  .forecast > svg { height: 40vh; }
}
@media (max-width: 400px) { .nav nav a span { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
/* the install line sits beside the headline on wide screens */
@media (min-width: 1100px) { .lede { flex-wrap: nowrap; } .lede h1 { font-size: clamp(42px, 4.4vw, 66px); } .lede .brew { flex: none; margin-bottom: 6px; } }

/* ---------- v7.1: smaller and denser throughout ---------- */
:root { --w: 1080px; }
body { font-size: 15px; }
.hero { padding-top: 40px; }
.lede { margin-bottom: 24px; }
h1 { font-size: clamp(34px, 4vw, 54px); }
@media (min-width: 1100px) { .lede h1 { font-size: clamp(34px, 3.6vw, 52px); } }
h2 { font-size: clamp(22px, 2vw, 28px); }
.brew code { font-size: 13.5px; } .brew { padding: 4px 4px 4px 14px; } .copy { width: 32px; height: 32px; }
.split-stage { border-radius: 14px; aspect-ratio: 2 / 1; }
.bands b { font-size: 13.5px; } .bands i { font-size: 11.5px; }
.facts { margin-top: 64px; grid-template-columns: repeat(3, 1fr) 220px; gap: 20px; }
.facts .app { margin-top: -20px; } .app img { width: 220px; border-radius: 10px; }
.fact b { font-size: clamp(34px, 3.4vw, 48px); } .fact span { font-size: 13px; }
.group { margin-top: 88px; gap: 36px; } .group.wide header { gap: 36px; }
.group header h2 { margin-bottom: 14px; }
.spec li { padding: 7px 0; font-size: 13px; } .spec .m { font-size: 11.5px; }
.credit { font-size: 12px; }
.out { font-size: clamp(20px, 2vw, 28px); }
.play { width: 64px; height: 64px; } .play svg { width: 24px; height: 24px; }
.track { height: 52px; } .track canvas { height: 48px; } .track button { font-size: 13px; }
.results { height: min(46vh, 420px); }
.forecast > svg { height: min(40vh, 380px); }
.wipe { aspect-ratio: 2 / 1; }
.erase { aspect-ratio: 2 / 1; }
.close { margin-top: 110px; } .close h2 { font-size: clamp(28px, 3vw, 42px); }
.foot { margin-top: 80px; }

/* together: pipelines */
.together { max-width: calc(var(--w) + 48px); margin: 88px auto 0; padding: 0 24px; }
.together h2 { margin-bottom: 16px; }
.pipes { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .07); margin-bottom: 18px; }
.pipes button { padding: 6px 12px; border-radius: 8px; font-size: 13px; color: #c7c7cc; }
.pipes button[aria-selected="true"] { background: #fff; color: #000; font-weight: 600; }
.pipe { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px; }
.chain { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 0; flex-wrap: wrap; }
.chain li { position: relative; display: flex; flex-direction: column; padding: 8px 28px 8px 12px; border-radius: 8px; opacity: .35; transition: opacity .4s calc(var(--i) * .35s), background .4s calc(var(--i) * .35s); }
.chain li:not(:last-child)::after { content: "→"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.chain.lit li { opacity: 1; background: rgba(10, 132, 255, .1); }
.chain b { font-size: 13px; font-weight: 600; } .chain span { font-size: 11.5px; color: var(--dim); }
.pipe-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; }
.pin img { width: 180px; border-radius: 4px; }
.pin[hidden] + .pout { grid-column: 1 / -1; }
.pout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center; }
.pout .play { width: 52px; height: 52px; background: var(--ink); box-shadow: none; } .pout .play svg { fill: #fff; width: 20px; height: 20px; }
.pout .play .i-pause { display: none; } .pipe.on .pout .play .i-play { display: none; } .pipe.on .pout .play .i-pause { display: block; }
.pwave { width: 100%; height: 40px; }
.sync { grid-column: 1 / -1; margin: 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: rgba(245, 245, 247, .4); }
.sync .w { transition: color .1s; } .sync .w.on { color: var(--text); } .sync .w.now { color: var(--ink); }
.stems2 { grid-column: 1 / -1; display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .07); justify-self: start; }
.stems2[hidden] { display: none; }
.stems2 button { padding: 5px 12px; border-radius: 8px; font-size: 12.5px; color: #c7c7cc; } .stems2 button[aria-pressed="true"] { background: #fff; color: #000; font-weight: 600; }

/* See: models on the left, the photo on the right */
.bench { max-width: calc(var(--w) + 48px); margin: 88px auto 0; padding: 0 24px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.bench h2 { margin-bottom: 14px; }
.picker { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.picker button { width: 100%; display: flex; flex-direction: column; text-align: left; padding: 8px 12px; border-radius: 9px; transition: background .2s; }
.picker button:hover { background: rgba(255, 255, 255, .06); }
.picker button[aria-pressed="true"] { background: rgba(10, 132, 255, .18); }
.picker b { font-size: 13.5px; font-weight: 600; } .picker span { font-size: 12px; color: var(--dim); }
.bench .stage { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.bench .stage.cut { background: #111 url(/arsenal/assets/g/checker.svg) 0 0 / 22px 22px; }
.bench .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bench .stage .boxes { position: absolute; inset: 0; } .bench .stage .boxes[hidden] { display: none; }

/* the whole catalogue */
.sheet { max-width: calc(var(--w) + 48px); margin: 88px auto 0; padding: 0 24px; }
.sheet h2 { margin-bottom: 18px; }
.cols { columns: 3 300px; column-gap: 28px; }
.col { break-inside: avoid; margin-bottom: 22px; }
.col h3 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--dim); text-transform: none; letter-spacing: 0; }
.col .spec li { grid-template-columns: minmax(0, 1fr) auto auto; padding: 5px 0; font-size: 12.5px; }

@media (max-width: 900px) {
  .bench, .pipe-body { grid-template-columns: 1fr; } .pin img { width: 140px; }
  .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .together, .bench, .sheet { padding: 0 16px; }
  .split-stage { aspect-ratio: 4 / 3; }
  .pipes { display: flex; flex-wrap: wrap; }
  .wipe, .erase { aspect-ratio: 4 / 3; }
}
/* facts: one compact row beside the menu */
.facts { align-items: center; } .facts .app { margin-top: 0; }
.fact { padding-top: 12px; }

/* v7.2: a narrower column; See on its own photos */
:root { --w: 920px; }
.bench .stage { aspect-ratio: 1; max-width: 560px; }
.bench .stage img { object-fit: cover; }
.facts { grid-template-columns: repeat(3, 1fr) 190px; } .app img { width: 190px; }
.results { height: min(40vh, 360px); }
@media (min-width: 1100px) { .lede h1 { font-size: clamp(30px, 3vw, 44px); } }
@media (min-width: 1100px) { .lede h1 { font-size: 34px; white-space: nowrap; } .lede { align-items: center; } }

/* ---------- v8 (beauty climb r1): one grammar, tighter rhythm, phone fixes ---------- */
@property --a { syntax: "<percentage>"; inherits: true; initial-value: 28%; }
@property --b { syntax: "<percentage>"; inherits: true; initial-value: 52%; }
@property --c { syntax: "<percentage>"; inherits: true; initial-value: 76%; }
.get { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.req { font-size: 12px; color: var(--dim); letter-spacing: .01em; }
.box span { font-size: 11.5px; padding: 1px 6px; left: 4px; top: 4px; }
/* facts: one quiet row of three under the split */
.facts { margin-top: 40px; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact b { font-size: clamp(30px, 3vw, 40px); }
/* sections closer together */
.together, .bench { margin-top: 72px; } .group { margin-top: 72px; }
/* make a picture: the hero's split again, three bands that take turns */
.pmake[hidden], .pipe-body[hidden] { display: none; }
.msplit { position: relative; margin: 0; aspect-ratio: 2.4 / 1; border-radius: 10px; overflow: hidden; background: #000; --a: 60%; --b: 80%; transition: --a .9s var(--ease), --b .9s var(--ease); }
.msplit .L { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.msplit .L[data-k="depth"] { clip-path: inset(0 0 0 var(--a)); } .msplit .L[data-k="normals"] { clip-path: inset(0 0 0 var(--b)); }
.msplit::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(var(--a) - 1px), rgba(255,255,255,.7) var(--a), transparent calc(var(--a) + 1px)),
    linear-gradient(90deg, transparent calc(var(--b) - 1px), rgba(255,255,255,.7) var(--b), transparent calc(var(--b) + 1px)); }
.prompt { margin: 14px 0 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.4; color: rgba(245, 245, 247, .72); font-weight: 500; }
/* See: the photo fills the column */
.bench .stage { max-width: none; aspect-ratio: 16 / 10; }
.bench .stage.cut { background: radial-gradient(70% 80% at 50% 55%, #2a2f3a, #0b0c10 75%); }
.bench .stage.cut img { object-fit: contain; }
/* spec rows: the best forecaster marked */
.spec li.best b { color: var(--teal); }
.spec .m { color: var(--dim); } .spec li.best .m { color: var(--teal); }
.forecast text.dl-u { font-size: 12px; }
/* close: the menu bar app beside the install line */
.close { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: center; text-align: left; margin-top: 96px; max-width: 760px; }
.close .app img { width: 200px; border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.close h2 { margin-bottom: 22px; } .close .links { justify-content: flex-start; }
@media (max-width: 640px) {
  .get { align-items: flex-start; }
  .facts { grid-template-columns: 1fr; gap: 0; } .facts .fact:nth-child(3) { grid-column: auto; }
  .fact { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; } .fact span { margin: 0; }
  .bands i { display: block; white-space: normal; font-size: 10px; line-height: 1.25; }
  .results { height: auto; } .results li { aspect-ratio: 1; } .results li:first-child { aspect-ratio: 4 / 3; }
  .chain { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .chain li { padding: 8px 10px; } .chain li::after { display: none; }
  .msplit { aspect-ratio: 4 / 3; }
  .close { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; } .close .links { justify-content: center; }
  .close .app img { width: 180px; }
}
@media (max-width: 640px) {
  .get, .close-t { width: 100%; min-width: 0; } .brew { max-width: 100%; } .brew code { font-size: 10.5px; }
  .split-stage .box span em { display: none; }
}
@media (max-width: 640px) { .brew code { font-size: 10px; letter-spacing: -.01em; } .split-stage .box span { display: none; } }

/* ---------- v8 r2: both pipelines on screen, source beside output, one accent, denser ---------- */
.together, .bench, .group { margin-top: 52px; }
.close { margin-top: 72px; } .foot { margin-top: 56px; color: var(--dim); }
.pipe-m { margin-bottom: 14px; } .pipe-m .chain { margin-bottom: 14px; }
.phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .phead .chain { margin: 0; }
.phead .pipes { margin: 4px 0 0; flex: none; }
.pipes button[aria-pressed="true"] { background: #fff; color: #000; font-weight: 600; }
.box.r span { left: auto; right: 4px; }
/* See: the photo on the left, what the model made of it on the right */
.bench .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bench .stage.cut img { object-fit: cover; }
.bench .stage .src { clip-path: inset(0 64% 0 0); z-index: 1; }
.bench .stage:not(.capt)::after { content: ""; position: absolute; top: 0; bottom: 0; left: 36%; width: 1px; background: rgba(255, 255, 255, .7); z-index: 2; }
.bench .stage.capt .src { clip-path: none; }
.bench .stage .boxes { z-index: 2; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 60px 22px 46px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #f5f5f7;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82) 45%); }
.cap[hidden] { display: none; }
.tag { position: absolute; bottom: 12px; z-index: 3; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 600; color: #f5f5f7; }
.tag.t-in { left: 12px; } .tag.t-out { right: 12px; }
.bench .stage.capt .t-in { display: none; } .bench .stage.capt .t-out { left: 12px; right: auto; }
/* Fix photos: thumbnails under the panel they switch; erase full width */
.wipe .tag { pointer-events: none; }
.ex[data-ex="colour"] { margin-top: 10px; } .ex[hidden] { display: none; }
.pair2 { grid-template-columns: 1fr; margin-top: 14px; } .erase { aspect-ratio: 2.4 / 1; }
.seg button i { font-style: normal; font-weight: 500; opacity: .6; margin-left: 3px; }
/* one accent: blue for every state; colour elsewhere comes from outputs and data */
.spec li.best b { color: var(--text); } .spec li.best .m { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .phead { flex-direction: column; } .pipes { flex-wrap: nowrap; }
  .chain { display: flex; flex-direction: column; gap: 4px; } .chain li { padding: 6px 10px 6px 12px; flex-direction: row; gap: 8px; align-items: baseline; }
  .chain li:not(:last-child)::after { display: block; content: "↓"; right: auto; left: 0; top: auto; bottom: -9px; transform: none; font-size: 10px; }
  .erase { aspect-ratio: 4 / 3; } .cap { font-size: 13px; padding: 40px 14px 40px; }
  .bench .stage { aspect-ratio: 4 / 3.4; }
}
.group[data-group="fix"] .spec { grid-template-columns: 1fr; }

/* ---------- v8 r3: contrast, phone fit, the menu shot larger ---------- */
:root { --dim: #a1a1a6; }
.sync { color: rgba(245, 245, 247, .56); }
.close { grid-template-columns: 260px minmax(0, 1fr); max-width: 820px; } .close .app img { width: 260px; }
@media (max-width: 640px) {
  .bench .stage { aspect-ratio: 1200 / 730; }
  .chain li:not(:last-child)::after { left: 14px; bottom: -10px; }
  .close { grid-template-columns: 1fr; } .close .app img { width: 220px; }
}
/* results first: heading, the demo, then the model list under it */
.group.wide { display: flex; flex-direction: column; gap: 16px; }
.group.wide header { display: contents; }
.group.wide header h2 { order: 0; margin: 0 0 4px; } .group.wide .demo { order: 1; } .group.wide .spec { order: 2; margin-top: 6px; }
.group.wide .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group[data-group="fix"] .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .group.wide .spec, .group[data-group="fix"] .spec { grid-template-columns: 1fr; } }
.group.wide { align-items: stretch; } .group.wide .demo { width: 100%; }
.group[data-group="decide"] .spec { grid-template-columns: repeat(4, minmax(0, 1fr)); } .group[data-group="search"] .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (max-width: 640px) { .group[data-group] .spec { grid-template-columns: 1fr; } }

/* ---------- v8 r4 ---------- */
.erase img { transition: opacity .18s; }
.results .bar { display: flex; align-items: center; gap: 8px; position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.results .bar i { display: block; height: 3px; width: var(--s); border-radius: 2px; background: var(--ink); flex: none; max-width: calc(100% - 40px); }
.results .bar b { margin-left: auto; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: #f5f5f7; }
.results li:first-child .bar { left: 12px; right: 12px; bottom: 12px; }
.group[data-group="decide"] .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.group[data-group="fix"] .spec b { white-space: normal; }
@media (max-width: 640px) {
  .legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -8px 0 0; font-size: 13px; font-weight: 600; }
  .legend .k-h { color: var(--bone); } .legend .k-f { color: var(--teal); } .legend .k-a { color: var(--gold); } .legend .k-u { color: var(--dim); font-weight: 400; }
  .seg button i { display: none; }
  .spec b { white-space: normal; }
}
@media (max-width: 640px) { .group[data-group] .spec { grid-template-columns: 1fr; } }
.results .bar i { max-width: none; flex: 1 1 auto; background: linear-gradient(90deg, var(--ink) var(--s), rgba(255,255,255,.18) var(--s)); width: auto; }
.split-stage .box.r span { left: 4px; right: auto; }

/* ---------- 1.0: the whole catalogue ---------- */
.catalog { columns: 3 240px; column-gap: 32px; }
.cg { break-inside: avoid; margin: 0 0 22px; }
.cg summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 0 8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.cg summary::-webkit-details-marker { display: none; }
.cg summary b { font-size: 15px; font-weight: 600; } .cg summary span { color: var(--dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cg ul { list-style: none; margin: 0; padding: 4px 0 0; }
.cg li { display: grid; grid-template-columns: minmax(0, 1fr) 40px 50px; gap: 8px; align-items: center; padding: 4px 0; font-size: 12.5px; }
.cg li b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cg .bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--s), rgba(255, 255, 255, .12) var(--s)); }
.cg .s { color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }
.cg .lock { display: inline-block; vertical-align: -1px; margin-left: 6px; }
.cg .lock svg { width: 11px; height: 11px; fill: var(--gold); stroke: var(--gold); stroke-width: 1.6; } .cg .lock svg path { fill: none; }
@media (max-width: 640px) {
  .catalog { columns: 1; } .cg { margin: 0; } .cg summary { padding: 14px 0; } .cg[open] summary { border-bottom-color: transparent; }
  .cg summary::after { content: "+"; color: var(--dim); margin-left: 8px; } .cg[open] summary::after { content: "–"; }
  .cg summary span { margin-left: auto; } .cg li { font-size: 13px; padding: 6px 0; } .cg ul { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
}
.req a { color: var(--text); text-decoration: none; } .req a:hover { text-decoration: underline; }
@media (max-width: 640px) { .bands i { display: block; } .bands i span { display: none; } .req a { white-space: nowrap; } }
/* 1.0 review: names wrap, grey lock, static jobs on desktop, agents line, 320 px install line */
.cg li b { white-space: normal; overflow: visible; line-height: 1.3; }
.cg .lock svg { fill: var(--dim); stroke: var(--dim); }
@media (min-width: 641px) { .cg summary { cursor: default; } }
#g-all a { text-decoration: none; } #g-all a:hover { color: var(--dim); }
.close .brew.mcp { margin-top: 10px; }
.group[data-group="fix"] .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .group[data-group="fix"] .spec { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .brew code { font-size: 10.5px; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; } .bands i { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* ---------- 1.0: showcases strip ---------- */
.shows { max-width: calc(var(--w) + 48px); margin: 96px auto 0; padding: 0 24px; }
.shows h2 a { text-decoration: none; } .shows h2 a::after { content: " →"; color: var(--dim); font-weight: 600; } .shows h2 a:hover::after { color: var(--text); }
.shows-grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.shows-grid a { display: block; text-decoration: none; }
.shows-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #111; transition: transform .35s var(--ease); }
.shows-grid a:hover img { transform: scale(1.03); }
.shows-grid b { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.25; color: #d1d1d6; }
@media (max-width: 900px) { .shows-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shows { padding: 0 16px; margin-top: 72px; } .shows-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* site climb round 3: one selection rule on both pages. Chosen things are white with black text, as in the showcase
   rails; blue stays only on data (scores, bars, the word being read). */
.langs button[aria-pressed="true"], .queries button[aria-pressed="true"], .chip[aria-pressed="true"] { background: #f5f5f7; color: #000; }
.picker button[aria-pressed="true"] { background: #f5f5f7; color: #000; } .picker button[aria-pressed="true"] span { color: #48484a; }
.chain.lit li { background: rgba(255, 255, 255, .07); }
.tl span { background: rgba(255, 255, 255, .07); }
.ex button[aria-pressed="true"] { outline-color: #f5f5f7; }
.results li:first-child img { outline-color: #f5f5f7; }
.play, .pout .play { background: #f5f5f7; box-shadow: none; } .play svg, .pout .play svg { fill: #000; }
