/* ==========================================================================
   Hexworks — Applied Cyber R&D
   Design system: near-black lab bench, instrument amber + signal cyan.
   ========================================================================== */

:root {
  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --panel: #13161a;
  --panel-2: #181c21;
  --panel-3: #1e2329;
  --line: #22272e;
  --line-2: #2d333c;
  --text: #e7e9ec;
  --text-2: #b3b9c2;
  --muted: #7c8590;
  --faint: #4b525b;
  --accent: #ffb547;
  --accent-ink: #1a1206;
  --accent-soft: rgba(255, 181, 71, 0.12);
  --signal: #6cd3ff;
  --signal-soft: rgba(108, 211, 255, 0.1);
  --danger: #ff6b6b;
  --ok: #3ddc97;
  --grid: rgba(255, 255, 255, 0.028);
  --grid-strong: rgba(255, 255, 255, 0.05);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px -16px rgba(0, 0, 0, 0.7);
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --header-h: 64px;
  color-scheme: dark;
}

:root[data-theme='light'] {
  --bg: #f4f2ee;
  --bg-2: #eceae5;
  --panel: #ffffff;
  --panel-2: #f7f6f3;
  --panel-3: #efede8;
  --line: #e0ddd6;
  --line-2: #cfcbc2;
  --text: #16181b;
  --text-2: #3b4048;
  --muted: #6a717b;
  --faint: #a3a8ae;
  --accent: #c7700a;
  --accent-ink: #ffffff;
  --accent-soft: rgba(199, 112, 10, 0.1);
  --signal: #0a7ea8;
  --signal-soft: rgba(10, 126, 168, 0.08);
  --grid: rgba(0, 0, 0, 0.035);
  --grid-strong: rgba(0, 0, 0, 0.06);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 24px -14px rgba(0, 0, 0, 0.18);
  color-scheme: light;
}

/* ---------- status palette ---------- */
.st-IDEA { --st: #b39dff; }
.st-RESEARCH { --st: #6cb6ff; }
.st-EXPERIMENT { --st: #ff7ac6; }
.st-BUILDING { --st: #ff9f43; }
.st-PROTOTYPE { --st: #ffcc4d; }
.st-TESTING { --st: #4fd6e8; }
.st-ACTIVE { --st: #9be15d; }
.st-RELEASED { --st: #3ddc97; }
.st-ARCHIVED { --st: #7a828c; }
:root[data-theme='light'] .st-IDEA { --st: #6d4fd8; }
:root[data-theme='light'] .st-RESEARCH { --st: #2a6fcf; }
:root[data-theme='light'] .st-EXPERIMENT { --st: #c2368a; }
:root[data-theme='light'] .st-BUILDING { --st: #c9650b; }
:root[data-theme='light'] .st-PROTOTYPE { --st: #a87a00; }
:root[data-theme='light'] .st-TESTING { --st: #0b8a9c; }
:root[data-theme='light'] .st-ACTIVE { --st: #4a8a12; }
:root[data-theme='light'] .st-RELEASED { --st: #128a5a; }
:root[data-theme='light'] .st-ARCHIVED { --st: #6a717b; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  color: var(--text);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 600px at 70% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, var(--signal-soft), transparent 60%);
  z-index: -1;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code, kbd, pre, .mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: 0.875rem; }
.xs { font-size: 0.75rem; }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.grow { flex: 1; }
.hide { display: none !important; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.brand-name { font: 600 0.95rem/1 var(--font-mono); letter-spacing: 0.14em; }
.brand-sub { display: block; font: 400 0.62rem/1 var(--font-mono); letter-spacing: 0.12em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a {
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a[aria-current='page'] { color: var(--text); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-2);
  cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions .btn-cta { display: none; }
}
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--bg);
  z-index: 39;
  padding: 16px var(--gutter) 32px;
  overflow-y: auto;
  display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}
.mobile-nav a .mono { color: var(--muted); font-size: 0.75rem; }

/* telemetry strip */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font: 400 0.72rem/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.ticker .wrap { display: flex; gap: 22px; align-items: center; height: 30px; overflow: hidden; white-space: nowrap; }
.ticker b { color: var(--text-2); font-weight: 500; }
.ticker .sep { color: var(--faint); }
@media (max-width: 640px) { .ticker .opt { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--text-2); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); border-color: var(--accent); color: var(--accent-ink); }
.btn-signal { border-color: color-mix(in srgb, var(--signal) 50%, transparent); color: var(--signal); background: var(--signal-soft); }
.btn-signal:hover { border-color: var(--signal); color: var(--signal); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--line); }
.btn-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: transparent; }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); }
.btn-sm { padding: 6px 10px; font-size: 0.82rem; border-radius: 6px; }
.btn-lg { padding: 13px 20px; font-size: 1rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- labels / chips / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.72rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.code-id { font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px 4px 8px;
  border-radius: 4px;
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--st);
  background: color-mix(in srgb, var(--st) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--st) 35%, transparent);
  white-space: nowrap;
}
.status .led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--st) 60%, transparent), 0 0 8px var(--st);
}
.status.live .led { animation: pulse 2s infinite; }
.status.st-ARCHIVED .led { box-shadow: none; background: transparent; border: 1.5px solid var(--st); }
.status.st-IDEA .led { border-radius: 1px; transform: rotate(45deg); }
.status.st-RELEASED .led { border-radius: 2px; }
.status-lg { font-size: 0.78rem; padding: 6px 12px 6px 10px; }
.status-lg .led { width: 9px; height: 9px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--st) 55%, transparent), 0 0 8px var(--st); }
  70% { box-shadow: 0 0 0 7px transparent, 0 0 8px var(--st); }
  100% { box-shadow: 0 0 0 0 transparent, 0 0 8px var(--st); }
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font: 400 0.75rem/1.2 var(--font-mono);
  color: var(--text-2);
  white-space: nowrap;
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip-cat { border-color: color-mix(in srgb, var(--signal) 35%, transparent); color: var(--signal); background: var(--signal-soft); }

/* ---------- cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
a.card:hover, .card.linked:hover { border-color: var(--line-2); transform: translateY(-2px); color: inherit; }
a.card:hover .card-title { color: var(--accent); }
.card-media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .art { width: 100%; height: 100%; }
.card-media .status { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(6px); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.card-media .code-id { position: absolute; top: 14px; right: 14px; color: var(--text-2); background: color-mix(in srgb, var(--bg) 70%, transparent); padding: 4px 6px; border-radius: 4px; }
.card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; margin: 0; transition: color 0.15s; }
.card-text { color: var(--text-2); font-size: 0.92rem; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 8px; align-items: center; font: 400 0.72rem/1.3 var(--font-mono); color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

/* note + idea cards (text-first) */
.note-card { padding: 20px; gap: 10px; }
.note-card .card-title { font-size: 1.02rem; }
.idea-card { padding: 20px; gap: 12px; border-style: dashed; }
.idea-card .concept { font-size: 1rem; color: var(--text); line-height: 1.5; margin: 0; }

/* ---------- section headings ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.link-arrow { font: 500 0.85rem/1 var(--font-mono); color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 18px; }
.hero h1 .dim { color: var(--muted); }
.hero .tagline { font: 500 clamp(0.95rem, 1.8vw, 1.15rem)/1.4 var(--font-mono); color: var(--accent); letter-spacing: 0.02em; margin-bottom: 22px; }
.hero .tagline span { color: var(--faint); margin: 0 0.4em; }
.hero .lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); max-width: 54ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-diagram {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: 14px;
  box-shadow: var(--shadow);
}
.hero-diagram .diag-head { display: flex; justify-content: space-between; font: 400 0.7rem/1 var(--font-mono); color: var(--muted); padding: 4px 4px 12px; letter-spacing: 0.08em; }
.hero-diagram svg { width: 100%; height: auto; }

/* hero diagram drawing */
.dg-box { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.2; }
.dg-box-hot { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.2; }
.dg-box-sig { fill: var(--signal-soft); stroke: var(--signal); stroke-width: 1.2; }
.dg-label { fill: var(--text); font: 500 11px var(--font-mono); letter-spacing: 0.04em; }
.dg-sub { fill: var(--muted); font: 400 9px var(--font-mono); letter-spacing: 0.06em; }
.dg-wire { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.dg-flow { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 10; animation: dash 1.6s linear infinite; }
.dg-flow-sig { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-dasharray: 4 10; animation: dash 2.2s linear infinite; }
.dg-wave { fill: none; stroke: var(--signal); stroke-width: 1.4; opacity: 0.8; }
.dg-led { fill: var(--ok); animation: blink 2.4s infinite; }
.dg-led-a { fill: var(--accent); animation: blink 1.3s infinite; }
.dg-grid { stroke: var(--grid-strong); stroke-width: 1; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes blink { 0%, 60%, 100% { opacity: 1; } 70%, 90% { opacity: 0.25; } }

/* ---------- lab tiles ---------- */
.lab-tile { padding: 24px; gap: 14px; min-height: 230px; }
.lab-tile .lab-ix { font: 500 0.7rem/1 var(--font-mono); color: var(--muted); letter-spacing: 0.14em; }
.lab-tile .lab-icon { width: 44px; height: 44px; color: var(--accent); }
.lab-tile h3 { margin: 0; }
.lab-tile p { color: var(--text-2); font-size: 0.92rem; margin: 0; }
.lab-tile .count { margin-top: auto; font: 500 0.75rem/1 var(--font-mono); color: var(--signal); }

/* ---------- bench ---------- */
.bench { display: grid; gap: 14px; }
.bench-item {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.bench-item:hover { border-color: var(--line-2); color: inherit; }
.bench-item:hover h3 { color: var(--accent); }
.bench-item .thumb { aspect-ratio: 16/10; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.bench-item .thumb img, .bench-item .thumb .art { width: 100%; height: 100%; object-fit: cover; }
.bench-item h3 { margin: 0 0 4px; font-size: 1.05rem; transition: color 0.15s; }
.bench-item p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.bench-item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 700px) {
  .bench-item { grid-template-columns: 88px 1fr; }
  .bench-item .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.readout {
  font: 400 0.72rem/1.4 var(--font-mono);
  color: var(--muted);
}
.readout b { color: var(--text-2); font-weight: 500; }

/* ---------- filters / search ---------- */
.toolbar { display: grid; gap: 14px; margin-bottom: 28px; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-box input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
}
.search-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filter-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filter-row .label { font: 500 0.68rem/1 var(--font-mono); letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-right: 6px; min-width: 64px; }
.fchip {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font: 400 0.78rem/1.2 var(--font-mono);
  cursor: pointer;
}
.fchip:hover { border-color: var(--line-2); color: var(--text); }
.fchip[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.fchip.status-chip[aria-pressed='true'] { background: color-mix(in srgb, var(--st) 18%, transparent); border-color: var(--st); color: var(--st); }
.result-count { font: 400 0.8rem/1 var(--font-mono); color: var(--muted); }
.empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty .mono { color: var(--faint); display: block; margin-bottom: 8px; }

/* ---------- page header ---------- */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 12px; }
.page-head .lede { color: var(--text-2); font-size: 1.1rem; max-width: 65ch; margin: 0; }
.crumbs { font: 400 0.75rem/1 var(--font-mono); color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }

/* ---------- detail pages ---------- */
.detail-hero { padding: clamp(32px, 6vw, 64px) 0 0; }
.detail-hero .meta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.detail-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.detail-hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-2); max-width: 70ch; }
.hero-media {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--bg-2);
}
.hero-media img, .hero-media .art { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .hero-media { aspect-ratio: 16 / 10; } }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); padding-top: 48px; padding-bottom: 80px; }
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } .detail-aside { order: -1; } }
.detail-aside { display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
@media (min-width: 981px) { .detail-aside .sticky { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; } }
.aside-card h4 { font: 500 0.68rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.86rem; margin: 0; }
.kv dt { color: var(--muted); font-family: var(--font-mono); font-size: 0.75rem; padding-top: 2px; }
.kv dd { margin: 0; color: var(--text); word-break: break-word; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.link-list a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; font-size: 0.88rem; color: var(--text-2); border: 1px solid transparent; }
.link-list a:hover { background: var(--panel-2); border-color: var(--line); color: var(--accent); }
.link-list svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.toc { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 10px; border-left: 2px solid var(--line); color: var(--muted); }
.toc a:hover { color: var(--text); border-color: var(--accent); }

.doc-section { padding: 28px 0; border-top: 1px solid var(--line); }
.doc-section:first-child { border-top: 0; padding-top: 0; }
.doc-section > h2 { font-size: 1.35rem; display: flex; align-items: baseline; gap: 12px; }
.doc-section > h2 .ix { font: 500 0.72rem/1 var(--font-mono); color: var(--accent); letter-spacing: 0.1em; }

/* ---------- prose (rendered markdown) ---------- */
.prose { color: var(--text-2); font-size: 1rem; line-height: 1.72; max-width: 76ch; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin: 1.6em 0 0.6em; }
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.12rem; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose .table-wrap { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--signal); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--signal) 40%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--signal); }
.prose strong { color: var(--text); font-weight: 600; }
.prose img { border-radius: 8px; border: 1px solid var(--line); margin: 1.2em 0; background: var(--bg-2); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 10px 16px; background: var(--accent-soft); border-radius: 0 6px 6px 0; color: var(--text); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose :not(pre) > code { background: var(--panel-3); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; font-size: 0.86em; color: var(--text); }
.prose pre {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.6;
}
.prose pre code { background: none; padding: 0; color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.prose th, .prose td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font: 500 0.72rem/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--panel-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose td[align='right'], .prose th[align='right'] { text-align: right; font-family: var(--font-mono); }
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  font: 500 0.68rem/1 var(--font-mono);
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}
.prose pre:hover .copy-btn, .copy-btn:focus { opacity: 1; }
.md-fallback { white-space: pre-wrap; }

/* highlight.js tokens mapped to theme */
.hljs-keyword, .hljs-selector-tag, .hljs-built_in { color: #ff9f6b; }
.hljs-string, .hljs-attr { color: #9be15d; }
.hljs-number, .hljs-literal { color: #6cd3ff; }
.hljs-comment { color: var(--muted); font-style: italic; }
.hljs-title, .hljs-function .hljs-title, .hljs-title.function_ { color: #ffcc4d; }
.hljs-meta, .hljs-type { color: #b39dff; }
:root[data-theme='light'] .hljs-keyword { color: #b3470a; }
:root[data-theme='light'] .hljs-string, :root[data-theme='light'] .hljs-attr { color: #3a7a0a; }
:root[data-theme='light'] .hljs-number { color: #0a6c94; }
:root[data-theme='light'] .hljs-title { color: #8a6200; }

/* ---------- gallery / media ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; aspect-ratio: 16/10; background: var(--bg-2); }
.gallery button:focus-visible { outline: 2px solid var(--signal); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { padding: 10px 12px; font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.gallery figcaption .mono { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.video-frame { aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 6, 8, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox img { max-height: 86vh; max-width: min(1400px, 100%); border-radius: 8px; background: var(--bg-2); }
.lightbox p { color: #c9ced6; font-size: 0.9rem; margin-top: 12px; text-align: center; }

/* ---------- dev log (lab notebook) ---------- */
.logbook { position: relative; padding-left: 28px; }
.logbook::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--accent), var(--line) 30%); }
.log-entry { position: relative; padding: 0 0 26px; }
.log-entry::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.log-entry:not(:first-child)::before { border-color: var(--line-2); }
.log-entry time { font: 500 0.75rem/1 var(--font-mono); color: var(--accent); letter-spacing: 0.06em; }
.log-entry:not(:first-child) time { color: var(--muted); }
.log-entry h3 { font-size: 1.02rem; margin: 8px 0 6px; }
.log-entry .prose { font-size: 0.94rem; }

/* ---------- product ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.feature-list li { display: flex; gap: 10px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-size: 0.92rem; color: var(--text-2); }
.feature-list li::before { content: '▸'; color: var(--accent); font-family: var(--font-mono); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 34%; font: 500 0.75rem/1.4 var(--font-mono); color: var(--muted); background: var(--panel-2); letter-spacing: 0.04em; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.version-tag { font: 600 0.8rem/1 var(--font-mono); padding: 5px 9px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--text); background: var(--panel-2); }
.kind-tag { font: 500 0.68rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }

/* ---------- lab status page ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.stat {
  padding: 18px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.stat .label { font: 500 0.66rem/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat .value { font: 500 2.4rem/1 var(--font-mono); letter-spacing: -0.04em; margin-top: 14px; color: var(--text); }
.stat .delta { font: 400 0.72rem/1 var(--font-mono); color: var(--signal); margin-top: 8px; }
.stat::after { content: ''; position: absolute; right: 14px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stat.amber::after { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.stat.cyan::after { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 34px; gap: 12px; align-items: center; font: 400 0.8rem/1 var(--font-mono); }
.bar-row a { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row a:hover { color: var(--accent); }
.bar-track { height: 8px; border-radius: 2px; background: var(--panel-3); overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--signal), var(--accent)); border-radius: 2px; }
.bar-row .n { text-align: right; color: var(--muted); }
.status-dist { display: flex; height: 12px; border-radius: 3px; overflow: hidden; gap: 2px; margin: 8px 0 14px; }
.status-dist span { background: var(--st); min-width: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 400 0.75rem/1 var(--font-mono); color: var(--muted); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--st); display: inline-block; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h3 { font: 500 0.7rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; display: flex; justify-content: space-between; }
.feed { list-style: none; padding: 0; margin: 0; }
.feed li { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.88rem; }
.feed li:last-child { border-bottom: 0; }
.feed time { font: 400 0.72rem/1.6 var(--font-mono); color: var(--muted); }
.feed a { color: var(--text); }
.feed a:hover { color: var(--accent); }
.feed .sub { display: block; color: var(--muted); font-size: 0.8rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font: 500 0.75rem/1.2 var(--font-mono); letter-spacing: 0.06em; color: var(--text-2); }
.field .hint { font-size: 0.78rem; color: var(--muted); }
.field input[type='text'], .field input[type='email'], .field input[type='password'], .field input[type='url'], .field input[type='date'], .field input[type='number'], .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .err { color: var(--danger); font-size: 0.8rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-2); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.callout {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: var(--accent-soft);
  font-size: 0.9rem;
  color: var(--text-2);
}
.callout svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.callout strong { color: var(--text); }
.callout.signal { border-color: color-mix(in srgb, var(--signal) 40%, transparent); background: var(--signal-soft); }
.callout.signal svg { color: var(--signal); }
.callout.danger { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 9%, transparent); }
.callout.danger svg { color: var(--danger); }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 32px); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.option-grid label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 0.9rem; background: var(--bg-2); }
.option-grid input { accent-color: var(--accent); }
.option-grid label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }

/* ---------- misc pages ---------- */
.prose-page { max-width: 760px; }
.principles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.principle { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.principle .n { font: 500 0.72rem/1 var(--font-mono); color: var(--accent); letter-spacing: 0.1em; }
.principle h3 { margin: 12px 0 8px; font-size: 1.02rem; }
.principle p { margin: 0; color: var(--text-2); font-size: 0.92rem; }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.process div { padding: 22px; border-right: 1px solid var(--line); background: var(--panel); }
.process div:last-child { border-right: 0; }
@media (max-width: 860px) { .process div { border-right: 0; border-bottom: 1px solid var(--line); } .process div:last-child { border-bottom: 0; } }
.process b { display: block; font: 500 0.7rem/1 var(--font-mono); letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; }
.process h3 { margin: 0 0 6px; font-size: 1.05rem; }
.process p { margin: 0; font-size: 0.88rem; color: var(--text-2); }
.search-results { display: grid; gap: 10px; }
.search-hit { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.search-hit:hover { border-color: var(--line-2); color: inherit; }
.search-hit:hover h3 { color: var(--accent); }
.search-hit .type { font: 500 0.66rem/1.6 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.search-hit h3 { margin: 0 0 4px; font-size: 1rem; }
.search-hit p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.search-hit mark { background: var(--accent-soft); color: var(--accent); border-radius: 2px; padding: 0 1px; }
@media (max-width: 600px) { .search-hit { grid-template-columns: 1fr; gap: 6px; } }
.tech-index { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-index a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font: 400 0.85rem/1 var(--font-mono); }
.tech-index a:hover { border-color: var(--accent); }
.tech-index .n { color: var(--muted); font-size: 0.72rem; }
.not-found { padding: 120px 0; text-align: center; }
.not-found .code { font: 500 clamp(4rem, 14vw, 9rem)/1 var(--font-mono); color: var(--faint); letter-spacing: -0.05em; }
.loading { padding: 120px 0; display: grid; place-items: center; gap: 14px; font: 400 0.78rem/1 var(--font-mono); color: var(--muted); letter-spacing: 0.1em; }
.loading .scan { width: 160px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.loading .scan::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: scan 1s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 32px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font: 500 0.68rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.site-footer ul a { color: var(--text-2); }
.site-footer ul a:hover { color: var(--accent); }
.site-footer .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 0.75rem/1.5 var(--font-mono); color: var(--muted); }

/* ---------- toasts ---------- */
#toasts { position: fixed; bottom: 20px; right: 20px; z-index: 90; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 40px)); }
.toast { padding: 12px 16px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 0.9rem; animation: toast-in 0.2s ease-out; transition: opacity 0.4s, transform 0.4s; }
.toast-ok { border-left: 3px solid var(--ok); }
.toast-error { border-left: 3px solid var(--danger); }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- procedural art ---------- */
.art-bg { fill: var(--bg-2); }
.art-grid path { stroke: var(--grid-strong); stroke-width: 1; fill: none; }
.art-label text { fill: var(--muted); font: 500 11px var(--font-mono); letter-spacing: 0.12em; }
.art-corners path { stroke: var(--faint); stroke-width: 1.5; fill: none; }
.art-trace { stroke: var(--line-2); stroke-width: 2; fill: none; stroke-linejoin: round; }
.art-trace2 { stroke: var(--signal); stroke-width: 1.4; fill: none; opacity: 0.7; }
.art-hot { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linejoin: round; }
.art-glow { filter: drop-shadow(0 0 4px var(--accent)); }
.art-via { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 2; }
.art-pad { fill: var(--faint); }
.art-part { fill: var(--panel-3); stroke: var(--line-2); stroke-width: 1; }
.art-chip { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.5; }
.art-pin1 { fill: var(--accent); }
.art-chiptext { fill: var(--muted); font: 600 14px var(--font-mono); letter-spacing: 0.2em; }
.art-small { fill: var(--text-2); font: 500 11px var(--font-mono); }
.art-fill { fill: var(--accent-soft); }
.art-wf { fill: var(--signal); }
.art-cursor { stroke: var(--signal); stroke-width: 1; stroke-dasharray: 3 4; }
.art-axis { stroke: var(--line-2); stroke-width: 1; }
.art-node { fill: var(--panel-3); stroke: var(--signal); stroke-width: 1.5; }
.art-node-alert { fill: var(--accent); stroke: var(--accent); stroke-width: 1.5; }
.art-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0.5; }
.art-barfill { fill: var(--accent); }
.art-flow { stroke-dasharray: 5 7; animation: dash 2s linear infinite; }
.art-term { fill: var(--text-2); font: 400 13px var(--font-mono); }
.art-term-cmd { fill: var(--signal); font: 500 13px var(--font-mono); }
.art-term-warn { fill: var(--accent); font: 500 13px var(--font-mono); }
.art-caret { fill: var(--accent); animation: blink 1.1s steps(1) infinite; }
.art-dot-r { fill: #ff6b6b; }
.art-dot-y { fill: #ffcc4d; }
.art-dot-g { fill: #3ddc97; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s 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; }
}

/* CTA band (home) */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
