/* Living Room Sets — colors pulled from the show's logo animation. Written phone-first. */
@font-face {
  font-family: "Anton";
  src: url("../fonts/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #362a1e;
  --bg-deep: #2b2118;
  --panel: #43342a;
  --panel-2: #4d3d31;
  --cream: #f3e6d0;
  --cream-2: #e3d1b6;
  --paper: #f6ecdc;
  --ink: #2a2018;
  --muted: rgba(243, 230, 208, 0.7);
  --faint: rgba(243, 230, 208, 0.14);
  --orange: #d65a2f;
  --orange-hi: #e86d40;
  --mustard: #f2a71b;
  --olive: #6d7c3c;
  --radius: 16px;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --pad-l: max(var(--gutter), env(safe-area-inset-left));
  --pad-r: max(var(--gutter), env(safe-area-inset-right));
  --max: 1180px;
  --shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--cream);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
/* film grain over everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; }
figure { margin: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--mustard); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 50px; padding: 0 24px;
  border: 2px solid var(--orange); border-radius: 999px;
  background: var(--orange); color: var(--cream);
  font: 400 1.05rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--orange-hi); border-color: var(--orange-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: rgba(43, 33, 24, 0.55); border-color: rgba(243, 230, 208, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--panel); border-color: var(--cream-2); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.2rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-center { justify-content: center; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--panel); color: var(--cream);
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  transition: background-color 0.15s ease;
}
.chip:hover { background: var(--panel-2); }

/* YouTube is the main action: the subscribe button gets a little extra */
.btn-sub { box-shadow: 0 12px 30px -10px rgba(214, 90, 47, 0.7); }
.btn .yt, .btn .ig { margin-left: -4px; }
/* brand glyphs drawn in CSS */
.ig, .yt { display: inline-block; flex: none; width: 18px; height: 18px; position: relative; }
.ig { border: 2px solid currentColor; border-radius: 6px; }
.ig::before { content: ""; position: absolute; inset: 3px; border: 2px solid currentColor; border-radius: 50%; }
.ig::after { content: ""; position: absolute; width: 3px; height: 3px; right: 1px; top: 1px; background: currentColor; border-radius: 50%; }
.yt { width: 22px; height: 16px; background: var(--orange); border-radius: 5px; }
.yt-light { background: var(--cream); }
.yt-light::after { border-left-color: var(--orange) !important; }
.yt::after {
  content: ""; position: absolute; left: 8px; top: 4px;
  border-left: 7px solid var(--cream); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}

/* ---------- top bar ---------- */
.announce {
  background: var(--mustard); color: var(--ink);
  text-align: center; font-weight: 700; padding: 10px var(--pad-r) 10px var(--pad-l);
}
.announce p { margin: 0; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--pad-r) 10px var(--pad-l);
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(54, 42, 30, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.page-home .topbar:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.topbar.is-scrolled { border-bottom-color: var(--faint); }
.page-home .topbar { margin-bottom: -66px; } /* the hero photo runs up under the bar */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 44px; height: auto; }
.brand span { font: 1.35rem/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; color: var(--orange); }
.nav { display: flex; align-items: center; gap: clamp(4px, 2.5vw, 28px); }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; text-decoration: none; font-weight: 600; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--cream); }
@media (max-width: 720px) { .brand span { display: none; } }
@media (max-width: 560px) { .nav a.hide-xs { display: none; } }
.brand { flex: none; }
.nav-icon { justify-content: center; width: 44px; padding: 0 !important; color: var(--cream) !important; }
.nav-icon .ig { width: 22px; height: 22px; }
.nav-icon:hover { color: var(--mustard) !important; }

/* ---------- hero: a night in the room, logo on top ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; align-content: center; gap: clamp(18px, 3vw, 28px);
  min-height: min(100svh, 900px);
  padding: 96px var(--pad-r) 72px var(--pad-l);
  text-align: center;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 40%; filter: saturate(0.9) contrast(1.05); transform: scale(1.04); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(54, 42, 30, 0.55), rgba(54, 42, 30, 0.2) 70%),
    linear-gradient(180deg, rgba(54, 42, 30, 0.75) 0%, rgba(54, 42, 30, 0.25) 30%, rgba(54, 42, 30, 0.45) 70%, var(--bg) 100%);
}
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 140vw); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(54, 42, 30, 0.7), rgba(54, 42, 30, 0.35) 60%, transparent 80%);
}
.hero-logo {
  position: relative; width: min(700px, 100%); aspect-ratio: 1240 / 740;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.55));
}
.hero-logo picture, .hero-logo img, .logo-anim { position: absolute; inset: 0; width: 100%; height: 100%; }
/* with scripts on, the still waits while the animation loads (site.js shows it if the video can't play) */
@media (scripting: enabled) {
  .hero-logo .logo-still { opacity: 0; transition: opacity 0.4s ease; }
  .hero-logo.show-still .logo-still { opacity: 1; }
  .hero-logo.show-still .logo-anim { display: none; }
}
.hero-actions { justify-content: center; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
}
.hero-scroll span {
  width: 14px; height: 14px; border-right: 3px solid var(--cream); border-bottom: 3px solid var(--cream);
  transform: rotate(45deg); opacity: 0.75; animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { translate: 0 -4px; } 50% { translate: 0 4px; } }
@media (max-width: 520px) {
  .hero { min-height: 92svh; padding-top: 84px; align-content: end; padding-bottom: 88px; }
  .hero-bg img { object-position: 38% 50%; }
  .hero-logo { width: 100%; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- sections ---------- */
.latest, .episodes, .about, .couch-cam-head {
  max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--pad-l); padding-right: var(--pad-r);
}
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px;
  border-top: 2px solid var(--faint); padding-top: 18px; margin-bottom: 24px;
}
.section-head h2 { font: clamp(2.1rem, 5vw, 3rem)/1 var(--display); text-transform: uppercase; color: var(--mustard); }
.section-meta { margin: 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.kicker { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- player (thumbnail that turns into an embed) ---------- */
.player {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--bg-deep); box-shadow: var(--shadow);
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s ease; }
.player:hover img { transform: scale(1.03); filter: brightness(1.06); }
.play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--orange); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.play::after {
  content: ""; position: absolute; left: 30px; top: 23px;
  border-left: 22px solid var(--cream); border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.player:hover .play { transform: scale(1.08); background: var(--orange-hi); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 520px) {
  .play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .play::after { left: 25px; top: 19px; border-left-width: 19px; border-top-width: 13px; border-bottom-width: 13px; }
}

/* ---------- latest ---------- */
.latest { margin-top: clamp(24px, 4vw, 40px); margin-bottom: clamp(56px, 9vw, 110px); }
.feature { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (min-width: 1000px) { .feature { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
@media (max-width: 520px) {
  /* edge-to-edge video on phones */
  .feature-media { margin-left: calc(-1 * var(--pad-l)); margin-right: calc(-1 * var(--pad-r)); }
  .feature-media .player { border-radius: 0; }
}
.artist {
  font: clamp(3rem, 12vw, 5.2rem)/0.92 var(--display); text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px; overflow-wrap: anywhere;
}
.also { color: var(--mustard); font-weight: 700; font-size: 0.92rem; margin: -4px 0 12px; }
.bio { color: var(--cream-2); }
.bio p:last-child { margin-bottom: 0; }
.feature-info .bio { margin-bottom: 20px; font-size: 1.05rem; }

.setcard {
  background: var(--cream-2); color: var(--ink);
  border-radius: 14px; padding: 16px 20px 14px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.setcard-head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.setcard-head span:first-child::before { content: "▶ "; color: var(--orange); }
.setcard-head span:last-child { opacity: 0.6; }
.songs { margin: 0; padding: 0; list-style: none; counter-reset: song; }
.songs li {
  counter-increment: song; display: flex; gap: 12px; padding: 7px 0;
  border-top: 1px solid rgba(42, 32, 24, 0.12); font-weight: 600;
}
.songs li:first-child { border-top: 0; }
.songs li::before { content: counter(song, decimal-leading-zero); flex: none; width: 1.6em; font-variant-numeric: tabular-nums; opacity: 0.45; font-weight: 700; }
.song-note { font-weight: 400; font-style: italic; opacity: 0.7; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }

/* ---------- "From the couch" photo reel ---------- */
.couch-cam { margin-bottom: clamp(56px, 9vw, 110px); }
.reel {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 26px 0 34px; overscroll-behavior-x: contain;
}
.reel::-webkit-scrollbar { display: none; }
.reel-track {
  list-style: none; margin: 0; display: flex; gap: clamp(14px, 2.4vw, 26px); width: max-content;
  padding: 0 var(--pad-r) 0 var(--pad-l);
}
.reel-track > [aria-hidden="true"] { display: none; } /* the copy only exists for the desktop loop */
.snap { scroll-snap-align: center; flex: none; width: min(68vw, 340px); }
.snap-btn {
  display: block; width: 100%; padding: 10px 10px 34px; border: 0; cursor: zoom-in;
  background: var(--paper); border-radius: 4px; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.snap-btn img { width: 100%; height: auto; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 2px; background: #ddd; }
.snap-0 .snap-btn { transform: rotate(-2.5deg); }
.snap-1 .snap-btn { transform: rotate(1.8deg) translateY(8px); }
.snap-2 .snap-btn { transform: rotate(-1deg) translateY(-6px); }
.snap-3 .snap-btn { transform: rotate(2.6deg); }
.snap-btn:hover, .snap-btn:focus-visible { transform: rotate(0) scale(1.04); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85); }
/* tape */
.snap-btn::before {
  content: ""; position: absolute; width: 74px; height: 22px; margin: -20px 0 0 calc(50% - 47px);
  background: rgba(242, 167, 27, 0.55); transform: rotate(-4deg); z-index: 1;
}
.snap-btn { position: relative; }
.snap-3 .snap-btn::before, .snap-1 .snap-btn::before { background: rgba(214, 90, 47, 0.5); transform: rotate(5deg); }
/* desktop with a mouse: the reel drifts on its own and pauses when you point at it */
@media (hover: hover) and (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .reel { overflow: hidden; scroll-snap-type: none; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .reel-track > [aria-hidden="true"] { display: list-item; }
  .reel-track { animation: drift 90s linear infinite; padding-left: 0; padding-right: 0; }
  .reel-track > li:first-child { margin-left: clamp(14px, 2.4vw, 26px); }
  .reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
}
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- past sets grid ---------- */
.episodes { margin-bottom: clamp(56px, 9vw, 110px); }
.grid { display: grid; gap: clamp(28px, 3vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; margin-bottom: 16px; }
.card .play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.card .play::after { left: 24px; top: 18px; border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; }
.sticker {
  position: absolute; top: -10px; left: -6px; z-index: 2;
  padding: 6px 12px 5px; border-radius: 8px;
  font: 1.05rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--mustard); color: var(--ink); transform: rotate(-4deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); pointer-events: none;
}
.sticker-1 { background: var(--orange); color: var(--cream); transform: rotate(3deg); }
.sticker-2 { background: var(--olive); color: var(--cream); transform: rotate(-2deg); }
.card-artist { font: clamp(2.1rem, 8vw, 2.4rem)/0.95 var(--display); text-transform: uppercase; color: var(--cream); margin-bottom: 10px; overflow-wrap: anywhere; }
.card .bio { font-size: 0.98rem; margin-bottom: 14px; }
.setlist { margin-bottom: 14px; border-radius: 12px; background: var(--panel); }
.setlist summary {
  cursor: pointer; list-style: none; min-height: 48px; padding: 0 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.setlist summary::-webkit-details-marker { display: none; }
.setlist summary span { color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: none; }
.setlist summary span::after { content: " +"; color: var(--mustard); font-weight: 700; }
.setlist[open] summary span::after { content: " –"; }
.setlist .songs { padding: 0 16px 10px; }
.setlist .songs li { border-top-color: var(--faint); font-weight: 500; }
.views { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.card-next {
  position: relative; overflow: hidden; isolation: isolate;
  justify-content: flex-end; gap: 8px; text-decoration: none;
  min-height: 280px; padding: 26px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-next-bg, .card-next-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.card-next-bg img { object-fit: cover; transition: transform 0.6s ease; }
.card-next-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 33, 24, 0.15), rgba(43, 33, 24, 0.92) 75%); }
.card-next:hover .card-next-bg img { transform: scale(1.05); }
.card-next-ep { font: 1.1rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mustard); }
.card-next-title { font: clamp(2rem, 7vw, 2.4rem)/1 var(--display); text-transform: uppercase; }
.card-next-cta { color: var(--cream-2); font-weight: 600; }
.empty { color: var(--muted); }

/* ---------- about: a little stack of prints ---------- */
.about { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; margin-bottom: clamp(56px, 9vw, 110px); }
@media (min-width: 860px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.about-art { position: relative; width: min(100%, 520px); margin: 0 auto; padding: 4% 14% 18% 0; }
.polaroid { background: var(--paper); padding: 10px 10px 36px; border-radius: 4px; box-shadow: var(--shadow); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.polaroid-a { transform: rotate(-3deg); }
.polaroid-b { position: absolute; right: 0; bottom: 0; width: 48%; transform: rotate(5deg); }
.polaroid-b img { aspect-ratio: 1; }
.about-copy h2 { font: clamp(2.1rem, 5vw, 3rem)/1 var(--display); text-transform: uppercase; color: var(--mustard); margin-bottom: 18px; }
.about-copy p { color: var(--cream-2); font-size: 1.08rem; }
.about-copy .actions { margin-top: 24px; }
@media (max-width: 520px) { .about-copy .actions .btn { flex: 1; } }

/* ---------- join band ---------- */
.join-band {
  position: relative; isolation: isolate; overflow: hidden;
  width: calc(100% - var(--pad-l) - var(--pad-r)); max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto clamp(56px, 8vw, 96px);
  padding: clamp(56px, 9vw, 110px) clamp(20px, 4vw, 48px);
  border-radius: clamp(20px, 3vw, 32px);
  text-align: center; color: var(--cream); background: var(--orange);
}
.join-band-bg, .join-band-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.join-band-bg { mix-blend-mode: multiply; }
.join-band-bg img { object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.15); }
.join-band-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(43, 33, 24, 0.35), rgba(43, 33, 24, 0.05) 75%); }
.join-band > *:not(.join-band-bg) { max-width: 720px; margin-left: auto; margin-right: auto; }
.join-band h2 { font: clamp(2.4rem, 9vw, 4.2rem)/0.98 var(--display); text-transform: uppercase; margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); }
.join-band p { font-size: 1.12rem; margin-bottom: 26px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff6e6; border-color: #fff6e6; }
.btn-cream-ghost { background: rgba(43, 33, 24, 0.25); border-color: rgba(243, 230, 208, 0.8); color: var(--cream); }
.btn-cream-ghost:hover { background: rgba(43, 33, 24, 0.45); border-color: var(--cream); }
@media (max-width: 520px) {
  .join-band { width: 100%; border-radius: 0; }
  .join-band .actions { flex-direction: column; }
  .join-band .btn { width: 100%; }
}

/* ---------- join page ---------- */
.join { padding: clamp(16px, 4vw, 56px) var(--pad-r) clamp(56px, 8vw, 96px) var(--pad-l); }
.join-split {
  display: grid; gap: clamp(8px, 3vw, 64px); align-items: center;
  max-width: var(--max); margin: 0 auto;
}
@media (min-width: 900px) { .join-split { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); min-height: calc(100svh - 160px); } }
.join-photos { position: relative; height: clamp(210px, 62vw, 300px); margin: 0 -8px; }
.join-photos .polaroid { position: absolute; padding: 7px 7px 24px; }
.join-photos img { aspect-ratio: 4 / 5; }
.jp-a { width: 46%; left: 27%; top: 0; transform: rotate(-2deg); z-index: 2; }
.jp-b { width: 36%; left: 2%; top: 14%; transform: rotate(-9deg); }
.jp-c { width: 36%; right: 2%; top: 12%; transform: rotate(8deg); }
@media (min-width: 900px) {
  .join-photos { height: min(640px, 70vh); margin: 0; }
  .join-photos .polaroid { padding: 12px 12px 40px; }
  .jp-a { width: 64%; left: 4%; top: 6%; transform: rotate(-4deg); }
  .jp-b { width: 46%; left: auto; right: 0; top: 0; transform: rotate(6deg); z-index: 3; }
  .jp-b img { aspect-ratio: 1; }
  .jp-c { width: 44%; right: 6%; top: auto; bottom: 2%; transform: rotate(-3deg); z-index: 3; }
  .jp-c img { aspect-ratio: 4 / 3; }
}
.join-card { width: 100%; max-width: 520px; margin: 0 auto; text-align: center; }
.join-couch img { width: 96px; height: auto; margin: 0 auto 14px; }
@media (max-width: 899px) { .join-couch { display: none; } }
.join-card h1 { font: clamp(2.6rem, 11vw, 3.8rem)/0.95 var(--display); text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.join-intro { color: var(--cream-2); font-size: 1.08rem; margin-bottom: 26px; }
.form { text-align: left; display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.optional { font-weight: 500; color: var(--muted); font-size: 0.9rem; margin-left: 4px; }
.field input {
  width: 100%; min-height: 56px; padding: 12px 16px;
  font: 500 1.1rem/1.2 var(--body); color: var(--ink); /* ≥16px so phones don't zoom in */
  background: var(--cream); border: 2px solid var(--cream); border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--mustard); box-shadow: 0 0 0 4px rgba(242, 167, 27, 0.3); }
.field input[aria-invalid="true"] { border-color: #ff8a65; }
.field-error { color: #ffb199; font-weight: 600; font-size: 0.95rem; margin: 6px 0 0; }
.form-error {
  background: rgba(255, 138, 101, 0.14); border: 1px solid rgba(255, 138, 101, 0.5); color: #ffd2c4;
  border-radius: 12px; padding: 12px 16px; font-weight: 600; text-align: left;
}
.form .btn { margin-top: 6px; }
.fine { color: var(--muted); font-size: 0.9rem; text-align: center; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .join-card .actions .btn { width: 100%; } }

/* ---------- 404 ---------- */
.lost {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: end center; min-height: calc(100svh - 70px);
  padding: 120px var(--pad-r) clamp(48px, 8vw, 96px) var(--pad-l); text-align: center;
}
.lost-bg, .lost-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.lost-bg img { object-fit: cover; object-position: 30% 35%; }
.lost-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(54, 42, 30, 0.1) 20%, rgba(54, 42, 30, 0.85) 62%, var(--bg)); }
.lost-card { max-width: 560px; }
.lost-code { font: 1.1rem/1 var(--display); letter-spacing: 0.2em; color: var(--mustard); margin-bottom: 10px; }
.lost h1 { font: clamp(2.6rem, 10vw, 4.4rem)/0.95 var(--display); text-transform: uppercase; color: var(--cream); margin-bottom: 14px; }
@media (max-width: 520px) { .lost .actions .btn { width: 100%; } }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 15, 10, 0.94); color: var(--cream);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 15, 10, 0.6); }
.lightbox-img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); width: auto; height: auto; border: 8px solid var(--paper); border-bottom-width: 28px; border-radius: 4px; box-shadow: var(--shadow); }
.lightbox form { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
.lightbox-close {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cream); color: var(--ink); font: 700 1.8rem/1 var(--body);
}

/* ---------- footer ---------- */
.footer { border-top: 2px solid var(--faint); background: var(--bg-deep); padding-bottom: env(safe-area-inset-bottom); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 36px var(--pad-r) 12px var(--pad-l);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 64px; height: auto; }
.footer-brand p { margin: 0; color: var(--muted); }
.footer-brand strong { font: 1.3rem/1.2 var(--display); text-transform: uppercase; color: var(--cream); letter-spacing: 0.03em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; color: var(--cream-2); }
.footer-links a:hover { color: var(--mustard); }
.footer-fine { max-width: var(--max); margin: 0 auto; padding: 8px var(--pad-r) 28px var(--pad-l); color: rgba(243, 230, 208, 0.4); font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 600px) {
  /* on a tall phone screen, keep the shush in the top half and the words below it */
  .lost-bg { bottom: 34%; height: auto; }
  .lost-bg img { object-position: 24% 50%; }
}
@media (min-width: 801px) {
  .lost { place-items: center end; text-align: left; padding-right: max(6vw, var(--pad-r)); }
  .lost-card { max-width: 460px; }
  .lost .actions { justify-content: flex-start; }
  .lost-bg img { object-position: 20% 40%; }
  .lost-bg::after { background: linear-gradient(90deg, rgba(54, 42, 30, 0.05) 25%, rgba(54, 42, 30, 0.82) 58%, var(--bg)); }
}
