/* ==========================================================================
   AEEF 2026 — African Engineering Education Forum
   First design, in the AEEF colours (orange, chocolate brown, red "Theme")
   and the typography of the official print material (Poppins + Open Sans).
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-var-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
    --brown: #4a2318;
    --brown-deep: #33160e;
    --ink: #2a2421;
    --ink-2: #3d3430;
    --ink-soft: #524944;
    --muted: #847a74;
    --paper: #ffffff;
    --paper-2: #ffffff;
    --sand: #fbf3ec;
    --sand-2: #f3e5d9;
    --line: rgba(74, 35, 24, 0.12);
    --line-strong: rgba(74, 35, 24, 0.24);

    --accent: #ef6c1a;
    --accent-deep: #c4570f;
    --accent-soft: #fde6d4;
    --accent-light: #f7a46a;
    --green: #2e7a3a;
    --green-soft: #e1efe3;
    --teal: #17707b;
    --gold: #efac2e;
    --clay: #d71f2a;

    --serif: "Poppins", "Segoe UI", Arial, sans-serif;
    --sans: "Open Sans", "Segoe UI", Arial, sans-serif;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(74, 35, 24, 0.06), 0 2px 8px rgba(74, 35, 24, 0.06);
    --shadow: 0 2px 6px rgba(74, 35, 24, 0.06), 0 18px 40px -12px rgba(74, 35, 24, 0.28);
    --header-h: 76px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; margin: 0; color: var(--brown); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
blockquote, figure, dl, dd { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sr-only { 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: 200; background: var(--brown); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- buttons & links ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--b); font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(239, 108, 26, .9); }
.btn--accent:hover { background: var(--accent-deep); }
.btn--accent:hover .icon:first-child { transform: translateY(1px); }
.btn--ghost { color: var(--brown); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--outline { --b: var(--line-strong); color: var(--brown); background: transparent; }
.btn--outline:hover { --b: var(--brown); background: #fff; }
.btn--light-outline { --b: rgba(255, 255, 255, .3); color: #fff; }
.btn--light-outline:hover { --b: #fff; background: rgba(255, 255, 255, .06); }
.btn--ink { background: var(--brown); color: #fff; }
.btn--ink:hover { background: var(--brown-deep); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; color: var(--accent-deep); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: var(--sand); color: var(--brown); }
.pill--accent { background: var(--accent); color: #fff; }

.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--light { color: var(--accent-light); }
.section-head--center .kicker { justify-content: center; }

.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--serif); font-size: 13.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(17.5px, 1.5vw, 19.5px); line-height: 1.65; color: var(--ink-soft); }

/* ---------- kente band ---------- */
.kente {
    height: 14px;
    background-image:
        repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 7px, rgba(0,0,0,.22) 7px 14px),
        repeating-linear-gradient(90deg,
            #e2661c 0 44px, #14181d 44px 50px, #efac2e 50px 72px, #14181d 72px 78px,
            #1d6a45 78px 120px, #f8f4ed 120px 124px, #b3432a 124px 146px, #14181d 146px 152px);
    background-size: 100% 50%, 100% 100%;
    background-position: 0 100%, 0 0;
    background-repeat: repeat-x;
}
.kente--thin { height: 8px; }

/* ---------- topbar ---------- */
.topbar { background: var(--brown-deep); color: #ead6c9; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(239,108,26,.6); animation: pulse 2.4s infinite; flex-shrink: 0; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.topbar__link:hover { color: var(--accent-light); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239,108,26,.55); } 70% { box-shadow: 0 0 0 9px rgba(239,108,26,0); } 100% { box-shadow: 0 0 0 0 rgba(239,108,26,0); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(74,35,24,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 48px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--brown); }
.brand__text strong em { font-style: normal; color: var(--accent); }
.brand__text small { font-family: var(--serif); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.brand--light .brand__text small { color: var(--accent-light); }
.brand--light .brand__text strong { color: #fff; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link { position: relative; display: block; white-space: nowrap; padding: 8px 11px; border-radius: 999px; font-family: var(--serif); font-size: 14.5px; font-weight: 500; color: var(--brown); text-decoration: none; transition: background-color .2s, color .2s; }
.nav__link:hover { background: var(--accent-soft); color: var(--brown); }
.nav__link.is-active { color: var(--accent-deep); }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.nav__cta { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; display: block; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--brown); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1500px) {
    .nav__cta { display: inline-flex; }
}
@media (max-width: 1120px) {
    .nav-toggle { display: inline-flex; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 18px clamp(16px, 4vw, 40px) 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(74,35,24,.35); max-height: calc(100vh - var(--header-h)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
    .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__link { padding: 14px 4px; border-radius: 0; font-size: 17px; border-bottom: 1px solid var(--line); }
    .nav__link:hover { background: none; color: var(--accent-deep); }
    .nav__link.is-active::after { left: auto; right: 6px; top: 50%; margin-top: -3px; width: 7px; height: 7px; }
    .nav__cta { display: inline-flex; align-self: flex-start; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--brown); color: #f3e3d8; }
.section--line { border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; font-weight: 600; }
.section--ink .section-title { color: #fff; }
.section-head--center .section-title { max-width: 30ch; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 6vw, 84px); background:
    radial-gradient(1200px 500px at 85% -10%, rgba(239,108,26,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(74,35,24,.06), transparent 60%),
    var(--paper); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(48px, 6vw, 84px); }
.hero__title { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 26px; max-width: 17ch; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: clamp(17px, 1.45vw, 19px); color: var(--ink-soft); max-width: 54ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts dt { display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero__facts dt .icon { color: var(--accent); width: 15px; height: 15px; }
.hero__facts dd { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }

.hero__visual { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 1fr); height: clamp(420px, 44vw, 600px); }
.hero__photo { position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); background: var(--sand); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--a { grid-column: 3 / 13; grid-row: 1 / 8; }
.hero__photo--b { grid-column: 1 / 6; grid-row: 5 / 13; border: 6px solid var(--paper); z-index: 2; border-radius: 24px; }
.hero__photo--b img { object-position: 50% 20%; }
.hero__photo--c { grid-column: 6 / 12; grid-row: 8 / 13; margin-top: 14px; margin-left: 14px; }
.seal { position: absolute; top: -18px; left: 2%; width: 138px; height: 138px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; z-index: 3; }
.seal img { width: 66px; height: auto; position: relative; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 36s linear infinite; }
.seal__ring text { font-family: var(--serif); font-size: 12px; font-weight: 600; fill: var(--brown); }
@keyframes spin { to { transform: rotate(360deg); } }

/* stats */
.stats { background: var(--brown); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat { padding: 34px 22px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { display: flex; align-items: flex-start; font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat__n sup { font-size: .4em; margin-top: .2em; margin-left: 3px; color: var(--accent-light); }
.stat__label { display: block; margin-top: 10px; font-size: 14px; color: #e3c9b9; line-height: 1.35; }
.stat:nth-child(1) .stat__n { color: var(--accent); }

/* theme */
.theme__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.theme__quote blockquote p { font-family: var(--serif); font-size: clamp(25px, 2.8vw, 38px); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--brown); margin: 0 0 26px; }
.hl { background: linear-gradient(transparent 62%, rgba(239,108,26,.3) 62%, rgba(239,108,26,.3) 92%, transparent 92%); padding: 0 2px; }
.theme__fr { font-style: italic; font-size: 16px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 16px; max-width: 48ch; }
.theme__body .lead { margin-bottom: 26px; }
.objectives { list-style: none; margin-bottom: 30px; }
.objectives li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.objectives li:last-child { border-bottom: 1px solid var(--line); }
.objectives span { font-family: var(--serif); font-weight: 700; color: var(--accent); font-size: 16px; line-height: 1.5; }
.objectives strong { color: var(--brown); }

/* day cards */
.days__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.day-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.day-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.day-card__img { display: block; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--sand-2); }
.day-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.day-card:hover .day-card__img img { transform: scale(1.05); }
.day-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.day-card__date { font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.day-card__title { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--brown); }
.day-card__text { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* keynotes (home) */
.keynotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.keynote-card { display: flex; flex-direction: column; gap: 16px; min-height: 300px; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: background-color .3s, border-color .3s, transform .35s var(--ease); }
.keynote-card:hover { background: rgba(255,255,255,.09); border-color: var(--accent); transform: translateY(-3px); }
.keynote-card__num { font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); }
.keynote-card__title { font-family: var(--serif); font-size: 18.5px; line-height: 1.35; font-weight: 600; letter-spacing: -0.005em; color: #fff; flex: 1; }
.keynote-card__who { display: flex; align-items: center; gap: 14px; min-height: 84px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.keynote-card__who strong { display: block; font-size: 15px; color: #fff; }
.keynote-card__who small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: #d8bba9; line-height: 1.4; }

.monogram { display: inline-grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; font-family: var(--serif); font-size: 16px; font-weight: 600; color: #fff; }
.monogram { background: var(--accent); } /* one colour for every profile */
.avatar { display: block; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 25%; background: var(--sand); box-shadow: 0 0 0 2px var(--accent); }
/* size modifiers shared by monograms and photo avatars */
.monogram--lg { width: 88px; height: 88px; font-size: 30px; }
.monogram--md { width: 64px; height: 64px; font-size: 22px; }
.monogram--sm { width: 38px; height: 38px; font-size: 14px; }
.monogram--xs { width: 30px; height: 30px; font-size: 11.5px; }
.avatar.monogram--lg { box-shadow: 0 0 0 3px var(--accent); }

.panels-strip { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.panels-strip__label { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--serif); font-weight: 600; color: #fff; }
.panels-strip__label .icon { color: var(--accent); }
.panels-strip ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panels-strip a { display: block; text-decoration: none; color: #ecd8cb; font-size: 15px; line-height: 1.45; }
.panels-strip a span { display: block; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 4px; }
.panels-strip a:hover { color: #fff; }

/* press */
.press__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.press__clip { position: sticky; top: calc(var(--header-h) + 32px); }
.press__clip a { display: block; background: #fff; padding: 12px; border-radius: 6px; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-2deg); transition: transform .4s var(--ease); }
.press__clip a:hover { transform: rotate(0) scale(1.01); }
.press__clip figcaption { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; letter-spacing: .02em; }
.press__body .section-title { max-width: 22ch; margin-bottom: 16px; }
.quotes { display: grid; gap: 16px; margin-top: 28px; }
.quote { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 22px 26px; }
.quote::before { content: "“"; position: absolute; top: 4px; right: 20px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--accent); opacity: .35; }
.quote p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 16px; padding-right: 30px; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.quote footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote footer strong { display: block; color: var(--brown); font-size: 14.5px; }

/* gallery mosaic (home) */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 210px); gap: 14px; grid-auto-flow: dense; }
.mosaic__item { position: relative; overflow: hidden; border-radius: 14px; background: var(--sand-2); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__item--0, .mosaic__item--2 { grid-row: span 2; }
.mosaic__item--1, .mosaic__item--5 { grid-column: span 2; }
.mosaic__item--0 img { object-position: 50% 25%; }
.mosaic__item--1 img { object-position: 50% 12%; }
.mosaic__item--5 img { object-position: 50% 28%; }

/* research cta */
.research-cta__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.book { position: relative; padding: 30px 30px 30px 10px; }
.book::before { content: ""; position: absolute; inset: 8% 0 8% 14%; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.book img { position: relative; width: min(340px, 100%); margin-inline: auto; border-radius: 4px 10px 10px 4px; box-shadow: -8px 0 0 -2px #e6d6c8, 0 30px 60px -20px rgba(74,35,24,.5), 0 4px 12px rgba(74,35,24,.12); transform: rotate(-3deg); transition: transform .5s var(--ease); }
.book:hover img { transform: rotate(0) translateY(-4px); }
.research-cta__body .section-title { margin-bottom: 18px; max-width: 22ch; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 24px 0 32px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.ticks .icon { color: var(--accent-deep); background: var(--accent-soft); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

/* logo wall */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 30px; }
.logo-wall li { display: grid; place-items: center; height: 112px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, box-shadow .25s; }
.logo-wall img { max-height: 66px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .3s, opacity .3s; }
.logo-wall li:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.logo-wall li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .logo-wall img { filter: none; opacity: 1; } }

/* next edition */
.next { position: relative; overflow: hidden; color: #fff; padding-block: clamp(64px, 8vw, 104px); background: radial-gradient(700px 400px at 100% 0%, rgba(239,172,46,.45), transparent 60%), linear-gradient(120deg, #c9530e 0%, var(--accent) 55%, #f38a3a 100%); }
.next::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); pointer-events: none; }
.next__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.next__title { color: #fff; font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 18px; }
.next__text { font-size: 17.5px; color: rgba(255,255,255,.9); max-width: 52ch; margin: 0; }
.next .kicker--light { color: #fff1e4; }
.subscribe__row { display: flex; gap: 8px; padding: 7px; background: #fff; border-radius: 999px; box-shadow: 0 20px 40px -20px rgba(74, 35, 24, .6); }
.subscribe input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font-size: 16px; color: var(--ink); outline: none; }
.subscribe input::placeholder { color: #a39890; }
.subscribe__hint { margin: 12px 0 0 18px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.form-msg { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.form-msg--ok { background: var(--green-soft); color: #1d5a29; }
.form-msg--error { background: #fde4e4; color: #8f1a1a; }

/* footer */
.site-footer { background: var(--brown); color: #e3cbbd; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 48px; }
.site-footer__about p { margin: 20px 0 0; max-width: 44ch; line-height: 1.6; }
.site-footer__meta { display: block; font-size: 14px; color: #cdae9c; }
.site-footer__meta .icon { display: inline-block; vertical-align: -3px; width: 16px; height: 16px; margin-right: 6px; color: var(--accent); }
.site-footer__title { font-family: var(--serif); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer__links { list-style: none; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer__contact { list-style: none; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.site-footer__contact .icon { color: var(--accent); margin-top: 2px; }
.site-footer__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; font-size: 13.5px; color: #c7a896; }
.site-footer__bottom::before { content: ""; position: absolute; top: 0; left: clamp(16px, 4vw, 40px); right: clamp(16px, 4vw, 40px); height: 1px; background: rgba(255,255,255,.12); }
.site-footer__bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-family: var(--serif); font-weight: 600; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { position: relative; background: radial-gradient(800px 360px at 90% 0%, rgba(239,108,26,.14), transparent 65%), var(--sand); overflow: hidden; }
.page-hero__inner { padding-block: clamp(48px, 6.5vw, 92px) clamp(40px, 5vw, 68px); display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 62px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 20px; max-width: 17ch; }
.page-hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.page-hero .lead { max-width: 60ch; margin: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; list-style: none; margin-bottom: 22px; font-size: 13.5px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.page-hero__aside { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-self: end; }
.page-hero__meta { display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.page-hero__meta span { display: flex; align-items: center; gap: 8px; }
.page-hero__meta .icon { color: var(--accent); }

.prose { max-width: 70ch; }
.prose p { color: var(--ink-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius); background: var(--brown); color: #fff; }
.cta-band h2 { font-size: clamp(22px, 2.4vw, 30px); color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #e3c9b9; }

/* forum page */
.theme-band { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--radius); overflow: hidden; }
.theme-band > div { padding: clamp(26px, 3.4vw, 44px); }
.theme-band__en { background: var(--brown); color: #fff; }
.theme-band__fr { background: var(--accent); color: #fff; }
.theme-band small { display: block; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 14px; }
.theme-band p { font-family: var(--serif); font-size: clamp(20px, 2.1vw, 26px); font-weight: 600; line-height: 1.3; margin: 0; }
.theme-band__fr p { font-family: var(--sans); font-style: italic; font-weight: 500; }

.obj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.obj { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.obj__n { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.obj h3 { font-size: 18px; margin-bottom: 8px; }
.obj p { font-size: 15px; color: var(--muted); margin: 0; }

.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scope__item { padding: 28px; border-radius: var(--radius); background: #fff; border-top: 5px solid var(--c, var(--accent)); box-shadow: var(--shadow-sm); }
.scope__item h3 { font-size: 19px; margin-bottom: 16px; }
.scope__item h3 span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--accent)); margin-bottom: 8px; }
.scope__item ul { list-style: none; display: grid; gap: 8px; }
.scope__item li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.scope__item li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--accent)); transform: rotate(45deg); }

.editions { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.editions::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.edition { position: relative; padding-right: 24px; }
.edition__dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-strong); font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--brown); position: relative; margin-bottom: 18px; }
.edition--current .edition__dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 8px var(--accent-soft); }
.edition--next .edition__dot { border-style: dashed; }
.edition h3 { font-size: 20px; margin-bottom: 6px; }
.edition p { font-size: 15px; color: var(--muted); margin: 0; }

.host { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.host__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.host__img img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--brown); }

/* programme page */
.day-tabs { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.day-tabs__list { display: flex; gap: 8px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.day-tabs__list::-webkit-scrollbar { display: none; }
.day-tab { flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; padding: 11px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.day-tab strong { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--brown); }
.day-tab > span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.day-tab:hover { border-color: var(--line-strong); }
.day-tab.is-active { background: var(--brown); border-color: var(--brown); }
.day-tab.is-active strong { color: #fff; }
.day-tab.is-active > span { color: #e3c9b9; }

.day-panel { padding-block: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--header-h) + 84px); }
.day-panel + .day-panel { border-top: 1px solid var(--line); }
.day-panel__head { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: end; margin-bottom: 36px; }
.day-panel__head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.day-panel__head h2 small { display: block; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.day-panel__head p { color: var(--muted); max-width: 60ch; margin: 0; }
.day-panel__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-sm); }
.day-panel__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.timeline { list-style: none; position: relative; }
.tl-item { display: grid; grid-template-columns: 132px 28px 1fr; gap: 0 10px; position: relative; }
.tl-item__time { padding: 20px 0; font-variant-numeric: tabular-nums; }
.tl-item__time strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--brown); }
.tl-item__time span { font-size: 13.5px; color: var(--muted); }
.tl-item__rail { position: relative; display: flex; justify-content: center; }
.tl-item__rail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-item:first-child .tl-item__rail::before { top: 28px; }
.tl-item:last-child .tl-item__rail::before { bottom: calc(100% - 28px); }
.tl-item__rail i { position: relative; margin-top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c, var(--muted)); }
.tl-item__body { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.tl-item--major .tl-item__body { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 14px; padding: 18px 22px; margin: 8px 0; box-shadow: var(--shadow-sm); }
.tl-item--major .tl-item__rail i { background: var(--c); width: 16px; height: 16px; }
.tl-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--muted)); margin-bottom: 6px; }
.tl-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tl-item__title { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--ink); margin: 0 0 4px; }
.tl-item--major .tl-item__title { font-family: var(--serif); font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--brown); }
.tl-item__sub { margin: 0; font-size: 15px; color: var(--muted); }
.tl-item__person { display: flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--ink-soft); font-weight: 500; }
.tl-item__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--accent-deep); text-decoration: none; }
.tl-item__more:hover { text-decoration: underline; }
.t-keynote, .t-panel, .t-papers, .t-posters, .t-ceremony, .t-sponsors { --c: var(--accent); }
.t-social, .t-break, .t-logistics { --c: #b3a79f; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; font-size: 13.5px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

/* speakers page */
.kn { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.kn:first-of-type { border-top: 0; }
.kn__meta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.kn__num { font-family: var(--serif); font-size: 54px; font-weight: 700; line-height: .9; color: var(--accent); letter-spacing: -0.03em; }
.kn__who strong { display: block; font-size: 17px; line-height: 1.3; color: var(--brown); }
.kn__who span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.kn__slot { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: var(--sand); font-size: 13.5px; font-weight: 600; color: var(--brown); }
.kn__slot .icon { color: var(--accent-deep); }
.kn__body h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.22; font-weight: 600; margin-bottom: 20px; max-width: 34ch; }
.kn__body p { color: var(--ink-soft); }
.collapse { position: relative; }
.js .collapse.is-collapsed { max-height: 11.5em; overflow: hidden; }
.js .collapse.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5em; background: linear-gradient(rgba(255,255,255,0), var(--paper)); }
.collapse-btn { display: none; margin-top: 8px; padding: 0; border: 0; background: none; font-family: var(--serif); font-weight: 600; color: var(--accent-deep); cursor: pointer; align-items: center; gap: 6px; }
.js .collapse-btn { display: inline-flex; }
.collapse-btn .icon { transition: transform .25s; }
.collapse-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.panel-card__n { font-family: var(--serif); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.panel-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 14px; }
.panel-card .kn__slot { margin-bottom: 20px; align-self: flex-start; }
.people { list-style: none; display: grid; gap: 12px; margin-top: auto; }
.people li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.3; }
.people li strong { display: block; font-size: 15px; color: var(--ink); }
.people li small { color: var(--muted); font-size: 13px; }
.people .is-mod { padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.people .is-mod small::after { content: " · Moderator"; color: var(--accent-deep); font-weight: 600; }

/* research page */
.awards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.award { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; background: var(--brown); }
.award img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.award::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(51,22,14,.9)); }
.award__body { position: relative; z-index: 1; padding: 24px; }
.award__body small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 6px; }
.award__body h3 { font-size: 22px; color: #fff; }
.award--text { background: var(--brown); padding: 28px; align-items: stretch; flex-direction: column; justify-content: space-between; }
.award--text::after { display: none; }
.award--text .icon { width: 44px; height: 44px; color: var(--accent); }
.award--text h3 { font-size: 24px; margin: 14px 0 10px; color: #fff; }
.award--text p { color: #e3c9b9; font-size: 15.5px; margin: 0; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding: 13px 18px 13px 46px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 15.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-family: var(--serif); font-size: 14px; font-weight: 500; color: var(--brown); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip span { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--brown); color: #fff; border-color: var(--brown); }
.chip[aria-pressed="true"] span { color: #e3c9b9; }

.paper-list { display: grid; gap: 14px; }
.paper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.paper:hover { border-color: var(--line-strong); }
.paper[open] { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.paper summary { list-style: none; display: grid; grid-template-columns: 76px 1fr 32px; gap: 18px; align-items: start; padding: 22px 24px; cursor: pointer; }
.paper summary::-webkit-details-marker { display: none; }
.paper__n { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1; color: var(--accent); }
.paper__n small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.paper__title, .paper__authors, .paper__org { display: block; }
.paper__title { font-family: var(--serif); font-size: 17.5px; font-weight: 600; line-height: 1.35; color: var(--brown); margin: 0 0 8px; }
.paper__authors { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.paper__org { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.paper__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.paper__tags span { padding: 3px 10px; border-radius: 999px; background: var(--sand); font-size: 12px; font-weight: 600; color: var(--brown); }
.paper__tags .lang { background: var(--accent-soft); color: var(--accent-deep); }
.paper__toggle { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--brown); transition: transform .25s, background-color .2s; }
.paper[open] .paper__toggle { transform: rotate(180deg); background: var(--brown); color: #fff; border-color: var(--brown); }
.paper__abstract { padding: 0 24px 24px calc(24px + 76px + 18px); color: var(--ink-soft); font-size: 15.5px; }
.paper__abstract p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.paper[hidden], [data-group][hidden] { display: none; }
.empty { display: none; padding: 30px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.empty.is-visible { display: block; }

.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.poster { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--accent); }
.poster__n { font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.poster h3 { font-size: 17px; line-height: 1.35; margin-bottom: 12px; }
.poster p { margin: 0; font-size: 14px; color: var(--muted); }
.poster p strong { color: var(--ink-2); font-weight: 600; }

.download-card { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--brown); color: #fff; }
.download-card img { border-radius: 4px; box-shadow: 0 16px 30px -10px rgba(0,0,0,.6); }
.download-card h3 { font-size: 24px; margin-bottom: 8px; color: #fff; }
.download-card p { color: #e3c9b9; font-size: 15px; }

/* gallery page */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-flow: dense; }
.masonry__item { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--sand-2); cursor: zoom-in; aspect-ratio: 3 / 4; }
.masonry__item--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.masonry__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item::after { content: attr(data-label); position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(51,22,14,.78); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.masonry__item:hover::after, .masonry__item:focus-visible::after { opacity: 1; transform: none; }
.masonry__item[hidden] { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-rows: auto 1fr auto; background: rgba(28, 12, 7, .96); color: #fff; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; color: #e3c9b9; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 72px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__caption { text-align: center; padding: 14px 18px 22px; font-size: 14px; color: #e3c9b9; margin: 0; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgba(255,255,255,.16); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lightbox__top .actions { display: flex; gap: 8px; align-items: center; }
.lightbox__top a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; }
.lightbox__top a:hover { background: rgba(255,255,255,.1); }
body.lb-open { overflow: hidden; }

.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.press-grid figure a { display: block; background: #fff; padding: 10px; border-radius: 6px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.press-grid figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* committees page */
.patron { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--brown); color: #fff; }
.patron img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid rgba(255,255,255,.14); }
.patron small { display: block; font-family: var(--serif); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 10px; }
.patron h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: #fff; margin-bottom: 6px; }
.patron p { margin: 0; color: #e3c9b9; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-family: var(--serif); font-size: 14px; font-weight: 500; color: var(--brown); text-decoration: none; }
.jump a:hover { border-color: var(--brown); }
.committee { padding-block: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.committee__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.committee__head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.committee__head span { font-size: 14px; color: var(--muted); }
.members { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.member { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.member div > strong { display: block; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.member div > span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.member--chair { grid-column: 1 / -1; padding: 20px 22px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; align-items: center; }
.member--chair div > strong { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--brown); }
.member--chair img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* partners page */
.partner-group { padding-block: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line); }
.partner-group:first-child { border-top: 0; padding-top: 0; }
.partner-group__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; margin-bottom: 28px; align-items: end; }
.partner-group__head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.partner-group__head p { margin: 0; color: var(--muted); }
.partner-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.partner { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .3s var(--ease); }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner__logo { height: 130px; display: grid; place-items: center; padding: 22px; }
.partner__logo img { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; }
.partner__logo--text { background: var(--sand); font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--brown); text-align: center; line-height: 1.15; }
.partner__name { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); border-top: 1px solid var(--line); line-height: 1.35; min-height: 62px; display: flex; align-items: center; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); flex-shrink: 0; }
.contact-card small { display: block; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card a, .contact-card strong { font-size: 16.5px; font-weight: 600; text-decoration: none; word-break: break-word; color: var(--ink); }
.contact-card a:hover { color: var(--accent-deep); }
.contact-card p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 26px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--serif); font-size: 14px; font-weight: 500; color: var(--brown); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 15.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field--error input, .field--error textarea { border-color: var(--clay); }
.field__err { font-size: 13px; color: var(--clay); }
.map { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound__code { font-family: var(--serif); font-weight: 800; font-size: clamp(110px, 18vw, 200px); line-height: .9; color: var(--accent); letter-spacing: -0.04em; }
.notfound h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 14px; }
.notfound p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.notfound .btn-row { justify-content: center; margin-top: 28px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .masonry { grid-template-columns: repeat(3, 1fr); }
    .logo-wall { grid-template-columns: repeat(4, 1fr); }
    .stats__grid { grid-template-columns: repeat(3, 1fr); }
    .stat:nth-child(4) { border-left: 0; padding-left: 0; }
    .stat { border-top: 1px solid rgba(255,255,255,.1); }
    .stat:nth-child(-n+3) { border-top: 0; }
    .days__grid { grid-template-columns: repeat(2, 1fr); }
    .keynotes__grid { grid-template-columns: repeat(2, 1fr); }
    .panels-strip { grid-template-columns: 1fr; }
    .obj-grid { grid-template-columns: repeat(2, 1fr); }
    .members { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .awards { grid-template-columns: 1fr 1fr; }
    .award--text { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 900px) {
    body { font-size: 16px; }
    .hero__grid, .theme__grid, .press__grid, .research-cta__grid, .next__grid, .two-col, .host, .contact-grid, .page-hero__inner, .day-panel__head, .partner-group__head { grid-template-columns: 1fr; }
    .hero__visual { height: clamp(360px, 80vw, 520px); }
    .press__clip { position: static; max-width: 520px; }
    .scope, .panel-grid { grid-template-columns: 1fr; }
    .theme-band { grid-template-columns: 1fr; }
    .editions { grid-template-columns: 1fr; gap: 28px; }
    .editions::before { left: 26px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px); }
    .edition { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; }
    .edition__dot { margin: 0; grid-row: span 2; }
    .kn { grid-template-columns: 1fr; gap: 20px; }
    .kn__meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
    .page-hero__aside { justify-self: start; }
    .day-panel__img { display: none; }
    .book { max-width: 300px; }
    .patron { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 680px) {
    :root { --header-h: 66px; }
    .topbar__msg { font-size: 12.5px; }
    .topbar__link { display: none; }
    .brand__logo { width: 42px; }
    .brand__text strong { font-size: 18px; }
    .brand__text small { font-size: 9.5px; letter-spacing: .06em; }
    .hero__title { font-size: clamp(31px, 8.4vw, 40px); }
    .hero__facts { grid-template-columns: 1fr; gap: 14px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .seal { width: 108px; height: 108px; top: -12px; }
    .seal img { width: 50px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat, .stat:first-child { padding: 24px 16px; border-left: 1px solid rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(-n+2) { border-top: 0; }
    .days__grid, .keynotes__grid, .obj-grid, .members, .form__row, .awards, .press-grid { grid-template-columns: 1fr; }
    .panels-strip ul { grid-template-columns: 1fr; }
    .keynote-card { min-height: 0; }
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .mosaic__item--1, .mosaic__item--5 { grid-column: span 2; }
    .mosaic__item--6, .mosaic__item--7 { display: none; }
    .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .logo-wall li { height: 80px; padding: 12px; }
    .logo-wall img { max-height: 48px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .subscribe__row { flex-direction: column; border-radius: 18px; }
    .subscribe .btn { width: 100%; justify-content: center; }
    .tl-item { grid-template-columns: 74px 20px 1fr; gap: 0 8px; }
    .tl-item__time strong { font-size: 16px; }
    .tl-item__time span { font-size: 12.5px; }
    .tl-item--major .tl-item__body { padding: 14px 16px; }
    .tl-item--major .tl-item__title { font-size: 17px; }
    .day-tab { min-width: 0; padding: 9px 14px; }
    .day-tab strong { font-size: 15.5px; }
    .day-tab__t { display: none; }
    .paper summary { grid-template-columns: 1fr 32px; padding: 18px; }
    .paper__n { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; font-size: 20px; }
    .paper__n small { margin: 0; }
    .paper__abstract { padding: 0 18px 20px; }
    .download-card { grid-template-columns: 1fr; }
    .download-card img { width: 140px; }
    .lightbox__stage { padding: 0 8px; }
    .lb-prev, .lb-next { top: auto; bottom: -62px; transform: none; }
    .lb-prev { left: calc(50% - 60px); }
    .lb-next { right: calc(50% - 60px); }
    .lightbox__caption { padding-bottom: 80px; }
    .member--chair { flex-direction: column; align-items: flex-start; }
    .masonry { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .masonry__item { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .nav-toggle, .next, .site-footer, .day-tabs, .lightbox { display: none !important; }
    .js .reveal { opacity: 1 !important; transform: none !important; }
    body { background: #fff; }
}

/* ---------- WordPress integration ---------- */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .day-tabs { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
    body.admin-bar .day-tabs { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
    body.admin-bar .site-header { top: 0; }
    body.admin-bar .day-tabs { top: var(--header-h); }
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wp-content img, .wp-content video, .wp-content iframe { max-width: 100%; height: auto; }
.wp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.wp-list a { color: var(--brown); text-decoration: none; }
.wp-list a:hover strong { color: var(--accent-deep); }
.nav-links { display: flex; gap: 10px; margin-top: 32px; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--brown); }
.nav-links .current { background: var(--accent); border-color: var(--accent); color: #fff; }
