/* ==========================================================================
   Upper Thread - closed splash
   One screen: the logo, a "Closed" status, one paragraph, a footer line.
   Colours are sampled from the Framer site's tokens and its og image
   (background #fffbf5 is the live site's page colour; navy and red are the logo inks).

   Type roles (nothing outside these):
     brand    - the logo itself (raster, lifted from the og image)
     heading  - Poppins 600, the status label
     body     - Karla 400-700, paragraph and footer
   ========================================================================== */

/* Refresh: https://fonts.googleapis.com/css2?family=Karla:wght@400..700&family=Poppins:wght@600 (latin block) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #fffbf5;
  --fg: #161d44;
  --fg-dim: rgba(22, 29, 68, 0.78);
  --fg-mute: rgba(22, 29, 68, 0.62);
  --accent: #db5438;
  --rule: rgba(22, 29, 68, 0.14);
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
  --step-body: clamp(1rem, 1.6vw, 1.125rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--step-body)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

/* --- Splash ------------------------------------------------------------ */
.splash {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  padding: clamp(3rem, 10vh, 6rem) var(--gutter) 2rem;
  text-align: center;
}

.splash__logo img { width: min(26rem, 78vw); }

/* Status pill: the one place the accent shows outside the logo */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.45em 1.1em;
  border: 2px solid var(--fg);
  border-radius: 999px;
  font: 600 0.875rem/1 var(--font-heading);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.status__dot {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--accent);
}

.splash__body {
  max-width: 34rem;
  color: var(--fg-dim);
}

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
  color: var(--fg-mute);
  font-size: 0.875rem;
}
.site-footer__state { width: 1.1rem; height: auto; fill: currentColor; flex: none; }
