:root {
  --ink: #171b1a;
  --paper: #f4f2ec;
  --white: #fffefa;
  --line: #c9cec8;
  --muted: #626965;
  --evergreen: #173f35;
  --mint: #b8e3d5;
  --raspberry: #b5325b;
  --cobalt: #3554c8;
  --amber: #e8a43b;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 12px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(22px, calc((100vw - var(--max)) / 2)); color: var(--white); background: rgba(23, 27, 26, .96); border-bottom: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.brand > span:last-child > span { color: var(--mint); }
.brand-symbol { position: relative; display: block; width: 22px; height: 22px; }
.brand-symbol i { position: absolute; width: 7px; height: 7px; background: var(--mint); border-radius: 50%; }
.brand-symbol i:nth-child(1) { top: 1px; left: 7px; }
.brand-symbol i:nth-child(2) { top: 10px; left: 1px; background: var(--amber); }
.brand-symbol i:nth-child(3) { top: 10px; right: 1px; background: var(--raspberry); }
.brand-symbol i:nth-child(4) { bottom: 0; left: 7px; background: var(--cobalt); }
.site-nav { height: 100%; display: flex; align-items: stretch; }
.site-nav a { display: grid; place-items: center; padding: 0 13px; font-size: 12px; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--mint); }
.site-nav .nav-cta { color: var(--ink); background: var(--amber); }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { color: var(--ink); background: #f0b95f; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 390px; overflow: hidden; color: var(--white); background: var(--evergreen); }
.hero-canvas, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { opacity: .18; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent 15%, #000 60%); }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - 44px)); margin: 0 auto; padding: 52px 0 28px; }
.eyebrow, .section-index, .group-label { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0; }
.light { color: rgba(255,255,255,.72); }
.hero h1 { max-width: 820px; margin-top: 12px; font-size: clamp(46px, 6.3vw, 88px); line-height: .92; font-weight: 700; letter-spacing: 0; }
.hero h1 span { color: var(--amber); }
.hero-deck { max-width: 670px; margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.78); }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-meta div { padding: 13px 18px 0 0; border-right: 1px solid rgba(255,255,255,.2); }
.hero-meta div + div { padding-left: 18px; }
.hero-meta div:last-child { border-right: 0; }
.hero-meta dt { margin-bottom: 4px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--mint); }
.hero-meta dd { font-size: 13px; font-weight: 700; line-height: 1.35; }

.page-shell { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
.section { padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 54px; align-items: end; margin-bottom: 24px; }
.section-heading h2, .organizers h2, .practical h2 { margin-top: 5px; font-size: clamp(25px, 3vw, 38px); line-height: 1.08; letter-spacing: 0; }
.section-heading > p { max-width: 510px; color: var(--muted); }
.section-index { color: var(--raspberry); }
.compact-heading h2 { font-size: 30px; }

.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.theme-grid article { min-height: 105px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.36); }
.theme-grid span { font: 10px var(--mono); color: var(--raspberry); }
.theme-grid h3 { font-size: 15px; line-height: 1.2; }
.theme-grid p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.program-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, .8fr); gap: 18px; align-items: start; }
.schedule { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.schedule li { position: relative; min-height: 54px; display: grid; grid-template-columns: 105px 1fr; gap: 14px; align-items: center; padding: 8px 15px; border-bottom: 1px solid var(--line); background: var(--white); }
.schedule li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--muted); }
.schedule li.invited::before { background: var(--raspberry); }
.schedule li.contributed::before { background: var(--cobalt); }
.schedule li.break::before, .schedule li.poster::before { background: var(--amber); }
.schedule li.panel-row::before { background: var(--evergreen); }
.schedule time { font: 11px var(--mono); }
.schedule strong { font-size: 13px; line-height: 1.25; }
.panel-card { padding: 24px; color: var(--white); background: var(--cobalt); }
.panel-card h3 { margin: 13px 0 18px; font-size: 26px; line-height: 1.08; }
.panel-card h3 em { color: var(--mint); font-style: normal; }
.panel-card ol { list-style: none; padding: 0; border-top: 1px solid rgba(255,255,255,.28); }
.panel-card li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.panel-card li span { font: 10px var(--mono); color: var(--mint); }
.panel-card li p { font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.86); }
.panel-card li strong { color: var(--white); }

.people-group + .people-group { margin-top: 22px; }
.group-label { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.raspberry { background: var(--raspberry); }
.dot.cobalt { background: var(--cobalt); }
.person-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.person { min-height: 72px; display: flex; gap: 10px; align-items: center; padding: 9px 10px; background: var(--white); border: 1px solid var(--line); }
.person img, .person .initials { flex: 0 0 52px; width: 52px; min-width: 52px; max-width: 52px; height: 52px; min-height: 52px; max-height: 52px; aspect-ratio: 1; display: block; border-radius: 50%; object-fit: cover; background: var(--paper); border: 1px solid var(--line); }
.person .initials { display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1; }
.person h3 { font-size: 14px; line-height: 1.25; }
.person h3 a:hover, .person h3 a:focus-visible { color: var(--raspberry); text-decoration: underline; }
.person p { margin-top: 3px; color: var(--raspberry); font-size: 12px; line-height: 1.3; font-weight: 600; }
.person.tba { background: rgba(232,164,59,.13); }
.panelist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panelist-grid .person p { color: var(--cobalt); }
.panelist-grid .person h3 a:hover, .panelist-grid .person h3 a:focus-visible { color: var(--cobalt); }

.practical { border-bottom: 0; }
.practical-grid { display: grid; grid-template-columns: 1.2fr .8fr; }
.abstract-card, .venue-card { min-height: 355px; padding: 28px; }
.abstract-card { background: var(--amber); }
.venue-card { color: var(--white); background: var(--evergreen); }
.status-chip { display: inline-block; margin: 22px 0 10px; padding: 5px 8px; font: 10px var(--mono); text-transform: uppercase; background: var(--white); }
.abstract-card > p:not(.section-index):not(.status-chip) { max-width: 620px; margin-top: 14px; }
.form-cta { display: inline-flex; align-items: center; min-height: 42px; margin-top: 22px; padding: 10px 15px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.form-cta:hover, .form-cta:focus-visible { color: var(--ink); background: var(--white); }
.mini-stats { display: flex; gap: 8px; margin-top: 28px; }
.mini-stats span { min-width: 100px; display: flex; align-items: baseline; gap: 5px; padding: 10px; border: 1px solid rgba(23,27,26,.35); font: 10px var(--mono); text-transform: uppercase; }
.mini-stats strong { font: 22px var(--sans); }
.venue-card > p:not(.section-index) { margin-top: 10px; color: var(--mint); }
.venue-card dl { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.25); }
.venue-card dl div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.venue-card dt { font: 10px var(--mono); text-transform: uppercase; color: var(--mint); }
.venue-card dd { font-size: 12px; }
.organizers { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; padding-top: 28px; }
.organizers h2 { font-size: 25px; }
.organizer-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.organizer-list article { padding: 13px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.organizer-list h3 { font-size: 13px; }
.organizer-list p { margin-top: 3px; color: var(--muted); font: 10px var(--mono); }

.site-footer { min-height: 78px; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 16px max(22px, calc((100vw - var(--max)) / 2)); color: rgba(255,255,255,.7); background: var(--ink); font-size: 11px; }
.footer-brand { color: var(--white); }

@media (max-width: 900px) {
  .program-layout { grid-template-columns: 1fr; }
  .panel-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
  .panel-card .eyebrow { grid-column: 1; }
  .panel-card h3 { grid-column: 1; margin: 0; }
  .panel-card ol { grid-column: 2; grid-row: 1 / span 2; }
  .person-grid { grid-template-columns: repeat(3, 1fr); }
  .panelist-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 54px; }
  .site-header { padding: 0 18px; }
  .menu-toggle { position: relative; display: block; width: 38px; height: 38px; padding: 0; border: 0; color: var(--white); background: transparent; }
  .menu-toggle > span:not(.sr-only) { position: absolute; left: 9px; width: 20px; height: 2px; background: currentColor; }
  .menu-toggle > span:first-child { top: 14px; }
  .menu-toggle > span:nth-child(2) { top: 22px; }
  .site-nav { position: fixed; inset: 54px 0 auto; height: auto; display: none; grid-template-columns: repeat(2, 1fr); padding: 8px 18px 18px; background: var(--ink); }
  .site-nav.open { display: grid; }
  .site-nav a { min-height: 44px; justify-items: start; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .site-nav .nav-cta { justify-items: center; margin-top: 8px; grid-column: 1 / -1; }
  .hero { min-height: 460px; }
  .hero-inner, .page-shell { width: min(100% - 30px, var(--max)); }
  .hero-inner { padding-top: 42px; }
  .hero h1 { font-size: clamp(41px, 13vw, 62px); }
  .hero-deck { font-size: 14px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
  .hero-meta div { padding: 10px 10px 10px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .hero-meta div + div { padding-left: 10px; }
  .hero-meta div:nth-child(2) { border-right: 0; }
  .section { padding: 28px 0 31px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .section-heading h2 { font-size: 27px; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-grid article { min-height: 115px; grid-template-columns: 1fr; gap: 6px; padding: 13px; }
  .panel-card { display: block; }
  .panel-card h3 { margin: 12px 0 18px; }
  .person-grid, .panelist-grid { grid-template-columns: repeat(2, 1fr); }
  .practical-grid { grid-template-columns: 1fr; }
  .abstract-card, .venue-card { min-height: 0; padding: 24px; }
  .organizers { grid-template-columns: 1fr; gap: 16px; }
  .organizer-list { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 6px; padding: 20px 18px; }
}

@media (max-width: 430px) {
  .schedule li { grid-template-columns: 82px 1fr; gap: 9px; padding-right: 8px; }
  .schedule b { display: none; }
  .schedule time { font-size: 9px; }
  .person-grid, .panelist-grid { grid-template-columns: 1fr; }
  .mini-stats { flex-wrap: wrap; }
  .mini-stats span { min-width: calc(50% - 4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
