/* 35th Alpe-Adria Meeting of Amateur Astronomers · Pula 2027
   World: a star-atlas plate (night chart) followed by the atlas's paper pages. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  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; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  src: url("../fonts/martianmono-latin-ext.woff2") format("woff2");
  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: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  src: url("../fonts/martianmono-latin.woff2") format("woff2");
  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; }

:root {
  /* night (chart) */
  --night: #0c1427;
  --night-2: #131d36;
  --night-3: #1b2747;
  --slate: #7e92ba;
  --slate-2: #a6b6d6;
  --star: #eef2f9;
  --brass: #d6a03f;
  /* paper (atlas pages) */
  --paper: #e9edf5;
  --paper-2: #dde3ee;
  --rule: #b4bfd3;
  --ink: #0c1427;
  --ink-2: #3a4867;
  --brass-ink: #855a10;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 34px);
  --measure: 68ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark light;
  scrollbar-color: var(--slate) var(--night);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--brass); color: var(--night); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.page:not(.page-night) :focus-visible, .title-block :focus-visible { outline-color: var(--ink); }
input { accent-color: var(--brass); caret-color: var(--brass); }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--paper); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- placeholders ---------- */
mark.ph {
  color: inherit;
  background: rgba(214, 160, 63, 0.2);
  border-bottom: 1.5px dashed currentColor;
  padding: 0 0.18em;
  border-radius: 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
mark.ph::after {
  content: attr(data-ph);
  font: 600 0.56em/1 var(--f-mono);
  letter-spacing: 0.02em;
  vertical-align: 0.9em;
  margin-left: 0.3em;
  color: var(--brass-ink);
  display: inline;
  white-space: nowrap;
}
.plate mark.ph::after, .page-night mark.ph::after, .foot mark.ph::after, .head mark.ph::after { color: var(--brass); }
.title-block mark.ph::after { color: var(--brass-ink); }

/* ---------- header (running head of the plate) ---------- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  height: 64px; padding: 0 var(--gutter);
  color: var(--slate-2);
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.head.is-solid { background: rgba(12, 20, 39, 0.96); border-bottom-color: rgba(160, 178, 214, 0.25); }
.head-id { display: flex; align-items: baseline; gap: 14px; text-decoration: none; white-space: nowrap; min-width: 0; }
.head-run { font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate-2); }
.head-run .hr-plate { font: 700 0.8rem/1 var(--f-sans); font-stretch: 88%; letter-spacing: 0.08em; color: var(--brass); }
.head-run output { color: var(--brass); }
.head-run mark.ph { padding: 0 0.1em; }
.head-name { display: none; font: 600 0.95rem/1 var(--f-sans); color: var(--star); font-stretch: 92%; }
.head.is-solid .head-run { display: none; }
.head.is-solid .head-name { display: inline; }
.head-nav { display: flex; gap: 22px; margin-left: auto; }
.head-nav a { font: 500 0.875rem/1 var(--f-sans); text-decoration: none; color: var(--slate-2); padding: 8px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.head-nav a:hover { color: var(--star); border-bottom-color: var(--brass); }
.lang { display: flex; border: 1px solid rgba(160, 178, 214, 0.4); }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 600 0.78rem/1 var(--f-sans); font-stretch: 88%; letter-spacing: 0.08em; color: var(--slate-2);
  min-width: 40px; height: 34px; padding: 0 8px;
  transition: background-color 0.2s, color 0.2s;
}
.lang button + button { border-left: 1px solid rgba(160, 178, 214, 0.25); }
.lang button:hover { color: var(--star); background: var(--night-3); }
.lang button[aria-pressed="true"] { background: var(--brass); color: var(--night); font-weight: 600; }

/* ---------- the plate ---------- */
.plate {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 680px; max-height: 1200px;
  background: var(--night);
  color: var(--star);
  overflow: hidden;
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.6s var(--ease-out); cursor: crosshair; touch-action: pan-y; }
.sky.is-fading { opacity: 0.15; }

.title-block {
  position: absolute; left: 34px; bottom: 30px; z-index: 2;
  width: min(600px, calc(100% - 420px));
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--brass);
  padding: 26px 32px 24px;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
}
.xxxv {
  font: 900 clamp(4.5rem, 8.5vw, 7.5rem)/0.78 var(--f-sans);
  font-stretch: 62%;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px -4px;
}
.title-block h1 {
  font: 700 clamp(1.7rem, 2.6vw, 2.45rem)/1.04 var(--f-sans);
  font-stretch: 86%;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.title-block .ord { font-stretch: 86%; }
.when { margin-top: 14px; font: 600 clamp(1.05rem, 1.4vw, 1.25rem)/1.35 var(--f-sans); }
.when .wd { color: var(--brass-ink); font-weight: 700; }
.lede { margin-top: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cta-note { margin-top: 10px; font-size: 0.875rem; color: var(--ink-2); }
.cta-note:empty { display: none; }
.hosts { margin-top: 16px; font: 400 0.8125rem/1.45 var(--f-sans); color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  font: 700 1.0625rem/1 var(--f-sans); font-stretch: 94%;
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink);
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}
.btn-primary { background: var(--night); color: var(--paper); border-color: var(--brass); box-shadow: inset 0 0 0 2px var(--night); }
.btn-primary:hover { background: var(--brass); color: var(--night); box-shadow: inset 0 0 0 2px var(--brass); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--ink); border-width: 1.5px; }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn.is-disabled { cursor: not-allowed; background: var(--paper-2); color: var(--ink-2); border-color: var(--rule); box-shadow: none; }

.legend {
  position: absolute; right: 34px; bottom: 30px; z-index: 2;
  width: 318px;
  background: var(--night);
  border: 1px solid rgba(160, 178, 214, 0.45);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
  padding: 16px 18px 14px;
  color: var(--slate-2);
  font-size: 0.8125rem;
}
.legend-h { font: 700 0.78rem/1 var(--f-sans); font-stretch: 88%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.legend-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.legend-label { color: var(--slate-2); }
.mags { width: 168px; height: 26px; overflow: visible; }
.mags text { font: 400 9px var(--f-mono); fill: var(--slate-2); }
.symbols { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(160, 178, 214, 0.2); display: grid; gap: 6px; }
.symbols li { display: flex; align-items: center; gap: 10px; }
.symbols svg { width: 22px; height: 22px; flex: none; }
.scrub { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(160, 178, 214, 0.2); }
.scrub-top { display: flex; align-items: center; gap: 12px; }
.play {
  appearance: none; display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border: 1.5px solid var(--brass); background: transparent; color: var(--brass); cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.play:hover { background: var(--brass); color: var(--night); }
.play svg { width: 14px; height: 14px; }
.play .i-pause, .play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.scrub-read { font: 500 0.875rem/1.2 var(--f-sans); color: var(--star); }
.scrub-read output { font: 600 1.15rem/1 var(--f-mono); color: var(--brass); margin: 0 2px; }
.scrub-read .tz { font: 400 0.7rem var(--f-mono); color: var(--slate-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 8px 0 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(160, 178, 214, 0.75) 0 1px, transparent 1px calc(100% / 5)) bottom / 100% 6px no-repeat,
    linear-gradient(rgba(160, 178, 214, 0.75), rgba(160, 178, 214, 0.75)) bottom / 100% 1px no-repeat;
}
input[type="range"]::-moz-range-track { height: 10px; background: linear-gradient(rgba(160, 178, 214, 0.75), rgba(160, 178, 214, 0.75)) bottom / 100% 1px no-repeat; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 22px; margin-top: -6px; background: var(--brass); border: 2px solid var(--night); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 20px; background: var(--brass); border: 2px solid var(--night); border-radius: 0; }
.scrub-ticks { position: relative; height: 12px; margin: 2px 7px 0; font: 400 0.625rem/1 var(--f-mono); color: var(--slate-2); }
.scrub-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.scrub-ticks span:first-child { transform: translateX(-7px); }
.scrub-ticks span:last-child { transform: translateX(calc(-100% + 7px)); }
.legend-note { margin-top: 10px; font-size: 0.75rem; line-height: 1.45; color: var(--slate-2); }

/* ---------- atlas pages ---------- */
main { background: var(--paper); }
.page { background: var(--paper); color: var(--ink); padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(56px, 7vw, 96px); }
.page + .page:not(.page-night) { padding-top: clamp(48px, 7vw, 96px); }
.page-in { max-width: 1180px; margin: 0 auto; }
.page h2 {
  position: relative;
  font: 700 clamp(2.1rem, 4.2vw, 3.4rem)/1.02 var(--f-sans);
  font-stretch: 80%;
  letter-spacing: -0.02em;
  padding-top: 26px;
  margin-bottom: clamp(24px, 3vw, 40px);
  text-wrap: balance;
}
/* the plate-border ruler: a scale with ticks, like the edge of an atlas chart */
.page h2::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  background:
    linear-gradient(var(--ink), var(--ink)) top / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px) top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 120px) top / 100% 9px no-repeat;
}
.page h3 { font: 700 1.3rem/1.2 var(--f-sans); font-stretch: 90%; }
.note { max-width: var(--measure); color: var(--ink-2); margin-bottom: 28px; }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

.facts { border-top: 1.5px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 600 0.78rem/1.5 var(--f-sans); font-stretch: 88%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.facts dd { font-weight: 600; }

/* programme */
.prog, .talks, .planets { width: 100%; border-collapse: collapse; }
.prog thead th, .talks thead th, .planets thead th {
  text-align: left; font: 600 0.78rem/1.4 var(--f-sans); font-stretch: 88%; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--ink);
}
.prog td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prog .pt { white-space: nowrap; font: 500 0.95rem/1.5 var(--f-mono); width: 11.5em; }
.prog .pt span { margin: 0 0.35em; color: var(--ink-2); }
.prog .pi strong { display: block; font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.prog .pi span { display: block; color: var(--ink-2); margin-top: 3px; max-width: 64ch; }
.prog .pv { white-space: nowrap; color: var(--ink-2); font-size: 0.9375rem; width: 9em; }
.prog .row-break .pi strong { font-weight: 500; font-size: 1rem; color: var(--ink-2); }
.prog .row-break td { padding-top: 10px; padding-bottom: 10px; }
.prog .row-night td { background: var(--night); color: var(--star); border-bottom: 0; padding-top: 22px; padding-bottom: 22px; }
.prog .row-night td:first-child { padding-left: 16px; color: var(--brass); }
.prog .row-night .pi span, .prog .row-night .pv { color: var(--slate-2); }
.prog .row-night mark.ph::after { color: var(--brass); }

/* venues */
.venues { display: grid; grid-template-columns: 1fr 2fr; gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.venue { display: flex; flex-direction: column; }
.venue-night { display: grid; grid-template-columns: 1fr 1fr; }
.venue-night .venue-photo { order: 2; aspect-ratio: auto; min-height: 260px; border-bottom: 0; border-left: 1px solid rgba(160, 178, 214, 0.3); }
.venue-body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 6px; align-content: start; flex: 1; }
.venue-day { background: var(--paper); }
.venue-night { background: var(--night); color: var(--star); }
.venue h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-stretch: 84%; }
.venue-full { color: var(--ink-2); }
.venue-night .venue-full, .venue-night .venue-note, .venue-night .venue-role { color: var(--slate-2); }
.venue-addr { font-weight: 600; margin-top: 8px; }
.venue-coords { font: 500 0.82rem/1.5 var(--f-mono); color: var(--brass); }
.venue-role { margin-top: 8px; font-weight: 500; }
.venue-note { color: var(--ink-2); max-width: 60ch; }
.venue-photo { aspect-ratio: 16 / 8; background: var(--night-2) url("../img/zvjezdarnica-pula.jpg") 50% 30% / cover no-repeat; border-bottom: 1px solid rgba(160, 178, 214, 0.3); }
.maplink { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; width: max-content; }
.maplink svg { width: 13px; height: 13px; }
.venue-night .maplink { color: var(--brass); }
.practical { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.practical h3 { font-size: 1.1rem; margin-bottom: 10px; }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.plist li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.plist a { color: var(--ink); font-weight: 600; }

/* evening sky (night page) */
.page-night { background: var(--night); color: var(--star); }
.page-night h2::before {
  background:
    linear-gradient(var(--slate-2), var(--slate-2)) top / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, var(--slate-2) 0 1px, transparent 1px 12px) top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--brass) 0 1.5px, transparent 1.5px 120px) top / 100% 9px no-repeat;
}
.page-night .note, .page-night .fine { color: var(--slate-2); }
.sky-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.eph { border-top: 1.5px solid var(--slate-2); }
.eph > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(160, 178, 214, 0.22); }
.eph dt { color: var(--slate-2); }
.eph dd time { font: 500 1.35rem/1 var(--f-mono); color: var(--star); }
.eph .none { color: var(--slate-2); font-size: 0.9rem; }
.moon-card { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(160, 178, 214, 0.22); }
.moon-card svg { width: 96px; height: 96px; flex: none; }
.moon-card strong { display: block; font-size: 1.35rem; font-stretch: 88%; }
.moon-card span { font: 400 0.85rem var(--f-mono); color: var(--slate-2); }
.sky-side h3 { font-size: 1.1rem; margin-bottom: 12px; }
.planets thead th { color: var(--slate-2); border-bottom-color: var(--slate-2); }
.planets td { padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(160, 178, 214, 0.22); }
.planets td:first-child { font-weight: 700; color: var(--brass); }
.planets .deg { font: 400 0.8rem var(--f-mono); color: var(--slate-2); }
.planets .none { color: var(--slate-2); font-weight: 400; }
.planets .when { font: 500 0.9rem/1.4 var(--f-mono); white-space: nowrap; }
.planets .tele { font-weight: 400; color: var(--slate-2); }
.fine { margin-top: 32px; font-size: 0.875rem; max-width: var(--measure); }

/* registration */
.reg-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.soon { color: var(--ink-2); font-size: 0.9375rem; }

/* archive */
.talks td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.talks .empty td { padding: 28px 0; color: var(--ink-2); border-bottom: 1px dashed var(--rule); }
.photos-h { margin-top: 48px; margin-bottom: 14px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.empty-note { color: var(--ink-2); padding: 24px 0; border-top: 1px dashed var(--rule); border-bottom: 1px dashed var(--rule); grid-column: 1 / -1; }

/* organisers */
.orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); border-top: 1.5px solid var(--ink); padding-top: 28px; }
.org { display: flex; gap: 18px; align-items: flex-start; }
.org h3 { font-size: 1.1rem; margin-bottom: 4px; }
.org p { color: var(--ink-2); }
.org p + p { margin-top: 2px; }
.org a { color: var(--ink); font-weight: 600; }
.org-logo { width: 72px; height: 72px; mix-blend-mode: multiply; flex: none; }
.org-mark { width: 72px; height: 72px; flex: none; display: grid; place-items: center; border: 1.5px dashed var(--rule); font-size: 0.8125rem; color: var(--ink-2); }

/* footer */
.foot { background: var(--night); color: var(--slate-2); padding: 48px var(--gutter) 56px; border-top: 2px solid var(--brass); }
.foot-in { max-width: 1180px; margin: 0 auto; display: grid; gap: 10px; }
.foot-line { color: var(--star); font-weight: 600; font-stretch: 90%; font-size: 1.05rem; }
.foot-ph { font-size: 0.875rem; }
.foot-credits { font: 400 0.8125rem/1.6 var(--f-sans); color: var(--slate-2); margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1439px) {
  .head-run .hr-coord, .head-run .hr-date { display: none; }
}
@media (max-width: 1180px) {
  .head-nav { gap: 16px; }
  .head-nav a { font-size: 0.8125rem; }
}
@media (max-width: 1040px) {
  html { scroll-padding-top: 108px; }
  .head { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: 10px; }
  .head-id { height: 44px; align-items: center; }
  .lang { margin-left: auto; }
  .head-nav { order: 3; width: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .head-nav::-webkit-scrollbar { display: none; }
  .head-nav a { white-space: nowrap; padding: 6px 0 8px; }
}
@media (max-height: 820px) and (min-width: 761px) {
  .lede { display: none; }
  .xxxv { font-size: clamp(4rem, 7vw, 6rem); }
}
@media (max-width: 960px) {
  .cols, .sky-cols { grid-template-columns: 1fr; }
  .venues { grid-template-columns: 1fr; }
  .venue-night { grid-template-columns: 1fr; }
  .venue-night .venue-photo { order: 0; aspect-ratio: 16 / 8; min-height: 0; border-left: 0; border-bottom: 1px solid rgba(160, 178, 214, 0.3); }  .orgs { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .head { gap: 12px; padding-top: 6px; }
  .head-run .hr-coord, .head-run .hr-date, .head-run .hr-tz { display: none; }
  .head-id { height: 40px; }
  .head.is-solid .head-name { display: none; }
  .head.is-solid .head-run { display: inline; }
  .plate { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .sky { position: relative; inset: auto; height: 56svh; min-height: 400px; flex: none; }
  .title-block { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 12px 0; padding: 20px 20px 18px; }
  .xxxv { font-size: 4.6rem; }
  .lede { display: block; }
  .legend { position: relative; right: auto; bottom: auto; width: auto; margin: 12px 12px 16px; }
  .practical { grid-template-columns: 1fr; }
  .prog thead { display: none; }
  .prog tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .prog td, .prog .row-break td { border: 0; padding: 0; }
  .prog .pt { grid-column: 1; width: auto; font-size: 0.875rem; color: var(--ink-2); }
  .prog .pv { grid-column: 2; grid-row: 1; width: auto; text-align: right; font-size: 0.8125rem; }
  .prog .pi { grid-column: 1 / -1; margin-top: 4px; }
  .prog .row-night { background: var(--night); padding: 16px; margin: 8px -4px 0; }
  .prog .row-night td { padding: 0; }
  .prog .row-night td:first-child { padding-left: 0; }
  .talks thead { display: none; }
  .talks tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .talks td { display: block; border: 0; padding: 2px 0; }
  .facts > div { grid-template-columns: 7.5em 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
