/**
 * velvet-editorial theme CSS — byte-for-byte port of
 *   /Volumes/x9/claude-design/ui_kits/velvet-editorial/{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="velvet-editorial"]` 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).
 * The ROOT brand-role tokens below read `var(--vgc-<role>, <exact-default>)`.
 * Un-applied → --vgc-* undefined → verbatim default → byte-identical (zero
 * regression). Headings use var(--fg) directly (no separate heading token) so
 * they recolor via the foreground redirect. --label (Playfair small-caps UI
 * font) and --burgundy-h (hardcoded hover shade) are supporting/derived
 * tokens — intentionally NOT bridged (§5.4, primary-surface rebrand only).
 * Registry: src/lib/theme/theme-bridge-tokens.ts.
 */
/* ===== velvet-editorial/index.html <style> ===== */
body[data-theme="velvet-editorial"], [data-theme="velvet-editorial"] {
    overflow-x: clip;
    --bg:        var(--vgc-color-background, oklch(97.8% 0.014 80.0));   /* #FBF7EF cream */
    --surface:   oklch(93.5% 0.022 78.5);   /* #F0EAD8 */
    --fg:        var(--vgc-color-foreground, oklch(28.5% 0.022 60.0));   /* #3D3329 warm taupe */
    --muted-fg:  var(--vgc-color-secondary, oklch(49.5% 0.032 62.0));   /* #7C6A59 */
    --subtle-fg: oklch(62.5% 0.025 65.0);
    --hair:      var(--vgc-color-neutral, oklch(76.5% 0.035 75.0));   /* #C9B8A0 hairline */
    --hair-soft: oklch(87.5% 0.020 78.0);
    --burgundy:  var(--vgc-color-primary, oklch(30.0% 0.104 15.5));   /* #5C1F2C */
    --burgundy-h: oklch(42.0% 0.090 15.0);
    --blush:     var(--vgc-color-accent, oklch(75.0% 0.060 15.0));   /* #D4A5A5 */
    --display: var(--vgc-font-heading, var(--font-cormorant-garamond, 'Cormorant Garamond'), 'Cormorant', Georgia, serif);
    --label:   'Playfair Display', 'Didot', Georgia, serif;
    --body:    var(--vgc-font-body, 'Source Sans 3', system-ui, -apple-system, sans-serif);
    --container: 1200px;
  }
  [data-theme="velvet-editorial"] * { box-sizing: border-box; }
  body[data-theme="velvet-editorial"], [data-theme="velvet-editorial"] {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
  }
  [data-theme="velvet-editorial"] a { color: inherit; text-decoration: none; }

  /* Wordmark — Playfair caps tracking 0.2em burgundy */
  [data-theme="velvet-editorial"] .wordmark {
    font-family: var(--label);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
  }
  [data-theme="velvet-editorial"] .ve-nav-link {
    font-family: var(--body);
    font-size: 13px;
    color: var(--muted-fg);
    transition: color 150ms;
  }
  [data-theme="velvet-editorial"] .ve-nav-link:hover { color: var(--burgundy); }
  [data-theme="velvet-editorial"] .ve-subscribe-btn {
    font-family: var(--body);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
    padding: 8px 18px;
    border-radius: 9999px;
    white-space: nowrap;
    transition: background 150ms, color 150ms;
  }
  [data-theme="velvet-editorial"] .ve-subscribe-btn:hover { background: var(--burgundy); color: var(--bg); }

  /* Header */
  [data-theme="velvet-editorial"] header.site-nav {
    position: sticky; top: 0; z-index: 50;
    background: oklch(97.8% 0.014 80.0 / 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hair);
  }
  [data-theme="velvet-editorial"] .nav-inner {
    max-width: var(--container); margin: 0 auto;
    height: 68px;
    padding: 0 clamp(16px, 4vw, 48px);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
  }
  [data-theme="velvet-editorial"] .nav-links { display: flex; align-items: center; gap: 32px; flex-shrink: 1; min-width: 0; overflow: hidden; }
  [data-theme="velvet-editorial"] .right-side { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
  [data-theme="velvet-editorial"] .member-disc {
    width: 32px; height: 32px;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid var(--hair);
    color: var(--fg);
    font-family: var(--label);
    font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* Hero — full-bleed editorial cover */
  [data-theme="velvet-editorial"] .hero {
    position: relative;
    width: 100%;
    height: 70vh; min-height: 500px; max-height: 760px;
    overflow: hidden;
    background-color: var(--surface);
    background-image:
      linear-gradient(to top, oklch(5% 0.010 60.0 / 0.70) 0%, oklch(5% 0.010 60.0 / 0.30) 40%, transparent 75%),
      linear-gradient(135deg, var(--burgundy) 0%, var(--surface) 100%);
  }
  [data-theme="velvet-editorial"] .hero-text {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 0 clamp(16px, 4vw, 48px) 48px;
    max-width: var(--container);
    margin: 0 auto;
  }
  [data-theme="velvet-editorial"] .hero-category {
    font-family: var(--label);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blush);
    margin: 0 0 14px;
  }
  [data-theme="velvet-editorial"] .hero-headline {
    font-family: var(--display);
    font-size: clamp(40px, 7vw, 88px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: oklch(97.8% 0.014 80.0);
    margin: 0 0 18px;
    max-width: 760px;
  }
  [data-theme="velvet-editorial"] .hero-deck {
    font-size: 16px;
    line-height: 1.6;
    color: oklch(90.0% 0.010 80.0);
    max-width: 540px;
    margin: 0;
  }

  /* Category strip */
  [data-theme="velvet-editorial"] .strip-wrap { border-bottom: 1px solid var(--hair); }
  [data-theme="velvet-editorial"] .category-strip {
    max-width: var(--container); margin: 0 auto;
    padding: 14px clamp(16px, 4vw, 48px);
    display: flex; gap: 28px;
    overflow-x: auto; scrollbar-width: none;
  }
  [data-theme="velvet-editorial"] .category-strip::-webkit-scrollbar { display: none; }
  [data-theme="velvet-editorial"] .category-strip .cat {
    font-family: var(--label);
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    padding-bottom: 4px;
    white-space: nowrap;
  }
  [data-theme="velvet-editorial"] .category-strip .cat.active { border-bottom: 1px solid var(--burgundy); }

  /* Editorial grid */
  [data-theme="velvet-editorial"] .grid-wrap {
    max-width: var(--container); margin: 0 auto;
    padding: 64px clamp(16px, 4vw, 48px) 0;
  }
  [data-theme="velvet-editorial"] .row-1 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    margin-bottom: 16px;
  }
  @media (max-width: 800px) { [data-theme="velvet-editorial"] .row-1 { grid-template-columns: 1fr; } }
  [data-theme="velvet-editorial"] .article-card { display: block; }
  [data-theme="velvet-editorial"] .article-card .img {
    width: 100%; aspect-ratio: 2/3;
    margin-bottom: 20px;
    background-size: cover; background-position: center;
  }
  [data-theme="velvet-editorial"] .img-1 { background-image: linear-gradient(135deg, var(--burgundy) 0%, var(--surface) 100%); }
  [data-theme="velvet-editorial"] .img-2 { background-image: linear-gradient(135deg, var(--surface) 0%, var(--burgundy-h) 100%); }
  [data-theme="velvet-editorial"] .img-3 { background-image: linear-gradient(160deg, var(--burgundy-h) 0%, var(--hair) 100%); }
  [data-theme="velvet-editorial"] .img-4 { background-image: linear-gradient(135deg, var(--surface) 0%, var(--blush) 100%); }
  [data-theme="velvet-editorial"] .img-5 { background-image: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-h) 100%); }
  [data-theme="velvet-editorial"] .img-6 { background-image: linear-gradient(160deg, var(--hair) 0%, var(--surface) 100%); }
  [data-theme="velvet-editorial"] .ve-category {
    font-family: var(--label);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
  }
  [data-theme="velvet-editorial"] .art-title-lg {
    font-family: var(--display);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.005em;
    color: var(--fg);
    margin: 10px 0 10px;
  }
  [data-theme="velvet-editorial"] .article-card:hover .art-title-lg, [data-theme="velvet-editorial"] .article-card:hover .art-title-sm { color: var(--burgundy); }
  [data-theme="velvet-editorial"] .art-date {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-fg);
  }

  /* Pull-quote interlude */
  [data-theme="velvet-editorial"] .pull-quote-wrap {
    text-align: center;
    padding: 64px clamp(16px, 4vw, 48px);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    margin: 0 0 16px;
  }
  [data-theme="velvet-editorial"] .pull-quote-mark {
    font-family: var(--display);
    font-size: 120px;
    line-height: 0.6;
    font-style: italic;
    color: var(--blush);
    margin: 0 0 14px;
    user-select: none;
  }
  [data-theme="velvet-editorial"] .pull-quote {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--fg);
    margin: 0 auto;
    max-width: 860px;
  }
  [data-theme="velvet-editorial"] .pull-quote-cite {
    margin-top: 24px;
    font-family: var(--label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
  }

  /* Row 2 — 4-col */
  [data-theme="velvet-editorial"] .row-2 {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
    padding-bottom: 96px;
  }
  @media (max-width: 1000px) { [data-theme="velvet-editorial"] .row-2 { grid-template-columns: repeat(2, 1fr); } }
  [data-theme="velvet-editorial"] .row-2 .img { aspect-ratio: 3/4; margin-bottom: 14px; }
  [data-theme="velvet-editorial"] .art-title-sm {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--fg);
    margin: 8px 0 8px;
  }

  /* Newsletter section */
  [data-theme="velvet-editorial"] .newsletter {
    background: var(--surface);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    text-align: center;
    padding: 80px clamp(16px, 4vw, 48px);
  }
  [data-theme="velvet-editorial"] .nl-inner { max-width: 480px; margin: 0 auto; }
  [data-theme="velvet-editorial"] .nl-label {
    font-family: var(--label);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin: 0 0 14px;
  }
  [data-theme="velvet-editorial"] .nl-headline {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--fg);
    margin: 0 0 14px;
  }
  [data-theme="velvet-editorial"] .nl-deck {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-fg);
    margin: 0 0 28px;
  }
  [data-theme="velvet-editorial"] .nl-cta {
    display: inline-block;
    background: var(--burgundy);
    color: var(--bg);
    font-family: var(--body);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: 9999px;
    transition: background 150ms;
  }
  [data-theme="velvet-editorial"] .nl-cta:hover { background: var(--burgundy-h); }

  /* Footer */
  [data-theme="velvet-editorial"] footer.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--hair);
  }
  [data-theme="velvet-editorial"] .footer-inner {
    max-width: var(--container); margin: 0 auto;
    padding: 64px clamp(16px, 4vw, 48px) 40px;
  }
  [data-theme="velvet-editorial"] .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 48px;
  }
  @media (max-width: 800px) { [data-theme="velvet-editorial"] .footer-grid { grid-template-columns: 1fr 1fr; } }
  [data-theme="velvet-editorial"] .col-head {
    font-family: var(--label);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin: 0 0 14px;
  }
  [data-theme="velvet-editorial"] .col-link-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
  }
  [data-theme="velvet-editorial"] .footer-brief {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted-fg);
    max-width: 220px;
    margin: 12px 0 0;
  }
  [data-theme="velvet-editorial"] .footer-bottom {
    border-top: 1px solid var(--hair);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted-fg);
  }
  [data-theme="velvet-editorial"] .powered {
    font-family: var(--label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    border: 1px solid var(--hair);
    padding: 6px 12px;
    border-radius: 2px;
  }

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

/* ===== S-6: Page-builder block token bridge =====
 * Maps generic --vb-* block renderer variables to Velvet Editorial's
 * own --bg / --fg / --burgundy theme tokens, scoped to the <main>
 * element so the rule never escapes the content area.
 * The chrome (header, footer) is unaffected.
 * Other themes are unaffected — this rule lives inside [data-theme="velvet-editorial"].
 */
/* ===== Responsive overhaul (Sprint K Phase 2) ===== */
/* S-78 fix: raised hamburger threshold from 1023px to 1279px.
 * Chloenoir tenant has 7 nav items + "Chloe Noir" Playfair wordmark (0.2em tracking).
 * Combined minimum content width ~912px leaves only ~14-30px slack at 1024px viewport.
 * Web font rendering (Playfair Display) widens wordmark beyond system-font estimate,
 * causing overflow + body overflow-x:hidden clipping "Beauty" link at left edge.
 * Fix: hide desktop nav at <1280px (xl breakpoint) and show hamburger via CSS override. */
@media (max-width: 1279px) {
  [data-theme="velvet-editorial"] .nav-links { display: none; }
  [data-theme="velvet-editorial"] .right-side { display: none; }
}

/* ===== Old-30 Bespoke Parity Wave 1 — VelvetEditorialMobileMenu hamburger =====
 * S-78 fix folded into ONE rule (2026-07-08): the bespoke trigger is hidden
 * by default and shown < 1280px, covering both the original <1024px collapse
 * AND the S-78 1024-1279px gap (chloenoir 7-nav-item overflow) that used to
 * need a separate override on top of ThemeMobileMenu's Tailwind `lg:hidden`.
 * Hairline-bordered burgundy box, echoes .ve-subscribe-btn framing. */
[data-theme="velvet-editorial"] .ve-mm-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--burgundy);
  border-radius: 6px;
  background: transparent;
  color: var(--burgundy);
  cursor: pointer;
}
[data-theme="velvet-editorial"] .ve-mm-hamburger:hover {
  background: var(--surface);
}
@media (max-width: 1279px) {
  [data-theme="velvet-editorial"] .ve-mm-hamburger {
    display: inline-flex;
  }
}

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

/* Footer column reflow */
@media (max-width: 767px) {
  [data-theme="velvet-editorial"] .footer-grid { grid-template-columns: 1fr !important; gap: 32px; }
  [data-theme="velvet-editorial"] .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (min-width: 640px) and (max-width: 1279px) {
  [data-theme="velvet-editorial"] .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

[data-theme="velvet-editorial"] 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(--hair);
  --vb-color-primary:     var(--burgundy);
  --vb-color-primary-bg:  var(--surface);
  --vb-color-primary-fg:  var(--bg);
  --vb-color-cta-btn-bg:  var(--burgundy);
  --vb-color-cta-btn-fg:  var(--bg);
  --vb-color-secondary:   var(--muted-fg);
  --vb-heading-font:      var(--display);
}
