/* ==========================================================================
   ATOMIK OCEAN — shared layout for interior pages (music/videos/about/live/
   press/archive-eras/contact). Loaded alongside styles.css, never edits it.
   Every color/font below is var(--token) from styles.css's :root — no new
   values are invented here, so new pages stay visually identical to the
   existing site chrome (header/nav/footer come from styles.css as-is).
   ========================================================================== */

/* ---------------------------------- page hero ---------------------------------- */

.page-hero {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 42px;
  text-align: center;
}

/* Spirit marks inside hero sections — same drifting symbol used on archive/splash */
.page-hero .spirit-mark {
  position: absolute;
  pointer-events: none;
  width: clamp(40px, 6vw, 72px);
  height: auto;
  opacity: 0.35;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}
.page-hero .spirit-mark--left  { top: 18%; left: -10%;  }
.page-hero .spirit-mark--right { bottom: 10%; right: -8%; }
@media (max-width: 800px) {
  .page-hero .spirit-mark--left  { left: 2%; }
  .page-hero .spirit-mark--right { right: 2%; }
}

.page-kicker {
  margin: 0 0 14px;
  color: var(--pink-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.94;
  color: var(--cream);
  letter-spacing: 0.025em;
}

.page-lede {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--lavender-200);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------------------------------- generic page section ---------------------------------- */

.page-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px 24px 90px;
}

.page-section + .page-section {
  border-top: 1px dashed rgba(231, 180, 219, 0.3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.03em;
  color: var(--cream);
  margin: 0 0 22px;
  text-align: center;
}

/* ---------------------------------- empty state ---------------------------------- */

.empty-state {
  max-width: 560px;
  margin: 0 auto;
  padding: 46px 32px;
  text-align: center;
  background: rgba(52, 27, 59, 0.42);
  border: 1px dashed rgba(231, 180, 219, 0.4);
}

.empty-state h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--pink-300);
  margin: 0 0 12px;
}

.empty-state p {
  color: var(--lavender-200);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 22px;
}

.empty-state p:last-of-type {
  margin-bottom: 0;
}

.empty-state .cta-primary,
.empty-state .cta-secondary {
  margin-top: 6px;
}

/* ---------------------------------- data grid / cards ---------------------------------- */

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.data-card {
  background: rgba(52, 27, 59, 0.5);
  border: 1px solid rgba(183, 159, 224, 0.35);
  padding: 20px;
  color: var(--cream);
  box-shadow: var(--shadow-card);
}

.data-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: var(--cream);
}

.data-card .data-card-meta {
  display: block;
  color: var(--lavender-400);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.data-card p {
  color: var(--lavender-200);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 14px;
}

.data-card .data-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.data-card .data-card-links a {
  color: var(--pink-300);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 169, 214, 0.5);
  padding-bottom: 1px;
}

.data-card .data-card-links a:hover,
.data-card .data-card-links a:focus-visible {
  color: var(--pink-500);
  border-color: var(--pink-500);
}

/* ---------------------------------- videos: Polaroid archive ----------------------------------
   Every video is a Polaroid cut from the same paper as the portfolio's
   .photo cards (ink edge, hard offset shadow, cream stock), with added grain,
   tape and a handwritten caption. Three walls, in this order: music videos
   (hand-placed scrapbook grid with a featured print and controlled overlaps),
   official audio (square prints) and vlogs (smaller, faded, at the bottom).
   Tilts come from videos.html as --tilt. The overlaps fall back to plain
   stacks at tablet and phone widths. */

.videos-page,
.live-page {
  --vp-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .25 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --vp-paper:
    var(--vp-grain),
    linear-gradient(165deg, rgba(255, 255, 255, 0.45), rgba(201, 178, 160, 0.14) 68%, rgba(176, 150, 132, 0.24)),
    var(--cream);
}

.videos-page .empty-state {
  margin-bottom: 90px;
}

.video-wall-section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 110px;
}

.video-wall-head {
  text-align: center;
  margin-bottom: 64px;
}

.video-wall-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.video-wall-section--vlogs {
  margin-top: 40px;
  padding-top: 100px;
  border-top: 1px dashed rgba(231, 180, 219, 0.3);
}

/* ---------- the Polaroid ---------- */

.vp {
  --tilt: 0deg;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 14px 14px 18px;
  background: var(--vp-paper);
  background-size: 160px 160px, auto, auto;
  border: var(--edge);
  box-shadow: var(--shadow-card), 0 18px 34px -14px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transform: rotate(var(--tilt));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  -webkit-tap-highlight-color: transparent;
}

.vp:hover,
.vp:focus-visible {
  z-index: 6;
  transform: translateY(-10px) rotate(calc(var(--tilt) * 0.15)) scale(1.025);
  box-shadow: 12px 12px 0 rgba(28, 15, 28, 0.45), 0 32px 52px -16px rgba(0, 0, 0, 0.65);
}

.vp:focus-visible {
  outline: 3px solid var(--pink-300);
  outline-offset: 6px;
}

.vp-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--plum-950);
  border: 1px solid rgba(26, 17, 32, 0.35);
}

.vp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
  transition: transform 0.7s ease, filter 0.4s ease;
}

.vp:hover .vp-photo img,
.vp:focus-visible .vp-photo img {
  transform: scale(1.05);
}

/* a faint gloss across the print, like light catching instant film */
.vp-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), transparent 36%, transparent 72%, rgba(214, 41, 159, 0.1));
  pointer-events: none;
}

/* play treatment — always visible so each print reads as playable, and
   it grows and turns magenta on hover/focus */
.vp-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(28, 15, 28, 0.55);
  border: 1.5px solid rgba(247, 238, 242, 0.85);
  opacity: 0.85;
  transform: scale(0.92);
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.vp-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--cream);
}

.vp:hover .vp-play,
.vp:focus-visible .vp-play {
  opacity: 1;
  transform: scale(1.1);
  background: var(--magenta-500);
}

.vp-duration {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  padding: 1px 6px;
  background: rgba(28, 15, 28, 0.78);
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.vp-title {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.vp-caption {
  display: block;
  margin-top: 3px;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--magenta-600);
  transform: rotate(-1.5deg);
}

.vp-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(26, 17, 32, 0.55);
}

/* torn strip of tape holding some prints to the wall */
.vp--featured::before,
.vp-wall--music .vp-slot-3::before,
.vp-wall--audio .vp:nth-child(3n + 1)::before,
.vp-wall--vlogs .vp:nth-child(4n + 2)::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -15px;
  left: 50%;
  width: 104px;
  height: 28px;
  margin-left: -52px;
  background: rgba(246, 169, 214, 0.58);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  clip-path: polygon(0 10%, 5% 0, 30% 6%, 62% 0, 96% 5%, 100% 0, 98% 90%, 100% 100%, 70% 95%, 35% 100%, 4% 94%, 0 100%);
  transform: rotate(-4deg);
  pointer-events: none;
}

.vp-wall--music .vp-slot-3::before,
.vp-wall--audio .vp:nth-child(6n + 4)::before {
  background: rgba(183, 159, 224, 0.6);
  transform: rotate(5deg);
}

/* the same fine-line rose sprig the portfolio Polaroids wear */
.vp--featured::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -26px;
  bottom: -26px;
  width: 78px;
  height: 78px;
  background: url("public/images/atomik/rose-vine-sprig.svg") center / contain no-repeat;
  transform: scale(-1) rotate(-6deg);
  opacity: 0.75;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.4)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.vp--featured {
  padding: 20px 20px 26px;
}

.vp--featured .vp-title {
  margin-top: 18px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.vp--featured .vp-caption {
  font-size: 1.6rem;
}

/* the Sleeping With the Devil print overlaps the featured print's right edge */
.vp--featured .vp-duration {
  right: auto;
  left: 10px;
}

.vp--featured .vp-play {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
}

.vp--featured .vp-play::before {
  margin: -13px 0 0 -7px;
  border-width: 13px 0 13px 22px;
}

/* ---------- wall 1: music videos, hand-placed ---------- */

.vp-wall--music {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.vp-wall--music .vp {
  width: auto;
}

@media (min-width: 981px) {
  .vp-wall--music .vp-slot-1 { grid-column: 1 / 9; grid-row: 1; }
  .vp-wall--music .vp-slot-2 { grid-column: 9 / 13; grid-row: 1; margin: 64px 0 0 -44px; z-index: 2; }
  .vp-wall--music .vp-slot-3 { grid-column: 2 / 8; grid-row: 2; margin-top: 44px; }
  .vp-wall--music .vp-slot-4 { grid-column: 8 / 13; grid-row: 2; margin: -110px 0 0 -18px; z-index: 3; }

  /* any music videos added later keep alternating left / right */
  .vp-wall--music .vp:nth-child(n + 5) { margin-top: 56px; }
  .vp-wall--music .vp:nth-child(n + 5):nth-child(odd) { grid-column: 2 / 7; }
  .vp-wall--music .vp:nth-child(n + 5):nth-child(even) { grid-column: 7 / 12; margin-top: 120px; }
}

/* ---------- wall 2: official audio, square prints ---------- */

.vp-wall--audio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 48px 22px;
}

.vp-wall--audio .vp {
  width: 230px;
  padding: 12px 12px 16px;
}

.vp-wall--audio .vp-photo { aspect-ratio: 1 / 1; }
.vp-wall--audio .vp-title { font-size: 1.15rem; }
.vp-wall--audio .vp-caption { font-size: 1.15rem; }
.vp-wall--audio .vp-duration { display: none; }
.vp-wall--audio .vp:nth-child(3n + 1) { width: 250px; }
.vp-wall--audio .vp:nth-child(3n + 2) { width: 212px; margin-top: 44px; }
.vp-wall--audio .vp:nth-child(3n) { margin-top: 14px; }

/* ---------- wall 3: vlogs, smaller and faded, well apart ---------- */

.vp-wall--vlogs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
  align-items: start;
}

.vp-wall--vlogs .vp { padding: 10px 10px 14px; }
.vp-wall--vlogs .vp:nth-child(even) { margin-top: 36px; }
.vp-wall--vlogs .vp-title { font-size: 1.05rem; }
.vp-wall--vlogs .vp-caption { font-size: 1.05rem; }
.vp-wall--vlogs .vp-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.vp-wall--vlogs .vp-play::before { margin: -7px 0 0 -4px; border-width: 7px 0 7px 12px; }
.vp-wall--vlogs .vp-photo img { filter: saturate(0.78) sepia(0.14) contrast(1.02); }
.vp-wall--vlogs .vp:hover .vp-photo img,
.vp-wall--vlogs .vp:focus-visible .vp-photo img { filter: saturate(1.03) contrast(1.02); }

/* ---------- tablet: two-up, staggered, overlaps removed ---------- */

@media (max-width: 980px) {
  .vp-wall--music {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }
  .vp-wall--music .vp,
  .vp-wall--music .vp:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    margin: 48px 0 0;
  }
  .vp-wall--music .vp.vp-slot-1:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .vp-wall--music .vp:nth-child(odd):not(.vp-slot-1) { margin-top: 96px; }
  /* a lone print on the last row sits centred rather than stranded left */
  .vp-wall--music .vp:nth-child(even):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 420px);
  }

  .vp-wall--vlogs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone: one stacked column, gentle alternating drift ---------- */

@media (max-width: 640px) {
  .video-wall-section { padding: 28px 16px 80px; }
  .video-wall-head { margin-bottom: 44px; }

  .vp-wall--music,
  .vp-wall--audio,
  .vp-wall--vlogs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
  }
  .vp-wall--music .vp,
  .vp-wall--music .vp:nth-child(n),
  .vp-wall--audio .vp,
  .vp-wall--audio .vp:nth-child(n),
  .vp-wall--vlogs .vp,
  .vp-wall--vlogs .vp:nth-child(n) {
    width: min(100%, 400px);
    margin: 0;
  }
  .vp-wall--music .vp:nth-child(odd):not(.vp-slot-1) {
    margin-top: 0; /* drop the tablet stagger; the column gap spaces them */
    transform: rotate(calc(var(--tilt) * 0.5)) translateX(-3%);
  }
  .vp-wall--music .vp:nth-child(even),
  .vp-wall--audio .vp:nth-child(even),
  .vp-wall--vlogs .vp:nth-child(even) {
    transform: rotate(calc(var(--tilt) * 0.5)) translateX(3%);
  }
  .vp-wall--music .vp.vp-slot-1:nth-child(n) { width: 100%; transform: rotate(-0.8deg); }
  .vp-wall--audio .vp,
  .vp-wall--audio .vp:nth-child(n) { width: min(86%, 320px); }
  .vp-wall--vlogs .vp,
  .vp-wall--vlogs .vp:nth-child(n) { width: min(92%, 340px); }

  .vp-wall .vp:nth-child(n):hover,
  .vp-wall .vp:nth-child(n):focus-visible {
    transform: translateY(-6px) rotate(0deg);
  }
  .vp--featured .vp-title { font-size: 1.9rem; }
  .vp--featured::after { right: -12px; bottom: -14px; width: 48px; height: 48px; }
}

/* ---------- player (lightbox) ---------- */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100; /* above the fixed background-music player (z 1000) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 40px;
  background: rgba(15, 8, 16, 0.94);
}

.video-lightbox[hidden] { display: none; }

.video-lightbox-frame {
  width: min(1000px, 100%, calc((100vh - 230px) * 16 / 9));
  min-width: min(100%, 300px);
  padding: 16px 16px 0;
  background: var(--vp-paper);
  background-size: 160px 160px, auto, auto;
  border: var(--edge);
  box-shadow: var(--shadow-card), 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: rotate(-0.6deg);
}

.video-lightbox-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-lightbox-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox-chin {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 14px 4px 18px;
}

.video-lightbox-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.video-lightbox-link {
  color: var(--magenta-600);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.video-lightbox-link:hover,
.video-lightbox-link:focus-visible { color: var(--magenta-500); }

.video-lightbox-close { top: 20px; right: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .video-lightbox:not([hidden]) .video-lightbox-frame {
    animation: vp-print-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

@keyframes vp-print-in {
  from { opacity: 0; transform: translateY(18px) rotate(-2deg) scale(0.97); }
  to { opacity: 1; transform: rotate(-0.6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .vp,
  .vp-photo img,
  .vp-play { transition: none; }
  .vp:hover .vp-photo img,
  .vp:focus-visible .vp-photo img { transform: none; }
}

/* ---------------------------------- live: poster wall ---------------------------------- */
/* The posters are the artwork: each hangs on a paper print at its own
   aspect ratio (never cropped), with the gig details on the paper beneath
   so nothing covers the poster. Grid rows keep newest-first reading order;
   prints top-align so taller posters simply hang lower. */

.gig-archive { max-width: 1060px; }

.gig-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 52px 44px;
  align-items: start;
  padding-top: 16px;
}
.gig-wall[hidden] { display: none; }

.gig-print {
  --tilt: 0deg;
  width: 100%;
  margin: 0;
  padding: 12px 12px 18px;
  background: var(--vp-paper);
  background-size: 160px 160px, auto, auto;
  border: var(--edge);
  box-shadow: var(--shadow-card), 0 18px 34px -14px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  transform: rotate(var(--tilt));
}

.gig-poster {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(26, 17, 32, 0.35);
  background: var(--plum-950);
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

.gig-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.gig-poster:focus-visible {
  outline: 3px solid var(--pink-300);
  outline-offset: 4px;
}

/* no poster found yet: a blank A-series sheet, not a made-up design */
.gig-poster--missing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1.414;
  padding: 24px;
  background: rgba(247, 238, 242, 0.35);
  border: 1px dashed rgba(26, 17, 32, 0.4);
  cursor: default;
  text-align: center;
}

.gig-missing-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(26, 17, 32, 0.55);
}

.gig-missing-note {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(26, 17, 32, 0.5);
}

.gig-meta { padding: 14px 4px 0; }
.gig-meta p { margin: 0; }
.gig-meta h3 {
  margin: 2px 0 6px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.gig-when,
.gig-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-600);
}

.gig-role { margin-top: 6px !important; color: rgba(26, 17, 32, 0.6); }
.gig-where { font-weight: 600; font-size: 0.92rem; }
.gig-lineup,
.gig-note { margin-top: 8px !important; font-size: 0.85rem; line-height: 1.5; }

.gig-source {
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(26, 17, 32, 0.25);
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(26, 17, 32, 0.62);
}

.gig-source a { color: var(--magenta-600); text-underline-offset: 3px; }

/* ---------- poster lightbox ---------- */

.gig-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100; /* above the fixed background-music player (z 1000) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 32px;
  background: rgba(15, 8, 16, 0.94);
}

.gig-lightbox[hidden] { display: none; }

.gig-lightbox-frame {
  margin: 0;
  max-width: 100%;
  padding: 14px 14px 0;
  background: var(--vp-paper);
  background-size: 160px 160px, auto, auto;
  border: var(--edge);
  box-shadow: var(--shadow-card), 0 30px 70px rgba(0, 0, 0, 0.6);
}

.gig-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  margin: 0 auto;
}

.gig-lightbox-chin { padding: 12px 4px 16px; color: var(--ink); }
.gig-lightbox-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.05;
}
.gig-lightbox-meta { margin: 4px 0 0; font-size: 0.8rem; color: rgba(26, 17, 32, 0.7); }
.gig-lightbox-close { top: 20px; right: 20px; }

@media (max-width: 640px) {
  .gig-wall { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .gig-print { --tilt: 0deg !important; }
}

@media (prefers-reduced-motion: reduce) {
  .gig-print { transform: none; }
}

/* ---------------------------------- long-form copy sections (about/contact) ---------------------------------- */

.info-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 42px 24px;
  color: var(--lavender-200);
  font-size: 0.98rem;
  line-height: 1.75;
}

.info-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.03em;
  color: var(--cream);
  margin: 0 0 18px;
}

.info-section p {
  margin: 0 0 16px;
}

.placeholder-note {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender-400);
  border: 1px dashed rgba(183, 159, 224, 0.5);
}

/* ---------------------------------- stat strip reuse (about page) ---------------------------------- */

.page-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 8px 24px 28px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lavender-200);
}
.page-stats span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--pink-500);
  margin-right: 6px;
  letter-spacing: 0.02em;
}

/* ---------------------------------- contact / channel list ---------------------------------- */

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(52, 27, 59, 0.42);
  border: 1px solid rgba(183, 159, 224, 0.35);
  color: var(--cream);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.channel-card:hover,
.channel-card:focus-visible {
  border-color: var(--pink-300);
  transform: translateY(-2px);
}
.channel-card .channel-icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: inline-grid;
  place-items: center;
  color: var(--pink-500);
}
.channel-card .channel-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.channel-card .channel-icon svg .solid {
  fill: currentColor;
  stroke: none;
}
.channel-card .channel-label {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.channel-card .channel-sub {
  display: block;
  color: var(--lavender-400);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .page-hero { padding: 70px 20px 34px; }
  .page-section { padding: 34px 18px 60px; }
}

/* All interior pages share the same ocean atmosphere as the portfolio page.
   Reuses the exact background stack from .archive-page (styles.css) so every
   page feels like the same underwater world. */
.about-page,
.live-page,
.press-page,
.contact-page,
.videos-page,
.music-page,
.archive-eras-page {
  background-color: #052f48;
  background-image:
    url("public/images/atomik/ocean-background-hd.jpg"),
    radial-gradient(52% 34% at 5% 14%, rgba(71, 201, 212, 0.42), transparent 68%),
    radial-gradient(48% 32% at 96% 72%, rgba(17, 128, 157, 0.42), transparent 68%),
    linear-gradient(165deg, #0b718d, #052f48 45%, #031b2d 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: cover, auto, auto, auto;
  background-position: center top, 5% 14%, 96% 72%, center;
  background-attachment: fixed;
}
.about-page main,
.live-page main,
.press-page main,
.contact-page main,
.videos-page main,
.music-page main,
.archive-eras-page main { position: relative; z-index: 3; }

/* Semi-transparent scrim on main so ocean photo shows through but text stays
   readable. Pages with fully opaque cards (music/archive-eras) don't need it. */
.about-page main,
.live-page main,
.press-page main,
.contact-page main,
.videos-page main {
  background: rgba(4, 20, 32, 0.58);
}

/* Music and archive-eras page heroes sit over the raw ocean photo; scrim just
   the hero area so the card sections keep their own opaque backgrounds. */
.music-page .page-hero,
.archive-eras-page .page-hero {
  background: rgba(4, 20, 32, 0.55);
}
.music-page .page-section,
.archive-eras-page .page-section {
  max-width: 1100px;
  width: calc(100% - 120px);
  padding-inline: 16px;
}
.music-page .listening-section { padding-top: 0; padding-bottom: 40px; }
.listening-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.listening-platforms a {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--pink-300);
  color: var(--pink-300);
  background: #062f46;
  text-decoration: none;
  font-size: .88rem;
}
.listening-platforms a:hover { background: var(--pink-300); color: #062f46; }
.music-page main a:focus-visible,
.archive-eras-page main a:focus-visible { outline: 2px solid var(--pink-300); outline-offset: 5px; }
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.release-grid[hidden], #albumList[hidden], .catalogue-status[hidden] { display: none; }
.release-card { min-width: 0; background: rgba(6, 47, 70, .94); border-bottom: 2px solid var(--pink-300); }
.release-cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.release-details { padding: 22px 18px 24px; }
.release-details h3 {
  font-family: var(--font-display);
  color: var(--pink-300);
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  line-height: 1.1;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.release-details .data-card-meta { display: block; color: var(--lavender-200); font-size: .73rem; margin-bottom: 18px; }
.release-details p { color: var(--lavender-200); }
.release-details .data-card-links { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 4px; }
.release-details a { color: var(--pink-300); font-size: .82rem; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.release-card--album { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; }
.release-card--album .release-details { padding: clamp(20px, 4vw, 48px); }
.release-card--album h3 { font-size: clamp(2rem, 4vw, 3.5rem); }
.catalogue-note, .catalogue-status { text-align: center; color: var(--lavender-200); font-size: .9rem; }
.catalogue-note { margin: 26px auto; max-width: 620px; }
.catalogue-note a, .catalogue-status a { color: var(--pink-300); text-underline-offset: 4px; }
.era-timeline { border-left: 1px solid var(--pink-300); }
.era-entry { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 0 0 56px 24px; }
.era-entry:last-child { padding-bottom: 0; }
.era-year { margin: 0; color: var(--pink-300); font-family: var(--font-display); font-size: 2rem; line-height: 1.2; }
.era-content { min-width: 0; padding: 24px; background: rgba(6, 47, 70, .94); }
.era-category { margin: 0 0 8px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-300); }
.era-content h3, .archive-video-grid h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; margin: 0 0 16px; }
.era-content p:not(.era-category) { color: var(--lavender-200); }
.era-content--sleeve { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: 26px; }
.era-content--sleeve > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.era-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.era-links a { display: inline-flex; align-items: center; min-height: 44px; }
.era-links a, .era-caption a, .archive-video-grid a { color: var(--pink-300); text-underline-offset: 4px; font-size: .85rem; }
.era-caption { font-size: .78rem; line-height: 1.6; }
.era-video { aspect-ratio: 16 / 9; background: #062f46; margin: 22px 0 12px; }
.era-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.archive-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.archive-video-grid article { min-width: 0; }
.archive-follow .era-links { justify-content: center; }
@media (max-width: 900px) {
  .release-grid { gap: 16px; }
  .era-entry { grid-template-columns: 64px minmax(0, 1fr); padding-left: 16px; gap: 8px; }
  .era-content--sleeve { grid-template-columns: 1fr; }
  .era-content--sleeve > img { max-width: 280px; }
}
@media (max-width: 700px) {
  .music-page .page-section, .archive-eras-page .page-section { width: calc(100% - 64px); padding-inline: 0; }
  .release-grid, .release-card--album, .archive-video-grid { grid-template-columns: 1fr; }
  .era-entry { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .era-content { padding: 18px; }
  .listening-platforms a { flex: 1 1 160px; justify-content: space-between; }
  .about-page, .live-page, .press-page, .contact-page, .videos-page,
  .music-page, .archive-eras-page { background-attachment: scroll; }
}

.about-page { --page-photo: url("public/images/atomik/covers/background-1.jpeg"); }
.music-page { --page-photo: url("public/images/atomik/covers/background-2.jpeg"); }
.videos-page { --page-photo: url("public/images/atomik/covers/background-3.jpeg"); }
.live-page { --page-photo: url("public/images/atomik/covers/background-4.jpeg"); }
.press-page { --page-photo: url("public/images/atomik/covers/background-5.png"); }
.archive-eras-page { --page-photo: url("public/images/atomik/covers/background-1.jpeg"); }
.contact-page { --page-photo: url("public/images/atomik/covers/background-3.jpeg"); }
body:is(.about-page, .music-page, .videos-page, .live-page, .press-page, .archive-eras-page, .contact-page) {
  background-image:
    linear-gradient(180deg, rgba(3, 18, 32, .82), rgba(3, 27, 45, .88)),
    var(--page-photo),
    url("public/images/atomik/ocean-background-hd.jpg");
  background-size: cover;
  background-position: center, center 40%, center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 720px) {
  body:is(.about-page, .music-page, .videos-page, .live-page, .press-page, .archive-eras-page, .contact-page) {
    background-attachment: scroll;
    background-size: 100% 100%, auto 100svh, cover;
    background-position: center, center top, center;
  }
}

.channel-card {
  background: rgba(3, 18, 32, .3);
  border: 0;
  border-bottom: 1px solid rgba(201, 244, 239, .25);
  box-shadow: none;
}
.channel-card:hover,
.channel-card:focus-visible { transform: none; background: rgba(201, 244, 239, .06); }
.channel-card .channel-icon { color: #c9f4ef; }
.channel-card .channel-sub { color: #c9d9de; }

body:is(.about-page, .music-page, .videos-page, .live-page, .press-page, .archive-eras-page, .contact-page) {
  isolation: isolate;
  background-image: none;
}
body:is(.about-page, .music-page, .videos-page, .live-page, .press-page, .archive-eras-page, .contact-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(3, 18, 32, .82), rgba(3, 27, 45, .88)),
    var(--page-photo);
  background-size: cover;
  background-position: center, center 40%;
  background-repeat: no-repeat;
}
.uploaded-video {
  display: block;
  width: 100%;
  max-width: 780px;
  max-height: 70svh;
  margin: 0 auto;
  background: #031220;
  object-fit: contain;
}

.gallery-page { background: #031b2d; isolation: isolate; }
.gallery-page::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(3, 18, 32, .88), rgba(3, 27, 45, .92)), url("public/images/atomik/covers/background-4.jpeg") center / cover;
}
.gallery-page main { position: relative; z-index: 3; }
.cover-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 20px 42px 100px;
}
.cover-polaroid { color: #1c1720; text-decoration: none; display: block; transform: rotate(-1.5deg); }
.cover-polaroid:nth-child(even) { transform: rotate(1.5deg); }
.cover-polaroid figure { margin: 0; padding: 12px 12px 22px; background: #f7eef2; box-shadow: 0 12px 25px rgba(0, 0, 0, .35); }
.cover-polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #111019; }
.cover-polaroid figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 18px 2px 0; font-size: .7rem; letter-spacing: .12em; }
.cover-polaroid:focus-visible { outline: 2px solid #c9f4ef; outline-offset: 7px; }
@media (max-width: 720px) {
  .cover-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-inline: 32px; }
  .cover-polaroid figure { padding: 7px 7px 15px; }
  .cover-polaroid figcaption { font-size: .55rem; letter-spacing: .04em; }
}
@media (max-width: 380px) {
  .cover-gallery { grid-template-columns: 1fr; padding-inline: 42px; }
}
