/* =========================================================
   ICCSD 2026 — Conference site stylesheet
   Design language: light & spacious modern SaaS aesthetic —
   deep steel-blue structure with a construction-orange accent
   on clean white/slate-tint surfaces (blueprint + safety-orange
   feel, fitting civil/structural engineering). Same light-hero
   pattern as IC3M, distinct palette.
   Display: Space Grotesk. Body: Inter. Data/mono: IBM Plex Mono.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --ink:        #1B2838;
  --ink-2:      #24354A;
  --ink-3:      #2F4661;
  --paper:      #F7F8FA;
  --surface:    #FFFFFF;
  --copper:     #EA6C2E;
  --maroon:     #EA6C2E;
  --light-bg:   #FDF0E8;
  --copper-dark:#B8501C;
  --copper-tint:#FCE4D3;
  --teal:       #2563AF;
  --text:       #1A2433;
  --text-muted: #64748B;
  --text-on-ink:#F2F5F9;
  --text-on-ink-muted: #A9BAD4;
  --border:     #E2E8F0;
  --border-ink: #24406B;
  --danger:     #B3402E;
  --success:    #1B7F53;
  --radius:     10px;
  --shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  overflow-x: hidden; /* prevents a horizontal scrollbar from the full-width banner's 100vw trick */
  background: var(--paper);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--copper-dark); }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2.5px solid var(--copper);
  outline-offset: 2px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--copper);
}

/* ---------- Circuit trace divider (signature element) ---------- */
.trace-divider {
  width: 100%;
  height: 22px;
  margin: 4px 0 28px;
  background-repeat: repeat-x;
  background-size: 140px 22px;
  opacity: 0.9;
}
.trace-divider--light {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='22'><path d='M0 11 H30 L38 3 H70 L78 19 H110 L118 11 H140' fill='none' stroke='%23CF4652' stroke-width='1.6'/><circle cx='30' cy='11' r='2.2' fill='%23CF4652'/><circle cx='78' cy='19' r='2.2' fill='%23CF4652'/><circle cx='118' cy='11' r='2.2' fill='%23CF4652'/></svg>");
}
.trace-divider--dark {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='22'><path d='M0 11 H30 L38 3 H70 L78 19 H110 L118 11 H140' fill='none' stroke='%235B7A9C' stroke-width='1.6'/><circle cx='30' cy='11' r='2.2' fill='%235B7A9C'/><circle cx='78' cy='19' r='2.2' fill='%235B7A9C'/><circle cx='118' cy='11' r='2.2' fill='%235B7A9C'/></svg>");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #FFFFFF; }
.btn-primary:hover { background: var(--copper-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--text-on-ink-muted); color: var(--text-on-ink); }
.btn-outline:hover { border-color: var(--copper); color: var(--copper); }
.btn-outline-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { border-color: var(--copper); color: var(--copper-dark); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); color: #fff; }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--light-bg);
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border);
}
.utility-bar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px; padding-top: 8px; padding-bottom: 8px;
}
.utility-bar span { display: inline-flex; align-items: center; gap: 6px; }
.utility-bar strong { color: var(--maroon); font-weight: 600; }

/* ---------- Row 1: icon utility bar ---------- */
.utility-bar--icons {
  background: var(--ink); color: var(--text-on-ink-muted); border-bottom: none;
}
.utility-bar--icons a { color: inherit; }
.utility-bar--icons .container { padding-top: 9px; padding-bottom: 9px; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.u-icon { font-size: 13px; }
.u-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px; padding: 3px 12px 3px 10px; font-size: 11.5px; color: var(--text-on-ink);
}

/* ---------- Row 2: logo + search/CTA ---------- */
.brand-row { background: var(--surface); border-bottom: 1px solid var(--border); }
.brand-row-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; row-gap: 10px; padding: 18px 0; }
.brand-block { display: flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-block .brand-text { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.brand-block .name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; color: var(--ink);
  line-height: 1.18; max-width: 780px;
}
.brand-block .tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.brand-row-actions { flex: none; margin-left: auto; }
.brand-logo-img { height: 108px; width: auto; max-width: 280px; object-fit: contain; display: block; }
@media (max-width: 900px) {
  .brand-logo-img { height: 84px; }
  .brand-block .name { font-size: 26px; max-width: 460px; }
}
@media (max-width: 700px) {
  .brand-row-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brand-row-actions { margin-left: 0; }
  .brand-logo-img { height: 64px; }
  .brand-block .name { font-size: 22px; max-width: 100%; }
}

/* ---------- Row 3: sitewide announcement ticker ---------- */
.ticker-bar.ticker-bar--sitewide {
  background: var(--copper); border-top: none; border-bottom: none;
}
.ticker-bar--sitewide .ticker-label { color: #fff; opacity: 0.9; }
.ticker-bar--sitewide .ticker-track span { color: #fff; }
.ticker-bar--sitewide .ticker-track span::before { content: "•"; color: rgba(255,255,255,0.6); margin-right: 10px; }
.ticker-bar--sitewide .ticker-track span a { color: inherit; text-decoration: none; }
.ticker-bar--sitewide .ticker-track span a:hover { text-decoration: underline; }

/* ---------- Row 4: white nav bar with home-icon button ---------- */
.site-header--light .container.site-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding-top: 6px; padding-bottom: 6px; position: relative;
}

/* Center the primary nav within row 4. Only applies at desktop widths —
   on mobile the nav drops into its own full-width row below the home
   button/toggle (see the 980px breakpoint), so it stays in normal flow there. */
@media (min-width: 981px) {
  .site-header--light .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
.nav-home-btn {
  flex: none; width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  background: var(--paper); border: 1px solid var(--border); color: var(--ink);
  margin-right: 6px; text-decoration: none;
}
.nav-home-btn:hover { background: var(--copper-tint); }
.nav-home-btn.active { background: var(--copper); border-color: var(--copper); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(16,27,45,0.06);
  position: sticky; top: 0; z-index: 40;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 20px;
}
.brand-mark {
  width: 40px; height: 40px; flex: none;
  border-radius: 4px;
  background: linear-gradient(155deg, var(--ink-3), var(--ink));
  border: 1px solid var(--border-ink);
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; background: var(--copper); border-radius: 50%;
}
.brand-mark::before { width: 5px; height: 5px; top: 8px; left: 8px; }
.brand-mark::after { width: 5px; height: 5px; bottom: 8px; right: 8px; }
.brand-mark { background-image:
    linear-gradient(155deg, var(--ink-3), var(--ink)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M10 10 H22 V22 H30' fill='none' stroke='%23CF4652' stroke-width='2'/></svg>");
}

.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: nowrap; }
.main-nav a {
  display: block; padding: 10px 10px; color: var(--ink);
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 13.5px;
  border-radius: var(--radius); white-space: nowrap;
}
.main-nav a:hover { background: rgba(145,24,37,0.08); color: var(--maroon); }
.main-nav a.active { color: var(--maroon); }
.nav-toggle { display: none; }

/* Dropdown groups (Committee, Resources) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px; padding: 10px 10px;
  background: none; border: none; color: var(--ink); cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 13.5px;
  border-radius: var(--radius); white-space: nowrap;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"] { background: rgba(145,24,37,0.08); color: var(--maroon); }
.nav-dropdown-toggle.active { color: var(--maroon); }
.nav-dropdown-toggle .caret { font-size: 10px; transition: transform 0.15s ease; }
.nav-dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: block; list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0;
  background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius);
  min-width: 200px; box-shadow: 0 10px 30px rgba(16,27,45,0.14);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}
.nav-dropdown-menu.open,
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a { padding: 10px 12px; font-size: 14px; white-space: nowrap; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex; background: none; border: 1px solid var(--border);
    color: var(--ink); padding: 8px 10px; border-radius: var(--radius); cursor: pointer;
  }
  .main-nav {
    display: none; width: 100%; order: 3;
    border-top: 1px solid var(--border); margin-top: 12px; padding-top: 8px;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; flex-wrap: wrap; }
  .site-header .container { flex-wrap: wrap; }
  .brand-logo-img { height: 48px; }

  /* On mobile the dropdown becomes a plain expandable section within
     the vertical menu, not a floating panel (there's no room to float). */
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--paper); margin: 2px 0 4px 14px;
    max-height: 0; overflow: hidden; padding: 0 6px; transition: max-height 0.2s ease, padding 0.2s ease;
  }
  .nav-dropdown-menu.open { max-height: 300px; padding: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--surface) 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  opacity: 0.6;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero h1 {
  color: var(--ink); font-size: clamp(32px, 4vw, 48px); margin: 14px 0 16px; letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--copper); }
.hero p.lead { color: var(--text-muted); font-size: 18.5px; max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta div { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--text-muted); }
.hero-meta strong { display: block; color: var(--ink); font-size: 15px; margin-top: 3px; }

.countdown-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.countdown-card .eyebrow { color: var(--copper); }
.countdown-card .eyebrow::before { background: var(--copper); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.countdown-grid div { text-align: center; }
.countdown-grid .num {
  font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 26px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 0;
}
.countdown-grid .lbl { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 68ch; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 12px; }
.section-head p { color: var(--text-muted); font-size: 16.5px; }

/* ---------- Page layout: content + sidebar ---------- */
.page-layout {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
}
.page-header {
  background: var(--light-bg); color: var(--text);
  padding: 44px 0 38px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1.4px, transparent 1.4px);
  background-size: 28px 28px; opacity: 0.6;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--ink); font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 6px; letter-spacing: -0.01em; }
.page-header p { color: var(--text-muted); max-width: 62ch; margin: 0; }
.breadcrumb { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--copper); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card-grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.topic-card { border-left: 3px solid var(--copper); }
.topic-card h4 { font-size: 16px; margin: 0 0 8px; }
.topic-card ul { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 15px; }
.topic-card li { margin-bottom: 4px; }

/* ---------- Committee ---------- */
.committee-group { margin-bottom: 44px; }
.committee-group h3 {
  font-size: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
  margin-bottom: 20px; display: inline-block;
}
.person-card { text-align: left; display: flex; gap: 14px; align-items: flex-start; }
.person-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: linear-gradient(155deg, var(--ink-3), var(--ink));
  color: var(--copper); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.person-avatar--photo { object-fit: cover; border: 1px solid var(--border); }
.person-card h4 { margin: 0 0 3px; font-size: 15.5px; }
.person-card .role { color: var(--copper-dark); font-size: 12.5px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.person-card .affil { color: var(--text-muted); font-size: 13.5px; margin-top: 3px; }

/* ---------- Timeline (Important Dates page) ---------- */
.timeline { position: relative; padding-left: 30px; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: ""; position: absolute; left: -37px; top: 2px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--copper);
  border: 3px solid var(--paper);
}
.timeline-item .date { font-family: 'IBM Plex Mono', monospace; font-weight: 600; color: var(--ink); font-size: 15px; }
.timeline-item .label { color: var(--text-muted); margin-top: 2px; }

/* ---------- Sidebar ---------- */
.sidebar-widget {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-widget h3::before { content: ""; width: 8px; height: 8px; background: var(--copper); border-radius: 1px; }
.date-row { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.date-row:last-child { border-bottom: none; }
.date-row .d { font-family: 'IBM Plex Mono', monospace; font-weight: 600; color: var(--copper-dark); font-size: 13.5px; white-space: nowrap; }
.date-row .l { color: var(--text); font-size: 14px; }
.quick-links { list-style: none; margin: 0; padding: 0; }
.quick-links li { border-bottom: 1px solid var(--border); }
.quick-links li:last-child { border-bottom: none; }
.quick-links a { display: flex; justify-content: space-between; padding: 10px 2px; font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; color: var(--text); }
.quick-links a:hover { color: var(--copper-dark); }
.announcement { font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.announcement:last-child { border-bottom: none; }
.announcement .when { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.sidebar-cta { background: var(--ink); color: var(--text-on-ink); }
.sidebar-cta h3 { color: #fff; border-color: var(--border-ink); }
.sidebar-cta p { color: var(--text-on-ink-muted); font-size: 14px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 15.5px; background: #fff; color: var(--text);
}
.form-control:focus { border-color: var(--copper); outline: none; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 13px 16px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 20px; border: 1px solid transparent; }
.alert-success { background: #E9F5EF; color: var(--success); border-color: #BFE3D0; }
.alert-error { background: #FBEAE7; color: var(--danger); border-color: #F3C7BE; }

/* ---------- Fee table ---------- */
table.fees { width: 100%; border-collapse: collapse; }
table.fees th, table.fees td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; font-size: 14.5px; }
table.fees th { background: var(--ink); color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
table.fees tr:nth-child(even) td { background: #FAFBFC; }
.papers-table td { vertical-align: top; }
.papers-table td:nth-child(2), .papers-table td:nth-child(3) { max-width: 280px; }
.paper-title-link {
  color: var(--teal); font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 5px;
}
.paper-title-link::after { content: "→"; color: var(--copper); font-size: 12px; flex: none; }
.paper-title-link:hover { color: var(--copper-dark); text-decoration: underline; }

/* ---------- Individual paper detail page ---------- */
.paper-detail-meta .meta-row { font-size: 15px; }

/* ---------- Steps (submission guidelines) ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 4px 0 26px 46px; border-left: 2px solid var(--border); margin-left: 15px; }
.steps li:last-child { border-color: transparent; padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -17px; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--copper); font-family: 'IBM Plex Mono', monospace; font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.steps h4 { margin: 0 0 6px; font-size: 16.5px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: #FFFFFF; color: var(--text-muted); padding: 48px 0 0; margin-top: 60px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--ink); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 14px; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--maroon); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 0; font-size: 12.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- Homepage banner carousel ---------- */
.banner-carousel {
  position: relative; overflow: hidden; border-radius: var(--radius);
  margin: 14px 0 22px; box-shadow: var(--shadow); background: var(--ink);
}
.banner-carousel--full-width {
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  border-radius: 0; box-shadow: none;
}
.banner-carousel--full-width .banner-slide img { height: 380px; }
@media (max-width: 780px) { .banner-carousel--full-width .banner-slide img { height: 220px; } }
.banner-slide { display: none; position: relative; }
.banner-slide.active { display: block; }
.banner-slide a { display: block; }
.banner-slide img { width: 100%; height: 300px; object-fit: cover; display: block; }
.banner-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(16,27,45,0.88), rgba(16,27,45,0));
  padding: 30px 26px 20px; pointer-events: none;
}
.banner-overlay h3 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.banner-overlay p { color: var(--text-on-ink-muted); margin: 0; font-size: 14px; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(16,27,45,0.62); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 17px; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.banner-arrow:hover { background: var(--copper); border-color: var(--copper); }
.banner-arrow--prev { left: 14px; }
.banner-arrow--next { right: 14px; }
.banner-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 7px; z-index: 2; }
.banner-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45);
  cursor: pointer; border: none; padding: 0;
}
.banner-dot.active { background: var(--copper); }

/* ---------- Scrolling announcements ticker ---------- */
.ticker-bar {
  background: var(--light-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker-bar .container { display: flex; align-items: center; gap: 18px; padding: 11px 24px; }
.ticker-label {
  flex: none; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12px;
  color: var(--copper); text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 7px;
}
.ticker-track-wrap { flex: 1; overflow: hidden; height: 20px; position: relative; }
.ticker-track {
  display: flex; gap: 64px; white-space: nowrap; position: absolute;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { color: var(--text); font-size: 13.5px; }
.ticker-track span::before { content: "•"; color: var(--copper); margin-right: 10px; }
.ticker-track span a { color: inherit; text-decoration: none; }
.ticker-track span a:hover { color: var(--copper); text-decoration: underline; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Proceedings cards ---------- */
.proceeding-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.proceeding-card--link { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.proceeding-card--link:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(16,27,45,0.14); color: inherit; }
.proceeding-card--link:hover h3 { color: var(--copper-dark); }

/* ---------- Blog ---------- */
.blog-card {
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(16,27,45,0.14); color: inherit; }
.blog-card:hover h3 { color: var(--copper-dark); }
.blog-card-banner { width: 100%; height: 170px; object-fit: cover; display: block; }
.blog-card-banner--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--ink-3), var(--ink)); color: var(--copper); font-size: 13px;
}
.blog-card-body { padding: 18px; }
.blog-card-date { font-size: 12px; color: var(--text-muted); }
.blog-card-body h3 { font-size: 16.5px; margin: 8px 0 6px; }
.blog-card-body p { font-size: 14px; color: var(--text-muted); margin: 0; }
.blog-card-readmore { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--copper-dark); font-family: 'Space Grotesk', sans-serif; }

.blog-content { font-size: 16.5px; line-height: 1.75; color: var(--text); }
.blog-content h2 { font-size: 23px; margin: 34px 0 14px; font-family: 'Space Grotesk', sans-serif; }
.blog-content h3 { font-size: 19px; margin: 28px 0 12px; font-family: 'Space Grotesk', sans-serif; }
.blog-content p { margin: 0 0 18px; }
.blog-content ul, .blog-content ol { margin: 0 0 18px; padding-left: 26px; }
.blog-content li { margin-bottom: 6px; }
.blog-content a { color: var(--teal); text-decoration: underline; }
.blog-content blockquote {
  margin: 22px 0; padding: 4px 20px; border-left: 3px solid var(--copper);
  color: var(--text-muted); font-style: italic;
}
.blog-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 10px 0; }
.proceeding-cover { width: 100%; height: 190px; object-fit: cover; display: block; }
.proceeding-cover--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--text-on-ink-muted); font-size: 12.5px;
}
.proceeding-body { padding: 20px; }
.indexing-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.indexing-badge { background: var(--copper-tint); color: var(--copper-dark); }
a.indexing-badge:hover { background: var(--copper); color: #fff; }

/* ---------- Download items (Downloads page) ---------- */
.download-item { display: flex; gap: 16px; align-items: flex-start; }
.download-item-icon {
  font-size: 26px; flex: none; width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--copper-tint); display: flex; align-items: center; justify-content: center;
}
.download-item-body h4 { margin: 0 0 6px; font-size: 16px; }
.download-item-body p { margin: 0 0 12px; color: var(--text-muted); font-size: 14px; }

/* ---------- Speaker cards ---------- */
.speaker-card { text-align: center; padding: 28px 24px; }
.speaker-photo {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; display: block; border: 3px solid var(--copper-tint);
}
.speaker-photo--placeholder {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--ink-3), var(--ink));
  color: var(--copper); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 28px;
  border: 3px solid var(--copper-tint);
}
.speaker-card h3 { font-size: 18px; margin: 0 0 4px; }
.speaker-card .role { color: var(--copper-dark); font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; }
.speaker-card .org { color: var(--text-muted); font-size: 13.5px; margin-top: 2px; }
.speaker-topic-box {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; margin-top: 16px; text-align: left; font-size: 14px;
}
.speaker-topic-box strong {
  display: block; font-family: 'Space Grotesk', sans-serif; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--copper-dark); margin-bottom: 4px;
}
.speaker-bio { color: var(--text-muted); font-size: 14px; text-align: left; margin-top: 14px; }
.speaker-card .btn { margin-top: 18px; }

/* ---------- Individual proceeding detail page ---------- */
.proceeding-detail-cover {
  width: 100%; max-width: 320px; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); float: right; margin: 0 0 20px 26px;
}
.proceeding-detail-meta { }
.meta-row {
  display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px;
}
.meta-row:last-child { border-bottom: none; }
.meta-label {
  flex: none; width: 110px; font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted);
}
@media (max-width: 560px) {
  .proceeding-detail-cover { float: none; margin: 0 0 20px; max-width: 100%; }
}

@media (max-width: 640px) {
  .banner-slide img { height: 210px; }
  .banner-overlay h3 { font-size: 17px; }
}
.badge {
  display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  padding: 3px 9px; border-radius: 20px; background: var(--copper-tint); color: var(--copper-dark);
  font-weight: 600;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--copper); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }