/* Presentation pages (index + concept detail) */
*, *::before, *::after { box-sizing: border-box; }
:root { --stage: #0c0c10; --ink: #f2f0ea; --accent: #8b7bff; --gutter: clamp(16px, 4vw, 56px); }
html { background: var(--stage); }
body { margin: 0; background: var(--stage); color: var(--ink); font: 400 16px/1.55 "Inter Tight", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.muted { opacity: .62; }
.on-light { --line: rgba(0,0,0,.12); --soft: rgba(0,0,0,.05); }
.on-dark, body:not(.on-light) { --line: rgba(255,255,255,.12); --soft: rgba(255,255,255,.05); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); backdrop-filter: blur(16px); background: color-mix(in srgb, var(--stage) 75%, transparent); border-bottom: 1px solid var(--line); font-size: 14px; }
.top a { text-decoration: none; opacity: .8; }
.top a:hover { opacity: 1; }
.pager { display: flex; gap: 18px; align-items: center; font-family: "JetBrains Mono", monospace; font-size: 12.5px; }
.pager span { opacity: .55; }

/* Detail intro */
.intro { padding: clamp(40px, 7vw, 96px) var(--gutter) 24px; max-width: 1400px; margin: 0 auto; }
.eyebrow { font-family: "JetBrains Mono", monospace; font-size: 12.5px; letter-spacing: .5px; text-transform: uppercase; opacity: .6; margin: 0 0 14px; }
.intro h1 { font-size: clamp(56px, 10vw, 140px); line-height: .9; letter-spacing: -.045em; margin: 0 0 20px; font-weight: 700; }
.pitch { font-size: clamp(17px, 1.6vw, 21px); max-width: 720px; margin: 0 0 32px; opacity: .85; }
.specs { display: flex; flex-wrap: wrap; gap: 20px 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.specs > div { display: flex; flex-direction: column; gap: 8px; }
.k { font-family: "JetBrains Mono", monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; opacity: .55; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { display: inline-flex; align-items: center; gap: 7px; font-family: "JetBrains Mono", monospace; font-size: 12px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 99px; }
.sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(127,127,127,.35); }

/* Device grids */
.devices { display: grid; gap: clamp(20px, 3vw, 44px); padding: 32px var(--gutter) 64px; max-width: 1500px; margin: 0 auto; align-items: end; }
.devices.four { grid-template-columns: repeat(4, 1fr); }
.devices figure { margin: 0; }
.devices figcaption { text-align: center; margin-top: 18px; font-family: "JetBrains Mono", monospace; font-size: 12px; opacity: .6; }
@media (max-width: 1100px) { .devices.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .devices.four { grid-template-columns: 1fr; padding-inline: 12%; } }

/* Moodboard */
.refs { padding: 24px var(--gutter) 96px; max-width: 1400px; margin: 0 auto; border-top: 1px solid var(--line); }
.refs h2 { font-size: 28px; letter-spacing: -.02em; margin: 40px 0 4px; }
.ref-grid { columns: 4 220px; column-gap: 14px; margin-top: 24px; }
.ref-grid img { width: 100%; height: auto; display: block; margin-bottom: 14px; border-radius: 14px; break-inside: avoid; }

/* Moodboards use local research images that are not published; they appear only when present. */
[hidden] { display: none !important; }
