/* ================================================================
   TUNMISE OTEGBAYO — PORTFOLIO
   Engineering-drawing aesthetic. Light mode.
   ================================================================ */

:root {
  --paper: oklch(97.5% 0.008 85);
  --paper-2: oklch(95.5% 0.012 85);
  --ink: oklch(22% 0.015 260);
  --ink-2: oklch(38% 0.012 260);
  --ink-3: oklch(55% 0.010 260);
  --rule: oklch(78% 0.010 260);
  --rule-soft: oklch(88% 0.008 260);
  --accent: oklch(68% 0.16 60);          /* warm amber default */
  --accent-ink: oklch(42% 0.14 55);
  --accent-wash: oklch(93% 0.06 75);
  --accent-2: oklch(64% 0.12 200);       /* secondary — cool teal */
  --accent-2-ink: oklch(42% 0.11 210);
  --accent-2-wash: oklch(93% 0.04 200);
  --accent-3: oklch(62% 0.18 350);       /* tertiary — hot pink for small highlights */
  --accent-3-ink: oklch(42% 0.15 350);
  --danger: oklch(58% 0.20 25);

  --grid: 28px;
  --grid-minor: 7px;

  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  --shadow-1: 0 1px 0 oklch(0% 0 0 / 0.04), 0 0 0 1px oklch(0% 0 0 / 0.04);
  --shadow-2: 0 2px 0 oklch(0% 0 0 / 0.06), 0 0 0 1px oklch(0% 0 0 / 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Blueprint-grid background on the body */
body {
  background-image:
    linear-gradient(to right, oklch(22% 0.015 260 / 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(22% 0.015 260 / 0.045) 1px, transparent 1px),
    linear-gradient(to right, oklch(22% 0.015 260 / 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(22% 0.015 260 / 0.02) 1px, transparent 1px);
  background-size:
    var(--grid) var(--grid),
    var(--grid) var(--grid),
    var(--grid-minor) var(--grid-minor),
    var(--grid-minor) var(--grid-minor);
  min-height: 100vh;
  cursor: none;
}

body.no-cursor { cursor: none; }
body.motion-off *, body.motion-off *::before, body.motion-off *::after {
  animation: none !important;
  transition: none !important;
}

/* ---------- Crosshair cursor ---------- */
.cursor {
  position: fixed;
  pointer-events: none;
  left: 0; top: 0;
  width: 36px; height: 36px;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: multiply;
}
.cursor::before, .cursor::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.cursor::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.cursor::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.cursor .dot {
  position: absolute;
  inset: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: scale(0.3);
  transition: transform 120ms ease, border-color 120ms ease;
}
.cursor.hot .dot {
  transform: scale(0.6);
  border-color: var(--accent-ink);
  background: var(--accent);
}
.cursor .coord {
  position: absolute;
  left: 24px; top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* ---------- Global chrome ---------- */
.page {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 40px 120px;
}

/* Corner registration marks like a technical drawing border */
.page::before, .page::after,
.frame-mark {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--ink-3);
  pointer-events: none;
}
.page::before { content: ''; left: 20px; top: 14px; border-right: none; border-bottom: none; }
.page::after  { content: ''; right: 20px; top: 14px; border-left: none; border-bottom: none; }
.frame-mark.bl { left: 20px; bottom: 14px; border-right: none; border-top: none; }
.frame-mark.br { right: 20px; bottom: 14px; border-left: none; border-top: none; }

/* ---------- Title bar ---------- */
.titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.titlebar .left { display: flex; gap: 18px; align-items: center; }
.titlebar .center { text-align: center; }
.titlebar .right { text-align: right; display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.titlebar .dot-live {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px oklch(from var(--accent-2) l c h / 0.25);
  animation: pulse 1.8s ease-in-out infinite;
}
.titlebar .left span:first-child { color: var(--accent-ink); font-weight: 500; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px oklch(from var(--accent) l c h / 0.25); }
  50%      { box-shadow: 0 0 0 6px oklch(from var(--accent) l c h / 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 48px;
  display: block;
  border-bottom: 1px solid var(--rule-soft);
}
.hero > div { max-width: 900px; }

.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero .eyebrow::before {
  content: '';
  width: 28px; height: 1px; background: var(--ink-3);
}

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero h1 .sub {
  display: block;
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin-top: 18px;
  line-height: 1.3;
  max-width: 28ch;
}
.hero h1 em {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.9em;
  color: var(--accent-ink);
  background: var(--accent-wash);
  padding: 0 0.15em;
  box-shadow: 3px 3px 0 var(--accent-2-wash);
}

.hero .meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero .meta span b {
  color: var(--ink);
  font-weight: 500;
  display: block;
  font-size: 13px;
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
}

/* Schematic panel on the right */
.schem {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
}
.schem svg { width: 100%; height: 100%; display: block; }
.schem .corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 8px;
}
.schem .corner.tl { top: 0; left: 0; }
.schem .corner.tr { top: 0; right: 0; }
.schem .corner.bl { bottom: 0; left: 0; }
.schem .corner.br { bottom: 0; right: 0; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); background: var(--paper); }

.trace { stroke: var(--ink-2); stroke-width: 1.2; fill: none; }
.trace.accent { stroke: var(--accent-ink); }
.pad { fill: var(--paper); stroke: var(--ink-2); stroke-width: 1; }
.pad.accent { stroke: var(--accent-ink); fill: var(--accent-wash); }
.label { font-family: var(--font-mono); font-size: 7px; fill: var(--ink-3); letter-spacing: 0.1em; }

@keyframes draw {
  from { stroke-dashoffset: var(--len, 800); }
  to   { stroke-dashoffset: 0; }
}
.schem .animate {
  stroke-dasharray: var(--len, 800);
  stroke-dashoffset: var(--len, 800);
  animation: draw 2.4s cubic-bezier(.7,0,.3,1) forwards;
}
.schem .blink { animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 48px 0 20px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 28px;
}
.section-head .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section-head .idx {
  color: var(--accent-2-ink);
}
.section-head .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: auto;
  letter-spacing: 0.08em;
}

/* ---------- Filter tabs ---------- */
.filters {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
}
.filters button {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-2);
  padding: 7px 12px;
  cursor: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: all 120ms;
}
.filters button:hover { border-color: var(--ink-2); color: var(--ink); }
.filters button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--accent-2-wash);
}
.filters .count-tag {
  margin-left: 6px;
  color: var(--ink-3);
  font-size: 10px;
}
.filters button.active .count-tag { color: oklch(from var(--paper) l c h / 0.6); }

/* ---------- Project grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

body.compact { --card-pad: 18px; }
body:not(.compact) { --card-pad: 26px; }

.card {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 0;
  overflow: hidden;
  cursor: none;
  transition: border-color 160ms, transform 160ms;
}
.card:hover { border-color: var(--ink-2); }
.card.featured { grid-column: span 8; }
.card.half { grid-column: span 6; }
.card.third { grid-column: span 4; }

.card-visual {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--paper-2);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.card.third .card-visual { aspect-ratio: 4/3; }

.card-visual svg { width: 100%; height: 100%; display: block; }

.card-body {
  padding: var(--card-pad);
  display: grid;
  gap: 10px;
}
.card-body .row1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-body .row1 span:last-child {
  color: var(--accent-ink);
  font-weight: 500;
}
.card-body .row1 span:last-child::before {
  content: '● ';
  color: var(--accent);
}
.card-body h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.card-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  max-width: 50ch;
}
.card-body .specs {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.card-body .specs b {
  color: var(--ink);
  font-weight: 500;
}
.card-body .specs span:nth-child(2) b { color: var(--accent-2-ink); }
.card-body .specs span:nth-child(4) b { color: var(--accent-ink); }

/* Card corner crop marks */
.card-visual::before, .card-visual::after,
.card-visual .cm3, .card-visual .cm4 {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--ink-3);
  pointer-events: none;
  z-index: 2;
}
.card-visual::before { left: 6px; top: 6px; border-right: none; border-bottom: none; }
.card-visual::after  { right: 6px; top: 6px; border-left: none; border-bottom: none; }
.card-visual .cm3    { left: 6px; bottom: 6px; border-right: none; border-top: none; }
.card-visual .cm4    { right: 6px; bottom: 6px; border-left: none; border-top: none; }

.card .tag {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent-2-ink);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  background: var(--accent-2-wash);
  padding: 3px 8px;
  border: 1px solid oklch(from var(--accent-2) l c h / 0.3);
}

/* ---------- Lamp card (special) ---------- */
.lamp-card .card-visual {
  background: var(--paper-2);
  transition: background 400ms;
}
.lamp-card.on .card-visual {
  background: radial-gradient(ellipse at 50% 60%, oklch(from var(--accent) 92% 0.12 h), var(--paper-2) 70%);
}
.lamp-bulb { transition: fill 300ms, filter 300ms; }
.lamp-card.on .lamp-bulb {
  fill: var(--accent);
  filter: drop-shadow(0 0 18px oklch(from var(--accent) l c h / 0.8))
          drop-shadow(0 0 40px oklch(from var(--accent) l c h / 0.5));
}
.lamp-card.on .lamp-ray { opacity: 0.8; animation: rayflick 0.18s steps(2) infinite alternate; }
.lamp-ray { opacity: 0; transition: opacity 200ms; }
@keyframes rayflick { to { opacity: 0.55; } }

.lamp-toggle {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 6px 10px 6px 8px;
  cursor: none;
}
.lamp-toggle .switch {
  width: 26px; height: 14px;
  background: var(--rule);
  border-radius: 8px;
  position: relative;
  transition: background 200ms;
}
.lamp-toggle .switch::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 10px; height: 10px;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 1px 0 oklch(0% 0 0 / 0.15);
  transition: transform 200ms;
}
.lamp-card.on .lamp-toggle .switch { background: var(--accent); }
.lamp-card.on .lamp-toggle .switch::after { transform: translateX(12px); }

/* ---------- Manifesto strip ---------- */
.manifesto {
  margin-top: 64px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  position: relative;
}
.manifesto::before {
  content: '// NOTE';
  position: absolute;
  top: -9px; left: 24px;
  background: var(--paper);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.15em;
}
.manifesto .ml {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.manifesto .mr {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
}
.manifesto .mr em {
  font-style: normal;
  background: var(--accent-wash);
  padding: 0 0.15em;
  color: var(--accent-ink);
}
.manifesto .mr em:nth-of-type(2) { background: var(--accent-2-wash); color: var(--accent-2-ink); }
.manifesto .mr em:nth-of-type(3) { background: oklch(from var(--accent-3) 93% 0.05 h); color: var(--accent-3-ink); }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 10px 0;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.ticker .track { display: flex; gap: 48px; white-space: nowrap; animation: scroll 50s linear infinite; width: max-content; }
.ticker .track span::before { content: '◆'; color: var(--accent-ink); margin-right: 10px; }
.ticker .track span:nth-child(3n)::before { color: var(--accent-2-ink); }
.ticker .track span:nth-child(3n+1)::before { color: var(--accent-3-ink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
footer.foot {
  margin-top: 80px;
  padding: 32px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.foot .col b {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  text-transform: none;
  letter-spacing: -0.01em;
}
.foot a {
  color: var(--ink-2);
  text-decoration: none;
  display: block;
  padding: 3px 0;
}
.foot a:hover { color: var(--accent-ink); }

/* ---------- Drawer ---------- */
.drawer-mask {
  position: fixed;
  inset: 0;
  background: oklch(22% 0.015 260 / 0.4);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}
.drawer-mask.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(720px, 92vw);
  background: var(--paper);
  border-left: 1px solid var(--ink);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(.7,0,.2,1);
  overflow-y: auto;
  box-shadow: -20px 0 40px oklch(0% 0 0 / 0.08);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  position: sticky; top: 0;
  padding: 18px 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  z-index: 2;
}
.drawer-head .close {
  border: 1px solid var(--rule);
  background: transparent;
  padding: 6px 12px;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: none;
  color: var(--ink-2);
}
.drawer-head .close:hover { border-color: var(--ink); color: var(--ink); }

.drawer-body { padding: 32px; }
.drawer-body .huge-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.drawer-body h1 {
  margin: 0 0 24px;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.drawer-body h1 .lead {
  display: block;
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 400;
  margin-top: 12px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.drawer-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin: 24px 0 32px;
}
.drawer-specs .spec {
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.drawer-specs .spec:last-child { border-right: none; }
.drawer-specs .spec b {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: -0.01em;
  text-transform: none;
}

.drawer-body .hero-visual {
  aspect-ratio: 16/9;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.drawer-body .body-copy { max-width: 62ch; }
.drawer-body .body-copy p { color: var(--ink-2); line-height: 1.65; margin: 0 0 14px; }
.drawer-body h4 {
  margin: 28px 0 12px;
  font-size: 14px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2-ink);
  font-weight: 500;
}
.drawer-body ul { padding-left: 18px; margin: 0 0 20px; color: var(--ink-2); }
.drawer-body ul li { margin-bottom: 6px; }
.drawer-body ul li::marker { color: var(--accent-ink); }

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px 18px;
  z-index: 300;
  display: none;
  width: 240px;
  box-shadow: 6px 6px 0 var(--accent-2);
  font-family: var(--font-mono);
  font-size: 11px;
}
.tweaks.on { display: block; }
.tweaks h5 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
}
.tweaks h5 b { color: var(--ink); }
.tweaks .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px dashed var(--rule);
  text-transform: uppercase;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  font-size: 10px;
}
.tweaks .swatches { display: flex; gap: 6px; }
.tweaks .sw {
  width: 18px; height: 18px;
  border: 1px solid var(--rule);
  cursor: none;
}
.tweaks .sw.active { outline: 2px solid var(--ink); outline-offset: 1px; }
.tweaks .opts { display: flex; gap: 4px; }
.tweaks .opts button {
  border: 1px solid var(--rule);
  background: transparent;
  padding: 3px 8px;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: none;
  color: var(--ink-2);
  font-size: 9px;
}
.tweaks .opts button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .card.featured, .card.half, .card.third { grid-column: span 12; }
  .manifesto { grid-template-columns: 1fr; }
  .drawer-specs { grid-template-columns: repeat(2, 1fr); }
  .drawer-specs .spec:nth-child(2) { border-right: none; }
  .drawer-specs .spec:nth-child(1), .drawer-specs .spec:nth-child(2) { border-bottom: 1px solid var(--rule); }
  footer.foot { grid-template-columns: 1fr; gap: 24px; }
  .page { padding: 20px 22px 80px; }
}
