/**
 * atelier theme CSS — byte-for-byte port of
 *   /Volumes/x9/claude-design/ui_kits/atelier/{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="atelier"]` 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 2).
 * 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). Single-font theme (--sans is the only
 * font var, used for headings + body alike): bridged with a heading-first,
 * body-fallback chain so either slot recolors it (§5.2 per-theme judgment).
 * Native CTAs (.nav-cta/.btn-primary/.cta) key off var(--fg) (foreground), not
 * --accent — --accent only drives the commerce --vb-color-primary mirror
 * below; a primary-surface rebrand per §5.4, not every visible element.
 * --surface/--subtle are supporting tokens, intentionally not bridged.
 * Registry: src/lib/theme/theme-bridge-tokens.ts.
 */
/* ===== atelier/index.html <style> ===== */
body[data-theme="atelier"], [data-theme="atelier"] {
    overflow-x: clip;
    --bg:        var(--vgc-color-background, #f8fafc);          /* slate-50 */
    --surface:   #ffffff;
    --fg:        var(--vgc-color-foreground, #0f172a);          /* slate-900 */
    --muted:     var(--vgc-color-secondary, #475569);          /* slate-600 */
    --subtle:    #94a3b8;          /* slate-400 */
    --border:    var(--vgc-color-neutral, #e2e8f0);          /* slate-200 */
    --accent:    var(--vgc-color-primary, #0f172a);
    --sans: var(--vgc-font-heading, var(--vgc-font-body, 'Inter', system-ui, -apple-system, sans-serif));
    --container: 1200px;
  }
  [data-theme="atelier"] * { box-sizing: border-box; }
  body[data-theme="atelier"], [data-theme="atelier"] {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
  }
  [data-theme="atelier"] a { color: inherit; text-decoration: none; }

  /* Nav */
  [data-theme="atelier"] header.site-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  }
  [data-theme="atelier"] .nav-inner {
    max-width: var(--container); margin: 0 auto;
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
  }
  [data-theme="atelier"] .brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--fg);
  }
  [data-theme="atelier"] .nav-links { display: flex; align-items: center; gap: 28px; }
  [data-theme="atelier"] .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 150ms;
  }
  [data-theme="atelier"] .nav-link:hover { color: var(--fg); }
  [data-theme="atelier"] .nav-cta {
    background: var(--fg);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 9999px;
    transition: background 150ms;
    white-space: nowrap;
  }
  [data-theme="atelier"] .nav-cta:hover { background: #1e293b; }

  /* Hero */
  [data-theme="atelier"] .hero {
    padding: 128px 32px 80px;
    text-align: center;
  }
  [data-theme="atelier"] .hero-inner { max-width: 880px; margin: 0 auto; }
  [data-theme="atelier"] .hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--fg);
    margin: 0 0 24px;
  }
  [data-theme="atelier"] .hero p.tag {
    font-size: 22px;
    line-height: 1.5;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto 40px;
  }
  [data-theme="atelier"] .hero-ctas {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap;
  }
  [data-theme="atelier"] .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--fg);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 9999px;
    white-space: nowrap;
    transition: background 150ms;
  }
  [data-theme="atelier"] .btn-primary:hover { background: #1e293b; }
  [data-theme="atelier"] .btn-secondary {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--fg);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 8px;
  }
  [data-theme="atelier"] .btn-secondary:hover { color: var(--muted); }

  /* Featured grid */
  [data-theme="atelier"] .featured {
    max-width: var(--container); margin: 0 auto;
    padding: 0 32px 80px;
  }
  [data-theme="atelier"] .feat-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin: 0 0 32px;
  }
  [data-theme="atelier"] .feat-head h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
  }
  [data-theme="atelier"] .feat-head a {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
  }
  [data-theme="atelier"] .feat-head a:hover { color: var(--fg); }
  [data-theme="atelier"] .grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  @media (max-width: 900px) { [data-theme="atelier"] .grid-3 { grid-template-columns: 1fr; } }
  [data-theme="atelier"] .post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04), 0 4px 12px rgba(15,23,42,0.04);
    transition: transform 200ms, box-shadow 200ms;
    display: block;
  }
  [data-theme="atelier"] .post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 6px rgba(15,23,42,0.06), 0 12px 28px rgba(15,23,42,0.08);
  }
  [data-theme="atelier"] .post-img {
    width: 100%; aspect-ratio: 16/10;
    background-size: cover; background-position: center;
  }
  [data-theme="atelier"] .at-1 { background-image: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%); }
  [data-theme="atelier"] .at-2 { background-image: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); }
  [data-theme="atelier"] .at-3 { background-image: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%); }
  [data-theme="atelier"] .post-body { padding: 22px 24px 24px; }
  [data-theme="atelier"] .post-cat {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 10px;
  }
  [data-theme="atelier"] .post-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--fg);
    margin: 0 0 12px;
  }
  [data-theme="atelier"] .post-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  [data-theme="atelier"] .post-meta {
    font-size: 13px;
    color: var(--subtle);
  }

  /* Timeline / roadmap section */
  [data-theme="atelier"] .roadmap {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 96px 32px;
  }
  [data-theme="atelier"] .roadmap-inner { max-width: 880px; margin: 0 auto; text-align: center; }
  [data-theme="atelier"] .roadmap h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 24px;
  }
  [data-theme="atelier"] .roadmap p.lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 48px;
  }
  [data-theme="atelier"] .timeline {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    text-align: left;
  }
  @media (max-width: 800px) { [data-theme="atelier"] .timeline { grid-template-columns: 1fr 1fr; } }
  [data-theme="atelier"] .ts {
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  [data-theme="atelier"] .ts .year {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--subtle);
    margin: 0 0 8px;
  }
  [data-theme="atelier"] .ts h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
  }
  [data-theme="atelier"] .ts p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }

  /* CTA */
  [data-theme="atelier"] .cta {
    max-width: 720px; margin: 96px auto;
    padding: 56px 40px;
    background: var(--fg);
    color: #fff;
    border-radius: 24px;
    text-align: center;
  }
  [data-theme="atelier"] .cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 12px;
  }
  [data-theme="atelier"] .cta p {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0 0 28px;
  }
  [data-theme="atelier"] .cta-form {
    display: flex; gap: 12px; max-width: 420px; margin: 0 auto;
  }
  [data-theme="atelier"] .cta-form input {
    flex: 1; min-width: 0;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 9999px;
    color: #fff;
    padding: 12px 22px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
  }
  [data-theme="atelier"] .cta-form input::placeholder { color: #94a3b8; }
  [data-theme="atelier"] .cta-form button {
    background: #fff;
    color: var(--fg);
    border: none;
    border-radius: 9999px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 150ms;
    white-space: nowrap;
  }
  [data-theme="atelier"] .cta-form button:hover { background: #e2e8f0; }

  /* Footer */
  [data-theme="atelier"] footer.site-footer {
    padding: 56px 32px 32px;
    border-top: 1px solid var(--border);
  }
  [data-theme="atelier"] .footer-inner {
    max-width: var(--container); margin: 0 auto;
    display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  }
  [data-theme="atelier"] .footer-brand {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  [data-theme="atelier"] .footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
  [data-theme="atelier"] .footer-nav a {
    font-size: 14px;
    color: var(--muted);
  }
  [data-theme="atelier"] .footer-nav a:hover { color: var(--fg); }
  [data-theme="atelier"] .footer-copy {
    margin-top: 32px;
    max-width: var(--container);
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--subtle);
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  }

/* ===== atelier/blog.html <style> ===== */
/* === Inner page (blog/post/page) — inherits theme typography & color from body === */
  [data-theme="atelier"] .ip-wrap { max-width: 1200px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 32px); }
  [data-theme="atelier"] .ip-narrow { max-width: 760px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 32px); }
  [data-theme="atelier"] .ip-prose-wrap { max-width: 720px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
  [data-theme="atelier"] .ip-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; margin: 0 0 18px; }
  [data-theme="atelier"] .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="atelier"] .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="atelier"] .ip-dek { font-size: 19px; line-height: 1.55; opacity: 0.7; margin: 0 0 28px; max-width: 640px; text-wrap: pretty; }
  [data-theme="atelier"] .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="atelier"] .ip-byline > div { min-width: 0; flex: 1; }
  [data-theme="atelier"] .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="atelier"] .ip-byline .author { font-size: 14px; font-weight: 600; }
  [data-theme="atelier"] .ip-byline .meta { font-size: 13px; opacity: 0.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  [data-theme="atelier"] .ip-cover { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; margin: 0 0 40px; }
  [data-theme="atelier"] .ip-prose { font-size: 18px; line-height: 1.75; }
  [data-theme="atelier"] .ip-prose p { margin: 0 0 22px; opacity: 0.92; }
  [data-theme="atelier"] .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="atelier"] .ip-prose h3 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; margin: 32px 0 12px; }
  [data-theme="atelier"] .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="atelier"] .ip-prose ul, [data-theme="atelier"] .ip-prose ol { margin: 0 0 22px; padding-left: 22px; }
  [data-theme="atelier"] .ip-prose li { margin: 0 0 8px; opacity: 0.92; line-height: 1.7; }
  [data-theme="atelier"] .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="atelier"] .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="atelier"] .ip-prose hr { border: none; height: 1px; background: color-mix(in srgb, currentColor 14%, transparent); margin: 36px 0; }
  [data-theme="atelier"] .ip-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 0; }
  [data-theme="atelier"] .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="atelier"] .ip-tag:hover { opacity: 1; }
  /* Blog index */
  [data-theme="atelier"] .ip-index-head { margin: 0 0 40px; padding-bottom: 24px; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
  [data-theme="atelier"] .ip-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
  [data-theme="atelier"] .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="atelier"] .ip-filter:hover { opacity: 1; border-color: color-mix(in srgb, currentColor 32%, transparent); }
  [data-theme="atelier"] .ip-filter.active { background: color-mix(in srgb, currentColor 14%, transparent); border-width: 2px; padding: 5px 13px; opacity: 1; font-weight: 700; }
  [data-theme="atelier"] .ip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  @media (max-width: 900px) { [data-theme="atelier"] .ip-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { [data-theme="atelier"] .ip-grid { grid-template-columns: 1fr; } }
  [data-theme="atelier"] .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="atelier"] .ip-card:hover { border-color: color-mix(in srgb, currentColor 30%, transparent); transform: translateY(-2px); }
  [data-theme="atelier"] .ip-card .img { width: 100%; aspect-ratio: 16/10; background-size: cover; background-position: center; }
  [data-theme="atelier"] .ip-card .body { padding: 18px 20px 20px; }
  [data-theme="atelier"] .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="atelier"] .ip-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 8px; }
  [data-theme="atelier"] .ip-card p { font-size: 14px; line-height: 1.55; opacity: 0.7; margin: 0 0 12px; }
  [data-theme="atelier"] .ip-card .meta { font-size: 12px; opacity: 0.55; }
  [data-theme="atelier"] .ip-pag { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 56px 0 0; }
  [data-theme="atelier"] .ip-pag a, [data-theme="atelier"] .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="atelier"] .ip-pag .current { background: color-mix(in srgb, currentColor 12%, transparent); }
  /* Inline newsletter CTA — outline style, no blend tricks */
  [data-theme="atelier"] .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="atelier"] .ip-inline-cta h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
  [data-theme="atelier"] .ip-inline-cta p { font-size: 14px; opacity: 0.7; margin: 0 0 18px; }
  [data-theme="atelier"] .ip-inline-cta form { display: flex; gap: 8px; max-width: 380px; margin: 0 auto; }
  [data-theme="atelier"] .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="atelier"] .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="atelier"] .ip-inline-cta button:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
  /* Comments */
  [data-theme="atelier"] .ip-comments { margin: 64px 0 0; padding-top: 32px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
  [data-theme="atelier"] .ip-comments h3 { font-size: 18px; font-weight: 700; margin: 0 0 24px; }
  [data-theme="atelier"] .ip-comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent); }
  [data-theme="atelier"] .ip-comment > div { min-width: 0; flex: 1; }
  [data-theme="atelier"] .ip-comment:last-child { border-bottom: none; }
  [data-theme="atelier"] .ip-comment .who { font-size: 13px; font-weight: 600; }
  [data-theme="atelier"] .ip-comment .when { font-size: 12px; opacity: 0.55; }
  [data-theme="atelier"] .ip-comment .text { font-size: 14px; line-height: 1.55; opacity: 0.85; margin: 6px 0 0; }
  /* Back link */
  [data-theme="atelier"] .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="atelier"] .ip-back:hover { opacity: 1; }
  /* Static page form */
  [data-theme="atelier"] .ip-form { max-width: 520px; margin: 32px 0 0; }
  [data-theme="atelier"] .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="atelier"] .ip-form .row { margin: 0 0 16px; }
  [data-theme="atelier"] .ip-form input, [data-theme="atelier"] .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="atelier"] .ip-form textarea { min-height: 120px; resize: vertical; }
  [data-theme="atelier"] .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="atelier"] .ip-form button:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ===== Responsive overhaul (Sprint K Phase 2) ===== */
/* Hide desktop nav links below lg (1024px) */
@media (max-width: 1023px) {
  [data-theme="atelier"] .nav-links { display: none; }
}

/* Footer reflow */
@media (max-width: 767px) {
  [data-theme="atelier"] .footer-inner { flex-direction: column; gap: 32px; }
  [data-theme="atelier"] .footer-nav { flex-direction: column; gap: 12px; }
}

/* ===== Shop grid hover lift (AtelierShopLayout) ===== */
/* P-097: CSS-only hover — no JS event handlers in the server component. */
[data-theme="atelier"] .atl-shop-card {
  transition: transform 220ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 220ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="atelier"] .atl-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
}

/* ===== Bespoke shop search/pills hover + focus states (P-097, CSS-only) ===== */
[data-theme="atelier"] .atl-shop-pill {
  transition: background 150ms, color 150ms;
}
[data-theme="atelier"] .atl-shop-input:focus {
  border-color: var(--fg);
}

/* ===== Old-30 Bespoke Parity Wave 1 — AtelierMobileMenu hamburger trigger =====
 * Visible < lg (1024px), matching the desktop nav-links collapse breakpoint
 * above. Clean rounded ghost button, echoes the theme's soft pill language.
 */
[data-theme="atelier"] .atl-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
[data-theme="atelier"] .atl-hamburger:hover {
  background: var(--bg);
}
@media (max-width: 1023px) {
  [data-theme="atelier"] .atl-hamburger {
    display: inline-flex;
  }
}

/* ===== Page-builder token bridge (S-6) ===== */
[data-theme="atelier"] main {
  --vb-color-bg: var(--bg);
  --vb-color-surface: var(--surface);
  --vb-color-bg-elevated: var(--surface);
  --vb-color-fg: var(--fg);
  --vb-color-heading: var(--fg);
  --vb-color-muted: var(--muted);
  --vb-color-text-muted: var(--muted);
  --vb-color-border: var(--border);
  --vb-color-primary: var(--accent);
  --vb-color-primary-bg: var(--accent);
  --vb-color-primary-fg: var(--bg);
  --vb-color-cta-btn-bg: var(--accent);
  --vb-color-cta-btn-fg: var(--bg);
  --vb-color-secondary: var(--muted);
  --vb-heading-font: var(--sans);
}
