/* ============================================================
   CUSTOM FONTS
   ============================================================ */
@font-face {
  font-family: "ClaudiaBetta";
  src: url("font/ClaudiaBetta.woff2") format("woff2"),
       url("font/ClaudiaBetta.woff") format("woff"),
       url("font/ClaudiaBetta.ttf") format("truetype"),
       url("font/ClaudiaBetta.eot") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   YG — THE GENTLEMEN'S CLUB
   Static promo site. Vanilla CSS, custom properties, zero deps.
   ------------------------------------------------------------
   Design language referenced from high-end artist/athlete sites:
   - Loader fill, then a LIGHT hero with a centered cut-out portrait
   - Sections alternate LIGHT / DARK via a theme token system
   - Scroll-driven horizontal text behind a pinned media box
   - Editorial mix of grotesk display + serif accent words
   - Topographic contour line backgrounds, one accent colour
   Palette is YG's: black / white / gray with a single RED highlight.
   ------------------------------------------------------------
   1. Tokens & themes    7. Hero (light)
   2. Reset & type       8. Scroll stage
   3. Layout & contour   9. Sections
   4. Buttons            10. Footer / floating
   5. Loader & cursor    11. Reveal
   6. Header / nav       12. Responsive / reduced motion
   ============================================================ */

/* ---------- 1. TOKENS & THEMES ---------- */
:root {
  /* Brand constants */
  --ink:    #0b0b0c;
  --ink-2:  #131315;
  --ink-3:  #1b1b1e;
  --paper:  #e3e3e3;
  --paper-2:#ffffff;

  --accent:      #e10600;
  --accent-soft: #ff342a;
  --accent-deep: #b00500;

  /* Typography — fully offline system stacks */
  --font-claudia: "ClaudiaBetta", Georgia, "Times New Roman", serif;
  --font-display: "Helvetica Neue", "Arial Black", Arial, system-ui, sans-serif;
  --font-serif:   "Times New Roman", Georgia, "Playfair Display", serif;
  --font-sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, monospace;

  --shell: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme tokens — set per section, consumed by every component */
.theme-dark {
  --bg: var(--ink);
  --surface: var(--ink-2);
  --surface-2: var(--ink-3);
  --fg: var(--paper);
  --fg-muted: #8f8f96;
  --fg-dim: #5c5c63;
  --hairline: rgba(255,255,255,0.12);
  --hairline-soft: rgba(255,255,255,0.06);
  --contour-ink: rgba(255,255,255,0.06);
  --fill-soft: rgba(255,255,255,0.03);
}
.theme-light {
  --bg: var(--paper);
  --surface: var(--paper-2);
  --surface-2: #c8c8c8;
  --fg: #0b0b0c;
  --fg-muted: #6a6a70;
  --fg-dim: #a2a09a;
  --hairline: rgba(0,0,0,0.14);
  --hairline-soft: rgba(0,0,0,0.07);
  --contour-ink: rgba(0,0,0,0.07);
  --fill-soft: rgba(0,0,0,0.025);
}

/* ---------- 2. RESET & TYPE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
input { font: inherit; }

.section__title, .connect__title,
.album__subhead, .product__name, .milestone__title, .wordmark__yg, .loader__yg {
  font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 0.92;
}

.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: -100px; left: 1rem; z-index: 400;
  background: var(--accent); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 8px; font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. LAYOUT & CONTOUR ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

.section, .hero, .scroll-stage, .footer { background: var(--bg); color: var(--fg); position: relative; }
.section { padding: clamp(5rem, 11vw, 9rem) 0; overflow: hidden; }

/* Topographic contour pattern (inherits stroke via color) */
.contour {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--contour-ink); pointer-events: none; z-index: 0;
}
.contour--faint { opacity: 0.6; }

/* ---------- HERO BACKGROUND VIDEO ---------- */
.hero__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  pointer-events: none; z-index: 0;
}
/* Color tint sits over the video; adjust opacity to control how visible the video is */
.hero__bg-tint {
  position: absolute; inset: 0; z-index: 1;
  background: #e3e3e3; opacity: 0.9; pointer-events: none;
}
/* Contour and all hero content must sit above the tint */
.contour--hero { z-index: 2; }
.section > .shell, .connect__inner, .statement__inner { position: relative; z-index: 1; }

.section__head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section__head--split { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-end; }
.section__index {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1.1rem;
}
.section__index::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.section__index--center { justify-content: center; }
.section__title { font-size: clamp(2.6rem, 8vw, 6rem); color: var(--fg); }
.section__note, .section__head--split p { max-width: 38ch; color: var(--fg-muted); font-size: 1.02rem; }

/* ---------- 4. BUTTONS ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; }

.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--hairline);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.85em 1.4em; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05em 1.7em; font-size: 0.92rem; }

.btn--solid { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); box-shadow: 0 10px 30px -12px rgba(225,6,0,0.65); }
.btn--solid:hover { --btn-bg: var(--accent-soft); --btn-bd: var(--accent-soft); }
.btn--line:hover { --btn-bd: var(--accent); color: var(--accent); }
.btn--bare { --btn-bg: transparent; --btn-bd: transparent; }
.btn--bare:hover { color: var(--accent); }

a:focus-visible, button:focus-visible, input:focus-visible, .timeline:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* ---------- 5. LOADER & CURSOR ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.loader.is-done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.loader__yg { font-size: clamp(3rem, 12vw, 6rem); color: #fff; line-height: 1; }
.loader__bar { width: min(220px, 60vw); height: 2px; background: rgba(255,255,255,0.35); overflow: hidden; }
.loader__fill { display: block; height: 100%; width: 0; background: #fff; transition: width 0.2s linear; }
.loader__label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
body.no-js .loader { display: none; }

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 300; display: none; }
.cursor.is-active { display: block; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate3d(-50%,-50%,0); will-change: transform; }
.cursor__dot { width: 6px; height: 6px; background: var(--accent); }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(128,128,128,0.6); mix-blend-mode: difference;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cursor.is-hover .cursor__ring { width: 60px; height: 60px; border-color: var(--accent); }

.grain {
  position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: 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='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-2%)} 100%{transform:translate(0,0)} }

/* ---------- 6. HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11,11,12,0.78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255,255,255,0.08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 74px; }

/* Dark on the light hero; once scrolled, the dark bar flips everything to light */
.wordmark, .nav__link, .menu-toggle { color: var(--ink); }
.site-header.is-scrolled .wordmark,
.site-header.is-scrolled .nav__link,
.site-header.is-scrolled .menu-toggle { color: var(--paper); }

.wordmark { display: flex; align-items: baseline; gap: 0.55rem; margin-right: auto; }
.wordmark__yg { font-size: 1.7rem; line-height: 1; }
.wordmark__sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.32em; color: var(--accent); text-transform: uppercase; font-weight: 700; mix-blend-mode: normal; }

.nav__list { display: flex; gap: 0.35rem; }
.nav__link { position: relative; padding: 0.5rem 0.9rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.nav__link::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); mix-blend-mode: normal; }
.nav__link.is-active::after { transform: scaleX(1); }

.site-header__cta { display: flex; gap: 0.4rem; }
.site-header__cta .btn { padding: 0.6em 1.1em; font-size: 0.74rem; }
.site-header__cta .btn--bare { color: var(--ink); }
.site-header.is-scrolled .site-header__cta .btn--bare { color: var(--paper); }

.menu-toggle { display: none; padding: 0.4rem; }
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .icon--close { display: none; }
body.menu-open .menu-toggle .icon--menu { display: none; }
body.menu-open .menu-toggle .icon--close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: rgba(11,11,12,0.97); color: var(--paper);
  backdrop-filter: blur(8px); display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: var(--gutter); opacity: 0; transition: opacity 0.4s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(2.2rem, 11vw, 3.6rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }
.mobile-menu li a { transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.mobile-menu li a:hover { color: var(--accent); padding-left: 0.5rem; }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 0.8rem; }
.mobile-menu__cta a { font-family: var(--font-sans); font-size: 0.95rem; justify-content: center; }

/* ---------- 7. HERO (light) ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 92px var(--gutter) 4rem; overflow: hidden; gap: 2rem;
}
.contour--drift { animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-2%, -2%, 0) scale(1.04); } }

/* Hero base contour: gentle drift. No dasharray — all 8 lines always visible. */
.contour--hero { animation: drift 50s ease-in-out infinite alternate; }

/* Animated highlight layer: a bright segment that crawls along each line.
   Used by .c-anim (hero's second <g>) and .contour--anim (JS-injected siblings). */
.c-anim, .contour--anim {
  color: var(--fg);   /* section foreground, not the faint --contour-ink */
  opacity: 0.22;
}
.c-anim path, .contour--anim path {
  stroke-dasharray: 140 1700;
  animation: path-flow 28s linear infinite;
}
.c-anim path:nth-child(1), .contour--anim path:nth-child(1) { animation-duration: 28s; animation-delay:   0s; }
.c-anim path:nth-child(2), .contour--anim path:nth-child(2) { animation-duration: 35s; animation-delay:  -6s; }
.c-anim path:nth-child(3), .contour--anim path:nth-child(3) { animation-duration: 22s; animation-delay: -11s; }
.c-anim path:nth-child(4), .contour--anim path:nth-child(4) { animation-duration: 31s; animation-delay:  -3s; }
.c-anim path:nth-child(5), .contour--anim path:nth-child(5) { animation-duration: 25s; animation-delay:  -9s; }
.c-anim path:nth-child(6), .contour--anim path:nth-child(6) { animation-duration: 40s; animation-delay: -17s; }
.c-anim path:nth-child(7), .contour--anim path:nth-child(7) { animation-duration: 19s; animation-delay: -14s; }
.c-anim path:nth-child(8), .contour--anim path:nth-child(8) { animation-duration: 30s; animation-delay:  -5s; }
@keyframes path-flow {
  from { stroke-dashoffset:  1840; }
  to   { stroke-dashoffset: -1840; }
}

/* Hero is flex-column: headline sits above the portrait stage */
.hero__stage { position: relative; z-index: 2; width: 100%; max-width: 600px; display: grid; place-items: center; }

/* Single-line Claudia Betta title — always black, above the portrait */
.hero__headline {
  font-family: var(--font-claudia);
  font-size: clamp(1.4rem, 4.2vw, 3.8rem);
  font-weight: normal;
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.01em;
  position: relative; z-index: 4;
  max-width: 1100px;
  width: 100%;
}

/* Technical ring behind portrait (echoes the wireframe motif) */
.hero__ring { grid-area: 1 / 1; z-index: 2; width: min(60vw, 460px); aspect-ratio: 1; align-self: center; }
.hero__ring svg { width: 100%; height: 100%; }
.hero__ring circle { fill: none; stroke: var(--accent); stroke-width: 0.5; opacity: 0.25; transform-origin: center; }
.hero__ring circle:nth-child(1) { animation: spin 28s linear infinite; stroke-dasharray: 3 7; }
.hero__ring circle:nth-child(2) { animation: spin 22s linear infinite reverse; stroke-dasharray: 1 6; opacity: 0.18; }
.hero__ring circle:nth-child(3) { animation: spin 40s linear infinite; opacity: 0.12; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__portrait { grid-area: 1 / 1; z-index: 3; width: min(60vw, 500px); aspect-ratio: 1 / 1; align-self: end; will-change: transform; overflow: hidden; border-radius: var(--radius); }
.hero__video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: inherit;
}

/* YG hero image — big left-side art, behind portrait if they overlap */
.hero__yg-img {
  position: absolute; left: -14vw; bottom: 0; z-index: 2;
  height: clamp(55vh, 80vh, 92vh); width: auto;
  object-fit: contain; object-position: bottom left;
  pointer-events: none; user-select: none;
}

/* Spans the gap between portrait right edge and viewport right; content centers inside */
.info-card {
  position: absolute; left: calc(50% + 250px); right: 0; top: 40%;
  transform: translateY(-80%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 4;
  background: none; border: none; border-radius: 0; padding: 0; min-width: 0; box-shadow: none;
  text-align: center;
}
.info-card__out {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 6.5vw, 6rem); color: var(--accent);
  letter-spacing: -0.03em; line-height: 0.88; margin: 0;
}
.info-card__meta { display: flex; gap: 1.6rem; margin-top: 0.9rem; }
.info-card__meta dt { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.info-card__meta dd { font-size: 0.92rem; font-weight: 600; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--accent { background: var(--accent); box-shadow: 0 0 0 0 rgba(225,6,0,0.7); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(225,6,0,0.6)} 70%{box-shadow:0 0 0 9px rgba(225,6,0,0)} 100%{box-shadow:0 0 0 0 rgba(225,6,0,0)} }

.hero__actions { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.6rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-muted);
}
.hero__scroll .icon { animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ---------- PLACEHOLDERS ---------- */
.placeholder {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, var(--fill-soft) 0 18px, transparent 18px 36px),
    var(--surface-2);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center; color: var(--fg-dim);
}
.placeholder::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 30% 10%, rgba(225,6,0,0.06), transparent 60%); }
.placeholder__tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--fg-muted);
  background: var(--surface); border: 1px solid var(--hairline); padding: 0.35rem 0.6rem; border-radius: 6px; z-index: 1;
}
.placeholder__meta { position: absolute; bottom: 1rem; left: 1rem; z-index: 1; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; letter-spacing: -0.01em; font-size: 1rem; color: var(--fg-muted); }
.placeholder--portrait { background:
    repeating-linear-gradient(135deg, var(--fill-soft) 0 22px, transparent 22px 44px),
    linear-gradient(160deg, var(--surface-2), var(--bg)); }

/* ---------- 8. SCROLL STAGE (horizontal text) ---------- */
.scroll-stage { height: 240vh; position: relative; }
.scroll-stage__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }

.rail {
  position: absolute; left: 0; width: max-content; white-space: nowrap; z-index: 1;
  display: flex; align-items: center; gap: 2.5rem;
  font-size: clamp(3rem, 12vw, 9rem); line-height: 1; text-transform: uppercase; will-change: transform;
}
.rail span { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; color: var(--fg); opacity: 0.92; }
.rail em { font-family: var(--font-serif); font-style: italic; color: var(--accent); padding-right: 0.1em; }
.rail--top { top: 22%; }
.rail--bottom { bottom: 22%; }

.scroll-stage__media { position: relative; z-index: 2; width: min(70vw, 640px); aspect-ratio: 16 / 10; will-change: transform; }
.scroll-stage__media .placeholder { height: 100%; }
.scroll-stage__media .placeholder--media { filter: grayscale(1); }
.scroll-stage__label {
  position: absolute; left: 50%; bottom: -2.4rem; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted);
}

/* ---------- 9. SECTIONS ---------- */
/* Album */
.album__grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: clamp(2rem,5vw,4.5rem); align-items: center; margin-bottom: clamp(3.5rem,8vw,6rem); }
.album__cover { aspect-ratio: 1; will-change: transform; }
.album__cover .placeholder { box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9); }
.album__cover-caption { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.album__lede { font-size: clamp(1.15rem,2.5vw,1.5rem); line-height: 1.5; margin-bottom: 2rem; color: var(--fg); }
.album__facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem 2rem; margin-bottom: 2.2rem; padding-block: 1.6rem; border-block: 1px solid var(--hairline-soft); }
.album__facts dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 0.3rem; }
.album__facts dd { font-size: 1.05rem; color: var(--fg); }
.album__stream { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.album__subhead { font-size: clamp(1.5rem,4vw,2.4rem); margin-bottom: 1.4rem; color: var(--fg); }
.tracklist { display: grid; gap: 0.5rem; }
.track { display: grid; align-items: center; grid-template-columns: auto auto 1fr auto auto; gap: 1rem; padding: 1rem 1.3rem; border: 1px solid var(--hairline-soft); border-radius: var(--radius); background: var(--fill-soft); transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), transform 0.35s var(--ease); }
.track:hover { border-color: var(--hairline); transform: translateX(4px); }
.track__no { font-family: var(--font-mono); color: var(--fg-dim); font-size: 0.85rem; width: 2.5ch; }
.track__play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hairline); color: var(--accent); transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.track__play:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.track.is-playing .track__play { background: var(--accent); color: #fff; border-color: var(--accent); }
.track.is-playing .track__title { color: var(--accent); }
.track__title { font-weight: 600; font-size: 1.05rem; }
.track__feat { color: var(--fg-muted); font-size: 0.85rem; }
.track__time { color: var(--fg-muted); font-variant-numeric: tabular-nums; font-size: 0.9rem; }

/* Statement (credo) */
.statement__inner { max-width: 1000px; text-align: center; margin-inline: auto; }
.statement__label { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1.8rem; }
.statement__text { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.04; font-size: clamp(1.8rem, 5.5vw, 4.2rem); color: var(--fg); }
.statement__text em { font-family: var(--font-serif); font-weight: 400; font-style: italic; text-transform: none; color: var(--accent); letter-spacing: 0; }
.signature-mark { color: var(--accent); width: clamp(140px, 22vw, 220px); margin: 2rem auto 0.6rem; }
.signature-mark svg { width: 100%; height: auto; }
.statement__by { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }

/* Story timeline */
.timeline { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem var(--gutter) 2rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; position: relative; z-index: 1; }
.timeline::-webkit-scrollbar { height: 6px; }
.timeline::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }
.timeline::-webkit-scrollbar-track { background: var(--hairline-soft); }
.timeline__track { display: flex; gap: 1.25rem; }
.milestone { scroll-snap-align: start; min-width: min(78vw,340px); flex: none; padding: 2rem 1.8rem; border: 1px solid var(--hairline-soft); border-radius: var(--radius-lg); background: var(--surface); position: relative; overflow: hidden; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.milestone::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.milestone:hover { border-color: var(--hairline); transform: translateY(-4px); }
.milestone:hover::before { transform: scaleX(1); }
.milestone__year { font-family: var(--font-mono); color: var(--accent); font-size: 0.85rem; letter-spacing: 0.1em; }
.milestone__title { font-size: 1.5rem; margin: 0.8rem 0 0.7rem; color: var(--fg); }
.milestone__copy { color: var(--fg-muted); font-size: 0.98rem; }

/* Store / products */
.products { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: clamp(2.5rem,6vw,4rem); }
.product { position: relative; border: 1px solid var(--hairline-soft); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); will-change: transform; }
.product:hover { border-color: var(--hairline); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.9); }
.product .placeholder { aspect-ratio: 4/5; border: none; border-radius: 0; border-bottom: 1px solid var(--hairline-soft); }
.product__body { padding: 1.4rem; }
.product__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.6rem; }
.product__name { font-size: 1.4rem; color: var(--fg); }
.product__price { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.product__desc { color: var(--fg-muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.product__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); transition: gap 0.3s var(--ease), color 0.3s var(--ease); }
.product__link:hover { gap: 0.85rem; color: var(--accent); }
.product__badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--fg); color: var(--bg); }
.product__badge--low { background: var(--accent); color: #fff; }
.store__cta { text-align: center; margin-top: 2.5rem; }
.store__more { text-align: center; margin-bottom: 1.5rem; }

/* Store filter bar */
.store-filter { display: flex; gap: 0.5rem; margin-bottom: 2rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.store-filter::-webkit-scrollbar { display: none; }
.filter-btn { flex-shrink: 0; padding: 0.5rem 1.2rem; border: 1px solid var(--hairline); border-radius: 999px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-muted); background: transparent; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.filter-btn:hover { border-color: var(--fg); color: var(--fg); }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Product image hover swap */
.product__img-link { display: block; text-decoration: none; }
.product__img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; border-bottom: 1px solid var(--hairline-soft); }
.product__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.45s var(--ease); }
.product__img--hover { opacity: 0; }
.product:hover .product__img--hover { opacity: 1; }
.product__color { font-size: 0.8rem; color: var(--fg-muted); margin-top: 0.15rem; margin-bottom: 0; }
.product__row { margin-bottom: 1rem; }

/* Scatter gallery (media) */
.scatter { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem) 1.25rem; align-items: start; }
.scatter__item { position: relative; will-change: transform; }
.scatter__cap { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.7rem; }
.scatter__item .placeholder { aspect-ratio: 3/4; }
.scatter__item--a { grid-column: 1 / span 4; }
.scatter__item--b { grid-column: 6 / span 3; margin-top: clamp(3rem, 9vw, 7rem); }
.scatter__item--c { grid-column: 9 / span 4; }
.scatter__item--d { grid-column: 4 / span 5; margin-top: clamp(1rem, 4vw, 3rem); }
.scatter__item--d .placeholder { aspect-ratio: 16/10; }
.scatter__item--b .placeholder { aspect-ratio: 1; }
.scatter__item { cursor: pointer; }
.scatter__item img { width: 100%; height: auto; display: block; border-radius: var(--radius); transition: transform 0.45s var(--ease); }
.scatter__item:hover img { transform: scale(1.03); }
.scatter__media-wrap { position: relative; overflow: hidden; border-radius: var(--radius); }

/* Masonry gallery */
.masonry { columns: 2; column-gap: clamp(0.75rem, 2vw, 1.25rem); }
.masonry__item { break-inside: avoid; page-break-inside: avoid; margin-bottom: clamp(0.75rem, 2vw, 1.25rem); position: relative; cursor: pointer; border-radius: var(--radius-lg); overflow: hidden; }
.masonry__item img { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item--video .gallery__play { pointer-events: none; }
.masonry__cap { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-top: 0.55rem; padding: 0 0.15rem; display: block; }

.gallery__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; z-index: 3; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; transition: transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.gallery__play .icon { width: 26px; height: 26px; }
.gallery__play:hover { transform: scale(1.1); background: var(--accent-soft); }

/* ---------- MEDIA THUMB ---------- */
.media-thumb { position: relative; width: 100%; height: 100%; cursor: pointer; overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__inner { width: min(92vw, 1100px); aspect-ratio: 16/9; background: #000; }
.lightbox__inner--img { aspect-ratio: unset; width: auto; max-width: min(92vw, 1200px); max-height: 90vh; background: transparent; }
.lightbox__video { width: 100%; height: 100%; display: block; }
.lightbox__img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }
.lightbox__close .icon { width: 20px; height: 20px; }

/* Connect */
.connect { text-align: center; }
.connect::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 60% at 50% 0%, rgba(225,6,0,0.12), transparent 70%); }
.connect__inner { max-width: 820px; margin-inline: auto; }
.connect__title { font-size: clamp(2.8rem,9vw,6.5rem); margin-bottom: 1.2rem; color: var(--fg); }
.connect__sub { color: var(--fg-muted); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 2.4rem; }
.connect__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 3.5rem; }
.signup { max-width: 520px; margin: 0 auto; text-align: left; }
.signup__label { display: block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.signup__row { display: flex; gap: 0.7rem; }
.signup__input { flex: 1; padding: 0.95em 1.1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); color: var(--fg); transition: border-color 0.3s var(--ease); }
.signup__input::placeholder { color: var(--fg-dim); }
.signup__input:focus { outline: none; border-color: var(--accent); }
.signup__row .btn { flex: none; }
.signup__msg { min-height: 1.3em; margin-top: 0.7rem; font-size: 0.9rem; }
.signup__msg.is-ok { color: var(--fg); }
.signup__msg.is-err { color: var(--accent-soft); }
.signup__fine { margin-top: 0.4rem; font-size: 0.78rem; color: var(--fg-dim); }

/* ---------- 10. FOOTER / FLOATING ---------- */
.footer { padding-top: clamp(3rem,6vw,4.5rem); background: var(--bg); color: var(--fg); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; padding-bottom: 2.5rem; border-bottom: 1px solid var(--hairline-soft); }
.footer__brand .wordmark { color: var(--fg); }
.footer__tag { color: var(--fg-muted); font-size: 0.85rem; margin-top: 0.3rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__nav a { color: var(--fg-muted); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--fg); }
.footer__social { display: flex; gap: 0.6rem; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline); color: var(--fg-muted); transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.social .icon { width: 20px; height: 20px; }
.social:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; padding: 1.6rem var(--gutter); color: var(--fg-dim); font-size: 0.82rem; }
.footer__links { display: flex; gap: 0.6rem; align-items: center; }
.footer__links a:hover { color: var(--fg); }
.footer__credit { flex-basis: 100%; color: var(--fg-dim); opacity: 0.8; }

.floating-cta { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; display: none; align-items: center; gap: 0.5rem; padding: 0.85em 1.2em; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 14px 34px -12px rgba(225,6,0,0.7); transform: translateY(120%); transition: transform 0.45s var(--ease); }
.floating-cta.is-visible { transform: translateY(0); }

/* ---------- 11. REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
body.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .album__grid { grid-template-columns: 1fr; }
  .album__cover { max-width: 420px; }
  .scatter { display: block; columns: 2; column-gap: clamp(0.75rem, 2vw, 1.25rem); }
  .scatter__item { break-inside: avoid; page-break-inside: avoid; margin-bottom: clamp(0.75rem, 2vw, 1.25rem); margin-top: 0 !important; }
}
@media (max-width: 820px) {
  .nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }
  .products { grid-template-columns: repeat(2, 1fr); max-width: none; margin-inline: 0; }
  .store-filter { flex-wrap: nowrap; }
  .floating-cta { display: inline-flex; }
  .cursor { display: none !important; }
  .hero__yg-img { display: none; }
  .info-card { position: static; margin: 1.5rem auto 0; }
  .hero { gap: 1.5rem; }
  .hero__headline { font-size: clamp(1.2rem, 6.5vw, 2.4rem); }
  .hero__ring { display: none; }
  .hero__portrait { width: min(88vw, 420px); }
  .scroll-stage { height: 200vh; }
}
@media (max-width: 560px) {
  .track { grid-template-columns: auto auto 1fr auto; }
  .track__feat { display: none; }
  .album__facts { grid-template-columns: 1fr 1fr; }
  .signup__row { flex-direction: column; }
  .signup__row .btn { justify-content: center; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .grain, .dot--accent, .hero__scroll .icon, .contour--drift, .contour--hero, .c-anim path, .contour--anim path, .hero__ring circle { animation: none !important; }
  .contour--anim { display: none; }
  .cursor { display: none !important; }
  .loader { display: none !important; }
  /* Horizontal rails: stop counter-scroll, keep static & legible */
  .rail { position: static; justify-content: center; }
  .scroll-stage { height: auto; }
  .scroll-stage__pin { position: static; height: auto; gap: 2rem; padding: 4rem 0; grid-auto-flow: row; }
}
