@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-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 */
  --bg-50:  #f5ecd9;   /* parchment */
  --bg-200: #d9b88f;   /* warm wood */

  /* Foreground inks. Solid colors so contrast against the darker gradient
     endpoint #d9b88f is predictable:
       --ink-900 (name)  on #d9b88f  ≈ 7.0 : 1   (AAA)
       --ink-500 (label) on #d9b88f  ≈ 4.7 : 1   (AA normal) */
  --ink-900: #2d4a5e;
  --ink-500: #5a3e2a;

  --display: 'EB Garamond', 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(--bg-50) 0%, var(--bg-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 25% 20%, rgba(255, 248, 232, 0.55) 0, transparent 25%),
    radial-gradient(circle at 75% 80%, rgba(180, 130, 90, 0.28) 0, transparent 28%),
    radial-gradient(circle at 65% 25%, rgba(255, 248, 232, 0.32) 0, transparent 18%);
  z-index: 0;
}

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

.brand {
  margin: 0;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 5.2vw + 0.4rem, 2.85rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink-900);
}

.brand-label {
  font-family: var(--label);
  font-weight: 400;
  font-size: clamp(0.7rem, 0.5vw + 0.6rem, 0.85rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-500);
}

@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; }
}
