/* Kdot's Custom PC Desks: design tokens (design-from-web v1, Nov 28 2026)
   Dark theme is the default. Fonts: Barlow Condensed, Inter, JetBrains Mono (all SIL OFL, Google Fonts).
   <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap" rel="stylesheet"> */
:root {
  color-scheme: dark;

  /* ---------- Raw palette ---------- */
  /* Black steel / gunmetal */
  --steel-950: #0B0C0E;   /* page background */
  --steel-900: #131519;   /* section / card surface */
  --steel-800: #1B1E23;   /* raised surface, inputs */
  --steel-700: #2A2F36;   /* hairline borders, dividers */
  --steel-500: #6A727D;   /* form-control borders, icons (>=3:1 on all surfaces) */
  /* Walnut */
  --walnut-900: #24170E;  /* deep wood panel bg */
  --walnut-700: #4E3220;  /* wood chip / selected tint */
  --walnut-500: #7A4F31;  /* decorative grain, never text */
  --walnut-300: #C99366;  /* accent text, eyebrow labels */
  --oil-400:    #E0A86E;  /* primary CTA: oiled-walnut highlight */
  --oil-300:    #ECB985;  /* CTA hover */
  --on-oil:     #160E07;  /* text on CTA */
  /* Bone / ash text */
  --bone: #F3EFE8;        /* primary text */
  --ash:  #ABA59C;        /* secondary text */
  --ash-dim: #8E8981;     /* captions, meta (AA on every surface) */
  /* Restrained RGB glows: accents only, never large fills */
  --glow-cyan:  #4FD8E0;  /* focus ring, live indicators, links-on-hover */
  --glow-magenta: #FF5FA2;
  --glow-lime:  #9BFF6B;
  --rgb-strip: linear-gradient(90deg, #FF5FA2 0%, #FFB45C 25%, #9BFF6B 50%, #4FD8E0 75%, #7E8CFF 100%);
  --success: #6FD08C;
  --danger:  #FF7A6B;

  /* ---------- Semantic roles ---------- */
  --color-bg: var(--steel-950);
  --color-surface: var(--steel-900);
  --color-surface-raised: var(--steel-800);
  --color-wood: var(--walnut-900);
  --color-border: var(--steel-700);
  --color-border-strong: var(--steel-500);
  --color-text: var(--bone);
  --color-text-muted: var(--ash);
  --color-text-subtle: var(--ash-dim);
  --color-accent: var(--oil-400);
  --color-accent-hover: var(--oil-300);
  --color-on-accent: var(--on-oil);
  --color-accent-text: var(--walnut-300);
  --color-glow: var(--glow-cyan);
  --color-focus: var(--glow-cyan);

  /* ---------- Type ---------- */
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* Fluid scale (mobile 390 -> desktop 1440) */
  --fs-xs: 0.8125rem;                                  /* 13 */
  --fs-sm: 0.9375rem;                                  /* 15 */
  --fs-base: 1.0625rem;                                /* 17 */
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-xl: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --fs-2xl: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --fs-3xl: clamp(2.75rem, 2rem + 3.6vw, 5rem);
  --fs-hero: clamp(3.25rem, 2.2rem + 5.2vw, 7rem);
  --lh-tight: 0.95; --lh-snug: 1.2; --lh-body: 1.6;
  --tracking-display: 0.005em; --tracking-label: 0.14em;

  /* ---------- Space (4px base) ---------- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;
  --section-pad: clamp(64px, 6vw + 32px, 128px);
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1240px;
  --container-narrow: 760px;

  /* ---------- Radius ---------- */
  --radius-xs: 4px;   /* badges, chips */
  --radius-sm: 8px;   /* inputs, buttons */
  --radius-md: 12px;  /* cards */
  --radius-lg: 20px;  /* hero media, configurator panel */
  --radius-pill: 999px;

  /* ---------- Shadow / glow ---------- */
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.5);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 24px rgba(0,0,0,0.45);
  --shadow-3: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 64px rgba(0,0,0,0.6);
  --glow-soft: 0 0 0 1px rgba(79,216,224,0.35), 0 0 24px rgba(79,216,224,0.18);
  --glow-warm: 0 10px 30px rgba(224,168,110,0.22);
  --focus-ring: 0 0 0 2px var(--steel-950), 0 0 0 4px var(--glow-cyan);

  /* ---------- Motion ---------- */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur-fast: 120ms; --dur: 220ms; --dur-slow: 420ms;

  /* ---------- Aliases for common/coding-bot names (see README mapping) ---------- */
  --bg: var(--color-bg);
  --bg-2: var(--color-surface);
  --surface: var(--color-surface);
  --surface-2: var(--color-surface-raised);
  --card: var(--color-surface);
  --panel: var(--color-surface-raised);
  --border: var(--color-border);
  --line: var(--color-border);
  --text: var(--color-text);
  --fg: var(--color-text);
  --muted: var(--color-text-muted);
  --text-muted: var(--color-text-muted);
  --accent: var(--color-accent);
  --accent-2: var(--color-glow);
  --primary: var(--color-accent);
  --primary-contrast: var(--color-on-accent);
  --on-accent: var(--color-on-accent);
  --wood: var(--walnut-500);
  --steel: var(--steel-800);
  --glow: var(--glow-cyan);
  --radius: var(--radius-md);
  --shadow: var(--shadow-2);
  --font-head: var(--font-display);
  --font-heading: var(--font-display);
  --font-sans: var(--font-body);
  --maxw: var(--container);
  /* coding bot's names found in public/*.html (Nov 28 23:41) */
  --bg-alt: var(--color-surface);
  --accent-strong: var(--oil-300);
  --accent-ink: var(--on-oil);
  --font: var(--font-body);
  --gap: var(--space-5);
  --ok: var(--success);
  --err: var(--danger);
  --warn-bg: #2A2110;
  --warn-text: #F2C76B;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; }
}

/* ===== Base site rules (coding bot) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); }
a:hover { color: var(--text); }
h1, h2, h3, .h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 2px; }
.container { width: min(100% - 2*var(--gap), var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--accent); font-weight: 600; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.3em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { padding: .45em 1em; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20,17,15,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--accent) 0 50%, #5b4130 50% 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.brand-name { font-family: var(--font-display); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: .4em 1em; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 16px var(--gap) 24px; background: var(--bg); border-bottom: 1px solid var(--line); gap: 14px; }
  .site-nav.open { display: flex; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0; background: radial-gradient(1200px 500px at 80% 0%, #2c2119 0%, transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--gap); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-caption { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: var(--text); padding: 4px 10px; border-radius: 999px; font-size: .85rem; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.page-head { padding: clamp(36px, 6vw, 72px) 0 12px; }
.split-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cat-tile { display: block; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.cat-tile:hover { border-color: var(--accent); color: var(--text); }
.cat-tile p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .cat-tiles { grid-template-columns: 1fr; } }
.options-band { text-align: center; }
.option-list { list-style: none; padding: 0; margin: 24px auto 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.option-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--muted); }
.option-list strong { display: block; color: var(--text); }
@media (max-width: 760px) { .option-list { grid-template-columns: 1fr; } }

/* Cards / grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card[hidden] { display: none; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); }
.card-media img, .product-main img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; }
.card-id { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.card-title { margin: 0 0 2px; }
.card-sub { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.card-price { margin: 10px 0 0; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .75rem; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge { position: absolute; top: 10px; left: 10px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge-soon { background: rgba(0,0,0,.65); color: var(--warn-text); border: 1px solid var(--accent); }
.ph-flag { margin-left: 8px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--warn-text); background: var(--warn-bg); padding: 2px 7px; border-radius: 999px; vertical-align: middle; }
.ph-note { background: var(--warn-bg); color: var(--warn-text); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; font-weight: 500; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 16px; }
.filter-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-group legend { float: left; margin-right: 8px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.filter-group label { cursor: pointer; }
.filter-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-group label span, .filter-group label { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; }
.filter-group label:has(input:checked) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.filter-group label:has(input:focus-visible) { outline: 3px solid var(--accent-strong); outline-offset: 2px; }
.filter-count { color: var(--muted); font-size: .9rem; }
.empty { padding: 30px; text-align: center; color: var(--muted); }

/* Product page */
.breadcrumb { padding-top: 20px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); padding-block: 20px 60px; align-items: start; }
.product-media { position: sticky; top: 84px; }
.product-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-2); }
.thumbs { display: flex; gap: 8px; margin: 10px 0; }
.thumb { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; width: 84px; background: none; cursor: pointer; }
.specs { display: grid; gap: 10px; margin: 24px 0; }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.bullets { padding-left: 1.2em; color: var(--muted); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product-media { position: static; } }

/* Configurator */
.configurator { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 20px 0; }
.opt-group { border: 0; margin: 0 0 16px; padding: 0; }
.opt-group legend { font-weight: 600; margin-bottom: 8px; }
.opt-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-choice { position: relative; }
.opt-choice input { position: absolute; opacity: 0; inset: 0; }
.opt-choice span { display: inline-block; padding: 7px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); font-size: .9rem; cursor: pointer; }
.opt-choice small { color: var(--muted); margin-left: 6px; }
.opt-choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt-choice input:checked + span small { color: var(--accent-strong); }
.opt-choice input:focus-visible + span { outline: 3px solid var(--accent-strong); outline-offset: 2px; }
.hw-box { border-left: 2px solid var(--line); padding-left: 14px; }
.price-box { border-top: 1px solid var(--line); padding-top: 14px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.price-row strong { font-size: 1.8rem; font-family: var(--font-display); }
.price-lines ul { list-style: none; padding: 0; margin: 8px 0; font-size: .9rem; color: var(--muted); }
.price-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.pay-mode { border: 0; padding: 0; margin: 12px 0; display: flex; gap: 16px; flex-wrap: wrap; }
.pay-mode legend { color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* Steps, FAQ, prose */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 14px 70px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.steps p { color: var(--muted); margin: 0; }
.callout { margin: 28px 0; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--bg-alt); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.prose p { color: var(--muted); font-size: 1.05rem; }

/* Form */
.quote-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(200,146,90,.25); }
.field [aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.config-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; color: var(--muted); }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg-alt); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-inner nav a { color: var(--muted); text-decoration: none; }
.footer-inner nav .btn { display: none; }
.footer-inner .small { grid-column: 1 / -1; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Draft pricing labels */
.draft-flag { margin-left: 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--warn-text); background: var(--warn-bg); padding: 2px 7px; border-radius: 999px; vertical-align: middle; }
.draft-note { background: var(--warn-bg); color: var(--warn-text); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; font-weight: 500; }
.product-from, .feature-price { font-size: 1.25rem; font-weight: 600; }
.lead-line { font-size: .95rem; color: var(--text); margin: 6px 0; }
.configurator .h3 { margin-bottom: 14px; }
.opt-help { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
picture { display: block; width: 100%; height: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }

/* Feature figure: composite render with HTML labels overlaid (no text baked into the image) */
.feature-figure { margin: 18px 0 0; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.feature-media picture img { object-fit: contain; height: auto; }
.feature-labels { list-style: none; margin: 0; padding: 0; }
.feature-label { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translateY(-100%); background: rgba(14,11,9,.78); border: 1px solid rgba(200,146,90,.55); border-radius: var(--radius-sm); padding: 6px 9px; font-size: .78rem; line-height: 1.3; }
.feature-label strong { display: block; color: var(--accent-strong); font-size: .82rem; }
.feature-label span { color: var(--text); }
@media (max-width: 520px) { .feature-label span { display: none; } .feature-label { padding: 4px 7px; } }

/* ===== Design kit layer (web bot, design-from-web v1): overrides the base rules above ===== */
body { background: var(--color-bg); color: var(--color-text); font: 400 var(--fs-base)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--color-accent); }
a:hover { color: var(--glow-cyan); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }
.container { width: 100%; max-width: calc(var(--container) + 2*var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, .h3 { font-family: var(--font-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--tracking-display); text-transform: uppercase; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3, .h3 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.05; }
.eyebrow { font: 600 var(--fs-xs)/1 var(--font-mono); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-accent-text); margin-bottom: var(--space-4); display: flex; align-items: center; gap: 10px; }
.lede { color: var(--color-text-muted); font-size: var(--fs-lg); max-width: 60ch; }
.muted { color: var(--color-text-muted); }
.wood-text { color: var(--oil-400); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--glow-cyan); box-shadow: 0 0 10px var(--glow-cyan); display: inline-block; flex: none; }

.btn { min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); font: 600 var(--fs-sm)/1 var(--font-body); letter-spacing: .01em; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); box-shadow: var(--glow-warm); }
.btn-primary:hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--color-text); border-color: var(--steel-500); }
.btn-ghost:hover { border-color: var(--glow-cyan); box-shadow: var(--glow-soft); color: var(--color-text); }
.btn-sm { min-height: 40px; padding: 0 16px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: var(--fs-base); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-5); }
.link-arrow { font-weight: 600; color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--walnut-500); padding-bottom: 3px; }
.link-arrow:hover { border-color: var(--glow-cyan); color: var(--color-text); }
.badge { font: 600 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: var(--radius-xs); border: 1px solid var(--steel-700); color: var(--color-text-muted); background: var(--steel-800); }

/* Header + wordmark (live text: brand name comes from data/site-config.json) */
.site-header { background: rgba(11,12,14,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--color-border); }
.header-inner { min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); }
.wordmark:hover { color: var(--bone); }
.wordmark-mono { width: 40px; height: 40px; flex: none; }
.wordmark-text { display: grid; line-height: 1; }
.wordmark-name { font: 800 24px/0.9 var(--font-display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.wordmark-tag { font: 600 9.5px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ash); margin-top: 5px; white-space: nowrap; }
@media (max-width: 420px) { .wordmark-name { font-size: 19px; } .wordmark-tag { font-size: 8px; letter-spacing: .14em; } }
.site-nav a:not(.btn) { color: var(--color-text-muted); font-size: var(--fs-sm); }
.nav-toggle { border-color: var(--steel-700); background: var(--steel-900); border-radius: var(--radius-sm); min-height: 44px; }
@media (max-width: 860px) { .site-nav { top: 68px; background: var(--steel-950); } }
.site-footer .wordmark { margin-bottom: var(--space-4); }
.rgb-rule { height: 2px; background: var(--rgb-strip); opacity: .75; box-shadow: 0 0 18px rgba(79,216,224,.35); }

/* Sections */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.section-wood { background: linear-gradient(180deg, rgba(36,23,14,.9), rgba(20,14,10,.95)), repeating-linear-gradient(92deg, rgba(201,147,102,.035) 0 2px, transparent 2px 9px); border-block: 1px solid var(--walnut-700); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-5); }
.section-head h2 { margin: 0; }

/* Render treatment: every product image is a labelled concept render */
.render { margin: 0; position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #1d2026 0%, var(--steel-950) 70%); }
.render--framed { border-radius: var(--radius-lg); border: 1px solid var(--steel-700); box-shadow: var(--shadow-3); }
.render-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; color: var(--bone); background: rgba(11,12,14,.78); border: 1px solid var(--steel-700); padding: 6px 8px; border-radius: var(--radius-xs); }
.hotspot { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(10px,-50%); font: 600 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); background: rgba(11,12,14,.82); border: 1px solid rgba(79,216,224,.5); padding: 6px 8px; border-radius: var(--radius-xs); white-space: nowrap; backdrop-filter: blur(4px); }
.hotspot::before { content: ""; position: absolute; left: -14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--glow-cyan); box-shadow: 0 0 0 3px rgba(79,216,224,.25), 0 0 10px var(--glow-cyan); }
.hotspot--left { transform: translate(calc(-100% - 10px),-50%); }
.hotspot--left::before { left: auto; right: -14px; }
@media (max-width: 719px) { .hotspot { display: none; } }

/* Split hero: copy + framed render (case box) */
.hero--split { padding: var(--space-6) 0 var(--space-7); border-bottom: 1px solid var(--color-border); background: radial-gradient(60% 70% at 85% 40%, rgba(224,168,110,.10), transparent 70%), radial-gradient(40% 50% at 70% 80%, rgba(79,216,224,.06), transparent 70%); }
.hero-grid { display: grid; gap: var(--space-6); }
.hero--split .hero-media { display: block; position: relative; aspect-ratio: 16/10; order: -1; }
.hero-title { font-size: var(--fs-hero); margin-bottom: var(--space-5); }
.hero-sub { color: var(--color-text-muted); font-size: var(--fs-lg); max-width: 46ch; }
.hero-specs { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--steel-700); border: 1px solid var(--steel-700); border-radius: var(--radius-md); overflow: hidden; }
.hero-specs li { background: rgba(19,21,25,.92); padding: 14px 16px; font-weight: 600; font-size: var(--fs-sm); }
.hero-specs span { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-subtle); margin-bottom: 6px; }
@media (max-width: 719px) { .hero-title { font-size: 3.2rem; } .hero--split .btn-row .btn { flex: 1 1 200px; } }
@media (min-width: 1024px) {
  .hero--split { padding: var(--space-8) 0; }
  .hero-grid { grid-template-columns: minmax(0,5fr) minmax(0,7fr); align-items: center; gap: var(--space-8); }
  .hero--split .hero-media { order: 0; aspect-ratio: 16/11; }
  .hero--split .hero-title { font-size: clamp(3.6rem, 5vw, 5.25rem); }
  .hero-specs { grid-template-columns: repeat(4,1fr); }
}

/* Featured desk split */
.feature-split { display: grid; gap: var(--space-6); align-items: center; }
.feature-split .feature-media { aspect-ratio: 16/10; border-radius: var(--radius-lg); }
.feature-split .feature-media picture img { object-fit: cover; height: 100%; }
@media (min-width: 1024px) { .feature-split { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: var(--space-8); } }

/* Cards */
.card { background: var(--color-surface); border-color: var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-2); }
.card:hover { border-color: var(--walnut-500); }
.card-media { background: radial-gradient(120% 90% at 50% 30%, #1d2026 0%, var(--steel-950) 70%); }
.card-id { font: 600 11px/1 var(--font-mono); letter-spacing: .12em; color: var(--color-accent-text); }
.card-title { font-size: var(--fs-xl); }
.card-price { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--bone); }

/* Options band on home */
.option-list { list-style: none; padding: 0; margin: var(--space-5) 0 var(--space-6); display: grid; gap: 1px; background: var(--steel-700); border: 1px solid var(--steel-700); border-radius: var(--radius-md); overflow: hidden; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); }
.option-list li { background: var(--steel-950); padding: 16px 18px; color: var(--color-text-muted); font-size: var(--fs-sm); }
.option-list strong { display: block; font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); margin-bottom: 8px; }

/* Configurator + price */
.configurator { background: var(--color-surface); border-color: var(--color-border); border-radius: var(--radius-lg); }
.price-row strong { font: 800 2rem/1 var(--font-display); color: var(--oil-400); }
.draft-flag, .draft-note { font-family: var(--font-mono); }
.cfg-bar { display: none; }
@media (max-width: 1023px) {
  .cfg-bar { position: sticky; bottom: 12px; z-index: 30; margin: 0 var(--gutter) 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: var(--radius-md); background: rgba(19,21,25,.94); backdrop-filter: blur(10px); border: 1px solid var(--steel-700); box-shadow: var(--shadow-3); }
  .cfg-bar .opt-label { display: block; margin: 0 0 4px; font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-subtle); }
  .cfg-bar strong { font: 800 var(--fs-lg)/1 var(--font-display); color: var(--oil-400); }
}

/* Spec-sheet product header (series + title + subtitle, render left, big dimension cards right, build-direction strip) */
.spec-sheet { padding-top: var(--space-5); }
.spec-head { margin-bottom: var(--space-6); }
.spec-title { font-size: var(--fs-hero); margin: 0 0 var(--space-3); }
.spec-sub { color: var(--color-text-muted); font-size: var(--fs-lg); max-width: 60ch; }
.spec-grid { display: grid; gap: var(--space-5); }
.spec-media { aspect-ratio: 4/3; }
.spec-media .product-main, .spec-media picture { height: 100%; }
.spec-media .product-main { border: 0; border-radius: 0; }
.spec-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); align-content: stretch; }
.spec-card { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: var(--space-5) var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent); border-radius: var(--radius-md); box-shadow: var(--shadow-2); }
.spec-value { font: 800 var(--fs-2xl)/1 var(--font-display); color: var(--bone); text-transform: none; letter-spacing: .01em; }
.spec-label { font: 600 var(--fs-xs)/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-subtle); }
.build-strip { margin: var(--space-6) 0 var(--space-4); padding: var(--space-5) var(--space-6); border-radius: var(--radius-md); background: linear-gradient(90deg, rgba(224,168,110,.16), rgba(224,168,110,.04)); border: 1px solid var(--walnut-700); border-left: 3px solid var(--oil-400); }
.build-strip .eyebrow { margin-bottom: var(--space-2); }
.build-strip p:last-child { margin: 0; font-size: var(--fs-lg); color: var(--bone); }
@media (min-width: 900px) {
  .spec-grid { grid-template-columns: minmax(0,7fr) minmax(0,4fr); }
  .spec-grid--solo { grid-template-columns: 1fr; }
}
@media (max-width: 719px) { .spec-title { font-size: 3rem; } .spec-card { padding: var(--space-4) var(--space-5); } }
