/* ============================================================
   PLONKI — STYLES
   Palette pulled from the logo (orange) and press photo
   (olive green, cream, denim).
   ============================================================ */

:root{
  --cream: #f6f0e4;
  --cream-2: #efe6d4;
  --ink: #1c1914;
  --ink-soft: #38332b;
  --orange: #f0a15a;
  --orange-dark: #d97f34;
  --olive: #4c5a3a;
  --olive-dark: #333f28;
  --denim: #364355;
  --line: rgba(28,25,20,0.12);

  --font-display: "Anton", sans-serif;
  --font-body: "Space Grotesk", sans-serif;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  margin: 0;
}

a{ color: inherit; }

.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section{ padding: 96px 0; position: relative; }
.section-dark{
  background: var(--ink);
  color: var(--cream);
}
.section-dark .badge{ color: var(--ink); }

.section-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.section-head h2{
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--orange);
}
.section-lede{
  max-width: 60ch;
  margin: -20px 0 36px;
  opacity: .85;
  font-size: 1.05rem;
}

.badge{
  display:inline-block;
  background: var(--orange);
  color: var(--ink);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

/* subtle grain overlay for texture */
#grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- HEADER / NAV ---------- */
#site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
#site-header.scrolled{
  background: rgba(28,25,20,0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 18px rgba(0,0,0,.2);
}
.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.nav-logo img{ height: 34px; width:auto; }

.nav-links{
  list-style:none;
  display:flex;
  gap: 30px;
  margin:0; padding:0;
}
.nav-links a{
  color: var(--cream);
  text-decoration:none;
  font-size: .92rem;
  text-transform: lowercase;
  letter-spacing: .03em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background: var(--orange);
  transition: width .25s ease;
}
.nav-links a:hover::after{ width:100%; }

/* marks whichever nav link matches the page you're already on */
.nav-links a.is-current::after{ width:100%; }

/* the "news" link gets a filled, gently pulsing pill so it stands
   out from the plain text links and people feel like clicking it */
.nav-links a.nav-news{
  background: var(--orange);
  color: var(--ink);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  animation: nav-news-pulse 2.4s ease-in-out infinite;
}
.nav-links a.nav-news::after{ display:none; }
.nav-links a.nav-news:hover{
  background: var(--orange-dark);
  animation-play-state: paused;
}
@keyframes nav-news-pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(240,161,90,.55); }
  50%{ box-shadow: 0 0 0 7px rgba(240,161,90,0); }
}

/* the "plonki plus" link gets the same pill treatment as "news",
   but in an arcade red so the two don't blur together in the nav */
.nav-links a.nav-extras{
  background: #e6483c;
  color: var(--cream);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  animation: nav-extras-pulse 2.4s ease-in-out infinite;
}
.nav-links a.nav-extras::after{ display:none; }
.nav-links a.nav-extras:hover{
  background: #c23327;
  animation-play-state: paused;
}
@keyframes nav-extras-pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(230,72,60,.55); }
  50%{ box-shadow: 0 0 0 7px rgba(230,72,60,0); }
}

#nav-toggle{
  display:none;
  flex-direction: column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 6px;
}
#nav-toggle span{
  width: 24px; height: 2px;
  background: var(--cream);
  display:block;
}

/* ---------- HERO ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.hero-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  /* biased low: the band's faces sit in the lower half of this photo
     (the top is mostly tree canopy), so crop from the top first */
  object-position: center 85%;
}
.hero-scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,17,12,.35) 0%, rgba(20,17,12,.25) 40%, rgba(20,17,12,.92) 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px 90px;
  text-align:center;
  color: var(--cream);
}
.hero-logo{
  width: min(520px, 78vw);
  margin: 0 auto 18px;
  transform-origin: 50% 50%;
  animation: logo-wobble 8s ease-in-out infinite;
  filter: url(#underwater-warp);
  will-change: transform, filter;
}
@keyframes logo-wobble{
  0%   { transform: rotate(0deg)      skew(0deg, 0deg)     scale(1); }
  15%  { transform: rotate(-3deg)     skew(-1.5deg, 0.8deg) scale(1.07); }
  32%  { transform: rotate(2.2deg)    skew(1.3deg, -1.1deg) scale(0.91); }
  50%  { transform: rotate(-1.7deg)   skew(-1deg, 1.3deg)   scale(1.06); }
  68%  { transform: rotate(2.6deg)    skew(1.5deg, -0.6deg) scale(0.93); }
  85%  { transform: rotate(-1.3deg)   skew(-0.8deg, 0.5deg) scale(1.04); }
  100% { transform: rotate(0deg)      skew(0deg, 0deg)     scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .hero-logo{ animation: none; filter: none; }
}
@media (min-width: 901px){
  /* on tall phone screens the hero is much taller than it is wide, so
     almost the full photo shows and the 85% bias reads fine. On a wide
     desktop window the hero is short and wide, so object-fit:cover only
     shows a thin horizontal band — pinned at 85% down, that band lands
     right where the logo + tagline sit at the bottom, covering faces.
     Shift the crop up on desktop only, logo stays the same size. */
  .hero-img{ object-position: center 60%; }
}
.hero-tagline{
  text-transform: lowercase;
  letter-spacing: .06em;
  font-size: clamp(.85rem, 2vw, 1.05rem);
  opacity: .9;
  margin: 0 0 30px;
}
.hero-cta{
  display:flex;
  gap: 16px;
  justify-content:center;
  flex-wrap: wrap;
}
.hero-newsletter{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.hero-newsletter .mailinglist-btn{
  padding: 9px 20px;
  font-size: .82rem;
}
@media (max-width: 640px){
  /* the two hero-cta buttons stack onto their own lines on narrow
     phones, so the newsletter button below needs more breathing
     room than the 18px that's plenty of space on wider screens */
  .hero-cta{ gap: 12px; }
  .hero-newsletter{ margin-top: 30px; }
}
.scroll-hint{
  position:absolute;
  bottom: 26px; left:50%;
  transform: translateX(-50%);
  z-index:2;
  color: var(--cream);
  text-decoration:none;
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
  opacity: .8;
}
@keyframes bob{
  0%,100%{ transform: translate(-50%,0); }
  50%{ transform: translate(-50%,8px); }
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  text-transform: lowercase;
  border: 2px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-solid{
  background: var(--orange);
  color: var(--ink);
}
.btn-solid:hover{ background: var(--orange-dark); }
.btn-outline{
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover{ background: var(--cream); color: var(--ink); }
.btn-small{
  padding: 8px 18px;
  font-size: .8rem;
}

/* ---------- BIO ---------- */
.bio-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items:start;
}
.bio-photo img{
  border-radius: 14px;
  filter: sepia(.15) saturate(1.05);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.bio-text .section-head{ margin-bottom: 18px; }
.bio-text p{ margin: 0 0 16px; }
.bio-text em{ font-style: normal; color: var(--orange-dark); }

.lang-toggle{
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 58% 42% 61% 39% / 47% 53% 47% 53%;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  cursor:pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-toggle:hover{ background: var(--ink); color: var(--cream); }

.text-link{
  background:none;
  border:none;
  padding:0;
  color: var(--orange-dark);
  font-weight: 600;
  cursor:pointer;
  font-family: var(--font-body);
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- STUDIO NOTE (hand-drawn doodle box) ---------- */
.studio-note-wrap{
  position: relative;
  max-width: var(--container);
  margin: -20px auto 64px;
  padding: 0 28px;
  display:flex;
  justify-content:center;
}

/* ---------- GUITAR PICK EASTER EGG ---------- */
.guitar-pick-btn{
  position: absolute;
  top: 50%;
  right: 6%;
  width: 78px;
  height: 91px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transform: translateY(-50%) rotate(-9deg);
  transition: transform .25s ease;
}
/* the class's own display:flex has the same specificity as the
   browser's default [hidden]{display:none}, so without this the
   pick stays visibly on-screen (mid-fall position!) even once JS
   sets pick.hidden = true — same fix already used for .gallery-modal */
.guitar-pick-btn[hidden]{
  display: none;
}
.guitar-pick-btn:hover{
  transform: translateY(-50%) rotate(-4deg) scale(1.06);
}
.guitar-pick-btn img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: contain;
  pointer-events:none;
}
.guitar-pick-text{
  position:relative;
  z-index:1;
  color: var(--ink);
  font-weight: 800;
  font-size: .56rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-align:center;
  text-transform:lowercase;
  padding: 4px 14px 12px;
  pointer-events:none;
}
.guitar-pick-btn.is-dropping{
  transition: transform 1.1s cubic-bezier(.55,0,.85,.3);
  transform: translateY(calc(-50% + 140vh)) rotate(430deg);
  pointer-events:none;
}

/* pick #1's new home: right below the last line of the bio text,
   tilted the other way from its old spot for a bit of variety */
.bio-pick-wrap{
  position: relative;
  height: 100px;
  margin-top: 4px;
}
.guitar-pick-btn-bio{
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(9deg);
}
.guitar-pick-btn-bio:hover{
  transform: translateY(-50%) rotate(4deg) scale(1.06);
}
@media (max-width: 500px){
  /* on very narrow phones, sit it centered below the text instead of
     pinned to the right, so it doesn't crowd against the edge */
  .guitar-pick-btn-bio{ right: 50%; transform: translateY(-50%) translateX(50%) rotate(9deg); }
  .guitar-pick-btn-bio:hover{ transform: translateY(-50%) translateX(50%) rotate(4deg) scale(1.06); }
}

/* second pick — sits on the right, level with the "for bookings..."
   line in the contact section, once the first one has been dropped */
.contact-lede-wrap{
  position: relative;
}
.guitar-pick-btn-contact{
  top: 50%;
  right: 6%;
  transform: translateY(-50%) rotate(-9deg) scale(0);
  opacity: 0;
}
/* holds the resting "visible" look once the pop-in animation has
   finished, so :hover can take over the transform again — a still-
   running forwards-filled animation would otherwise keep overriding it */
.guitar-pick-btn-contact.is-visible{
  transform: translateY(-50%) rotate(-9deg) scale(1);
  opacity: 1;
}
.guitar-pick-btn-contact:hover{
  transform: translateY(-50%) rotate(-4deg) scale(1.06);
}
.guitar-pick-btn-contact .guitar-pick-text{
  color: var(--ink);
}
.guitar-pick-btn-contact.is-revealed{
  animation: pick-pop-in-contact .6s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes pick-pop-in-contact{
  0%{ transform: translateY(-50%) rotate(-9deg) scale(0); opacity: 0; }
  60%{ transform: translateY(-50%) rotate(-9deg) scale(1.15); opacity: 1; }
  100%{ transform: translateY(-50%) rotate(-9deg) scale(1); opacity: 1; }
}
@media (max-width: 900px){
  /* on phones, anchor the pick to the bottom-right corner of this
     block instead of centering it — centered (even at the bottom)
     still landed on top of the "for bookings..." text once the
     paragraph wrapped onto more lines on a narrow screen. Tucking it
     into the corner keeps it clear of the text entirely.
     Desktop (above 900px) is untouched — see the base rules above. */
  .contact-lede-wrap{ padding-bottom: 66px; }
  .guitar-pick-btn-contact{
    top: auto;
    bottom: 4px;
    right: 2%;
    transform: rotate(-9deg) scale(0);
  }
  .guitar-pick-btn-contact.is-visible{
    transform: rotate(-9deg) scale(1);
  }
  .guitar-pick-btn-contact:hover{
    transform: rotate(-4deg) scale(1.06);
  }
  .guitar-pick-btn-contact.is-revealed{ animation-name: pick-pop-in-contact-mobile; }
}
@keyframes pick-pop-in-contact-mobile{
  0%{ transform: rotate(-9deg) scale(0); opacity: 0; }
  60%{ transform: rotate(-9deg) scale(1.15); opacity: 1; }
  100%{ transform: rotate(-9deg) scale(1); opacity: 1; }
}
.studio-note{
  position: relative;
  max-width: 560px;
  background: var(--cream-2);
  padding: 26px 34px;
  transform: rotate(-1.6deg);
  text-align:center;
  border: 2px solid var(--line);
  /* organic, slightly wobbly rounded corners for a hand-drawn feel */
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.studio-note::before{
  /* a second, offset outline — like the shape got sketched twice */
  content:"";
  position:absolute;
  inset: -7px;
  border: 2px solid var(--ink);
  border-radius: 15px 225px 15px 255px / 225px 15px 255px 15px;
  opacity: .3;
  transform: rotate(1.4deg);
  pointer-events: none;
  z-index: -1;
}
.studio-note p{
  position: relative;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.studio-note strong{ color: var(--orange-dark); }
.studio-note-link{
  text-decoration: none;
  border-bottom: 1.5px dashed var(--orange-dark);
  transition: color .18s ease;
}
.studio-note-link:hover strong{ color: var(--ink); }

/* ---------- SHOWS ---------- */
.shows-tabs{
  display:flex;
  gap: 10px;
  margin-bottom: 30px;
}
.tab-btn{
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
  opacity: .55;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  text-transform: lowercase;
  cursor:pointer;
}
.tab-btn.active{
  opacity: 1;
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.shows-list{
  list-style:none;
  margin:0; padding:0;
  border-top: 1px solid rgba(246,240,228,.15);
}
.show-row{
  display:flex;
  align-items:center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(246,240,228,.15);
  flex-wrap: wrap;
}
.show-date{
  font-family: var(--font-display);
  color: var(--orange);
  min-width: 130px;
  font-size: 1.05rem;
  text-transform: lowercase;
}
.show-info{ flex: 1; min-width: 220px; }
.show-title{ font-weight: 700; margin: 0 0 3px; }
.show-venue{ opacity: .75; font-size: .92rem; margin:0; }
.show-empty{
  padding: 30px 0;
  opacity: .6;
  font-style: italic;
}
.show-more-tba{
  padding: 18px 0 4px;
  opacity: .55;
  font-style: italic;
  font-size: .9rem;
  list-style:none;
}

.show-title-link{
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.show-title-link:hover{
  color: var(--orange);
  border-color: var(--orange);
}

.show-gallery-btn{
  display:inline-block;
  margin-left: 10px;
  padding: 2px 12px;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  text-transform: lowercase;
  text-decoration:none;
  color: var(--ink);
  background: var(--orange);
  border: 1.5px solid var(--orange);
  vertical-align: middle;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.show-gallery-btn:hover{
  background: transparent;
  color: var(--orange);
}

/* past shows, grouped by year and collapsible */
.shows-past .year-group{
  border-bottom: 1px solid rgba(246,240,228,.15);
}
.shows-past .year-group summary{
  list-style: none;
  cursor: pointer;
  display:flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--orange);
  text-transform: lowercase;
}
.shows-past .year-group summary::-webkit-details-marker{ display:none; }
.shows-past .year-group summary::before{
  content: "+";
  display:inline-block;
  width: 14px;
  font-family: var(--font-body);
  opacity: .8;
}
.shows-past .year-group[open] summary::before{ content: "–"; }
.shows-past .year-count{
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  opacity: .5;
  text-transform: lowercase;
}
.shows-past .year-group .shows-list{ border-top: none; }
.shows-past .year-group .show-row:last-child{ border-bottom: none; }

/* ---------- DOODLE (wobbly hand-drawn edges, used on cards) ----------
   Applied via a "doodle" class alongside a card's own class, so it
   must be defined AFTER those base card styles to win the cascade. */

/* ---------- SPOTIFY SHOWCASE ---------- */
.spotify-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.spotify-card{
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  padding: 16px 16px 4px;
  overflow: hidden;
}
.spotify-card-title{
  margin: 0 0 12px;
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1.02rem;
  color: var(--ink);
}
.spotify-card iframe{ border-radius: 10px; display:block; }

/* ---------- MERCH ---------- */
#merch{ padding-top: 40px; }
.merch-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.merch-card{
  display:block;
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 20px;
  text-decoration:none;
  color: var(--ink);
  transition: transform .18s ease, border-color .18s ease;
}
.merch-card:hover{
  transform: translateY(-3px);
  border-color: var(--orange);
}
.merch-card img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.merch-card-title{
  margin: 0 0 2px;
  font-weight: 700;
  text-transform: lowercase;
}
.merch-card-sub{
  margin: 0 0 10px;
  font-size: .82rem;
  opacity: .65;
}
.merch-card-buy{
  display:inline-block;
  font-weight: 700;
  color: var(--orange-dark);
}
.merch-note-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 100%;
}
.merch-note-card p{
  margin:0;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  text-align:center;
}

/* ---------- MUSIC ---------- */
.platform-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 16px;
}
.platform-card{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 22px 18px;
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;
  text-transform: lowercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.platform-card:hover{
  transform: translateY(-3px);
  border-color: var(--orange);
  background: var(--cream);
}
.platform-card.is-placeholder{
  opacity: .5;
  border-style: dashed;
  cursor: default;
  pointer-events: none;
}

/* ---------- VIDEOS ---------- */
.video-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px;
}
.video-slot{
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.video-slot iframe{
  width:100%; height:100%; border:0;
}
.video-placeholder{
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  flex-direction: column;
  gap: 8px;
  border: 1.5px dashed rgba(246,240,228,.35);
  border-radius: 12px;
  color: rgba(246,240,228,.55);
  text-align: center;
  padding: 20px;
  font-size: .88rem;
}
.video-placeholder .plus{ font-size: 1.8rem; line-height:1; color: var(--orange); }
.video-caption{
  display:block;
  margin: 10px 2px 0;
  font-size: .88rem;
  opacity: .75;
}
.video-caption-link{
  text-decoration: none;
  color: var(--cream);
  transition: opacity .18s ease;
}
.video-caption-link:hover{ opacity: 1; text-decoration: underline; }

/* ---------- PHOTOS ---------- */
.gallery-grid{
  column-count: 3;
  column-gap: 18px;
}
.gallery-item{
  position: relative;
  display:block;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-item img{
  width:100%;
  display:block;
  transition: transform .3s ease, filter .3s ease;
}
.gallery-item:hover img{
  transform: scale(1.03);
  filter: saturate(1.1);
}

/* photographer credit overlay */
.photo-credit{
  position:absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(20,17,12,.55);
  color: var(--cream);
  font-size: .7rem;
  letter-spacing: .03em;
  padding: 4px 9px;
  border-radius: 6px;
  pointer-events:none;
}
.photo-credit-hero{
  z-index: 2;
  bottom: 22px;
  right: 22px;
}
@media (max-width: 860px){
  .gallery-grid{ column-count: 2; }
}
@media (max-width: 540px){
  .gallery-grid{ column-count: 1; }
}

/* ---------- PHOTO SLIDESHOW ---------- */
.photo-slideshow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
}
.slideshow-track{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  min-width: 0;
}
.slideshow-current{
  position:relative;
  flex: 0 0 auto;
  width: min(560px, 56vw);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow:hidden;
  background: var(--ink);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.slideshow-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 1;
}
/* outgoing photo shrinks away with a little wobble, incoming photo
   pops back up — same wonky spirit as the hero logo warp, dialled
   down a lot so it stays subtle */
.slideshow-img.is-out{
  animation: slideshow-shrink-out .2s ease-in both;
}
.slideshow-img.is-in{
  animation: slideshow-pop-in .5s cubic-bezier(.32,1.5,.5,1) both;
}
@keyframes slideshow-shrink-out{
  from{ transform: scale(1) rotate(0deg); opacity: 1; }
  to{ transform: scale(.8) rotate(3deg); opacity: 0; }
}
@keyframes slideshow-pop-in{
  0%{ transform: scale(.8) rotate(-3deg); opacity: 0; }
  60%{ transform: scale(1.04) rotate(1.5deg); opacity: 1; }
  100%{ transform: scale(1) rotate(0deg); }
}
.slideshow-peek{
  flex: 0 0 auto;
  width: min(110px, 12vw);
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow:hidden;
  padding: 0;
  border: none;
  cursor:pointer;
  opacity: .45;
  transition: opacity .2s ease, transform .2s ease;
}
.slideshow-peek:hover{ opacity: .8; transform: scale(1.04); }
.slideshow-peek img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.slideshow-nav{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: none;
  background: var(--olive-dark);
  color: var(--cream);
  font-size: 1.2rem;
  cursor:pointer;
  transition: background .2s ease;
}
.slideshow-nav:hover{ background: var(--orange-dark); }
.slideshow-counter{
  text-align:center;
  font-size: .8rem;
  opacity: .6;
  margin-top: 14px;
}
@media (max-width: 720px){
  .slideshow-peek{ display:none; }
  .slideshow-current{ width: min(560px, 78vw); }
}
@media (max-width: 640px){
  .photo-slideshow{ gap: 8px; }
  .slideshow-nav{ width: 36px; height: 36px; font-size: 1rem; }
}

/* ---------- INSTAGRAM CTA (lightweight strip) ---------- */
.insta-cta-wrap{
  max-width: var(--container);
  margin: -12px auto 0;
  padding: 0 28px 64px;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.insta-cta{
  text-align:center;
}
.insta-cta p{
  margin: 0 0 16px;
  font-weight: 600;
  opacity: .8;
}

/* ---------- CONTACT ---------- */
.contact-inner{ text-align:center; }
.contact-inner .section-head{ justify-content:center; }
.contact-inner .section-lede{ margin-left:auto; margin-right:auto; }

.contact-list{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 22px;
  margin-bottom: 44px;
}
.contact-row{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 2px;
  text-decoration:none;
  color: inherit;
}
.contact-label{
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .55;
}
.contact-row .contact-email{
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--orange);
  word-break: break-word;
  transition: color .18s ease;
}
.contact-row:hover .contact-email{ color: var(--cream); }

.social-grid{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 14px;
}
.social-pill{
  border: 1.5px solid rgba(246,240,228,.35);
  color: var(--cream);
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 600;
  text-transform: lowercase;
  font-size: .9rem;
  transition: background .18s ease, border-color .18s ease;
}
.social-pill:hover{ background: var(--orange); border-color: var(--orange); color: var(--ink); }
.social-pill.is-placeholder{
  opacity: .4;
  border-style: dashed;
  pointer-events: none;
}

/* ---------- FOOTER ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(246,240,228,.55);
  text-align:center;
  padding: 40px 20px 50px;
  font-size: .82rem;
}
.mailinglist-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mailinglist-btn .envelope-icon{ flex-shrink: 0; }
.footer-epk{
  display: block;
  margin: 0 0 20px;
  color: rgba(246,240,228,.45);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .18s ease;
}
.footer-epk:hover{ color: rgba(246,240,228,.8); }
.footer-logo{
  height: 64px;
  width:auto;
  margin: 0 auto 18px;
  opacity: .85;
}
.footer-logo-secondary{
  height: auto;
  margin: 0 auto 22px;
}

/* ---------- NEWS PAGE ---------- */
.news-page-hero{
  padding: 150px 28px 30px;
  text-align: center;
}
.news-page-hero h1{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  text-transform: lowercase;
  margin: 0 0 12px;
  color: var(--ink);
}
.news-page-hero p{
  max-width: 56ch;
  margin: 0 auto;
  opacity: .75;
}
.news-feed-wrap{
  padding: 0 28px 100px;
}
.news-feed{
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.news-date{
  margin: 40px 0 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--orange-dark);
}
.news-entry:first-child .news-date{ margin-top: 0; }
.news-entry{
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px 28px;
  margin-top: 14px;
}
.news-title{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: lowercase;
  color: var(--ink);
}
.news-body{
  margin: 0 0 18px;
  line-height: 1.6;
  opacity: .9;
}
.news-media{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  align-items: start;
}
.news-media-item img,
.news-media-item video{
  width: 100%;
  display: block;
  border-radius: 10px;
  background: var(--ink);
}
.news-media-item figcaption{
  font-size: .75rem;
  opacity: .6;
  margin-top: 5px;
}
.news-video-slot{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
}
.news-video-slot iframe{
  width: 100%;
  height: 100%;
  border: 0;
}
.news-media-label{
  font-size: .75rem;
  opacity: .6;
  margin: 5px 0 0;
}
.news-instagram{
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}
.news-instagram blockquote{ margin: 0 auto; max-width: 100%; }
.news-links{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.news-link{
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}
.news-link:hover{ color: var(--ink); }
@media (max-width: 640px){
  .news-page-hero{ padding: 130px 24px 24px; }
  .news-entry{ padding: 20px 18px 22px; }
}

/* ---------- LAVA LAMP BACKGROUND (extras page only) ----------
   A dark page background with a handful of big, blurred, softly
   drifting color blobs behind the content — same idea as an old
   lava lamp. Pure CSS: a few absolutely-positioned blurred circles
   animating position/scale on independent loops. .plonki-plus-page
   scopes all of this to extras.html so index/news are untouched. */
body.plonki-plus-page{
  background: var(--ink);
}
body.plonki-plus-page main{
  position: relative;
  z-index: 1;
}
/* the hero title/tagline and playlist heading sit directly on the
   dark page background (not inside a light card), so they need an
   explicit light color instead of the site's usual dark ink text */
body.plonki-plus-page .extras-page-hero p,
body.plonki-plus-page .extras-progress,
body.plonki-plus-page .playlist-sub{
  color: var(--cream);
}
/* the two big headings get the site's orange */
body.plonki-plus-page .extras-page-hero h1,
body.plonki-plus-page .playlist-title{
  color: var(--orange);
}

#extras-lava{
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* each blob is a soft-edged gradient "glob" whose border-radius keeps
   warping between lopsided values while it also drifts and breathes
   in size — that combination (not just moving in a straight line) is
   what reads as liquid rather than a circle sliding around. Every
   keyframe list starts and ends on the same shape/position so the
   infinite loop has no jarring snap-back. */
.lava-blob{
  position: absolute;
  filter: blur(22px);
  opacity: .6;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 35% 30%, #ffc48a, var(--orange) 65%);
}
.lava-blob-1{
  width: 220px; height: 220px;
  left: -40px; top: 4%;
  animation: lava-morph-1 24s ease-in-out infinite;
}
.lava-blob-2{
  width: 170px; height: 170px;
  right: -30px; top: 30%;
  animation: lava-morph-2 29s ease-in-out infinite;
}
.lava-blob-3{
  width: 200px; height: 200px;
  left: 10%; bottom: -60px;
  animation: lava-morph-3 33s ease-in-out infinite;
}
.lava-blob-4{
  width: 140px; height: 140px;
  right: 8%; top: -30px;
  animation: lava-morph-4 21s ease-in-out infinite;
}
.lava-blob-5{
  width: 160px; height: 160px;
  left: 38%; top: 58%;
  animation: lava-morph-5 27s ease-in-out infinite;
}
@keyframes lava-morph-1{
  0%,100%{ border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; transform: translate(0,0) scale(1); }
  25%{ border-radius: 58% 42% 38% 62% / 55% 65% 35% 45%; transform: translate(60px,90px) scale(1.1); }
  50%{ border-radius: 65% 35% 45% 55% / 40% 55% 45% 60%; transform: translate(110px,20px) scale(.92); }
  75%{ border-radius: 38% 62% 55% 45% / 60% 45% 55% 40%; transform: translate(40px,-70px) scale(1.05); }
}
@keyframes lava-morph-2{
  0%,100%{ border-radius: 55% 45% 40% 60% / 38% 62% 42% 58%; transform: translate(0,0) scale(1); }
  25%{ border-radius: 40% 60% 62% 38% / 58% 40% 60% 42%; transform: translate(-70px,-60px) scale(.9); }
  50%{ border-radius: 62% 38% 45% 55% / 45% 55% 42% 58%; transform: translate(-30px,80px) scale(1.08); }
  75%{ border-radius: 45% 55% 58% 42% / 60% 42% 55% 45%; transform: translate(-90px,10px) scale(.96); }
}
@keyframes lava-morph-3{
  0%,100%{ border-radius: 60% 40% 45% 55% / 42% 58% 40% 60%; transform: translate(0,0) scale(1); }
  25%{ border-radius: 42% 58% 60% 40% / 60% 38% 62% 40%; transform: translate(50px,-90px) scale(1.12); }
  50%{ border-radius: 58% 42% 38% 62% / 45% 62% 40% 55%; transform: translate(90px,-30px) scale(.94); }
  75%{ border-radius: 45% 55% 55% 45% / 58% 45% 55% 42%; transform: translate(20px,-140px) scale(1.04); }
}
@keyframes lava-morph-4{
  0%,100%{ border-radius: 48% 52% 58% 42% / 55% 45% 55% 45%; transform: translate(0,0) scale(1); }
  25%{ border-radius: 58% 42% 42% 58% / 42% 58% 45% 55%; transform: translate(-40px,60px) scale(.9); }
  50%{ border-radius: 42% 58% 55% 45% / 58% 42% 60% 40%; transform: translate(-80px,120px) scale(1.1); }
  75%{ border-radius: 55% 45% 45% 55% / 45% 55% 42% 58%; transform: translate(-25px,40px) scale(.97); }
}
@keyframes lava-morph-5{
  0%,100%{ border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%; transform: translate(0,0) scale(1); }
  25%{ border-radius: 62% 38% 40% 60% / 55% 60% 40% 45%; transform: translate(70px,50px) scale(1.08); }
  50%{ border-radius: 40% 60% 58% 42% / 42% 55% 45% 58%; transform: translate(30px,-80px) scale(.9); }
  75%{ border-radius: 58% 42% 45% 55% / 60% 45% 55% 40%; transform: translate(-50px,-30px) scale(1.06); }
}
@media (prefers-reduced-motion: reduce){
  .lava-blob{ animation: none; }
}

/* ---------- EXTRAS PAGE (plonki plus — six games, six unlocks) ---------- */
.extras-page-hero{
  padding: 150px 28px 10px;
  text-align: center;
}
.extras-page-hero h1{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  text-transform: lowercase;
  margin: 0 0 12px;
  color: var(--ink);
}
.extras-page-hero p{
  max-width: 56ch;
  margin: 0 auto;
  opacity: .8;
  font-weight: 600;
}
.extras-progress{
  margin: 14px auto 0 !important;
  font-weight: 700 !important;
  opacity: .55 !important;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.extras-reset-link{
  display: block;
  margin: 10px auto 0 !important;
  font-size: .8rem !important;
  opacity: .6;
}
.extras-reset-link:hover{ opacity: 1; }

/* ---------- RESET CONFIRM MODAL ---------- */
/* compound selector so this reliably wins over .gallery-modal-inner's
   width/height (same specificity as a plain .reset-confirm-inner rule
   would have, but that lost the cascade since .gallery-modal-inner is
   declared later in the file — this makes the win independent of order) */
.gallery-modal-inner.reset-confirm-inner{
  width: min(380px, 100%);
  height: auto;
  padding: 40px 30px 32px;
  text-align: center;
}
.reset-confirm-body{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.reset-confirm-title{
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: lowercase;
  color: var(--ink);
}
.reset-confirm-sub{
  margin: 0;
  opacity: .75;
  font-size: .9rem;
}
.reset-confirm-actions{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}
.games-wrap{
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 28px 110px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.game-card{
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  padding: 26px 26px 30px;
}
.game-card-head{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.game-number{
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card-headtext{ flex: 1; }
.game-title{
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: lowercase;
  color: var(--ink);
}
.game-desc{
  margin: 0;
  font-size: .85rem;
  opacity: .7;
}
.game-unlock-badge{
  flex: none;
  align-self: flex-start;
  background: var(--orange);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.game-body{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.game-body-canvas canvas{
  max-width: 100%;
  border-radius: 8px;
  touch-action: none;
}

/* tap-based games (whack-a-plonk, memory, simon, snake's dpad) rely
   on quick, precise taps — without this, mobile browsers wait ~300ms
   after a tap to see if it's the start of a double-tap-to-zoom, which
   makes every game feel laggy and unresponsive on a phone */
.mole-hole,
.memory-card,
.simon-pad,
.dpad-btn{
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* -- shared win / game-over overlay, reused across every game
      except snake (which shows a high score instead — see below) -- */
.breaker-wrap{
  position: relative;
  width: 100%;
  max-width: 320px;
}
.breaker-wrap canvas{ display: block; width: 100%; }
.wordsearch-board-wrap{ position: relative; width: 100%; max-width: 400px; }
.mole-wrap{ position: relative; width: 100%; max-width: 300px; }
.memory-wrap{ position: relative; width: 100%; max-width: 340px; }
.simon-wrap{ position: relative; width: 100%; max-width: 260px; }

.game-overlay{
  position: absolute;
  inset: 0;
  background: rgba(20,17,12,.88);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
}
/* the class's own display:flex has the same specificity as the
   browser's default [hidden]{display:none}, so without this the
   overlay stays visible no matter what JS sets .hidden to — same
   fix as .gallery-modal[hidden] and .guitar-pick-btn[hidden] */
.game-overlay[hidden]{
  display: none;
}
.game-overlay-text{
  margin: 0;
  font-family: "Press Start 2P", var(--font-display);
  font-size: clamp(1rem, 5vw, 1.4rem);
  letter-spacing: .04em;
  color: #ff5a4d;
  text-shadow: 3px 3px 0 rgba(0,0,0,.6);
  text-transform: uppercase;
  text-align: center;
}
.game-overlay-win{ color: var(--orange); }
.game-score{
  margin: 0;
  font-weight: 700;
  color: var(--orange-dark);
}
.game-highscore{
  font-size: .82rem;
  opacity: .65;
}
.game-hint{
  margin: 0;
  font-size: .8rem;
  opacity: .6;
  text-align: center;
}

/* -- rock, paper, scissors (game 3) -- */
.rps-choices{
  display: flex;
  gap: 14px;
  justify-content: center;
}
.rps-btn{
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.rps-btn:hover{ transform: translateY(-3px); background: var(--orange); }
.rps-btn:active{ transform: scale(.92); }
.rps-result{
  min-height: 1.4em;
  margin: 4px 0 0;
  font-weight: 600;
  opacity: .85;
  text-align: center;
}

/* -- whack-a-plonk (game 4) -- */
.mole-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 300px;
}
.mole-hole{
  position: relative;
  aspect-ratio: 1 / 1;
  background: #3a2a1a;
  border: none;
  border-radius: 50%;
  box-shadow: inset 0 6px 10px rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  /* the hole itself no longer clips its contents — the "POW!" burst
     needs to pop out past the circle for a comic-book feel. the head
     photo still gets clipped to a circle by .mole-clip below instead */
  overflow: visible;
  cursor: pointer;
}
.mole-clip{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mole-hole .mole{
  width: 72%;
  height: 72%;
  border-radius: 50%;
  object-fit: cover;
  transform: translateY(60%) scale(.7);
  opacity: 0;
  transition: transform .12s ease, opacity .12s ease;
}
.mole-hole-active .mole{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* comic-book "POW!" burst that flashes over a hole on a successful hit */
.mole-pow{
  position: absolute;
  inset: -35%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: "Press Start 2P", var(--font-display);
  font-size: clamp(.6rem, 4.2vw, .95rem);
  letter-spacing: .02em;
  color: #e6483c;
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
  animation: mole-pow-pop .5s cubic-bezier(.2,1.6,.4,1) forwards;
}
.mole-pow::before{
  content: "";
  position: absolute;
  inset: 6%;
  z-index: -1;
  background: var(--orange);
  clip-path: polygon(
    50% 0%, 61% 18%, 82% 8%, 80% 30%, 100% 38%, 84% 52%,
    98% 68%, 76% 70%, 78% 92%, 58% 80%, 50% 100%, 42% 80%,
    22% 92%, 24% 70%, 2% 68%, 16% 52%, 0% 38%, 20% 30%,
    18% 8%, 39% 18%
  );
}
@keyframes mole-pow-pop{
  0%{ transform: scale(.2) rotate(-10deg); opacity: 0; }
  35%{ transform: scale(1.25) rotate(6deg); opacity: 1; }
  60%{ transform: scale(1) rotate(-3deg); opacity: 1; }
  100%{ transform: scale(1.05) rotate(0deg); opacity: 0; }
}

/* -- word search (game 1) -- */
.wordsearch-wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.wordsearch-grid{
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  gap: 1px;
  user-select: none;
  touch-action: none;
}
.ws-cell{
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(.6rem, 2.1vw, .85rem);
  color: var(--ink);
  cursor: pointer;
}
.ws-cell-selecting{ background: rgba(240,161,90,.45); }
.ws-cell-found{ background: var(--orange); color: var(--ink); }
.wordsearch-words{
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
}
.wordsearch-words li{
  font-weight: 700;
  font-size: .82rem;
  text-transform: lowercase;
  opacity: .6;
}
.wordsearch-words li.ws-word-found{
  opacity: 1;
  color: var(--orange-dark);
  text-decoration: line-through;
}

/* -- snake (game 2) -- */
.dpad{
  display: grid;
  grid-template-columns: repeat(3, 44px);
  grid-template-rows: repeat(2, 44px);
  gap: 4px;
  justify-content: center;
}
.dpad-btn{
  border: 1.5px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 8px;
}
.dpad-btn:active{ background: var(--orange); }
.dpad-up{ grid-column: 2; grid-row: 1; }
.dpad-left{ grid-column: 1; grid-row: 2; }
.dpad-right{ grid-column: 3; grid-row: 2; }
.dpad-down{ grid-column: 2; grid-row: 2; }

/* -- memory match (game 5) -- */
.memory-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 340px;
}
.memory-card{
  aspect-ratio: 1 / 1;
  background: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}
.memory-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.memory-card-flipped,
.memory-card-matched{
  background: var(--cream);
}
.memory-card-matched{ opacity: .55; cursor: default; }

/* -- simon says (game 6) -- */
.simon-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 260px;
}
.simon-pad{
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  opacity: .55;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .1s ease, transform .1s ease;
}
.simon-pad-0{ background: #d97f34; }
.simon-pad-1{ background: #364355; }
.simon-pad-2{ background: #7f95b3; }
.simon-pad-3{ background: #b3552f; }
.simon-pad-active{ opacity: 1; transform: scale(.96); }
.simon-note{
  color: var(--cream);
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  pointer-events: none;
}

/* ---------- PLAYLIST ---------- */
.playlist-wrap{
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 28px 10px;
  text-align: center;
}
.playlist-title{
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: lowercase;
  margin: 0 0 6px;
  color: var(--ink);
}
.playlist-sub{
  margin: 0 0 26px;
  opacity: .7;
  font-size: .9rem;
}
.playlist{
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.playlist-track{
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.playlist-track-number{
  flex: none;
  width: 26px;
  font-family: var(--font-display);
  color: var(--orange-dark);
}
.playlist-track-title{
  flex: 1;
  min-width: 140px;
  font-weight: 700;
  text-transform: lowercase;
}
.playlist-track.is-locked .playlist-track-title{ opacity: .5; }
.playlist-lock{
  font-size: .8rem;
  opacity: .55;
  white-space: nowrap;
}
/* native player, tinted orange instead of the default grey/white —
   accent-color covers Firefox, the webkit pseudo-elements cover
   Chrome/Safari/Edge (there's no fully standard way to recolor the
   native play-button glyph itself, so this is as close as CSS gets) */
.playlist-audio{
  height: 34px;
  max-width: 240px;
  accent-color: var(--orange);
}
.playlist-audio::-webkit-media-controls-panel{
  background-color: var(--orange);
}
.playlist-audio::-webkit-media-controls-play-button,
.playlist-audio::-webkit-media-controls-mute-button{
  background-color: var(--cream);
  border-radius: 50%;
}
@media (max-width: 640px){
  .extras-page-hero{ padding: 130px 24px 8px; }
  .games-wrap{ padding: 16px 18px 90px; }
  .game-card{ padding: 20px 18px 24px; }
  .playlist-wrap{ padding: 16px 18px 10px; }
  .playlist-audio{ max-width: 100%; width: 100%; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px){
  .bio-grid{ grid-template-columns: 1fr; }
  .bio-photo{ order: -1; max-width: 340px; margin: 0 auto; }
}

@media (max-width: 720px){
  .nav-links{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(280px, 75vw);
    background: var(--ink);
    flex-direction: column;
    /* there are 9 links now (including "plonki plus"); centering them
       with no overflow handling let the list grow taller than short
       phone screens, pushing the first/last items off-screen entirely
       — that's why the "plonki plus" pill could go missing on mobile.
       Starting from the top and allowing a scroll keeps every link
       reachable no matter how short the viewport is. */
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 88px 40px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ font-size: 1.1rem; }
  #nav-toggle{ display:flex; }
  .section{ padding: 68px 0; }
}

/* ---------- GALLERY MODAL ---------- */
.gallery-modal{
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20,17,12,.82);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}
.gallery-modal[hidden]{
  display: none;
}
.gallery-modal-inner{
  position: relative;
  width: min(900px, 100%);
  height: min(85vh, 720px);
  background: var(--cream);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  display:flex;
  flex-direction: column;
}
.gallery-modal-body{
  overflow-y: auto;
  padding: 60px 20px 20px;
}
.gallery-modal-grid{
  column-count: 3;
  column-gap: 10px;
}
.gallery-modal-grid a{
  display:block;
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow:hidden;
}
.gallery-modal-grid img{
  width:100%;
  display:block;
  transition: transform .25s ease;
}
.gallery-modal-grid a:hover img{ transform: scale(1.04); }
.gallery-modal-credit{
  text-align:center;
  font-size: .8rem;
  opacity: .6;
  margin: 10px 0 0;
}
@media (max-width: 640px){
  .gallery-modal-grid{ column-count: 2; }
}
.gallery-modal-close{
  position:absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.gallery-modal-close:hover{ background: var(--orange-dark); }

/* ---------- PRIZE MODAL (guitar pick easter egg reward) ---------- */
.prize-modal-inner{
  width: min(460px, 100%);
  height: auto;
  padding: 52px 32px 40px;
  text-align: center;
}
.prize-modal-body{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.prize-modal-title{
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ink);
}
.prize-arrows{
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.prize-arrow{
  position: absolute;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.prize-arrow-1{ top: -38px; left: -38px; animation: nudge-dr 1.1s ease-in-out infinite; }
.prize-arrow-2{ top: -38px; right: -38px; animation: nudge-dl 1.1s ease-in-out infinite .15s; }
.prize-arrow-3{ bottom: -38px; left: -38px; animation: nudge-ur 1.1s ease-in-out infinite .3s; }
.prize-arrow-4{ bottom: -38px; right: -38px; animation: nudge-ul 1.1s ease-in-out infinite .45s; }
.prize-arrow-5{ top: -38px; left: 50%; transform: translateX(-50%); animation: nudge-d 1s ease-in-out infinite .6s; }
.prize-arrow-6{ bottom: -38px; left: 50%; transform: translateX(-50%); animation: nudge-u 1s ease-in-out infinite .75s; }
.prize-arrow-7{ left: -38px; top: 50%; transform: translateY(-50%); animation: nudge-r 1s ease-in-out infinite .9s; }
.prize-arrow-8{ right: -38px; top: 50%; transform: translateY(-50%); animation: nudge-l 1s ease-in-out infinite 1.05s; }
@keyframes nudge-dr{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(7px,7px); } }
@keyframes nudge-dl{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-7px,7px); } }
@keyframes nudge-ur{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(7px,-7px); } }
@keyframes nudge-ul{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-7px,-7px); } }
@keyframes nudge-d{ 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(7px); } }
@keyframes nudge-u{ 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(-7px); } }
@keyframes nudge-r{ 0%,100%{ transform: translateY(-50%) translateX(0); } 50%{ transform: translateY(-50%) translateX(7px); } }
@keyframes nudge-l{ 0%,100%{ transform: translateY(-50%) translateX(0); } 50%{ transform: translateY(-50%) translateX(-7px); } }
@media (max-width: 640px){
  .prize-arrow{ font-size: 1.5rem; }
  .prize-arrow-1{ top: -24px; left: -12px; }
  .prize-arrow-2{ top: -24px; right: -12px; }
  .prize-arrow-3{ bottom: -24px; left: -12px; }
  .prize-arrow-4{ bottom: -24px; right: -12px; }
  .prize-arrow-5,
  .prize-arrow-6,
  .prize-arrow-7,
  .prize-arrow-8{ display: none; }
}

/* ---------- DOODLE (wobbly hand-drawn edges) ----------
   Defined last so it wins over each card's own border-radius. */
.doodle{
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.doodle:nth-child(even){
  border-radius: 15px 225px 15px 255px / 225px 15px 255px 15px;
}
