/**
 * brutalist-press theme CSS — byte-for-byte port of
 *   /Volumes/x9/claude-design/ui_kits/brutalist-press/{index,blog,post,page}.html
 *
 * Generated by scripts/port-theme-css.py.
 *
 * NOTE: top-level `:root` and `html, body` selectors are mechanically
 * rewritten to `body[data-theme="brutalist-press"]` so multiple theme.css
 * files can coexist in the bundle without overriding each other's
 * CSS custom properties. Other selectors (.brand, .nav-link, etc.)
 * are preserved verbatim from source — they reference var(--bg)/
 * var(--fg) which inherit from the scoped body.
 */

/*
 * Global Design → Bespoke-Token Theme Bridge (v2, 2026-07-18, spec
 * docs/specs/2026-07-18-global-design-bespoke-token-bridge.md §5, Phase 3
 * Batch B). ROOT brand-role tokens read `var(--vgc-<role>, <exact-default>)`;
 * un-applied → verbatim default → byte-identical (zero regression). Headings
 * use var(--fg) directly (no separate heading token). --cobalt is the
 * theme's ONLY highlight color (nav-cta, opinion band, links, story cat) →
 * primary (no distinct accent). --border (#000000, the brutalist rule lines)
 * happens to equal --fg's default but is a semantically distinct token
 * (structural black hairlines, not text) → bridged to neutral independently.
 * --cobalt-d (hardcoded hover shade) and --gray (supporting surface) are
 * intentionally not bridged (§5.4). header.site-nav already reads
 * `background: var(--bg)` directly — no hardcoded-literal fix needed here
 * (unlike terminal/atelier-modern/aurora-borealis). Registry:
 * src/lib/theme/theme-bridge-tokens.ts.
 */
/* ===== brutalist-press/index.html <style> ===== */
body[data-theme="brutalist-press"], [data-theme="brutalist-press"] {
    overflow-x: clip;
    --bg:        var(--vgc-color-background, #ffffff);
    --fg:        var(--vgc-color-foreground, #000000);
    --muted:     var(--vgc-color-secondary, #4a4a4a);
    --subtle:    #6e6e6e;
    --cobalt:    var(--vgc-color-primary, #0047AB);
    --cobalt-d:  #003580;
    --gray:      #f3f3f3;
    --border:    var(--vgc-color-neutral, #000000);
    --heading: var(--vgc-font-heading, var(--font-space-grotesk, 'Space Grotesk'), system-ui, sans-serif);
    --body:    var(--vgc-font-body, 'IBM Plex Sans', system-ui, sans-serif);
    --mono:    'JetBrains Mono', 'Fira Code', monospace;
    --container: 1280px;
  }
  [data-theme="brutalist-press"] * { box-sizing: border-box; }
  body[data-theme="brutalist-press"], [data-theme="brutalist-press"] {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
  }
  [data-theme="brutalist-press"] a { color: inherit; text-decoration: none; }

  /* Editorial header */
  [data-theme="brutalist-press"] header.site-nav {
    border-top: 2px solid var(--fg);
    border-bottom: 2px solid var(--fg);
    background: var(--bg);
  }
  [data-theme="brutalist-press"] .nav-inner {
    max-width: var(--container); margin: 0 auto;
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
  }
  [data-theme="brutalist-press"] .brand {
    font-family: var(--heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--fg);
  }
  [data-theme="brutalist-press"] .nav-links { display: flex; align-items: center; gap: 28px; }
  [data-theme="brutalist-press"] .nav-link {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg);
    transition: color 150ms;
  }
  [data-theme="brutalist-press"] .nav-link:hover { color: var(--cobalt); }
  [data-theme="brutalist-press"] .nav-cta {
    background: var(--cobalt);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 16px;
    white-space: nowrap;
    transition: background 150ms;
  }
  [data-theme="brutalist-press"] .nav-cta:hover { background: var(--cobalt-d); }

  /* Full-bleed hero with title burned in */
  [data-theme="brutalist-press"] .hero {
    position: relative;
    width: 100%;
    height: 68vh; min-height: 540px; max-height: 720px;
    background-image:
      linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%),
      linear-gradient(135deg, var(--cobalt) 0%, var(--fg) 100%);
    color: #fff;
    border-bottom: 2px solid var(--fg);
  }
  [data-theme="brutalist-press"] .hero-text {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px 56px;
    height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  [data-theme="brutalist-press"] .hero-kicker {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 14px;
  }
  [data-theme="brutalist-press"] .hero h1 {
    font-family: var(--heading);
    font-size: clamp(40px, 6.4vw, 88px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.0;
    color: #fff;
    margin: 0 0 18px;
    max-width: 880px;
  }
  [data-theme="brutalist-press"] .hero .byline {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
  }

  /* 2/3 + 1/3 featured split */
  [data-theme="brutalist-press"] .split-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 32px;
  }
  [data-theme="brutalist-press"] .split {
    display: grid; grid-template-columns: 2fr 1fr; gap: 0;
    border-top: 2px solid var(--fg);
    border-bottom: 2px solid var(--fg);
  }
  @media (max-width: 900px) { [data-theme="brutalist-press"] .split { grid-template-columns: 1fr; } }
  [data-theme="brutalist-press"] .split-main {
    padding: 32px 40px 32px 0;
    border-right: 2px solid var(--fg);
  }
  @media (max-width: 900px) {
    [data-theme="brutalist-press"] .split-main { padding: 32px 0; border-right: none; border-bottom: 2px solid var(--fg); }
  }
  [data-theme="brutalist-press"] .split-main .kicker, [data-theme="brutalist-press"] .split-side .kicker {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cobalt);
    margin: 0 0 12px;
  }
  [data-theme="brutalist-press"] .split-main h2 {
    font-family: var(--heading);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 16px;
  }
  [data-theme="brutalist-press"] .split-main p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 16px;
  }
  [data-theme="brutalist-press"] .split-meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--subtle);
  }
  [data-theme="brutalist-press"] .split-side {
    padding: 32px 0 32px 40px;
    display: flex; flex-direction: column; gap: 28px;
  }
  @media (max-width: 900px) { [data-theme="brutalist-press"] .split-side { padding: 32px 0; } }
  [data-theme="brutalist-press"] .side-card {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--fg);
  }
  [data-theme="brutalist-press"] .side-card:last-child { border-bottom: none; padding-bottom: 0; }
  [data-theme="brutalist-press"] .side-card h3 {
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px;
  }
  [data-theme="brutalist-press"] .side-card h3 a:hover { color: var(--cobalt); }
  [data-theme="brutalist-press"] .side-card time {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--subtle);
  }

  /* Cobalt opinion band */
  [data-theme="brutalist-press"] .opinion {
    background: var(--cobalt);
    color: #fff;
    padding: 80px 32px;
  }
  [data-theme="brutalist-press"] .opinion-inner {
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
  }
  [data-theme="brutalist-press"] .opinion-label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 22px;
    opacity: 0.8;
  }
  [data-theme="brutalist-press"] .opinion-quote {
    font-family: var(--heading);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 auto;
    max-width: 1100px;
  }
  [data-theme="brutalist-press"] .opinion-cite {
    margin-top: 28px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  /* Latest stories — 4-col grid */
  [data-theme="brutalist-press"] .latest {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 32px 80px;
  }
  [data-theme="brutalist-press"] .latest h2.section {
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fg);
  }
  [data-theme="brutalist-press"] .grid-4 {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  @media (max-width: 1000px) { [data-theme="brutalist-press"] .grid-4 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { [data-theme="brutalist-press"] .grid-4 { grid-template-columns: 1fr; } }
  [data-theme="brutalist-press"] .story .cat {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cobalt);
    margin: 0 0 10px;
  }
  [data-theme="brutalist-press"] .story h3 {
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--fg);
    margin: 0 0 12px;
  }
  [data-theme="brutalist-press"] .story h3 a:hover { color: var(--cobalt); }
  [data-theme="brutalist-press"] .story time {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--subtle);
  }

  /* Footer — black bar */
  [data-theme="brutalist-press"] footer.site-footer {
    background: var(--fg);
    color: #fff;
  }
  [data-theme="brutalist-press"] .footer-inner {
    max-width: var(--container); margin: 0 auto;
    padding: 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
  }
  [data-theme="brutalist-press"] .footer-brand {
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }
  [data-theme="brutalist-press"] .footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
  [data-theme="brutalist-press"] .footer-nav a {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b3b3b3;
  }
  [data-theme="brutalist-press"] .footer-nav a:hover { color: #fff; }
  [data-theme="brutalist-press"] .footer-copy {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6e6e6e;
  }

/* ===== brutalist-press/blog.html <style> ===== */
/* === Inner page (blog/post/page) — inherits theme typography & color from body === */
  [data-theme="brutalist-press"] .ip-wrap { max-width: 1200px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 32px); }
  [data-theme="brutalist-press"] .ip-narrow { max-width: 760px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 32px); }
  [data-theme="brutalist-press"] .ip-prose-wrap { max-width: 720px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
  [data-theme="brutalist-press"] .ip-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; margin: 0 0 18px; }
  [data-theme="brutalist-press"] .ip-h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 18px; text-wrap: balance; }
  [data-theme="brutalist-press"] .ip-h1-serif { font-family: var(--vb-heading-font, var(--heading, var(--display, inherit))); font-size: clamp(40px, 5.4vw, 64px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 18px; text-wrap: balance; }
  [data-theme="brutalist-press"] .ip-dek { font-size: 19px; line-height: 1.55; opacity: 0.7; margin: 0 0 28px; max-width: 640px; text-wrap: pretty; }
  [data-theme="brutalist-press"] .ip-byline { display: flex; align-items: center; gap: 14px; margin: 0 0 40px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
  [data-theme="brutalist-press"] .ip-byline > div { min-width: 0; flex: 1; }
  [data-theme="brutalist-press"] .ip-avatar { width: 40px; height: 40px; border-radius: 9999px; background: color-mix(in srgb, currentColor 12%, transparent); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
  [data-theme="brutalist-press"] .ip-byline .author { font-size: 14px; font-weight: 600; }
  [data-theme="brutalist-press"] .ip-byline .meta { font-size: 13px; opacity: 0.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  [data-theme="brutalist-press"] .ip-cover { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; margin: 0 0 40px; }
  [data-theme="brutalist-press"] .ip-prose { font-size: 18px; line-height: 1.75; }
  [data-theme="brutalist-press"] .ip-prose p { margin: 0 0 22px; opacity: 0.92; }
  [data-theme="brutalist-press"] .ip-prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin: 40px 0 16px; }
  [data-theme="brutalist-press"] .ip-prose h3 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; margin: 32px 0 12px; }
  [data-theme="brutalist-press"] .ip-prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid color-mix(in srgb, currentColor 35%, transparent); font-style: italic; font-size: 21px; line-height: 1.5; opacity: 0.78; }
  [data-theme="brutalist-press"] .ip-prose ul, [data-theme="brutalist-press"] .ip-prose ol { margin: 0 0 22px; padding-left: 22px; }
  [data-theme="brutalist-press"] .ip-prose li { margin: 0 0 8px; opacity: 0.92; line-height: 1.7; }
  [data-theme="brutalist-press"] .ip-prose code:not(pre code) { font-family: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace; font-size: 0.88em; background: color-mix(in srgb, currentColor 8%, transparent); padding: 1px 6px; border-radius: 4px; }
  [data-theme="brutalist-press"] .ip-prose pre { font-family: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace; background: color-mix(in srgb, currentColor 4%, transparent); border: 1px solid color-mix(in srgb, currentColor 12%, transparent); border-radius: 8px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.65; margin: 22px 0; }
  [data-theme="brutalist-press"] .ip-prose hr { border: none; height: 1px; background: color-mix(in srgb, currentColor 14%, transparent); margin: 36px 0; }
  [data-theme="brutalist-press"] .ip-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 0; }
  [data-theme="brutalist-press"] .ip-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 9999px; opacity: 0.7; text-decoration: none; color: inherit; white-space: nowrap; }
  [data-theme="brutalist-press"] .ip-tag:hover { opacity: 1; }
  /* Blog index */
  [data-theme="brutalist-press"] .ip-index-head { margin: 0 0 40px; padding-bottom: 24px; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
  [data-theme="brutalist-press"] .ip-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
  [data-theme="brutalist-press"] .ip-filter { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 9999px; text-decoration: none; color: inherit; opacity: 0.7; white-space: nowrap; }
  [data-theme="brutalist-press"] .ip-filter:hover { opacity: 1; border-color: color-mix(in srgb, currentColor 32%, transparent); }
  [data-theme="brutalist-press"] .ip-filter.active { background: color-mix(in srgb, currentColor 14%, transparent); border-width: 2px; padding: 5px 13px; opacity: 1; font-weight: 700; }
  [data-theme="brutalist-press"] .ip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  @media (max-width: 900px) { [data-theme="brutalist-press"] .ip-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { [data-theme="brutalist-press"] .ip-grid { grid-template-columns: 1fr; } }
  [data-theme="brutalist-press"] .ip-card { display: block; border: 1px solid color-mix(in srgb, currentColor 12%, transparent); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 200ms, transform 200ms; }
  [data-theme="brutalist-press"] .ip-card:hover { border-color: color-mix(in srgb, currentColor 30%, transparent); transform: translateY(-2px); }
  [data-theme="brutalist-press"] .ip-card .img { width: 100%; aspect-ratio: 16/10; background-size: cover; background-position: center; }
  [data-theme="brutalist-press"] .ip-card .body { padding: 18px 20px 20px; }
  [data-theme="brutalist-press"] .ip-card .kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin: 0 0 8px; }
  [data-theme="brutalist-press"] .ip-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 8px; }
  [data-theme="brutalist-press"] .ip-card p { font-size: 14px; line-height: 1.55; opacity: 0.7; margin: 0 0 12px; }
  [data-theme="brutalist-press"] .ip-card .meta { font-size: 12px; opacity: 0.55; }
  [data-theme="brutalist-press"] .ip-pag { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 56px 0 0; }
  [data-theme="brutalist-press"] .ip-pag a, [data-theme="brutalist-press"] .ip-pag span { min-width: 36px; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: 6px; text-decoration: none; color: inherit; font-size: 13px; font-weight: 600; }
  [data-theme="brutalist-press"] .ip-pag .current { background: color-mix(in srgb, currentColor 12%, transparent); }
  /* Inline newsletter CTA — outline style, no blend tricks */
  [data-theme="brutalist-press"] .ip-inline-cta { margin: 56px 0 0; padding: 36px; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: 12px; text-align: center; }
  [data-theme="brutalist-press"] .ip-inline-cta h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
  [data-theme="brutalist-press"] .ip-inline-cta p { font-size: 14px; opacity: 0.7; margin: 0 0 18px; }
  [data-theme="brutalist-press"] .ip-inline-cta form { display: flex; gap: 8px; max-width: 380px; margin: 0 auto; }
  [data-theme="brutalist-press"] .ip-inline-cta input { flex: 1; min-width: 0; background: transparent; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 8px; color: inherit; font-family: inherit; font-size: 14px; padding: 10px 14px; outline: none; }
  [data-theme="brutalist-press"] .ip-inline-cta button { background: transparent; border: 2px solid currentColor; border-radius: 8px; color: inherit; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; padding: 9px 22px; cursor: pointer; white-space: nowrap; transition: background 150ms; }
  [data-theme="brutalist-press"] .ip-inline-cta button:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
  /* Comments */
  [data-theme="brutalist-press"] .ip-comments { margin: 64px 0 0; padding-top: 32px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
  [data-theme="brutalist-press"] .ip-comments h3 { font-size: 18px; font-weight: 700; margin: 0 0 24px; }
  [data-theme="brutalist-press"] .ip-comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent); }
  [data-theme="brutalist-press"] .ip-comment > div { min-width: 0; flex: 1; }
  [data-theme="brutalist-press"] .ip-comment:last-child { border-bottom: none; }
  [data-theme="brutalist-press"] .ip-comment .who { font-size: 13px; font-weight: 600; }
  [data-theme="brutalist-press"] .ip-comment .when { font-size: 12px; opacity: 0.55; }
  [data-theme="brutalist-press"] .ip-comment .text { font-size: 14px; line-height: 1.55; opacity: 0.85; margin: 6px 0 0; }
  /* Back link */
  [data-theme="brutalist-press"] .ip-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; color: inherit; opacity: 0.65; margin: 0 0 24px; white-space: nowrap; }
  [data-theme="brutalist-press"] .ip-back:hover { opacity: 1; }
  /* Static page form */
  [data-theme="brutalist-press"] .ip-form { max-width: 520px; margin: 32px 0 0; }
  [data-theme="brutalist-press"] .ip-form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; margin: 0 0 6px; }
  [data-theme="brutalist-press"] .ip-form .row { margin: 0 0 16px; }
  [data-theme="brutalist-press"] .ip-form input, [data-theme="brutalist-press"] .ip-form textarea { width: 100%; background: transparent; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: 8px; color: inherit; font-family: inherit; font-size: 15px; padding: 10px 14px; outline: none; }
  [data-theme="brutalist-press"] .ip-form textarea { min-height: 120px; resize: vertical; }
  [data-theme="brutalist-press"] .ip-form button { background: transparent; border: 2px solid currentColor; border-radius: 8px; color: inherit; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; padding: 10px 24px; cursor: pointer; white-space: nowrap; transition: background 150ms; }
  [data-theme="brutalist-press"] .ip-form button:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ===== Responsive overhaul (Sprint K Phase 3 Batch B) ===== */
@media (max-width: 1023px) {
  [data-theme="brutalist-press"] .nav-links { display: none; }
}

/* ===== Old-30 Bespoke Parity Wave 6: bespoke drawer + shop CSS-only hover
 * rules (P-097 — ShopLayout is a server component, zero JS handlers). */
[data-theme="brutalist-press"] .bp-shop-card:hover {
  border-color: var(--cobalt);
}
[data-theme="brutalist-press"] .bp-shop-pill:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}
[data-theme="brutalist-press"] .bp-shop-input:focus {
  border-color: var(--cobalt);
}

/* ===== V2 contract: Page-builder block token bridge =====
 * Maps generic --vb-* block renderer variables to Brutalist Press's
 * own --bg / --fg / --cobalt theme tokens, scoped to <main>.
 */
[data-theme="brutalist-press"] main {
  --vb-color-bg:          var(--bg);
  --vb-color-surface:     var(--gray);
  --vb-color-bg-elevated: var(--gray);
  --vb-color-fg:          var(--fg);
  --vb-color-heading:     var(--fg);
  --vb-color-muted:       var(--muted);
  --vb-color-text-muted:  var(--subtle);
  --vb-color-border:      var(--border);
  --vb-color-primary:     var(--cobalt);
  --vb-color-primary-bg:  var(--cobalt);
  /* v2 bridge: sources the platform's WCAG-derived --vgc-color-primary-fg
     (computed against whatever primary the tenant applies) so a customized
     brand primary keeps legible button text; var(--bg) is the verbatim
     un-applied fallback (same fix class as firefly/hackerstack/atelier-modern). */
  --vb-color-primary-fg:  var(--vgc-color-primary-fg, var(--bg));
  --vb-color-cta-btn-bg:  var(--cobalt);
  --vb-color-cta-btn-fg:  var(--vgc-color-primary-fg, var(--bg));
  --vb-color-secondary:   var(--muted);
  --vb-heading-font:      var(--heading);
}
