/* Palette sampled directly from the logo PNG. */
:root {
  --cream: #FCF9F4;
  --ink:   #111315;
  --red:   #E01D1C;
  --gold:  #F9C015;

  --pad: clamp(1.25rem, 5vw, 3rem);
  --text: #111315;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

/* The logo's three colours as a poster stripe across the top. */
.stripe {
  flex: none;
  height: 10px;
  background: linear-gradient(
    to right,
    var(--red)  0 33.333%,
    var(--gold) 33.333% 66.666%,
    var(--ink)  66.666% 100%
  );
}

/* The page is the logo and nothing else, centred in the viewport. */
main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: var(--pad);
}

.logo-wrap {
  display: block;
  width: min(100%, 34rem);
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

/* Small, quiet footer line. */
.site-footer {
  flex: none;
  padding: 1rem var(--pad) calc(1.25rem + env(safe-area-inset-bottom));
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
}

@media (prefers-color-scheme: dark) {
  :root { --cream: #14100C; --text: #FCF9F4; }
  /* The logo art is transparent-backed and its wordmark is black ink, so on a
     dark page it needs its own cream plate or "SPAGHETTI" disappears. */
  .logo {
    background: #FCF9F4;
    border-radius: 14px;
    padding: clamp(0.75rem, 3vw, 1.5rem);
  }
}
