/* ==========================================================================
   Giovanni Joson — Bringing the Madness At Sea
   Site build · tokens from the Stijlgids (exact hexes)
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/BigShouldersDisplay-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Colour — exact values from the style guide */
  --bg: #070504;
  --orange: #e0621b;
  --ink: #f4ece2;
  --amber: #f5b662;
  --cream-hi: #ffecdd;
  --muted: #9c8b7c;
  --line: #2a1f18;
  --ph: #120a06;
  --soft: #efe4d7;
  --body: #d9ccbe;
  --tile: #140c08;
  --panel: #100a07;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad: clamp(1.25rem, 4.5vw, 4.5rem);
  --section: clamp(4rem, 7.5vw, 7rem);
  --maxw: 1360px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(0.95rem, 0.9rem + 0.15vw, 1.02rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 900; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: 1rem; top: -100px;
  z-index: 200; padding: 0.9rem 1.2rem;
  background: var(--orange); color: #0b0705;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Type primitives ---------- */

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.012em;
}

.display em { font-style: normal; color: var(--orange); }

.kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.kicker--orange { color: var(--orange); }
.kicker--soft { color: var(--soft); }

.sec-title {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  margin-top: 0.34em;
}

.note {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.02em 1.85em;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--solid { background: var(--orange); color: #0b0705; }
.btn--solid:hover { background: #f0702a; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(244, 236, 226, 0.34); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(244, 236, 226, 0.07); transform: translateY(-2px); }

.btn--pill {
  border-radius: 999px;
  padding: 0.92em 1.5em;
  font-size: 10px;
  letter-spacing: 0.16em;
  border-color: rgba(244, 236, 226, 0.28);
  color: var(--ink);
}
.btn--pill:hover { border-color: var(--ink); background: rgba(244, 236, 226, 0.06); }

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.5em 0.85em 0.5em 0.7em;
  border-radius: 999px;
  background: rgba(7, 5, 4, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--soft);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.sticker::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
              border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 5, 4, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1rem, 2vw, 1.6rem);
}

.nav__logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.5rem);
}
.nav__links a {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 0.3rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links .nav__book { color: var(--orange); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin-right: -10px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 6rem var(--pad) calc(2.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; gap: 0.15em; }
.menu__nav a {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding-block: 0.18em 0.24em;
  border-bottom: 1px solid var(--line);
}
.menu__nav a span {
  font-family: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-top: 1rem;
}
.menu__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 112%;
  object-fit: cover;
  object-position: 50% 26%;
  will-change: transform;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 5, 4, 0.72) 0%, rgba(7, 5, 4, 0) 26%),
    linear-gradient(180deg, rgba(7, 5, 4, 0) 38%, rgba(7, 5, 4, 0.42) 62%, rgba(7, 5, 4, 0.94) 92%, var(--bg) 100%),
    radial-gradient(120% 90% at 70% 40%, rgba(7, 5, 4, 0) 40%, rgba(7, 5, 4, 0.55) 100%);
}

.hero__inner {
  padding-bottom: clamp(2.6rem, 5.5vw, 5rem);
  padding-top: 8rem;
  width: 100%;
}

.hero__kicker { margin-bottom: clamp(1rem, 2vw, 1.6rem); }

.hero__lead { display: none; }

.br-m { display: none; }

.hero__title {
  font-size: clamp(3.3rem, 9.2vw, 9.6rem);
  line-height: 0.82;
  max-width: 15ch;
}
.hero__title .line { display: block; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.hero__actions .btn { min-width: 10.5rem; }

.hero__rail {
  position: absolute;
  right: var(--pad);
  bottom: clamp(2.6rem, 5.5vw, 5rem);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__rail-line {
  display: block;
  width: 1px; height: 64px;
  background: linear-gradient(var(--orange), transparent);
  animation: rail 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes rail {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* ---------- Hero variant: split portrait (Music Hall) ---------- */

.hero__img--alt { display: none; }

@media (min-width: 901px) {
  .hero--alt {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: stretch;
  }
  .hero--alt .hero__img--main { display: none; }
  .hero--alt .hero__img--alt { display: block; }
  .hero--alt .hero__media {
    position: relative;
    inset: auto;
    order: 2;
    z-index: 0;
    height: 100%;
  }
  .hero--alt .hero__media img {
    height: 100%;
    object-position: 50% 18%;
    transform: none !important;
  }
  .hero--alt .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 5, 4, 0.72) 9%, rgba(7, 5, 4, 0) 38%);
    pointer-events: none;
  }
  .hero--alt .hero__scrim { display: none; }
  .hero--alt .hero__inner {
    order: 1;
    align-self: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  .hero--alt .hero__title {
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    max-width: none;
  }
  .hero--alt .hero__lead {
    display: block;
    margin-top: clamp(1.2rem, 2vw, 1.8rem);
    max-width: 34ch;
    color: var(--body);
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .hero--alt .hero__rail { display: none; }
}

@media (max-width: 900px) {
  .hero--alt .hero__img--main { display: none; }
  .hero--alt .hero__img--alt { display: block; }
  .hero--alt .hero__media img { object-position: 50% 16%; }
}

/* ---------- Now sailing band ---------- */

.band {
  background: var(--orange);
  color: #0b0705;
  padding-block: clamp(1.5rem, 2.8vw, 2.2rem);
}
.band__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}
.band__label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.72;
}
.band__ship {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.2vw, 3.3rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.band__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.74;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }

/* Keep anchored headings clear of the fixed nav */
section[id], #booking { scroll-margin-top: 84px; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.8rem);
}
.sec-head .btn--pill { margin-bottom: 0.55rem; flex: none; }

/* ---------- Mixes ---------- */

.mixes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.mix__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  background: var(--ph);
  aspect-ratio: 1 / 1;
  border-radius: 2px;
}
.mix__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 0.85s var(--ease), filter 0.5s var(--ease);
}
.mix__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 5, 4, 0) 45%, rgba(7, 5, 4, 0.55) 100%);
  pointer-events: none;
}
.mix:hover .mix__media img { transform: scale(1.035); filter: saturate(1.02); }

.mix__sticker { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; }

.play {
  position: absolute;
  right: 0.9rem; bottom: 0.9rem;
  z-index: 2;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #0b0705;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.play svg { margin-left: 2px; }
.play .i-pause,
.mix.is-playing .play .i-play { display: none; }
.mix.is-playing .play .i-pause { display: block; }
.play .i-pause { margin-left: 0; }
.mix:hover .play { transform: scale(1.08); background: #f0702a; }

.mix__body { padding-top: 1.05rem; }
.mix__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.002em;
}
.mix__meta {
  margin-top: 0.55rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Expanded mix list */
.mix-list { margin-top: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.mix-list li {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.mix-list__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--orange);
}
.mix-list__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  text-transform: uppercase;
  line-height: 1;
}
.mix-list__meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mix-list__play {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.mix-list li:hover .mix-list__play { color: var(--orange); }

/* ---------- Gallery ---------- */

.section--gallery { border-top: 1px solid var(--line); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.6rem, 1.1vw, 1rem);
}

.gal {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ph);
  border-radius: 2px;
  padding: 0;
  width: 100%;
}
.gal--tall { aspect-ratio: 3 / 4; }
.gal--wide { aspect-ratio: 1 / 1; }

.gal img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.96);
}
.gal::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(7, 5, 4, 0.12);
  transition: background 0.4s var(--ease);
}
.gal:hover img { transform: scale(1.04); filter: saturate(1.03); }
.gal:hover::after { background: rgba(7, 5, 4, 0); }

/* ---------- Shore dates ---------- */

.section--dates { border-top: 1px solid var(--line); }

.dates {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.dates__note {
  margin-top: 1.4rem;
  max-width: 34ch;
  color: var(--body);
  font-size: 0.95rem;
}

.dates__media {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
}
.dates__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.dates__rows { border-top: 1px solid var(--line); display: grid; grid-auto-rows: 1fr; }

.date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.15rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.date-row:hover { background: rgba(244, 236, 226, 0.015); }

.date-row__date {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.date-row__meta {
  margin-top: 0.5rem;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.date-row__btn { flex: none; }
.date-row__btn:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Press + booking ---------- */

.press {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 2px;
}

.press__col { padding: clamp(1.75rem, 4vw, 3.4rem); }
.press__col--book { border-left: 1px solid var(--line); background: rgba(20, 12, 8, 0.55); }

.press__title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-top: 0.32em;
}

.press__body {
  margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
  max-width: 40ch;
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.7;
}
.press__source {
  margin-top: 0.85rem;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.press__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.5rem, 2.6vw, 2rem);
}

.press__media {
  margin: clamp(1.8rem, 3vw, 2.6rem) 0 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 9;
  background: var(--ph);
}
.press__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }

/* Form */
.form { margin-top: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: 1.35rem; }

.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.45rem 0 0.7rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 400 0.95rem/1.5 var(--text);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.field textarea { min-height: 3.2rem; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--orange);
}
.field:focus-within label { color: var(--orange); }
.field input:user-invalid { border-bottom-color: #c0432a; }

.form__submit { justify-self: start; margin-top: 0.4rem; }

.form__status {
  min-height: 1.2em;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--amber);
}

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

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.2rem, 4vw, 3.2rem) calc(clamp(1.8rem, 3vw, 2.4rem) + env(safe-area-inset-bottom, 0px));
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.footer__brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  text-transform: uppercase;
  line-height: 1;
}
.footer__link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  justify-self: center;
  transition: color 0.25s var(--ease);
}
.footer__link:hover { color: var(--orange); }
.footer__credit {
  justify-self: end;
  text-align: right;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(156, 139, 124, 0.78);
  line-height: 1.6;
}
.footer__legal p:first-child { max-width: 62ch; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem);
  border: 0;
  background: rgba(7, 5, 4, 0.96);
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 2rem);
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(7, 5, 4, 0.96); }
.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox__close,
.lightbox__nav {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.8rem;
  transition: color 0.25s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { color: var(--ink); }
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}
.lightbox__nav { writing-mode: vertical-rl; }
.lightbox__nav--prev { transform: rotate(180deg); }


/* ---------- Player bar ---------- */

.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 110;
  background: rgba(10, 7, 5, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.player[hidden] { display: none; }
.player.is-in { transform: translateY(0); }

body.has-player { padding-bottom: var(--player-h, 84px); }

.player__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  padding-block: 0.9rem;
}

.player__toggle {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #0b0705;
  transition: background 0.25s var(--ease);
}
.player__toggle:hover { background: #f0702a; }
.player__toggle .i-pause { display: none; }
.player.is-playing .player__toggle .i-play { display: none; }
.player.is-playing .player__toggle .i-pause { display: block; }

.player__title {
  flex: 0 1 auto;
  min-width: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__time {
  flex: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.player__seek {
  flex: 1 1 auto;
  min-width: 80px;
  height: 20px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.player__seek::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange) var(--p, 0%), rgba(244, 236, 226, 0.18) var(--p, 0%));
}
.player__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px; height: 9px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--orange);
}
.player__seek::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: rgba(244, 236, 226, 0.18);
}
.player__seek::-moz-range-progress {
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.player__seek::-moz-range-thumb {
  width: 9px; height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
}
.player__seek:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

.player__close {
  flex: none;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6rem 0.2rem 0.6rem 0.8rem;
  transition: color 0.25s var(--ease);
}
.player__close:hover { color: var(--ink); }

@media (max-width: 620px) {
  .player__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "toggle title close"
      "toggle seek  time";
    align-items: center;
    gap: 0.4rem 0.7rem;
    padding-block: 0.7rem;
  }
  .player__toggle { grid-area: toggle; align-self: center; }
  .player__title { grid-area: title; font-size: 0.9rem; }
  .player__close { grid-area: close; padding: 0.7rem 0 0.7rem 0.3rem; }
  .player__seek { grid-area: seek; }
  .player__time { grid-area: time; align-self: center; }
  .player__time--dur { display: none; }
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  z-index: 150;
  transform: translate(-50%, 140%);
  opacity: 0;
  padding: 0.9rem 1.3rem;
  background: var(--orange);
  color: #0b0705;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* keep the toast clear of the player bar */
body.has-player .toast { bottom: calc(var(--player-h, 84px) + 1.1rem + env(safe-area-inset-bottom, 0px)); }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .gallery { grid-template-columns: repeat(2, 1fr); }

  .dates { grid-template-columns: 1fr; }
  .dates__media { aspect-ratio: 16 / 10; }
  .dates__media img { object-position: 50% 45%; }

  .press { grid-template-columns: 1fr; }
  .press__col--book { border-left: 0; border-top: 1px solid var(--line); }

  .footer__inner { grid-template-columns: 1fr auto; }
  .footer__credit { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

@media (max-width: 760px) {
  .band__inner {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .band__meta { text-align: left; }
  .band__label { order: 0; }
  .band__ship { order: 1; }
  .band__meta { order: 2; margin-top: 0.4rem; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .sec-head .btn--pill { margin-bottom: 0; }

  .mixes { grid-template-columns: 1fr; gap: 1.8rem; }
  .mix__media { aspect-ratio: 4 / 3; }

  .mix-list li { grid-template-columns: 2rem 1fr auto; gap: 0.9rem; }
  .mix-list__play { display: none; }

  .hero { min-height: 88svh; }
  .hero__inner { padding-top: 6.2rem; padding-bottom: 2rem; }
  .hero__title { font-size: clamp(2.2rem, 9.8vw, 3.6rem); max-width: none; letter-spacing: -0.018em; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 8.5rem; }
  .hero__rail { display: none; }

  .footer__legal { flex-direction: column; gap: 0.7rem; }
}

/* ---------- Mobile polish ---------- */

@media (max-width: 760px) {
  :root { --section: clamp(3.4rem, 12vw, 4.6rem); }

  /* comfortable touch targets */
  .btn { min-height: 46px; padding-block: 0.95em; }
  .btn--pill { min-height: 44px; padding-inline: 1.35em; }
  .nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__link { display: inline-flex; align-items: center; min-height: 44px; }
  .player__toggle { width: 46px; height: 46px; }
  .player__close { padding-block: 1rem; }
  .play { width: 48px; height: 48px; }

  /* 16px stops iOS from zooming into the form */
  .field input,
  .field textarea { font-size: 16px; }
  .field input { padding-block: 0.6rem 0.8rem; }
  .field textarea { min-height: 4.4rem; }

  .form { gap: 1.15rem; }
  .mix__title { font-size: 1.45rem; }
  .date-row__date { font-size: 1.45rem; }
  .sec-title { text-wrap: balance; }
  .br-m { display: inline; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .gal:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .gal:first-child img { object-position: 50% 24%; }
  .gal:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .press__actions .btn { flex: 1 1 100%; }
  .gal--tall, .gal--wide { aspect-ratio: 3 / 4; }
  .mix__media { aspect-ratio: 1 / 1; }
  .date-row { gap: 1rem; }
}

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