/* ============================================================
   Dear Anna — landing page
   Dark, literary, ghostly. Black ground, serif headings,
   warm AMBER accents, and the B&W key art lit from within.
   ============================================================ */

:root {
  --ink:        #050505;   /* the dark */
  --ink-soft:   #100d0a;
  --panel:      #16120d;
  --panel-edge: #2a2118;
  --mist:       #b6aa9a;   /* warm muted serif text */
  --bone:       #f1ece3;   /* near-white text */
  --whisper:    #8f877b;   /* muted text */
  --amber:      #ff9e3d;   /* primary accent */
  --amber-soft: #ffc27a;
  --glow:       rgba(255, 150, 50, 0.5);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

/* ---------- a11y: skip link + visible focus ---------- */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--amber);
  color: #1a1106;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--amber-soft);
  outline-offset: 3px;
  border-radius: 3px;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---------- background atmosphere ---------- */

#spirits {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.fog {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  filter: blur(60px);
  mix-blend-mode: screen;
}
.fog--one {
  width: 70vmax; height: 70vmax;
  background: radial-gradient(closest-side, rgba(255,150,50,0.5), transparent 70%);
  animation: drift1 34s ease-in-out infinite;
}
.fog--two {
  width: 60vmax; height: 60vmax;
  left: auto; right: -20%;
  background: radial-gradient(closest-side, rgba(255,110,40,0.4), transparent 70%);
  animation: drift2 46s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(-10%, -5%) scale(1); }
  50%      { transform: translate(15%, 20%)  scale(1.25); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(10%, 10%)  scale(1.1); }
  50%      { transform: translate(-15%, -10%) scale(0.85); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.75) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 6s steps(4) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 2%); }
}

/* keep content above atmosphere */
.nav, section, .footer { position: relative; z-index: 3; }

/* ---------- ghost text effect ---------- */
.ghost-text {
  position: relative;
  display: inline-block;
  color: var(--bone);
}
/* a pale echo that drifts off the letters, like an after-image */
.ghost-text::before,
.ghost-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--amber-soft);
  opacity: 0;
}
.ghost-text::before { animation: haunt-a 7s ease-in-out infinite; }
.ghost-text::after  { animation: haunt-b 9s ease-in-out infinite; color: #ffd2a1; }

@keyframes haunt-a {
  0%, 100% { opacity: 0; transform: translate(0,0); filter: blur(0); }
  45%      { opacity: 0.35; transform: translate(-4px, -3px); filter: blur(3px); }
}
@keyframes haunt-b {
  0%, 100% { opacity: 0; transform: translate(0,0); filter: blur(0); }
  55%      { opacity: 0.3; transform: translate(5px, 3px); filter: blur(4px); }
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 3.5rem);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: linear-gradient(to bottom, rgba(5,5,5,0.7), transparent);
  transition: background .4s ease;
}
.nav__mark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.35em;
  font-weight: 600;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a {
  color: var(--whisper);
  text-decoration: none;
  transition: color .3s ease;
}
.nav__links a:hover { color: var(--bone); }
.nav__cta {
  color: var(--amber-soft) !important;
  border: 1px solid rgba(255,180,110,0.4);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all .3s ease;
}
.nav__cta:hover {
  background: var(--amber);
  color: #1a1106 !important;
  border-color: var(--amber);
  box-shadow: 0 0 24px var(--glow);
}
@media (max-width: 680px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.25rem 4rem;
}
/* the key art, lit from within and masked into the dark */
.hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/key-art.png") center 26% / cover no-repeat;
  filter: grayscale(1) contrast(1.08) brightness(0.72);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(125% 95% at 50% 40%, #000 6%, rgba(0,0,0,0.45) 46%, transparent 76%);
          mask-image: radial-gradient(125% 95% at 50% 40%, #000 6%, rgba(0,0,0,0.45) 46%, transparent 76%);
  animation: art-breathe 14s ease-in-out infinite;
}
/* warm amber duotone wash over the monochrome art */
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,120,30,0.22), rgba(255,150,50,0.06) 55%, transparent);
  mix-blend-mode: overlay;
}
@keyframes art-breathe {
  0%, 100% { opacity: 0.42; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.03); }
}
/* legibility scrim between art and text — keeps text contrast across the image */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(5,5,5,0.62) 28%, rgba(5,5,5,0.86) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #e3d9c9;
  text-shadow: 0 1px 14px rgba(0,0,0,0.9);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.5rem, 14vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-shadow: 0 0 60px rgba(255,150,50,0.3), 0 2px 30px rgba(0,0,0,0.6);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { text-shadow: 0 0 50px rgba(255,150,50,0.22), 0 2px 30px rgba(0,0,0,0.6); }
  50%      { text-shadow: 0 0 90px rgba(255,150,50,0.45), 0 2px 30px rgba(0,0,0,0.6); }
}
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  color: #ece3d4;
  text-shadow: 0 1px 18px rgba(0,0,0,0.92);
  margin-top: 1.25rem;
}

.scroll-cue {
  margin-top: 3.5rem;
  width: 26px; height: 42px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--amber-soft);
  border-radius: 4px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- shared section bits ---------- */
section { padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 6vw, 3.5rem); }
.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 1rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--mist);
  font-weight: 300;
}
.story p, .voices p { color: var(--whisper); max-width: 60ch; }
.story p + p { margin-top: 1.25rem; }

/* ---------- story ---------- */
.story__inner { max-width: var(--max); margin: 0 auto; }
.story em, .story strong { color: var(--bone); }
.story strong { font-weight: 500; }

/* ---------- listen / cards ---------- */
.listen__head { max-width: var(--max); margin: 0 auto 3.5rem; }
.cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(160deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,180,110,0.5);
  box-shadow: 0 20px 50px -20px var(--glow);
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,150,50,0.12);
  border: 1px solid rgba(255,180,110,0.25);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 22px; height: 22px; fill: var(--amber-soft); }
.card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.card p { color: var(--whisper); font-size: 0.95rem; }

/* ---------- mixer ---------- */
.mixer {
  max-width: 560px;
  margin: 4rem auto 0;
  background: linear-gradient(160deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 16px;
  padding: 2.25rem 2rem;
}
.mixer__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.mixer__row {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.mixer__row label { font-size: 0.9rem; color: var(--mist); }
.slider {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}
.slider__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amber), var(--amber-soft));
  width: 0;
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 0 12px var(--glow);
}
.slider__thumb {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  left: 0;
  box-shadow: 0 0 10px var(--glow);
  transition: left 1.2s cubic-bezier(.2,.8,.2,1);
}
.mixer__val { font-size: 0.85rem; color: var(--whisper); text-align: right; }
.mixer__note {
  font-size: 0.82rem;
  color: var(--whisper);
  margin-top: 1.25rem;
  font-style: italic;
  opacity: 0.8;
}
.mixer__check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--panel-edge);
}
.mixer__box {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--amber);
  display: grid; place-items: center;
  box-shadow: 0 0 12px var(--glow);
}
.mixer__box svg { width: 16px; height: 16px; fill: #1a1106; }
.mixer__check strong {
  display: block;
  font-weight: 500;
  color: var(--bone);
  font-size: 0.95rem;
}
.mixer__check span { font-size: 0.85rem; color: var(--whisper); }

/* ---------- quote ---------- */
.quote {
  text-align: center;
  display: grid;
  place-items: center;
}
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1.25;
  max-width: 18ch;
  color: var(--bone);
}
.quote .ghost-text { display: block; }

/* ---------- voices ---------- */
.voices__inner { max-width: var(--max); margin: 0 auto; }
.makers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}
@media (max-width: 620px) { .makers { grid-template-columns: 1fr; } }
.maker {
  background: linear-gradient(160deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color .3s ease;
}
.maker:hover { border-color: rgba(255,180,110,0.5); }
.maker h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.maker p { color: var(--whisper); margin: 0.25rem 0 0.75rem; font-size: 0.92rem; }
.maker a { color: var(--amber-soft); text-decoration: none; font-size: 0.9rem; transition: color .3s; }
.maker a:hover { color: #fff; }
.voices__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem clamp(1.5rem, 4vw, 2.75rem);
  border-top: 1px solid var(--panel-edge);
  padding-top: 1.5rem;
}
.voices__badge {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--mist);
}
.voices__badge strong { color: var(--amber-soft); font-weight: 500; }

/* ---------- final CTA ---------- */
.cta { text-align: center; }
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.4rem, 8vw, 5rem); }
.cta p { color: var(--mist); margin-top: 0.75rem; max-width: 46ch; margin-inline: auto; text-wrap: balance; }
.btn-ghost {
  display: inline-block;
  margin-top: 2.25rem;
  padding: 1rem 2.75rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1106;
  font-weight: 500;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--amber), #ff6a1a);
  box-shadow: 0 0 40px var(--glow);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-100%);
  animation: sheen 4s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 80%, 100% { transform: translateX(100%); } }
.btn-ghost:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 70px var(--glow); }
.cta__fine { font-size: 0.8rem; color: var(--whisper); margin-top: 1.5rem; }

/* ---------- footer ---------- */
.footer {
  text-align: center;
  padding: 3rem 1.25rem 4rem;
  border-top: 1px solid var(--panel-edge);
}
.footer p { font-size: 0.85rem; color: var(--mist); }
.footer__muted { color: var(--whisper); font-style: italic; margin-top: 0.4rem; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 1.1s ease, transform 1.1s ease, filter 1.1s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- credits: crew + name lists ---------- */
.voices__title { margin-bottom: 0; }

.crew {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (max-width: 620px) { .crew { grid-template-columns: 1fr; } }
.crew li {
  border-top: 1px solid var(--panel-edge);
  padding-top: 1rem;
}
.crew strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bone);
}
.crew span { font-size: 0.88rem; color: var(--whisper); }

.credit-lists {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  margin-bottom: 3rem;
}
@media (max-width: 620px) { .credit-lists { grid-template-columns: 1fr; } }
.credit-list h3 {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 1.1rem;
}
.credit-list ul {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.95rem;
  color: var(--mist);
  line-height: 2;
}
.credit-list + .credit-list ul { columns: 1; }
@media (max-width: 480px) { .credit-list ul { columns: 1; } }

/* longer pull quote needs a little more room */
.quote blockquote { max-width: 26ch; }
