/* Alvar shared base: fonts, tokens, reset, utilities and the base look of the shared components.
   Everything except @font-face sits in @layer alvar, so any unlayered rule in a version's own CSS
   wins without specificity fights. Version CSS re-dresses components through the custom
   properties and classes listed in delat/API.md. */

@font-face {
  font-family: "Sora";
  src: url("typsnitt/sora-latin-ext.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  src: url("typsnitt/sora-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  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;
}

@layer alvar.reset, alvar.base, alvar.components, alvar.utilities;

@layer alvar.reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { margin: 0; min-height: 100svh; }
  h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
  ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }
  img, picture, video, svg, canvas { display: block; max-width: 100%; }
  img, video { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
  button { margin: 0; padding: 0; border: 0; background: none; cursor: pointer; text-align: inherit; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
  dialog { padding: 0; border: 0; color: inherit; }
  [hidden] { display: none !important; }
}

@layer alvar.base {
  :root {
    /* Brand colours (identity manual). Teal is unconfirmed: alvar.js sets it from content.json farger.gronbla. */
    --alvar-gold: #d8b86a;
    --alvar-gold-light: #d1c782;
    --alvar-gold-deep: #9b7a37;
    --alvar-pink: #dd8898;
    --alvar-dark: #262b2c;
    --alvar-black: #0b0b0b;
    --alvar-white: #ffffff;
    --alvar-paper: #f5f5f5;
    --alvar-grey-1: #ebebeb;
    --alvar-grey-2: #d6d6d6;
    --alvar-grey-3: #9b9b9b;
    --alvar-grey-4: #5f5e5e;
    --alvar-grey-5: #333333;
    --alvar-teal: #67a995;

    /* Semantic tokens: themes change these, components only read them. */
    --alvar-bg: var(--alvar-paper);
    --alvar-fg: var(--alvar-black);
    --alvar-accent: var(--alvar-gold);
    --alvar-line: color-mix(in srgb, currentColor 30%, transparent);
    --alvar-muted: color-mix(in srgb, currentColor 66%, transparent);
    /* Focus ring in two tones (ring and halo) so it shows on light and dark ground alike. */
    --alvar-focus: var(--alvar-black);
    --alvar-focus-halo: var(--alvar-white);

    /* Type: Sora Light for large lines, Regular for text, SemiBold sparingly. */
    --alvar-font: "Sora", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --alvar-weight-light: 300;
    --alvar-weight-regular: 400;
    --alvar-weight-semibold: 600;
    --alvar-size-caps: 0.6875rem;
    --alvar-size-small: 0.875rem;
    --alvar-size-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
    --alvar-size-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
    --alvar-size-h3: clamp(1.25rem, 1.08rem + 0.7vw, 1.75rem);
    --alvar-size-h2: clamp(1.875rem, 1.35rem + 2.1vw, 3.25rem);
    --alvar-size-h1: clamp(2.5rem, 1.55rem + 4.1vw, 5.75rem);
    --alvar-size-display: clamp(3rem, 1.4rem + 7vw, 9.5rem);
    --alvar-leading: 1.6;
    --alvar-leading-tight: 1.04;
    --alvar-tracking-caps: 0.16em;

    /* Space and motion. */
    --alvar-gutter: clamp(1rem, 4.4vw, 4.5rem);
    --alvar-section: clamp(4.5rem, 11vw, 11rem);
    --alvar-measure: 38rem;
    --alvar-header-h: 4.5rem;
    /* Versions may set --alvar-scroll-padding-top (and -bottom) to their own header height. */
    --alvar-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
    --alvar-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --alvar-dur: 1.1s;
    --alvar-dur-fast: 0.28s;
  }

  html {
    color: var(--alvar-fg);
    background: var(--alvar-bg);
    font-family: var(--alvar-font);
    font-weight: var(--alvar-weight-regular);
    line-height: var(--alvar-leading);
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  body { font-size: var(--alvar-size-body); }
  /* Anchors, focus and scrollIntoView stop below the fixed header and above the preview handle. */
  html { scroll-padding-top: var(--alvar-scroll-padding-top, calc(var(--alvar-header-h) + 0.5rem)); }
  html.alvar-has-preview { scroll-padding-bottom: var(--alvar-scroll-padding-bottom, 3.75rem); }
  [data-theme="light"] { --alvar-focus: var(--alvar-black); --alvar-focus-halo: var(--alvar-white); }
  [data-theme="dark"], [data-theme="night"] { --alvar-focus: var(--alvar-white); --alvar-focus-halo: var(--alvar-black); }
  ::selection { background: var(--alvar-gold); color: var(--alvar-black); }

  /* Content arrives from content.json: keep the page invisible for the few milliseconds until
     alvar.js has rendered it. If the script never runs, the page appears anyway after 2.5 s. */
  html:not(.alvar-ready) body { opacity: 0; animation: alvar-failsafe 0s 2.5s forwards; }
  html:not(.alvar-ready) [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.alvar-ready body { opacity: 1; transition: opacity 0.3s var(--alvar-ease); }
  /* First frame after ready: elements waiting to be revealed drop to hidden without animating. */
  html.alvar-boot [data-reveal] { transition: none !important; }
  @keyframes alvar-failsafe { to { opacity: 1; } }

  /* Modes: data-mode on <html>, data-modes="1 2" on elements. */
  html:not([data-mode]) [data-modes],
  html[data-mode="1"] [data-modes]:not([data-modes~="1"]),
  html[data-mode="2"] [data-modes]:not([data-modes~="2"]),
  html[data-mode="3"] [data-modes]:not([data-modes~="3"]),
  html[data-mode="4"] [data-modes]:not([data-modes~="4"]),
  html[data-mode="5"] [data-modes]:not([data-modes~="5"]) { display: none !important; }

  :focus-visible { outline: 2px solid var(--alvar-focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--alvar-focus-halo); }
  :focus:not(:focus-visible) { outline: none; }
  /* A heading or container that the code focuses (tabindex -1) draws no ring; controls keep theirs. */
  [tabindex="-1"]:not(a, button, input, select, textarea, summary):focus { outline: none; box-shadow: none; }

  /* color-mix() fallback (Safari before 16.2 and other older engines). */
  @supports not (color: color-mix(in srgb, red 50%, blue)) {
    :root { --alvar-line: rgb(128 128 128 / 0.42); --alvar-muted: currentColor; }
  }

  html.alvar-scroll-lock { overflow: hidden; }
  html.alvar-scroll-lock body { padding-inline-end: var(--alvar-scrollbar, 0px); }
}

@layer alvar.utilities {
  /* Small spaced capitals for labels (10 to 12 px). */
  .alvar-caps {
    font-size: var(--alvar-size-caps);
    font-weight: var(--alvar-weight-regular);
    letter-spacing: var(--alvar-tracking-caps);
    line-height: 1.45;
    text-transform: uppercase;
  }
  .alvar-caps--strong { font-weight: var(--alvar-weight-semibold); }
  .alvar-light { font-weight: var(--alvar-weight-light); }
  .alvar-num { font-variant-numeric: tabular-nums lining-nums; }

  .alvar-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* Media box: put a picture or video inside and it covers the box. */
  .alvar-media { position: relative; overflow: hidden; isolation: isolate; }
  .alvar-media > picture, .alvar-media > img, .alvar-media > video { display: block; width: 100%; height: 100%; }
  .alvar-media > picture > img, .alvar-media > img, .alvar-media > video { width: 100%; height: 100%; object-fit: cover; }

  /* Grain: an overlay layer (SVG noise) inside any positioned box. */
  .alvar-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27220%27 height=%27220%27%3E%3Cfilter id=%27n%27 x=%270%27 y=%270%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.8%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%271.5 0 0 0 -.25 1.5 0 0 0 -.25 1.5 0 0 0 -.25 0 0 0 0 1%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
    background-size: 220px 220px;
    opacity: var(--alvar-grain-opacity, 0.16);
    mix-blend-mode: var(--alvar-grain-blend, overlay);
    z-index: var(--alvar-grain-z, auto);
  }
  .alvar-grain--alive { inset: -12%; animation: alvar-grain 0.9s steps(5) infinite; }
  @keyframes alvar-grain {
    0% { transform: translate3d(0, 0, 0); }
    20% { transform: translate3d(-4%, 3%, 0); }
    40% { transform: translate3d(3%, -5%, 0); }
    60% { transform: translate3d(-6%, -2%, 0); }
    80% { transform: translate3d(5%, 4%, 0); }
    100% { transform: translate3d(0, 0, 0); }
  }

  /* Gradient band: gold on the left into pink on the right, multiply, hard edge, full width.
     Default upper two thirds; --bottom = lower third; --full = whole image; or set the edges
     with --alvar-band-from and --alvar-band-to (0 = top, 1 = bottom). */
  .alvar-band {
    position: absolute;
    left: 0; right: 0;
    top: calc(var(--alvar-band-from, 0) * 100%);
    bottom: calc((1 - var(--alvar-band-to, 0.6667)) * 100%);
    background: linear-gradient(90deg, var(--alvar-band-left, var(--alvar-gold)), var(--alvar-band-right, var(--alvar-pink)));
    mix-blend-mode: multiply;
    pointer-events: none;
  }
  .alvar-band--top { --alvar-band-from: 0; --alvar-band-to: 0.6667; }
  .alvar-band--bottom { --alvar-band-from: 0.6667; --alvar-band-to: 1; }
  .alvar-band--full { --alvar-band-from: 0; --alvar-band-to: 1; }

  /* Reveal on scroll and parallax (alvar.js sets is-revealed and --parallax-y). Do not put both on
     the same element: they share transform. */
  [data-reveal] {
    opacity: 0;
    transform: translate3d(0, var(--reveal-y, 1.75rem), 0);
    transition: opacity var(--alvar-dur) var(--alvar-ease), transform var(--alvar-dur) var(--alvar-ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  [data-reveal].is-revealed { opacity: 1; transform: none; }
  /* Keyboard focus inside content that has not faded in yet shows it at once. Pointer focus is
     left alone: moving a link under the pointer between press and release swallows the click. */
  [data-reveal]:has(:focus-visible) { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-parallax] { transform: translate3d(0, var(--parallax-y, 0px), 0); }
}

@layer alvar.components {
  /* Buttons: one neutral base. Versions add their own look (A: hairline, B: gold). */
  .alvar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    min-height: 2.75rem;
    padding: 0.8em 1.35em;
    border: 1px solid currentColor;
    font-size: var(--alvar-size-caps);
    font-weight: var(--alvar-weight-regular);
    letter-spacing: var(--alvar-tracking-caps);
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--alvar-dur-fast) ease, color var(--alvar-dur-fast) ease, border-color var(--alvar-dur-fast) ease;
  }
  .alvar-button:hover { background: var(--alvar-fg-hover-bg, rgb(128 128 128 / 0.14)); }
  @supports (color: color-mix(in srgb, red 50%, blue)) {
    .alvar-button:hover { background: var(--alvar-fg-hover-bg, color-mix(in srgb, currentColor 10%, transparent)); }
  }
  .alvar-button[aria-disabled="true"] { cursor: default; opacity: 0.55; }
  .alvar-button--gold { background: var(--alvar-gold); border-color: var(--alvar-gold); color: var(--alvar-black); }
  .alvar-button--gold:hover { background: #e2c47c; border-color: #e2c47c; }

  /* Countdown: four thin boxes DAGAR TIM MIN SEK. */
  .alvar-countdown { display: inline-flex; flex-direction: column; gap: 0.5rem; font-variant-numeric: tabular-nums lining-nums; }
  .alvar-countdown__cells { display: flex; gap: var(--countdown-gap, 0.5rem); }
  .alvar-countdown__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4em;
    min-width: var(--countdown-cell-w, 4.4em);
    padding: var(--countdown-pad, 0.7em 0.6em 0.6em);
    border: 1px solid var(--countdown-line, var(--alvar-line));
  }
  .alvar-countdown__num { font-size: var(--countdown-size, 1.75rem); font-weight: var(--alvar-weight-light); line-height: 1; letter-spacing: 0.02em; }
  .alvar-countdown__label { font-size: var(--countdown-label-size, 0.625rem); letter-spacing: 0.18em; line-height: 1; text-transform: uppercase; opacity: 0.82; }
  .alvar-countdown__today { font-size: var(--countdown-size, 1.75rem); font-weight: var(--alvar-weight-light); letter-spacing: 0.12em; line-height: 1; text-transform: uppercase; }

  /* Calendar button and its menu. */
  .alvar-calendar { position: relative; display: inline-block; }
  .alvar-calendar__button::after {
    content: "";
    width: 0.45em; height: 0.45em;
    margin-top: -0.2em;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--alvar-dur-fast) ease;
  }
  .alvar-calendar__button[aria-expanded="true"]::after { transform: translateY(0.2em) rotate(-135deg); }
  .alvar-calendar__menu {
    position: absolute;
    z-index: 60;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: max(100%, 15.5rem);
    padding: 0.4rem 0;
    margin: 0;
    list-style: none;
    background: var(--alvar-menu-bg, #ffffff);
    color: var(--alvar-menu-fg, #111111);
    box-shadow: 0 18px 50px rgb(0 0 0 / 0.22), 0 0 0 1px rgb(0 0 0 / 0.06);
    text-align: left;
  }
  .alvar-calendar[data-placement~="top"] .alvar-calendar__menu { top: auto; bottom: calc(100% + 0.5rem); }
  .alvar-calendar[data-placement~="end"] .alvar-calendar__menu { left: auto; right: 0; }
  .alvar-calendar__item {
    display: block;
    padding: 0.75rem 1.1rem;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
  }
  .alvar-calendar__item:hover, .alvar-calendar__item:focus { background: rgb(0 0 0 / 0.06); outline: none; }
  .alvar-calendar__item:focus-visible { box-shadow: inset 2px 0 0 var(--alvar-gold-deep); }

  /* Partners: main partners large and still, the rest in a slow seamless strip. Logo width is
     --logo-k times the square root of its aspect ratio (alvar.js sets --logo-r), which gives
     every logo the same optical size. */
  .alvar-partners {
    --logo-k: 46px;
    --logo-k-main: 80px;
    --logo-gap: clamp(2.25rem, 4.4vw, 4.75rem);
    --strip-speed: 34;
    --logo-filter: brightness(0) invert(1);
  }
  .alvar-partners__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5.5vw, 6rem);
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  }
  .alvar-logo { flex: none; width: calc(var(--logo-k) * var(--logo-r, 2)); color: inherit; }
  .alvar-partners__main .alvar-logo { width: calc(var(--logo-k-main) * var(--logo-r, 2)); }
  .alvar-logo img { width: 100%; height: auto; filter: var(--logo-filter, none); }
  .alvar-logo--text {
    width: auto;
    font-size: calc(var(--logo-k) * 0.36);
    font-weight: var(--alvar-weight-semibold);
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
  }
  .alvar-partners__main .alvar-logo--text { font-size: calc(var(--logo-k-main) * 0.36); }
  .alvar-on-light { --logo-filter: brightness(0); }

  .alvar-strip { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); }
  .alvar-strip__viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-block: 0.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .alvar-strip__track { display: flex; width: max-content; animation: alvar-strip var(--strip-duration, 90s) linear infinite; }
  .alvar-strip__group { display: flex; flex: none; align-items: center; gap: var(--logo-gap); padding-inline-end: var(--logo-gap); }
  .alvar-strip__viewport:hover .alvar-strip__track,
  .alvar-strip__viewport:focus .alvar-strip__track,
  .alvar-strip[data-paused] .alvar-strip__track { animation-play-state: paused; }
  .alvar-strip--static .alvar-strip__track { animation: none; width: auto; justify-content: center; }
  .alvar-strip--static .alvar-strip__group + .alvar-strip__group, .alvar-strip--static .alvar-strip__pause { display: none; }
  .alvar-strip__pause {
    position: relative;
    flex: none;
    width: 2.5rem; height: 2.5rem;
    border: 1px solid var(--alvar-line);
    border-radius: 50%;
  }
  .alvar-strip__pause::before, .alvar-strip__pause::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2px; height: 0.75rem;
    background: currentColor;
    transform: translateY(-50%);
  }
  .alvar-strip__pause::before { left: calc(50% - 4px); }
  .alvar-strip__pause::after { left: calc(50% + 2px); }
  .alvar-strip__pause[aria-pressed="true"]::before {
    left: calc(50% - 3px);
    width: 0; height: 0;
    background: none;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent currentColor;
  }
  .alvar-strip__pause[aria-pressed="true"]::after { display: none; }
  @media (max-width: 48em), (pointer: coarse) {
    .alvar-strip__pause { width: 2.75rem; height: 2.75rem; }
  }
  @keyframes alvar-strip { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

  /* The A in 3D: stacked layers along translateZ (at most 1 px apart at the shown size), light
     gold front and back with a sheen that follows the turn, darker gold core, and side walls along
     the polygon's edges so the A stays solid even straight from the side. */
  .alvar-a3d {
    --a3d-size: 240px;
    --a3d-depth: 0.07;
    --a3d-turn: 24s;
    --a3d-face: #e3c77d;
    --a3d-face-dim: #a98a45;
    --a3d-sheen: rgb(255 247 222 / 0.92);
    --a3d-side: #8a682b;
    --a3d-side-lit: #c8a253;
    --a3d-core: #5c4419;
    --a3d-t: 0;
    position: relative;
    flex: none;
    width: calc(var(--a3d-size) * 0.869928);
    height: var(--a3d-size);
    perspective: calc(var(--a3d-size) * 4.2);
    perspective-origin: 50% 46%;
  }
  .alvar-a3d__body {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
    animation: alvar-a3d-spin var(--a3d-turn) linear infinite;
    animation-delay: calc(var(--a3d-turn) * var(--a3d-t) * -1);
  }
  .alvar-a3d__layer, .alvar-a3d__face { position: absolute; inset: 0; }
  .alvar-a3d__layer { background: var(--a3d-core); }
  .alvar-a3d__face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-color: var(--a3d-face);
    background-image: linear-gradient(104deg, transparent 0 41%, var(--a3d-sheen) 50%, transparent 59% 100%);
    background-size: 300% 100%;
    background-repeat: no-repeat;
    animation: alvar-a3d-face var(--a3d-turn) linear infinite;
    animation-delay: calc(var(--a3d-turn) * (var(--a3d-t) + var(--a3d-phase, 0)) * -1);
  }
  .alvar-a3d__face--back { --a3d-phase: 0.5; }
  .alvar-a3d__wall {
    position: absolute;
    left: 0; top: 0;
    transform-origin: 0 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--a3d-side);
  }
  .alvar-a3d__wall--l, .alvar-a3d__wall--r {
    animation: alvar-a3d-wall var(--a3d-turn) linear infinite;
    animation-delay: calc(var(--a3d-turn) * (var(--a3d-t) + var(--a3d-phase, 0)) * -1);
  }
  .alvar-a3d__wall--r { --a3d-phase: 0.5; }
  /* Off screen the turn pauses (all parts at once, so face, sheen and walls stay in step). */
  .alvar-a3d.is-offscreen .alvar-a3d__body,
  .alvar-a3d.is-offscreen .alvar-a3d__face,
  .alvar-a3d.is-offscreen .alvar-a3d__wall { animation-play-state: paused; }
  @keyframes alvar-a3d-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
  @keyframes alvar-a3d-face {
    0% { background-color: var(--a3d-face); background-position: 55% 0; }
    25% { background-color: var(--a3d-face-dim); background-position: 95% 0; }
    75% { background-color: var(--a3d-face-dim); background-position: 15% 0; }
    100% { background-color: var(--a3d-face); background-position: 55% 0; }
  }
  @keyframes alvar-a3d-wall {
    0% { background-color: var(--a3d-side); }
    25% { background-color: var(--a3d-side-lit); }
    50%, 100% { background-color: var(--a3d-side); }
  }

  /* Winners: years as tabs, nine rows per year, the motivation in details. */
  .alvar-winners__tabs { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3.2vw, 3rem); margin-bottom: clamp(1.75rem, 4vw, 3.25rem); }
  .alvar-winners__tab {
    padding: 0.05em 0 0.1em;
    border-bottom: 1px solid transparent;
    font-size: var(--winners-tab-size, clamp(2rem, 1.2rem + 3.6vw, 4.75rem));
    font-weight: var(--alvar-weight-light);
    font-variant-numeric: lining-nums;
    letter-spacing: -0.01em;
    line-height: 1;
    opacity: 0.6;
    transition: opacity var(--alvar-dur-fast) ease, border-color var(--alvar-dur-fast) ease;
  }
  .alvar-winners__tab:hover { opacity: 0.85; }
  .alvar-winners__tab[aria-selected="true"] { opacity: 1; border-bottom-color: currentColor; }
  /* Years without winners: only in the placeholder view, never clickable. */
  .alvar-winners__tab[data-missing] { opacity: 0.3; cursor: default; }
  html:not(.alvar-show-placeholders) .alvar-winners__tab[data-missing] { display: none !important; }
  @media (max-width: 48em), (pointer: coarse) {
    /* Touch targets of at least 44 x 44 px without changing the layout. */
    .alvar-winners__tab, .alvar-winners__details summary { position: relative; }
    .alvar-winners__tab::after, .alvar-winners__details summary::after {
      content: "";
      position: absolute;
      inset: min(0px, (100% - 2.75rem) / 2);
    }
  }
  .alvar-winners__meta { margin-bottom: 1.5rem; color: var(--alvar-muted); }
  .alvar-winners__row {
    display: grid;
    gap: 0.35rem 2rem;
    padding-block: 1.3rem 1.2rem;
    border-top: 1px solid var(--alvar-line);
  }
  .alvar-winners__category { color: var(--winners-category, var(--alvar-accent)); }
  .alvar-winners__name { font-size: var(--alvar-size-h3); font-weight: var(--alvar-weight-light); line-height: 1.25; }
  .alvar-winners__details summary {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    margin-top: 0.35rem;
    cursor: pointer;
    list-style: none;
    font-size: var(--alvar-size-caps);
    letter-spacing: var(--alvar-tracking-caps);
    text-transform: uppercase;
  }
  .alvar-winners__details summary::-webkit-details-marker { display: none; }
  .alvar-winners__details summary::before {
    content: "";
    width: 0.6rem; height: 0.6rem;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
    transition: transform var(--alvar-dur-fast) ease;
  }
  .alvar-winners__details[open] summary::before { transform: rotate(45deg); }
  .alvar-winners__text { max-width: var(--alvar-measure); margin-top: 0.85rem; color: var(--alvar-muted); }
  .alvar-winners__text + .alvar-winners__text { margin-top: 0.5rem; }
  @media (min-width: 60em) {
    .alvar-winners__row { grid-template-columns: minmax(12rem, 0.42fr) 1fr; align-items: baseline; }
    .alvar-winners__details { grid-column: 2; }
  }

  /* Subpage as a layer (dialog). */
  .alvar-subpage {
    width: min(48rem, 100% - 2rem);
    max-width: none;
    max-height: min(88svh, 100% - 2rem);
    margin: auto;
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--subpage-bg, var(--alvar-paper));
    color: var(--subpage-fg, var(--alvar-black));
  }
  .alvar-subpage::backdrop { background: rgb(8 8 8 / 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .alvar-subpage[open] { animation: alvar-subpage-in 0.5s var(--alvar-ease-out); }
  @keyframes alvar-subpage-in { from { opacity: 0; transform: translate3d(0, 1.25rem, 0); } }
  .alvar-subpage__inner { position: relative; padding: clamp(1.75rem, 5vw, 4rem); }
  .alvar-subpage__close {
    position: absolute;
    top: clamp(0.75rem, 2vw, 1.5rem);
    right: clamp(0.75rem, 2vw, 1.5rem);
    min-height: 2.75rem;
    padding: 0.6rem 0.9rem;
    font-size: var(--alvar-size-caps);
    letter-spacing: var(--alvar-tracking-caps);
    text-transform: uppercase;
  }
  .alvar-subpage__title {
    max-width: calc(100% - 5rem);
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    font-size: var(--alvar-size-h2);
    font-weight: var(--alvar-weight-light);
    line-height: 1.1;
  }
  .alvar-subpage__title:focus { outline: none; }
  .alvar-subpage__body { max-width: var(--alvar-measure); }
  .alvar-subpage__body > * + * { margin-top: 1em; }
  .alvar-subpage__body h3 {
    margin-top: 2.2em;
    font-size: var(--alvar-size-caps);
    font-weight: var(--alvar-weight-semibold);
    letter-spacing: var(--alvar-tracking-caps);
    text-transform: uppercase;
  }
  .alvar-subpage__body ul { padding-left: 1.1em; }
  .alvar-subpage__body li + li { margin-top: 0.3em; }

  /* Menu: behaviour lives in alvar.js, the look in each version. Closed menus are invisible
     and inert; versions may add transitions (opacity, transform, visibility). */
  [data-menu]:not([data-open]) { visibility: hidden; }

  /* Newsletter form (inactive in the preview). */
  .alvar-newsletter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; max-width: 30rem; }
  .alvar-newsletter__row { display: flex; align-items: stretch; gap: 0.75rem; border-bottom: 1px solid currentColor; }
  .alvar-newsletter__input { flex: 1; min-width: 0; padding: 0.85em 0; border: 0; background: transparent; outline-offset: 4px; }
  .alvar-newsletter__input::placeholder { color: inherit; opacity: 0.5; }
  .alvar-newsletter__button { padding: 0.85em 0; font-size: var(--alvar-size-caps); letter-spacing: var(--alvar-tracking-caps); text-transform: uppercase; }
  .alvar-newsletter__note, .alvar-newsletter__status { font-size: 0.8125rem; line-height: 1.45; color: var(--alvar-muted); }
  .alvar-newsletter__status:empty { display: none; }

  /* Pictures that have not been exported yet. */
  .alvar-picture--missing { display: block; background: repeating-linear-gradient(135deg, rgb(127 127 127 / 0.16) 0 10px, rgb(127 127 127 / 0.08) 10px 20px); min-height: 6rem; }
}

/* Reduced motion: nothing moves. The A rests at a fixed angle (same frame as the turn at -28
   degrees), the strip becomes a still grid, reveal and parallax are off. Transitions are removed
   outright: a short transition on visibility would keep menus and layers hidden for a frame, so
   focus could not move into them. */
@media (prefers-reduced-motion: reduce) {
  @layer alvar.utilities {
    /* Pseudo-elements are not allowed inside :where(), so they have selectors of their own. */
    :not(.alvar-a3d, .alvar-a3d *),
    :not(.alvar-a3d, .alvar-a3d *)::before,
    :not(.alvar-a3d, .alvar-a3d *)::after {
      animation-duration: 1ms !important;
      animation-iteration-count: 1 !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    [data-parallax] { transform: none; }
    .alvar-grain--alive { animation: none; inset: 0; }
  }
  @layer alvar.components {
    .alvar-a3d { --a3d-t: 0.922222; }
    .alvar-a3d__body, .alvar-a3d__face, .alvar-a3d__wall { animation-play-state: paused !important; }
    .alvar-strip__track { display: block; animation: none !important; width: auto; transform: none; }
    .alvar-strip__group { flex-wrap: wrap; justify-content: center; row-gap: 2.25rem; min-width: 0; padding-inline-end: 0; }
    .alvar-strip__group + .alvar-strip__group, .alvar-strip__group > [aria-hidden="true"], .alvar-strip__pause { display: none; }
    .alvar-strip__viewport { -webkit-mask-image: none; mask-image: none; }
    .alvar-subpage[open] { animation: none; }
  }
}
