/* NOIRIX: Behind the scenes (owner batch 4, item 6). Site chrome copied from about.html so the page matches; page styles below. */

:root {
      --bg: #000;
      --panel: #070707;
      --text: #f4f0e9;
      --muted: rgba(244, 240, 233, 0.66);
      --soft: rgba(244, 240, 233, 0.45);
      --line: rgba(244, 240, 233, 0.12);
      --gold: #c9a96e;
      --max: 1180px;
      --display: "Cormorant Garamond", Georgia, serif;
      --body: Inter, "Helvetica Neue", Arial, sans-serif;
    }

*, *::before, *::after { box-sizing: border-box; }

html { min-height: 100%; background: #000; scroll-behavior: smooth; }

body {
      min-height: 100vh;
      margin: 0;
      background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.88), #000 52%),
        #000;
      color: var(--text);
      font-family: var(--body);
      letter-spacing: 0;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.site-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px clamp(18px, 4vw, 46px);
      border-bottom: 1px solid rgba(244, 240, 233, 0.08);
      background: rgba(0, 0, 0, 0.74);
      backdrop-filter: blur(18px) saturate(150%);
      -webkit-backdrop-filter: blur(18px) saturate(150%);
    }

.nav-brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

.nav-logo {
      width: 34px;
      height: 34px;
      object-fit: contain;
      filter: drop-shadow(0 0 18px rgba(201, 169, 110, 0.22));
    }

.nav-wordmark {
      display: block;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.24em;
      text-transform: uppercase;
    }

.nav-tagline {
      display: block;
      margin-top: 4px;
      color: var(--gold);
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
    }

.nav-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(14px, 2.2vw, 28px);
      margin: 0;
      padding: 0;
      list-style: none;
    }

.nav-links a {
      color: rgba(244, 240, 233, 0.72);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      transition: color 180ms ease;
    }

.nav-links a:hover,
    .nav-links a:focus-visible,
    .nav-links a[aria-current="page"] {
      color: var(--text);
      outline: none;
    }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.about-back {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 15px;
      border: 1px solid rgba(244, 240, 233, 0.18);
      border-radius: 4px;
      background: rgba(5, 5, 5, 0.68);
      color: rgba(244, 240, 233, 0.82);
      font: inherit;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.18em;
      line-height: 1;
      text-transform: uppercase;
      cursor: pointer;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

.about-back:hover,
    .about-back:focus-visible {
      color: var(--text);
      border-color: rgba(201, 169, 110, 0.72);
      background: rgba(0, 0, 0, 0.84);
      outline: none;
      transform: translateY(-1px);
    }

.nav-icon-btn {
      display: none;
      place-items: center;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(244, 240, 233, 0.18);
      border-radius: 4px;
      background: rgba(8, 8, 8, 0.72);
      color: var(--text);
    }

.nav-icon-btn span {
      display: block;
      width: 18px;
      height: 2px;
      margin: 3px 0;
      border-radius: 99px;
      background: currentColor;
    }

.site-footer {
      padding: 76px clamp(20px, 5vw, 64px) 40px;
      border-top: 1px solid var(--line);
      background: #000;
    }

.footer-grid {
      width: min(100%, var(--max));
      margin: 0 auto 40px;
      display: grid;
      grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(118px, 1fr));
      gap: 44px;
      padding-bottom: 44px;
      border-bottom: 1px solid var(--line);
    }

.footer-brand-wordmark,
    .footer-col-title {
      margin-bottom: 18px;
      color: var(--text);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.26em;
      text-transform: uppercase;
    }

.footer-brand-tag {
      margin-bottom: 18px;
      color: var(--gold);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
    }

.footer-brand-desc,
    .footer-response-note {
      max-width: 270px;
      color: var(--soft);
      font-size: 13px;
      line-height: 1.8;
    }

.footer-col-links {
      display: grid;
      gap: 12px;
    }

.footer-col-links a {
      color: var(--soft);
      font-size: 13px;
      line-height: 1.35;
      transition: color 180ms ease;
    }

.footer-col-links a:hover,
    .footer-col-links a:focus-visible {
      color: var(--text);
      outline: none;
    }

.footer-bottom {
      width: min(100%, var(--max));
      margin: 0 auto;
      display: flex;
      justify-content: center;
      text-align: center;
    }

.footer-copyright {
      margin: 0;
      color: rgba(244, 240, 233, 0.36);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

@media (max-width: 980px) {
      .nav-links { display: none; }
      .story-section,
      .closing-section {
        grid-template-columns: 1fr;
      }
      .story-section > .section-title {
        position: static !important;
        grid-column: 1 / -1;
        grid-row: auto;
      }
      .story-section > .story-copy {
        grid-column: 1 / -1;
        grid-row: auto;
      }
      .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .footer-grid > div:first-child {
        grid-column: 1 / -1;
      }
    }

@media (max-width: 640px) {
      .site-nav {
        min-height: 70px;
        padding: 14px 16px;
        gap: 14px;
      }
      .nav-brand { max-width: calc(100% - 86px); }
      .nav-logo { width: 30px; height: 30px; }
      .nav-wordmark { font-size: 12px; letter-spacing: 0.18em; }
      .nav-tagline { font-size: 8px; }
      .about-back {
        min-height: 36px;
        padding: 0 12px;
        font-size: 9px;
        letter-spacing: 0.16em;
      }
      .about-hero {
        min-height: auto;
        display: block;
        padding: 116px 18px 64px;
      }
      body.has-noirix-bottom-nav .about-hero,
      body.has-niorix-bottom-nav .about-hero {
        padding-bottom: 74px;
      }
      .about-hero::before {
        background:
          linear-gradient(180deg, rgba(0, 0, 0, 0.58), #000 94%),
          linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.22));
      }
      h1 {
        max-width: 100%;
        font-size: clamp(42px, 13vw, 66px);
        line-height: 0.94;
      }
      .hero-subtext {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.72;
      }
      .story-section {
        padding: 64px 18px 70px;
        gap: 30px;
        display: flex;
        flex-direction: column;
      }
      .story-section > .section-title,
      .story-section > .story-copy {
        width: 100%;
      }
      .section-title h2 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.02;
      }
      .story-copy {
        font-size: 15px;
        line-height: 1.86;
      }
      .values-section {
        padding: 0 18px 76px;
      }
      .values-grid {
        grid-template-columns: 1fr;
      }
      .value-item {
        min-height: 160px;
      }
      .closing-section {
        padding: 72px 18px;
      }
      .btn { width: 100%; }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 22px;
      }
      .footer-bottom { justify-content: center; }
      body.has-noirix-bottom-nav,
      body.has-niorix-bottom-nav {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
      }
      body.has-noirix-bottom-nav .site-footer,
      body.has-niorix-bottom-nav .site-footer {
        padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
      }
    }

/* ---------------------------------------------------------------- Behind the scenes */
.bts-main { max-width: var(--max); margin: 0 auto; padding: 128px clamp(18px, 4vw, 46px) 96px; }
.bts-eyebrow { margin: 0; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.bts-title { margin: 8px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; }
.bts-lede { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.bts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; margin-top: 48px; }
.bts-card { display: grid; gap: 10px; }
.bts-cover { position: relative; overflow: hidden; border-radius: 4px; background: var(--panel); aspect-ratio: 4 / 5; }
.bts-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.bts-card:hover .bts-cover img, .bts-card:focus-visible .bts-cover img { transform: scale(1.03); }
.bts-film { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.62); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.bts-film::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.bts-card-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.bts-card-deck { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.bts-state { margin-top: 48px; color: var(--muted); }

.bts-post { display: grid; gap: 28px; max-width: 760px; margin: 0 auto; }
.bts-back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.bts-film-frame { position: relative; overflow: hidden; border-radius: 4px; background: var(--panel); }
.bts-film-frame video, .bts-film-frame iframe { display: block; width: 100%; border: 0; background: #000; }
.bts-film-frame video { max-height: 78vh; }
.bts-film-frame iframe { aspect-ratio: 16 / 9; }
.bts-film-frame.is-tiktok iframe { aspect-ratio: 9 / 16; max-height: 78vh; }
.bts-section-title { margin: 0 0 10px; color: var(--muted); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.bts-body { margin: 0; font-size: 17px; line-height: 1.7; white-space: pre-line; }
.bts-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bts-tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.bts-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.bts-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; scroll-snap-align: start; background: var(--panel); }
.bts-pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bts-piece { display: grid; gap: 8px; }
.bts-piece img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--panel); }
.bts-piece span { font-size: 14px; }
.bts-neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.bts-neighbours a { display: grid; gap: 6px; }
.bts-neighbours a:last-child { text-align: right; }
.bts-neighbours small { color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.bts-more { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 42%); gap: 16px; overflow-x: auto; }
.bts-more .bts-card-title { font-size: 20px; }
@media (max-width: 640px) {
  .bts-main { padding-top: 104px; }
  .bts-grid { grid-template-columns: 1fr; gap: 32px; }
  .bts-gallery { grid-auto-columns: 88%; }
  .bts-more { grid-auto-columns: 64%; }
}
@media (prefers-reduced-motion: reduce) {
  .bts-cover img { transition: none; }
}

/* Owner batch 5: Behind the scenes = the NOIRIX YouTube channel. */
.bts-channel-head { display: grid; gap: 22px; }
.bts-channel-cover { position: relative; aspect-ratio: 21 / 8; border-radius: 4px; background-color: var(--panel); background-size: cover; background-repeat: no-repeat; overflow: hidden; }
.bts-channel-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.62) 100%); }
.bts-channel-cover .bts-eyebrow { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: var(--text); }
.bts-channel-id { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.bts-channel-id .bts-title { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.bts-avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line); background: #000; overflow: hidden; }
.bts-avatar img { width: 52px; height: 52px; object-fit: contain; }
.bts-subscribe { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 0 22px; border-radius: 2px; background: var(--text); color: #0b0b0b; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.bts-subscribe.is-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.bts-subscribe:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bts-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bts-featured { display: grid; gap: 14px; margin-top: 44px; }
.bts-featured-text { display: grid; gap: 6px; max-width: 760px; color: var(--text); text-decoration: none; }
.bts-more-link { color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.bts-stage { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: #000; aspect-ratio: 16 / 9; }
.bts-stage.is-short { --stage-h: min(78vh, 760px); aspect-ratio: auto; height: var(--stage-h); }
.bts-stage iframe, .bts-stage .bts-play { display: block; width: 100%; height: 100%; border: 0; background: #000; }
/* Explicit size: an iframe would otherwise keep 100% width. */
.bts-stage.is-short iframe, .bts-stage.is-short .bts-play { width: calc(var(--stage-h) * 9 / 16); height: 100%; max-width: 100%; }
.bts-play { position: relative; padding: 0; cursor: pointer; }
.bts-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bts-play-icon { position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; border: 1px solid var(--text); background: rgba(0, 0, 0, 0.55); }
.bts-play-icon::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -10px 0 0 -6px; border-left: 18px solid var(--text); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.bts-play-icon.is-small { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.bts-play-icon.is-small::before { margin: -7px 0 0 -4px; border-left-width: 13px; border-top-width: 7px; border-bottom-width: 7px; }
.bts-play:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.bts-length { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.7); color: var(--text); font-size: 11px; letter-spacing: 0.08em; }
.bts-video-card .bts-cover { aspect-ratio: 16 / 9; }
.bts-video-card.is-short .bts-cover { aspect-ratio: 9 / 16; }
.bts-grid.is-shorts { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.bts-card-title.is-small, .bts-more .bts-card-title { font-size: 18px; }
.bts-title.is-video { font-size: clamp(30px, 4vw, 48px); }
.bts-post .bts-stage.is-short { --stage-h: min(76vh, 720px); }
@media (max-width: 640px) {
  .bts-channel-cover { aspect-ratio: 16 / 9; }
  .bts-channel-id { grid-template-columns: auto 1fr; }
  .bts-channel-id .bts-subscribe { grid-column: 1 / -1; }
  .bts-grid.is-shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .bts-stage.is-short, .bts-post .bts-stage.is-short { --stage-h: min(70vh, 640px); }
}
