/* ==========================================================================
   Duke Aeroplane — dukeaeroplane.com
   Static recreation of the original Weebly site.
   Palette and type preserved from the original theme:
     page bg #242424 · content well #000 · accent reds #BE1E2D / #C23B3B
     headings: Josefin Slab (uppercase, letterspaced)
     nav:      Josefin Sans (uppercase, red)
     body:     Quicksand (light gray)
   ========================================================================== */

:root {
  --bg: #242424;
  --well: #000000;
  --red: #be1e2d;
  --red-soft: #c23b3b; /* 3.98:1 on black — AA for large/bold text only */
  --red-nav: #d63e4a;  /* 4.65:1 on black — AA for the small nav type */
  --red-dark: #7a141f;
  --text: #d5d5d5;
  --text-dim: #a1a1a1;
  --font-heading: "Josefin Slab", "Times New Roman", serif;
  --font-nav: "Josefin Sans", "Helvetica Neue", sans-serif;
  --font-body: "Quicksand", "Helvetica Neue", sans-serif;
  --container: 1000px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  border-top: 8px solid var(--red);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red-soft); text-underline-offset: 3px; }
a:hover { color: #ffffff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: .5em 1em; z-index: 100;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

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

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--well);
  text-align: center;
  padding: 2rem 1rem 0;
}

.site-logo { display: inline-block; border: 0; }
.site-logo img { width: min(340px, 70vw); display: block; }

.site-nav {
  background: var(--well);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #1c1c1c;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--red-dark);
  border-radius: 3px;
  color: var(--red-nav);
  font-family: var(--font-nav);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .55em 1.2em;
  margin: .6rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--red-nav); color: #fff; }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-menu a {
  display: block;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-nav);
  text-decoration: none;
  padding: 1rem .85rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-menu a:hover { color: #fff; border-bottom-color: #fff; }
.nav-menu a[aria-current="page"] { border-bottom-color: var(--red-nav); }

/* Tighten nav type at mid widths so the full bar survives on smaller screens */
@media (max-width: 1024px) {
  .nav-menu a { font-size: .78rem; letter-spacing: 1.5px; padding: 1rem .55rem; }
}

@media (max-width: 700px) {
  .nav-inner { justify-content: flex-start; flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    flex-basis: 100%;
    width: 100%;
    padding-bottom: .5rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: .85rem; letter-spacing: 2px; padding: .7rem 1.5rem; border-bottom: 0; border-left: 3px solid transparent; white-space: normal; }
  .nav-menu a[aria-current="page"] { border-left-color: var(--red-nav); }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

main {
  background: var(--well);
  padding: 3rem 1.25rem 4rem;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.container-narrow { max-width: 720px; margin: 0 auto; }

section { margin: 0 0 3.5rem; }
section:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.25;
  color: var(--red-soft);
  margin: 0 0 1rem;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); text-align: center; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.1rem; color: var(--text-dim); }

p { margin: 0 0 1.25em; }

.muted { color: var(--text-dim); }
.center { text-align: center; }

.lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  text-align: center;
  max-width: 46em;
  margin: 0 auto 1.5em;
}

.quote {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: var(--text);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.6;
  border: 0;
  margin: 0 auto;
  max-width: 40em;
  padding: 0 1rem;
}
/* Red quotes stay >=1.2rem (19.2px bold = WCAG large text) so #c23b3b passes AA */
.quote.red { color: var(--red-soft); font-size: clamp(1.2rem, 2.5vw, 1.35rem); }
.quote-attrib {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  font-size: .9rem;
  margin-top: .75em;
}

/* Red divider line — echoes the original darkredline.png graphic */
hr.redline {
  border: 0;
  height: 3px;
  margin: 3rem auto;
  max-width: var(--container);
  background: linear-gradient(to right, transparent, var(--red-dark) 12%, var(--red-dark) 88%, transparent);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
  padding: .75em 1.6em;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: #d92a3c; color: #fff; }
.btn.btn-outline {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red-nav);
}
.btn.btn-outline:hover { background: var(--red); color: #fff; }

/* --------------------------------------------------------------------------
   Imagery
   -------------------------------------------------------------------------- */

.feature-img { display: block; margin: 0 auto; }
.feature-img.rounded { border-radius: 4px; }

figure { margin: 0; }
figcaption { color: var(--text-dim); font-size: .85rem; text-align: center; padding-top: .5em; }

/* --------------------------------------------------------------------------
   Gallery (Media page, film stills, press photos)
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.gallery a {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: #111;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease, opacity .3s ease;
}

.gallery a:hover img { transform: scale(1.04); opacity: .85; }

@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* Carousel (Media page photo gallery) */
.carousel { position: relative; }

/* No CSS scroll-behavior here: the JS passes an explicit behavior so it can
   honor prefers-reduced-motion, and CSS smooth would also hijack instant
   programmatic scrolls (behavior:'auto' defers to CSS). */
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 3px;
  background: #111;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: auto;
  min-height: 300px;
  background: #111;
}
.carousel-slide img {
  max-width: 100%;
  max-height: min(65vh, 600px);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: none;
}
.carousel-slide:hover img { transform: none; opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, .6);
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  color: #eee;
  font-size: 1.8rem;
  line-height: 1;
  padding: .4em .5em;
  cursor: pointer;
}
.carousel-btn:hover { color: var(--red-nav); border-color: var(--red-nav); }
.carousel-btn.prev { left: .75rem; }
.carousel-btn.next { right: .75rem; }

.carousel-status {
  text-align: center;
  color: var(--text-dim);
  font-size: .85rem;
  letter-spacing: 1px;
  padding-top: .75rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .93);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #ddd;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: .5rem .9rem;
  font-family: var(--font-body);
}
.lightbox button:hover { color: var(--red-nav); }
.lightbox .lb-close { top: .5rem; right: .75rem; }
.lightbox .lb-prev { left: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  color: var(--text-dim); font-size: .85rem; letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Media embeds
   -------------------------------------------------------------------------- */

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 900px;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sc-embed { margin-bottom: 1.25rem; }
.sc-embed iframe { display: block; width: 100%; border: 0; border-radius: 3px; }

.track-list { display: grid; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   Two-column blocks (film bios, dates)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: 1.25rem; }
  .split.reverse > :first-child { order: 0; }
}

/* Event cards on Dates page */
.event {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  background: #111;
  border-left: 3px solid var(--red);
  border-radius: 3px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.event-when {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
}
.event-what { color: var(--text-dim); }
.event-what strong { color: var(--text); }
@media (max-width: 600px) {
  .event { grid-template-columns: 1fr; gap: .5rem; }
}

/* --------------------------------------------------------------------------
   Forms (Contact page)
   -------------------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
}

form label {
  display: block;
  font-size: .9rem;
  letter-spacing: 1px;
  margin: 1rem 0 .3rem;
  color: var(--text-dim);
}
.form-required { color: var(--red-nav); }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: 3px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .65em .75em;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--red-soft);
}

.checkbox-row {
  display: flex;
  gap: .6em;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--text-dim);
  margin: 1rem 0;
}
.checkbox-row input { margin-top: .35em; }

form .btn { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--red);
  padding: 2.5rem 1.25rem;
}
.site-footer .container {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .85rem;
  color: #ffffff;
  text-align: right;
}

/* ==========================================================================
   JAZZ LAYER
   Motion, texture, and swagger layered on top of the original theme.
   Everything here is additive and degrades gracefully:
     - reveal/parallax only engage once JS adds `.js-anim` to <html>
     - all of it is neutralised under prefers-reduced-motion
   ========================================================================== */

:root {
  --font-accent: "Special Elite", "Courier New", monospace;
}

/* --------------------------------------------------------------------------
   Film grain + vignette (injected by JS as fixed, non-interactive overlays)
   -------------------------------------------------------------------------- */

.grain, .vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 150; /* above content + nav, below the lightbox (200) */
}
.grain {
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain-drift .6s steps(3) infinite;
}
.vignette {
  z-index: 149;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%);
}
@keyframes grain-drift {
  0%, 100% { background-position: 0 0; }
  25%      { background-position: -28px 12px; }
  50%      { background-position: 18px -22px; }
  75%      { background-position: -12px 26px; }
}

/* --------------------------------------------------------------------------
   Scroll-reveal choreography
   JS tags <html> with `.js-anim`, gives blocks `.reveal`, then toggles `.in`.
   -------------------------------------------------------------------------- */

.js-anim .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js-anim .reveal.in { opacity: 1; transform: none; }

/* Kinetic redline — draws itself in when scrolled into view */
.js-anim hr.redline {
  transform: scaleX(0);
  transform-origin: center;
  opacity: .4;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .9s ease;
}
.js-anim hr.redline.in { transform: scaleX(1); opacity: 1; }

/* --------------------------------------------------------------------------
   Navigation swagger — scroll-shrink + drawn underline + stamped active page
   -------------------------------------------------------------------------- */

.site-header { transition: padding .3s ease; }
.site-header img { transition: width .3s ease; }
.site-nav { transition: box-shadow .3s ease; }
.site-nav.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.55); }
.site-nav.scrolled .site-header { padding-top: 0; }

@media (min-width: 701px) {
  .nav-menu a { position: relative; border-bottom: 2px solid transparent; }
  /* Drawn underline replaces the flat hover border */
  .nav-menu a::after {
    content: "";
    position: absolute;
    left: .85rem; right: .85rem; bottom: .55rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s cubic-bezier(.2,.7,.2,1);
  }
  .nav-menu a:hover { border-bottom-color: transparent; }
  .nav-menu a:hover::after { transform: scaleX(1); }
  /* Active page: a persistent red "stamp" underline that sits slightly askew */
  .nav-menu a[aria-current="page"] {
    border-bottom-color: transparent;
    color: #fff;
  }
  .nav-menu a[aria-current="page"]::after {
    background: var(--red-nav);
    height: 3px;
    transform: scaleX(1) rotate(-.6deg);
  }
}

/* --------------------------------------------------------------------------
   Collage imagery — "tacked-up" photos that tilt on hover
   -------------------------------------------------------------------------- */

.feature-img.rounded { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.feature-img.rounded:hover {
  transform: rotate(-1deg) scale(1.012);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}

.gallery a { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.gallery a:hover {
  transform: rotate(-1.4deg) scale(1.03);
  z-index: 3;
  box-shadow: 0 16px 34px rgba(0,0,0,.55);
}

/* --------------------------------------------------------------------------
   Marquee ticker — vaudeville show-band that scrolls across a red rail
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--red);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: .6rem 0;
  margin: 0 0 3.5rem;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .95rem;
  color: #fff;
  padding: 0 1.1rem;
}
.marquee .sep { color: rgba(0,0,0,.55); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Homepage hero — full-bleed duotone portrait, kinetic title, lyric verse
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  /* cancel main's 3rem/1.25rem padding to go edge-to-edge */
  margin: -3rem -1.25rem 0;
  min-height: min(84vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1) contrast(1.06) brightness(.72);
  will-change: transform;
}
/* Red duotone wash */
.hero-tint {
  position: absolute;
  inset: 0;
  background: var(--red);
  mix-blend-mode: color;
  opacity: .55;
}
/* Legibility gradient for the text (no blend, sits above the tint) */
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 4%, rgba(0,0,0,.35) 42%, rgba(0,0,0,.08) 78%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.25rem 3.2rem;
}
.hero-kicker {
  font-family: var(--font-accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  font-size: .95rem;
  margin: 0 0 .6rem;
  opacity: .92;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: .98;
  color: #fff;
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 6.2rem);
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--red-nav); }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-family: var(--font-nav);
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,7px);} }

/* Kinetic entrance for the title lines (runs once on load) */
.js-anim .hero-title .line > span { transform: translateY(105%); }
.hero-title.in .line > span {
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title.in .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }

/* Lyric verse — hand-typed pull quote */
.lyric-verse {
  font-family: var(--font-accent);
  text-transform: none;
  letter-spacing: .5px;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.9;
  color: var(--text);
  text-align: center;
  max-width: 34em;
  margin: 0 auto;
}
.lyric-verse .l {
  display: block;
  opacity: 0;
}
/* The verse animates when its containing section is revealed into view */
.js-anim .reveal.in .lyric-verse .l { animation: typeline .5s ease forwards; }
.js-anim .reveal.in .lyric-verse .l:nth-child(1) { animation-delay: .05s; }
.js-anim .reveal.in .lyric-verse .l:nth-child(2) { animation-delay: .35s; }
.js-anim .reveal.in .lyric-verse .l:nth-child(3) { animation-delay: .65s; }
.js-anim .reveal.in .lyric-verse .l:nth-child(4) { animation-delay: .95s; }
/* When JS is off, verse is simply visible */
.lyric-verse .l { opacity: 1; }
.js-anim .lyric-verse .l { opacity: 0; }
@keyframes typeline { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lyric-attrib {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  font-size: .9rem;
  margin-top: 1.4em;
}

/* Collage bio block — photo tacked at an angle beside the text */
.bio-collage {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 3rem;
  align-items: center;
}
.bio-collage .snapshot {
  position: relative;
  transform: rotate(-3deg);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.bio-collage .snapshot:hover { transform: rotate(-1deg) scale(1.02); }
.bio-collage .snapshot img {
  display: block;
  border: 8px solid #f4f1ea;
  border-bottom-width: 46px; /* polaroid chin */
  box-shadow: 0 20px 44px rgba(0,0,0,.55);
  border-radius: 2px;
}
/* Strip of "tape" across the top corner */
.bio-collage .snapshot::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 108px; height: 30px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(190,30,45,.32);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.bio-collage .snapshot figcaption {
  font-family: var(--font-accent);
  color: #2a2a2a;
  position: absolute;
  left: 0; right: 8px;
  bottom: 8px;
  text-align: center;
  font-size: .95rem;
  padding: 0;
}
.bio-lede { font-size: 1.08rem; }
.bio-lede::first-letter {
  font-family: var(--font-heading);
  font-weight: 700;
  float: left;
  font-size: 3.3rem;
  line-height: .8;
  padding: .06em .12em 0 0;
  color: var(--red-soft);
}
@media (max-width: 720px) {
  .bio-collage { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; }
  .bio-collage .snapshot { max-width: 300px; }
  .bio-lede { text-align: left; }
}

/* --------------------------------------------------------------------------
   Reduced-motion: strip every entrance/loop, show everything at rest
   (the global reduce block already kills transitions/animations; these
   rules make sure nothing is left hidden or mid-transform.)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .js-anim .reveal { opacity: 1 !important; transform: none !important; }
  .js-anim hr.redline { transform: none !important; opacity: 1 !important; }
  .js-anim .hero-title .line > span { transform: none !important; }
  .js-anim .lyric-verse .l { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .hero-scroll { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Interior page banner — a shorter cousin of the homepage hero
   (Music, and reusable elsewhere). Static image, no parallax.
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  margin: -3rem -1.25rem 3.5rem;
  min-height: min(48vh, 440px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.page-hero .hero-img { transform: scale(1.04); }
.page-hero .hero-title { font-size: clamp(2.2rem, 8vw, 4.6rem); }

/* --------------------------------------------------------------------------
   Music — jukebox: album cards with a spinning vinyl and a setlist
   -------------------------------------------------------------------------- */

.album {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 2.2rem;
  align-items: start;
  background: #0e0e0e;
  border-left: 3px solid var(--red);
  border-radius: 3px;
  padding: 1.9rem 2rem;
  margin-bottom: 2rem;
}
.album-cover { display: flex; justify-content: center; padding-top: .35rem; }
.album-meta {
  font-family: var(--font-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-nav);
  font-size: .8rem;
  margin: 0 0 .35rem;
}
.album h2 { text-align: left; margin: 0 0 1.3rem; }
.album .track-list { margin-top: .25rem; }
.album-buy { margin-top: 1.4rem; }

.vinyl {
  --size: 200px;
  position: relative;
  display: block;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, #0a0a0a 0 2px, #17171a 2px 4px);
  box-shadow: 0 16px 34px rgba(0,0,0,.6), inset 0 0 0 1px #000;
  transition: transform .3s ease;
}
/* Center label — red by default, or the album art when provided */
.vinyl::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.28);
}
.vinyl img {
  position: absolute;
  inset: 30%;
  width: 40%;
  height: 40%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.28);
}
/* Spindle hole */
.vinyl::before {
  content: "";
  position: absolute;
  inset: 47%;
  border-radius: 50%;
  background: #000;
  z-index: 2;
}
/* Sheen sweeping across the disc */
.vinyl { overflow: hidden; }
.vinyl > .sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.09) 50%, transparent 60%);
  z-index: 3;
}
.album:hover .vinyl { animation: spin 3.4s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .album { grid-template-columns: 1fr; justify-items: center; padding: 1.6rem; }
  .album h2 { text-align: center; }
  .album-body { width: 100%; }
}

/* --------------------------------------------------------------------------
   Film — cinematic letterbox, framed trailer, filmstrip, end-credits
   -------------------------------------------------------------------------- */

/* Letterboxed title stage */
.filmframe {
  position: relative;
  margin: -3rem -1.25rem 3.5rem;
  background: radial-gradient(ellipse at center, #141414 0%, #000 75%);
  padding: clamp(1.5rem, 6vw, 4rem) 1rem clamp(2rem, 6vw, 4rem);
  text-align: center;
  border-bottom: 1px solid #171717;
}
.filmframe img {
  max-height: min(66vh, 660px);
  width: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
}
.filmframe .film-kicker {
  margin: 1.6rem 0 0;
  font-family: var(--font-accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-size: .85rem;
}

/* Trailer on a cinema stage */
.trailer-stage {
  background: #000;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  padding: 1.4rem;
  box-shadow: 0 0 60px rgba(190,30,45,.12);
}
.trailer-label {
  text-align: center;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--red-nav);
  font-size: .9rem;
  margin: 0 0 1rem;
}
.trailer-label::before, .trailer-label::after { content: "\2726"; margin: 0 .6em; color: var(--red-dark); }

/* Filmstrip — horizontally scrollable strip of perforated frames */
.filmstrip {
  position: relative;
  overflow-x: auto;
  background: #0a0a0a;
  border-radius: 2px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.filmstrip::-webkit-scrollbar { display: none; }
/* Inner track is as wide as all the frames, so the perforations (anchored to
   it) span the full scroll width and scroll along with the frames. */
.filmstrip-track {
  position: relative;
  display: flex;
  gap: 5px;
  width: max-content;
  padding: 22px 6px;
}
.filmstrip-track::before, .filmstrip-track::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(to right, #0a0a0a 0 9px, #333 9px 19px);
}
.filmstrip-track::before { top: 4px; }
.filmstrip-track::after { bottom: 4px; }
.filmstrip a {
  flex: 0 0 auto;
  width: clamp(240px, 40vw, 320px);
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  border: 0;
  background: #000;
  scroll-snap-align: center;
  box-shadow: inset 0 0 0 1px #000;
}
.filmstrip img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
}
.filmstrip a:hover img { transform: scale(1.05); opacity: .88; }
.filmstrip-hint {
  text-align: center;
  color: var(--text-dim);
  font-family: var(--font-accent);
  letter-spacing: 2px;
  font-size: .78rem;
  text-transform: uppercase;
  padding-top: .8rem;
}

/* End-title credits */
.credits { text-align: center; }
.credits .credit {
  margin: 0 0 1.4rem;
  color: var(--text);
}
.credits .credit .role {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--red-nav);
  font-size: .72rem;
  margin-bottom: .25rem;
}
.credits .credit .who {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .album:hover .vinyl { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Collage passes — shared "pasted paper" look for the remaining pages
   -------------------------------------------------------------------------- */

/* A strip of translucent red "tape", reused across taped elements */
.tape::after {
  content: "";
  position: absolute;
  top: -13px; left: 50%;
  width: 110px; height: 28px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(190,30,45,.30);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  z-index: 4;
}

/* EPK — press quotes as pasted newspaper clippings */
.clipping {
  position: relative;
  background: #f2eee4;
  color: #262019;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.62;
  text-transform: none;
  letter-spacing: 0;
  max-width: 36em;
  margin: 0 auto 2.5rem;
  padding: 1.9rem 2.1rem 1.6rem;
  border-radius: 1px;
  box-shadow: 0 16px 38px rgba(0,0,0,.5);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(0,0,0,.03) 27px 28px);
}
.clipping.tilt-l { transform: rotate(-1.4deg); }
.clipping.tilt-r { transform: rotate(1.3deg); }
.clipping .quote-attrib {
  display: block;
  font-family: var(--font-accent);
  color: #8a1620;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .82rem;
  margin-top: 1em;
}
.clipping-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.clipping-row .clipping { margin-bottom: 0; }
@media (max-width: 680px) {
  .clipping-row { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Words — a sheet fed through the typewriter */
.typed-note {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  background: #f2eee4;
  color: #262019;
  padding: 3.2rem 2.6rem;
  transform: rotate(-1.1deg);
  border-radius: 2px;
  box-shadow: 0 20px 46px rgba(0,0,0,.55);
  text-align: center;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(0,0,0,.04) 31px 32px);
}
.typed-note .type-line {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  letter-spacing: .5px;
  margin: 0;
}
.typed-note .type-sub {
  font-family: var(--font-accent);
  color: #5c5348;
  font-size: .95rem;
  margin: 1.1rem 0 0;
}
.typed-note .cursor {
  display: inline-block;
  width: .62ch; height: 1.05em;
  margin-left: .06em;
  vertical-align: -.14em;
  background: #262019;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Dates — rubber "PAST" stamp for expired shows */
.event { position: relative; }
.stamp {
  position: absolute;
  top: 1rem; right: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 5px;
  padding: .12em .45em;
  font-size: 1.15rem;
  transform: rotate(-13deg);
  opacity: .78;
  box-shadow: 0 0 0 2px rgba(190,30,45,.14);
  pointer-events: none;
}
@media (max-width: 600px) {
  .stamp { position: static; display: inline-block; transform: rotate(-4deg); margin-top: .6rem; }
}

/* Merch — record-store display: sleeve with the disc sliding out */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
/* Hug the left of the column so the disc peeks into free column space,
   never over the text in the second column. */
.record-display {
  position: relative;
  width: min(320px, 68vw);
  justify-self: start;
}
.record-display .sleeve {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 22px 48px rgba(0,0,0,.6);
}
/* Centre the disc with top/height rather than a transform, so the hover
   spin animation (which drives `transform`) can't knock it downward. */
.record-display .vinyl.disc {
  width: 82%;
  height: auto;
  aspect-ratio: 1 / 1; /* height follows width — a % height would collapse to 0 here */
  position: absolute;
  top: 9%;
  left: 32%;
  z-index: 1;
  transition: left .55s cubic-bezier(.2,.7,.2,1);
}
.record-display:hover .vinyl.disc {
  left: 50%;
  animation: spin 3.6s linear infinite;
}

.buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; text-align: center; }
  .record-display { justify-self: center; }
  .record-display .vinyl.disc { left: 26%; }
  .buy-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .typed-note .cursor { animation: none !important; }
  .record-display:hover .vinyl { animation: none !important; }
  .clipping.tilt-l, .clipping.tilt-r, .typed-note { transform: none !important; }
}
