:root {
  --ink: #090909;
  --paper: #f1eee7;
  --rosa: #ff477e;
  --red: #f22d19;
  --sun: #ff8a00;
  --line: rgba(241, 238, 231, 0.24);
  --display: "Bodoni Moda", "Bodoni MT", Didot, serif;
  --sans: "Onest", "Avenir Next", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--rosa); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  opacity: 0.045;
  pointer-events: none;
  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='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  animation: grain 0.22s steps(2) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(3%, -2%, 0); }
  50% { transform: translate3d(-3%, 4%, 0); }
  75% { transform: translate3d(4%, 2%, 0); }
  100% { transform: translate3d(-2%, -4%, 0); }
}

#soundCanvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.sound-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 32px;
  text-align: center;
  background: radial-gradient(circle at 50% 45%, #271218 0%, #0a0909 45%, #050505 100%);
  transition: opacity 1s var(--ease-out), visibility 1s;
}
.sound-gate::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.13);
  pointer-events: none;
}
.sound-gate.is-hidden { opacity: 0; visibility: hidden; }
.sound-gate .eyebrow { position: relative; z-index: 2; margin: 0 0 30px; }
.sound-gate h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font: 400 clamp(3.4rem, 8.5vw, 8rem)/0.87 var(--display);
  letter-spacing: -0.07em;
}
.sound-gate h1 em { color: var(--rosa); font-weight: 400; }
.gate-copy { position: relative; z-index: 2; max-width: 370px; margin: 28px auto 36px; color: #a7a3a1; }
.gate-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 26px; }
.round-action {
  width: 136px;
  height: 136px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 10px;
  background: var(--rosa);
  color: #14090c;
  transition: transform .5s var(--ease-out), background .4s;
}
.round-action:hover { transform: scale(1.07) rotate(-4deg); background: #ff75a0; }
.sound-bars { display: flex; height: 22px; justify-content: center; align-items: center; gap: 4px; }
.sound-bars i { display: block; width: 3px; background: currentColor; animation: bars .8s ease-in-out infinite alternate; }
.sound-bars i:nth-child(1) { height: 9px; }
.sound-bars i:nth-child(2) { height: 22px; animation-delay: -.3s; }
.sound-bars i:nth-child(3) { height: 14px; animation-delay: -.55s; }
@keyframes bars { to { height: 5px; } }
.text-action { border: 0; border-bottom: 1px solid #777; padding: 6px 0; background: transparent; cursor: pointer; color: #aaa; }
.text-action:hover { color: #fff; border-color: #fff; }
.gate-orbit { position: absolute; width: min(62vw, 650px); aspect-ratio: 1; border: 1px solid rgba(255,71,126,.22); border-radius: 50%; animation: spin 18s linear infinite; }
.gate-orbit span { position: absolute; width: 9px; aspect-ratio: 1; background: var(--rosa); border-radius: 50%; box-shadow: 0 0 25px var(--rosa); }
.gate-orbit span:nth-child(1) { top: 14%; left: 14%; }
.gate-orbit span:nth-child(2) { right: -4px; top: 50%; }
.gate-orbit span:nth-child(3) { bottom: 7%; left: 24%; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 28px;
  mix-blend-mode: difference;
}
.wordmark { display: inline-flex; width: fit-content; align-items: baseline; gap: 4px; font-size: .7rem; letter-spacing: .16em; font-weight: 500; }
.wordmark strong { font: 500 1.08rem/1 var(--display); color: var(--rosa); letter-spacing: -.04em; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { position: relative; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.site-header nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.sound-toggle { justify-self: end; display: flex; align-items: center; gap: 9px; border: 0; background: transparent; cursor: pointer; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }
.sound-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.sound-toggle[aria-pressed="true"] .sound-dot { background: var(--rosa); border-color: var(--rosa); box-shadow: 0 0 14px var(--rosa); animation: dotPulse 1.2s infinite; }
@keyframes dotPulse { 50% { transform: scale(.65); opacity: .6; } }

.hero { position: relative; height: 100svh; min-height: 700px; overflow: hidden; background: #e9e6df; color: #111; }
.hero-image-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-image { height: 118%; object-fit: cover; object-position: 56% 24%; filter: saturate(.55) contrast(1.03); transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.06); transition: transform .3s ease-out; }
.hero-image-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240,237,230,.84) 0%, rgba(240,237,230,.07) 40%, rgba(0,0,0,.08) 100%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 45%); }
.hero-topline { position: absolute; top: 88px; left: 28px; right: 28px; display: flex; justify-content: space-between; padding-top: 11px; border-top: 1px solid rgba(0,0,0,.38); font-size: .64rem; text-transform: uppercase; letter-spacing: .18em; }
.hero-title { position: absolute; z-index: 3; left: 2.4vw; top: 49%; transform: translateY(-50%); width: 95vw; pointer-events: none; }
.hero-title-line { display: block; font: 400 clamp(5.3rem, 14.9vw, 14rem)/.65 var(--display); letter-spacing: -.095em; }
.hero-title-line--one { transform: translateX(-105%); animation: titleIn 1.5s .2s var(--ease-out) forwards paused; }
.hero-title-line--two { margin-left: 52%; color: var(--rosa); transform: translateX(120%); animation: titleIn 1.5s .35s var(--ease-out) forwards paused; }
body.has-entered .hero-title-line { animation-play-state: running; }
@keyframes titleIn { to { transform: translateX(0); } }
.title-orbit { display: inline-block; font-style: italic; transform: rotate(-8deg); }
.hero-statement { position: absolute; z-index: 4; left: 28px; right: 28px; bottom: 25px; display: flex; align-items: end; justify-content: space-between; color: #f5f2ec; }
.hero-statement p { max-width: 390px; margin: 0; font: 400 clamp(1.3rem, 2.2vw, 2.1rem)/1.08 var(--display); letter-spacing: -.035em; }
.circle-link { width: 100px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 8px; font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; transition: .45s var(--ease-out); }
.circle-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.circle-link:hover { background: var(--rosa); border-color: var(--rosa); color: #111; transform: rotate(-8deg) scale(1.06); }
.hero-index { position: absolute; top: 50%; right: -1.5vw; transform: rotate(90deg); font: 400 13vw/1 var(--display); color: rgba(0,0,0,.08); }

.section-index { padding-top: 12px; border-top: 1px solid rgba(10,10,10,.26); font-size: .64rem; text-transform: uppercase; letter-spacing: .18em; }
.section-index--light { border-color: var(--line); }
.manifesto { position: relative; min-height: 135vh; padding: 28px; background: var(--paper); color: var(--ink); overflow: hidden; }
.manifesto-copy { position: relative; z-index: 3; display: grid; grid-template-columns: 1.4fr 1fr; gap: 7vw; margin-top: 14vh; }
.manifesto-lead { margin: 0; max-width: 900px; font: 400 clamp(3.2rem, 7.1vw, 7.4rem)/.92 var(--display); letter-spacing: -.06em; }
.manifesto-body { margin: 16px 0 0; max-width: 480px; font-size: clamp(.95rem, 1.25vw, 1.2rem); line-height: 1.65; }
.portrait-cut { position: absolute; z-index: 2; width: min(37vw, 540px); right: 9vw; bottom: -10vh; margin: 0; }
.portrait-cut img { height: 79vh; object-fit: cover; object-position: center top; filter: contrast(1.08); }
.portrait-cut figcaption { position: absolute; right: calc(100% + 26px); bottom: 13vh; width: 180px; font: 400 1.1rem/1.2 var(--display); text-align: right; }
.manifesto-pulse { position: absolute; left: -17vw; bottom: -20vw; width: 70vw; aspect-ratio: 1; border: 1px solid rgba(255,71,126,.42); border-radius: 50%; }
.manifesto-pulse::before, .manifesto-pulse::after, .manifesto-pulse span { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,71,126,.28); border-radius: inherit; }
.manifesto-pulse::after { inset: 25%; }
.manifesto-pulse span { inset: 39%; background: var(--rosa); border: 0; }

.listening-room { position: relative; padding: 28px 28px 100px; background: #0b0b0b; overflow: hidden; }
.listening-room::before { content: ""; position: absolute; width: 70vw; aspect-ratio: 1; top: 10%; right: -42%; border-radius: 50%; background: var(--rosa); filter: blur(150px); opacity: .14; }
.listening-heading { margin: 12vh 0 11vh; }
.eyebrow { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.listening-heading h2, .gallery-heading h2, .finale h2 { margin: 18px 0 0; font: 400 clamp(4rem, 9vw, 9.3rem)/.82 var(--display); letter-spacing: -.07em; }
.listening-heading h2 em, .gallery-heading h2 em, .finale h2 em { color: var(--rosa); font-weight: 400; }
.player-shell { position: relative; z-index: 3; border-top: 1px solid var(--line); }
.now-playing { min-height: 450px; display: grid; grid-template-columns: minmax(280px, 450px) 1fr; align-items: center; gap: 8vw; padding: 54px 6vw; }
.record-art { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 30px 80px #000; animation: recordSpin 14s linear infinite paused; }
.player-shell.is-playing .record-art { animation-play-state: running; }
@keyframes recordSpin { to { transform: rotate(360deg); } }
.record-art img { width: 100%; height: 100%; object-fit: cover; }
.record-art::after { content: ""; position: absolute; inset: 43%; background: #111; border: 2px solid var(--paper); border-radius: 50%; }
.record-grooves { position: absolute; inset: 4%; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 9px rgba(0,0,0,.09), 0 0 0 12px rgba(255,255,255,.12), 0 0 0 24px rgba(0,0,0,.08), 0 0 0 28px rgba(255,255,255,.08), 0 0 0 48px rgba(0,0,0,.12); }
.record-label { position: absolute; z-index: 2; inset: 46%; display: grid; place-content: center; font-size: .46rem; color: var(--rosa); }
.track-kicker { color: #878787; font-size: .68rem; text-transform: uppercase; letter-spacing: .17em; }
.track-meta h3 { margin: 18px 0 12px; font: 400 clamp(2.8rem, 6vw, 6.4rem)/.9 var(--display); letter-spacing: -.06em; }
.track-meta p { color: #989898; }
.player-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; padding: 22px 0; border-top: 1px solid var(--line); }
.player-play { width: 62px; height: 62px; border: 1px solid var(--paper); border-radius: 50%; background: transparent; display: grid; place-content: center; cursor: pointer; transition: .3s; }
.player-play:hover { background: var(--rosa); border-color: var(--rosa); color: #111; }
.player-play svg { grid-area: 1/1; width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.player-play .icon-play { fill: currentColor; stroke: none; margin-left: 2px; }
.icon-pause { opacity: 0; }
.player-shell.is-playing .icon-play { opacity: 0; }
.player-shell.is-playing .icon-pause { opacity: 1; }
.player-timeline input { width: 100%; height: 2px; margin: 0; appearance: none; background: linear-gradient(90deg, var(--rosa) var(--progress, 0%), #3c3c3c var(--progress, 0%)); cursor: pointer; }
.player-timeline input::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--rosa); }
.time-row { display: flex; justify-content: space-between; margin-top: 8px; font-size: .62rem; color: #777; font-variant-numeric: tabular-nums; }
.next-track { border: 0; background: transparent; cursor: pointer; text-transform: uppercase; font-size: .66rem; letter-spacing: .14em; }
.next-track span { display: inline-block; margin-left: 8px; font-size: 1rem; transition: transform .25s; }
.next-track:hover span { transform: translate(4px, -4px); }
.track-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.track-list li { border-bottom: 1px solid var(--line); }
.track-list button { width: 100%; display: grid; grid-template-columns: 60px 1fr 90px 80px; gap: 15px; align-items: center; padding: 21px 8px; border: 0; background: transparent; text-align: left; cursor: pointer; transition: color .3s, padding .45s var(--ease-out); }
.track-list button:hover { padding-left: 22px; color: var(--rosa); }
.track-list .is-active button { color: var(--rosa); }
.track-number, .track-duration, .track-state { font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; }
.track-name { font: 400 clamp(1.25rem, 2.2vw, 2rem)/1 var(--display); }
.track-state { text-align: right; }

.gallery { padding: 28px 28px 14vw; background: var(--paper); color: var(--ink); overflow: hidden; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 12vh 0 16vh; }
.gallery-heading p { margin: 0 0 15px; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: start; }
.gallery-item { margin: 0; position: relative; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter 1s; }
.gallery-item { overflow: hidden; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.2); }
.gallery-item figcaption { display: flex; justify-content: space-between; position: absolute; left: 0; bottom: 0; width: 100%; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; }
.gallery-item--red { grid-column: 1 / span 5; height: 69vw; max-height: 980px; }
.gallery-item--white { grid-column: 8 / span 4; height: 46vw; max-height: 660px; margin-top: 12vw; }
.gallery-item--navy { grid-column: 2 / span 4; height: 48vw; max-height: 720px; margin-top: -6vw; }
.gallery-item--bw { grid-column: 7 / span 6; height: 64vw; max-height: 920px; margin-top: 9vw; }
.gallery-item--mood { grid-column: 2 / span 5; height: 60vw; max-height: 850px; margin-top: -16vw; }

.finale { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.finale-backdrop { position: absolute; inset: 0; }
.finale-backdrop img { height: 100%; object-fit: cover; object-position: center; filter: saturate(1.18) contrast(1.1); transform: scale(1.04); }
.finale-backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(10,3,0,.34); }
.finale-content { position: relative; z-index: 3; display: grid; justify-items: center; padding: 60px 24px; }
.finale h2 { font-size: clamp(5rem, 13vw, 13rem); }
.finale h2 em { color: var(--ink); text-shadow: 0 0 1px #fff; }
.finale-content > p:not(.eyebrow) { max-width: 540px; }
.finale-link { margin-top: 34px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.finale-link span { margin-left: 12px; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 32px 28px; min-height: 180px; border-top: 1px solid var(--line); background: var(--ink); font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }
.wordmark--footer { transform: scale(1.4); transform-origin: left bottom; }

.reveal { opacity: 0; transform: translateY(70px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr 1fr; }
  .site-header nav { display: none; }
  .hero-title-line { font-size: clamp(5rem, 19vw, 9rem); }
  .hero-title-line--two { margin-left: 39%; }
  .hero-image { object-position: 58% 30%; }
  .manifesto-copy { grid-template-columns: 1fr; }
  .manifesto-body { margin-left: 35%; }
  .portrait-cut { right: -3vw; width: 51vw; }
  .now-playing { grid-template-columns: minmax(220px, 330px) 1fr; gap: 6vw; padding-inline: 2vw; }
}

@media (max-width: 620px) {
  .sound-gate { padding: 22px; }
  .sound-gate::before { inset: 10px; }
  .sound-gate h1 { font-size: clamp(3.1rem, 16vw, 5.4rem); }
  .gate-actions { flex-direction: column; gap: 15px; }
  .round-action { width: 116px; height: 116px; }
  .gate-orbit { width: 110vw; }
  .site-header { padding: 15px 16px; }
  .sound-label { display: none; }
  .hero { min-height: 620px; }
  .hero-topline { top: 72px; left: 16px; right: 16px; }
  .hero-topline span:nth-child(2) { display: none; }
  .hero-image { height: 110%; object-position: 61% 20%; }
  .hero-image-wash { background: linear-gradient(180deg, rgba(240,237,230,.12), rgba(0,0,0,.5)); }
  .hero-title { left: 12px; top: 43%; }
  .hero-title-line { font-size: clamp(4.3rem, 22vw, 7rem); line-height: .72; }
  .hero-title-line--one { color: #111; }
  .hero-title-line--two { margin: 2px 0 0 30%; }
  .hero-statement { left: 16px; right: 16px; bottom: 18px; }
  .hero-statement p { max-width: 230px; font-size: 1.28rem; }
  .circle-link { width: 78px; }
  .manifesto, .listening-room, .gallery { padding-left: 16px; padding-right: 16px; }
  .manifesto { min-height: 1220px; }
  .manifesto-copy { margin-top: 10vh; }
  .manifesto-lead { font-size: clamp(3.2rem, 14vw, 5rem); }
  .manifesto-body { margin: 10px 0 0 15%; }
  .portrait-cut { width: 76vw; right: -9vw; bottom: 0; }
  .portrait-cut img { height: 62vh; min-height: 530px; }
  .portrait-cut figcaption { right: auto; left: -18vw; bottom: 70px; width: 130px; font-size: .95rem; }
  .listening-heading { margin: 10vh 0 8vh; }
  .listening-heading h2, .gallery-heading h2 { font-size: clamp(3.7rem, 16.4vw, 6rem); }
  .now-playing { grid-template-columns: 1fr; padding: 36px 7vw 44px; gap: 38px; }
  .record-art { width: 78vw; max-width: 360px; margin: auto; }
  .track-meta { text-align: center; }
  .player-controls { grid-template-columns: auto 1fr; }
  .next-track { display: none; }
  .track-list button { grid-template-columns: 35px 1fr 48px; padding: 18px 2px; }
  .track-state { display: none; }
  .track-duration { text-align: right; }
  .gallery-heading { display: block; margin: 10vh 0; }
  .gallery-heading p { margin-top: 30px; }
  .gallery-grid { gap: 11px; }
  .gallery-item--red { grid-column: 1 / span 8; height: 105vw; }
  .gallery-item--white { grid-column: 7 / span 6; height: 82vw; margin-top: 24vw; }
  .gallery-item--navy { grid-column: 1 / span 7; height: 88vw; margin-top: -6vw; }
  .gallery-item--bw { grid-column: 5 / span 8; height: 112vw; margin-top: 15vw; }
  .gallery-item--mood { grid-column: 1 / span 8; height: 105vw; margin-top: -20vw; }
  .finale h2 { font-size: clamp(4.7rem, 22vw, 8rem); }
  footer { grid-template-columns: 1fr auto; gap: 24px; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 420px) {
  .hero-topline { font-size: .57rem; }
  .hero-title { top: 41%; }
  .hero-title-line { font-size: clamp(4.1rem, 21vw, 5.6rem); }
  .hero-title-line--two { margin-left: 27%; }
  .hero-statement { align-items: end; gap: 12px; }
  .hero-statement p { max-width: 205px; font-size: 1.18rem; }
  .circle-link { width: 74px; flex: 0 0 74px; }
  .manifesto-body { margin-left: 8%; }
  .player-controls { gap: 16px; }
  .player-play { width: 58px; height: 58px; }
  .track-name { font-size: 1.18rem; }
  .gallery-item figcaption { padding: 9px; font-size: .55rem; }
}

@media (hover: none) and (pointer: coarse) {
  .gallery-item:hover img { transform: none; filter: none; }
  .track-list button:hover { padding-left: 2px; color: inherit; }
  .track-list .is-active button { color: var(--rosa); }
  .circle-link:hover { background: transparent; border-color: rgba(255,255,255,.7); color: inherit; transform: none; }
}

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