/* ============================================================
   Will Johnson — Film Composer
   ============================================================ */

:root {
  --bg: #0b0a09;
  --bg-2: #131110;
  --bg-3: #1c1916;
  --text: #ece5da;
  --muted: #9a8f80;
  --accent: #c9a45f;
  --accent-rgb: 201, 164, 95;
  --accent-soft: rgba(201, 164, 95, 0.14);
  --line: rgba(236, 229, 218, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- film grain ---------- */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-40px, 30px); }
  50% { transform: translate(30px, -45px); }
  75% { transform: translate(-25px, -20px); }
  100% { transform: translate(0, 0); }
}

/* ---------- typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; }

.display {
  font-size: clamp(3.2rem, 9.5vw, 7.5rem);
  letter-spacing: 0.005em;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 0.5rem 0 1.5rem;
}

.lede { font-size: 1.06rem; color: var(--muted); max-width: 56ch; }

/* ---------- layout ---------- */
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
section { position: relative; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4vw;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 10, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 4vw;
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 2.6rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px;
  position: relative;
  z-index: 110;
}
.nav-burger span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--text);
  transition: 0.35s var(--ease);
}
.nav-burger span:nth-child(1) { top: 2px; }
.nav-burger span:nth-child(2) { top: 10px; }
.nav-burger span:nth-child(3) { top: 18px; }
.nav-burger.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 2.1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: color 0.35s;
  cursor: pointer;
  background: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn.solid { background: var(--accent); color: var(--bg); }
.btn.solid::before { background: var(--text); }
.btn.solid:hover { color: var(--bg); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn.ghost { border-color: var(--line); }

/* ---------- hero ---------- */
.hero {
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero.jpg") center 30% / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 70% 20%, transparent 30%, rgba(11,10,9,0.55) 100%),
    linear-gradient(to top, var(--bg) 2%, rgba(11,10,9,0.55) 36%, rgba(11,10,9,0.18) 70%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 60%) var(--my, 40%), rgba(201,164,95,0.10), transparent 70%);
  transition: background 0.2s;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 10vh, 8rem);
  width: min(1180px, 92vw);
  margin: 0 auto;
}
.hero .display { margin: 1.1rem 0 1.4rem; }
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line span {
  display: block;
  transform: translateY(110%);
  animation: riseUp 1.1s var(--ease) forwards;
}
.hero-line:nth-child(2) span { animation-delay: 0.15s; }
@keyframes riseUp { to { transform: translateY(0); } }
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) forwards;
}
.fade-up.d1 { animation-delay: 0.5s; }
.fade-up.d2 { animation-delay: 0.75s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-tag {
  font-size: 1.15rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.5rem;
  max-width: 34ch;
}
.hero-cta { display: flex; gap: 1.1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 2.2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--accent), transparent);
  animation: cueDrop 2s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.15rem 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 3.4rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track span i {
  font-style: normal;
  color: var(--accent);
  margin-left: 3.4rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { padding: clamp(5rem, 12vh, 9rem) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-imgs { position: relative; }
.tilt {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
  transform-style: preserve-3d;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.tilt img { transition: transform 0.6s var(--ease); width: 100%; }
.tilt:hover img { transform: scale(1.04); }
.about-img-main { width: 82%; }
.about-img-sub {
  position: absolute;
  width: 52%;
  right: 0;
  bottom: -14%;
  border: 1px solid var(--line);
  outline: 10px solid var(--bg);
}
.about-body p { color: var(--muted); margin-bottom: 1.2rem; max-width: 58ch; }
.about-body p strong { color: var(--text); font-weight: 400; }
.about-cta { margin-top: 2.2rem; }

/* ---------- quote band ---------- */
.quote-band {
  position: relative;
  padding: clamp(6rem, 16vh, 11rem) 0;
  overflow: hidden;
}
.quote-bg {
  position: absolute;
  inset: -12% 0;
  background: url("../assets/img/forest.jpg") center / cover no-repeat;
  will-change: transform;
  filter: saturate(0.85) brightness(0.6);
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), transparent 30%, transparent 70%, var(--bg));
}
.quote-band blockquote {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.9rem);
  font-style: italic;
  text-align: center;
  max-width: 26ch;
  margin: 0 auto;
  line-height: 1.35;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.quote-band blockquote em { color: var(--accent); }

/* ---------- listen CTA panel ---------- */
.listen-cta { padding: clamp(5rem, 12vh, 9rem) 0; text-align: center; }
.eq {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  height: 54px;
  margin-bottom: 2rem;
}
.eq i {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: eq 1.4s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes eq {
  0%, 100% { height: 18%; }
  50% { height: 100%; }
}

/* ---------- page header (inner pages) ---------- */
.page-head {
  padding: clamp(9rem, 20vh, 13rem) 0 clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-head .display { font-size: clamp(3rem, 8vw, 6rem); margin-top: 0.8rem; }
.page-head .lede { margin-top: 1.2rem; }

/* ---------- filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 2.2rem 0 0.4rem;
}
.chip {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* ---------- track list ---------- */
.tracks { padding: 1.6rem 0 5rem; }
.track {
  display: grid;
  grid-template-columns: 2.4rem 3.4rem minmax(150px, 0.85fr) 2fr 6rem;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 1.2rem;
  border-bottom: 1px solid var(--line);
  border-radius: 6px;
  transition: background 0.3s;
  position: relative;
}
.track:hover { background: rgba(236, 229, 218, 0.03); }
.track.hidden { display: none; }
.track.active { background: var(--accent-soft); }
.t-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}
.t-play {
  width: 3.3rem; height: 3.3rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s;
  flex: none;
}
.t-play:hover { background: var(--accent); color: var(--bg); transform: scale(1.08); }
.track.active .t-play { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.t-play svg { width: 13px; height: 13px; fill: currentColor; }
.t-play .ico-pause { display: none; }
.track.playing .t-play .ico-play { display: none; }
.track.playing .t-play .ico-pause { display: block; }
.t-meta { min-width: 0; }
.t-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-genre {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.t-wave { width: 100%; height: 44px; cursor: pointer; display: block; }
.t-time {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- video feature ---------- */
.video-feature { padding: clamp(4rem, 10vh, 7rem) 0 6rem; border-top: 1px solid var(--line); }
.video-frame {
  margin-top: 2.4rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  position: relative;
}
.video-frame video { width: 100%; display: block; }

/* ---------- mini player ---------- */
.mini {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translate(-50%, 140%);
  width: min(680px, 92vw);
  background: rgba(19, 17, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.4rem 0.6rem 0.6rem;
  z-index: 90;
  transition: transform 0.5s var(--ease);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.mini.show { transform: translate(-50%, 0); }
.mini .t-play { width: 2.6rem; height: 2.6rem; background: var(--accent); border-color: var(--accent); color: var(--bg); }
.mini .ico-pause { display: none; }
.mini.playing .ico-play { display: none; }
.mini.playing .ico-pause { display: block; }
.mini-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: none;
  max-width: 160px;
}
.mini-wave {
  flex: 1;
  height: 30px;
  min-width: 0;
  cursor: pointer;
  display: block;
}
.mini-time { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 100svh;
}
.contact-photo {
  position: relative;
  background: url("../assets/img/portrait.jpg") center / cover no-repeat;
  min-height: 420px;
}
.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,10,9,0.15), rgba(11,10,9,0.55));
}
.contact-body {
  padding: clamp(8rem, 16vh, 11rem) clamp(2rem, 6vw, 6rem) 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-rows { margin: 2.6rem 0 3rem; display: grid; gap: 0.2rem; }
.c-row {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.05rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s;
}
a.c-row:hover { background: rgba(236,229,218,0.03); padding-left: 0.9rem; }
.c-ico {
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
  transition: all 0.3s;
}
a.c-row:hover .c-ico { border-color: var(--accent); background: var(--accent-soft); }
.c-ico svg { width: 15px; height: 15px; fill: currentColor; }
.c-label {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.c-val { font-size: 1.02rem; }
/* instagram pill */
.insta:hover .c-ico {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #fff;
}
.insta .c-val { position: relative; }
.insta:hover .c-val {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* form */
.form-title { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { position: relative; grid-column: span 2; }
.field.half { grid-column: span 1; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  padding: 1.05rem 1.1rem;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-3);
}
.field label {
  position: absolute;
  top: -0.5rem;
  left: 0.8rem;
  background: var(--bg);
  padding: 0 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 3.2rem 0;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.foot-logo { font-family: var(--serif); font-size: 1.35rem; }
.foot-logo em { color: var(--accent); font-style: normal; }
.foot-links { display: flex; gap: 1.8rem; }
.foot-links a {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.foot-links a:hover { color: var(--accent); }
.foot-copy { font-size: 0.72rem; color: var(--muted); }

/* ---------- scroll treble clef ---------- */
.clef {
  position: fixed;
  left: clamp(8px, 1vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  pointer-events: none;
}
.clef svg {
  display: block;
  height: min(46vh, 340px);
  width: auto;
}
.clef .guide {
  stroke: rgba(236, 229, 218, 0.10);
  stroke-width: 2;
  stroke-linecap: round;
}
.clef .draw {
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(201, 164, 95, 0.45));
}
.clef .tip {
  fill: var(--accent);
  filter: drop-shadow(0 0 7px rgba(201, 164, 95, 0.9));
}
@media (max-width: 1360px) { .clef { display: none; } }

/* ---------- film-cut page transition ---------- */
.cut {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.26s ease;
}
.cut.out { opacity: 0; }

/* ---------- scroll timecode ---------- */
.tc {
  position: fixed;
  right: 1.3rem;
  bottom: 1.1rem;
  z-index: 80;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  pointer-events: none;
  display: flex;
  gap: 0.6em;
}
.tc em { color: var(--accent); font-style: normal; }
@media (max-width: 1000px) { .tc { display: none; } }

/* ---------- audio-reactive glow ---------- */
.pulse {
  position: fixed;
  left: 50%;
  bottom: -26vh;
  width: 130vw;
  height: 85vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 62% at 50% 100%, rgba(var(--accent-rgb), 0.38), transparent 72%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

/* ---------- vertical staff progress (listen) ---------- */
.staff-v {
  position: fixed;
  left: clamp(8px, 1vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  pointer-events: none;
}
.staff-v svg {
  display: block;
  height: min(66vh, 580px);
  width: auto;
  overflow: visible;
}
.staff .sl { stroke: var(--line); stroke-width: 1; }
.note { cursor: pointer; pointer-events: auto; }
.note .nh { fill: rgba(236, 229, 218, 0.20); transition: fill 0.45s; }
.note .ns { stroke: rgba(236, 229, 218, 0.20); stroke-width: 1.7; transition: stroke 0.45s; }
.note:hover .nh { fill: var(--text); }
.note.lit .nh { fill: var(--accent); }
.note.lit .ns { stroke: var(--accent); }
.note.playnote {
  filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.95));
  animation: notepulse 0.9s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes notepulse { 50% { transform: scale(1.3); } }
@media (max-width: 1360px) { .staff-v { display: none; } }

/* playing-row indicator */
.t-eq {
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  height: 20px;
}
.t-eq i {
  width: 3px;
  background: var(--accent);
  border-radius: 1.5px;
  animation: eq 0.85s ease-in-out infinite;
}
.t-eq i:nth-child(2) { animation-delay: -0.55s; }
.t-eq i:nth-child(3) { animation-delay: -0.25s; }
.t-eq i:nth-child(4) { animation-delay: -0.7s; }
.track.playing .t-num span { display: none; }
.track.playing .t-eq { display: flex; }
.track.playing .t-title { color: var(--accent); }
.track.playing { border-color: rgba(201, 164, 95, 0.4); }

/* ---------- end credits (contact) ---------- */
.credits {
  position: fixed;
  inset: 0;
  background: #050404;
  z-index: 9000;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.7s ease;
}
.credits.done { opacity: 0; pointer-events: none; }
.credits-roll {
  position: absolute;
  left: 0; right: 0;
  text-align: center;
  animation: rollup 7s linear forwards;
}
@keyframes rollup {
  from { transform: translateY(100vh); }
  to { transform: translateY(-130%); }
}
.credits-roll .cr-small {
  font-size: 0.64rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 3rem 0 0.5rem;
}
.credits-roll h2 { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; }
.credits .cr-skip {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(154, 143, 128, 0.7);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 9, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 105;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1rem; }
  .nav-burger { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-imgs { margin-bottom: 2.5rem; max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo { min-height: 46vh; }
  .contact-body { padding-top: 3.5rem; }
  .track { grid-template-columns: 2.6rem 1fr 4.6rem; row-gap: 0.9rem; }
  .t-num { display: none; }
  .t-wave { grid-column: 1 / -1; height: 38px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.half { grid-column: span 2; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
