:root {
  --ink: #050b11;
  --ink-soft: #0b1520;
  --paper: #efe8dc;
  --gold: #cda464;
  --gold-light: #e8c98c;
  --blue: #086db2;
  --line: rgba(232, 201, 140, 0.26);
  --sans: "DM Sans", sans-serif;
  --serif: "Italiana", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 88px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, height .35s ease, border-color .35s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(5, 11, 17, .88);
  backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,.08);
}
.wordmark { font: 400 1.55rem/1 var(--serif); letter-spacing: .27em; }
.desktop-nav { display: flex; gap: 38px; font-size: .7rem; text-transform: uppercase; letter-spacing: .22em; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }

.menu-button { display: none; width: 38px; height: 38px; padding: 10px 6px; background: none; border: 0; color: var(--paper); position: relative; z-index: 60; }
.menu-button span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s ease; }
.menu-button.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero, .performance, .public { position: relative; overflow: hidden; }
.hero { min-height: 100svh; display: flex; align-items: center; }
.hero-image, .performance-image, .public-image { position: absolute; inset: -7%; background-size: cover; background-position: center; will-change: transform; }
.hero-image { background-image: url("/assets/redibi-hero.webp"); background-position: center center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,8,13,.94) 0%, rgba(2,8,13,.65) 35%, rgba(2,8,13,.05) 70%), linear-gradient(0deg, rgba(2,8,13,.62), transparent 35%); }
.hero-copy { position: relative; z-index: 2; width: min(740px, 49vw); margin-left: clamp(24px, 7vw, 130px); padding-top: 46px; }
.eyebrow, .section-kicker { margin: 0 0 26px; color: var(--gold-light); font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; }
.hero h1 { margin: 0 0 10px; font: 400 clamp(5.8rem, 12vw, 12.5rem)/.76 var(--serif); letter-spacing: -.035em; }
.hero-line { margin: 30px 0 0; font: 400 clamp(1.6rem, 3.5vw, 3.7rem)/1.08 var(--serif); }
em { color: var(--gold-light); font-weight: 400; }
.round-link { margin-top: 46px; width: 124px; aspect-ratio: 1; border: 1px solid rgba(232,201,140,.7); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 13px; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; transition: background .3s ease, color .3s ease, transform .3s ease; }
.round-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.round-link:hover { background: var(--gold-light); color: var(--ink); transform: scale(1.05); }
.hero-meta { position: absolute; z-index: 2; right: clamp(24px,4vw,70px); bottom: 42px; display: flex; align-items: center; gap: 12px; font-size: .58rem; letter-spacing: .22em; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.scroll-cue { position: absolute; z-index: 2; left: 24px; bottom: 36px; display: flex; gap: 10px; align-items: center; writing-mode: vertical-rl; font-size: .55rem; text-transform: uppercase; letter-spacing: .22em; opacity: .7; }
.scroll-cue span { height: 44px; width: 1px; background: var(--gold); animation: breathe 1.8s ease-in-out infinite; }

.manifesto { padding: clamp(100px, 14vw, 220px) clamp(24px, 7vw, 130px); background: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 10vw; align-items: end; }
.manifesto h2, .songs h2, .public h2 { margin: 0; font: 400 clamp(3.4rem, 7.2vw, 8rem)/.94 var(--serif); letter-spacing: -.035em; }
.manifesto-copy { max-width: 440px; padding-bottom: 8px; }
.manifesto-copy p { margin: 0 0 38px; color: rgba(239,232,220,.7); font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.75; }
.manifesto-copy span { color: var(--gold); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; }

.performance { min-height: 110svh; display: flex; align-items: flex-end; padding: clamp(40px, 6vw, 100px); }
.performance-image { background-image: url("/assets/redibi-intimate.webp"); }
.performance-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 25%, rgba(3,8,12,.2) 55%, rgba(3,8,12,.84)), linear-gradient(0deg, rgba(3,8,12,.82), transparent 55%); }
.performance blockquote { position: relative; z-index: 2; margin: 0 0 3vh auto; width: min(690px, 50vw); font: 400 clamp(2.4rem, 5vw, 5.5rem)/1.04 var(--serif); text-align: right; }
.performance blockquote span { color: var(--gold); }
.performance-caption { position: absolute; z-index: 2; left: clamp(24px,5vw,90px); bottom: clamp(34px,6vw,90px); display: flex; gap: 16px; align-items: flex-start; font-size: .72rem; line-height: 1.7; text-transform: uppercase; letter-spacing: .14em; }
.performance-caption i { width: 34px; height: 1px; margin-top: 8px; background: var(--gold); }
.performance-caption p { margin: 0; }

.songs { padding: clamp(110px, 14vw, 210px) clamp(24px, 7vw, 130px); background: var(--paper); color: var(--ink); }
.songs .section-kicker { color: #835f2f; }
.songs-heading { margin-bottom: clamp(70px, 9vw, 140px); }
.songs h2 em { color: #9b6a2b; }
.song-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(5,11,17,.25); }
.song-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px; min-height: 98px; border-bottom: 1px solid rgba(5,11,17,.25); cursor: default; transition: color .25s ease, padding .25s ease, background .25s ease; }
.song-row span, .song-row b { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.song-row h3 { margin: 0; font: 400 clamp(1.55rem, 3vw, 3rem)/1 var(--serif); }
.song-row b { color: rgba(5,11,17,.5); }
.song-row:hover, .song-row:focus { color: var(--paper); background: var(--ink-soft); padding-inline: 24px; outline: none; }
.song-row:hover b, .song-row:focus b { color: var(--gold); }

.marquee { overflow: hidden; padding: 28px 0 25px; background: var(--blue); color: white; border-block: 1px solid rgba(255,255,255,.35); }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; font: 400 clamp(1.6rem, 3.4vw, 3.7rem)/1 var(--serif); }
.marquee-track span { white-space: nowrap; }
.marquee i { color: var(--gold-light); font-style: normal; padding: 0 .4em; }

.public { min-height: 100svh; display: flex; align-items: flex-end; padding: clamp(42px,7vw,120px); }
.public-image { background-image: url("/assets/redibi-crowd.webp"); background-position: center; }
.public-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,8,12,.78), transparent 56%), linear-gradient(0deg, rgba(3,8,12,.75), transparent 58%); }
.public-copy { position: relative; z-index: 2; }
.public-copy h2 { font-size: clamp(4rem, 8vw, 9rem); }
.public-copy > p:last-child { max-width: 360px; margin: 30px 0 0; color: rgba(239,232,220,.78); line-height: 1.7; }
.public-link { position: absolute; z-index: 2; right: clamp(30px,7vw,120px); bottom: clamp(42px,7vw,120px); background: rgba(5,11,17,.25); backdrop-filter: blur(5px); }

footer { min-height: 270px; padding: 65px clamp(24px,5vw,80px) 34px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 36px; align-items: start; color: rgba(239,232,220,.65); border-top: 1px solid var(--line); }
footer .wordmark { color: var(--paper); }
footer p { margin: 4px 0; font: 400 1.4rem/1.2 var(--serif); }
footer > a:not(.wordmark) { color: var(--gold); font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; }
footer small { grid-column: 1 / -1; align-self: end; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes breathe { 50% { transform: scaleY(.45); opacity: .4; } }

@media (max-width: 800px) {
  .site-header { height: 70px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; background: rgba(5,11,17,.98); font: 400 2.5rem/1 var(--serif); transform: translateY(-101%); transition: transform .45s cubic-bezier(.75,0,.2,1); }
  .mobile-menu.open { transform: none; }
  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 54px; }
  .hero-image { inset: -3%; background-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(2,8,13,.97) 0%, rgba(2,8,13,.64) 46%, rgba(2,8,13,.1) 80%); }
  .hero-copy { width: auto; margin: 0 24px; padding: 0; }
  .hero h1 { font-size: clamp(5.1rem, 26vw, 8.2rem); }
  .hero-line { font-size: clamp(1.65rem, 7.5vw, 2.7rem); margin-top: 22px; }
  .round-link { width: 102px; margin-top: 28px; }
  .hero-meta, .scroll-cue { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 54px; }
  .manifesto h2, .songs h2 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .performance { min-height: 95svh; }
  .performance-image { inset: -3%; background-position: 38% center; }
  .performance-overlay { background: linear-gradient(0deg, rgba(3,8,12,.94), transparent 68%); }
  .performance blockquote { width: 100%; margin: 0 0 120px; font-size: clamp(2.2rem, 10vw, 4rem); text-align: left; }
  .performance-caption { left: 24px; bottom: 34px; }
  .song-row { grid-template-columns: 36px 1fr; gap: 10px; min-height: 82px; }
  .song-row b { display: none; }
  .song-row:hover, .song-row:focus { padding-inline: 12px; }
  .public { min-height: 92svh; padding: 36px 24px 48px; }
  .public-image { inset: -3%; background-position: 38% center; }
  .public-shade { background: linear-gradient(0deg, rgba(3,8,12,.96) 0%, rgba(3,8,12,.35) 66%, transparent); }
  .public-copy h2 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .public-link { display: none; }
  footer { grid-template-columns: 1fr; min-height: 340px; }
  footer small { grid-column: 1; }
}

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