@layer reset, tokens, base, layout, components, utilities, print;

@layer reset {
  html, body, main, header, footer, section, article, aside, nav, div,
  figure, figcaption, blockquote, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd,
  a, button, form, fieldset, input, textarea, select, img, picture, svg,
  dialog, iframe, span {
    box-sizing: border-box;
  }

  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
    margin: 0;
  }

  ul[role="list"], ol[role="list"] {
    list-style: none;
    padding: 0;
  }

  img, picture, svg {
    display: block;
    max-inline-size: 100%;
  }

  img {
    block-size: auto;
  }

  button, input, textarea, select {
    font: inherit;
    color: inherit;
  }
}

@layer tokens {
  :root {
    color-scheme: dark;

    /* Tier 1 — Obsidian, Forged Steel & Ultraviolet Flame palette */
    --void-950: #060509;
    --void-900: #0c0a12;
    --steel-850: #120f1b;
    --steel-800: #191525;
    --steel-700: #251f36;

    --chrome-100: #f4f3f8;
    --chrome-200: #cfcbdc;
    --chrome-300: #a59fb8;

    --flame-700: #6b21a8;
    --flame-600: #7e22ce;
    --flame-500: #9333ea;
    --flame-400: #c084fc;
    --flame-300: #d8b4fe;
    --ember-400: #e879f9;

    --spotify-green: #1ed760;
    --danger-400: #fb7185;

    /* Tier 2 — Semantic tokens */
    --bg-canvas: var(--void-950);
    --bg-surface: var(--steel-850);
    --bg-elevated: var(--steel-800);
    --bg-interactive: var(--steel-700);

    --text-primary: var(--chrome-100);
    --text-secondary: var(--chrome-200);
    --text-muted: var(--chrome-300);
    --text-accent: var(--flame-300);

    --accent-solid: var(--flame-600);
    --accent-solid-hover: var(--flame-700);
    --accent-glow: rgb(168 85 247 / 0.28);
    --border-subtle: rgb(216 180 254 / 0.14);
    --border-strong: rgb(216 180 254 / 0.34);
    --focus-ring: var(--ember-400);

    /* Typography */
    --font-display: 'Oswald', 'Arial Narrow', 'Impact', sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

    /* Fluid type scale (max <= 2.5 * min for WCAG 200% zoom) */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
    --text-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
    --text-h2: clamp(1.85rem, 1.35rem + 1.8vw, 3rem);
    --text-h1: clamp(2.4rem, 1.65rem + 2.8vw, 4.4rem);

    /* Spacing & Radii */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: clamp(3.5rem, 2.5rem + 4vw, 6.25rem);

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.125rem;
    --radius-pill: 999px;

    --container-max: 76rem;
    --header-offset: 4.75rem;

    /* Scrollbar theming */
    --scrollbar-track: var(--void-900);
    --scrollbar-thumb: #5c4b7d;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    accent-color: var(--flame-400);
  }

  @supports not (scrollbar-color: auto) {
    html {
      scrollbar-width: auto;
    }
    html::-webkit-scrollbar {
      inline-size: 11px;
    }
    html::-webkit-scrollbar-track {
      background: var(--scrollbar-track);
    }
    html::-webkit-scrollbar-thumb {
      background: var(--scrollbar-thumb);
      border-radius: 6px;
    }
  }
}

@layer base {
  html {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    scroll-padding-top: calc(var(--header-offset) + 1rem);
  }

  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

  body {
    min-block-size: 100dvh;
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--text-primary);
  }

  h1 { font-size: var(--text-h1); }
  h2 { font-size: var(--text-h2); }
  h3 { font-size: var(--text-h3); }

  p, blockquote {
    text-wrap: pretty;
    overflow-wrap: break-word;
  }

  a {
    color: var(--text-accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.22em;
  }

  a:hover {
    color: var(--chrome-100);
  }

  :where(a:any-link, button, input, textarea, select, [tabindex="-1"]):focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
  }

  ::selection {
    background-color: var(--flame-600);
    color: #ffffff;
  }
}

@layer layout {
  .container {
    inline-size: min(100% - 2rem, var(--container-max));
    margin-inline: auto;
  }

  .section {
    padding-block: var(--space-8);
    position: relative;
  }

  .section + .section {
    border-block-start: 1px solid var(--border-subtle);
  }

  .section-header {
    margin-block-end: var(--space-6);
    max-inline-size: 46rem;
  }

  .section-header-compact {
    margin-block-end: var(--space-4);
  }

  .section-header-split {
    max-inline-size: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
  }

  .section-desc {
    margin-block-start: var(--space-3);
    color: var(--text-secondary);
    font-size: var(--text-lg);
    max-inline-size: 62ch;
  }

  .eyebrow {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-block-end: var(--space-2);
  }

  .subhead {
    font-size: var(--text-h3);
    margin-block-end: var(--space-4);
    color: var(--chrome-100);
  }

  /* Decorative scroll-driven reveal — gated cleanly for full support + reduced motion */
  @media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
      @keyframes section-rise {
        from {
          opacity: 0.35;
          transform: translateY(1.5rem);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .reveal-section {
        animation: section-rise linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 28%;
      }
    }
  }
}

@layer components {
  /* Skip link */
  .skip-link {
    position: fixed;
    inset-block-start: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 1000;
    background: var(--accent-solid);
    color: #ffffff;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
  }

  /* Buttons (base styles declared BEFORE responsive header visibility overrides) */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-block-size: 2.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  }

  .btn-sm {
    min-block-size: 2.35rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }

  .btn-lg {
    min-block-size: 3.1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .btn-primary {
    background-color: var(--accent-solid);
    color: #ffffff;
    border-color: rgb(216 180 254 / 0.45);
    box-shadow: 0 0 24px -6px var(--accent-glow);
  }

  .btn-primary:hover:not(:disabled) {
    background-color: var(--accent-solid-hover);
    color: #ffffff;
    border-color: var(--flame-300);
    box-shadow: 0 0 32px -4px rgb(192 132 252 / 0.5);
  }

  .btn-secondary {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-strong);
  }

  .btn-secondary:hover:not(:disabled) {
    background-color: var(--bg-interactive);
    color: var(--text-primary);
    border-color: var(--flame-400);
  }

  .btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: var(--border-subtle);
  }

  .btn-ghost:hover:not(:disabled) {
    background-color: rgb(216 180 254 / 0.1);
    color: var(--text-primary);
    border-color: var(--border-strong);
  }

  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 2.75rem;
    min-block-size: 2.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease;
  }

  .icon-btn:hover:not(:disabled) {
    background-color: var(--bg-interactive);
    border-color: var(--flame-400);
  }

  .icon {
    inline-size: 1.15em;
    block-size: 1.15em;
    flex-shrink: 0;
  }

  /* Sticky Header */
  .site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 50;
    background-color: rgb(6 5 9 / 0.86);
    backdrop-filter: blur(14px);
    border-block-end: 1px solid var(--border-subtle);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-block-size: var(--header-offset);
    padding-block: 0.5rem;
  }

  .brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text-primary);
    min-inline-size: 0;
  }

  .brand-mark {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-inline-size: 0;
  }

  .brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .brand-meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .primary-nav {
    display: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }

  .nav-list a {
    display: inline-flex;
    align-items: center;
    min-block-size: 2.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.16s ease, background-color 0.16s ease;
  }

  .nav-list a:hover {
    color: var(--text-primary);
    background-color: rgb(216 180 254 / 0.1);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .header-pdf-btn,
  .header-book-btn {
    display: none;
    white-space: nowrap;
  }

  @media (min-width: 66rem) {
    .primary-nav {
      display: block;
    }
    .header-pdf-btn,
    .header-book-btn {
      display: inline-flex;
    }
    .mobile-menu-btn {
      display: none;
    }
  }

  /* HERO */
  .hero {
    position: relative;
    min-block-size: calc(100dvh - var(--header-offset));
    display: grid;
    place-items: center;
    padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem);
    overflow: hidden;
  }

  .hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(60% 52% at 50% 24%, rgb(147 51 234 / 0.26) 0%, rgb(107 33 168 / 0.08) 48%, transparent 76%),
      radial-gradient(45% 40% at 50% 100%, rgb(217 70 239 / 0.09) 0%, transparent 70%),
      repeating-linear-gradient(
        90deg,
        rgb(255 255 255 / 0.015) 0 1px,
        transparent 1px 4rem
      );
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-crest-wrap {
    inline-size: min(76vw, 20.5rem);
    margin-block-end: var(--space-2);
    filter: drop-shadow(0 0 38px rgb(168 85 247 / 0.34));
  }

  .hero-crest {
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 837 / 795;
  }

  .hero-eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background-color: rgb(25 21 37 / 0.9);
    border: 1px solid var(--border-strong);
    margin-block-end: var(--space-3);
  }

  .hero-eyebrow .sep {
    color: var(--flame-400);
  }

  .hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.8rem, 0.72rem + 0.35vw, 0.95rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    color: var(--text-muted);
  }

  .hero-lead {
    margin-block-start: var(--space-3);
    max-inline-size: 56ch;
    color: var(--text-secondary);
    font-size: var(--text-lg);
  }

  .hero-cta-group {
    margin-block-start: var(--space-4);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .platform-strip {
    margin-block-start: var(--space-5);
    inline-size: 100%;
  }

  .platform-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
  }

  .platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-block-size: 2.75rem;
    padding: 0.5rem 1.05rem;
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 600;
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
  }

  .platform-pill:hover {
    background-color: var(--bg-elevated);
    border-color: var(--flame-400);
    color: var(--text-primary);
  }

  @media (prefers-reduced-motion: no-preference) {
    .platform-pill:hover {
      transform: translateY(-2px);
    }
  }

  .platform-pill .platform-dot {
    inline-size: 1.1rem;
    block-size: 1.1rem;
    flex-shrink: 0;
  }

  .platform-spotify:hover { border-color: #1ed760; }
  .platform-apple:hover { border-color: #fa243c; }
  .platform-ytmusic:hover,
  .platform-youtube:hover { border-color: #ff3b30; }
  .platform-facebook:hover { border-color: #4c9aff; }

  /* LISTEN & SPOTIFY CONSOLE */
  .listen-console {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: start;
  }

  @media (min-width: 58rem) {
    .listen-console {
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    }
  }

  .rack-panel {
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: 0 22px 60px -24px rgb(0 0 0 / 0.85);
  }

  .rack-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-block-end: var(--space-4);
    padding-block-end: var(--space-3);
    border-block-end: 1px solid var(--border-subtle);
  }

  .playback-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
  }

  .eq-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    inline-size: 0.95rem;
    block-size: 0.95rem;
  }

  .eq-bars span {
    display: block;
    inline-size: 3px;
    block-size: 45%;
    border-radius: 1px;
    background-color: var(--flame-400);
  }

  .eq-bars span:nth-child(2) { block-size: 80%; }
  .eq-bars span:nth-child(3) { block-size: 55%; }

  .playback-indicator[data-playing="true"] {
    color: var(--spotify-green);
  }

  .playback-indicator[data-playing="true"] .eq-bars span {
    background-color: var(--spotify-green);
  }

  @media (prefers-reduced-motion: no-preference) {
    @keyframes eq-pulse {
      0%, 100% { transform: scaleY(0.35); }
      50% { transform: scaleY(1); }
    }

    .playback-indicator[data-playing="true"] .eq-bars span {
      transform-origin: bottom;
      animation: eq-pulse 0.9s ease-in-out infinite;
    }
    .playback-indicator[data-playing="true"] .eq-bars span:nth-child(2) {
      animation-delay: 0.2s;
    }
    .playback-indicator[data-playing="true"] .eq-bars span:nth-child(3) {
      animation-delay: 0.4s;
    }
  }

  .rack-badge {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    background-color: rgb(126 34 206 / 0.28);
    border: 1px solid rgb(216 180 254 / 0.35);
    color: var(--text-accent);
  }

  .rack-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-block-end: var(--space-4);
  }

  .mode-pill {
    min-block-size: 2.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background-color: var(--void-900);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  }

  .mode-pill:hover:not([aria-pressed="true"]) {
    border-color: var(--border-strong);
    color: var(--text-primary);
  }

  .mode-pill[aria-pressed="true"] {
    background-color: var(--accent-solid);
    border-color: var(--flame-300);
    color: #ffffff;
  }

  .spotify-embed-shell {
    border-radius: 12px;
    background-color: #121212;
    min-block-size: 352px;
  }

  .spotify-embed-shell iframe {
    display: block;
    inline-size: 100%;
    border: 0;
    border-radius: 12px;
  }

  .stream-credit-note {
    margin-block-start: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background-color: rgb(30 215 96 / 0.08);
    border: 1px solid rgb(30 215 96 / 0.25);
    color: var(--text-secondary);
    font-size: var(--text-sm);
  }

  .stream-credit-note .icon {
    color: var(--spotify-green);
    margin-block-start: 0.15rem;
  }

  .inline-link {
    font-weight: 600;
    white-space: nowrap;
  }

  /* Discography Track Cards */
  .track-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .track-card {
    container-type: inline-size;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    transition: border-color 0.16s ease, background-color 0.16s ease;
  }

  .track-card[data-active="true"] {
    background-color: var(--bg-elevated);
    border-color: var(--flame-400);
    box-shadow: 0 0 0 1px rgb(192 132 252 / 0.35);
  }

  .track-card-inner {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    gap: var(--space-4);
    align-items: start;
  }

  @container (max-width: 24rem) {
    .track-card-inner {
      grid-template-columns: 1fr;
    }
    .track-cover {
      max-inline-size: 7rem;
    }
  }

  .track-cover {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #ffffff;
  }

  .track-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .track-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-primary);
  }

  .track-duration {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
  }

  .track-badge {
    display: inline-block;
    margin-block-start: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    background-color: rgb(147 51 234 / 0.22);
    border: 1px solid rgb(216 180 254 / 0.3);
    color: var(--text-accent);
  }

  .track-meta {
    margin-block-start: 0.45rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
  }

  .track-actions {
    margin-block-start: var(--space-3);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .track-ext-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .mini-link {
    display: inline-flex;
    align-items: center;
    min-block-size: 2.2rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background-color: var(--void-900);
    color: var(--text-secondary);
    font-size: var(--text-xs);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.16s ease, color 0.16s ease;
  }

  .mini-link:hover {
    border-color: var(--flame-400);
    color: var(--text-primary);
  }

  /* Featured Video Facade */
  .video-feature {
    margin-block-start: var(--space-7);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
  }

  .video-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-block-end: var(--space-4);
  }

  .video-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    max-inline-size: 56rem;
    margin-inline: auto;
    border-radius: var(--radius-md);
    background-color: #000000;
    border: 1px solid var(--border-strong);
    overflow: hidden;
  }

  .video-stage iframe {
    inline-size: 100%;
    block-size: 100%;
    border: 0;
  }

  .video-facade-btn {
    position: relative;
    display: block;
    inline-size: 100%;
    block-size: 100%;
    padding: 0;
    border: 0;
    background: #000000;
    cursor: pointer;
  }

  .video-thumb {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: opacity 0.2s ease;
  }

  .video-facade-btn:hover .video-thumb {
    opacity: 0.9;
  }

  .video-play-badge {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-pill);
    background-color: rgb(126 34 206 / 0.92);
    border: 1px solid var(--flame-300);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 35px rgb(0 0 0 / 0.65);
  }

  .play-icon {
    inline-size: 1.35rem;
    block-size: 1.35rem;
  }

  /* BIOGRAPHY SECTION */
  .bio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-7);
    align-items: start;
  }

  @media (min-width: 54rem) {
    .bio-grid {
      grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    }
  }

  .editorial-photo-frame {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
  }

  .photo-trigger {
    position: relative;
    display: block;
    inline-size: 100%;
    padding: 0;
    border: 0;
    background: var(--void-900);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
  }

  .bio-photo {
    inline-size: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 22%;
  }

  .photo-zoom-hint {
    position: absolute;
    inset-block-end: 0.75rem;
    inset-inline-end: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-pill);
    background-color: rgb(6 5 9 / 0.85);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
  }

  .editorial-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: 0.75rem 0.25rem 0.15rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
  }

  .bio-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-block-end: var(--space-4);
  }

  .segmented-control {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    gap: 0.25rem;
  }

  .seg-btn {
    min-block-size: 2.25rem;
    padding: 0.35rem 0.85rem;
    border: 0;
    border-radius: calc(var(--radius-sm) - 2px);
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
  }

  .seg-btn[aria-pressed="true"] {
    background-color: var(--accent-solid);
    color: #ffffff;
  }

  .bio-prose {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-inline-size: 62ch;
    font-size: var(--text-lg);
    color: var(--text-secondary);
  }

  .facts-grid {
    margin-block-start: var(--space-6);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: var(--space-3);
  }

  .fact-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
  }

  .fact-item dt {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-accent);
    margin-block-end: 0.25rem;
  }

  .fact-item dd {
    font-weight: 600;
    color: var(--text-primary);
  }

  /* PRESS ACCOLADES */
  .accolades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
    gap: var(--space-5);
  }

  .accolade-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-4);
    background: linear-gradient(155deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
  }

  .accolade-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-accent);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    background-color: rgb(126 34 206 / 0.24);
    border: 1px solid rgb(216 180 254 / 0.32);
  }

  .accolade-headline {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem);
    text-transform: uppercase;
    color: var(--text-primary);
    margin-block-end: 0.45rem;
  }

  .accolade-quote {
    font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.45;
  }

  .accolade-card figcaption {
    padding-block-start: var(--space-3);
    border-block-start: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
    color: var(--text-muted);
  }

  .accolade-card figcaption strong {
    color: var(--text-primary);
  }

  /* MEDIA VAULT */
  .vault-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-block-end: var(--space-5);
  }

  .vault-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .vault-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-block-size: 2.75rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  }

  .vault-tab:hover:not([aria-selected="true"]) {
    border-color: var(--border-strong);
    color: var(--text-primary);
  }

  .vault-tab[aria-selected="true"] {
    background-color: var(--accent-solid);
    border-color: var(--flame-300);
    color: #ffffff;
  }

  .tab-count {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-pill);
    background-color: rgb(6 5 9 / 0.45);
    color: inherit;
  }

  .backdrop-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
  }

  .backdrop-switcher[hidden] {
    display: none;
  }

  .switcher-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
    padding-inline: 0.35rem;
  }

  .chip-btn {
    min-block-size: 2rem;
    padding: 0.25rem 0.65rem;
    border-radius: calc(var(--radius-sm) - 2px);
    border: 1px solid transparent;
    background-color: transparent;
    color: var(--text-secondary);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
  }

  .chip-btn[aria-pressed="true"] {
    background-color: var(--bg-interactive);
    border-color: var(--flame-400);
    color: var(--text-primary);
  }

  .media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
    gap: var(--space-5);
  }

  .media-card {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.16s ease;
  }

  .media-card:hover {
    border-color: var(--border-strong);
  }

  .media-preview-btn {
    position: relative;
    display: block;
    inline-size: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    background-color: #08070c;
    cursor: pointer;
    overflow: hidden;
  }

  .media-preview-btn[data-surface="dark"] {
    background-color: #060509;
  }

  .media-preview-btn[data-surface="light"] {
    background-color: #f4f3f8;
  }

  .media-preview-btn[data-surface="checker"] {
    background-color: #2b2735;
    background-image:
      linear-gradient(45deg, #3c374a 25%, transparent 25%),
      linear-gradient(-45deg, #3c374a 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #3c374a 75%),
      linear-gradient(-45deg, transparent 75%, #3c374a 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  }

  .media-preview-btn img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
  }

  .media-preview-btn[data-kind="logo"] img {
    inset: 1rem;
    inline-size: calc(100% - 2rem);
    block-size: calc(100% - 2rem);
    object-fit: contain;
  }

  .media-badge {
    position: absolute;
    inset-block-start: 0.65rem;
    inset-inline-start: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    background-color: rgb(6 5 9 / 0.86);
    border: 1px solid var(--border-strong);
    color: var(--chrome-100);
  }

  .media-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.45rem;
    padding: var(--space-4);
  }

  .media-title {
    font-family: var(--font-display);
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
  }

  .media-caption {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    flex: 1;
  }

  .media-specs {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
  }

  .media-actions {
    margin-block-start: var(--space-2);
    padding-block-start: var(--space-3);
    border-block-start: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .media-actions > * {
    flex: 1 1 auto;
  }

  .empty-vault-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .empty-vault-card p {
    max-inline-size: 52ch;
    color: var(--text-secondary);
  }

  .press-downloads-bar {
    margin-block-start: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
  }

  .press-bar-copy p {
    margin-block-start: 0.25rem;
    color: var(--text-secondary);
  }

  .press-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  /* TOUR DATES */
  .tour-list {
    display: flex;
    flex-direction: column;
    border-block-start: 1px solid var(--border-strong);
  }

  .tour-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: center;
    padding-block: 1.15rem;
    padding-inline: 0.75rem;
    border-block-end: 1px solid var(--border-subtle);
    transition: background-color 0.16s ease;
  }

  .tour-row:hover {
    background-color: rgb(25 21 37 / 0.6);
  }

  @media (min-width: 44rem) {
    .tour-row {
      grid-template-columns: 8.5rem minmax(0, 1.4fr) minmax(0, 1fr) auto;
      gap: var(--space-4);
    }
  }

  .tour-date {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-accent);
  }

  .tour-venue {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
  }

  .tour-city {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-secondary);
  }

  .tour-note {
    margin-block-start: var(--space-4);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-muted);
  }

  /* CONTACT & BOOKING */
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: start;
  }

  @media (min-width: 56rem) {
    .contact-layout {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
  }

  .contact-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .contact-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
  }

  .contact-card-accent {
    border-color: var(--border-strong);
    background: linear-gradient(160deg, rgb(126 34 206 / 0.16), var(--bg-surface) 60%);
  }

  .contact-detail-list {
    margin-block-start: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-detail-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    background-color: var(--void-900);
    border: 1px solid var(--border-subtle);
  }

  .contact-link {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-primary);
    overflow-wrap: anywhere;
  }

  .copy-chip {
    min-block-size: 2rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background-color: var(--bg-elevated);
    color: var(--text-accent);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    cursor: pointer;
  }

  .copy-chip:hover {
    background-color: var(--accent-solid);
    color: #ffffff;
  }

  .contact-hint {
    margin-block-start: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-muted);
  }

  /* Booking Composer Form */
  .booking-form {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .form-intro {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-block-start: -0.5rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: var(--space-4);
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .field label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
  }

  .field-hint {
    font-size: var(--text-xs);
    color: var(--text-muted);
  }

  .field input,
  .field textarea {
    inline-size: 100%;
    min-block-size: 2.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background-color: var(--void-900);
    color: var(--text-primary);
  }

  .field textarea {
    resize: vertical;
    min-block-size: 5.5rem;
  }

  .field input[aria-invalid="true"],
  .field textarea[aria-invalid="true"] {
    border-color: var(--danger-400);
  }

  .form-error {
    font-size: var(--text-sm);
    color: var(--danger-400);
    font-weight: 600;
  }

  .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* FOOTER */
  .site-footer {
    border-block-start: 1px solid var(--border-subtle);
    background-color: var(--void-900);
    padding-block: var(--space-6);
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  @media (min-width: 52rem) {
    .footer-inner {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
    }
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }

  .footer-mark {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
  }

  .footer-name {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .footer-meta,
  .footer-copy {
    font-size: var(--text-xs);
    color: var(--text-muted);
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-links a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-decoration: none;
  }

  .footer-links a:hover {
    color: var(--text-accent);
    text-decoration: underline;
  }

  /* =========================================================================
     NATIVE <dialog> OVERLAYS — Top-layer animation + overscroll containment
     ========================================================================= */
  dialog:modal {
    overscroll-behavior: contain;
    max-inline-size: calc(100dvw - 1.5rem);
    max-block-size: calc(100dvh - 1.5rem);
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background-color: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: 0 30px 90px rgb(0 0 0 / 0.85);
  }

  dialog::backdrop {
    overflow: hidden;
    overscroll-behavior: contain;
    background-color: rgb(4 3 8 / 0);
    backdrop-filter: blur(0px);
    transition-property: background-color, backdrop-filter, display, overlay;
    transition-duration: 0.25s;
    transition-timing-function: ease-out;
    transition-behavior: allow-discrete;
  }

  dialog {
    opacity: 0;
    transition-property: opacity, transform, display, overlay;
    transition-duration: 0.25s;
    transition-timing-function: ease-out;
    transition-behavior: allow-discrete;

    @media (prefers-reduced-motion: no-preference) {
      transform: scale(0.95);
    }
  }

  :is(dialog[open]):where(:not([data-closing])) {
    opacity: 1;

    @starting-style {
      opacity: 0;
    }

    @media (prefers-reduced-motion: no-preference) {
      transform: scale(1);

      @starting-style {
        transform: scale(0.95);
      }
    }

    &::backdrop {
      background-color: rgb(4 3 8 / 0.82);
      backdrop-filter: blur(8px);

      @starting-style {
        background-color: rgb(4 3 8 / 0);
        backdrop-filter: blur(0px);
      }
    }
  }

  @media (prefers-reduced-motion: reduce) {
    dialog,
    dialog::backdrop {
      transition-duration: 0.1s;
    }
  }

  /* Lightbox specific layout — scoped strictly to dialog[open] */
  .lightbox-dialog {
    inline-size: min(64rem, calc(100dvw - 1.5rem));
  }

  .lightbox-dialog[open] {
    display: flex;
    flex-direction: column;
  }

  .lightbox-surface {
    display: flex;
    flex-direction: column;
    max-block-size: calc(100dvh - 1.5rem);
  }

  .lightbox-header,
  .lightbox-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    background-color: var(--void-900);
  }

  .lightbox-header {
    border-block-end: 1px solid var(--border-subtle);
  }

  .lightbox-footer {
    border-block-start: 1px solid var(--border-subtle);
  }

  .lightbox-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-inline-size: 0;
  }

  .lightbox-counter {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-elevated);
    color: var(--text-accent);
  }

  .lightbox-title {
    font-size: 1.15rem;
  }

  .lightbox-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .lightbox-backdrop-toggle {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.2rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
  }

  .lightbox-backdrop-toggle[hidden] {
    display: none;
  }

  .lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    padding: 1.25rem 3.5rem;
    min-block-size: min(56dvh, 28rem);
    max-block-size: 68dvh;
    overflow: auto;
  }

  .lightbox-stage[data-surface="dark"] {
    background-color: #060509;
  }

  .lightbox-stage[data-surface="light"] {
    background-color: #f4f3f8;
  }

  .lightbox-stage[data-surface="checker"] {
    background-color: #2b2735;
    background-image:
      linear-gradient(45deg, #3c374a 25%, transparent 25%),
      linear-gradient(-45deg, #3c374a 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #3c374a 75%),
      linear-gradient(-45deg, transparent 75%, #3c374a 75%);
    background-size: 22px 22px;
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
  }

  .lightbox-img {
    max-block-size: 62dvh;
    max-inline-size: 100%;
    inline-size: auto;
    block-size: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
  }

  .lightbox-nav {
    position: absolute;
    inset-block-start: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 2.75rem;
    min-block-size: 2.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-strong);
    background-color: rgb(6 5 9 / 0.85);
    color: var(--text-primary);
    cursor: pointer;
  }

  .lightbox-nav:hover {
    background-color: var(--accent-solid);
  }

  .lightbox-prev { inset-inline-start: 0.75rem; }
  .lightbox-next { inset-inline-end: 0.75rem; }

  .lightbox-caption {
    font-size: var(--text-sm);
    color: var(--text-secondary);
  }

  .lightbox-specs {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-block-start: 0.2rem;
  }

  /* Mobile Nav Dialog */
  .mobile-nav-dialog {
    inline-size: min(22rem, calc(100dvw - 2rem));
    margin-inline-start: auto;
    margin-inline-end: 0.75rem;
    margin-block: 0.75rem;
  }

  /* NEWS & DISPATCHES (BAND BLOG) */
  .section-news[hidden] {
    display: none;
  }

  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: var(--space-5);
  }

  .post-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.16s ease;
  }

  .post-card:hover {
    border-color: var(--border-strong);
  }

  .post-card-cover {
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: var(--void-900);
  }

  .post-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: var(--space-5);
    flex: 1;
  }

  .post-card-meta {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .post-card-title {
    font-size: 1.35rem;
  }

  .post-card-excerpt {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    flex: 1;
  }

  .post-card-footer {
    padding-block-start: var(--space-3);
    border-block-start: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .reader-dialog {
    inline-size: min(48rem, calc(100dvw - 1.5rem));
  }

  .reader-dialog[open] {
    display: flex;
    flex-direction: column;
  }

  .reader-surface {
    display: flex;
    flex-direction: column;
    max-block-size: calc(100dvh - 1.5rem);
  }

  .reader-header,
  .reader-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--void-900);
  }

  .reader-header {
    border-block-end: 1px solid var(--border-subtle);
  }

  .reader-footer {
    border-block-start: 1px solid var(--border-subtle);
  }

  .reader-title {
    font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  }

  .reader-body {
    padding: 1.5rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .reader-cover {
    inline-size: 100%;
    max-block-size: 22rem;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
  }

  .reader-prose {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-inline-size: 65ch;
    color: var(--text-secondary);
    font-size: var(--text-lg);
  }

  .reader-prose h3 {
    margin-block-start: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-primary);
  }

  .tour-submeta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-block-start: 0.25rem;
    font-size: var(--text-xs);
    color: var(--text-muted);
  }

  .tour-status-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    color: var(--text-accent);
  }

  .tour-status-pill[data-status="sold-out"],
  .tour-status-pill[data-status="cancelled"] {
    border-color: var(--danger-400);
    color: var(--danger-400);
  }

  .media-main-pill {
    position: absolute;
    inset-block-start: 0.65rem;
    inset-inline-end: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    background-color: var(--accent-solid);
    border: 1px solid var(--flame-300);
    color: #ffffff;
  }

  .mobile-nav-dialog[open] {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-panel {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .mobile-nav-links a {
    display: flex;
    align-items: center;
    min-block-size: 3rem;
    padding-inline: 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-nav-links a:hover {
    background-color: var(--bg-interactive);
  }

  .mobile-nav-cta .btn {
    inline-size: 100%;
  }

  /* Visual Toast */
  .toast {
    position: fixed;
    inset-block-end: 1.25rem;
    inset-inline-start: 50%;
    transform: translateX(-50%) translateY(0.75rem);
    z-index: 90;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-pill);
    background-color: var(--bg-elevated);
    border: 1px solid var(--flame-400);
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    box-shadow: 0 16px 40px rgb(0 0 0 / 0.75);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .toast[data-visible="true"] {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  @media (pointer: coarse) {
    .btn, .mode-pill, .vault-tab, .copy-chip, .chip-btn, .mini-link {
      min-block-size: 2.75rem;
    }
  }

  /* Forced Colors (Windows High Contrast Mode) */
  @media (forced-colors: active) {
    .btn, .rack-panel, .track-card, .media-card, .accolade-card,
    .contact-card, .booking-form, .platform-pill, dialog:modal {
      border: 1px solid ButtonText;
    }
    .vault-tab[aria-selected="true"],
    .mode-pill[aria-pressed="true"],
    .seg-btn[aria-pressed="true"] {
      outline: 2px solid Highlight;
    }
  }
}

@layer utilities {
  .visually-hidden:where(:not(:focus-within, :active)) {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }
}

@layer print {
  @media print {
    :root {
      color-scheme: light;
    }
    body {
      background: #ffffff;
      color: #111111;
      font-size: 11pt;
    }
    .site-header,
    .hero-atmosphere,
    .hero-cta-group,
    .spotify-rack,
    .video-feature,
    .vault-controls,
    .press-downloads-bar,
    .booking-form,
    .copy-chip,
    .bio-toolbar,
    .photo-zoom-hint,
    .toast,
    dialog {
      display: none !important;
    }
    .hero {
      min-block-size: auto;
      padding-block: 0.5rem 1.25rem;
    }
    .hero-crest-wrap {
      max-inline-size: 14rem;
      filter: none;
    }
    .section {
      padding-block: 1rem;
      break-inside: avoid;
    }
    h1, h2, h3, .eyebrow, .tour-date, .contact-link, a {
      color: #111111 !important;
    }
    .track-card, .accolade-card, .contact-card, .fact-item, .media-card, .editorial-photo-frame {
      background: #ffffff !important;
      border: 1px solid #cccccc !important;
      box-shadow: none !important;
    }
    .bio-prose, .section-desc, .accolade-quote, .tour-city {
      color: #222222 !important;
    }
    .media-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}
