/* ==========================================================================
   Albert Islen — style.css
   Sections: Reset · Tokens · Base · Cursor · Wave · Nav · Mobile Overlay ·
             Hero · Content · Divider · Badge · Albums · Blog · Blog Modal ·
             Contact · Newsletter · Footer · Reveal · Game Modal ·
             Audio Player · Easter Egg · Toast · Particles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --color-bg:       #f4f3f0;
  --color-text:     #0e0d0b;
  --color-muted:    #2e2c28;
  --color-soft:     #4a4840;
  --color-border:   #cccac5;

  --color-green:    #2db36a;
  --color-green2:   #44d988;
  --color-water:    #4a6070;
  --color-water2:   #6a8898;
  --color-gold:     #c8a84b;

  /* Typography */
  --font-serif:     'Cormorant Garamond', serif;
  --font-sans:      'Jost', sans-serif;
  --font-display:   'Syne', sans-serif;
  --font-hero:      'Playfair Display', serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 768px) {
  body { cursor: auto; }
}

a,
button,
[role="button"] {
  cursor: none;
}

@media (max-width: 768px) {
  a,
  button,
  [role="button"] { cursor: pointer; }
}

/* --------------------------------------------------------------------------
   Dark Mode
   -------------------------------------------------------------------------- */
body.dark { background: #0a0908; }
body.dark #nav.scrolled { background: rgba(10, 9, 8, .93); }
body.dark #nav .brand,
body.dark #nav .links a { color: #6a6458; }
body.dark h1,
body.dark h2 { color: #e8e0d0; }
body.dark p { color: #6a6458; }
body.dark section + section { border-top-color: #1e1c18; }
body.dark .divider-label {
  color: #c8b890;
  background: rgba(200, 168, 75, .07);
  border-color: rgba(200, 168, 75, .18);
}
body.dark .divider-line {
  background: linear-gradient(to right, transparent, #8a6a2a, #c8a84b, transparent);
}
body.dark .album-name { color: #e8e0d0; }
body.dark .album-desc { color: #5a5040; }
body.dark .tracks li { color: #4a4030; border-bottom-color: #1e1c18; }
body.dark .tracks li span:first-child { color: #6a6050; }
body.dark .stream-link { border-color: #2a2018; }
body.dark .bandcamp-note { color: #7a7060; }
body.dark .blog-post { border-top-color: #3a3828; }
body.dark .blog-title { color: #d0c8b8; }
body.dark .blog-excerpt { color: #4a4030; }
body.dark .contact-row { border-bottom-color: #1e1c18; }
body.dark .contact-row:first-child { border-top-color: #1e1c18; }
body.dark .contact-row-label { color: #3a3828; }
body.dark .contact-row-value { color: #6a6050; }
body.dark .contact-row-links a { color: #6a6050; }
body.dark footer { background: #0a0908; border-top-color: #1e1c18; color: #2a2820; }
body.dark .btn { color: #6a6050; border-color: #2a2820; }
body.dark #blog-modal { background: #0a0908; }
body.dark #bm-title { color: #e8e0d0; }
body.dark #bm-body { color: #6a6050; }
body.dark #mob-overlay { background: #0a0908; }
body.dark #mob-overlay a { color: #e8e0d0; }

/* --------------------------------------------------------------------------
   Custom Cursor (desktop only)
   -------------------------------------------------------------------------- */
#cur,
#cur-ring { display: none; }

@media (min-width: 769px) {
  #cur {
    display: block;
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-water2);
    pointer-events: none;
    z-index: 9999;
    left: -200px;
    top: -200px;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, background .25s;
    mix-blend-mode: multiply;
  }

  #cur-ring {
    display: block;
    position: fixed;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(74, 96, 112, .35);
    pointer-events: none;
    z-index: 9998;
    left: -200px;
    top: -200px;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
  }

  /* Hover state — set via JS .ch on body */
  body.ch #cur {
    width: 5px;
    height: 5px;
    background: var(--color-green2);
  }
  body.ch #cur-ring {
    width: 46px;
    height: 46px;
    border-color: rgba(68, 217, 136, .4);
  }
}

/* --------------------------------------------------------------------------
   Wave Background Canvas
   -------------------------------------------------------------------------- */
#wave-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}

#wave-bg.dimmed { opacity: .35; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 3rem;
  transition: background .4s;
}

#nav.scrolled {
  background: rgba(244, 243, 240, .93);
  backdrop-filter: blur(10px);
}

/* Brand */
#nav .brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .75rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #3a3830;
  user-select: none;
  position: relative;
}

#nav .brand .bc {
  display: inline-block;
  transition: color .4s;
}

#nav .brand.shaking {
  animation: brandShake .55s cubic-bezier(.36, .07, .19, .97);
}

@keyframes brandShake {
  0%,  100% { transform: none; }
  15%        { transform: translateX(-2px) rotate(-.4deg); }
  30%        { transform: translateX(2px)  rotate(.4deg); }
  45%        { transform: translateX(-1.5px); }
  60%        { transform: translateX(1.5px); }
  75%        { transform: translateX(-1px); }
  90%        { transform: translateX(.5px); }
}

#nav .brand .bc.filled {
  background: linear-gradient(90deg, var(--color-water) 0%, var(--color-green) 60%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav links */
#nav .links {
  display: flex;
  gap: 2.5rem;
}

#nav .links a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #3a3830;
  text-decoration: none;
  transition: color .3s;
}

#nav .links a:hover { color: var(--color-water2); }

/* --------------------------------------------------------------------------
   Hamburger (mobile only)
   -------------------------------------------------------------------------- */
#burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  z-index: 400;
  position: relative;
  cursor: pointer;
}

#burger span {
  display: block;
  height: 1.5px;
  background: #3a3830;
  transition:
    transform .35s cubic-bezier(.16, 1, .3, 1),
    opacity .25s,
    width .35s;
}

#burger span:nth-child(1) { width: 22px; }
#burger span:nth-child(2) { width: 16px; }
#burger span:nth-child(3) { width: 22px; }

#burger.open span:nth-child(1) { transform: translateY(6.5px)  rotate(45deg);  width: 22px; }
#burger.open span:nth-child(2) { opacity: 0; width: 0; }
#burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }

@media (max-width: 768px) {
  #nav { padding: 1rem 1.4rem; }
  #nav .links { display: none; }
  #burger { display: flex; }
}

/* --------------------------------------------------------------------------
   Mobile Full-screen Overlay
   -------------------------------------------------------------------------- */
#mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: #f4f3f0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
}

#mob-overlay.open {
  opacity: 1;
  pointer-events: all;
}

#mob-overlay a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 11vw, 3.8rem);
  letter-spacing: -.02em;
  color: #0e0d0b;
  text-decoration: none;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .4s cubic-bezier(.16, 1, .3, 1),
    transform .4s cubic-bezier(.16, 1, .3, 1),
    color .25s;
  cursor: pointer;
}

#mob-overlay.open a:nth-child(2) { opacity: 1; transform: none; transition-delay: .05s; }
#mob-overlay.open a:nth-child(3) { opacity: 1; transform: none; transition-delay: .11s; }
#mob-overlay.open a:nth-child(4) { opacity: 1; transform: none; transition-delay: .17s; }
#mob-overlay.open a:nth-child(5) { opacity: 1; transform: none; transition-delay: .23s; }

#mob-overlay a:active { color: var(--color-water2); }

#mob-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #7a7870;
  cursor: pointer;
  padding: .5rem;
  z-index: 360;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 5vw 0 6vw;
  pointer-events: none;
}

#hero h1 {
  font-family: var(--font-hero);
  font-weight: 900;
  font-size: clamp(4.5rem, 14vw, 12rem);
  letter-spacing: -.02em;
  color: var(--color-text);
  line-height: .92;
  pointer-events: all;
}

#hero h1 .h1-line { display: block; }

#hero h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: color .5s, opacity .5s, transform .5s;
}

#hero h1 .char.in {
  opacity: 1;
  transform: none;
}

#hero h1:hover .char {
  color: var(--color-water2);
  opacity: .65;
}

#hero h1 .char:hover {
  color: var(--color-text) !important;
  opacity: 1 !important;
  transform: translateY(-5px);
}

#hero .tagline {
  margin-top: 2.4rem;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .72rem;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: #5a5448;
  opacity: 0;
  animation: rise 1.6s ease 1.4s forwards;
}

#hero .sub-tagline {
  margin-top: .8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #7a7060;
  opacity: 0;
  animation: rise 1.6s ease 1.9s forwards;
}

.scroll-cue {
  position: absolute;
  bottom: 2.8rem;
  left: 6vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8a8878;
  opacity: 0;
  animation: rise 1.6s ease 2.6s forwards;
  pointer-events: none;
}

.scroll-cue span {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, #8a8878, transparent);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Content wrapper + Sections
   -------------------------------------------------------------------------- */
.content { position: relative; z-index: 10; }

section {
  max-width: 820px;
  margin: 0 auto;
  padding: 7rem 3rem;
}

section + section { border-top: 1px solid var(--color-border); }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--color-text);
  margin-bottom: 1.8rem;
  line-height: 1.05;
  letter-spacing: -.02em;
}

p {
  line-height: 2.1;
  color: var(--color-muted);
  font-size: .9rem;
}

p + p { margin-top: 1rem; }

@media (max-width: 600px) {
  section { padding: 4rem 1.5rem; }
}

/* --------------------------------------------------------------------------
   Divider
   -------------------------------------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-green), var(--color-green2), transparent);
  opacity: .6;
}

.divider-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .6rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: #1a3020;
  background: rgba(45, 179, 106, .11);
  border: 1px solid rgba(45, 179, 106, .28);
  padding: .3rem .9rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Upcoming Badge
   -------------------------------------------------------------------------- */
.upcoming-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #072010;
  background: var(--color-green2);
  padding: .3rem .9rem;
  margin-bottom: 1rem;
  animation: badgePulse 2.8s ease-in-out infinite;
}

.upcoming-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #072010;
  animation: badgeDot 2.8s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,  100% { box-shadow: 0 0 0 0 rgba(68, 217, 136, .4); }
  60%        { box-shadow: 0 0 0 8px rgba(68, 217, 136, 0); }
}

@keyframes badgeDot {
  0%,  100% { opacity: 1; }
  50%        { opacity: .25; }
}

/* --------------------------------------------------------------------------
   Album grid
   -------------------------------------------------------------------------- */
.albums {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 2rem;
}

.album {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 560px) {
  .album { grid-template-columns: 1fr; }
}

/* Cover art */
.cover-wrap {
  width: 170px;
  height: 170px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #e0ddd8;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .13);
  transition: box-shadow .4s, transform .4s;
}

.cover-wrap:hover {
  box-shadow: 0 16px 60px rgba(0, 0, 0, .2);
  transform: scale(1.03) rotate(-1deg);
}

.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Album meta */
.album-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--color-text);
  margin-bottom: .25rem;
}

.album-meta {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .22em;
  color: #3a3830;
  margin-bottom: 1.1rem;
}

.album-desc {
  font-size: .87rem;
  line-height: 2;
  margin-bottom: 1.4rem;
  color: var(--color-muted);
}

.bandcamp-note {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .82rem;
  color: #2e2c28;
  line-height: 1.9;
  margin-bottom: 1.1rem;
  border-left: 2px solid rgba(0, 0, 0, .15);
  padding-left: .9rem;
}

/* Streaming links */
.stream-links {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1.4rem;
}

.stream-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .8rem;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-soft);
  transition: border-color .25s, transform .25s, background .25s;
  position: relative;
}

.stream-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background .25s;
}

.stream-link:hover { transform: translateX(3px); }

.stream-link-name {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.stream-link-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .76rem;
  color: #7a7870;
}

/* Platform accent colours */
.stream-link.bc::before                  { background: #1da0c3; }
.stream-link.bc:hover                    { border-color: #1da0c3; background: rgba(29, 160, 195, .03); }
.stream-link.ap::before                  { background: #e8404a; }
.stream-link.ap:hover                    { border-color: #e8404a; background: rgba(232, 64, 74, .03); }
.stream-link.yt::before                  { background: #b52b27; }
.stream-link.yt:hover                    { border-color: #b52b27; background: rgba(181, 43, 39, .03); }
.stream-link.sp::before                  { background: #1db954; }
.stream-link.sp:hover                    { border-color: #1db954; background: rgba(29, 185, 84, .03); }

/* Track list */
.tracks {
  list-style: none;
  margin-bottom: 1.4rem;
}

.tracks li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .77rem;
  padding: .48rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-soft);
  transition: color .25s;
}

.tracks li span:first-child {
  color: var(--color-muted);
  transition: color .25s;
}

.tracks li:hover,
.tracks li:hover span:first-child { color: var(--color-water2); }

.tracks li.unknown span:first-child { color: #9a9890; font-style: italic; }

/* Generic button */
.btn {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .63rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .55rem 1.5rem;
  border: 1px solid #5a5850;
  color: #2e2c28;
  text-decoration: none;
  display: inline-block;
  transition: color .25s, border-color .25s, background .25s;
  background: transparent;
}

.btn:hover {
  color: #fff;
  border-color: var(--color-water);
  background: var(--color-water);
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-post {
  border-top: 2px solid var(--color-text);
  padding-top: 1.4rem;
  transition: border-color .3s;
  cursor: pointer;
}

.blog-post:hover { border-color: var(--color-water2); }

.blog-date {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #7a7870;
  margin-bottom: .7rem;
}

.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: .8rem;
  line-height: 1.3;
  transition: color .3s;
}

.blog-post:hover .blog-title { color: var(--color-water2); }

.blog-excerpt {
  font-size: .83rem;
  line-height: 1.85;
  color: var(--color-soft);
  font-family: var(--font-serif);
  font-style: italic;
}

.blog-read-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-water);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}

.blog-post:hover .blog-read-more {
  border-color: var(--color-water2);
  color: var(--color-water2);
}

/* --------------------------------------------------------------------------
   Blog Modal
   -------------------------------------------------------------------------- */
#blog-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s;
}

#blog-modal.open {
  opacity: 1;
  pointer-events: all;
}

#bm-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#bm-close {
  position: fixed;
  top: 2rem;
  right: 2.5rem;
  z-index: 520;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #7a7870;
  border: none;
  background: none;
  transition: color .3s;
  cursor: pointer;
}

#bm-close:hover { color: var(--color-text); }

#bm-inner {
  position: relative;
  z-index: 510;
  flex: 1;
  overflow-y: auto;
  padding: 5rem 3rem 4rem;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

#bm-date {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #7a7870;
  margin-bottom: 1.2rem;
}

#bm-title {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: var(--color-text);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 2.5rem;
}

#bm-body {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.9;
  color: var(--color-muted);
}

#bm-body p + p { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-rows { margin-top: 2.5rem; }

.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
  gap: 2rem;
}

.contact-row:first-child { border-top: 1px solid var(--color-border); }

.contact-row-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: .58rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #7a7870;
  white-space: nowrap;
  min-width: 90px;
}

.contact-row-value {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .92rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color .3s;
  text-align: right;
}

a.contact-row-value:hover { color: var(--color-water2); }

.contact-row-links {
  display: flex;
  gap: 1.8rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.contact-row-links a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .82rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color .3s;
}

.contact-row-links a:hover { color: var(--color-water2); }
/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */
#newsletter {
  position: relative;
  overflow: hidden;
  background: #0e0d0b;
  padding: 7rem 3rem;
  z-index: 10;
  text-align: center;
}

#nl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nl-inner { position: relative; z-index: 1; }

#newsletter h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ab987a;
  letter-spacing: -.03em;
  margin-bottom: .6rem;
}

.nl-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #a59e97;
  margin-bottom: 2.8rem;
}

.nl-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid #ab987a;
  overflow: hidden;
}

.nl-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .82rem;
  color: #ab987a;
  letter-spacing: .08em;
  min-width: 0;
}

.nl-form input::placeholder { color: #ab987a; }

.nl-form button {
  background: transparent;
  border: none;
  border-left: 1px solid #ab987a;
  padding: 1rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #ab987a;
  transition: color .3s;
  white-space: nowrap;
  cursor: pointer;
}

.nl-form button:hover { color: #c8b896; }

.nl-note {
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ab987b;
}

#nl-success {
  display: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: #7eab7a;
  margin-top: 1.2rem;
}

@media (max-width: 600px) {
  #newsletter { padding: 5rem 1.5rem; }
}
/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7a7870;
  background: var(--color-bg);
}

#fegg {
  opacity: .25;
  font-size: .55rem;
  transition: opacity .4s;
  cursor: pointer;
}

#fegg:hover { opacity: .55; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Game Modal (hidden world)
   -------------------------------------------------------------------------- */
#game-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #ede8df;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
}

#game-modal.open {
  opacity: 1;
  pointer-events: all;
}

#game-modal * { cursor: default; }
#game-modal button { cursor: pointer; }

#game-modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2.5rem;
}

#game-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #3a3830;
  opacity: .7;
}

#game-modal-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .85rem;
  color: #7a7060;
  opacity: .8;
}

#game-modal-close {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #7a7870;
  border: 1px solid transparent;
  background: none;
  padding: .5rem 1rem;
  transition: border-color .3s, color .3s;
  cursor: pointer !important;
}

#game-modal-close:hover { color: var(--color-text); border-color: var(--color-border); }

#iso-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#iso {
  display: block;
  width: 100%;
  height: 100%;
}

#game-hint {
  position: absolute;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #7a7870;
  opacity: .5;
  pointer-events: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Audio Player (inside game modal)
   -------------------------------------------------------------------------- */
#audio-player {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3020;
  background: rgba(237, 232, 223, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(14, 12, 8, .09);
  padding: .85rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

#ap-track {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

#ap-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #2e2c28;
}

#ap-time {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .58rem;
  letter-spacing: .15em;
  color: #7a7870;
  white-space: nowrap;
}

#ap-timeline {
  position: relative;
  height: 2px;
  background: rgba(14, 12, 8, .12);
  border-radius: 1px;
}

#ap-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--color-water), var(--color-green));
  border-radius: 1px;
  width: 0%;
  pointer-events: none;
}

#ap-seek {
  position: absolute;
  inset: 0;
  margin: -8px 0;
  height: 18px;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}

#ap-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.ap-btn {
  background: none;
  border: none;
  color: #3a3830;
  transition: color .25s, transform .2s;
  padding: .15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ap-btn:hover { color: var(--color-text); transform: scale(1.12); }

#ap-play {
  width: 32px;
  height: 32px;
  border: 1.5px solid #3a3830;
  border-radius: 50%;
  transition: border-color .25s;
  cursor: pointer;
}

#ap-play:hover { border-color: var(--color-text); }

/* --------------------------------------------------------------------------
   Easter Egg overlay
   -------------------------------------------------------------------------- */
#egg {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 4, 2, .97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}

#egg.show { opacity: 1; pointer-events: all; }

#egg h3 {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 4rem);
  color: var(--color-gold);
  letter-spacing: -.02em;
  animation: glow 2.5s ease infinite;
}

#egg p {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #555040;
}

#egg button {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #444030;
  border: 1px solid #2a2018;
  background: none;
  padding: .6rem 1.8rem;
  transition: color .35s, border-color .35s;
  cursor: pointer;
}

#egg button:hover { color: var(--color-gold); border-color: var(--color-gold); }

@keyframes glow {
  0%,  100% { text-shadow: 0 0 20px rgba(200, 168, 75, .25); }
  50%        { text-shadow: 0 0 70px rgba(200, 168, 75, .8); }
}

/* --------------------------------------------------------------------------
   Toast notification
   -------------------------------------------------------------------------- */
#toast {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 4000;
  background: var(--color-text);
  color: #e8e0d0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .7rem 1.6rem;
  opacity: 0;
  transition: opacity .35s, transform .35s;
  pointer-events: none;
  border: 1px solid #2a2820;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   Konami / emoji particles
   -------------------------------------------------------------------------- */
.pt {
  position: fixed;
  pointer-events: none;
  z-index: 4999;
  font-size: 1.1rem;
  animation: ptfly 1.4s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes ptfly {
  0%   { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); }
}

/* --------------------------------------------------------------------------
   Consent banner
   -------------------------------------------------------------------------- */
#consent {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 5000;
  max-width: 340px;
  background: var(--color-text);
  color: #e8e0d0;
  border: 1px solid #2a2820;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .72rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
}

#consent.show {
  opacity: 1;
  transform: none;
  pointer-events: all;
}

#consent-btns {
  display: flex;
  gap: .8rem;
  margin-top: .9rem;
}

#consent-btns button {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid #2a2820;
  background: none;
  color: #7a7870;
  padding: .45rem 1rem;
  transition: color .25s, border-color .25s;
  cursor: pointer;
}

#consent-accept {
  color: #e8e0d0 !important;
  border-color: #ab987a !important;
}

#consent-btns button:hover { color: var(--color-gold) !important; border-color: var(--color-gold) !important; }