/* home page: moved out of the HTML for the Content-Security-Policy */
  /* Pirata One, SIL Open Font License 1.1 (assets/fonts/Pirata-One-OFL.txt) */
  @font-face {
    font-family: "Pirata One";
    src: url(/assets/fonts/pirata-one-latin.woff2) format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
  }
  :root {
    --bg: #000;
    --ink: #f4f4f2;
    --muted: #8d8d8a;
    --line: rgba(255,255,255,.14);
    --accent: #a11d21;
  }
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
  }
  /* faint drafting lines, echoing the construction lines in the mark */
  .grid {
    position: fixed; inset: 0; pointer-events: none;
    background:
      linear-gradient(var(--line), var(--line)) 0 38% / 100% 1px no-repeat,
      linear-gradient(var(--line), var(--line)) 0 74% / 100% 1px no-repeat,
      linear-gradient(90deg, var(--line), var(--line)) 18% 0 / 1px 100% no-repeat,
      linear-gradient(90deg, var(--line), var(--line)) 82% 0 / 1px 100% no-repeat;
    opacity: .55;
  }
  main {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    text-align: center;
  }
  .logo {
    width: min(560px, 88vw);
    height: auto;
    display: block;
    opacity: 0;
    animation: rise 1.2s .15s ease-out forwards;
  }
  .tag {
    margin: 36px 0 0;
    font-size: 13px;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--muted);
    padding-left: .42em; /* balance the trailing letter-spacing */
    opacity: 0;
    animation: rise 1.2s .55s ease-out forwards;
  }
  .rule {
    width: 56px; height: 1px; margin: 28px auto 0;
    background: var(--accent);
    opacity: 0;
    animation: rise 1.2s .75s ease-out forwards;
  }
  .tagline {
    margin: 22px 0 0;
    font: 400 28px/1.3 "Pirata One", "Old English Text MT", Georgia, serif;
    letter-spacing: .04em;
    color: #c9c9c5;
    opacity: 0;
    animation: rise 1.2s .82s ease-out forwards;
  }
  .note {
    margin: 26px 0 0;
    max-width: 34ch;
    color: var(--muted);
    font-size: 15px;
    opacity: 0;
    animation: rise 1.2s .9s ease-out forwards;
  }
  .btn {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 30px;
    border: 1px solid rgba(255,255,255,.55);
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .28em;
    text-transform: uppercase;
    transition: background .25s, border-color .25s, color .25s;
    opacity: 0;
    animation: rise 1.2s 1.05s ease-out forwards;
  }
  .btn:hover, .btn:focus-visible { background: var(--ink); color: #000; border-color: var(--ink); outline: none; }
  footer {
    position: relative;
    padding: 20px 16px 26px;
    text-align: center;
    font-size: 12px;
    letter-spacing: .12em;
    color: #5d5d5a;
  }
  .flinks { margin-bottom: 8px; }
  .flinks a { color: #8d8d8a; margin: 0 .6em; text-decoration: none; white-space: nowrap; }
  .flinks a:hover, .flinks a:focus-visible { color: var(--ink); }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) {
    .logo, .tag, .rule, .tagline, .note, .btn { animation: none; opacity: 1; }
  }
