/* Arts & Crafts lettering: Federant (title) + Alegreya SC (buttons), both SIL Open Font License, self-hosted */
@font-face { font-family: "Federant"; src: url(/fonts/federant-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Alegreya SC"; src: url(/fonts/alegreya-sc-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root { --cream: #f2e8d0; --straw: #e6c48a; --ink: #141d33; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  min-height: 100svh; color: var(--cream); overflow: hidden;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* fallback if WebGL is unavailable: the same dusk, painted */
  background: linear-gradient(180deg, #141d33 0%, #3b3446 38%, #b9734a 70%, #e6c48a 82%, #1d2a18 83%, #2a3420 100%);
}
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.ready #c { opacity: 1; }
.nogl #c { display: none; }
main {
  position: relative; z-index: 1; max-width: 56rem;
  padding: clamp(28px, 9vh, 96px) clamp(20px, 6vw, 72px) 0;
  text-shadow: 0 1px 12px rgba(10, 14, 26, .55);
}
.eyebrow { margin: 0 0 .4rem; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--straw); }
h1 {
  margin: 0; font-weight: 400; letter-spacing: -.01em; line-height: 1.02;
  font-family: "Federant", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(2.3rem, 8.6vw, 5rem);
}
h1 span { color: var(--straw); font-weight: 400; }
.lede { margin: 1rem 0 1.6rem; font-size: clamp(1rem, 2.4vw, 1.12rem); color: rgba(242, 232, 208, .88); }
.cta {
  display: inline-flex; gap: .55em; align-items: center; padding: .62em 1.1em .68em;
  font: 700 1.02rem/1.2 "Alegreya SC", "Palatino Linotype", Georgia, serif; letter-spacing: .05em;
  color: #f2e8d0; background: #8c2f1c; text-decoration: none;
  border: 2px solid #2b1d0e; border-radius: 0;
  box-shadow: 4px 4px 0 #2b1d0e;                     /* printed-block shadow (Hubbard press) */
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.cta .orn { font-size: 1.15em; line-height: 1; color: #e6c48a; transform: translateY(-.04em); }
.cta:hover { background: #9c3721; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #2b1d0e; }
.cta:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #2b1d0e; }
.cta.ghost { background: #2b1d0e; border-color: #e6c48a; box-shadow: 4px 4px 0 rgba(0, 0, 0, .5); }
.cta.ghost:hover { background: #3a2715; box-shadow: 5px 5px 0 rgba(0, 0, 0, .5); }
.cta.ghost:active { box-shadow: 1px 1px 0 rgba(0, 0, 0, .5); }
.cta:focus-visible { outline: 3px solid var(--straw); outline-offset: 3px; }
footer {
  position: fixed; z-index: 1; left: 0; right: 0; bottom: 0;
  padding: 14px clamp(20px, 6vw, 72px) max(14px, env(safe-area-inset-bottom));
  font-size: .8rem; color: rgba(242, 232, 208, .7); text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
footer a { color: inherit; }
@media (max-width: 430px) { .cta { font-size: .9rem; letter-spacing: .03em; padding: .6em .9em .66em; } }
@media (prefers-reduced-motion: reduce) { #c { transition: none; } .cta { transition: none; } }
