/* Self-hosted fonts (assets/fonts): the browser only downloads the alphabets a page uses */
@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/commissioner-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/commissioner-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: 'Commissioner'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/commissioner-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: 'Noto Serif Display'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('../fonts/noto-serif-display-italic-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Noto Serif Display'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('../fonts/noto-serif-display-italic-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: 'Noto Serif Display'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('../fonts/noto-serif-display-italic-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: 'Noto Serif Display'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/noto-serif-display-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/noto-serif-display-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: 'Noto Serif Display'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/noto-serif-display-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 {
  --forest: #3e5445;
  --forest-deep: #2c3b31;
  --forest-night: #1f2a23;
  --cream: #f2ebb3;
  --paper: #f5f3ea;
  --ink: #1d2620;
  --pad-x: clamp(24px, 5vw, 64px);
  --sans: 'Commissioner', system-ui, sans-serif;
  --serif: 'Noto Serif Display', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--forest-deep); }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.page { background: var(--forest); color: #fff; font-family: var(--sans); overflow-x: clip; } /* clip (not hidden) so the sticky menu works */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.serif-i { font-family: var(--serif); font-style: italic; }

/* ── Hero ── */
.hero { position: relative; min-height: max(620px, calc(100vh - 98px)); display: flex; flex-direction: column; } /* one screen, minus the menu bar */
.hero-art {
  position: absolute; right: -8%; top: 0; height: 92%; aspect-ratio: 3/2; background: var(--forest);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%), linear-gradient(to top, transparent 0%, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 18%), linear-gradient(to top, transparent 0%, #000 14%);
  mask-composite: intersect;
}

.hero-title { position: relative; flex: 1; padding: clamp(32px, 6vh, 72px) var(--pad-x) 0; }
.hero-title .eyebrow { color: var(--cream); }
/* Logo lockup (3141×2335): capped by width and by viewport height so the hero still fits one screen */
.hero-logo { margin: 28px 0 0; width: clamp(320px, min(62vw, (100vh - 314px) * 1.345), 880px); }
.hero-logo img { display: block; width: 100%; height: auto; }

.facts {
  position: relative; margin: 48px var(--pad-x) 40px; padding-top: 20px; border-top: 2px solid var(--cream);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 32px; font-size: 15px; line-height: 1.4;
}
.facts .date { font-weight: 700; font-size: 28px; letter-spacing: -.01em; }
.facts div:not(.date) { color: rgba(255,255,255,.85); }
.facts div.venue { font-size: clamp(19px, 1.9vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.005em; color: #fff; }

/* Phones: image becomes its own block under the title so the pulse never crosses the text */
@media (max-width: 760px) {
  .hero-art {
    order: 2; position: relative; right: auto; top: auto; width: 100%; height: auto; margin: 32px 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 78%, transparent 100%);
  }
  .hero-title { order: 1; flex: none; }
  .hero-logo { width: 100%; }
  .facts { order: 3; margin-top: auto; }
}

/* ── Welcome ── */
.welcome { background: var(--paper); color: var(--ink); padding: clamp(72px, 10vw, 120px) var(--pad-x); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 64px; }
.welcome .eyebrow { border-top: 2px solid var(--ink); padding-top: 14px; align-self: start; }
.welcome-body { min-width: 0; max-width: 880px; }
.welcome h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -.01em; text-wrap: pretty; }
.welcome h2 em { color: var(--forest); }
.welcome p { margin: 40px 0 0; max-width: 640px; font-size: 18px; line-height: 1.65; color: #39433c; text-wrap: pretty; }
.signoff { margin-top: 36px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.signoff .name { font-size: 26px; }
.signoff .role { font-size: 14px; color: #5b6e5f; }
@media (min-width: 900px) { .welcome { grid-template-columns: minmax(200px, 1fr) 3fr; } }

/* Link to the full welcome address (welcome.html) */
.read-more {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding: 20px 0;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .2s;
}
.read-more::after { content: '\2192'; flex: none; font-size: 22px; font-weight: 400; line-height: 1; letter-spacing: 0; color: var(--forest); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.read-more:hover { color: var(--forest); opacity: 1; }
.read-more:hover::after { transform: translateX(6px); }
.read-more:focus-visible { outline-color: var(--forest); }

/* ── Countdown ── */
.countdown { background: var(--forest-night); padding: clamp(64px, 8vw, 96px) var(--pad-x); }
.countdown-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--cream); padding-top: 14px; }
.countdown-head .when { font-size: 22px; color: var(--cream); }
.units {
  display: grid; margin: 32px 0 0; padding: 0; list-style: none; border-left: 2px solid rgba(242,235,179,.2);
  grid-template-columns: repeat(auto-fit, minmax(clamp(calc(25% - 1px), (960px - 100%) * 999, calc(50% - 1px)), 1fr));
}
.unit { min-width: 0; padding: 36px clamp(16px, 2.5vw, 32px) 32px; border-right: 2px solid rgba(242,235,179,.2); border-bottom: 2px solid rgba(242,235,179,.2); }
.unit-label { display: flex; justify-content: space-between; gap: 8px; font-size: clamp(11px, 1.2vw, 13px); font-weight: 600; letter-spacing: .12em; }
.unit-label i { font-style: normal; color: var(--cream); }
.unit-value { margin-top: 20px; font-weight: 800; font-size: clamp(64px, 8vw, 112px); line-height: 1; letter-spacing: -.05em; color: var(--cream); font-variant-numeric: tabular-nums; }
.trace { display: block; width: 100%; height: 40px; margin-top: 16px; overflow: visible; }
.trace path { fill: none; stroke: rgba(242,235,179,.55); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trace.beat path { stroke: var(--cream); stroke-dasharray: 320; animation: ecgBeat .9s ease-out both; filter: drop-shadow(0 0 4px rgba(242,235,179,.7)); }
@keyframes ecgBeat { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }

/* ── Updates / footer ── */
.updates { padding: clamp(72px, 10vw, 120px) var(--pad-x) 40px; }
.updates .eyebrow { border-top: 2px solid var(--cream); padding-top: 14px; }
.site-link { display: block; margin-top: 40px; font-weight: 800; font-size: clamp(56px, 12vw, 168px); line-height: .9; letter-spacing: -.05em; overflow-wrap: anywhere; }
.site-link span { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--cream); }
.signup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px 64px; margin-top: 64px; align-items: end; }
.signup-copy { max-width: 520px; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; text-wrap: pretty; }
.signup-copy em { color: var(--cream); }
.signup-form { display: flex; border-bottom: 2px solid var(--cream); }
.signup-form input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 400 18px var(--sans); padding: 16px 0; }
.signup-form input[type=email]::placeholder { color: rgba(255,255,255,.5); }
.signup-form button { background: var(--cream); color: var(--ink); border: 0; border-radius: 0; padding: 0 24px; margin-bottom: 8px; font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-align: left; }
.signup-form button:hover { background: #fff; }
.signup-form button:disabled { opacity: .6; cursor: wait; }
.signup-done { border-bottom: 2px solid var(--cream); padding: 16px 0; font-size: 17px; color: var(--cream); }
.signup-done[hidden], .signup-form[hidden] { display: none; }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 96px; padding-top: 20px; border-top: 1px solid rgba(242,235,179,.25); font-size: 13px; color: rgba(255,255,255,.6); }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.consent-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-link:hover { opacity: .8; }
.prose .consent-link { color: var(--forest); }
.prose .consent-link:focus-visible { outline-color: var(--forest); }

/* ══ Content pages (structure in _template.html) ══ */

/* Page header: section label, big title, serif lede, then an ECG line that draws in along the bottom edge */
.page-head { padding: clamp(56px, 9vw, 120px) var(--pad-x) 0; }
.page-head .eyebrow { color: var(--cream); }
.page-title {
  margin: 24px 0 0; max-width: 14ch; font-weight: 800; font-size: clamp(44px, 9vw, 132px); line-height: .92; letter-spacing: -.045em;
  text-wrap: balance; hyphens: auto;
}
.page-lede { margin: 32px 0 0; max-width: 760px; font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; color: var(--cream); text-wrap: pretty; }
.page-note { margin: 20px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.page-trace {
  display: block; width: calc(100% + 2 * var(--pad-x)); height: 72px; margin: clamp(40px, 6vw, 72px) calc(-1 * var(--pad-x)) 0; overflow: visible;
  clip-path: inset(-20px 100% -20px 0); animation: traceDraw 1.8s cubic-bezier(.65, .05, .25, 1) .25s forwards;
}
.page-trace path { fill: none; stroke: var(--cream); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(242,235,179,.45)); }
@keyframes traceDraw { to { clip-path: inset(-20px 0 -20px 0); } }

/* Page body on paper: sections are an aside (label/byline, sticky on desktop) + prose */
.page-body { background: var(--paper); color: var(--ink); padding: clamp(64px, 9vw, 112px) var(--pad-x); }
.page-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 64px; }
.page-section + .page-section { margin-top: clamp(72px, 9vw, 112px); }
.page-aside .eyebrow { border-top: 2px solid var(--ink); padding-top: 14px; }
.page-aside h2.eyebrow { margin: 0; } /* section label used as the section's heading */
.page-aside-body { margin-top: 20px; font-size: 14px; line-height: 1.5; color: #5b6e5f; }
.page-aside-body .name { display: block; margin-bottom: 6px; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.2; color: var(--ink); }
@media (min-width: 900px) {
  .page-section { grid-template-columns: minmax(200px, 1fr) 3fr; }
  .page-aside { position: sticky; top: 128px; align-self: start; }
}

/* Long-form text */
.prose { min-width: 0; max-width: 680px; font-size: 18px; line-height: 1.7; color: #39433c; text-wrap: pretty; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; color: var(--ink); }
.prose h3 { margin-top: 2em; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-top: 1.4em; padding-left: 24px; border-left: 2px solid var(--forest); font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--ink); }
.prose blockquote + * { margin-top: 1.4em; }
.prose .salutation { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--ink); }
.prose .salutation + * { margin-top: 1.6em; }
.prose .highlight { margin-top: 1.4em; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--ink); }
.prose .highlight em { color: var(--forest); }
.prose .closing { margin-top: 2.2em; color: var(--ink); }
.prose .signoff { margin-top: 20px; }
.prose .signoff .role { flex-basis: 100%; }

/* Key figures: a big number over a short label */
.prose .figures { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 28px 24px; }
.prose > .figures { margin-top: 2em; }
.prose > .figures + * { margin-top: 2em; }
.prose .figures li { margin: 0; padding-top: 14px; border-top: 2px solid var(--ink); }
.figures b { display: block; font-weight: 800; font-size: clamp(36px, 3.4vw, 44px); line-height: 1; letter-spacing: -.04em; color: var(--forest); font-variant-numeric: tabular-nums; }
.figures span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: #5b6e5f; }

/* Milestones: a vertical line with a square marker per year; .is-now fills the marker */
.prose .timeline { list-style: none; margin-left: 5px; padding: 0; border-left: 2px solid rgba(29,38,32,.18); }
.prose > .timeline { margin-top: 1.6em; }
.prose .timeline li { position: relative; margin: 0; padding: 0 0 28px 28px; }
.prose .timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--forest); }
.timeline li.is-now::before { background: var(--forest); }
.timeline b { display: block; font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.5; }
.timeline .is-now span { color: var(--ink); font-weight: 600; }

/* Entries: a two-column list of named items (formats, initiatives) with an optional tag */
.prose .entries { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 32px; }
.prose > .entries { margin-top: 1.6em; }
.prose > .entries + * { margin-top: 1.6em; }
.prose .entries li { margin: 0; padding: 18px 0 22px; border-top: 1px solid rgba(29,38,32,.2); }
.entry-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); }
.entry-k small { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); }
.prose .entries p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; }

/* Tags: short items in outlined boxes */
.prose .tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prose .tags li { margin: 0; padding: 7px 14px; border: 1px solid var(--forest); font-size: 14px; line-height: 1.3; color: var(--forest); }

/* Roster: role → name rows (boards, committees) */
.roster { margin: 0; border-bottom: 1px solid rgba(29,38,32,.2); }
.roster > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4px 24px; padding: 18px 0; border-top: 1px solid rgba(29,38,32,.2); }
.roster dt { padding-top: .55em; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5b6e5f; }
.roster dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; color: var(--ink); }
.roster dd small { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 14px; line-height: 1.45; color: #5b6e5f; }
.prose > p + .roster { margin-top: 1.6em; }
@media (max-width: 560px) { .roster > div { grid-template-columns: minmax(0, 1fr); } .roster dt { padding-top: 0; } }

/* Wide photo between the page header and the body */
.page-figure { margin: 0; background: var(--forest-night); }
.page-figure img { display: block; width: 100%; height: clamp(260px, 52vw, 72vh); object-fit: cover; }
.page-figure figcaption { padding: 14px var(--pad-x); font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.7); }

/* Wider prose column for photo grids; running text keeps the reading measure */
.prose.is-wide { max-width: 1000px; }
.prose.is-wide > :is(p, h2, h3, ul.figures) { max-width: 680px; }

/* Halls: photo cards with code, capacity (or area) and an optional bar scaled to the largest hall (--cap / 930) */
.prose .halls { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 40px 24px; }
.prose .halls.is-lead { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.prose > .halls { margin-top: 1.6em; }
.prose > .halls + * { margin-top: 1.8em; }
.prose .halls li { margin: 0; display: flex; flex-direction: column; }
.hall img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #e4e1d3; }
.hall-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--ink); }
.hall-code { font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.hall-cap { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5b6e5f; white-space: nowrap; }
.hall-cap b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--forest); }
.hall-bar { display: block; height: 4px; margin-top: 10px; background: rgba(29,38,32,.1); }
.hall-bar::before { content: ''; display: block; height: 100%; width: calc(var(--cap) / 930 * 100%); background: var(--forest); }
.prose .hall-name { margin: 10px 0 0; font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.35; color: var(--ink); }
.prose .halls p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; }
.hall.no-photo .hall-k { margin-top: 0; }

/* Fees: category rows × price periods. The open period is highlighted; main.js adds .is-late once data-until has passed */
.prose .fees { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prose > .fees { margin-top: 1.6em; }
.prose > .fees + * { margin-top: 1.6em; }
.fees th, .fees td { padding: 16px 0; border-top: 1px solid rgba(29,38,32,.2); text-align: left; vertical-align: baseline; }
.fees tbody tr:last-child > * { border-bottom: 1px solid rgba(29,38,32,.2); }
.fees thead th { padding: 0 0 14px; border-top: 0; border-bottom: 2px solid var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5b6e5f; vertical-align: bottom; }
.fees thead th small { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.fees tbody th { padding-right: 24px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.fees .fee { width: 22%; padding-left: 16px; text-align: right; white-space: nowrap; font-size: 20px; font-weight: 500; color: #5b6e5f; }
.fees thead .fee { font-size: 13px; color: #5b6e5f; }
.fees thead .fee small { color: #5b6e5f; }
.fees:not(.is-late) .fee.is-early, .fees.is-late .fee.is-late { color: var(--forest); }
.fees:not(.is-late) td.fee.is-early, .fees.is-late td.fee.is-late { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.fees:not(.is-late) thead .fee.is-early small, .fees.is-late thead .fee.is-late small { color: var(--forest); }
.fees-note { font-size: 14px; color: #5b6e5f; }
.prose > .fees + .fees-note { margin-top: 12px; }
@media (max-width: 560px) {
  .fees tbody th { font-size: 15px; padding-right: 12px; }
  .fees .fee { font-size: 16px; padding-left: 8px; }
  .fees:not(.is-late) td.fee.is-early, .fees.is-late td.fee.is-late { font-size: 19px; }
}

/* Deadline in the page header: a big date and a "days left" note filled in by main.js from data-deadline */
.page-deadline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; max-width: 760px; margin-top: 40px; padding-top: 16px; border-top: 2px solid var(--cream); }
.page-head .page-deadline .eyebrow { flex-basis: 100%; color: rgba(255,255,255,.7); }
.deadline-date { font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.045em; color: var(--cream); font-variant-numeric: tabular-nums; }
.deadline-left { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.deadline-left:empty { display: none; }

/* Time bar: a session split per speaker into talk (solid) and discussion (hatched); --min sets each part's share */
.prose .timebar { margin-top: 1.8em; }
.prose .timebar + * { margin-top: 1.8em; }
.timebar ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.prose .timebar li { flex: 1 1 0; min-width: 0; margin: 0; }
.timebar-n { display: block; padding-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.timebar-bar { display: flex; height: 48px; }
.timebar-bar i { flex: var(--min) 1 0; display: flex; align-items: center; padding: 0 12px; overflow: hidden; background: var(--forest); color: var(--cream); font-style: normal; font-size: 14px; font-weight: 700; white-space: nowrap; }
.timebar-bar i.is-qa, .timebar-key.is-qa { background: repeating-linear-gradient(135deg, rgba(62,84,69,.55) 0 2px, rgba(62,84,69,.14) 2px 6px); color: var(--ink); }
.timebar-bar i.is-qa { padding: 0; justify-content: center; }
.timebar-t { display: block; padding-top: 8px; text-align: right; font-size: 13px; font-weight: 600; color: #5b6e5f; font-variant-numeric: tabular-nums; }
.timebar figcaption { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 14px; color: #5b6e5f; }
.timebar figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.timebar-key { width: 18px; height: 12px; background: var(--forest); }
@media (max-width: 560px) { .timebar-bar { height: 36px; } .timebar-bar i { padding: 0 6px; font-size: 12px; } }

/* Structure: numbered parts in a row (e.g. the sections of an abstract) */
.prose .structure { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 4px; counter-reset: part; }
.prose .structure li { margin: 0; padding: 14px 16px 18px; background: rgba(62,84,69,.07); border-top: 2px solid var(--forest); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); counter-increment: part; }
.structure li::before { content: counter(part, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--forest); }

/* Callout: a tinted note for conditions and warnings; a leading <b> becomes its label */
.prose .callout { padding: 20px 24px; background: rgba(62,84,69,.07); border-left: 2px solid var(--forest); font-size: 16px; line-height: 1.6; }
.callout > b:first-child { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }

/* Downloads: preview tiles with a download link (emblems, logos) */
.prose .downloads { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px 24px; }
.prose > .downloads { margin-top: 1.6em; }
.prose .downloads li { margin: 0; }
.prose .download { display: block; color: var(--ink); text-decoration: none; }
.download img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; padding: 12px; background: #fff; border: 1px solid rgba(29,38,32,.12); transition: border-color .2s; }
.download-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.download-k small { margin-left: auto; font-size: 12px; letter-spacing: .08em; color: #5b6e5f; }
.download-k::after { content: '\2193'; font-size: 20px; font-weight: 400; line-height: 1; letter-spacing: 0; color: var(--forest); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.download:hover { opacity: 1; }
.download:hover img { border-color: var(--forest); }
.download:hover .download-k::after { transform: translateY(4px); }

/* Contact: a logo panel (white for dark-on-light logos, .is-dark for white logos) + a large mail link; details use dl.roster */
.prose .contact-logo { display: block; margin-bottom: 32px; padding: clamp(20px, 4vw, 36px); }
.prose .contact-logo.is-dark { background: var(--forest-deep); border-color: var(--forest-deep); }
.contact-logo img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.contact-logo.is-dark img { max-width: 320px; }
.prose .contact-mail { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; overflow-wrap: anywhere; }
.prose .contact-mail:hover { color: var(--forest); opacity: 1; }
.prose .contact-mail + p { margin-top: 1em; }
.prose .roster a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose .roster a:hover { color: var(--forest); opacity: 1; }

/* Cream button inside the page header */
.page-head .page-cta-link { display: inline-flex; margin-top: 40px; }

/* Links to sibling pages at the end of the body (uses .read-more) */
.page-more > div { min-width: 0; max-width: 680px; }
.prose .read-more { color: var(--ink); text-decoration: none; }
.read-more.is-external::after { content: '\2197'; }
.page-more .read-more { margin-top: 0; }
.page-more .read-more + .read-more { border-top: 0; }
/* Not yet published (handbooks, guides): greyed out with a "soon" note from data-soon */
.read-more.is-soon, .read-more.is-soon:hover { color: rgba(29,38,32,.45); cursor: default; }
.read-more.is-soon::after, .read-more.is-soon:hover::after { content: attr(data-soon); transform: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: #5b6e5f; }

/* Closing call-to-action band */
.page-cta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px 64px; align-items: end;
  padding: clamp(64px, 8vw, 96px) var(--pad-x); background: var(--forest-night);
}
.page-cta-copy { max-width: 560px; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; text-wrap: pretty; }
.page-cta-copy em { color: var(--cream); }
.page-cta-link {
  justify-self: start; display: flex; gap: 28px; padding: 18px 24px; background: var(--cream); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .2s;
}
.page-cta-link:hover { background: #fff; opacity: 1; }
@media (min-width: 900px) { .page-cta-link { justify-self: end; } }

/* Site footer (rendered by footer.js) */
.site-footer { padding: clamp(56px, 7vw, 80px) var(--pad-x) 40px; }
.site-footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 32px; padding-top: 20px; border-top: 2px solid var(--cream); }
.site-footer-brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; align-self: start; }
.site-footer-brand b { font-weight: 800; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; }
.site-footer-brand span { font-size: clamp(20px, 2vw, 24px); color: var(--cream); }
.site-footer-date { font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.site-footer-venue { margin-top: 6px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.75); }
.site-footer .footer { margin-top: 56px; }

/* Analytics consent (rendered by consent.js). Both choices get the same size and weight; z-index stays under the menu (30) */
.consent {
  position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 48px;
  padding: 20px var(--pad-x); background: var(--forest-night); border-top: 2px solid var(--cream); color: #fff; font: 400 15px/1.5 var(--sans);
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 420px; max-width: 760px; margin: 0; text-wrap: pretty; }
.consent a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex: 0 1 auto; gap: 8px; }
.consent-actions button {
  flex: 1 1 0; min-height: 44px; padding: 0 24px; border: 2px solid var(--cream); border-radius: 0; background: transparent; color: var(--cream);
  font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.consent-actions .consent-accept { background: var(--cream); color: var(--ink); }
.consent-actions button:hover { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 560px) { .consent { padding-block: 16px; font-size: 14px; } .consent p { flex-basis: 100%; } .consent-actions { flex-basis: 100%; } }

/* ── Reveal on scroll (classes added by main.js) ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .trace.beat path { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .page-trace { animation: none; clip-path: none; }
}
