/* ==========================================================================
   SFC8 — Watch Me Suffocate — main stylesheet
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #070708;
  --bg-2: #0c0c0e;
  --bg-3: #131316;
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --guide: rgba(255, 255, 255, 0.035);
  --text: #f2f0eb;
  --muted: #a3a09a;
  --dim: #6b6963;
  --accent: #ff2e1f;
  --accent-hot: #ff5a3c;
  --accent-deep: #b3120a;
  --ink: #070708;

  --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --t0: 0s; /* start offset for hero animations; pushed back while the intro plays */

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  --scanlines: repeating-linear-gradient(0deg, rgba(0, 0, 0, .32) 0 1px, transparent 1px 3px);
}
:root.intro { --t0: 1.5s; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Editorial column guides */
body::before {
  content: "";
  position: fixed; top: 0; bottom: 0; left: 50%; z-index: -1;
  width: 100%; max-width: var(--container); transform: translateX(-50%);
  padding-inline: var(--gutter);
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--guide) 1px, transparent 1px), linear-gradient(270deg, var(--guide) 1px, transparent 1px);
  background-size: 25% 100%, 100% 100%;
  background-origin: content-box;
  background-clip: content-box;
}
@media (max-width: 700px) { body::before { background-size: 50% 100%, 100% 100%; } }
/* Film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%; z-index: 100;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.08;
  mix-blend-mode: overlay;
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  padding: 10px 16px; background: var(--accent); color: #000; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.logo { display: block; width: 100%; height: auto; overflow: visible; }
.logo-l, .logo-8 { transform-box: fill-box; transform-origin: 50% 50%; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 10vw, 150px); }
.section--alt { background: var(--bg-2); }

/* ---------- Type ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); flex: none; }

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .86;
  font-size: clamp(3rem, 1.2rem + 7vw, 8.5rem);
}
.display--md { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 5.2rem); }
.display em { font-style: normal; color: var(--accent); }
.display .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 56ch; line-height: 1.6; }
.lead strong { color: var(--text); font-weight: 600; }
.muted { color: var(--muted); }

/* Section heads: index rule + title + lead */
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head__meta {
  position: relative;
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 16px; margin-bottom: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.sec-head__meta::before { content: ""; position: absolute; left: 0; top: -2px; width: 96px; height: 3px; background: var(--accent); }
.sec-head__meta b { color: var(--accent); font-weight: 600; margin-right: 14px; }
.sec-head__body { display: grid; gap: 26px; }
@media (min-width: 960px) {
  .sec-head__body { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 60px; }
  .sec-head__body .lead { margin: 0; justify-self: end; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--line-strong);
  --btn-fill: var(--text); --btn-fill-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  max-width: 100%; text-align: center; text-decoration: none; cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
/* hard diagonal wipe */
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -15%; width: 130%; z-index: -1;
  background: var(--btn-fill);
  transform: translateX(-101%) skewX(-24deg);
  transition: transform .45s var(--ease);
}
.btn:hover { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn:hover::before { transform: translateX(0) skewX(-24deg); }
.btn:active { transform: scale(.97); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: scale(1.15) rotate(-8deg); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #000; --btn-border: var(--accent); --btn-fill: var(--text); --btn-fill-fg: var(--ink); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #000; --btn-border: var(--accent); --btn-fill: var(--text); --btn-fill-fg: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--text); --btn-border: var(--ink); --btn-fill: var(--text); --btn-fill-fg: var(--ink); }
.btn--ink { --btn-fg: var(--ink); --btn-border: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: var(--text); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  padding-bottom: 4px;
  transition: background-size .45s var(--ease);
}
.text-link:hover { background-size: 100% 2px; }
.text-link .icon { transition: transform .35s var(--ease); color: var(--accent); }
.text-link:hover .icon { transform: translate(4px, -4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s, transform .5s var(--ease);
}
/* backwards only: a filling transform would make the header the containing block of the fixed mobile menu */
.js .site-header { animation: drop-in .9s var(--ease) calc(var(--t0) + .2s) backwards; }
@keyframes drop-in { from { transform: translateY(-100%); } }
.site-header.is-scrolled {
  background: rgba(7, 7, 8, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(var(--progress, 0)); transform-origin: left;
  pointer-events: none;
}
.site-header__inner {
  height: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: none; text-decoration: none; }
.brand .logo { width: auto; height: 30px; }
.brand .logo-8 { transition: transform .6s var(--ease); }
.brand:hover .logo-8 { transform: rotate(90deg) scale(.75); }
.brand__sub {
  padding-left: 14px; border-left: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

.nav { margin-inline: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  position: relative; display: flex; align-items: baseline; gap: 6px; padding: 10px 12px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); transition: color .2s;
}
.nav__idx { font-size: .6rem; color: var(--dim); transition: color .2s; }
.nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current] { color: #fff; }
.nav__list a:hover .nav__idx, .nav__list a[aria-current] .nav__idx { color: var(--accent); }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line); }
.lang-switch a {
  padding: 6px 10px; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em;
  text-decoration: none; color: var(--dim); transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current] { background: var(--text); color: var(--ink); }

.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 6px; width: 18px; margin: auto; }
.menu-toggle__bars span { display: block; height: 2px; background: #fff; transition: transform .4s var(--ease), opacity .2s; }
.menu-toggle__bars span:nth-child(2) { width: 60%; justify-self: end; background: var(--accent); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1180px) {
  .brand__sub { display: none; }
  .header-cta span { display: none; }
  .header-cta { width: 42px; padding: 0; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .brand .logo { height: 26px; }
  .site-header__actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
    visibility: hidden;
    overflow-y: auto;
  }
  .nav.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; transition: clip-path .7s var(--ease-in-out); }
  .nav__list { flex-direction: column; gap: 0; border-top: 2px solid var(--ink); }
  .nav__list li { border-bottom: 2px solid var(--ink); overflow: hidden; }
  .nav__list a {
    align-items: center; gap: 18px; padding: 8px 0;
    font-family: var(--font-display); font-weight: 400; letter-spacing: 0;
    font-size: clamp(2.6rem, 12vw, 4.4rem); line-height: 1; color: var(--ink);
    transform: translateY(105%) skewY(6deg); transition: transform .7s var(--ease), color .2s;
  }
  .nav__idx { font-family: var(--font-mono); font-size: .72rem; color: var(--ink); width: 2.4em; }
  .nav__list a::after { display: none; }
  .nav__list a:hover, .nav__list a[aria-current] { color: #fff; }
  .nav__list a:hover .nav__idx, .nav__list a[aria-current] .nav__idx { color: #fff; }
  .nav.is-open .nav__list a { transform: none; }
  .nav.is-open .nav__list li:nth-child(1) a { transition-delay: .2s; }
  .nav.is-open .nav__list li:nth-child(2) a { transition-delay: .25s; }
  .nav.is-open .nav__list li:nth-child(3) a { transition-delay: .3s; }
  .nav.is-open .nav__list li:nth-child(4) a { transition-delay: .35s; }
  .nav.is-open .nav__list li:nth-child(5) a { transition-delay: .4s; }
  .nav.is-open .nav__list li:nth-child(6) a { transition-delay: .45s; }
  .nav__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
  .nav__secondary { font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
  .nav__secondary:hover { color: #fff; }
  .nav__socials { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
  .nav__social { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); color: var(--ink); }
  .nav__social:hover { background: var(--ink); color: var(--accent); }
  .nav__social .icon { width: 18px; height: 18px; }
  body.menu-open .site-header { transform: none; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menu-open .brand { color: var(--ink); }
  body.menu-open .brand .logo-8 { fill: #fff; }
  body.menu-open .menu-toggle { border-color: var(--ink); }
  body.menu-open .menu-toggle__bars span { background: var(--ink); }
  body.menu-open .lang-switch { border-color: var(--ink); }
  body.menu-open .lang-switch a { color: var(--ink); }
  body.menu-open .lang-switch a[aria-current] { background: var(--ink); color: var(--accent); }
}
@media (max-width: 440px) {
  .header-cta { display: none; }
}
body.menu-open { overflow: hidden; }

/* Language hint toast */
.lang-hint {
  position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 20px;
  background: rgba(19, 19, 22, .97); border: 1px solid var(--line-strong); border-left: 3px solid var(--accent);
  box-shadow: 0 24px 60px -20px #000;
  animation: toast-in .6s var(--ease) both;
}
.lang-hint[hidden] { display: none; }
.lang-hint p { margin: 0; font-size: .9rem; }
.lang-hint__close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lang-hint__close:hover { color: #fff; background: var(--surface-2); }
@media (max-width: 560px) {
  .lang-hint { flex-wrap: wrap; padding: 14px 14px 14px 18px; }
  .lang-hint p { flex: 1 1 60%; }
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 20px); } }

/* ---------- Infinity (the tipped-over 8) ---------- */
.inf { display: block; width: 100%; height: auto; overflow: visible; }
.inf path { vector-effect: non-scaling-stroke; }
.inf__base { fill: none; stroke: var(--line-strong); stroke-width: 1px; }
.inf__trace {
  fill: none; stroke: var(--accent); stroke-width: 3px; stroke-linecap: square;
  stroke-dasharray: 70 430;
  animation: trace 5s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 46, 31, .8));
}
.inf__trace--b { animation-duration: 7.5s; animation-direction: reverse; stroke-dasharray: 30 470; stroke-width: 2px; stroke: #fff; filter: none; opacity: .7; }
@keyframes trace { to { stroke-dashoffset: -1000; } }

/* ---------- Intro (first visit per session) ---------- */
.intro-screen { display: none; }
.intro .intro-screen {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--ink);
  animation: intro-out .75s var(--ease-in-out) 1.05s forwards;
}
.intro-screen .inf { width: min(56vw, 360px); }
.intro-screen .inf__base { stroke: var(--accent); stroke-width: 2px; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw .8s var(--ease-in-out) .05s forwards, fill-in .2s linear .8s forwards; }
.intro-screen .inf__trace { display: none; }
.intro-screen .mono { color: var(--muted); opacity: 0; animation: fade-in .4s ease .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill: var(--accent); } }
@keyframes intro-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  --p: 0; --r: 0;
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(var(--header-h) + 20px) 0 32px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -4; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.5) brightness(.75);
  transform: scale(1.1);
  animation: slow-zoom 40s ease-in-out infinite alternate;
}
/* red duotone + vignette */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 75% 80%, rgba(255, 46, 31, .45), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(255, 46, 31, .25), transparent 70%),
    linear-gradient(180deg, rgba(7, 7, 8, .85) 0%, rgba(7, 7, 8, .2) 30%, rgba(7, 7, 8, .3) 70%, var(--bg) 100%);
  mix-blend-mode: normal;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scanlines); pointer-events: none; opacity: .7; }
.hero__ash { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero__flash { position: absolute; inset: 0; z-index: 5; background: var(--accent); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.js .hero__flash { animation: flash .5s ease-out calc(var(--t0) + .78s) both; }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: .55; } 100% { opacity: 0; } }

.hero__top { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.hero__top span:last-child { text-align: right; }
.hero__top b { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) { .hero__coords { display: none; } }

.hero__mark { align-self: center; padding-block: clamp(24px, 5vh, 60px); }
.hero__title { margin: 0; }
.hero__logo { display: block; opacity: calc(1 - var(--p) * .7); }
.hero__logo .logo {
  max-height: max(180px, calc(100svh - 340px));
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
}
/* scroll: SFC slides away, the 8 tips over into ∞ and moves to the centre */
.hero__logo .logo-sfc { transform: translateX(calc(var(--r) * -6%)); opacity: calc(1 - var(--r) * 1.15); }
.hero__logo .logo-8 { transform: translateX(calc(var(--r) * -140%)) rotate(calc(var(--r) * 90deg)) scale(calc(1 - var(--r) * .1)); }

/* intro: letters slam in, then the frame shakes */
.js .hero__logo .logo-l { animation: slam .6s var(--ease-in) calc(var(--t0) + .1s + var(--i) * .11s) both; }
@keyframes slam {
  0% { opacity: 0; transform: translateY(-35%) scale(1.9); }
  70% { opacity: 1; transform: translateY(3%) scale(.96); }
  85% { transform: translateY(-1%) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
.js .hero__mark { animation: shake .45s linear calc(var(--t0) + .72s) both; }
@keyframes shake {
  0%, 100% { transform: none; }
  10% { transform: translate(-10px, 6px) rotate(-.6deg); }
  25% { transform: translate(9px, -6px) rotate(.5deg); }
  40% { transform: translate(-7px, -3px); }
  55% { transform: translate(6px, 4px) rotate(.3deg); }
  70% { transform: translate(-3px, 2px); }
  85% { transform: translate(2px, -1px); }
}
/* periodic glitch burst */
.js .hero__logo .logo { animation: glitch 7s steps(1) calc(var(--t0) + 2.5s) infinite; }
@keyframes glitch {
  0%, 88%, 100% { transform: none; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); clip-path: none; }
  89% { transform: translate(-8px, 0) skewX(-12deg); filter: drop-shadow(8px 0 0 rgba(255, 46, 31, .9)) drop-shadow(-8px 0 0 rgba(0, 220, 255, .55)); clip-path: inset(10% 0 55% 0); }
  90% { transform: translate(10px, 0); filter: drop-shadow(-10px 0 0 rgba(255, 46, 31, .9)) drop-shadow(10px 0 0 rgba(0, 220, 255, .55)); clip-path: inset(48% 0 20% 0); }
  91% { transform: translate(-4px, 2px) skewX(6deg); filter: drop-shadow(5px 0 0 rgba(255, 46, 31, .9)); clip-path: none; }
  92% { transform: translate(3px, 0); filter: drop-shadow(-4px 0 0 rgba(0, 220, 255, .55)); clip-path: inset(70% 0 4% 0); }
  93% { transform: none; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); clip-path: none; }
}

.hero__bottom { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .hero__bottom { grid-template-columns: 1fr auto; } }
.hero__name { font-family: var(--font-display); font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem); line-height: .95; text-transform: uppercase; margin: 0 0 12px; }
.hero__name span { color: var(--accent); }
.hero__tagline { margin: 0; color: var(--muted); }
.hero__tagline::before { content: "■ "; color: var(--accent); }
.hero__side { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 900px) { .hero__side { justify-items: end; } }
.hero__socials { display: flex; flex-wrap: wrap; gap: 6px; }

.js .hero__fade { opacity: 0; animation: rise .9s var(--ease) calc(var(--t0) + var(--d, .9s)) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slow-zoom { from { transform: scale(1.1); } to { transform: scale(1.22) translate(-1%, -1%); } }

/* Social icon buttons */
.social-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--muted); text-decoration: none;
  transition: color .2s, border-color .2s, background-color .2s, transform .25s var(--ease);
}
.social-icon .icon { width: 18px; height: 18px; }
.social-icon:hover { color: #000; border-color: var(--accent); background: var(--accent); transform: translateY(-3px) rotate(-4deg); }

/* ---------- Marquee (one component for every band) ---------- */
.marquee {
  --mq-bg: var(--accent); --mq-fg: var(--ink);
  position: relative; overflow: hidden;
  background: var(--mq-bg); color: var(--mq-fg);
  border-block: 2px solid var(--ink);
  user-select: none;
}
.marquee--dark { --mq-bg: var(--ink); --mq-fg: var(--text); border-color: var(--line-strong); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: flex; flex: none; align-items: center; }
.marquee__word {
  padding: .22em .5em .16em;
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.2rem); line-height: 1;
  text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
}
.marquee__word--outline { color: transparent; -webkit-text-stroke: 1.5px var(--mq-fg); }
.marquee__sep { width: 1.9em; height: 1em; font-size: clamp(1rem, .8rem + 1vw, 1.6rem); color: var(--mq-fg); }
.marquee--dark .marquee__sep { color: var(--accent); }
/* without JS (or with reduced motion) the band simply sits still */
.tape { position: relative; z-index: 3; display: grid; overflow: hidden; padding-block: clamp(50px, 7vw, 90px); margin-block: calc(clamp(50px, 7vw, 90px) * -1); pointer-events: none; }
.tape .marquee { grid-area: 1 / 1; align-self: center; width: 112%; margin-left: -6%; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .9); }
.tape .marquee--red { transform: rotate(-4deg); z-index: 2; }
.tape .marquee--dark { transform: rotate(3.5deg); }

/* ---------- Era (SFC8 / ∞) ---------- */
.era { overflow: hidden; }
.era__grid { display: grid; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (min-width: 960px) { .era__grid { grid-template-columns: 1fr 1fr; } }
.era__visual { position: relative; }
.era__visual .inf { width: 100%; }
.era__visual figcaption {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 12px;
  border-top: 1px solid var(--line); color: var(--dim);
}
.era__visual figcaption b { color: var(--accent); font-weight: 600; }
.era__eq { display: flex; align-items: center; gap: .3em; margin: 0 0 26px; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; }
.era__eq .icon { width: 1.9em; height: 1em; color: var(--accent); }
.era__eq span { color: var(--dim); font-family: var(--font-mono); font-size: .9rem; }
.era__body .lead { margin-top: 30px; }

.pillars {
  display: grid; margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.pillar {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px; min-height: 240px; height: 100%;
  padding: 26px 26px 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text);
  transition: color .35s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path .5s var(--ease);
}
.pillar:hover { color: var(--ink); }
.pillar:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.pillar__idx { color: var(--accent); transition: color .35s; }
.pillar:hover .pillar__idx { color: var(--ink); }
.pillar h3 { margin-top: auto; font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); line-height: .95; text-transform: uppercase; }
.pillar p { margin: 0; color: var(--muted); font-size: .92rem; transition: color .35s; }
.pillar:hover p { color: rgba(0, 0, 0, .75); }
.pillar > .icon { position: absolute; right: 22px; top: 24px; width: 22px; height: 22px; color: var(--dim); transition: color .3s, transform .45s var(--ease); }
.pillar:hover > .icon { color: var(--ink); transform: translate(4px, -4px) scale(1.2); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(40px, 6vw, 90px); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .about__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.about__text p { color: var(--muted); }
.about__text p.first { font-size: clamp(1.3rem, 1rem + .9vw, 1.8rem); color: var(--text); line-height: 1.35; letter-spacing: -.01em; font-weight: 500; }
.quote {
  position: relative;
  margin: 48px 0; padding: clamp(26px, 3vw, 40px);
  background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); line-height: .98; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.quote span { color: #fff; }
.about__text .quote p { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts div { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 8px 0 0; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.facts dd.facts__mail { font-family: var(--font-body); font-size: 1rem; font-weight: 600; text-transform: none; letter-spacing: 0; }

/* ---------- Panels / Music ---------- */
.music-grid { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 1000px) { .music-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.panel { position: relative; background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; }
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.panel__title { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.live-dot { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 46, 31, .6); animation: pulse 1.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 46, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 31, 0); } }

.list-title { margin: 0 0 14px; color: var(--muted); }
.channels { border-top: 1px solid var(--line-strong); }
.channel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 6px; min-height: 84px;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text);
  transition: color .3s var(--ease), padding .45s var(--ease);
}
.channel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.channel:hover { color: var(--ink); padding-left: 18px; }
.channel:hover::before { transform: scaleX(1); }
.channel__icon {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line-strong);
  transition: border-color .3s, background-color .3s, color .3s;
}
.channel__icon .icon { width: 20px; height: 20px; }
.channel:hover .channel__icon { border-color: var(--ink); background: var(--ink); color: var(--accent); }
.channel__text { display: grid; gap: 2px; margin-right: auto; min-width: 0; }
.channel__text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.channel__text small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.channel:hover .channel__text small { color: rgba(0, 0, 0, .7); }
.channel > .icon { color: var(--dim); transition: color .3s, transform .4s var(--ease); }
.channel:hover > .icon { color: var(--ink); transform: translate(4px, -4px) scale(1.2); }

.video-card {
  position: relative; display: block; margin-top: clamp(24px, 3vw, 40px);
  height: clamp(280px, 40vw, 540px);
  border: 1px solid var(--line); overflow: hidden;
  text-decoration: none; color: #fff; isolation: isolate;
}
.video-card { background: linear-gradient(115deg, #0e0303 30%, var(--accent-deep) 100%); }
.video-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3;
  filter: grayscale(1) contrast(1.8) brightness(1.3); mix-blend-mode: screen; opacity: .45;
  transition: transform 1.4s var(--ease), opacity .8s var(--ease);
}
.video-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--accent); opacity: 0; transition: opacity .6s var(--ease); }
.video-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scanlines), linear-gradient(90deg, rgba(7, 7, 8, .9) 0%, rgba(7, 7, 8, .1) 75%); }
.video-card__word {
  position: absolute; right: -.03em; bottom: -.14em; z-index: -1;
  font-family: var(--font-display); font-size: clamp(6rem, 24vw, 22rem); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .3); pointer-events: none;
  transition: transform 1s var(--ease), -webkit-text-stroke-color .5s;
}
.video-card:hover img { transform: scale(1.06); opacity: .6; }
.video-card:hover::before { opacity: .55; }
.video-card:hover .video-card__word { transform: translateX(-3%); -webkit-text-stroke-color: #fff; }
.video-card__top { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; padding: 20px 24px; color: var(--text); }
.video-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 4vw, 44px); display: flex; align-items: flex-end; gap: 22px; }
.play-btn {
  display: grid; place-items: center; width: 84px; height: 84px; flex: none;
  background: var(--accent); color: #000;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
  transition: transform .5s var(--ease), background-color .3s;
}
.play-btn .icon { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .play-btn { transform: scale(1.1) rotate(-4deg); background: #fff; }
.video-card__body small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.video-card__body strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.2rem + 3vw, 4rem); text-transform: uppercase; line-height: .92; margin-top: 8px; }

/* ---------- Consent-gated embeds ---------- */
.embed { position: relative; min-height: var(--embed-h, 420px); background: var(--bg-3); }
.embed iframe { width: 100%; height: var(--embed-h, 420px); border: 0; color-scheme: light; }
.embed__placeholder {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 32px; text-align: center;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(255, 46, 31, .14), transparent 70%),
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(255, 255, 255, .018) 18px 36px),
    var(--bg-3);
}
.embed__icon { display: grid; place-items: center; width: 62px; height: 62px; background: var(--accent); color: #000; }
.embed__icon .icon { width: 26px; height: 26px; }
.embed__placeholder h3 { font-family: var(--font-display); font-size: 2.2rem; text-transform: uppercase; }
.embed__placeholder p { max-width: 46ch; margin: 0; font-size: .86rem; color: var(--muted); }
.embed__placeholder a { color: var(--text); }
.embed__remember { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); cursor: pointer; }
.embed__remember input { width: 16px; height: 16px; accent-color: var(--accent); }
.embed.is-loaded .embed__placeholder { display: none; }

/* ---------- Shows ---------- */
.shows-grid { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 1000px) { .shows-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.shows-aside { display: grid; border-top: 1px solid var(--line-strong); }
.cta-card { padding: 30px 0; border-bottom: 1px solid var(--line); }
.cta-card .mono { color: var(--accent); display: block; margin-bottom: 18px; }
.cta-card h3 { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.4vw, 2.8rem); line-height: .95; text-transform: uppercase; margin-bottom: 12px; }
.cta-card p { color: var(--muted); font-size: .95rem; max-width: 42ch; }
.cta-card--boxed { padding: 30px; border: 1px solid var(--line); background: var(--bg-3); }

/* ---------- Merch banner (cut diagonally) ---------- */
.merch {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(150px, 18vw, 260px);
  clip-path: polygon(0 clamp(40px, 6vw, 100px), 100% 0, 100% calc(100% - clamp(40px, 6vw, 100px)), 0 100%);
  background: var(--accent);
}
/* red base, the photo only adds texture on top (screen keeps the red, lifts the sparks) */
.merch__bg { position: absolute; inset: 0; z-index: -3; mix-blend-mode: screen; opacity: .5; }
.merch__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.8) brightness(1.3); }
.merch::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 90% at 10% 75%, rgba(0, 0, 0, .3), transparent 70%); }
.merch::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); }
.merch__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .merch__grid { grid-template-columns: 1.3fr 1fr; } }
.merch .eyebrow::before { background: var(--text); }
.merch .display { font-size: clamp(3.6rem, 1.2rem + 9vw, 11rem); line-height: .82; }
.merch .display em { color: var(--ink); -webkit-text-stroke: 0; }
.merch .lead { margin: 0 0 32px; color: var(--text); }
.merch .btn { --btn-border: rgba(255, 255, 255, .5); }
.merch .btn--primary { --btn-bg: var(--text); --btn-fg: var(--ink); --btn-border: var(--text); --btn-fill: var(--ink); --btn-fill-fg: var(--text); }
.merch__perks { display: grid; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .35); }
.merch__perks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); color: var(--text); }
.merch__perks .icon { color: var(--text); }

/* ---------- Follow tiles ---------- */
.tiles {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-height: 230px;
  padding: 22px 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--accent);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path .5s var(--ease);
}
.tile:hover { color: var(--ink); }
.tile:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.tile__top { display: flex; justify-content: space-between; align-items: center; }
.tile__top .icon { width: 26px; height: 26px; transition: transform .45s var(--ease); }
.tile:hover .tile__top .icon:first-child { transform: scale(1.2) rotate(-8deg); }
.tile__top .icon:last-child { width: 20px; height: 20px; color: var(--dim); transition: color .3s, transform .45s var(--ease); }
.tile:hover .tile__top .icon:last-child { color: var(--ink); transform: translate(4px, -4px) scale(1.2); }
.tile strong { grid-row: 3; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.4rem); line-height: .95; text-transform: uppercase; transition: transform .5s var(--ease); }
.tile:hover strong { transform: translateX(6px); }
.tile small { grid-row: 2; align-self: end; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--muted); transition: color .3s; }
.tile:hover small { color: rgba(0, 0, 0, .75); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.contact-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease);
}
.contact-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 3px; background: var(--accent); transition: width .6s var(--ease); }
.contact-card:hover { background: var(--surface-2); }
.contact-card:hover::before { width: calc(100% + 2px); }
.contact-card .mono { color: var(--accent); margin-bottom: 40px; }
.contact-card h3 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1vw, 2.8rem); line-height: .95; text-transform: uppercase; margin-bottom: 12px; }
.contact-card p { color: var(--muted); font-size: .95rem; }
.contact-card .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.mail-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: clamp(40px, 6vw, 70px); padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}
.mail-bar a.mail {
  font-family: var(--font-display); font-size: clamp(1.6rem, .6rem + 4.2vw, 4.8rem); line-height: 1;
  text-decoration: none; text-transform: uppercase; letter-spacing: .005em; word-break: break-all;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 4px no-repeat;
  transition: background-size .6s var(--ease), color .3s;
}
.mail-bar a.mail:hover { color: var(--accent); background-size: 100% 4px; }
.copy-btn[data-copied="true"] { border-color: #2fbf71; color: #2fbf71; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 90% 0%, rgba(255, 46, 31, .25), transparent 70%), var(--scanlines);
}
.page-hero__inf { position: absolute; right: calc(var(--gutter) * -1); bottom: -18%; z-index: -1; width: min(60vw, 720px); opacity: .9; pointer-events: none; }
.page-hero .display { font-size: clamp(3.4rem, 1.2rem + 8vw, 9.5rem); }
.page-hero .lead { margin-top: 28px; }

/* ---------- Prose (legal etc.) ---------- */
.prose { max-width: 780px; color: var(--muted); }
.prose h2 { position: relative; margin: 2.4em 0 .7em; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; color: var(--text); }
.prose h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--accent); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.prose strong { color: var(--text); }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; list-style: square; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); }
.prose address { font-style: normal; padding: 22px 24px; margin-bottom: 1.2em; background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--accent); color: var(--text); }
.prose .note { padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--bg-3); font-size: .92rem; }

/* ---------- Press kit ---------- */
.press-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .press-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.bio { padding: clamp(24px, 3vw, 36px); background: var(--bg-3); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.bio + .bio { margin-top: 24px; }
.bio__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.bio__head h2 { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; }
.bio p { color: var(--muted); }
.bio p:last-child { margin-bottom: 0; }
.downloads { border-top: 1px solid var(--line-strong); }
.download {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 8px 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; transition: padding .4s var(--ease), color .3s;
}
.download::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.download:hover { padding-left: 12px; color: var(--ink); }
.download:hover::before { transform: scaleX(1); }
.download__thumb { width: 80px; height: 56px; flex: none; background: var(--bg) center / contain no-repeat; border: 1px solid var(--line); }
.download__thumb--light { background-color: #e9e7e2; }
.download__thumb--cover { background-size: cover; }
.download__thumb--pad { background-size: 72%; }
.download__text { display: grid; margin-right: auto; }
.download__text strong { font-size: .95rem; }
.download__text small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.download:hover .download__text small { color: rgba(0, 0, 0, .7); }
.download > .icon { color: var(--accent); transition: color .3s; }
.download:hover > .icon { color: var(--ink); }
.aside-title { margin: 0 0 14px; color: var(--muted); }
.downloads__note { margin: 14px 0 0; color: var(--dim); }
.downloads__note a { color: var(--text); }
.aside-title--spaced { margin-top: 44px; }
.cta-card--spaced { margin-top: 32px; }

/* ---------- Links page ---------- */
.links-page {
  position: relative; isolation: isolate; min-height: 100svh;
  padding: clamp(50px, 9vw, 90px) 16px 60px;
}
.links-page::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(70% 50% at 50% 0%, rgba(255, 46, 31, .28), transparent 70%), var(--scanlines);
}
.links-page__inner { max-width: 560px; margin-inline: auto; text-align: center; }
.links-page__logo { display: block; width: min(230px, 62%); margin: 0 auto 18px; color: var(--text); }
.links-page__logo:hover .logo-8 { transform: rotate(90deg) scale(.75); }
.links-page__logo .logo-8 { transition: transform .6s var(--ease); }
.links-page h1 { margin: 0; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.links-page__sub { margin: 6px 0 30px; color: var(--dim); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; }
.chip {
  padding: 8px 14px; border: 1px solid var(--line-strong); background: transparent;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover { color: #fff; border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #000; }
.link-list { display: grid; gap: 8px; text-align: left; }
.link-list li[hidden] { display: none; }
.link-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px 12px 12px;
  background: rgba(19, 19, 22, .9); border: 1px solid var(--line);
  text-decoration: none;
  transition: color .3s, border-color .3s, transform .35s var(--ease);
}
.link-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.link-card:hover { color: var(--ink); border-color: var(--accent); transform: translateX(4px); }
.link-card:hover::before { transform: scaleX(1); }
.link-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); flex: none; transition: background-color .3s, color .3s, border-color .3s; }
.link-card:hover .link-card__icon { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.link-card__icon .icon { width: 20px; height: 20px; }
.link-card__text { display: grid; margin-right: auto; min-width: 0; }
.link-card__text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.link-card__text small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s; }
.link-card:hover .link-card__text small { color: rgba(0, 0, 0, .75); }
.link-card__arrow { color: var(--dim); transition: color .3s; }
.link-card:hover .link-card__arrow { color: var(--ink); }
.link-card--featured { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.link-card--featured::before { background: var(--text); }
.link-card--featured .link-card__icon { border-color: rgba(0, 0, 0, .4); }
.link-card--featured small, .link-card--featured .link-card__arrow { color: rgba(0, 0, 0, .75); }
.links-page__footer { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.links-page__footer a { color: var(--muted); text-decoration: none; }
.links-page__footer a:hover { color: #fff; }
.share-btn { margin-top: 24px; }

/* ---------- 404 ---------- */
.error-page { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; overflow: hidden; }
.error-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 50% 40%, rgba(255, 46, 31, .2), transparent 70%), var(--scanlines); }
.error-page__code { font-family: var(--font-display); font-size: clamp(8rem, 34vw, 22rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); margin: 0 0 .12em; }
.error-page__code span { color: var(--accent); -webkit-text-stroke: 0; display: inline-block; animation: glitch-text 3s steps(1) infinite; }
@keyframes glitch-text { 0%, 90%, 100% { transform: none; } 92% { transform: translate(-6px, 2px) skewX(-10deg); } 94% { transform: translate(5px, -2px); } 96% { transform: none; } }
.error-page .lead { margin: 22px auto 0; }
.error-page .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg); overflow: hidden; }
.site-footer__cta { position: relative; isolation: isolate; background: var(--accent); color: var(--ink); padding-block: clamp(70px, 10vw, 140px); overflow: hidden; }
.site-footer__cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 3px); pointer-events: none; }
.site-footer__cta-inner { display: grid; gap: 34px; }
@media (min-width: 900px) { .site-footer__cta-inner { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer__cta .display { font-size: clamp(3rem, 1.2rem + 6.4vw, 8rem); line-height: .84; margin: 0; }
.site-footer__cta .display em { color: #fff; }
.site-footer__grid { display: grid; gap: 44px; padding-block: clamp(60px, 8vw, 100px) 56px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__brand p { color: var(--muted); max-width: 36ch; }
.site-footer__brand .mono { color: var(--text); }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.footer-heading { margin-bottom: 18px; color: var(--accent); }
.footer-list { display: grid; gap: 10px; }
.footer-list a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s, padding .3s var(--ease); word-break: break-word; }
.footer-list a:hover { color: #fff; padding-left: 8px; }
.site-footer__logo { padding-inline: var(--gutter); max-width: 1560px; margin-inline: auto; }
.site-footer__logo .logo g { fill: none; stroke: var(--line-strong); stroke-width: 1px; }
.site-footer__logo .logo path { vector-effect: non-scaling-stroke; }
.site-footer__logo .logo .logo-8 { fill: var(--accent); stroke: none; }
.site-footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 22px 30px; margin-top: 22px;
  color: var(--dim);
}
.site-footer__bottom::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.site-footer__bottom p { margin: 0; }
.back-top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); }
.back-top .icon { transform: rotate(-45deg); }
.back-top:hover { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* headings: every word shoots up out of a mask */
.js .display[data-reveal] { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em 0; margin: -.08em -.02em 0; }
.w__i { display: inline-block; }
.js .display[data-reveal] .w__i { transform: translateY(110%) skewY(10deg); transition: transform .85s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 55ms); }
.js .display[data-reveal].is-visible .w__i { transform: none; }
/* panels: a red block sweeps across, then uncovers the content */
.wiper { position: absolute; inset: 0; z-index: 20; background: var(--accent); pointer-events: none; transform: scaleX(0); transform-origin: left; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; }
.js [data-reveal="wipe"] > :not(.wiper) { opacity: 0; transition: opacity .01s linear calc(var(--d, 0s) + .45s); }
.js [data-reveal="wipe"].is-visible > :not(.wiper) { opacity: 1; }
.js [data-reveal="wipe"].is-visible .wiper { animation: wipe 1s var(--ease-in-out) var(--d, 0s) both; }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; animation-delay: 0s !important; }
  body::after { animation: none; }
  .hero__logo .logo-sfc, .hero__logo .logo-8 { transform: none; opacity: 1; }
  .inf__trace { animation: none; stroke-dasharray: none; display: none; }
  .js .hero__fade, .js .hero__logo .logo-l { opacity: 1; animation: none; }
  .js [data-reveal], .js [data-reveal="wipe"] > :not(.wiper) { opacity: 1; transform: none; }
  .js .display[data-reveal] .w__i { transform: none; }
  .wiper { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .lang-hint, .hero__ash, .marquee, .tape, body::after, body::before, .intro-screen { display: none !important; }
  body { background: #fff; color: #000; }
}
