/* ICODAAS 2027. Claret ink, ivory ground, a measured gold accent. */
:root {
  --ground: #f7f4f1;
  --surface: #ffffff;
  --sunk: #efe8e3;
  --ink: #2a0d19;
  --text: #3a2a30;
  --muted: #6b5b61;
  --line: #e2d7d1;
  --sea: #8b1f3c;
  --sea-ink: #ffffff;
  --sea-soft: #f3dfe4;
  --apricot: #b8892f;
  --apricot-soft: #f5ead3;
  --ok: #1f7a4d; --ok-soft: #dcf1e5;
  --warn: #9a6200; --warn-soft: #fbefd6;
  --bad: #b3372b; --bad-soft: #f8e0dc;
  --hero: #2a0d19;
  --hero-text: #f7ecee;
  --hero-muted: #c9aab3;
  --radius: 14px;
  --display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #140709; --surface: #1f0f15; --sunk: #180a0f; --ink: #f7eef0; --text: #e8d9dd; --muted: #b59ea5; --line: #3a2129;
    --sea: #e27a95; --sea-ink: #1a0509; --sea-soft: #3b1623; --apricot: #d9b25c; --apricot-soft: #3a2c12;
    --ok: #5fd39a; --ok-soft: #10301f; --warn: #f0bd5b; --warn-soft: #33270f; --bad: #f08a7e; --bad-soft: #3a1714;
    --hero: #12060a; --hero-text: #f7ecee; --hero-muted: #b99aa3; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #140709; --surface: #1f0f15; --sunk: #180a0f; --ink: #f7eef0; --text: #e8d9dd; --muted: #b59ea5; --line: #3a2129;
    --sea: #e27a95; --sea-ink: #1a0509; --sea-soft: #3b1623; --apricot: #d9b25c; --apricot-soft: #3a2c12;
    --ok: #5fd39a; --ok-soft: #10301f; --warn: #f0bd5b; --warn-soft: #33270f; --bad: #f08a7e; --bad-soft: #3a1714;
    --hero: #12060a; --hero-text: #f7ecee; --hero-muted: #b99aa3; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ground); color: var(--text); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 0.9em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0.01em; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sea); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--ground); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 12px; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand b { color: var(--sea); font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--ground); font-size: 0.8rem; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; padding: 8px 11px; border-radius: 9px; white-space: nowrap; }
.nav a:hover { background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sea-soft); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 12px; font: 600 0.95rem var(--body); cursor: pointer; }
@media (max-width: 1400px) and (min-width: 1221px) { .nav a { padding: 8px 8px; font-size: 0.9rem; } }
@media (max-width: 1220px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.02rem; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--sea); color: var(--sea-ink); border: 1px solid var(--sea); padding: 11px 18px; border-radius: 11px; font: 650 0.98rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--sunk); }
.btn.light { background: var(--hero-text); color: var(--hero); border-color: var(--hero-text); }
.btn.outline-light { background: transparent; color: var(--hero-text); border-color: color-mix(in srgb, var(--hero-text) 35%, transparent); }
.btn.small { padding: 7px 12px; font-size: 0.88rem; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { background: var(--hero); color: var(--hero-text); position: relative; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; padding-block: 72px 64px; align-items: end; }
.hero h1 { color: var(--hero-text); }
.hero h1 .accent { color: var(--apricot); }
.hero .eyebrow { color: #e7c27a; }
.hero-lede { color: var(--hero-muted); font-size: 1.14rem; max-width: 52ch; margin-top: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-family: var(--mono); font-size: 0.9rem; color: var(--hero-text); }
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--apricot); }
.hero .btn-row { margin-top: 30px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 34px; padding-block: 48px; } }

/* Countdown board */
.board { border: 1px solid color-mix(in srgb, var(--hero-text) 16%, transparent); border-radius: 18px; padding: 22px; background: color-mix(in srgb, var(--hero) 70%, #000 30%); }
.board-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-muted); }
.board-head .live { color: #e7c27a; }
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.count div { background: color-mix(in srgb, var(--hero-text) 7%, transparent); border-radius: 12px; padding: 14px 6px 10px; text-align: center; }
.count b { display: block; font: 700 clamp(1.9rem, 4.4vw, 2.9rem)/1 var(--display); color: var(--hero-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.count b.days { color: var(--apricot); }
.count small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-muted); }
.board-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed color-mix(in srgb, var(--hero-text) 18%, transparent); display: grid; gap: 8px; font-size: 0.93rem; color: var(--hero-muted); }
.board-foot strong { color: var(--hero-text); font-weight: 600; }
.board-foot .row { display: flex; justify-content: space-between; gap: 12px; }

/* Sections */
.section { padding-block: 84px; }
.section.tight { padding-block: 56px; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: end; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.section-head .eyebrow { margin-bottom: 10px; }
@media (max-width: 860px) { .section { padding-block: 60px; } .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; } }

.page-head { padding-block: 64px 36px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 10px; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin-top: 14px; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section.alt .card { background: var(--ground); }
.card h3 + p { margin-top: 8px; color: var(--muted); }

/* Themes as an index list */
.themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; counter-reset: t; }
.themes li { counter-increment: t; display: grid; grid-template-columns: 3.2ch 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-weight: 550; }
.themes li::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 0.8rem; color: var(--muted); padding-top: 5px; }
@media (max-width: 700px) { .themes { grid-template-columns: 1fr; } }

/* Key dates: a real sequence */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 2px solid var(--line); }
.timeline li { position: relative; padding: 22px 16px 6px 0; }
.timeline li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--muted); }
.timeline li.past { opacity: .55; }
.timeline li.next::before { background: var(--apricot); border-color: var(--apricot); box-shadow: 0 0 0 5px var(--apricot-soft); }
.timeline li.conf::before { background: var(--sea); border-color: var(--sea); }
.timeline time { display: block; font-family: var(--mono); font-size: 0.86rem; color: var(--ink); font-weight: 600; }
.timeline span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.timeline .tag { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; background: var(--apricot-soft); color: var(--warn); padding: 2px 7px; border-radius: 6px; }
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); margin-left: 6px; } .timeline li { padding: 4px 0 18px 22px; } .timeline li::before { top: 8px; left: -8px; } }

/* Speakers */
.speaker { display: grid; gap: 14px; align-content: start; }
.speaker .ph { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--sunk) 0 10px, transparent 10px 20px), var(--ground); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; }
.speaker .role { font-family: var(--mono); font-size: 0.76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sea); }

/* Fees */
.tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.86rem; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-family: var(--mono); }
.pill.on { background: var(--apricot-soft); border-color: transparent; color: var(--ink); font-weight: 600; }
.pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.fee { display: flex; flex-direction: column; gap: 14px; }
.fee.featured { border-color: var(--sea); box-shadow: 0 0 0 1px var(--sea); }
.fee .price { font: 700 2.7rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.fee .price small { font: 500 0.95rem var(--body); color: var(--muted); letter-spacing: 0; }
.fee ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 0.97rem; }
.fee li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.fee li::before { content: '✓'; color: var(--sea); font-weight: 700; }
.fee .later { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--mono); font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--sunk); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.now { background: var(--apricot-soft); font-weight: 700; color: var(--ink); }

/* Board list */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.people li { padding: 14px 0; border-top: 1px solid var(--line); }
.people strong { display: block; color: var(--ink); font-weight: 600; }
.people span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 860px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }

/* Ethics strip */
.ethics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.ethics div { padding: 22px; border-right: 1px solid var(--line); }
.ethics div:last-child { border-right: 0; }
.ethics h3 { font-size: 1.05rem; }
.ethics p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 900px) { .ethics { grid-template-columns: 1fr 1fr; } .ethics div:nth-child(2) { border-right: 0; } .ethics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .ethics { grid-template-columns: 1fr; } .ethics div { border-right: 0; border-bottom: 1px solid var(--line); } .ethics div:last-child { border-bottom: 0; } }

/* Forms */
form { display: grid; gap: 18px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; display: grid; gap: 16px; background: var(--surface); min-width: 0; }
legend { font-family: var(--display); font-weight: 650; color: var(--ink); font-size: 1.15rem; padding: 0 8px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .label { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.field .hint { color: var(--muted); font-size: 0.87rem; }
.req::after { content: ' *'; color: var(--bad); }
input[type=text], input[type=email], input[type=url], input[type=password], input[type=number], select, textarea {
  width: 100%; font: 400 1rem/1.45 var(--body); color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-soft); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.96rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sea); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--ground); cursor: pointer; font-size: 0.95rem; }
.choice input:checked + span { border-color: var(--sea); background: var(--sea-soft); color: var(--ink); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
.counter { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); justify-self: end; }
.counter.over { color: var(--bad); font-weight: 600; }
.counter.good { color: var(--ok); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; font-size: 0.97rem; }
.alert.ok { background: var(--ok-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.alert.bad { background: var(--bad-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); }
.alert.info { background: var(--sea-soft); color: var(--ink); }
.card.take { display: grid; gap: 8px; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.card.take:hover { transform: translateY(-2px); border-color: var(--sea); text-decoration: none; }
.card.take h3 { color: var(--ink); }
@media (max-width: 560px) { .g4 { grid-template-columns: 1fr; } }
.alert.warn { background: var(--apricot-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--apricot) 45%, transparent); }
.author-block { border: 1px dashed var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 14px; }
.author-block .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 14px; }
@media (max-width: 960px) { .layout-side { grid-template-columns: 1fr; } .side { position: static; } }

/* Subscribe band */
.band { background: var(--ink); color: var(--ground); border-radius: 20px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.band h2 { color: var(--ground); }
.band p { color: color-mix(in srgb, var(--ground) 72%, transparent); margin-top: 10px; }
.band form { gap: 12px; }
.band .inline { display: flex; gap: 8px; }
.band input[type=email] { background: color-mix(in srgb, var(--ground) 10%, transparent); color: var(--ground); border-color: color-mix(in srgb, var(--ground) 25%, transparent); }
.band input::placeholder { color: color-mix(in srgb, var(--ground) 55%, transparent); }
.band .check { color: color-mix(in srgb, var(--ground) 78%, transparent); font-size: 0.88rem; }
.band .btn { background: var(--apricot); border-color: var(--apricot); color: #1b1204; white-space: nowrap; }
.band a { color: inherit; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 28px 22px; } .band .inline { flex-direction: column; } }

/* Footer */
.foot { margin-top: 84px; background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: 0.95rem; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--sea); text-decoration: underline; }
.foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 820px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot .cols { grid-template-columns: 1fr; } }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 9px; padding: 5px 10px; font: 500 0.82rem var(--mono); cursor: pointer; }

/* Programme */
.day { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-block: 26px; border-top: 1px solid var(--line); }
.day h3 { font-size: 1.4rem; }
.slots { display: grid; gap: 0; }
.slot { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.slot:last-child { border-bottom: 0; }
.slot time { font-family: var(--mono); font-size: 0.86rem; color: var(--muted); padding-top: 2px; }
.slot strong { color: var(--ink); }
.slot.key strong { color: var(--sea); }
@media (max-width: 720px) { .day { grid-template-columns: 1fr; gap: 10px; } .slot { grid-template-columns: 84px minmax(0, 1fr); } }

/* Notice pages and utility */
body.plain { display: grid; min-height: 100vh; place-items: center; padding: 24px 16px; }
.notice { max-width: 520px; display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.notice h1 { font-size: 2rem; }
.stat { display: grid; gap: 2px; }
.stat b { font: 700 1.9rem/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.88rem; }
.kv { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 6px 18px; font-size: 0.96rem; }
.kv dd, .kv dt { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 640px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; } .kv dd { margin-bottom: 12px; } }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toc a { font-size: 0.9rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); background: var(--ground); }
.toc a:hover { border-color: var(--sea); color: var(--sea); }
details.faq { border-top: 1px solid var(--line); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: '+'; font-family: var(--mono); color: var(--sea); }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin-top: 10px; color: var(--muted); max-width: 70ch; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden-print { }
@media print { .top, .foot, .band, .hidden-print { display: none !important; } body { background: #fff; } }

/* People */
.avatar { position: relative; display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--sea-soft); color: var(--sea); font: 650 1.4rem var(--display); flex: none; }
.avatar::before { content: attr(data-initials); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar.xl { width: 200px; height: 200px; font-size: 2.6rem; border-radius: 22px; }
.chair { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 640px) { .chair { grid-template-columns: 1fr; gap: 20px; } .avatar.xl { width: 128px; height: 128px; } }
.board-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0 28px; }
.member { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.member .avatar { width: 72px; height: 72px; font-size: 1.15rem; }
.member strong { display: block; color: var(--ink); font-weight: 650; font-size: 1.04rem; }
.member span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.member .creds { color: var(--text); }
.member .avatar { display: inline-grid; color: var(--sea); font-size: 1.15rem; line-height: 1; }
.orcid { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: .76rem; color: var(--sea); text-decoration: none; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.orcid:hover { border-color: var(--sea); }
.fee li.no::before { content: '–'; color: var(--muted); }
.fee li.no { color: var(--muted); }

/* Legacy and editions */
.legacy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shelf li { display: grid; gap: 3px; align-content: start; padding: 20px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); border-top: 4px solid var(--ink); }
.shelf li:nth-child(4) { border-top-color: var(--sea); }
.shelf strong { font: 650 1.2rem var(--display); color: var(--ink); margin-top: 6px; }
.shelf span { font-size: .93rem; }
@media (max-width: 860px) { .legacy { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .shelf { grid-template-columns: 1fr; } }
.pub-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.pub-legend b { color: var(--ink); font-weight: 650; margin-right: 4px; }
.editions { list-style: none; margin: 0; padding: 0; }
.edition { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.ed-no b { display: block; font: 700 2.1rem/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.ed-no span { font-family: var(--mono); color: var(--muted); font-size: .9rem; }
.edition.upcoming .ed-no b { color: var(--apricot); }
.ed-body { display: grid; gap: 12px; align-content: start; }
.ed-body h2 { font-size: 1.3rem; }
.ed-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 22px; }
.ed-people li { display: grid; font-size: .94rem; line-height: 1.4; }
.ed-people span { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ed-people strong { color: var(--ink); font-weight: 600; }
.ed-people em { font-style: normal; color: var(--muted); }
.pub-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; max-width: 720px; }
.pub-link:hover { border-color: var(--sea); color: var(--sea); }
@media (max-width: 640px) { .edition { grid-template-columns: 1fr; gap: 8px; } .pub-link { grid-template-columns: minmax(0, 1fr) auto; } .pub-link .eyebrow { grid-column: 1 / -1; } }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--ground); display: grid; place-items: center; font: 600 .8rem var(--mono); }
.steps strong { color: var(--ink); }
.steps span { color: var(--muted); font-size: .96rem; }
.slots-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.slots-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.slots-list strong { display: block; font: 650 1.25rem var(--display); color: var(--ink); }
.slots-list span { color: var(--muted); font-size: .95rem; }
.slots-list .pill { color: var(--muted); }

.brand-logo { width: 36px; height: 36px; border-radius: 10px; display: block; }

/* Rotating reminder bar */
.resubmit { background: var(--apricot-soft); color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--apricot) 40%, transparent); font-size: .93rem; }
.resubmit .wrap { padding-block: 9px; line-height: 1.45; }
.resubmit a { color: var(--ink); font-weight: 600; }
.notice-bar { background: var(--ink); color: var(--ground); font-size: .92rem; }
.notice-bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-block: 6px; }
.notice-bar a { color: var(--apricot); font-weight: 600; margin-left: auto; white-space: nowrap; text-decoration: none; }
.notice-bar a:hover { text-decoration: underline; }
.nb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--apricot) 60%, transparent); animation: nbpulse 2.4s ease-out infinite; }
@keyframes nbpulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--apricot) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
#nb-text { transition: opacity .35s ease; }
@media (max-width: 640px) { .notice-bar .wrap { flex-wrap: wrap; gap: 4px 10px; } .notice-bar a { margin-left: 18px; } }

/* Ask ICODAAS assistant */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ask-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--sea); color: var(--sea-ink); border: 1px solid color-mix(in srgb, var(--apricot) 55%, transparent); border-radius: 999px; padding: 12px 18px 12px 14px; font: 650 .95rem/1 var(--body); box-shadow: 0 10px 30px rgba(42,13,25,.25); cursor: pointer; }
.ask-fab svg { width: 20px; height: 20px; }
.ask-fab:focus-visible, .ask-panel button:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; }
.ask-fab.open { opacity: 0; pointer-events: none; }
.ask-panel { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 61; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(42,13,25,.28); overflow: hidden; }
.ask-panel header { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--ground); }
.ask-panel header strong { font: 700 1.05rem/1.2 var(--display); display: block; }
.ask-panel header small { display: block; opacity: .78; font-size: .8rem; line-height: 1.35; margin-top: 3px; }
.ask-x { background: transparent; border: 0; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; align-self: flex-start; }
.ask-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--ground); }
.ask-msg { max-width: 92%; padding: 10px 13px; border-radius: 14px; font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
.ask-msg.bot { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.ask-msg.me { background: var(--sea); color: var(--sea-ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.ask-msg ul { margin: 6px 0; padding-left: 18px; }
.ask-msg p { margin: 0 0 6px; }
.ask-msg .ask-q { font-weight: 700; color: var(--ink); }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-chips button { background: var(--surface); color: var(--ink); border: 1px solid var(--sea); border-radius: 999px; padding: 6px 11px; font: 600 .85rem/1.2 var(--body); cursor: pointer; text-align: left; }
.ask-chips button:hover { background: var(--sea-soft); }
.ask-in { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.ask-in input { flex: 1; min-width: 0; }
.ask-in input, .ask-form input, .ask-form select, .ask-form textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; width: 100%; box-sizing: border-box; }
.ask-form { display: grid; gap: 6px; margin-top: 6px; }
.ask-form label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.ask-note { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.ask-note.ok { color: var(--ok); font-weight: 600; }
.ask-panel[hidden] { display: none !important; }
@media (max-width: 520px) { .ask-panel { right: 8px; left: 8px; width: auto; top: calc(8px + env(safe-area-inset-top, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); height: auto; } .ask-in input { font-size: 16px; } .ask-fab span { display: none; } .ask-fab { padding: 14px; } }
@media print { .ask-fab, .ask-panel { display: none !important; } }

.hero-org { margin-top: 14px; font-size: .95rem; color: var(--hero-muted); max-width: 60ch; }
.hero-org strong { color: var(--hero-text); font-weight: 600; }
.layout-side > * { min-width: 0; }
.avatar.portrait { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 12px; font-size: 3rem; }
.lang-select { margin-left: 12px; order: 3; font: 500 .85rem/1 var(--body); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; max-width: 118px; }
.top .wrap .nav { order: 2; }
.top .wrap .menu-btn { order: 4; margin-left: 8px; }
@media (max-width: 1220px) { .lang-select { margin-left: auto; } .top .wrap .menu-btn { margin-left: 8px; } }
.i18n-brief { background: var(--apricot-soft); border-bottom: 1px solid var(--line); }
.i18n-brief .wrap { padding-block: 18px; display: grid; gap: 8px; justify-items: start; }
.i18n-brief p { max-width: 80ch; color: var(--ink); }
.i18n-brief .i18n-official { font-size: .9rem; color: var(--muted); }
@media (max-width: 420px) { .lang-select { max-width: 86px; padding: 6px 4px; } .brand { font-size: 1rem; gap: 8px; } .brand-logo { width: 30px; height: 30px; } .top .wrap { gap: 8px; } }
.nav a.btn, .nav a.btn:hover { color: var(--sea-ink); background: var(--sea); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice-bar { background: var(--sunk); color: var(--text); border-bottom: 1px solid var(--line); } }
:root[data-theme="dark"] .notice-bar { background: var(--sunk); color: var(--text); border-bottom: 1px solid var(--line); }
