:root {
  --black: #000;
  --ink: #efe9df;
  --muted: #a39d92;
  --gold: #d4a54a;
  --line: #1d1b18;
  --gutter: 20px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font: 18px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--gutter);
  background: linear-gradient(#000 40%, transparent);
}
.brand { text-decoration: none; font-weight: 800; letter-spacing: .22em; font-size: 12px; text-transform: uppercase; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  text-decoration: none; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--muted);
  padding: 6px 2px; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #000; touch-action: pan-y; }
.stage { /* full landscape, edge to edge */
  --mx: 52%; --my: 30%; --r: clamp(220px, 34vmin, 420px);
  position: absolute; inset: 0;
}
.slot { position: absolute; inset: 0; opacity: 0; }
.slot.is-active { opacity: 1; }
/* Glitch: the new photo tears in as shifted horizontal bands over the old one, with a quick colour flicker. */
.slot.glitch-in { z-index: 2; animation: glitch-in .42s steps(1, end) both; }
@keyframes glitch-in {
  0%   { clip-path: inset(0 0 82% 0);   transform: translateX(-3%);   filter: hue-rotate(60deg) brightness(1.6); }
  12%  { clip-path: inset(34% 0 44% 0); transform: translateX(2.5%);  filter: hue-rotate(-50deg) brightness(1.4); }
  24%  { clip-path: inset(62% 0 8% 0);  transform: translateX(-2%);   filter: none; }
  36%  { clip-path: inset(8% 0 66% 0);  transform: translateX(3.5%);  filter: hue-rotate(90deg) brightness(1.5); }
  48%  { clip-path: inset(0 0 0 0);     transform: translateX(-1.5%); filter: hue-rotate(-30deg) brightness(1.3); }
  60%  { clip-path: inset(46% 0 30% 0); transform: translateX(1.5%);  filter: none; }
  75%  { clip-path: inset(0 0 0 0);     transform: translateX(-0.6%); filter: none; }
  100% { clip-path: inset(0 0 0 0);     transform: none;              filter: none; }
}
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; user-select: none; -webkit-user-drag: none; }
/* The photo itself is untouched. This second copy is only a faint glow around the pointer. */
.slot .light {
  opacity: .35; filter: brightness(1.35);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}
.hero::after { /* soft fade into black behind the text */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(transparent, rgba(0,0,0,.9) 90%); pointer-events: none;
}
.hero-copy {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; text-align: center;
  padding: 0 var(--gutter) max(28px, env(safe-area-inset-bottom));
}
.hero h1 { margin: 0; font-size: clamp(30px, 8vw, 68px); line-height: 1.02; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.tagline { margin: 12px auto 0; max-width: 38em; color: var(--ink); font-size: clamp(15px, 3.6vw, 20px); letter-spacing: .06em; }
.tagline b { color: var(--gold); font-weight: 600; }
.release-line { margin: 14px 0 0; color: #c9c3b8; font-size: clamp(15px, 3.4vw, 17px); }
.cta-row { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  /* Wide screens: keep the copy centred but compact, tucked low so the gold cross stays clear. */
  .hero-copy { padding-bottom: 30px; }
  .hero h1 { font-size: clamp(30px, 3.4vw, 50px); }
  .tagline { max-width: none; font-size: clamp(15px, 1.4vw, 19px); margin-top: 8px; }
  .release-line { margin-top: 8px; }
  .cta-row { margin-top: 14px; }
  .hero::after { height: 34%; }
}
.intro { text-align: center; padding: 96px var(--gutter); border-top: 0; }
.intro p { margin: 0 auto; max-width: 26em; font-size: clamp(22px, 3.6vw, 34px); line-height: 1.4; letter-spacing: .02em; }
.intro p b { color: var(--gold); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  padding: 13px 26px; font: 700 12px/1 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--gold); background: var(--gold); color: #000; border-radius: 2px;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--ink); border-color: #4a463f; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.is-disabled, .btn[aria-disabled="true"] { background: transparent; color: var(--muted); border-color: #2c2a26; cursor: default; pointer-events: none; }
.btn small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .1em; font-weight: 500; text-transform: none; opacity: .85; }

/* ---------- sections ---------- */
section { padding: 72px var(--gutter); border-top: 1px solid var(--line); }
.wrap { max-width: var(--max); margin: 0 auto; }
h2 { margin: 0 0 8px; font-size: clamp(22px, 5vw, 34px); letter-spacing: .14em; text-transform: uppercase; }
h2 + .lead { margin-top: 0; }
.lead { color: #c9c3b8; max-width: 38em; font-size: 20px; line-height: 1.6; }
.song-text p { max-width: 40em; color: #d6d0c5; font-size: 19px; margin: 0 0 18px; }
@media (max-width: 600px) { .lead { font-size: 18px; } .song-text p { font-size: 18px; } }
.eyebrow { color: var(--gold); letter-spacing: .24em; font-size: 11px; text-transform: uppercase; margin: 0 0 10px; }

/* album */
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 28px; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracks li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tracks .num { width: 28px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tracks .title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tracks .tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.play {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #4a463f; background: transparent; color: var(--ink); cursor: pointer; font-size: 14px;
}
.play:hover, .play[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.play:disabled { opacity: .35; cursor: default; }
.embed { margin-top: 28px; border: 1px solid var(--line); }
.embed iframe { display: block; width: 100%; border: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: #0b0b0b; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.soon-box { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); background: #0b0b0b; border: 1px solid var(--line); }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.card { border: 1px solid var(--line); padding: 22px; }
.card h3 { margin: 0 0 8px; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; color: var(--gold); }
.card p { margin: 0 0 16px; color: var(--muted); }

footer { padding: 40px var(--gutter) 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-direction: column; gap: 16px; }
.social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social a { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.social a:hover { color: var(--gold); }

/* inner pages */
.page-top { padding-top: 120px; border-top: 0; }
.page-top h1 { margin: 0 0 12px; font-size: clamp(28px, 7vw, 52px); letter-spacing: .12em; text-transform: uppercase; }
.bio-block { margin: 28px 0; }
.bio-block h3 { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; margin: 0 0 8px; }
.photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 20px; }
.photos img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); }
.notice { border: 1px solid var(--line); padding: 16px 18px; color: var(--muted); margin-top: 24px; }

/* ---------- phones: menu button, calmer header and hero ---------- */
.short { display: none; }
.menu-btn { display: none; }
@media (max-width: 720px) {
  .short { display: inline; }
  .long { display: none; }

  .site-header { padding: 10px var(--gutter); background: linear-gradient(#000 55%, transparent); }
  .site-header.menu-open { background: #000; border-bottom: 1px solid var(--line); }
  .brand { white-space: nowrap; font-size: 13px; }

  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0; background: transparent; border: 0; cursor: pointer; color: var(--ink);
  }
  .menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .site-header.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 19;
    flex-direction: column; gap: 0; padding: 6px var(--gutter) 18px;
    background: #000; border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav { display: flex; }
  .nav a { font-size: 14px; letter-spacing: .2em; padding: 16px 2px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }

  /* Photo 8 (face looking up, gold cross): his face sits a little right of the photo's middle, so nudge the crop to centre him on phones. */
  .slot img[src$="hero/8.webp"] { object-position: 53.5% 28%; }

  /* Hero: the name is already in the header, so keep only a short line, one release line and the buttons. */
  .hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tagline { margin-top: 0; font-size: 16px; }
  .release-line { margin-top: 8px; font-size: 15px; }
  .cta-row { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slot.glitch-in { animation: none; }
}
