:root {
  --ink: #080a0f;
  --ink-soft: #0d1017;
  --paper: #e8e3d9;
  --paper-muted: #aaa59d;
  --red: #8f2831;
  --red-light: #b53c47;
  --gold: #a18c63;
  --line: rgba(232, 227, 217, 0.16);
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(161, 140, 99, 0.13), transparent 31rem),
    radial-gradient(circle at 8% 32%, rgba(143, 40, 49, 0.13), transparent 38rem),
    linear-gradient(180deg, #0a0c12 0%, #06070b 54%, #090a0e 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 9998;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 9999;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxODAiIGhlaWdodD0iMTgwIiB2aWV3Qm94PSIwIDAgMTgwIDE4MCI+PGZpbHRlciBpZD0ibiI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNzgiIG51bU9jdGF2ZXM9IjQiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9IjAuNzIiLz48L3N2Zz4=") repeat;
  mix-blend-mode: soft-light;
  opacity: 0.032;
}

body::after {
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.62);
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; }
button, input, textarea { font: inherit; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; 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;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 14, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-primary { font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: 0.055em; text-transform: uppercase; }
.brand-secondary { margin-top: 7px; color: var(--paper-muted); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; }

.primary-nav { display: flex; gap: clamp(12px, 2vw, 28px); align-items: center; }
.primary-nav a { color: var(--paper-muted); font-size: 0.74rem; font-weight: 650; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; transition: color 180ms ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--paper); }
.header-socials { display: flex; align-items: center; gap: 11px; margin-left: 2px; border-left: 1px solid var(--line); padding-left: 18px; }
.header-socials a { display: grid; width: 22px; height: 22px; place-items: center; color: var(--paper-muted); }
.header-socials svg { width: 18px; height: 18px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.header-socials .social-icon-fill { fill: currentColor; stroke: none; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #07090d;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% -12% 4% 38%;
  background: radial-gradient(circle at 68% 42%, rgba(173, 139, 82, 0.17), transparent 48%);
  filter: blur(18px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -15% -45% 35%;
  height: 75%;
  background: radial-gradient(ellipse, rgba(143, 40, 49, 0.2), transparent 62%);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,13,0.99) 0%, rgba(7,9,13,0.91) 43%, rgba(7,9,13,0.68) 100%),
    linear-gradient(0deg, #07090d 0%, transparent 32%),
    url("../images/releases/header.jpg") center 22% / cover no-repeat;
  filter: grayscale(0.9) contrast(1.18) saturate(0.72);
  opacity: 0.52;
  transform: scale(1.03);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); align-items: center; gap: clamp(48px, 8vw, 120px); padding-block: 130px 90px; }
.eyebrow { margin: 0 0 22px; color: var(--gold); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }

h1, h2, h3 { margin-top: 0; color: var(--paper); font-family: var(--serif); font-weight: 400; line-height: 0.98; }
h1 { max-width: 850px; margin-bottom: 30px; font-size: clamp(3.2rem, 8.2vw, 7.9rem); letter-spacing: -0.055em; }
h1 em, h2 em { color: var(--paper-muted); font-weight: 400; }
h2 { margin-bottom: 28px; font-size: clamp(2.8rem, 6vw, 5.8rem); letter-spacing: -0.045em; }
h3 { margin-bottom: 16px; font-size: clamp(1.55rem, 2.5vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.08; }

.hero-intro, .lede { max-width: 630px; color: var(--paper-muted); font-size: clamp(1.03rem, 1.6vw, 1.22rem); }
.hero-intro { margin: 0 0 38px; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 12px 20px; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.11em; text-decoration: none; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { border-color: var(--red); background: var(--red); color: white; }
.button-primary:hover, .button-primary:focus-visible { border-color: var(--red-light); background: var(--red-light); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--paper); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-transform: uppercase; text-underline-offset: 5px; }
.text-link span { color: var(--red-light); }

.hero-cover { position: relative; margin: 0; }
.hero-cover::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto -14px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(186, 157, 100, 0.52);
  box-shadow: 0 0 52px rgba(161, 140, 99, 0.08);
  pointer-events: none;
}
.hero-cover img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 38px 95px rgba(0,0,0,0.76), 0 0 70px rgba(143,40,49,0.09);
}
.hero-cover figcaption { position: relative; display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.hero-cover figcaption span { color: var(--paper-muted); font-size: 0.65rem; letter-spacing: 0.17em; text-transform: uppercase; }
.hero-cover figcaption strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.scroll-cue { position: absolute; right: 26px; bottom: 86px; color: var(--paper-muted); font-size: 0.62rem; letter-spacing: 0.2em; text-decoration: none; text-transform: uppercase; transform: rotate(90deg); transform-origin: right bottom; }

.section { position: relative; padding-block: clamp(90px, 12vw, 160px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(9,11,16,.84), rgba(6,8,12,.92)); }
.section-dark { background: linear-gradient(145deg, rgba(14,17,24,.96), rgba(6,8,12,.96) 72%); }
.section-heading { max-width: 620px; }
.section-heading-wide { max-width: 760px; margin-bottom: clamp(42px, 7vw, 78px); }
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.release-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(8, 10, 15, 0.94);
}
.release-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
}
.release-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.68);
  transition: filter 350ms ease;
}
.release-card:hover > img { filter: saturate(1); }
.release-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 48px); }
.release-meta { margin: 0 0 14px; color: var(--gold); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.release-actions { display: flex; gap: 20px; margin-top: auto; padding-top: 24px; }
.release-actions a { color: var(--paper); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-decoration-color: var(--red); text-transform: uppercase; text-underline-offset: 5px; }
details { width: 100%; margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { padding: 13px 0; color: var(--paper-muted); cursor: pointer; font-size: 0.71rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
details ol { margin: 0; padding: 8px 0 18px 24px; color: var(--paper-muted); font-size: 0.83rem; }
.two-column-list { columns: 2; column-gap: 42px; }

.collaboration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.collaboration-card { background: rgba(8, 10, 15, 0.94); }
.collaboration-card > img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(0.7) contrast(1.02); transition: filter 300ms ease; }
.collaboration-card:hover > img { filter: grayscale(0.15); }
.collaboration-card > div:last-child { padding: 28px; }
.collaboration-feature { grid-column: span 2; display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; }
.cover-stack { position: relative; min-height: 520px; overflow: hidden; }
.cover-stack img { position: absolute; width: 64%; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.cover-stack img:first-child { top: 7%; left: 7%; transform: rotate(-5deg); }
.cover-stack img:last-child { right: 5%; bottom: 5%; transform: rotate(6deg); }
.collaboration-card p:not(.release-meta) { color: var(--paper-muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-button { border: 1px solid var(--line); padding: 9px 14px; background: transparent; color: var(--paper-muted); cursor: pointer; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; }
.filter-button:hover, .filter-button:focus-visible, .filter-button.is-active { border-color: var(--paper); background: var(--paper); color: var(--ink); }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { margin: 0; }
.video-button { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; padding: 0; background: #050505; color: white; cursor: pointer; }
.video-button img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7) brightness(0.7); transition: filter 220ms ease, transform 400ms ease; }
.video-button:hover img, .video-button:focus-visible img { filter: grayscale(0.15) brightness(0.9); transform: scale(1.025); }
.play-mark { position: absolute; inset: 50% auto auto 50%; display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(0,0,0,.35); transform: translate(-50%, -50%); backdrop-filter: blur(5px); }
.play-mark::after { content: ""; width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid white; }
.video-card figcaption { padding-top: 12px; color: var(--paper-muted); font-size: 0.65rem; letter-spacing: .12em; text-transform: uppercase; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; }

.photos-section { background: linear-gradient(160deg, rgba(12,13,18,.97), rgba(8,7,10,.98) 52%, rgba(18,10,13,.94)); }
.photo-grid { columns: 3; column-gap: 16px; }
.photo-card { break-inside: avoid; margin: 0 0 16px; }
.photo-button { position: relative; width: 100%; border: 0; padding: 0; overflow: hidden; background: #111; color: white; cursor: zoom-in; }
.photo-button img { width: 100%; transition: filter 240ms ease, transform 500ms ease; }
.photo-button[data-label]::after { content: attr(data-label); position: absolute; inset: auto 0 0; padding: 44px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.82)); font-family: var(--serif); font-size: 1.1rem; text-align: left; opacity: 0; transform: translateY(5px); transition: opacity 180ms ease, transform 180ms ease; }
.photo-button:hover img, .photo-button:focus-visible img { filter: brightness(.75); transform: scale(1.018); }
.photo-button[data-label]:hover::after, .photo-button[data-label]:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery-empty { margin: 0; border: 1px solid var(--line); padding: clamp(44px, 9vw, 100px) 24px; color: var(--paper-muted); font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 3rem); text-align: center; }

.about-section { background: radial-gradient(circle at 82% 12%, #f2eee5, transparent 34%), linear-gradient(135deg, #e9e3d7, #d8d0c3); color: var(--ink); }
.about-section h2 { color: var(--ink); }
.about-section h2 em { color: #68645e; }
.about-section .eyebrow { color: var(--red); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(50px, 10vw, 140px); }
.about-copy { max-width: 680px; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.45; }
.social-list { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(0,0,0,.18); }
.social-list a { font-family: var(--sans); font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-decoration-color: var(--red); text-transform: uppercase; text-underline-offset: 5px; }
.social-list span { color: var(--red); }

.contact-section { background: radial-gradient(circle at 12% 18%, rgba(143,40,49,.16), transparent 34rem), linear-gradient(120deg, rgba(15,17,24,.98) 0%, rgba(6,8,12,.99) 72%); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(50px, 10vw, 140px); align-items: start; }
.contact-form { display: grid; gap: 26px; }
.form-field { display: grid; gap: 8px; }
.form-field label { color: var(--paper-muted); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 2px;
  background: transparent;
  color: var(--paper);
  outline: 0;
  transition: border-color 180ms ease;
}
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--gold); }
.contact-form .button { justify-self: start; min-width: 170px; cursor: pointer; }
.contact-form .button:disabled { cursor: wait; opacity: .65; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin: -10px 0 0; color: var(--paper-muted); font-size: .8rem; }
.form-status.is-success { color: #b8c6a0; }
.form-status.is-error { color: #d98484; }

.site-footer { padding-block: 58px; background: linear-gradient(180deg, #06070a, #030405); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: center; text-align: center; }
.site-footer p { margin: 10px 0 0; color: var(--paper-muted); font-size: .75rem; }

.lightbox { position: fixed; width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; border: 0; padding: 36px 88px; background: rgba(4,4,4,.96); color: var(--paper); }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { max-width: min(1200px, 86vw); max-height: calc(100vh - 72px); margin: 0; display: grid; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox figcaption { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 24px; padding-top: 14px; }
.lightbox figcaption strong { font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.lightbox figcaption span { color: var(--paper-muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.lightbox figcaption span:last-child { grid-column: 1 / -1; }
.lightbox-close, .lightbox-nav { position: fixed; border: 0; background: transparent; color: var(--paper); cursor: pointer; }
.lightbox-close { top: 20px; right: 24px; font-size: 2.2rem; font-weight: 200; }
.lightbox-nav { top: 50%; font-size: 1.8rem; transform: translateY(-50%); }
.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 980px) {
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 68px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; width: 42px; height: 42px; place-content: center; gap: 7px; border: 0; padding: 0; background: transparent; color: var(--paper); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 25px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; display: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 80px 32px; background: rgba(7,7,7,.98); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { font-family: var(--serif); font-size: clamp(2rem, 8vw, 4rem); font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .header-socials { gap: 20px; margin: 8px 0 0; border-top: 1px solid var(--line); border-left: 0; padding: 24px 0 0; }
  .header-socials a { width: 30px; height: 30px; }
  .header-socials svg { width: 22px; height: 22px; }
  .release-grid, .collaboration-grid { grid-template-columns: 1fr 1fr; }
  .release-card { grid-template-columns: 1fr; }
  .release-card > img { height: auto; }
  .release-card-wide { grid-column: 1 / -1; grid-template-columns: minmax(260px, .8fr) 1.2fr; }
  .collaboration-feature { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 32px, 1180px); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 126px 90px; }
  .hero-cover { width: min(76vw, 420px); margin-left: auto; }
  .scroll-cue { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .release-grid, .collaboration-grid { grid-template-columns: 1fr; }
  .release-card-wide, .collaboration-feature { grid-column: auto; grid-template-columns: 1fr; }
  .cover-stack { min-height: 430px; }
  .collaboration-card > div:last-child { padding: 26px; }
  .photo-grid { columns: 2; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .button-row { align-items: stretch; }
  .button { width: 100%; }
  .text-link { margin-block: 6px; }
  .release-card-wide { grid-template-columns: 1fr; }
  .two-column-list { columns: 1; }
  .video-grid { grid-template-columns: 1fr; }
  .photo-grid { columns: 1; }
  .lightbox { padding: 60px 16px 24px; }
  .lightbox figure { max-width: calc(100vw - 32px); }
  .lightbox img { max-height: calc(100vh - 210px); }
  .lightbox figcaption { grid-template-columns: 1fr; }
  .lightbox-nav { top: auto; bottom: 22px; }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
