/* ============================================================================
   zoevesper.com — Zoe Vesper
   ----------------------------------------------------------------------------
   Palette and display face are deliberately CONTINUOUS with the Midnight &
   Mercy album page on yeubanksmusic.com: gas-lamp gold + crimson on a
   blue-black midnight ground, Cormorant Garamond for display, Poppins for UI.
   If one changes, change both — they are the same artist's world.

   NOTE: Cormorant Garamond's lightest weight is 300. There is no 200; asking
   for it silently renders 300. Don't "optimise" the font-weights down.
   ========================================================================= */

:root {
  --ink:        #07070D;   /* page ground */
  --ink-2:      #0B0A12;   /* alternate band */
  --surface:    #110F16;   /* cards */
  --line:       #241F2C;

  --gold:       #E6B45C;
  --gold-br:    #F3D08C;
  --wine:       #9B2F3C;
  --wine-br:    #C4404F;
  --rose:       #C8102E;

  --text:       #EDE7DC;
  --muted:      #9A9185;
  --dim:        #6E6760;

  --wrap:       1140px;
  --radius:     14px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-br); }

::selection { background: var(--wine); color: #fff; }

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #000; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- display type ---------- */
.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: .012em;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  color: #fff;
}
.display .amp { color: var(--gold); font-style: italic; font-weight: 400; }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 1.02rem; margin-top: .7rem; }
.lead.center { margin-inline: auto; max-width: 58ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .78rem 1.6rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold  { background: var(--gold); color: #140F06; }
.btn-gold:hover  { background: var(--gold-br); color: #140F06; }
.btn-ghost { border: 1px solid rgba(230,180,92,.45); color: var(--gold); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(230,180,92,.1); color: var(--gold-br); }

/* ============================ nav ======================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(7,7,13,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.nav-mark img {
  height: 38px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.85));
  transition: opacity .25s var(--ease);
}
.nav-mark:hover img { opacity: .8; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  color: var(--text);
  font-size: .74rem; font-weight: 400;
  letter-spacing: .17em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  border: 1px solid rgba(230,180,92,.45); color: var(--gold);
  padding: .45rem 1.05rem; border-radius: 999px;
}
.nav-links .nav-cta:hover { background: rgba(230,180,92,.12); border-color: var(--gold); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span { width: 24px; height: 1.5px; background: var(--text); display: block; }

.nav-drawer {
  display: flex; flex-direction: column;
  background: rgba(7,7,13,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: .5rem 0 1.1rem;
}
.nav-drawer a {
  color: var(--text);
  padding: .78rem 1.25rem;
  font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
}
.nav-drawer a:hover { color: var(--gold); background: rgba(230,180,92,.06); }
/* .nav-drawer sets display:flex, which BEATS the UA's [hidden]{display:none}
   on specificity — without this line the drawer is permanently open. */
.nav-drawer[hidden] { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================ hero ====================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
}
.hero-art, .hero-art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-art img { object-fit: cover; object-position: 62% center; }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(7,7,13,.72) 34%, rgba(7,7,13,.18) 66%, rgba(7,7,13,.5) 100%),
    radial-gradient(120% 80% at 18% 70%, rgba(7,7,13,.78), transparent 62%);
}

.hero-body {
  position: relative;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}
.hero-sig img {
  width: min(430px, 76vw); height: auto;
  filter: drop-shadow(0 4px 22px rgba(0,0,0,.9));
}
.hero-tag {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 300; font-style: italic;
  line-height: 1.26;
  color: #fff;
  max-width: 22ch;
  margin-top: 1.3rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.9);
}
.hero-sub {
  color: #CFC6B8;
  font-size: .95rem;
  margin-top: 1rem;
  max-width: 46ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.9);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1px solid rgba(230,180,92,.5);
  border-radius: 999px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 7px; border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 0; transform: translate(-50%, 0); }
  35%      { opacity: 1; }
  70%      { opacity: 0; transform: translate(-50%, 13px); }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll span { animation: none; opacity: .8; } }
@media (max-width: 760px) {
  .hero-art img { object-position: center center; }
  .hero-scroll { display: none; }
}

/* ============================ sections ================================== */
.sec { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.sec-album  { background: var(--ink-2); border-top: 1px solid var(--line); }
.sec-video  { background: var(--ink); }
.sec-about  { background: var(--ink-2); border-block: 1px solid var(--line); }
.sec-gallery{ background: var(--ink); }
.sec-merch  { background: var(--ink-2); border-top: 1px solid var(--line); }

/* ---------- album ---------- */
.album-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.album-cover {
  background: none; border: 0; padding: 0; cursor: zoom-in;
  display: block; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,.72), 0 0 0 1px rgba(230,180,92,.16);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.album-cover:hover { transform: translateY(-5px); box-shadow: 0 34px 86px rgba(0,0,0,.8), 0 0 0 1px rgba(230,180,92,.34); }
.album-cover img { width: 100%; height: auto; }

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .67rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(230,180,92,.38);
  border-radius: 999px;
  padding: .35rem 1rem;
  margin-bottom: 1.1rem;
}
.badge.live { color: #fff; background: var(--wine); border-color: var(--wine-br); }
.badge:empty { display: none; }

.album-meta {
  color: var(--muted);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  margin: 1rem 0 1.5rem;
}
.album-text p { color: #CFC6B8; margin-bottom: 1.05rem; }

.listen { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: .76rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.chip-yt { border-color: rgba(255,0,0,.55); }
.chip-yt:hover { border-color: #FF3B30; color: #FF6B60; }
.chip.soon { opacity: .42; pointer-events: none; cursor: default; }
.chip.soon em { font-style: normal; color: var(--dim); font-size: .66rem; }

.fineprint { color: var(--dim); font-size: .78rem; margin-top: .9rem; }

.tracks {
  list-style: none;
  margin-top: clamp(2.5rem, 5vw, 3.6rem);
  columns: 2; column-gap: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.tracks li {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 2.1rem 1fr auto;
  align-items: baseline;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(36,31,44,.55);
}
.tk-n { color: var(--dim); font-size: .76rem; font-variant-numeric: tabular-nums; }
.tk-t { color: var(--text); font-size: .93rem; }
.tk-t em { color: var(--muted); font-style: normal; font-size: .85em; }
.tk-d { color: var(--dim); font-size: .78rem; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .album-grid { grid-template-columns: 1fr; }
  .album-art { max-width: 420px; margin-inline: auto; }
  .tracks { columns: 1; }
}

/* ---------- video ---------- */
.video-frame {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,.66), 0 0 0 1px rgba(230,180,92,.16);
  background: #000;
}
.video-facade {
  position: relative; display: block; width: 100%;
  border: 0; padding: 0; background: #000; cursor: pointer;
  aspect-ratio: 16 / 9;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.video-facade:hover img { opacity: 1; transform: scale(1.015); }
.video-play {
  position: absolute; inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(7,7,13,.62);
  border: 1px solid rgba(230,180,92,.65);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.video-play::after {
  content: ''; position: absolute; inset: 50% auto auto 54%;
  transform: translate(-50%, -50%);
  border-left: 20px solid var(--gold);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.video-facade:hover .video-play { background: rgba(155,47,60,.8); transform: translate(-50%,-50%) scale(1.07); }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-cap { color: var(--muted); font-size: .85rem; margin-top: 1rem; text-align: center; }
.video-cap em { font-style: normal; color: var(--dim); }

/* ---------- about ---------- */
.about-grid {
  display: grid; grid-template-columns: 400px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-img img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(230,180,92,.14);
}
.about-text p { color: #CFC6B8; margin-top: 1.1rem; }
.about-text .display { margin-bottom: .4rem; }

.disclosure {
  margin-top: 2.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
}
.disclosure h3 {
  font-family: 'Poppins', sans-serif;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.disclosure p { margin-top: .6rem; font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 400px; margin-inline: auto; }
}

/* ---------- gallery ---------- */
/* SIX equal squares. No span-2 / span-row tiles: a wider tile's intrinsic
   height drives its grid row taller than its square neighbours, which left a
   visible short column at every breakpoint. 6 squares divide cleanly by
   3, 2 and 1. */
.gal {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gal-item {
  position: relative; display: block;
  border: 0; padding: 0; background: var(--surface);
  border-radius: 10px; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 1 / 1;
}
/* Re-anchor the crop where the subject is not centred: the poster's
   lettering is at the very top; Zoe stands at the far right of the wide
   street shot and a centred square crop loses her completely. */
.gal-item.pos-top   img { object-position: top center; }
.gal-item.pos-right img { object-position: 82% center; }
/* <picture> is the direct child, so it needs the full box too — without
   this the img's height:100% resolves against an auto-height parent and
   object-fit never gets a box to cover. */
.gal-item picture { display: block; width: 100%; height: 100%; }
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), opacity .35s var(--ease);
  opacity: .9;
}
.gal-item:hover img { transform: scale(1.05); opacity: 1; }

@media (max-width: 820px) { .gal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gal { grid-template-columns: 1fr; } }

/* ---------- merch ---------- */
.merch-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.merch-text .lead { max-width: 46ch; }
.merch-text p { color: #CFC6B8; margin-top: 1.1rem; }
.merch-text .btn { margin-top: 1.6rem; }
/* display:flex (not inline-flex) + fit-content keeps the pill on its own
   line — inline-flex let the Follow button ride up alongside it. */
.merch-soon {
  display: flex; width: fit-content; align-items: center; gap: .6rem;
  color: var(--gold) !important;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.merch-soon .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wine-br);
  box-shadow: 0 0 0 0 rgba(196,64,79,.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(196,64,79,.6); }
  70%  { box-shadow: 0 0 0 11px rgba(196,64,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,64,79,0); }
}
@media (prefers-reduced-motion: reduce) { .merch-soon .dot { animation: none; } }
.merch-img img {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(230,180,92,.14);
}
@media (max-width: 900px) {
  .merch-grid { grid-template-columns: 1fr; }
  .merch-img { max-width: 360px; margin-inline: auto; order: -1; }
}

/* ============================ footer ==================================== */
.foot {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 3.4rem 0 3rem;
  text-align: center;
}
.foot-sig img {
  width: 210px; height: auto;
  margin: 0 auto 1.6rem;
  opacity: .72;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; }
.foot-links a {
  color: var(--muted);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.foot-links a:hover { color: var(--gold); }
.fine { color: var(--dim); font-size: .76rem; margin-top: 1.7rem; line-height: 2; }
.site-counter { color: var(--dim); }

/* ============================ lightbox ================================== */
.lb {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(3,3,6,.95);
  display: flex; align-items: center; justify-content: center;
  padding: 3.2rem 1.2rem;
  animation: fade .25s var(--ease);
}
.lb[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb img {
  max-width: min(1100px, 100%); max-height: 100%;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,.8);
}
.lb-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: 0; cursor: pointer;
  color: var(--text); font-size: 1.5rem; line-height: 1;
  padding: .6rem;
}
.lb-close:hover { color: var(--gold); }

/* ============================ inner pages =============================== */
/* Used by contact.html. The nav is `solid` from the start on these pages —
   there is no hero behind it to be transparent over. */
.page { padding: 8.5rem 0 clamp(4rem, 8vw, 6rem); min-height: 70svh; }
.page-wrap { max-width: 820px; }
.page .display { margin-bottom: .3rem; }
.page .lead { max-width: 52ch; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }

.card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.card p { color: var(--muted); font-size: .92rem; margin-top: .65rem; }
@media (max-width: 720px) { .card-row { grid-template-columns: 1fr; } }

.reach {
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  border-left: 3px solid var(--wine);
  background: var(--surface);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
}
.reach h2 {
  font-family: 'Poppins', sans-serif;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.reach-line {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-top: .7rem;
  /* The address can be long on a narrow phone and must never push the page
     sideways — it is one unbreakable token to every wrapping algorithm. */
  overflow-wrap: anywhere;
}
.reach-line a { color: var(--gold); border-bottom: 1px solid rgba(230,180,92,.3); }
.reach-line a:hover { border-bottom-color: var(--gold-br); }
.reach-note { color: var(--dim); font-size: .85rem; margin-top: 1rem; max-width: 56ch; }

.back { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.back a { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }

/* The footer's buried contact link: visible to anyone looking for it, loud
   to nobody. Deliberately styled DOWN — see the note in index.html. */
.fine-link { color: var(--dim); border-bottom: 1px solid rgba(110,103,96,.45); }
.fine-link:hover { color: var(--muted); border-bottom-color: var(--muted); }
