*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #0a2240;
  --text:      #1e2d3d;
  --muted:     #6b8ca4;
  --line:      #dde7ef;
  --surface:   #ffffff;
  --teal:      #126a98;
  --accent:    #5fcae8;
}

html, body { min-height: 100%; }
html { overflow-x: clip; scroll-padding-top: 44px; }
body { overflow-x: clip; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #a8caE0 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, #c4dceb 0%, transparent 55%),
    linear-gradient(180deg, #bfd9e8 0%, #d6e6f0 25%, #e3eef5 55%, #ecf3f8 100%);
  background-attachment: fixed;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap { width: 100%; margin: 0; padding: 0 56px; }

/* ── Header ── */
header {
  position: relative;
  padding: 72px 0 96px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 50% 0%, #1a8ab5 0%, transparent 60%),
    linear-gradient(180deg, #0a2240 0%, #0e4d7b 55%, #126a98 100%);
  overflow: hidden;
}
header.page-hero { padding: 56px 0 64px; }
header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23eaf3f9' d='M0,40 C240,75 480,5 720,30 C960,55 1200,15 1440,35 L1440,70 L0,70 Z'/%3E%3C/svg%3E") no-repeat bottom/100% 100%;
}
header .header-inner { padding-top: 0; }
header.page-hero .header-inner { padding-top: 0; }
header .eyebrow {
  display: inline-block;
  max-width: 100%;
  padding: 0 0 6px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
}
header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin-bottom: 14px;
}
header h1 .year { color: var(--accent); }
header.page-hero h1 { font-size: clamp(1.6rem, 3.8vw, 2.4rem); }
header .subtitle {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 22px;
  font-weight: 400;
}
header .meta {
  display: block;
  padding: 8px 0 0;
  font-size: .9rem;
  color: rgba(255,255,255,.92);
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
header .meta .meta-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
header .meta .meta-link:hover { text-decoration-color: rgba(255,255,255,.85); }

/* ── Top nav (sticky) ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(10, 34, 64, .04), 0 4px 12px rgba(10, 34, 64, .08);
}
.site-nav .wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
}
.site-nav a,
.site-nav span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  background: var(--accent);
}
.site-nav .disabled {
  cursor: default;
  pointer-events: none;
  color: rgba(255,255,255,.4);
}
.site-nav .disabled .tag {
  margin-left: 3px;
  color: rgba(255,255,255,.45);
}

/* ── Main ── */
main { padding: 56px 0 24px; }

/* Shared content width — matches .content used on call-for-papers */
main > .wrap > .content { max-width: 880px; margin: 0 auto; }

/* ── Poster ── */
.poster {
  margin: 0;
}
.poster button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: zoom-in;
}
.poster button img {
  display: block;
  width: 100%;
  height: auto;
}
.poster .caption {
  margin-top: 8px;
  font-size: .76rem;
  color: var(--muted);
  text-align: center;
}

/* Float variant — appears at top-right of welcome message, text wraps left */
.poster-float {
  float: right;
  width: 240px;
  margin: 4px 0 16px 28px;
  shape-outside: margin-box;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 20, 35, .88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  display: block;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  opacity: .85;
}
.lightbox-close:hover { opacity: 1; }

/* ── Welcome ── */
.welcome { display: flow-root; }
.welcome h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.welcome .lead {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.welcome .lead::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 48px; height: 2px;
  background: var(--teal);
}
.welcome p {
  font-size: .95rem;
  line-height: 1.78;
  margin-bottom: 14px;
  color: #2c3e52;
}
.welcome p.dropcap::first-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: .9;
  color: #0e4d7b;
  margin-right: 6px;
  vertical-align: -.22em;
}
.welcome .signature {
  clear: both;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.welcome .signature .role {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.welcome .signature .name {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

/* ── Section heading (shared) ── */
.section { margin-top: 64px; scroll-margin-top: 24px; }
.section > h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -.005em;
}
.section > p.lead-line {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 20px;
}

/* ── News ── */
.news-item {
  border-left: 2px solid var(--teal);
  padding: 4px 0 4px 18px;
}
.news-item time {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.news-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.news-item p {
  font-size: .94rem;
  line-height: 1.7;
  color: #2c3e52;
}
.news-item a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.news-item a:hover { text-decoration: underline; }

/* ── Committees ── */
.committee-block { margin-bottom: 28px; }
.committee-block h3 {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 28px;
}
.committee-grid .person {
  font-size: .94rem;
  color: var(--text);
  padding: 4px 0;
}
.committee-grid .person .aff {
  color: var(--muted);
  font-size: .85rem;
  margin-left: 6px;
}
.committee-block.solo .committee-grid {
  grid-template-columns: 1fr;
  gap: 4px;
}

/* ── Buttons ── */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  max-width: 100%;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover { background: #102e54; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: rgba(10, 34, 64, .06); }

/* ── Callouts ── */
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  padding: 16px 20px;
  margin: 14px 0;
  font-size: .93rem;
  color: #2c3e52;
}
.callout.note {
  border-left-color: var(--accent);
  background: #f5fbfd;
  font-style: italic;
  color: #3b556e;
}
.callout strong { color: var(--ink); }

#abstract-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid var(--teal);
  scroll-margin-top: 24px;
}
#abstract-cta .copy { max-width: 60ch; min-width: 0; flex: 1 1 320px; }
#abstract-cta .copy h2 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 6px;
}
#abstract-cta .copy p {
  color: var(--muted);
  font-size: .92rem;
}
#abstract-cta .btn-row { margin-top: 0; }

/* ── Schedule Table ── */
.schedule { margin-top: 64px; scroll-margin-top: 24px; }
.schedule h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -.005em;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}
th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}
tbody tr:last-child td { border-bottom: 1px solid var(--ink); }
td.date {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 600;
}
tr.group td {
  padding: 22px 16px 6px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  border-bottom: none;
  background: transparent;
}
tr.group:first-child td { padding-top: 6px; }

/* ── Abstract page content ── */
.content {
  max-width: 880px;
  margin: 0 auto;
}
.content .doc-section {
  margin-top: 40px;
  scroll-margin-top: 24px;
}
.content .doc-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  letter-spacing: -.005em;
}
.content .doc-section h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 20px;
  margin-bottom: 8px;
}
.content .doc-section p {
  font-size: .95rem;
  line-height: 1.78;
  margin-bottom: 12px;
  color: #2c3e52;
}
.content .doc-section ul {
  margin: 6px 0 14px 22px;
  padding: 0;
}
.content .doc-section ul li {
  font-size: .94rem;
  line-height: 1.7;
  margin-bottom: 6px;
  color: #2c3e52;
}
.content .doc-section ul li strong { color: var(--ink); }

/* ── Footer ── */
footer {
  margin-top: 64px;
  padding: 36px 0 24px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--text);
  background: rgba(255,255,255,.55);
}
footer a { color: var(--teal); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-col { min-width: 0; }
.footer-col a { overflow-wrap: anywhere; }
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.footer-col p {
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 6px;
  color: var(--text);
}
.footer-col p .role {
  display: inline-block;
  min-width: 140px;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li {
  font-size: .88rem;
  line-height: 1.9;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  header { padding: 36px 0 32px; }
  .poster-float {
    float: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px;
  }
  header .eyebrow { letter-spacing: .2em; }
  main { padding: 36px 0 16px; }
  th, td { padding: 12px 10px; font-size: .9rem; }
  td.date { font-size: .85rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col p .role { min-width: 0; display: block; margin-bottom: 2px; }
  .site-nav .wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 38px;
    gap: 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav a,
  .site-nav span { padding: 0 10px; }
  .site-nav a[aria-current="page"]::after { left: 10px; right: 10px; bottom: 6px; }
  .site-nav .wrap::-webkit-scrollbar { height: 4px; }
  #abstract-cta { flex-direction: column; align-items: stretch; padding: 20px 22px; }
  #abstract-cta .btn-row { width: 100%; }
  .btn { flex: 1 1 auto; justify-content: center; }
  .committee-grid { grid-template-columns: 1fr; }
  .content .doc-section h2 { font-size: 1.05rem; }
}
@media (max-width: 380px) {
  header .eyebrow { font-size: .68rem; letter-spacing: .16em; }
  header .meta { font-size: .82rem; }
  .btn { padding: 10px 14px; font-size: .78rem; letter-spacing: .06em; }
}
