/* ── Tokens ───────────────────────────────────── */
:root {
  --bg: #f1e7d3;
  --bg-2: #e3d6b9;
  --shell: #1a1a1a;
  --shell-light: #2e2e2e;
  --shell-deep: #050505;
  --sticker: #f5f1e6;
  --sticker-edge: #e6dec8;
  --stripe-brown: #4a2c12;
  --stripe-yellow: #e8a838;
  --reel-hub: #efe7d2;
  --reel-shadow: #b8b0a0;
  --tape: #3a2418;
  --tape-light: #6a4a30;
  --ink: #1a3580;
  --ink-2: #243870;
  --green: #b8d846;
  --green-deep: #95b62c;
  --gold: #c89b3c;
  --card-bg: rgba(255, 255, 255, 0.35);
  --card-border: rgba(201, 155, 60, 0.25);
  --input-border: rgba(0, 0, 0, 0.12);
  --label-color: #b8362a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }

body {
  background: radial-gradient(ellipse at 25% 15%, var(--bg) 0%, var(--bg-2) 100%);
  font-family: 'Inter', sans-serif;
  position: relative;
  color: #1a1a1a;
}

/* Paper / linen texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.22 0 0 0 0 0.18 0 0 0 0 0.12 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23paper)'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

/* Film grain / noise */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23grain)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: multiply;
}

/* Corner vignette — warm, photographed feel */
.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 35%,
    rgba(30, 20, 10, 0.08) 55%,
    rgba(20, 14, 6, 0.22) 80%,
    rgba(10, 6, 2, 0.35) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5rem 2rem 12rem;
  overflow: visible;
}

.title-card {
  position: absolute;
  top: 3rem;
  left: 3rem;
  z-index: 20;
  max-width: 320px;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.7rem;
}

.eyebrow::before { content: '— '; }

.title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
}

.title em { color: var(--ink); font-style: italic; }

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 20;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
  text-align: right;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.scroll-cue:hover { opacity: 1; }

.scroll-cue-line {
  width: 60px;
  height: 1px;
  background: #1a1a1a;
  margin: 0.5rem 0 0.5rem auto;
  opacity: 0.4;
}

/* ── Cassette ─────────────────────────────────── */
.scene {
  position: relative;
  width: min(94vw, 720px);
  aspect-ratio: 1.55;
  z-index: 5;
  animation: drop 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) 0.3s 1 backwards;
}

.cassette {
  position: absolute;
  inset: 0;
  background:
    /* top-down directional light — brighter top, darker bottom */
    linear-gradient(180deg,
      #3a3a3a 0%,
      #2e2e2e 8%,
      var(--shell) 35%,
      #151515 70%,
      var(--shell-deep) 100%);
  border-radius: 8px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 12px 24px rgba(40, 25, 10, 0.25),
    0 40px 80px rgba(0, 0, 0, 0.18),
    0 60px 120px rgba(30, 20, 8, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -4px 12px rgba(0, 0, 0, 0.4);
}

/* Fine plastic texture + horizontal highlight band across upper third */
.cassette::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background:
    /* highlight band — glossy plastic catching overhead light */
    linear-gradient(180deg,
      transparent 0%,
      transparent 14%,
      rgba(255, 255, 255, 0.06) 17%,
      rgba(255, 255, 255, 0.1) 19%,
      rgba(255, 255, 255, 0.06) 21%,
      transparent 24%,
      transparent 100%),
    /* fine grid texture */
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.025) 4px 5px),
    repeating-linear-gradient(90deg, transparent 0 4px, rgba(255, 255, 255, 0.025) 4px 5px);
  pointer-events: none;
  z-index: 1;
}

/* Diagonal light sweep */
.cassette::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 55%, transparent 70%);
  pointer-events: none;
  z-index: 8;
}

/* ── Sticker ──────────────────────────────────── */
.sticker {
  position: absolute;
  top: 5%;
  left: 4%;
  right: 4%;
  height: 26%;
  background:
    /* yellowed edges — warm tint at corners */
    radial-gradient(ellipse at 0% 0%, rgba(180, 150, 80, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(180, 150, 80, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 0%, rgba(170, 140, 70, 0.1) 0%, transparent 35%),
    /* coffee ring quarter-arc — top-left */
    radial-gradient(circle at 8% 15%, transparent 18%, rgba(120, 80, 30, 0.08) 19%, rgba(120, 80, 30, 0.06) 21%, transparent 22%),
    /* base paper */
    linear-gradient(to bottom, var(--sticker) 0%, var(--sticker-edge) 100%);
  display: flex;
  z-index: 3;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

.a-marker {
  flex-shrink: 0;
  width: 10%;
  background: #0a0a0a;
  color: var(--sticker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.tracklist {
  flex: 1;
  padding: 2% 3%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tracklist-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Stripes ──────────────────────────────────── */
.stripe-brown {
  position: absolute;
  top: 32%;
  left: 0;
  right: 0;
  height: 1.5%;
  background: linear-gradient(to bottom, #6a3818 0%, var(--stripe-brown) 50%, #2a1808 100%);
  z-index: 2;
}

.stripe-yellow {
  position: absolute;
  top: 78.5%;
  left: 0;
  right: 0;
  height: 2.2%;
  background: linear-gradient(to bottom, #f4b848 0%, var(--stripe-yellow) 50%, #b88424 100%);
  z-index: 2;
}

/* Brown line on top of yellow */
.stripe-yellow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 80%;
  background: linear-gradient(to bottom, #6a3818 0%, var(--stripe-brown) 50%, #2a1808 100%);
}

/* ── Left meta ────────────────────────────────── */
.left-meta {
  position: absolute;
  left: 2%;
  top: 42%;
  width: 14%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bias-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.5rem, 1vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sticker);
  line-height: 1.3;
  text-align: center;
}

.bias-text small {
  display: block;
  font-size: 0.78em;
  opacity: 0.7;
  margin-top: 0.3em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mix-doodle {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  color: var(--ink);
  text-align: center;
  line-height: 0.9;
  background: var(--sticker);
  padding: 14% 12% 10%;
  transform: rotate(-4.5deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  /* ragged torn masking-tape edges */
  clip-path: polygon(
    2% 3%, 8% 0%, 15% 2%, 22% 0%, 30% 1%, 38% 0%, 45% 2%, 52% 0%, 60% 1%, 68% 0%, 75% 2%, 82% 0%, 90% 1%, 95% 0%, 98% 3%,
    100% 8%, 99% 18%, 100% 28%, 99% 38%, 100% 48%, 99% 58%, 100% 68%, 99% 78%, 100% 88%, 98% 97%,
    95% 100%, 88% 98%, 80% 100%, 72% 98%, 65% 100%, 58% 98%, 50% 100%, 42% 99%, 35% 100%, 28% 98%, 20% 100%, 12% 99%, 5% 100%, 2% 97%,
    0% 90%, 1% 80%, 0% 70%, 1% 60%, 0% 50%, 1% 40%, 0% 30%, 1% 20%, 0% 10%
  );
}

/* ── Reels ────────────────────────────────────── */
.reel-window {
  position: absolute;
  width: 23%;
  aspect-ratio: 1;
  top: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #0a0a0a 0%, #000 70%, #000 100%);
  z-index: 4;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.06),
    inset 0 0 0 5px rgba(0, 0, 0, 0.85),
    inset 0 5px 18px rgba(0, 0, 0, 0.85),
    inset 0 -2px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reel-window.left { left: 18%; }
.reel-window.right { right: 18%; }

/* Wound tape — dark brown ring between hub and window edge */
.reel-window::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      transparent 28%,
      #2a1a0e 29%, #3a2418 34%, #2e1c10 38%, #3a2418 42%,
      #2a1a0e 46%, transparent 47%);
  pointer-events: none;
  z-index: 1;
}

/* Left reel — fuller (Side A mid-play) */
.reel-window.left::before {
  inset: 6%;
  background:
    radial-gradient(circle at center,
      transparent 26%,
      #2a1a0e 27%, #3a2418 32%, #2e1c10 36%, #3a2418 40%,
      #2a1a0e 44%, #35200f 48%, #3a2418 52%,
      #2a1a0e 56%, transparent 57%);
}

/* Right reel — less tape */
.reel-window.right::before {
  inset: 14%;
}

/* Tape sheen on wound tape */
.reel-window::after {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: linear-gradient(160deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.reel {
  position: relative;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #ffffff 0%, transparent 30%),
    linear-gradient(135deg, var(--reel-hub) 0%, var(--reel-shadow) 100%);
  animation: spin 4s linear infinite;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.reel::before {
  content: '';
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--shell-deep) 0deg 9deg, transparent 9deg 51deg,
    var(--shell-deep) 60deg 69deg, transparent 69deg 111deg,
    var(--shell-deep) 120deg 129deg, transparent 129deg 171deg,
    var(--shell-deep) 180deg 189deg, transparent 189deg 231deg,
    var(--shell-deep) 240deg 249deg, transparent 249deg 291deg,
    var(--shell-deep) 300deg 309deg, transparent 309deg 360deg);
  -webkit-mask: radial-gradient(circle at center, black 38%, black 62%, transparent 65%);
  mask: radial-gradient(circle at center, black 38%, black 62%, transparent 65%);
}

.reel::after {
  content: '';
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: var(--shell-deep);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 0 2px rgba(184, 144, 60, 0.2);
}

/* ── Tape window ──────────────────────────────── */
.tape-window {
  position: absolute;
  top: 56%;
  left: 38%;
  right: 38%;
  height: 8%;
  background: linear-gradient(to bottom, #2a1a0c 0%, var(--shell-deep) 40%, #1a0e06 100%);
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.6),
    inset 0 3px 8px rgba(0, 0, 0, 0.8);
  z-index: 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tape-spool {
  width: 90%;
  height: 70%;
  background:
    repeating-linear-gradient(90deg, var(--tape) 0 3px, var(--tape-light) 3px 5px, var(--tape) 5px 8px),
    linear-gradient(to bottom, #5a3826, var(--tape) 50%, #2a1a0e);
  border-radius: 1px;
  animation: tapeMove 1.4s linear infinite;
  background-size: 16px 100%, 100% 100%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* ── Screw indentations ───────────────────────── */
.screw {
  position: absolute;
  width: 2.2%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a3a3a 0%, #1a1a1a 60%, #0a0a0a 100%);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.9),
    0 0.5px 0 rgba(255, 255, 255, 0.08);
  z-index: 9;
}

.screw::after {
  content: '';
  position: absolute;
  top: 35%;
  left: 20%;
  width: 60%;
  height: 1.5px;
  background: #0a0a0a;
  border-radius: 1px;
  box-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(25deg);
}

.screw-tl { top: 3.5%; left: 3%; }
.screw-tr { top: 3.5%; right: 3%; }
.screw-bl { bottom: 3.5%; left: 3%; }
.screw-br { bottom: 3.5%; right: 3%; }

/* ── Write-protect tabs ───────────────────────── */
.wp-tab {
  position: absolute;
  top: -0.5%;
  width: 3.5%;
  height: 2.5%;
  background: var(--shell-deep);
  border-radius: 0 0 2px 2px;
  z-index: 9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.wp-tab-l { left: 12%; }
.wp-tab-r { right: 12%; }

/* ── Clear window above reels ─────────────────── */
.clear-window {
  position: absolute;
  top: 33%;
  left: 17%;
  right: 17%;
  height: 3.5%;
  background: linear-gradient(to bottom,
    rgba(180, 160, 130, 0.12) 0%,
    rgba(200, 180, 150, 0.08) 50%,
    rgba(160, 140, 110, 0.12) 100%);
  border-radius: 2px;
  z-index: 3;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.tape-visible {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg,
      rgba(58, 36, 24, 0.4) 0 2px,
      rgba(106, 74, 48, 0.3) 2px 3.5px,
      rgba(58, 36, 24, 0.4) 3.5px 5.5px);
  animation: tapeMove 2s linear infinite;
  background-size: 11px 100%;
}

/* ── Pressure pad ─────────────────────────────── */
.pressure-pad {
  position: absolute;
  top: 56%;
  left: 48%;
  width: 4%;
  height: 5%;
  background: linear-gradient(to bottom, #888 0%, #666 30%, #444 100%);
  border-radius: 1px;
  z-index: 5;
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.1),
    inset 0 1px 2px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.4);
}

.pressure-pad::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  height: 20%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
}

/* ── Wear: fingerprint smudge ─────────────────── */
.fingerprint {
  position: absolute;
  top: 60%;
  left: 28%;
  width: 12%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 70%);
  z-index: 7;
  pointer-events: none;
  transform: rotate(-15deg);
}

/* ── Wear: scratch ────────────────────────────── */
.scratch {
  position: absolute;
  top: 45%;
  right: 22%;
  width: 15%;
  height: 0.3%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.06) 80%,
    transparent 100%);
  z-index: 7;
  pointer-events: none;
  transform: rotate(-3deg);
}

/* ── Sticker peel (bottom-right corner) ───────── */
.sticker-peel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 6%;
  height: 18%;
  background: linear-gradient(135deg,
    var(--sticker-edge) 0%,
    var(--sticker) 40%,
    rgba(220, 210, 190, 0.9) 100%);
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
  box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

/* ── Logos ─────────────────────────────────────── */
.logo {
  position: absolute;
  z-index: 4;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

/* TDK — right side, aligned to yellow stripe */
.logo-tdk {
  right: 5%;
  top: 55%;
  width: 14%;
  height: 22%;
}

/* Compact Cassette — bottom center, large */
.logo-cassette {
  bottom: 1%;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  height: 18%;
}

/* Dolby — bottom right */
.logo-dolby {
  bottom: 1%;
  right: 4%;
  width: 16%;
  height: 16%;
}

/* ── Jargon strip ─────────────────────────────── */
.jargon-strip {
  position: absolute;
  bottom: 1.5%;
  left: 4%;
  right: 4%;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.4rem, 0.85vw, 0.6rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sticker);
  opacity: 0.55;
  z-index: 3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.jargon-strip span { margin: 0 0.7em; }
.jargon-strip .dot { opacity: 0.5; margin: 0 0.3em; }

/* ── Loose tape (photo) ───────────────────────── */
.loose-tape {
  position: absolute;
  bottom: -48%;
  left: 42%;
  width: 28%;
  height: 65%;
  z-index: -1; /* behind the cassette */
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(12% 0 0 0);
  animation: tapeSway 8s ease-in-out infinite;
  transform-origin: 50% 12%;
}

.loose-tape-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

/* ── Animations ───────────────────────────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes tapeMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 16px 0, 0 0; }
}

@keyframes drop {
  0% { transform: translateY(-40px) rotate(-1.5deg); opacity: 0; }
  60% { transform: translateY(8px) rotate(0.4deg); opacity: 1; }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}

@keyframes tapeSway {
  0%, 100% { transform: translateX(-45%) rotate(-2deg); }
  50% { transform: translateX(-45%) rotate(2deg); }
}

/* ── RSVP section ─────────────────────────────── */
.rsvp-section {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 2rem 2rem;
}

.rsvp-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 2rem;
  font-weight: 500;
  text-align: center;
}

/* ── Content (below fold) ─────────────────────── */
.content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
  padding: 0 0 4rem;
}

/* ── Divider ──────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
  opacity: 0.3;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

.divider span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Section heading ──────────────────────────── */
.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--label-color);
  text-align: center;
  margin-bottom: 1.2rem;
}

/* ── Details ──────────────────────────────────── */
.details {
  text-align: center;
  margin-bottom: 1rem;
}

.detail-list {
  list-style: none;
  font-size: 0.875rem;
  color: #1a1a1a;
  opacity: 0.65;
  line-height: 1.8;
}

.tagline {
  margin-top: 1.2rem;
  font-style: italic;
  color: #1a1a1a;
  opacity: 0.4;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ── Form card ────────────────────────────────── */
.form-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
}

.form-sub {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-top: -0.6rem;
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.form-card input[type="text"],
.form-card input[type="email"] {
  display: block;
  width: 100%;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.6);
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card input::placeholder {
  color: #1a1a1a;
  opacity: 0.3;
}

.form-card input:focus {
  outline: none;
  border-color: var(--label-color);
  box-shadow: 0 0 0 3px rgba(184, 54, 42, 0.08);
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 0.75rem 2rem;
  background: #1a1a1a;
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 0.5rem;
}

.btn-primary:hover { background: var(--label-color); }
.btn-primary:active { transform: scale(0.98); }

/* ── Invite more ──────────────────────────────── */
.invite-more-btn {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.65rem 1rem;
  background: transparent;
  color: #1a1a1a;
  border: 1px dashed var(--input-border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
  opacity: 0.4;
}

.invite-more-btn:hover {
  border-color: var(--label-color);
  color: var(--label-color);
  opacity: 1;
}

.guest-row {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.9rem;
  margin-top: 0.6rem;
}

.guest-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.guest-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.45;
}

.remove-guest {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #1a1a1a;
  opacity: 0.2;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.3rem;
  transition: opacity 0.2s, color 0.2s;
}

.remove-guest:hover {
  opacity: 1;
  color: var(--label-color);
}

/* ── Confirmation ─────────────────────────────── */
.confirmation {
  display: none;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  text-align: center;
}

.confirmation.visible {
  display: block;
  animation: fadeUp 0.5s ease;
}

.confirmation h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--label-color);
  margin-bottom: 0.4rem;
}

.confirmation p {
  color: #1a1a1a;
  opacity: 0.55;
  margin-bottom: 1.4rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.btn-ics {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.2);
}

.btn-ics:hover { box-shadow: 0 6px 18px rgba(200, 155, 60, 0.3); }
.btn-ics:active { transform: scale(0.98); }

@keyframes fadeUp {
  0% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ── Site footer ──────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem 3rem;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.35;
  font-weight: 500;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 700px) {
  .title-card {
    top: 1.2rem;
    left: 1.2rem;
    max-width: 200px;
  }
  .scroll-cue {
    bottom: 1.2rem;
    right: 1.2rem;
  }
  .title {
    font-size: 1.6rem;
  }
  .content {
    padding: 0 0 3rem;
  }
  .rsvp-section {
    padding: 3rem 1.25rem 1rem;
  }
  .form-card {
    padding: 1.8rem 1.4rem;
  }
}
