/* =========================================================================
   ICAAP & SP 2026 — stylesheet
   Palette: deep ink-teal primary + warm maroon accent on near-white paper.
   Single stylesheet, mobile-first. No build step.
   ========================================================================= */

:root {
  /* Brand palette */
  --teal-900: #0a3d37;
  --teal-800: #0f5c52;
  --teal-700: #167066;
  --teal-600: #1a7466;
  --teal-100: #e3efec;
  --maroon:   #9c2b2b;
  --maroon-dark: #7c1f1f;
  --gold:     #c9a24b;

  /* Neutrals */
  --paper:    #faf8f3;
  --paper-2:  #f2eee4;
  --ink:      #22282b;
  --ink-soft: #4a5459;
  --line:     #ded8ca;
  --white:    #ffffff;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(20,30,28,.08), 0 1px 2px rgba(20,30,28,.06);
  --shadow-md: 0 10px 30px -12px rgba(15,60,55,.28);
  --space: clamp(3rem, 8vw, 6rem);
}

/* ------------------------------ reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-800); text-decoration-color: rgba(15,92,82,.35); text-underline-offset: 3px; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.18; color: var(--teal-900); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 .6em; }
h3 { font-size: 1.3rem; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

/* --------------------------- math background ---------------------------- */
#math-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: .5;
}

/* ------------------------------ layout --------------------------------- */
.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.section { padding-block: var(--space); position: relative; }
.section--tint { background: linear-gradient(180deg, rgba(227,239,236,.55), rgba(242,238,228,.35)); border-block: 1px solid var(--line); }
.section__eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 .5rem;
}
.section__lead { max-width: 62ch; color: var(--ink-soft); font-size: 1.1rem; }
.center { text-align: center; margin-inline: auto; }
.center .section__lead { margin-inline: auto; }

/* ------------------------------ header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,243,.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 8px; background: var(--white); padding: 3px; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__title { font-family: var(--serif); font-weight: 700; color: var(--teal-900); font-size: 1.05rem; }

.nav__links { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: .5rem .62rem; border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none;
  white-space: nowrap;
}
.nav__links a:hover { background: var(--teal-100); color: var(--teal-900); }
.nav__links a[aria-current="page"] { background: var(--teal-800); color: var(--white); }

.nav__toggle {
  display: none; border: 1px solid var(--line); background: var(--white);
  width: 44px; height: 40px; border-radius: 10px; cursor: pointer; padding: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--teal-900);
  margin-inline: auto; transition: transform .25s, opacity .2s; position: relative;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav[data-open="true"] .nav__toggle span { background: transparent; }
.nav[data-open="true"] .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------ buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--maroon); color: var(--white); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--maroon-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--teal-900); border-color: var(--teal-800); }
.btn--ghost:hover { background: var(--teal-800); color: var(--white); }
.btn--light { background: var(--white); color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ------------------------------ hero ----------------------------------- */
.hero {
  position: relative; color: var(--white);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201,162,75,.22), transparent 60%),
    linear-gradient(160deg, #2a8b7c, var(--teal-700) 60%, var(--teal-800));
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}
/* Photo backdrop. TODO: client to supply assets/hero.jpg — until the file exists the
   url() simply fails to load and the gradient above shows through unchanged. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, rgba(8,58,53,.35), rgba(8,58,53,.15)), url("../assets/hero.jpeg") center/cover no-repeat;
}
/* text-shadow keeps the white type legible now that the photo overlay is light */
.hero__inner { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; z-index: 1;
  text-shadow: 0 1px 12px rgba(4,32,29,.55); }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5.2vw, 3.5rem); margin: 0 0 .35em; letter-spacing: -.01em; }
.hero .acronym { color: var(--gold); }
.hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.3rem 0 1.6rem; font-size: 1.08rem; }
/* Only the direct children are flex items: the icon and one single run of text.
   Keeping the text in one child stops a gap opening up when the venue wraps. */
.hero__meta > span { display: inline-flex; align-items: baseline; gap: .5rem; color: #eaf3f0; }
.hero__meta strong { color: var(--white); }
.hero__assoc { margin-top: 1.6rem; color: #cfe3de; font-size: .95rem; }
.hero__full { max-width: 60ch; color: #dfeeea; font-size: 1.15rem; }

/* ---------------------------- logo strip ------------------------------- */
.logostrip { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: center; }
.logostrip figure { margin: 0; text-align: center; }
.logo-card {
  background: var(--white); border-radius: var(--radius-sm); padding: .8rem 1rem;
  box-shadow: var(--shadow-sm); display: grid; place-items: center; height: 96px; width: 150px;
}
.logo-card img { max-height: 72px; width: auto; object-fit: contain; }
/* placeholder slot while the client's logos are pending */
.logo-card--empty { background: rgba(255,255,255,.55); border: 1px dashed var(--line); box-shadow: none; }
.logostrip figcaption { margin-top: .5rem; font-size: .8rem; color: var(--ink-soft); max-width: 150px; }

/* ------------------------------ cards ---------------------------------- */
.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
}
.card--accent { border-top: 4px solid var(--teal-800); }
.card h3 { color: var(--teal-800); }

/* person card */
.person {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); border-left: 3px solid var(--gold);
}
.person__name { font-family: var(--serif); font-weight: 700; color: var(--teal-900); font-size: 1.05rem; }
.person__role { color: var(--ink-soft); font-size: .92rem; margin-top: .15rem; }
.person__tag { display: inline-block; margin-top: .5rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); }

/* speaker card — photo panel on one half, name + affiliation on the other.
   Square panel (no circular crop) so portraits keep their framing. */
.speaker {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.speaker__photo {
  width: 100%; height: 100%; min-height: 230px;
  object-fit: cover; object-position: 50% 22%;
  background: var(--teal-100); border-right: 1px solid var(--line);
}
.speaker__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.1rem 1.2rem;
}
.speaker__name {
  font-family: var(--serif); font-weight: 700; font-size: 1.08rem;
  line-height: 1.25; color: var(--teal-800);
}
.speaker__role { color: var(--ink-soft); font-size: .9rem; line-height: 1.45; margin-top: .4rem; }

@media (max-width: 420px) {
  .speaker { grid-template-columns: 1fr; }
  .speaker__photo { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* portrait card — circular photo above the name (plenary / invited rosters) */
.portrait-grid {
  display: grid; gap: 1.9rem 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
.portrait { margin: 0; text-align: center; }
.portrait__photo {
  width: 122px; height: 122px; margin: 0 auto .75rem;
  border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  background: var(--teal-100);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal-600), var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.portrait:hover .portrait__photo {
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-md);
}
.portrait__name {
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
  line-height: 1.25; color: var(--teal-800);
}
.portrait__role { color: var(--ink-soft); font-size: .82rem; line-height: 1.4; margin-top: .25rem; }

@media (max-width: 480px) {
  .portrait-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 1.5rem .8rem; }
  .portrait__photo { width: 104px; height: 104px; }
  .portrait__name { font-size: .92rem; }
  .portrait__role { font-size: .76rem; }
}

/* keynote feature */
.keynote { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: center; }
.keynote img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 220px; }

/* topics list */
.topics { columns: 2; column-gap: 2.5rem; list-style: none; padding: 0; }
.topics li { break-inside: avoid; padding: .45rem 0 .45rem 1.7rem; position: relative; border-bottom: 1px dashed var(--line); }
.topics li::before { content: "∑"; position: absolute; left: 0; color: var(--teal-700); font-family: var(--serif); font-weight: 700; }

/* plain name list — no cards, used on Home so the page stays short */
.namelist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2.5rem; }
.namelist li { break-inside: avoid; padding: .35rem 0; color: var(--ink); }

/* compact fee lines — the full tables live on registration.html */
.feelines { list-style: none; padding: 0; margin: 0; max-width: 34rem; }
.center .feelines { margin-inline: auto; }

/* ------------------------------ gallery -------------------------------- */
/* empty photo slot — swap the .ph div for an <img> when the picture arrives */
.ph {
  aspect-ratio: 16 / 9; background: rgba(255,255,255,.55);
  border: 1px dashed var(--line); border-radius: var(--radius-sm);
}
.carousel {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem 4% 1.4rem; margin-top: 1.5rem; scroll-padding-inline: 4%;
}
.carousel__item { flex: 0 0 min(78%, 640px); margin: 0; scroll-snap-align: start; }
.carousel__item img, .photogrid__item img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.photogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.photogrid__item { margin: 0; }

/* numbered registration steps */
.steps { margin: 0; padding-left: 1.3rem; max-width: 60ch; }
.steps li { padding: .3rem 0; }
.note-strong { margin-top: .6rem; font-weight: 600; color: var(--maroon); }

/* stacked fee groups on the registration page — one under another, never side by side */
.feegroup { margin-top: 2rem; }
.feegroup h3 { margin: 0 0 .6rem; color: var(--teal-800); font-size: 1.05rem; }
.feelines li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px dashed var(--line); text-align: left;
}
.feelines .amt { font-family: var(--serif); font-weight: 700; color: var(--maroon); white-space: nowrap; }

/* --------------------- embedded Google Sheet / doc ---------------------- */
.sheet-embed {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.sheet-embed iframe { display: block; width: 100%; height: 70vh; min-height: 480px; border: 0; }
@media (max-width: 700px) {
  .sheet-embed iframe { height: 62vh; min-height: 380px; }
}

/* ------------------- registration: steps + QR sidebar ------------------- */
/* Steps run down the left column, the payment QR sits in a sticky card on
   the right and collapses under the steps on narrow screens. */
.reg-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.4rem; align-items: start;
}

.regsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4rem; counter-reset: regstep; }
.regsteps > li { position: relative; padding-left: 3.4rem; counter-increment: regstep; }
.regsteps > li::before {
  content: counter(regstep);
  position: absolute; left: 0; top: -.1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-800); color: var(--white);
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1;
  box-shadow: var(--shadow-sm);
}
.regsteps > li > h3 { margin: .3rem 0 .2rem; font-size: 1.15rem; }
.regsteps .feegroup:first-of-type { margin-top: 1.2rem; }

/* bank details */
.paylines { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .55rem; }
.paylines li {
  display: grid; grid-template-columns: 148px 1fr; gap: .8rem; align-items: baseline;
  padding-bottom: .55rem; border-bottom: 1px dashed var(--line);
}
.paylines li:last-child { border-bottom: 0; padding-bottom: 0; }
.paylines .lbl {
  font-size: .74rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-soft);
}
.paylines .val { font-weight: 600; color: var(--teal-900); }
.paylines .val--code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; }

/* QR card */
.qr-card {
  position: sticky; top: 88px;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal-800);
  border-radius: var(--radius); padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: var(--shadow-md); text-align: center;
}
.qr-card h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.qr-card img {
  width: 100%; max-width: 240px; margin: .9rem auto .8rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
.qr-card p { margin: 0; font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 900px) {
  .reg-layout { grid-template-columns: 1fr; gap: 2rem; }
  .qr-card { position: static; max-width: 340px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .regsteps > li { padding-left: 2.9rem; }
  .regsteps > li::before { width: 2.1rem; height: 2.1rem; font-size: 1rem; }
  .paylines li { grid-template-columns: 1fr; gap: .1rem; }
}

/* ------------------------------ timeline ------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.timeline li {
  display: grid; grid-template-columns: 160px 1fr; gap: 1rem; align-items: baseline;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--maroon);
  border-radius: var(--radius-sm); padding: .85rem 1.1rem; box-shadow: var(--shadow-sm);
}
.timeline .date { font-family: var(--serif); font-weight: 700; color: var(--maroon); }
.timeline .what { color: var(--ink); }

/* ------------------------------ tables --------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--white); }
table.fee { width: 100%; border-collapse: collapse; min-width: 420px; }
table.fee caption { text-align: left; font-family: var(--serif); font-weight: 700; color: var(--teal-800);
  padding: 1rem 1.1rem .4rem; font-size: 1.1rem; }
table.fee th, table.fee td { padding: .8rem 1.1rem; text-align: left; border-top: 1px solid var(--line); }
table.fee thead th { background: var(--teal-800); color: var(--white); border: none; font-size: .95rem; }
table.fee tbody tr:nth-child(even) { background: var(--paper-2); }
table.fee td:last-child { font-weight: 700; color: var(--maroon); white-space: nowrap; }

/* ------------------------------ notice --------------------------------- */
.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--teal-100); border: 1px solid #bcdcd4; border-left: 4px solid var(--teal-700);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--teal-900);
}
.notice__icon { font-size: 1.3rem; line-height: 1.4; }
.notice--pending { background: #fbf3e6; border-color: #ecd9b3; border-left-color: var(--gold); color: #6b4e18; }

/* --------------------- placeholder / coming-soon ------------------------ */
.pending {
  max-width: 640px; margin-inline: auto; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: clamp(2.2rem, 6vw, 3.4rem) 1.6rem; box-shadow: var(--shadow-sm);
}
.pending__icon { font-size: 2.4rem; line-height: 1; }
.pending h2 { margin: 1rem 0 .5rem; font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
.pending p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.pending .btn-row { justify-content: center; margin-top: 1.6rem; }

/* ------------------------------ misc ----------------------------------- */
.prose { max-width: 68ch; }
.prose h3 { margin-top: 1.6em; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--ink-soft); }
.mail { font-weight: 700; }
.divider { border: none; border-top: 1px solid var(--line); margin-block: 2.5rem; }
.reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }

/* ------------------------------ footer --------------------------------- */
.site-footer { background: var(--teal-900); color: #d7e6e2; margin-top: var(--space); border-top: 4px solid var(--gold); }
.site-footer a { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding-block: 3rem; }
.site-footer h4 { color: var(--white); font-family: var(--serif); font-size: 1.1rem; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-nav { columns: 2; column-gap: 1.2rem; }
.site-footer li { margin-bottom: .45rem; }
.footer-contact div { margin-bottom: .6rem; }
.footer-contact .lbl { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.footer-logos { display: flex; gap: .7rem; flex-wrap: wrap; }
.footer-logos .logo-card { height: 70px; width: 100px; padding: .5rem; }
.footer-logos .logo-card img { max-height: 48px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.1rem; font-size: .88rem; color: #b9cec9;
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; }

/* ------------------------------ page head ------------------------------ */
/* Lighter green than the footer/hero teal — client asked for the page banners to lift.
   Kept dark enough that white type still clears AA on the small breadcrumb text. */
.pagehead {
  background: linear-gradient(160deg, var(--teal-600), var(--teal-800));
  color: var(--white); border-bottom: 3px solid var(--gold); padding-block: clamp(2.4rem, 6vw, 4rem);
}
.pagehead h1 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .3em; }
.pagehead p { color: #eaf6f3; max-width: 60ch; margin: 0; }
.breadcrumb { font-size: .85rem; color: #dbeee9; margin-bottom: .6rem; }
.breadcrumb a { color: #dbeee9; }

/* --------------------------- responsive -------------------------------- */
/* Nine nav items no longer fit beside the brand, so the menu collapses to the
   hamburger well before the general mobile breakpoint below. */
@media (max-width: 1150px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .2rem; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .8rem 4%; box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav[data-open="true"] .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: .7rem .8rem; font-size: .95rem; }
}

@media (max-width: 860px) {
  .keynote { grid-template-columns: 1fr; text-align: center; }
  .keynote img { margin-inline: auto; }
  .topics { columns: 1; }
  .namelist { columns: 1; }
  .timeline li { grid-template-columns: 1fr; gap: .2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  * { transition: none !important; }
}
