  /* Layout: one column, hard black rules, pixel logo drawn from a bitmap in logo.js.
     Posters are the only colour on the site. */
  :root {
    --bg: #ffffff;
    --fg: #0a0a0a;
    --muted: #6b6b6b;
    --rule: #0a0a0a;
    --rule-soft: #d9d9d9;
    --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
    --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
    --pixel: "Pixelify Sans", "VT323", "Courier New", monospace;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0a0a0a; --fg: #f4f4f4; --muted: #9a9a9a; --rule: #f4f4f4; --rule-soft: #2a2a2a;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0a0a0a; --fg: #f4f4f4; --muted: #9a9a9a; --rule: #f4f4f4; --rule-soft: #2a2a2a;
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    padding-inline: clamp(16px, 4vw, 48px);
    padding-block: 0;
    -webkit-font-smoothing: antialiased;
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

  a { color: inherit; }
  a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
  img { max-width: 100%; display: block; }

  .wrap { max-width: 1120px; margin-inline: auto; }

  /* Logo marks: inline SVG filled with currentColor */
  [data-dsa-logo] { display: inline-block; line-height: 0; color: var(--fg); }
  [data-dsa-logo] svg { display: block; height: 100%; width: auto; }

  /* Nav */
  .nav {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
    background: var(--bg);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-block: 14px;
  }
  .nav .mark { height: 28px; }
  .nav .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border: 0; min-width: 0; }
  .nav .brand .name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; }
  .nav .brand:hover { border: 0; }
  @media (max-width: 600px) { .nav .brand .name { display: none; } .nav ul { gap: 18px; } }
  .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
  .nav a {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent;
  }
  .nav ul a { white-space: nowrap; }
  .nav a:hover { border-bottom-color: var(--fg); }

  /* Landing: centred logo, one short line in a pixel face */
  .hero {
    display: grid; gap: 28px;
    padding-block: clamp(48px, 9vw, 112px) clamp(40px, 7vw, 88px);
  }
  .hero .logo-wrap { position: relative; width: min(60%, 300px); margin-inline: auto; aspect-ratio: 160 / 106; }
  .hero .logo { position: absolute; inset: 0; height: 100%; width: 100%; }
  .hero .logo svg { width: 100%; height: 100%; }
  .hero .logo-wrap.animating .logo { opacity: 0; }
  .hero .logo-anim { position: absolute; inset: 0; width: 100%; height: 100%; display: none; image-rendering: pixelated; color: var(--fg); }
  .hero .logo-wrap.animating .logo-anim { display: block; }
  .hero h1 {
    font-family: var(--pixel); font-weight: 400; margin: 0;
    font-size: clamp(17px, 1.9vw, 21px); line-height: 1.5; letter-spacing: 0;
    text-transform: none; text-wrap: balance; max-width: 34ch;
  }
  .endrule { border-top: 2px solid var(--rule); height: 0; margin-bottom: 40px; }

  /* Events */
  .section-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-block: clamp(32px, 6vw, 64px) 20px;
  }
  .section-head h2 {
    font-family: var(--display); font-weight: 400; margin: 0;
    font-size: clamp(32px, 5vw, 56px); line-height: 1; text-transform: uppercase;
  }
  .section-head .count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

  .events { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--rule); }
  .event {
    display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px);
    padding-block: clamp(28px, 4vw, 48px);
    border-bottom: 1px solid var(--rule-soft);
  }
  .event:last-child { border-bottom: 2px solid var(--rule); }
  .event .poster { border: 1px solid var(--rule-soft); aspect-ratio: 1 / 1; max-width: 100%; width: 100%; height: auto; background: var(--rule-soft); }
  .event .body { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
  .event .when {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .event .when strong { color: var(--fg); font-weight: 500; }
  .event h3 {
    font-family: var(--display); font-weight: 400; margin: 0;
    font-size: clamp(30px, 4.2vw, 50px); line-height: 1; text-transform: uppercase; text-wrap: balance;
  }
  .event .role { margin: 0; font-size: 17px; font-weight: 500; max-width: 42ch; }
  .event .about { margin: 0; color: var(--muted); max-width: 58ch; font-size: 15px; }
  .event dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; font-size: 14px; }
  .event dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
  .event dd { margin: 0; min-width: 0; }
  .event .register {
    margin-top: auto; align-self: flex-start;
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; border: 2px solid var(--fg); padding: 12px 18px;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background .15s, color .15s;
  }
  .event .register:hover { background: var(--fg); color: var(--bg); }
  .event .register svg { width: 14px; height: 14px; }

  @media (max-width: 760px) {
    .event { grid-template-columns: 1fr; }
    .event .poster { max-width: 480px; }
    .event .register { margin-top: 6px; }
  }

  /* Footer (events page) */
  .foot {
    border-top: 2px solid var(--rule);
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    padding-block: 24px 40px;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  }
  .foot .mark { height: 22px; }
