
  :root {
    --ink:      #EAF7FB;
    --mute:     #9FB6C2;
    --bg:       #000711;
    --panel:    #0E1C2A;
    --line:     #1A3547;
    --cyan:     #11B9DB;
    --cyan-dim: #6FDCF0;
    --measure:  46rem;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  .wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
  a { color: var(--cyan-dim); }
  a:hover { color: var(--cyan); }

  header {
    padding: 3.5rem 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }
  /* The mascot is square. width/height on the <img> give the browser the
     intrinsic ratio so it reserves the right space before the file arrives;
     the rendered size is set here, and scales down on narrow screens. */
  .mascot {
    width: 180px;
    flex: 0 0 auto;
    margin-left: auto;
    border-radius: 8px;
  }
  @media (max-width: 34rem) {
    header { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
    .mascot { width: 128px; }
  }
  h1 {
    margin: 0;
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    letter-spacing: 0.02em;
    font-weight: 800;
    line-height: 1.05;
  }
  .tagline { margin: 0.6rem 0 0; font-size: 1.15rem; color: var(--cyan-dim); }
  .rule { width: 3.5rem; height: 2px; background: var(--cyan); margin: 1.4rem 0 0; }

  h2 {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan-dim);
    margin: 3rem 0 0.9rem;
  }
  p { margin: 0 0 1rem; }
  .lead { font-size: 1.08rem; }
  .mute { color: var(--mute); }
  .small { font-size: 0.875rem; }

  .cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
  @media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
  .card {
    display: block;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.1rem 1.2rem;
    text-decoration: none;
    color: inherit;
  }
  .card:hover { border-color: var(--cyan); }
  .card strong { display: block; color: var(--cyan-dim); margin-bottom: 0.25rem; }

  video, img { max-width: 100%; height: auto; display: block; border-radius: 6px; }
  audio { width: 100%; margin-top: 0.75rem; }

  footer {
    margin-top: 4rem;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 3rem;
    color: var(--mute);
    font-size: 0.85rem;
  }

  nav { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
  main { padding-top: 2rem; }
  main h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.2; }
  h2 { text-transform: none; letter-spacing: normal; font-size: 1.4rem; }
  h3 { margin-top: 2rem; font-size: 1.15rem; }
  article, li { overflow-wrap: anywhere; }
  .context { color: var(--mute); }
  .table-scroll { overflow-x: auto; margin: 1.5rem 0; }
  table { border-collapse: collapse; min-width: 36rem; font-size: .9rem; }
  th, td { text-align: left; vertical-align: top; padding: .6rem; border: 1px solid var(--line); }
  th { background: var(--panel); }
  a:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
  blockquote { border-left: 3px solid var(--cyan); margin-left: 0; padding-left: 1rem; }
  @media print { body { color: #111; background: white; } nav { display: none; } a { color: #111; } .wrap { max-width: none; } .table-scroll { overflow: visible; } table { min-width: 0; } th { background: #eee; } }
