/* ==========================================================================
   ICMECE 2027 — "Drawing sheet" design system
   The site is laid out like an engineering drawing: a sheet frame with zone
   marks, the emblem drawn as a part (front view, section A–A, the dates as a
   dimension), and the key facts in a title block. Colours come from the
   emblem: graphite ink, ICMECE blue for actions, red for deadline marks and
   one yellow highlighter, used only on the paper deadline.
   Type: Barlow Condensed (headings, drawing labels) and Barlow (text, UI),
   both close to DIN, the lettering of technical drawings.
   Principles: thin rules instead of shadows, small machined radii (4px),
   one blue filled button per screen, no decoration that is not drawing grammar.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #fbfbf9;              /* the sheet */
  --sheet: #ffffff;              /* cards on the sheet */
  --mist: #eef0ec;               /* alternate bands */
  --mist-2: #e3e6e1;
  --ink: #16191d;                /* graphite: text 17.6:1 on paper */
  --ink-2: #2b3037;
  --steel: #525b66;              /* secondary text: 6.9:1 on paper */
  --steel-2: #6c7580;
  --rule: #c8cdd2;
  --rule-2: #e0e3e6;
  --blue: #1f3bd1;               /* ICMECE blue: white on it 7.6:1, on paper 7.0:1 */
  --blue-2: #172fae;
  --blue-tint: #eaeefc;
  --red: #c4161c;                /* deadline marks: 5.9:1 on paper */
  --yellow: #ffd338;             /* the highlighter: only behind the paper deadline */
  --purple: #8e2196;
  --graphite: #15181c;           /* dark bands, side menu, footer */
  --graphite-2: #1f2328;
  --graphite-3: #2a2f35;
  --on-dark: #eceee9;            /* 15.9:1 on graphite */
  --on-dark-muted: #a7aeb6;      /* 8.0:1 on graphite */
  --line-dark: rgba(236, 238, 233, 0.16);
  --line-dark-2: rgba(236, 238, 233, 0.1);
  --wa: #0f7a40;                 /* white on it: 5.4:1 */
  --wa-hover: #0b6634;
  --ok: #1e7a52;
  --err: #b42318;
  --cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Barlow", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.22rem;
  --step-2: clamp(1.45rem, 1.25rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.6rem + 2.8vw, 3.4rem);
  --step-5: clamp(2.7rem, 1.5rem + 4.6vw, 5rem);
  --radius: 4px;
  --radius-sm: 3px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(60px, 8vw, 112px);
  --masthead-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --grid-paper: linear-gradient(var(--rule-2) 1px, transparent 1px) 0 0 / 24px 24px,
                linear-gradient(90deg, var(--rule-2) 1px, transparent 1px) 0 0 / 24px 24px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--masthead-h) + 16px); scroll-padding-bottom: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-2); text-decoration-thickness: 2px; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.band--night :focus-visible, .masthead :focus-visible, .footer :focus-visible, .ribbon :focus-visible, .side :focus-visible, .help :focus-visible,
.dock :focus-visible, .drawer :focus-visible, .consent :focus-visible, .chat__head :focus-visible { outline-color: var(--yellow); }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, .h1, .h2, .h3, .display { font-family: var(--cond); font-weight: 600; line-height: 1.02; letter-spacing: -0.005em; margin: 0; text-wrap: balance; color: inherit; }
h1, .h1 { font-size: var(--step-5); line-height: 0.96; }
h2, .h2 { font-size: var(--step-4); }
h3, .h3 { font-size: var(--step-2); line-height: 1.12; }
h4, .h4 { font: 600 1.06rem/1.35 var(--sans); margin: 0; }
h1 em, h2 em, h3 em { font-style: normal; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1.2 var(--cond); letter-spacing: 0.01em; color: var(--steel); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.band--night .eyebrow, .footer .eyebrow, .help .eyebrow { color: var(--on-dark-muted); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--steel); max-width: 62ch; text-wrap: pretty; }
.band--night .lede { color: var(--on-dark-muted); }
.prose p, .prose li { max-width: 70ch; text-wrap: pretty; }
.prose > * + * { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4rem; }
.small { font-size: var(--step--1); }
.muted { color: var(--steel); }
.num { font-variant-numeric: tabular-nums lining-nums; }
strong, b { font-weight: 600; }
mark { background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 90%, transparent 90%); color: inherit; padding: 0 0.12em; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section); position: relative; }
.band--mist { background: var(--mist); }
.band--night { background: var(--graphite); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.band--night a:not(.btn) { color: var(--on-dark); }
.band--night a:not(.btn):hover { color: #fff; }
.band--tight { padding-block: clamp(44px, 6vw, 76px); }
.section-head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); align-items: start; }
.split--center { align-items: center; }
.rule { height: 1px; border: 0; background: var(--rule); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border: 0; border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg); font: 600 1rem/1.1 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn small { font-weight: 500; opacity: 0.7; }
.btn:hover { background: var(--ink-2); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
/* the one primary action of a screen (class name kept from the builder) */
.btn--gold { --b-bg: var(--blue); --b-fg: #fff; }
.btn--gold:hover { background: var(--blue-2); color: #fff; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--line { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.side .btn--line, .masthead .btn--line, .drawer .btn--line, .help .btn--line, .band--night .btn--line { --b-fg: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark-muted); }
.side .btn--line:hover, .masthead .btn--line:hover, .drawer .btn--line:hover, .help .btn--line:hover, .band--night .btn--line:hover { background: var(--on-dark); color: var(--graphite); }
.btn--light { --b-bg: var(--on-dark); --b-fg: var(--graphite); }
.btn--light:hover { background: #fff; color: var(--graphite); }
.btn--wa { --b-bg: var(--wa); --b-fg: #fff; }
.btn--wa:hover { background: var(--wa-hover); color: #fff; }
.btn--sm { min-height: 40px; padding: 9px 14px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); border: 0; background: transparent; color: inherit; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(127, 135, 145, 0.16); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ""; width: 14px; height: 1.5px; background: currentColor; transition: width 0.18s var(--ease); }
.link-arrow:hover::after { width: 20px; }

/* ---------- ribbon (next deadline, phones and tablets) ---------- */
.ribbon { background: var(--graphite); color: var(--on-dark-muted); font-size: 0.88rem; border-bottom: 1px solid var(--line-dark-2); }
.ribbon__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; padding-block: 6px; }
.ribbon p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ribbon strong { color: var(--on-dark); font-weight: 600; }
.ribbon a { color: var(--on-dark); font-weight: 600; white-space: nowrap; }
.ribbon__dot { width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.ribbon__count { color: var(--yellow); }
.ribbon__count:empty { display: none; }
.ribbon__short { display: none; }

/* ---------- masthead (phones and tablets) ---------- */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--graphite); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.masthead__in { display: flex; align-items: center; gap: 20px; min-height: var(--masthead-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex: none; }
.brand:hover { color: inherit; text-decoration: none; }
.brand__logo { width: 46px; height: 46px; flex: none; }
.brand__word { display: flex; flex-direction: column; font: 600 1.45rem/1 var(--cond); letter-spacing: 0.02em; }
.brand__word small { font: 500 0.92rem/1.3 var(--cond); letter-spacing: 0.01em; color: var(--on-dark-muted); margin-top: 3px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__group { position: relative; }
.nav__top { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius); background: transparent; color: var(--on-dark); font: 500 0.98rem/1 var(--sans); text-decoration: none; }
.nav__top svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); opacity: 0.75; }
.nav__top:hover, .nav__top[aria-expanded="true"] { background: var(--graphite-3); color: #fff; }
.nav__top[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__top[aria-current="page"], .nav__group.is-current > .nav__top { box-shadow: inset 0 -2px 0 var(--yellow); }
.nav__panel { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); min-width: 300px; padding: 8px; border-radius: var(--radius); background: var(--graphite-2); border: 1px solid var(--line-dark); }
.nav__panel ul { list-style: none; display: grid; gap: 2px; }
.nav__panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--on-dark); text-decoration: none; }
.nav__panel a b { font-weight: 600; font-size: 0.98rem; }
.nav__panel a span { font-size: 0.84rem; color: var(--on-dark-muted); line-height: 1.4; }
.nav__panel a:hover { background: var(--graphite-3); color: #fff; }
.masthead__actions { display: flex; align-items: center; gap: 8px; }
.masthead__menu { display: none; color: var(--on-dark); }
.masthead__wa { display: none; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--wa); color: #fff; }
.masthead__wa:hover { background: var(--wa-hover); color: #fff; }
.masthead__wa svg { width: 22px; height: 22px; }

/* ---------- home hero: a drawing sheet ---------- */
.hero { position: relative; isolation: isolate; background: var(--paper); padding: clamp(14px, 2vw, 24px); }
.hero__frame { position: relative; border: 1.5px solid var(--ink); background: var(--grid-paper); background-color: var(--paper); }
.sheet { position: absolute; inset: 0; pointer-events: none; font: 500 0.72rem/1 var(--cond); color: var(--steel-2); }
.sheet__cols, .sheet__rows { position: absolute; display: flex; justify-content: space-around; }
.sheet__cols { left: 0; right: 0; top: -1px; height: 14px; transform: translateY(-100%); align-items: end; }
.sheet__cols--bottom { top: auto; bottom: -1px; transform: translateY(100%); align-items: start; }
.sheet__rows { top: 0; bottom: 0; left: -1px; width: 14px; flex-direction: column; transform: translateX(-100%); align-items: end; padding-right: 3px; }
.sheet__rows--right { left: auto; right: -1px; transform: translateX(100%); align-items: start; padding: 0 0 0 3px; }
.sheet span { display: block; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(28px, 4vw, 56px) clamp(20px, 3.4vw, 52px) clamp(20px, 3vw, 36px); }
.hero__in { display: grid; gap: 24px; align-content: start; }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 4.2vw, 5.2rem); line-height: 0.94; letter-spacing: -0.01em; max-width: 14ch; }
.hero .lede { font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.2rem); color: var(--ink-2); }
.drawing { margin: 0; justify-self: center; width: 100%; max-width: 560px; }

/* the emblem as a drawing (render_drawing) */
.dwg { display: block; width: 100%; height: auto; overflow: visible; }
.dwg__o { fill: none; stroke: var(--ink); stroke-width: 1.15; stroke-linejoin: round; }
.dwg__thin { stroke: var(--ink); stroke-width: 0.55; }
.dwg__thick { stroke: var(--ink); stroke-width: 2.2; }
.dwg__c { fill: none; stroke: var(--steel-2); stroke-width: 0.55; stroke-dasharray: 12 2.5 2 2.5; }
.dwg__hex { fill: none; stroke-width: 2.6; stroke-linejoin: miter; }
.dwg__hex--blue { stroke: #2830f0; }
.dwg__hex--red { stroke: var(--red); }
.dwg__hex--yellow { stroke: #d9bf00; }
.dwg__tri { fill: none; stroke: var(--purple); stroke-width: 1.5; stroke-linejoin: miter; }
.dwg__cut { fill: url(#dwg-hatch); stroke: none; }
.dwg__hatchline { stroke: var(--steel); stroke-width: 0.5; }
.dwg__dimline, .dwg__lead { fill: none; stroke: var(--ink); stroke-width: 0.6; }
.dwg__head, .dwg__dot { fill: var(--ink); }
.dwg__label { font: 600 11px/1 var(--cond); fill: var(--steel); letter-spacing: 0.04em; }
.dwg__value { font: 600 15px/1 var(--cond); fill: var(--ink); }
.dwg__note { font: 600 13px/1 var(--cond); fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  /* plotted once on load: each line is as long as its own dash (--len, set by the build) */
  .dwg [data-plot] { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: plot 1.1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
  .dwg .dwg__c { opacity: 0; animation: fade 0.8s var(--ease) 0.2s forwards; }
  .dwg__cut, .dwg__dot, .dwg__label, .dwg__value, .dwg__note { opacity: 0; animation: fade 0.6s var(--ease) 1.9s forwards; }
}
@keyframes plot { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* the title block: the facts every visitor looks for first (render_focus) */
.tb { display: grid; grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)) 1.05fr; margin: 0; border-top: 1.5px solid var(--ink); background: var(--sheet); }
.tb > div { display: grid; gap: 4px; align-content: start; padding: 14px 16px 16px; border-left: 1px solid var(--ink); min-width: 0; }
.tb > div:first-child { border-left: 0; }
.tb dt { font: 500 0.92rem/1.2 var(--cond); color: var(--steel); }
.tb dd { margin: 0; }
.tb__value { font: 600 1.55rem/1.1 var(--cond); color: var(--ink); font-variant-numeric: tabular-nums; }
.tb__note { font-size: 0.86rem; line-height: 1.4; color: var(--steel); }
.tb__count { color: var(--red); font-weight: 600; }
.tb__count::after { content: ". "; color: var(--steel); font-weight: 400; }
.tb__count:empty { display: none; }
.tb__cell--key .tb__value { font-size: 1.85rem; }

/* ---------- lockup (hero brand line) ---------- */
.lockup { display: flex; align-items: center; gap: 14px; }
.lockup__logo { flex: none; width: 64px; height: 64px; }
.lockup__text { display: grid; gap: 2px; margin: 0; }
.lockup__name { font: 600 1.7rem/1 var(--cond); letter-spacing: 0.02em; color: var(--ink); }
.lockup__meta { font: 500 1.02rem/1.3 var(--cond); color: var(--steel); }

/* facts row (inner page heads) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--sheet); }
.facts > div { padding: 14px 16px 16px; display: grid; gap: 4px; align-content: start; }
.facts > div + div { border-left: 1px solid var(--ink); }
.facts dt { font: 500 0.92rem/1.2 var(--cond); color: var(--steel); }
.facts dd { margin: 0; }
.facts__value { font: 600 1.35rem/1.15 var(--cond); color: var(--ink); font-variant-numeric: tabular-nums; }
.facts__note { font-size: 0.86rem; color: var(--steel); line-height: 1.45; }

/* ---------- inner page head ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--grid-paper); background-color: var(--paper); border-bottom: 1.5px solid var(--ink); }
.page-hero__in { position: relative; display: grid; gap: 16px; padding-block: clamp(40px, 6vw, 84px) clamp(34px, 4vw, 60px); max-width: 900px; }
.page-hero h1 { font-size: var(--step-5); }
.page-hero .lede { color: var(--ink-2); }
.page-hero .actions { margin-top: 6px; }
.page-hero .helio, .page-hero .drawing { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 0.98rem/1.3 var(--cond); color: var(--steel); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { opacity: 0.6; }

/* content area with an on-page index */
.page { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(44px, 6vw, 84px) var(--section); }
.page--wide { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: calc(var(--masthead-h) + 28px); align-self: start; display: grid; gap: 10px; }
.toc ul { list-style: none; display: grid; gap: 0; border-left: 1px solid var(--rule); }
.toc a { position: relative; display: block; padding: 7px 0 7px 16px; color: var(--steel); text-decoration: none; font-size: 0.95rem; line-height: 1.35; }
.toc a::before { content: ""; position: absolute; left: -1px; top: 50%; width: 7px; height: 1px; background: var(--rule); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; }
.toc a.is-active::before { left: -4px; top: calc(50% - 3px); width: 7px; height: 7px; background: var(--blue); }
.page__body { display: grid; gap: clamp(52px, 7vw, 92px); min-width: 0; }
.block { display: grid; gap: 20px; scroll-margin-top: calc(var(--masthead-h) + 24px); }
.block > h2 { font-size: var(--step-3); }
.block > h2 + p { margin-top: -6px; }

/* ---------- cards, notices, badges ---------- */
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 12px; align-content: start; }
.card h3 { font-size: 1.55rem; }
.card--night { background: var(--graphite-2); border-color: var(--line-dark); color: var(--on-dark); }
.notice { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--blue-tint); border-left: 3px solid var(--blue); color: var(--ink); font-size: 0.98rem; line-height: 1.55; }
.notice strong { color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
ul.badges { list-style: none; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--sheet); border: 1px solid var(--ink); color: var(--ink); font: 600 0.88rem/1.2 var(--cond); letter-spacing: 0.02em; }
.badge--gold { border-color: var(--blue); color: var(--blue); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--radius-sm); font: 600 0.88rem/1 var(--cond); background: var(--blue-tint); color: var(--blue); }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks svg { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.band--night .ticks svg { color: var(--yellow); }

/* ---------- record (verified numbers) ---------- */
.record { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border-top: 1.5px solid var(--ink); }
.record li { display: grid; gap: 6px; align-content: start; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.record b { font: 600 clamp(2.6rem, 2rem + 2vw, 3.6rem)/1 var(--cond); color: var(--ink); }
.record span { color: var(--steel); font-size: 0.98rem; max-width: 30ch; }
.record a { font-size: 0.92rem; font-weight: 600; }
.band--night .record { border-color: var(--on-dark-muted); }
.band--night .record li { border-color: var(--line-dark); }
.band--night .record b { color: #fff; }
.band--night .record span { color: var(--on-dark-muted); }

/* ---------- timeline (important dates) ---------- */
.timeline { list-style: none; display: grid; position: relative; border-top: 1.5px solid var(--ink); }
.timeline__item { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--rule); position: relative; }
.timeline__date { font: 600 1.45rem/1.15 var(--cond); color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline__item:first-child .timeline__date { justify-self: start; background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 88%, transparent 88%); padding-inline: 0.12em; }
.timeline__what { display: grid; gap: 6px; }
.timeline__what h3 { font: 600 1.08rem/1.35 var(--sans); }
.timeline__note { color: var(--steel); font-size: 0.97rem; }
.timeline__count { font: 600 0.95rem/1 var(--cond); color: var(--red); }
.timeline__count:empty { display: none; }
.timeline__item.is-final .timeline__date { color: var(--blue); }
.band--night .timeline__date { color: #fff; }
.band--night .timeline__note { color: var(--on-dark-muted); }

/* ---------- steps (visa, review) ---------- */
.steps { list-style: none; display: grid; border-top: 1.5px solid var(--ink); }
.steps > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); font: 600 1.05rem/1 var(--cond); }
.steps h3 { font: 600 1.08rem/1.35 var(--sans); margin-bottom: 6px; }
.steps p { color: var(--steel); max-width: 68ch; }
.steps p + p { margin-top: 8px; }
.steps__when { font: 600 0.98rem/1.3 var(--cond); color: var(--red); margin-bottom: 4px; }
.band--night .steps > li { border-color: var(--line-dark); }
.band--night .steps__n { border-color: var(--on-dark); color: var(--on-dark); }
.band--night .steps p { color: var(--on-dark-muted); }

/* ---------- fees ---------- */
.price-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 0; border: 1.5px solid var(--ink); background: var(--sheet); }
.price-card { display: grid; gap: 6px; align-content: start; padding: 20px; border-left: 1px solid var(--ink); }
.price-card:first-child { border-left: 0; }
.price-card__cat { font: 600 1.05rem/1.2 var(--cond); color: var(--steel); }
.price-card__amount { font: 600 clamp(2.5rem, 2rem + 1.6vw, 3.3rem)/1 var(--cond); color: var(--ink); }
.price-card__note { color: var(--steel); font-size: 0.93rem; }
.price-card__when { font: 600 0.98rem/1.3 var(--cond); color: var(--blue); }
.price-card__later { font-size: 0.9rem; color: var(--steel); }
.price-card__later b { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: 0; background: var(--sheet); }
.data { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.data caption { text-align: left; padding: 12px 18px; font: 600 1.05rem/1.3 var(--cond); color: var(--ink); border-bottom: 1px solid var(--ink); }
.data th, .data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data tr:last-child th, .data tr:last-child td { border-bottom: 0; }
.data thead th { font: 600 1rem/1.25 var(--cond); color: var(--steel); background: var(--mist); border-bottom: 1px solid var(--ink); }
.data thead th span { display: block; margin-top: 2px; font: 500 0.82rem/1.3 var(--sans); }
.data tbody th { font-weight: 600; }
.data td.num { font: 600 1.25rem/1.2 var(--cond); white-space: nowrap; font-variant-numeric: tabular-nums; }
.data td:last-child { color: var(--steel); }
.data--legal { font-size: 0.92rem; min-width: 760px; }
.data--legal th[scope="row"] { width: 18%; }
.data--legal td:last-child { color: inherit; }
.calc { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--sheet); border: 1.5px solid var(--ink); }
.calc fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.calc legend { font-weight: 600; margin-bottom: 8px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius); background: var(--sheet); border: 1px solid var(--rule); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.choice input { accent-color: var(--blue); width: 18px; height: 18px; }
.choice span { display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.choice em { font-style: normal; color: var(--steel); }
.choice--check span { flex-wrap: wrap; }
.calc__extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ink); }
.calc__total span { font-weight: 600; }
.calc__total output { font: 600 2.2rem/1 var(--cond); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.94rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--radius); border: 1px solid #7a838e; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input:disabled { background: var(--mist); color: var(--steel); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 0.92rem; color: var(--steel); line-height: 1.5; }
.consent-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.lead { position: relative; display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--sheet); color: var(--ink); border: 1.5px solid var(--ink); }
.lead__title { font: 600 var(--step-2)/1.1 var(--cond); }
.lead__note { color: var(--steel); font-size: 0.97rem; }
.lead__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.lead__msg { font-size: 0.94rem; color: var(--err); min-height: 1.2em; }
.lead__msg:empty { min-height: 0; }
.lead.is-done > :not(.lead__done):not(.lead__title) { display: none; }
.lead__done { display: grid; gap: 12px; }
.lead__fine { font-size: 0.82rem; color: var(--steel); line-height: 1.5; }
.lead .actions { margin-top: -4px; }

/* ---------- topics: one panel per group, the hexagon of the emblem as its mark ---------- */
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0; border-top: 1.5px solid var(--ink); border-left: 1px solid var(--rule); }
.topic { display: grid; gap: 14px; align-content: start; padding: 22px 22px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.topic h3 { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; }
.topic h3 span { display: grid; place-items: center; width: 40px; height: 44px; flex: none; color: var(--hex, var(--blue));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--hex, var(--blue)); }
.topic h3 span svg { width: 20px; height: 20px; color: #fff; }
.topic:nth-child(3n + 2) { --hex: var(--red); }
.topic:nth-child(3n) { --hex: #8a7600; }
.topic ul { list-style: none; display: grid; gap: 6px; }
.topic li { position: relative; padding-left: 16px; color: var(--steel); font-size: 0.97rem; line-height: 1.45; }
.topic li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--ink); }
.chips-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 0.96rem; background: var(--sheet); }
.chips-list a:hover { background: var(--ink); color: #fff; }

/* ---------- publication + journals ---------- */
.path { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; border-top: 1.5px solid var(--on-dark-muted); }
.path li { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 24px 24px 0; }
.path li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.path__k { font: 600 1rem/1.2 var(--cond); color: var(--yellow); }
.path h3 { font-size: 1.55rem; color: #fff; }
.path p { color: var(--on-dark-muted); font-size: 0.98rem; }
.journals__group { margin: 10px 0 -4px; color: var(--steel); font: 600 1.1rem/1.3 var(--cond); }
.journals { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.journal { display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); }
.journal h4 { font: 600 1.04rem/1.35 var(--sans); }
.journal h4 a { color: var(--ink); text-decoration: none; }
.journal h4 a:hover { text-decoration: underline; }
.journal__pub { color: var(--steel); font-size: 0.92rem; }
.journal__note { color: var(--steel); font-size: 0.9rem; line-height: 1.5; }
.journal__fee { font-size: 0.9rem; color: var(--steel); padding-top: 10px; border-top: 1px dashed var(--rule); }
.journal__fee.is-free { color: var(--ok); font-weight: 600; }
.journal .badges:empty { display: none; }
.journal.has-cover { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.journal__cover { width: 72px; height: 96px; object-fit: cover; border: 1px solid var(--ink); }
.journal__body { display: grid; gap: 10px; min-width: 0; }
.isbn { list-style: none; display: grid; border-top: 1.5px solid var(--ink); }
.isbn li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.isbn b { font-weight: 600; }
.isbn span { color: var(--steel); }
.covers__title { margin-bottom: 16px; }
.covers { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.covers li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.covers a { display: block; width: 100%; }
.covers img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #fff; border: 1px solid var(--ink); transition: transform 0.2s var(--ease); }
.covers a:hover img { transform: translateY(-2px); }
.covers__name { margin-top: 4px; font: 600 0.95rem/1.3 var(--sans); color: var(--ink); }
.covers__fee { font-size: 0.84rem; line-height: 1.35; color: var(--steel); }
.jstrip { list-style: none; display: grid; border-top: 1.5px solid var(--ink); }
.jstrip li { display: flex; justify-content: flex-start; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font: 500 1rem/1.4 var(--sans); }
.jstrip .badge { flex: none; }
.jstrip__cover { flex: none; width: 36px; height: 48px; object-fit: cover; border: 1px solid var(--ink); }
.jstrip__name { flex: 1; min-width: 0; }
.jstrip__fee { display: block; margin-top: 2px; font: 400 0.86rem/1.4 var(--sans); color: var(--steel); }
.journals--pubsel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.journals--pubsel h3 { font: 600 1.08rem/1.35 var(--sans); }
.journals--pubsel .link-arrow { font-size: 0.97rem; }
.pubsel__title { font-weight: 500; line-height: 1.45; }
.pubsel__status { font-size: 0.94rem; line-height: 1.5; }
.pubsel__earlier { display: grid; gap: 14px; margin-top: clamp(34px, 4vw, 50px); }
.si-list { list-style: none; display: grid; border-top: 1.5px solid var(--ink); }
.si-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 0.97rem; line-height: 1.45; }
.si-list b { font-weight: 600; }
.si-list .num { color: var(--steel); white-space: nowrap; }

/* ---------- editions ---------- */
.editions { list-style: none; display: grid; border-top: 1.5px solid var(--ink); }
.edition { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.edition__year { display: grid; gap: 4px; align-content: start; font: 600 2.6rem/1 var(--cond); color: var(--ink); }
.edition__year small { font: 500 1rem/1.3 var(--cond); color: var(--steel); }
.edition h3 { font-size: 1.6rem; }
.edition__venue { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-top: 4px; }
.edition__venue-logo { flex: none; width: auto; height: auto; max-width: 96px; max-height: 40px; object-fit: contain; }
.edition__when { color: var(--steel); font-size: 0.97rem; margin-top: 4px; }
.edition__facts { font-weight: 600; font-size: 0.97rem; margin-top: 8px; }
.edition__isbn { color: var(--steel); font-size: 0.9rem; margin-top: 6px; }
.edition__note { color: var(--steel); font-size: 0.92rem; margin-top: 6px; }
.edition__link { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 0.95rem; }
.edition__banner { display: block; width: 100%; max-width: 640px; height: auto; margin-bottom: 16px; border: 1px solid var(--ink); }
.edition__logos { display: grid; gap: 8px; margin-top: 14px; }
.edition__logos p { font: 600 0.95rem/1.2 var(--cond); color: var(--steel); }
.edition__logos ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.edition__logos img { display: block; width: auto; height: auto; max-width: 160px; max-height: 52px; object-fit: contain; }
.edition.is-next .edition__year { color: var(--blue); }
.edition.is-next h3::after { content: "Next"; margin-left: 12px; vertical-align: middle; font: 600 0.9rem/1 var(--cond); padding: 4px 8px; border-radius: var(--radius-sm); background: var(--blue); color: #fff; }
.hosts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hosts li { display: inline-flex; align-items: baseline; gap: 8px; color: var(--steel); }
.hosts b { font: 600 1.05rem/1 var(--sans); color: var(--ink); }
.venues { margin: clamp(8px, 1vw, 12px) 0 clamp(30px, 4vw, 46px); }
.venues__title { margin-bottom: 12px; font: 600 1.05rem/1.2 var(--cond); color: var(--steel); }
.venues__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.venues__list a { display: grid; grid-template-rows: 56px auto; gap: 10px; justify-items: center; align-items: center; height: 100%; padding: 14px 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); text-decoration: none; color: var(--steel); }
.venues__list a:hover { border-color: var(--ink); color: var(--ink); }
.venues__list img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.venues__list span { font-size: 0.84rem; line-height: 1.3; text-align: center; }
.venues__list b { color: var(--ink); font-weight: 600; }

/* ---------- committees ---------- */
.chairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0; border-top: 1.5px solid var(--ink); border-left: 1px solid var(--rule); }
.chair { display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.chair p:not(.eyebrow) { font-weight: 600; }
.chair p span { display: block; font-weight: 400; color: var(--steel); font-size: 0.94rem; }
.chair p.chair__tba { font-weight: 500; color: var(--steel); }
.committee__title { margin: 48px 0 10px; }
.roster { list-style: none; columns: 3 260px; column-gap: 32px; }
.roster li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.roster li span { display: block; color: var(--steel); font-weight: 400; font-size: 0.92rem; }
.inst { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; margin-top: 18px; }
.inst a, .inst__card { display: grid; grid-template-rows: 72px auto; gap: 12px; height: 100%; padding: 18px 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); text-align: center; text-decoration: none; color: var(--ink); transition: border-color 0.18s var(--ease); }
.inst a:hover { border-color: var(--ink); color: var(--ink); }
.inst__logo { display: grid; place-items: center; min-width: 0; }
.inst__logo img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.inst__name { font-size: 0.9rem; font-weight: 600; line-height: 1.3; }

/* ---------- people ---------- */
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); }
.person img { width: 120px; height: 150px; object-fit: cover; border: 1px solid var(--ink); }
.person.person--text { grid-template-columns: minmax(0, 1fr); }
.person h3 { font-size: 1.55rem; margin: 6px 0 4px; }
.person blockquote { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--blue); font: 500 1rem/1.45 var(--sans); color: var(--ink); }

/* ---------- sister conference ---------- */
.sister { display: grid; gap: 10px; padding: 24px; border-radius: var(--radius); border: 1.5px solid var(--ink); background: var(--sheet); color: var(--ink); }
.sister h3 { font-size: 1.55rem; }
.sister p:not(.eyebrow) { color: var(--steel); }
.sister__logo { width: 72px; height: 72px; object-fit: contain; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 17px 0; cursor: pointer; font: 600 1.04rem/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); border: 1px solid var(--ink); font: 500 1.2rem/1 var(--cond); color: var(--ink); }
.faq details[open] summary::after { content: "–"; background: var(--ink); color: #fff; }
.faq summary:hover { color: var(--blue); }
.faq__a { padding: 0 44px 20px 0; color: var(--steel); display: grid; gap: 10px; max-width: 72ch; }
.faq-cats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-cats a { display: inline-flex; padding: 7px 12px; border-radius: var(--radius); border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 500; }
.faq-cats a:hover { background: var(--ink); color: #fff; }
.faq__cat { margin-top: 18px; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--steel); }
.search input { width: 100%; min-height: 54px; padding: 14px 16px 14px 48px; border-radius: var(--radius); border: 1.5px solid var(--ink); font-size: 1.02rem; background: #fff; }
.search input:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.page-hero .search { max-width: 560px; margin-top: 8px; }
.page-hero #faq-status { color: var(--steel); min-height: 1.4em; }

/* ---------- gallery, mosaic, video, live post (kept for later use) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--sheet); font-weight: 600; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab .count { font-weight: 500; opacity: 0.7; font-size: 0.86rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.gallery__item button { display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: var(--mist); }
.gallery__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery__intro { max-width: 70ch; margin-bottom: 18px; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 10px; }
.mosaic figure { position: relative; overflow: hidden; background: var(--graphite-2); grid-column: span 4; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.photo-note { margin-top: 14px; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(21, 24, 28, 0.88); }
.lightbox__img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 4px; color: var(--on-dark); }
.lightbox .icon-btn { color: var(--on-dark); }
.live { display: grid; gap: 14px; }
.live__card { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--sheet); }
.live__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 0.94rem; }
.live__head svg { width: 20px; height: 20px; }
.live__head a { margin-left: auto; font-weight: 600; }
.live__date { color: var(--steel); }
.live__body { padding: 12px; min-height: 120px; }
.live__fallback { display: inline-block; padding: 12px; }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; background: transparent; color: var(--on-dark); font: 600 0.97rem/1.2 var(--sans); }
.video__play svg { width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: var(--blue); color: #fff; }

/* ---------- help band (every page) ---------- */
.help { background: var(--graphite); color: var(--on-dark); position: relative; }
.help__in { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(38px, 6vw, 68px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 26px 56px; align-items: center; }
.help__side { display: grid; gap: 12px; justify-items: end; }
.help__mail { font-size: 0.94rem; color: var(--on-dark-muted); }
.help__mail a { color: var(--on-dark); }
.help h2 { color: #fff; margin: 8px 0 10px; font-size: var(--step-3); }
.help p:not(.eyebrow) { color: var(--on-dark-muted); max-width: 56ch; }
.help__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- footer ---------- */
.footer { background: #0f1114; color: var(--on-dark-muted); font-size: 0.95rem; }
.footer__top { display: grid; grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 34px; padding-block: clamp(46px, 6vw, 76px) 38px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand p { max-width: 36ch; }
.footer h2 { font: 600 1.08rem/1.2 var(--cond); color: var(--on-dark); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--on-dark-muted); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; gap: 6px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line-dark); color: var(--on-dark); }
.footer__social a:hover { border-color: var(--on-dark-muted); }
.footer__social svg { width: 18px; height: 18px; }
.footer__social svg.logo-icon { width: 22px; height: 22px; }
.footer__logo, .footer .footer__logo { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); }
.footer .footer__logo:hover { text-decoration: none; color: #fff; }
.footer__logo img { width: 58px; height: 58px; }
.footer__org { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: var(--on-dark-muted); }
.footer__org img { width: 55px; height: 44px; object-fit: contain; }
.footer__org span { display: grid; gap: 2px; font-size: 0.84rem; }
.footer__org b { font-weight: 600; font-size: 0.95rem; color: var(--on-dark); }
.footer .footer__org:hover { text-decoration: none; }
.footer__contact a { color: var(--on-dark); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px 26px; border-top: 1px solid var(--line-dark); font-size: 0.88rem; }
.footer__base nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.linklike { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.logo-icon { flex: none; }

/* ---------- phone dock + drawer ---------- */
.dock { display: none; }
.drawer { width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--graphite); color: var(--on-dark); }
.drawer::backdrop { background: rgba(15, 17, 20, 0.6); }
.drawer[open] { animation: drawer-in 0.24s var(--ease); }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 8px 20px; }
.drawer__body { padding: 0 20px 120px; overflow-y: auto; max-height: calc(100dvh - 72px); }
.drawer__group { font: 600 1rem/1.2 var(--cond); color: var(--on-dark-muted); margin: 22px 0 4px; }
.drawer__list { list-style: none; display: grid; }
.drawer__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark-2); color: var(--on-dark); text-decoration: none; font: 500 1.08rem/1.3 var(--sans); }
.drawer__list a[aria-current="page"] { color: #fff; box-shadow: inset 3px 0 0 var(--yellow); padding-left: 12px; }
.drawer__cta { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- assistant + WhatsApp ---------- */
.helpdock { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 10px; transition: opacity 0.25s var(--ease), visibility 0.25s; }
.helpdock.is-tucked { opacity: 0; visibility: hidden; }
.chat-launch { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 18px 7px 7px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--graphite); color: #fff; font: 600 1rem/1 var(--sans); box-shadow: 0 16px 34px -16px rgba(15, 17, 20, 0.6); }
.chat-launch:hover { background: var(--graphite-2); }
.chat-launch__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--blue); color: #fff; }
.chat-launch__icon svg { width: 20px; height: 20px; }
.wa-float { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--wa); color: #fff; box-shadow: 0 16px 34px -16px rgba(15, 17, 20, 0.6); }
.wa-float:hover { background: var(--wa-hover); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(410px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 40px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; border-radius: var(--radius); overflow: hidden; background: var(--sheet); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 0 30px 70px -30px rgba(15, 17, 20, 0.55); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; background: var(--graphite); color: var(--on-dark); }
.chat__avatar { width: 42px; height: 42px; flex: none; }
.chat__title { font: 600 1.2rem/1.2 var(--cond); color: #fff; }
.chat__sub { font-size: 0.82rem; color: var(--on-dark-muted); }
.chat__head .icon-btn { margin-left: auto; color: var(--on-dark); }
.chat__log { overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; background: var(--grid-paper); background-color: var(--paper); scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 11px 13px; border-radius: var(--radius); font-size: 0.96rem; line-height: 1.5; display: grid; gap: 8px; }
.msg p + p { margin-top: 0; }
.msg ul { margin: 0; padding-left: 1.15em; display: grid; gap: 4px; }
.msg__ai::before { content: "AI"; display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font: 600 0.78rem/1.5 var(--cond); letter-spacing: 0.04em; vertical-align: 1px; }
.msg--bot { align-self: flex-start; background: var(--sheet); border: 1px solid var(--ink); }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; }
.msg a { color: var(--blue); font-weight: 600; }
.msg--user a { color: #fff; }
.msg__links { display: flex; flex-wrap: wrap; gap: 8px; }
.msg__links a { display: inline-flex; padding: 5px 10px; border-radius: var(--radius-sm); background: var(--sheet); border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 0.88rem; }
.msg__src { font-size: 0.84rem; color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 36px; padding: 6px 11px; border-radius: var(--radius-sm); border: 1px solid var(--ink); background: var(--sheet); font-size: 0.9rem; color: var(--ink); text-align: left; }
.chips button:hover { background: var(--ink); color: #fff; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; background: var(--steel-2); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.chat__handoff { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--ink); background: var(--sheet); }
.chat__handoff .btn { min-height: 42px; font-size: 0.92rem; }
.chat__form { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; padding: 10px 12px 12px; background: var(--sheet); }
.chat__form input { min-height: 48px; padding: 10px 14px; border-radius: var(--radius); border: 1px solid #7a838e; }
.chat__form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.chat__form button { width: 48px; height: 48px; border-radius: var(--radius); border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; }
.chat__form button svg { width: 20px; height: 20px; }
.chat__note { padding: 0 14px 12px; font-size: 0.78rem; color: var(--steel); background: var(--sheet); }

/* ---------- consent ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(440px, calc(100vw - 40px)); display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--graphite); color: var(--on-dark); font-size: 0.94rem; }
.consent a { color: #fff; }
.consent__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.consent__actions .btn { width: 100%; }
.consent__panel { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.consent__opt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 0.9rem; color: var(--on-dark-muted); }
.consent__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.consent__opt b { display: block; color: var(--on-dark); font-weight: 600; }

/* ---------- home: about, how to take part, the joint week ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-bottom: clamp(34px, 4vw, 50px); }
.glance { display: grid; gap: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.glance > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.glance dt { font: 600 1.15rem/1.25 var(--cond); color: var(--ink); }
.glance dd { margin: 0; color: var(--steel); font-size: 1.02rem; line-height: 1.6; max-width: 60ch; }
.howto { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: howto; border-top: 1.5px solid var(--ink); border-left: 1px solid var(--rule); }
.howto > li { counter-increment: howto; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; background: var(--sheet); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.howto > li::before { content: counter(howto); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 4px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); font: 600 1.05rem/1 var(--cond); }
.howto__when { font: 600 1rem/1.3 var(--cond); color: var(--red); }
.howto h3 { font: 600 1.12rem/1.3 var(--sans); }
.howto p:not(.howto__when) { color: var(--steel); font-size: 0.97rem; line-height: 1.55; }
.howto a { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 0.95rem; }
.week { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--ink); background: var(--sheet); }
.week__day { display: grid; gap: 12px; align-content: start; padding: 18px 20px 20px; }
.week__day + .week__day { border-left: 1px solid var(--ink); }
.week__day.is-joint { background: var(--graphite); color: var(--on-dark); }
.week__date { display: grid; gap: 2px; }
.week__date span { font: 500 1rem/1.2 var(--cond); color: var(--steel); }
.week__date b { font: 600 3.4rem/1 var(--cond); color: var(--ink); }
.week__day.is-joint .week__date span { color: var(--on-dark-muted); }
.week__day.is-joint .week__date b { color: #fff; }
.week__day h3 { font: 600 1.05rem/1.3 var(--sans); }
.week__day p:not(.week__date) { color: var(--steel); font-size: 0.94rem; }
.week__day.is-joint p:not(.week__date) { color: var(--on-dark-muted); }
.kv { display: grid; border-top: 1.5px solid var(--ink); }
.kv > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--steel); }
.orgs { list-style: none; display: grid; gap: 10px; }
.orgs li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); }
.orgs__logo { width: 72px; height: 72px; object-fit: contain; }
.orgs .eyebrow { margin-bottom: 4px; }
.orgs p:not(.eyebrow) { color: var(--steel); font-size: 0.97rem; line-height: 1.5; }
.orgs b { color: var(--ink); }
.card--contact .btn { justify-self: start; margin-top: 6px; }
.card--contact h3 { font-size: 1.45rem; }
.page__body.legal { gap: clamp(34px, 4vw, 50px); }
.legal .block { gap: 10px; }
.legal .block > h2 { font-size: var(--step-2); }
.legal p { color: var(--steel); max-width: 74ch; }
.ticks-plain { list-style: none; display: grid; gap: 8px; }
.ticks-plain li { position: relative; padding-left: 20px; font-weight: 600; }
.ticks-plain li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1.5px; background: var(--ink); }
.hide-sm { display: inline; }

/* ---------- left menu: the drawing list (wide screens) ---------- */
.side { display: none; }
@media (min-width: 1100px) {
  :root { --side-w: 252px; --masthead-h: 0px; }
  .shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .shell__main { min-width: 0; }
  .ribbon, .masthead { display: none; }
  .side { position: sticky; top: 0; z-index: 30; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 14px; padding: 20px 14px 16px 18px; background: var(--graphite); color: var(--on-dark); overflow: hidden; }
  .side__brand { color: #fff; }
  .side__brand .brand__logo { width: 54px; height: 54px; }
  .side__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin-right: -8px; padding-right: 8px; }
  .side__nav { position: relative; }
  /* a scale: one tick per page on a thin rule */
  .side__nav::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; border-left: 1px solid var(--line-dark); }
  .side__group { position: relative; padding: 14px 0 3px 20px; font: 600 1rem/1.2 var(--cond); color: var(--on-dark-muted); }
  .side__group:first-child { padding-top: 0; }
  .stops { list-style: none; display: grid; gap: 0; }
  .stop { position: relative; display: flex; align-items: center; min-height: 33px; padding: 5px 8px 5px 20px; border-radius: var(--radius-sm); color: var(--on-dark-muted); font-size: 0.97rem; font-weight: 500; line-height: 1.25; text-decoration: none; }
  .stop::before { content: ""; position: absolute; left: 4px; top: 50%; width: 9px; height: 1px; background: var(--on-dark-muted); }
  .stop:hover { color: #fff; background: var(--graphite-2); text-decoration: none; }
  .stop[aria-current="page"] { color: #fff; font-weight: 600; background: var(--graphite-3); }
  .stop[aria-current="page"]::before { left: 1px; top: calc(50% - 4px); width: 8px; height: 8px; background: var(--yellow); }
  .side__next { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--graphite-2); }
  .side__label { font: 600 0.98rem/1.2 var(--cond); color: var(--on-dark-muted); }
  .side__next strong { font-size: 0.9rem; font-weight: 600; line-height: 1.3; color: var(--on-dark); }
  .side__when { margin-top: 2px; font: 600 1.6rem/1.05 var(--cond); color: var(--ink); background: var(--yellow); justify-self: start; padding: 1px 6px; }
  .side__count { font: 600 1rem/1.2 var(--cond); color: var(--on-dark); }
  .side__count:empty { display: none; }
  .side__next a { margin-top: 4px; font-size: 0.84rem; color: var(--on-dark-muted); }
  .side__next a:hover { color: #fff; }
  .side__actions { display: grid; gap: 8px; }
  .side__actions .btn { min-height: 44px; padding-block: 10px; }
  .side__social { display: flex; align-items: center; gap: 8px; padding: 2px 2px 0; font: 600 0.98rem/1.2 var(--cond); color: var(--on-dark-muted); }
  .side__social span { margin-right: auto; }
  .side__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-sm); }
  .side__social svg { width: 24px; height: 24px; }
  .split { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
  /* the left menu already shows the emblem: the hero keeps only the name line */
  .lockup__logo { display: none; }
}
.side__social { display: none; }
@media (min-width: 1100px) { .side__social { display: flex; } }
@media (min-width: 1100px) and (max-width: 1279px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .tb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tb > div:nth-child(4) { border-left: 0; }
  .tb > div:nth-child(n + 4) { border-top: 1px solid var(--ink); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1280px) { :root { --side-w: 272px; } .side { padding: 22px 16px 18px 22px; } }
@media (min-width: 1100px) and (max-height: 760px) { .side__next { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .masthead__menu { display: inline-grid; }
  .masthead__actions { margin-left: auto; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .page { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { border: 1px solid var(--rule); border-radius: var(--radius); padding: 7px 12px; }
  .toc a::before { display: none; }
  .toc a.is-active { border-color: var(--ink); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .drawing { max-width: 520px; justify-self: start; }
  .tb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tb > div:nth-child(4) { border-left: 0; }
  .tb > div:nth-child(n + 4) { border-top: 1px solid var(--ink); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --masthead-h: 60px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--ink); }
  .path { grid-template-columns: minmax(0, 1fr); }
  .path li, .path li + li { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .help__in { grid-template-columns: minmax(0, 1fr); }
  .help__actions { justify-content: flex-start; }
  .help__side { justify-items: start; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .edition { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .isbn li { grid-template-columns: minmax(0, 1fr) auto; }
  .isbn li span { grid-column: 1 / -1; grid-row: 2; }
  .kv > div, .glance > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .person { grid-template-columns: 88px minmax(0, 1fr); }
  .person img { width: 88px; height: 110px; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .week__day { grid-template-columns: 80px minmax(0, 1fr); align-items: center; }
  .week__day + .week__day { border-left: 0; border-top: 1px solid var(--ink); }
  .week__date b { font-size: 2.6rem; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hero { padding: 10px; }
  .sheet { display: none; }
  .hero__grid { padding: 22px 16px 18px; gap: 18px; }
  .hero h1 { font-size: clamp(2.3rem, 1.4rem + 5.5vw, 3rem); }
  .hero .actions .btn--gold { width: 100%; min-height: 52px; }
  .lockup__logo { width: 52px; height: 52px; }
  .lockup__name { font-size: 1.45rem; }
  .drawing { max-width: 100%; }
  .tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb > div { padding: 12px; }
  .tb > div:nth-child(odd) { border-left: 0; }
  .tb > div:nth-child(even) { border-left: 1px solid var(--ink); }
  .tb > div:nth-child(n + 3) { border-top: 1px solid var(--ink); }
  .tb > div:first-child { grid-column: 1 / -1; }
  .tb > div:first-child + div { border-left: 0; border-top: 1px solid var(--ink); }
  .tb > div:nth-child(3) { border-left: 1px solid var(--ink); }
  .tb > div:nth-child(4) { border-left: 0; }
  .tb > div:nth-child(5) { border-left: 1px solid var(--ink); }
  .tb__value { font-size: 1.3rem; }
  .tb__cell--key .tb__value { font-size: 1.6rem; }
  .ribbon__in > a { display: none; }
  .brand__word { font-size: 1.25rem; }
  .masthead__actions .btn { display: none; }
  .howto { grid-template-columns: minmax(0, 1fr); }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .price-cards { grid-template-columns: minmax(0, 1fr); }
  .price-card { grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; padding: 14px 16px; border-left: 0; }
  .price-card + .price-card { border-top: 1px solid var(--ink); }
  .price-card__cat, .price-card__amount, .price-card__when { grid-column: 1; }
  .price-card__amount { font-size: 2.2rem; }
  .price-card__note { grid-column: 2; grid-row: 1 / span 2; font-size: 0.9rem; line-height: 1.45; }
  .price-card__later { grid-column: 2; grid-row: 3; font-size: 0.86rem; }
  .journals--pubsel { grid-template-columns: minmax(0, 1fr); }
  .si-list li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .si-list a { grid-column: 1 / -1; grid-row: 2; }
  .inst { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .inst a, .inst__card { grid-template-rows: 52px auto; gap: 8px; padding: 14px 8px 12px; }
  .inst__logo img { max-height: 52px; }
  .inst__name { font-size: 0.82rem; }
  .venues__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin-inline: -16px; padding: 2px 16px 8px; scrollbar-width: none; }
  .venues__list li { flex: 0 0 132px; scroll-snap-align: start; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--graphite); border-top: 1px solid var(--line-dark); }
  .dock a, .dock button { display: grid; justify-items: center; gap: 4px; min-height: 52px; padding: 6px 0; border: 0; background: transparent; color: var(--on-dark-muted); font: 600 0.82rem/1 var(--sans); text-decoration: none; border-radius: var(--radius-sm); }
  .dock svg { width: 22px; height: 22px; }
  .dock [aria-current="page"] { color: #fff; box-shadow: inset 0 2px 0 var(--yellow); }
  .dock button { color: #fff; }
  .helpdock { display: none; }
  .masthead__wa { display: inline-grid; }
  .ribbon__long, .hide-sm { display: none; }
  .ribbon__short { display: inline; }
  .chat-launch { display: none; }
  .chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .data th, .data td { padding: 12px 14px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* tablets: the phone's quick bar floats above the content; the menu is behind the menu button */
@media (min-width: 721px) and (max-width: 1099px) {
  body { padding-bottom: 92px; }
  .dock { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(560px, calc(100% - 32px)); padding: 6px; border-radius: var(--radius); background: var(--graphite); border: 1px solid var(--line-dark); box-shadow: 0 16px 34px -20px rgba(15, 17, 20, 0.7); }
  .dock a, .dock button { display: grid; justify-items: center; gap: 4px; min-height: 52px; padding: 6px 0; border: 0; background: transparent; color: var(--on-dark-muted); font: 600 0.82rem/1 var(--sans); text-decoration: none; border-radius: var(--radius-sm); }
  .dock a:hover { color: #fff; background: var(--graphite-2); }
  .dock svg { width: 22px; height: 22px; }
  .dock [aria-current="page"] { color: #fff; box-shadow: inset 0 2px 0 var(--yellow); }
  .dock button { color: #fff; }
  .chat-launch { display: none; }
  .helpdock { bottom: 92px; }
  .chat { bottom: 92px; height: min(640px, calc(100dvh - 112px)); }
  .consent { bottom: 92px; }
}

/* ---------- motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .ribbon, .masthead, .side, .dock, .helpdock, .chat, .consent, .help, .footer, .toc, .sheet { display: none !important; }
  .band--night { background: none !important; color: #000 !important; }
  body { padding: 0; background: #fff; }
  a { color: #000; }
}

/* ---------- Science in Quality on the publication ethics page (Prof. Kurt, 15 Oct 2026) ---------- */
.sq-logo { display: block; height: auto; }
.sq-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px 22px; border: 1.5px solid var(--ink); background: var(--sheet); }
.sq-intro p { color: var(--steel); }
.sq-intro strong { color: var(--ink); }
.sq-code { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 40px; height: 24px; padding: 0 7px; border: 1px solid var(--ink); border-radius: var(--radius-sm); color: var(--ink); font: 600 0.95rem/1 var(--cond); font-variant-numeric: tabular-nums; }
.sq-gates { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 0; border-top: 1.5px solid var(--ink); border-left: 1px solid var(--rule); }
.sq-gates li { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 18px 18px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.sq-gates h3 { font: 600 1.05rem/1.35 var(--sans); }
.sq-gates p { color: var(--steel); font-size: 0.96rem; line-height: 1.5; }
.sq-gates .sq-gates__ev { align-self: end; width: 100%; padding-top: 8px; border-top: 1px dashed var(--rule); font-size: 0.9rem; }
.sq-gates__ev span { display: block; font: 600 0.95rem/1.3 var(--cond); color: var(--ink); }
.sq-criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); border-top: 1.5px solid var(--ink); }
.sq-criteria > div { display: grid; gap: 4px; align-content: start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sq-criteria dt { display: flex; align-items: center; gap: 10px; font: 600 1rem/1.35 var(--sans); color: var(--ink); }
.sq-criteria dd { margin: 0; padding-left: 50px; color: var(--steel); font-size: 0.95rem; line-height: 1.5; }
.legal .sq-gates p, .legal .sq-criteria dd { max-width: none; }
.cmt-ack { padding: 16px 20px; border: 1.5px solid var(--ink); background: var(--sheet); }
.cmt-ack p { color: var(--ink); }
.cmt-ack .eyebrow { margin-bottom: 6px; }
@media (max-width: 720px) {
  .sq-intro { grid-template-columns: minmax(0, 1fr); }
  .sq-criteria { grid-template-columns: minmax(0, 1fr); }
  .sq-criteria dd { padding-left: 0; }
}
