@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/playfair-display-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-regular.woff2') format('woff2');
}

:root {
  /* Background gradient endpoints */
  --lavender-50:  #efe4f7;
  --lavender-200: #d9c3ee;

  /* Foreground inks. Solid colors (not alpha-blended) so contrast against the
     darker gradient endpoint #d9c3ee is predictable and meets WCAG AA for
     normal text everywhere on the page:
       --ink-900 (name)      on #d9c3ee  ≈ 7.9 : 1   (AAA)
       --ink-700 (verse)     on #d9c3ee  ≈ 6.6 : 1   (AAA large, AA normal)
       --ink-500 (reference) on #d9c3ee  ≈ 5.0 : 1   (AA normal) */
  --ink-900: #3d2a52;
  --ink-700: #4a3661;
  --ink-500: #5b4775;

  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --label:   'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--display);
  color: var(--ink-900);
  background: linear-gradient(160deg, var(--lavender-50) 0%, var(--lavender-200) 100%);
  min-height: 100vh;       /* fallback for browsers without dvh */
  min-height: 100dvh;      /* dynamic viewport — avoids iOS Safari URL-bar clipping */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 6vw;
  position: relative;
  overflow-x: hidden;
}

/* Three subtle radial light bursts — pure CSS, no images. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0, transparent 22%),
    radial-gradient(circle at 82% 78%, rgba(180, 140, 210, 0.35) 0, transparent 28%),
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.30) 0, transparent 18%);
  z-index: 0;
}

.splash {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.name {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4.5vw + 0.5rem, 2.5rem);
  letter-spacing: 0.01em;
  color: var(--ink-900);
}

.verse {
  margin: 0 auto 1rem;
  max-width: 38ch;
  font-size: clamp(1rem, 1.6vw + 0.6rem, 1.125rem);
  line-height: 1.55;
  color: var(--ink-700);
}

.verse em {
  font-style: italic;
  font-weight: 400;
}

.reference {
  margin: 0;
  font-family: var(--label);
  font-size: clamp(0.7rem, 0.5vw + 0.6rem, 0.75rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.reference cite {
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  /* No motion in v1, but declare the marker so future additions stay safe. */
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
