/* ============================================================
   Word of Comfort — design tokens
   Concept: "Thy word is a lamp unto my feet, and a light unto my
   path" (Psalm 119:105). You arrive in the dark; the Word lights
   the way. The hero is a quiet night sky; verses land on warm,
   lamplit paper. One gold glow, spent deliberately.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* -- color: night (hero, chrome) -- */
  --night: #1B2333;
  --night-2: #232C42;
  --night-3: #313C59;
  --night-text: #F3EFE4;
  --night-text-muted: #A9AFC9;

  /* -- color: paper (reading surfaces) -- */
  --paper: #FBF7EF;
  --paper-2: #F2EAD8;
  --paper-3: #E7DBBE;
  --ink: #262038;
  --ink-muted: #6E6656;

  /* -- color: the one glow -- */
  --lamp: #E7B84D;
  --lamp-deep: #C9963B;
  --lamp-glow: rgba(231, 184, 77, 0.38);

  /* -- color: secondary accent (hope / growth, used sparingly) -- */
  --sage: #78876E;

  /* -- color: crisis (warm, serious, never alarm-red) -- */
  --ember: #B25C4F;
  --ember-bg: #FBEDE7;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-display: "Fraunces", Georgia, "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-night: 0 12px 40px rgba(6, 8, 20, 0.45);
  --shadow-paper: 0 2px 14px rgba(60, 48, 20, 0.10);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--lamp);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
