/**
 * atelier-modern theme CSS — byte-for-byte port of
 *   /Volumes/x9/claude-design/ui_kits/atelier-modern/{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-modern"]` 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). --accent is the
 * theme's ONLY brand-color token (hero label, post-cat, hover accents,
 * add-to-cart bg) → primary (no distinct secondary accent to bridge).
 * --surface/--border-subtle are supporting tokens, intentionally not
 * bridged (§5.4). The nav header's hardcoded rgba(245,242,238,0.88) was a
 * literal copy of --bg's default #F5F2EE — redirected to color-mix so the
 * header now tracks the bridged background (same class of fix as terminal's
 * Phase 2-polish nav.site-nav). Registry: src/lib/theme/theme-bridge-tokens.ts.
 */
/* ===== atelier-modern/index.html <style> ===== */
body[data-theme="atelier-modern"], [data-theme="atelier-modern"] {
    overflow-x: clip;
    --bg:           var(--vgc-color-background, #F5F2EE);
    --surface:      #EFEBE6;
    --fg:           var(--vgc-color-foreground, #1A1A1A);
    --muted-fg:     var(--vgc-color-secondary, #6B6560);
    --border:       var(--vgc-color-neutral, #D9D3CC);
    --border-subtle:#EAE6E1;
    --accent:       var(--vgc-color-primary, #B5572A);
    --heading:      var(--vgc-font-heading, var(--font-eb-garamond, 'EB Garamond'), Georgia, serif);
    --body:         var(--vgc-font-body, "DM Sans", "Inter", system-ui, sans-serif);
    --container-max: 1340px;
    --edge: 80px;
  }
  [data-theme="atelier-modern"] * { box-sizing: border-box; }
  body[data-theme="atelier-modern"], [data-theme="atelier-modern"] { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

  /* Frosted-glass ivory nav */
  [data-theme="atelier-modern"] header.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
  }
  [data-theme="atelier-modern"] .nav-inner {
    max-width: var(--container-max); margin: 0 auto;
    padding: 16px var(--edge);
    display: flex; justify-content: space-between; align-items: center;
  }
  [data-theme="atelier-modern"] .brand {
    font-family: var(--heading); font-size: 22px;
    font-weight: 400; font-style: italic;
    letter-spacing: -0.01em;
    color: var(--fg); text-decoration: none;
  }
  [data-theme="atelier-modern"] .nav-links { display: flex; gap: 40px; }
  [data-theme="atelier-modern"] .nav-link {
    font-family: var(--body); font-size: 11px;
    font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-fg); text-decoration: none;
    transition: color 200ms;
  }
  [data-theme="atelier-modern"] .nav-link:hover { color: var(--accent); }
  [data-theme="atelier-modern"] .nav-right { display: flex; align-items: center; gap: 32px; }
  [data-theme="atelier-modern"] .signin {
    font-family: var(--body); font-size: 11px;
    font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--fg); text-decoration: none;
  }

  /* Hero — full-bleed text-only, asymmetric */
  [data-theme="atelier-modern"] .hero {
    padding: 220px var(--edge) 140px;
    max-width: var(--container-max); margin: 0 auto;
  }
  [data-theme="atelier-modern"] .hero-layout {
    display: flex; flex-direction: column; gap: 48px; align-items: flex-end;
  }
  @media (min-width: 1024px) {
    [data-theme="atelier-modern"] .hero-layout { flex-direction: row; }
  }
  [data-theme="atelier-modern"] .hero-heading {
    flex: 0 0 auto; max-width: 820px;
  }
  [data-theme="atelier-modern"] .hero-heading h1 {
    font-family: var(--heading);
    font-size: clamp(64px, 8vw, 112px);
    font-weight: 300; line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--fg); margin: 0;
  }
  [data-theme="atelier-modern"] .hero-caption {
    flex: 1; max-width: 320px;
  }
  [data-theme="atelier-modern"] .hero-label {
    font-family: var(--body); font-size: 11px;
    font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
    margin: 0 0 16px;
  }
  [data-theme="atelier-modern"] .hero-caption p {
    font-family: var(--body); font-size: 16px;
    font-weight: 400; line-height: 1.7;
    color: var(--muted-fg); margin: 0;
  }

  /* Asymmetric bento (5fr 3fr 4fr) */
  [data-theme="atelier-modern"] .bento {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--edge) 140px;
  }
  [data-theme="atelier-modern"] .bento-section-label {
    font-family: var(--body); font-size: 11px;
    font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
    margin: 0 0 40px;
    padding-bottom: 16px; border-bottom: 1px solid var(--border);
  }
  [data-theme="atelier-modern"] .bento-grid {
    display: grid;
    grid-template-columns: 5fr 3fr 4fr;
    gap: 48px;
  }

  /* Featured post — spans 2 rows */
  [data-theme="atelier-modern"] .post-featured {
    grid-row: span 2;
    display: flex; flex-direction: column; gap: 0;
    text-decoration: none; color: inherit;
  }
  [data-theme="atelier-modern"] .post-featured > * { margin: 0; }
  [data-theme="atelier-modern"] .post-featured .post-cat { margin-top: 20px; }
  [data-theme="atelier-modern"] .post-featured-img {
    width: 100%; aspect-ratio: 4/5.2;
    background-size: cover; background-position: center;
    background-image: linear-gradient(135deg, var(--accent) 0%, var(--surface) 100%);
  }
  [data-theme="atelier-modern"] .post-cat {
    display: block;
    font-family: var(--body); font-size: 11px;
    font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
    margin: 0;
  }
  [data-theme="atelier-modern"] .post-title-lg {
    display: block;
    font-family: var(--heading);
    font-size: 40px; font-weight: 400; line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--fg); margin: 8px 0 0;
  }
  [data-theme="atelier-modern"] .post-title-md {
    display: block;
    font-family: var(--heading);
    font-size: 24px; font-weight: 400; line-height: 1.3;
    color: var(--fg); margin: 8px 0 0;
  }
  [data-theme="atelier-modern"] .post-title-sm {
    display: block;
    font-family: var(--heading);
    font-size: 20px; font-weight: 400; line-height: 1.35;
    color: var(--fg); margin: 8px 0 0;
  }
  [data-theme="atelier-modern"] .post-excerpt {
    display: block;
    font-family: var(--heading);
    font-size: 18px; font-weight: 400; font-style: italic;
    line-height: 1.55; color: var(--muted-fg);
    margin: 12px 0 0;
  }
  [data-theme="atelier-modern"] .post-meta {
    display: block;
    font-family: var(--body); font-size: 11px;
    font-weight: 400; letter-spacing: 0.04em;
    color: var(--muted-fg); margin: 16px 0 0;
    padding-top: 6px;
  }

  [data-theme="atelier-modern"] .bento-mid { display: flex; flex-direction: column; gap: 40px; }
  [data-theme="atelier-modern"] .post-mid { text-decoration: none; color: inherit; }
  [data-theme="atelier-modern"] .post-mid-img {
    width: 100%; aspect-ratio: 3/2;
    background-size: cover; background-position: center;
    margin-bottom: 16px;
  }
  [data-theme="atelier-modern"] .post-mid:nth-child(1) .post-mid-img { background-image: linear-gradient(135deg, var(--border) 0%, var(--accent) 100%); }
  [data-theme="atelier-modern"] .post-mid:nth-child(2) .post-mid-img { background-image: linear-gradient(135deg, var(--surface) 0%, var(--border) 100%); }

  [data-theme="atelier-modern"] .bento-list { display: flex; flex-direction: column; }
  [data-theme="atelier-modern"] .post-list-item {
    display: block;
    text-decoration: none; color: inherit;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    border-left: 2px solid transparent;
    padding-left: 14px;
    transition: border-color 200ms;
  }
  [data-theme="atelier-modern"] .post-list-item:first-child { padding-top: 0; }
  [data-theme="atelier-modern"] .post-list-item:hover { border-left-color: var(--accent); }

  /* Footer */
  [data-theme="atelier-modern"] footer.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px var(--edge);
  }
  [data-theme="atelier-modern"] .footer-inner {
    max-width: var(--container-max); margin: 0 auto;
    text-align: center;
    font-family: var(--body); font-size: 12px;
    color: var(--muted-fg);
  }
  [data-theme="atelier-modern"] .footer-inner em { font-family: var(--heading); font-style: italic; font-size: 14px; color: var(--fg); }

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

/* ===== Responsive overhaul — Sprint K Phase 3 ===== */
@media (max-width: 1023px) {
  [data-theme="atelier-modern"] .nav-inner { padding: 14px 20px; }
  /* Hero padding reduced on narrow viewports */
  [data-theme="atelier-modern"] .hero { padding: 140px 20px 80px; }
  /* Bento grid → single column on mobile */
  [data-theme="atelier-modern"] .bento-grid { grid-template-columns: 1fr; gap: 32px; }
  [data-theme="atelier-modern"] .post-featured { grid-row: auto; }
  [data-theme="atelier-modern"] .bento { padding: 0 20px 80px; }
}

/* ===== Page-builder token bridge (S-6) ===== */
[data-theme="atelier-modern"] 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-fg);
  --vb-color-text-muted: var(--muted-fg);
  --vb-color-border: var(--border);
  --vb-color-primary: var(--accent);
  --vb-color-primary-bg: var(--accent);
  /* 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; #ffffff is the verbatim
     un-applied fallback (same fix class as firefly/hackerstack). */
  --vb-color-primary-fg: var(--vgc-color-primary-fg, #ffffff);
  --vb-color-cta-btn-bg: var(--accent);
  --vb-color-cta-btn-fg: var(--vgc-color-primary-fg, #ffffff);
  --vb-color-secondary: var(--muted-fg);
  --vb-heading-font: var(--heading);
}

/* ===== Old-30 Bespoke Parity Wave 4 — bespoke mobile drawer + storefront =====
 * AtelierModernMobileMenu / AtelierModernShopLayout / AtelierModernProductLayout
 * styling hooks. Hover-only rules (P-097 — CSS-only, no JS event handlers).
 */

[data-theme="atelier-modern"] .atm-shop-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
  text-decoration: none;
  padding-bottom: 15px;
  margin-bottom: -15px;
  border-bottom: 2px solid transparent;
  transition: color 200ms, border-color 200ms;
}
[data-theme="atelier-modern"] .atm-shop-pill:hover {
  color: var(--fg);
}
[data-theme="atelier-modern"] .atm-shop-pill[data-active] {
  color: var(--accent);
  border-color: var(--accent);
}

[data-theme="atelier-modern"] .atm-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
@media (max-width: 900px) {
  [data-theme="atelier-modern"] .atm-shop-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
@media (max-width: 600px) {
  [data-theme="atelier-modern"] .atm-shop-grid { grid-template-columns: 1fr; }
}

[data-theme="atelier-modern"] .atm-shop-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
[data-theme="atelier-modern"] .atm-shop-card:hover .atm-shop-img {
  border-color: var(--accent);
}

[data-theme="atelier-modern"] .atm-add-to-cart {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 10px 16px;
  cursor: pointer;
  transition: opacity 200ms;
}
[data-theme="atelier-modern"] .atm-add-to-cart:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  [data-theme="atelier-modern"] .atm-product-grid {
    grid-template-columns: 1fr !important;
  }
}
