/* Selchie — ocean / selkie folklore mood.
   Distinct from EmpressHeavy.com (no black/purple metal look). */

:root {
  --teal-deep: #0c3a42;
  --teal-mid: #1a5a63;
  --teal-ink: #14383d;
  --sea-glass: #8ec9be;
  --sea-glass-lite: #c5e4dc;
  --foam: #eef7f3;
  --pearl: #f6f1e8;
  --pearl-dim: #e8dfd0;
  --sand: #d9c9a8;
  --brass: #b8945a;
  --brass-lite: #d4b882;
  --mist: rgba(12, 58, 66, 0.42);
  --glass: rgba(238, 247, 243, 0.18);
  --glass-strong: rgba(246, 241, 232, 0.78);
  --card: rgba(12, 58, 66, 0.20);
  --card-inner: rgba(12, 58, 66, 0.32);
  --line: rgba(200, 230, 222, 0.42);
  --shadow: 0 16px 40px rgba(8, 32, 36, 0.22);
  --type-shade:
    0 1px 2px rgba(8, 32, 36, 0.95),
    0 0 18px rgba(12, 58, 66, 0.82),
    0 4px 28px rgba(8, 32, 36, 0.7);
  --radius: 22px;
  --nav-h: 4.5rem;
  --font-display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-ui: "Nunito Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  color: var(--pearl);
  background: #0a3036;
  min-height: 100%;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 2px solid var(--brass-lite);
  outline-offset: 3px;
}

/* ---- Fixed video background ---- */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #0a3036 url("../media/poster.jpg") center / cover no-repeat;
  pointer-events: none;
}
.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.video-bg .mist {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 32, 36, 0.38) 0%, rgba(8, 32, 36, 0.08) 28%, rgba(8, 32, 36, 0.05) 55%, rgba(10, 40, 44, 0.55) 100%),
    radial-gradient(120% 80% at 50% 0%, rgba(12, 58, 66, 0.15), transparent 55%);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  will-change: transform;
}
/* ---- Header / nav ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 1.25rem;
  background: rgba(10, 36, 40, 0.66);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(200, 230, 222, 0.14);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pearl);
  text-decoration: none;
  text-shadow:
    0 0 12px rgba(8, 32, 36, 0.7),
    0 1px 8px rgba(8, 32, 36, 0.85);
}
.wordmark span { letter-spacing: 0.28em; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--pearl);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foam);
  overflow: hidden;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
  text-shadow:
    0 0 10px rgba(8, 32, 36, 0.65),
    0 1px 6px rgba(8, 32, 36, 0.8);
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--pearl);
  background: rgba(255, 255, 255, 0.08);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 230, 222, 0.7), rgba(142, 201, 190, 0));
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.nav-links a:hover::after {
  animation: ripple 0.7s ease-out;
}
@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(14); opacity: 0; }
}

.header-tools { display: flex; align-items: center; gap: 0.5rem; }

.sound-toggle {
  text-shadow: 0 1px 8px rgba(8, 32, 36, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--pearl);
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.sound-toggle:hover { background: rgba(238, 247, 243, 0.28); }
.sound-toggle[aria-pressed="true"] {
  background: rgba(142, 201, 190, 0.28);
  border-color: var(--sea-glass);
}
.sound-toggle svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .txt { white-space: nowrap; }

/* ---- Page content ---- */
.page { position: relative; z-index: 2; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 6rem;
}
.hero-lettering {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem 1.75rem;
}
.hero-lettering::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(52rem, 124%);
  height: 128%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(8, 32, 36, 0.42) 0%,
    rgba(8, 32, 36, 0.22) 38%,
    rgba(8, 32, 36, 0.08) 62%,
    rgba(8, 32, 36, 0) 76%);
  pointer-events: none;
  z-index: -1;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 7.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  color: var(--pearl);
  text-shadow:
    0 0 22px rgba(8, 32, 36, 0.55),
    0 2px 14px rgba(8, 32, 36, 0.7),
    0 6px 32px rgba(8, 32, 36, 0.45);
}
.hero-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 400;
  margin: 1rem 0 0;
  color: var(--foam);
  letter-spacing: 0.04em;
  text-shadow:
    0 0 16px rgba(8, 32, 36, 0.55),
    0 2px 10px rgba(8, 32, 36, 0.7);
}
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-glass-lite);
  opacity: 0.95;
  text-shadow:
    0 0 12px rgba(8, 32, 36, 0.55),
    0 1px 8px rgba(8, 32, 36, 0.75);
}
.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--foam);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  text-shadow:
    0 0 12px rgba(8, 32, 36, 0.6),
    0 1px 8px rgba(8, 32, 36, 0.8);
}
.scroll-cue .chev {
  width: 18px; height: 18px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ---- Sections ---- */
.band {
  position: relative;
  padding: 5rem 1.25rem 5.5rem;
  scroll-margin-top: calc(var(--nav-h) + 0.5rem);
  overflow: visible;
  min-height: calc(100svh - var(--nav-h));
}
.band-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
/* Short sections fill a page so corner stickers sit on the viewport frame. */
#music {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.panel {
  position: relative;
  color: var(--pearl);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  text-align: center;
  text-shadow: var(--type-shade);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea-glass-lite);
  margin: 0 auto 0.4rem;
  text-shadow: var(--type-shade);
}
.band h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  letter-spacing: 0.02em;
  margin: 0 auto 0.75rem;
  color: var(--pearl);
  text-align: center;
  text-shadow: var(--type-shade);
}
.lede {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.55;
  margin: 0 auto 1.6rem;
  color: var(--foam);
  max-width: 40rem;
  text-align: center;
  text-shadow: var(--type-shade);
}

.band h2.music-intro {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  max-width: 22em;
  margin: 0 auto 1.7rem;
  color: var(--foam);
}
.hint {
  font-size: 0.88rem;
  color: var(--sea-glass-lite);
  margin: 0 auto 1.25rem;
  text-align: center;
  text-shadow: var(--type-shade);
}
.hint a,
.panel a:not(.listen-btn):not(.watch) {
  color: var(--pearl);
  text-decoration: none;
  border-bottom: 1px solid var(--sea-glass);
}

/* Listen buttons */
.listen-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.listen-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 8.6rem;
  padding: 0.7rem 1.05rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 247, 243, 0.34);
  background: var(--card-inner);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--pearl);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: var(--type-shade);
  box-shadow: 0 8px 18px rgba(8, 32, 36, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.listen-btn:hover,
.listen-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(12, 58, 66, 0.42);
  box-shadow: 0 10px 22px rgba(8, 32, 36, 0.2);
  border-color: var(--sea-glass);
}

/* Legend reveal */
.legend-copy {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.65;
  color: var(--foam);
  margin: 0 auto;
  max-width: 38rem;
  text-align: center;
  text-shadow: var(--type-shade);
}
.legend-copy p { margin: 0 0 1rem; }
.legend-copy p:last-child { margin-bottom: 0; }
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Coming soon blocks */
.soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 700px) {
  .soon-grid { grid-template-columns: 1fr; }
}
.soon-card h2 { margin-bottom: 0.4rem; }
.badge-soon {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(212, 184, 130, 0.18);
  border: 1px solid rgba(212, 184, 130, 0.35);
  color: var(--brass-lite);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: var(--type-shade);
}

/* Archive */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto 1.5rem;
}
.filter-btn {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 247, 243, 0.34);
  background: var(--card-inner);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--pearl);
  text-shadow: var(--type-shade);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter-btn:hover { border-color: var(--sea-glass); background: rgba(12, 58, 66, 0.42); }
.filter-btn[aria-pressed="true"] {
  background: rgba(12, 58, 66, 0.48);
  color: var(--pearl);
  border-color: var(--sea-glass);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.screen-card {
  background: var(--card-inner);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(232, 247, 243, 0.34);
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-height: 13.5rem;
  box-shadow: 0 10px 22px rgba(8, 32, 36, 0.14);
  text-align: center;
  text-shadow: var(--type-shade);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.screen-card:hover {
  transform: translateY(-3px);
  background: rgba(12, 58, 66, 0.42);
  box-shadow: 0 14px 28px rgba(8, 32, 36, 0.22);
}
.screen-card .badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; }
.pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(197, 228, 220, 0.16);
  border: 1px solid rgba(197, 228, 220, 0.28);
  color: var(--sea-glass-lite);
}
.pill.example {
  background: rgba(212, 184, 130, 0.18);
  border-color: rgba(212, 184, 130, 0.35);
  color: var(--brass-lite);
}
.screen-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0.35rem 0 0;
  color: var(--pearl);
}
.screen-card .meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--sea-glass-lite);
}
.screen-card .blurb {
  margin: 0.15rem 0 0.6rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--foam);
  flex: 1;
}
.watch {
  margin-top: auto;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.watch.is-pending {
  color: var(--brass-lite);
}
a.watch[href]:not([href="#"]):not([href=""]) {
  color: var(--pearl);
  text-decoration: none;
  border-bottom: 1px solid var(--sea-glass);
}
.archive-empty {
  grid-column: 1 / -1;
  color: var(--sea-glass-lite);
  font-style: italic;
  margin: 0;
  text-align: center;
  text-shadow: var(--type-shade);
}
.archive-credit {
  margin: 1.35rem auto 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--sea-glass-lite);
  text-align: center;
  max-width: 40rem;
  text-shadow: var(--type-shade);
}
.archive-credit a {
  color: var(--pearl);
  text-decoration: none;
  border-bottom: 1px solid var(--sea-glass);
}
.archive-note {
  margin: 0.7rem auto 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--sea-glass-lite);
  text-align: center;
  max-width: 40rem;
  text-shadow: var(--type-shade);
}
.archive-note.is-playful {
  font-style: italic;
  margin-top: 0.35rem;
}
.watch-extra {
  display: block;
  margin: 0.2rem auto 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.watch-extra a {
  color: var(--pearl);
  text-decoration: none;
  border-bottom: 1px solid var(--sea-glass);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 2rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--foam);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-shadow: var(--type-shade);
}
.site-footer p { margin: 0.25rem 0; }

/* Prototype banner */
.proto {
  position: fixed;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 25;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgba(12, 58, 66, 0.7);
  color: var(--pearl);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

/* Archive page hero is shorter */
.page-hero {
  min-height: 42svh;
  padding-bottom: 3rem;
}

/* ---- Mobile ---- */
@media (max-width: 820px) {
  .listen-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .listen-btn { min-width: 0; width: 100%; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) - 0.35rem);
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    background: rgba(246, 241, 232, 0.94);
    color: var(--teal-ink);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { color: var(--teal-ink); text-shadow: none; }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(26, 90, 99, 0.1);
    color: var(--teal-deep);
  }
  .site-header { padding: 0 0.65rem 0 0.85rem; gap: 0.4rem; }
  .sound-toggle {
    padding: 0.4rem 0.7rem 0.4rem 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    gap: 0.35rem;
  }
  .proto { display: none; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .chev, .nav-links a::after { animation: none; }
  .screen-card, .listen-btn, .filter-btn, .sound-toggle { transition: none; }
  .screen-card:hover, .listen-btn:hover, .listen-btn:focus-visible { transform: none; }
  .video-bg .mist { transform: none; }
}

/* ---- Selkiecore layer (v2) ---- */
body {
  cursor: url("../media/cursor-shell.png") 12 16, auto;
}
a, button, .filter-btn, .sound-toggle, .nav-toggle, .sticker, .listen-btn, .tide-pocket button {
  cursor: url("../media/cursor-shell.png") 12 16, pointer;
}

.sticker-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.sticker {
  position: absolute;
  pointer-events: auto;
  background: none;
  border: 0;
  padding: 0;
  width: 7.6rem;
  filter: drop-shadow(0 3px 7px rgba(8, 32, 36, 0.18));
  z-index: 4;
  transform: rotate(var(--tilt, -8deg));
  transform-origin: center;
}
/* Page-frame corners: tucked partly off the viewport edge of each full-width section. */
.sticker.is-tl { left: -2.75rem; top: 0.75rem; }
.sticker.is-tr { right: -2.75rem; top: 0.75rem; }
.sticker.is-bl { left: -2.75rem; bottom: 0.6rem; }
.sticker.is-br { right: -2.75rem; bottom: 0.6rem; }
.sticker[data-sticker="pearl-strand"].is-br { right: -4.1rem; }
.hero .sticker.is-tl,
.hero .sticker.is-tr {
  top: calc(var(--nav-h) + 0.35rem);
}
.sticker img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}
.sticker[data-sticker="pearl-strand"] { width: 9.2rem; }
.sticker[data-sticker="lighthouse"] { width: 8.2rem; }
.sticker[data-sticker="kelp-sprig"],
.sticker[data-sticker="sea-thrift"] { width: 7.2rem; }
.sticker[data-sticker="seal-peek"] { width: 7.8rem; }

.sticker .bob {
  display: block;
  animation: sticker-bob 5s ease-in-out infinite;
  animation-delay: var(--bob, 0s);
}
@keyframes sticker-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.sticker:hover .bob,
.sticker:focus-visible .bob {
  animation: sticker-wiggle 0.55s ease;
}
@keyframes sticker-wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(-7deg) scale(1.05); }
  70% { transform: rotate(7deg) scale(1.05); }
}
.sticker.is-flipped .bob {
  animation: none;
  transform: rotateY(180deg);
  transition: transform 0.55s ease;
}
.sticker.is-collectible.is-kept {
  opacity: 0;
  transform: rotate(var(--tilt, -8deg)) scale(0.2);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.tide-break {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  pointer-events: none;
  margin: -1.4rem auto 0;
  max-width: 22rem;
  position: relative;
  z-index: 3;
}
.tide-break::before,
.tide-break::after {
  content: "";
  height: 2px;
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(142, 201, 190, 0.7), rgba(197, 228, 220, 0.9), rgba(142, 201, 190, 0.7), transparent);
  box-shadow: 0 0 8px rgba(142, 201, 190, 0.35);
}
.tide-break img {
  width: 1.7rem;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(8, 32, 36, 0.2));
}

.tide-pocket {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 26;
}
.tide-pocket[hidden] { display: none; }
.tide-pocket button {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid rgba(200, 230, 222, 0.4);
  background: rgba(12, 58, 66, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 0.45rem;
}
.tide-pocket img { width: 100%; height: auto; }
.tide-pocket .count {
  position: absolute;
  right: -0.2rem;
  top: -0.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 99px;
  background: var(--pearl);
  color: var(--teal-deep);
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 820px) {
  .sticker { width: 4.2rem; }
  .sticker[data-sticker="pearl-strand"] { width: 5.2rem; }
  .sticker[data-sticker="seal-peek"],
  .sticker[data-sticker="lighthouse"],
  .sticker[data-sticker="kelp-sprig"],
  .sticker[data-sticker="sea-thrift"],
  .sticker[data-sticker="spiral-shell"],
  .sticker[data-sticker="triskele"],
  .sticker[data-sticker="starfish"] { width: 4.2rem; }
  .sticker.is-tl { left: -1.7rem; top: 0.35rem; }
  .sticker.is-tr { right: -1.7rem; top: 0.35rem; }
  .sticker.is-bl { left: -1.7rem; bottom: 0.35rem; }
  .sticker.is-br { right: -1.7rem; bottom: 0.35rem; }
  .hero .sticker.is-tl,
  .hero .sticker.is-tr { top: calc(var(--nav-h) + 0.2rem); }
  .sticker[data-hide-mobile],
  .sticker[data-sticker="kelp-sprig"],
  .sticker[data-sticker="sealskin-cloak"],
  .sticker[data-sticker="aran-knit"] { display: none; }
  .header-tools { flex-shrink: 0; }
  .tide-pocket { right: 0.6rem; bottom: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sticker .bob,
  .sticker:hover .bob,
  .sticker:focus-visible .bob { animation: none; }
  .sticker.is-flipped .bob { transition: none; }
  .sticker.is-collectible.is-kept { transition: none; }
}

/* ==== Hub + subpages (v5) ==== */

/* Page artwork slots. Each page has ONE background element (.page-art).
   To give a page its own artwork, set its --page-art below, e.g.
     body[data-page="music"] { --page-art: url("../media/pages/music.jpg"); }
   While --page-art is "none", the shared water video shows through.
   --page-tint is a light color wash so each page already feels a little different. */
body[data-page="home"]    { --page-art: none; --page-tint: rgba(8, 32, 36, 0); }
body[data-page="music"]   { --page-art: none; --page-tint: rgba(120, 92, 48, 0.16); }
body[data-page="archive"] { --page-art: none; --page-tint: rgba(10, 24, 52, 0.30); }

.page-art {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: var(--page-tint, transparent);
  background-image: var(--page-art, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Hub: one screen, no scrolling on desktop */
body.page-home .hub {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 1rem) 1.5rem 4.5rem;
}
body.page-home .site-footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 1.25rem 1.1rem;
}
body.page-home { position: relative; min-height: 100svh; }
.hub-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 4vh, 2.6rem);
  width: 100%;
}
.hub-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  max-width: 54rem;
}
.hub-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: min(19rem, 80vw);
  min-height: 6rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 247, 243, 0.6);
  background: rgba(8, 32, 36, 0.18); /* light tint only, no blur */
  color: var(--pearl);
  text-decoration: none;
  text-align: center;
  text-shadow: var(--type-shade);
  box-shadow: 0 0 0 1px rgba(8, 32, 36, 0.12), 0 10px 26px rgba(8, 32, 36, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hub-btn:hover,
.hub-btn:focus-visible {
  transform: translateY(-3px);
  border-color: var(--sea-glass-lite);
  background: rgba(8, 32, 36, 0.3);
}
.hub-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sea-glass-lite);
}
.hub-label {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
}
.hub .sticker-layer { position: fixed; z-index: 4; }
.hub .sticker.is-tl,
.hub .sticker.is-tr { top: calc(var(--nav-h) + 0.35rem); }
.hub .sticker.is-bl,
.hub .sticker.is-br { bottom: 2.4rem; }

/* Subpages */
.subpage { position: relative; }
.subpage > .sticker-layer { position: fixed; }
.subpage .sticker.is-tl,
.subpage .sticker.is-tr { top: calc(var(--nav-h) + 0.35rem); }
.subpage .band {
  padding-top: calc(var(--nav-h) + 2rem);
  min-height: calc(100svh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto 1.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 247, 243, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--foam);
  text-shadow: var(--type-shade);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.panel a.back-home { border-bottom: 1px solid rgba(232, 247, 243, 0.4); }
.back-home:hover,
.back-home:focus-visible { border-color: var(--sea-glass-lite); background: rgba(8, 32, 36, 0.22); }
.sub-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 auto 0.8rem;
  color: var(--pearl);
  text-shadow: var(--type-shade);
}
.sub-kicker,
.music-intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  max-width: 24em;
  margin: 0 auto 1.4rem;
  color: var(--foam);
  text-shadow: var(--type-shade);
}
.sub-kicker { margin-bottom: 0.6rem; }

@media (max-width: 820px) {
  body.page-home .hub { padding: calc(var(--nav-h) + 0.5rem) 1.1rem 3.5rem; }
  .hub-btn { min-height: 5.2rem; width: min(20rem, 86vw); }
  .hub .sticker.is-tl,
  .hub .sticker.is-tr,
  .subpage .sticker.is-tl,
  .subpage .sticker.is-tr { top: calc(var(--nav-h) + 0.2rem); }
  .hub .sticker.is-bl,
  .hub .sticker.is-br { bottom: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-btn, .back-home { transition: none; }
  .hub-btn:hover, .hub-btn:focus-visible { transform: none; }
}
/* v5 fixes: clip edge stickers to the screen (no sideways scroll on phones), roomier hub buttons, subpage fits one screen */
.hub .sticker-layer,
.subpage > .sticker-layer { overflow: hidden; }
.hub-btn { width: min(22rem, 86vw); }
body.page-music .site-footer,
body.page-archive .site-footer { padding: 1rem 1.25rem 1.25rem; }
.subpage .band { min-height: calc(100svh - 3.4rem); padding-bottom: 3rem; }
body.page-home .hub { overflow: hidden; }
.subpage .band { min-height: calc(100svh - 4rem); }

/* ==== Page background loops (v6) ==== */
/* Music + Archive put their own looping video in .page-art and drop the shared water video.
   Videos are portrait, so on wide screens they cover-crop; object-position keeps the subject in view. */
.page-art.has-video { background-color: #061a22; }
body[data-page="music"] .page-art.has-video {
  background: #05101a url("../media/pages/music-moon-poster.jpg") 50% 0% / cover no-repeat;
}
body[data-page="archive"] .page-art.has-video {
  background: #0b2229 url("../media/pages/archive-seal-poster.jpg") 50% 50% / cover no-repeat;
}
.page-art-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
body[data-page="music"] .page-art-video { object-position: 50% 0%; }
/* Readability: a soft dark gradient only (no blur). */
.page-art.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 16, 22, 0.55) 0%, rgba(4, 16, 22, 0.18) 30%, rgba(4, 16, 22, 0.18) 62%, rgba(4, 16, 22, 0.6) 100%),
    radial-gradient(70% 55% at 50% 45%, rgba(4, 16, 22, 0.32), transparent 75%);
}
body[data-page="archive"] .page-art.has-video::after {
  background:
    linear-gradient(180deg, rgba(4, 16, 22, 0.5) 0%, rgba(4, 16, 22, 0.25) 35%, rgba(4, 16, 22, 0.35) 100%);
}
body[data-page="music"],
body[data-page="archive"] { --page-tint: transparent; }
/* Reduced motion: main.js swaps each page loop for its still poster image (same class, same framing). */
/* ==== v7: wide moon + Selkie Media ==== */
/* Music: the wide moon loop is a plain full-screen cover background. The moon sits near the top
   centre (about 16% down the video), so the text block starts below it instead of being centred. */
body[data-page="music"] .subpage .band {
  justify-content: flex-start;
  padding-top: max(calc(var(--nav-h) + 9rem), 31vh);
}
/* Soft dark only behind the text area, the sky and moon stay clear. */
body[data-page="music"] .page-art.has-video::after {
  background:
    linear-gradient(180deg, rgba(4, 16, 22, 0.35) 0%, rgba(4, 16, 22, 0) 22%, rgba(4, 16, 22, 0) 36%, rgba(4, 16, 22, 0.35) 60%, rgba(4, 16, 22, 0.55) 100%);
}
@media (max-width: 820px) {
  body[data-page="music"] .page-art-video { object-position: 50% 0%; }
  body[data-page="music"] .page-art.has-video { background-position: 50% 0%; }
  body[data-page="music"] .subpage .band { padding-top: max(calc(var(--nav-h) + 8rem), 27vh); }
}

/* Selkie Media: Animation & Comics subsection */
.media-subsection { margin: 2.6rem auto 0; text-align: center; }
.media-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 auto 1.1rem;
  color: var(--pearl);
  text-shadow: var(--type-shade);
}
.band .media-subtitle { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); }
.archive-grid.is-featured-row {
  display: flex;
  justify-content: center;
}
.archive-grid.is-featured-row .screen-card { width: min(100%, 22rem); }
.screen-card.is-featured { border-color: rgba(212, 184, 130, 0.6); }
/* v7b: music text sits under the moon and fits one screen */
body[data-page="music"] .subpage .band { padding-top: max(calc(var(--nav-h) + 6.5rem), 23vh); min-height: 0; }
@media (max-height: 760px) and (min-width: 821px) {
  body[data-page="music"] .sub-title { font-size: clamp(1.8rem, 4.2vw, 2.8rem); margin-bottom: 0.5rem; }
  body[data-page="music"] .music-intro { margin-bottom: 1rem; }
  body[data-page="music"] .back-home { margin-bottom: 0.9rem; }
}
@media (max-width: 820px) {
  body[data-page="music"] .subpage .band { padding-top: max(calc(var(--nav-h) + 8rem), 27vh); }
}
.archive-grid.is-featured-row .screen-card { min-height: 0; }
.archive-grid.is-featured-row .screen-card .watch { margin-top: 0.9rem; }
