/* ============================================================
   Human–Robot Dialogue · IROS 2026
   Token-driven stylesheet — themes & tweaks set CSS variables.
   ============================================================ */

:root {
  /* set by JS — defaults match dark editorial */
  --accent: #ff5b35;
  --accent-ink: #0b0b0c;

  --bg: #0b0b0c;
  --bg-elev: #131316;
  --fg: #f3f0e9;
  --fg-soft: #c9c4b9;
  --muted: #8a8680;
  --rule: rgba(255,255,255,0.10);
  --rule-soft: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.04);

  --display: "Instrument Serif", "Source Serif 4", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* density-driven scale */
  --pad-x: clamp(20px, 5vw, 88px);
  --gap-section: 120px;
  --gap-block: 56px;
  --gap-item: 20px;
  --hero-pad-y: 140px;
}

:root[data-theme="light"] {
  --bg: #f4f1ea;
  --bg-elev: #ffffff;
  --fg: #15130f;
  --fg-soft: #2a2722;
  --muted: #6b6760;
  --rule: rgba(0,0,0,0.12);
  --rule-soft: rgba(0,0,0,0.06);
  --chip-bg: rgba(0,0,0,0.035);
  --accent-ink: #ffffff;
}

:root[data-density="compact"] {
  --gap-section: 72px;
  --gap-block: 36px;
  --gap-item: 14px;
  --hero-pad-y: 88px;
}
:root[data-density="spacious"] {
  --gap-section: 180px;
  --gap-block: 80px;
  --gap-item: 28px;
  --hero-pad-y: 200px;
}

/* font pairings */
:root[data-fontpair="technical"] {
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}
:root[data-fontpair="classic"] {
  --display: "Source Serif 4", Georgia, serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ============================================================ base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
a.link {
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s, color .2s;
}
a.link:hover { border-color: var(--accent); color: var(--accent); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; font-family: var(--display); letter-spacing: -0.01em; }
:root[data-fontpair="technical"] h1,
:root[data-fontpair="technical"] h2,
:root[data-fontpair="technical"] h3,
:root[data-fontpair="technical"] h4 { font-weight: 500; letter-spacing: -0.02em; }

p { margin: 0; }

.mono { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.mono-lg { font-family: var(--mono); font-size: 0.85em; letter-spacing: 0.02em; color: var(--muted); }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ============================================================ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.brand .dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}
.brand-logo {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
:root[data-theme="dark"]  .brand-logo--light,
:root[data-theme="light"] .brand-logo--dark { display: none; }
:root[data-theme="dark"]  .foot-logo--light,
:root[data-theme="light"] .foot-logo--dark  { display: none; }

/* HRD lockup */
.hrd-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.hrd-mark {
  display: block;
  overflow: visible;
  flex-shrink: 0;
}
.hrd-mark .hrd-h {
  fill: var(--bg);
  stroke: var(--fg);
  stroke-width: 1.4;
}
.hrd-mark .hrd-r {
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 1.4;
}
.hrd-mark .hrd-arc-h {
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.hrd-mark .hrd-arc-r {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.hrd-mark .hrd-tick-h { fill: var(--fg); }
.hrd-mark .hrd-tick-r { fill: var(--accent); }
.hrd-wordmark {
  font-family: var(--display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--fg);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  max-width: 14ch;
}
:root[data-fontpair="technical"] .hrd-wordmark { font-style: normal; font-weight: 500; }
:root[data-fontpair="classic"]   .hrd-wordmark { font-style: normal; }
.hrd-wordmark .hrd-wm-dash { color: var(--accent); font-style: normal; }
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--muted);
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--fg); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--chip-bg);
  color: var(--fg-soft);
  cursor: pointer;
  padding: 0;
  transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--accent);
}

@media (max-width: 920px) {
  .nav-links { display: none; }
}

/* ============================================================ hero */
.hero {
  position: relative;
  padding-top: var(--hero-pad-y);
  padding-bottom: calc(var(--hero-pad-y) - 20px);
  overflow: hidden;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}
.hero-kicker .accent-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-kicker .sep { color: var(--rule); }

.hero-title {
  font-family: var(--display);
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  text-wrap: balance;
  max-width: 16ch;
}
:root[data-fontpair="technical"] .hero-title { font-style: normal; font-weight: 500; }
:root[data-fontpair="classic"] .hero-title { font-style: normal; font-weight: 400; }

.hero-title .nodash { color: var(--accent); font-style: normal; }
.hero-sub {
  margin-top: 32px;
  max-width: 52ch;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--fg-soft);
}

/* hero layouts */
.hero[data-layout="editorial"] .hero-grid {
  display: block;
}
.hero[data-layout="editorial"] .hero-title { max-width: 18ch; }
.hero[data-layout="editorial"] .hero-meta {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.hero[data-layout="editorial"] .hero-meta dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero[data-layout="editorial"] .hero-meta dd {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--fg);
}

.hero[data-layout="schematic"] .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero[data-layout="schematic"] .hero-sub { margin-top: 28px; }
.hero[data-layout="schematic"] .schematic {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
@media (max-width: 960px) {
  .hero[data-layout="schematic"] .hero-grid { grid-template-columns: 1fr; }
  .hero[data-layout="schematic"] .schematic { max-width: 380px; margin: 32px 0 0; }
}

.hero[data-layout="split"] .hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero[data-layout="split"] .hero-title { font-size: clamp(44px, 6.4vw, 96px); }
.hero[data-layout="split"] .info-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero[data-layout="split"] .info-card {
  border: 1px solid var(--rule);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.hero[data-layout="split"] .info-card .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero[data-layout="split"] .info-card .value {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--fg);
}
@media (max-width: 960px) {
  .hero[data-layout="split"] .hero-grid { grid-template-columns: 1fr; }
}

/* hero background — soft grid lines */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, black 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.7;
}
.hero > * { position: relative; }

/* schematic motif — abstract dialogue graph */
.schematic { position: relative; width: 100%; }
.schematic svg { width: 100%; height: 100%; display: block; overflow: visible; }
.schematic .node-h, .schematic .node-r {
  fill: var(--bg);
  stroke: var(--fg);
  stroke-width: 1.2;
}
.schematic .node-accent { fill: var(--accent); }
.schematic .node-label {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--muted);
  letter-spacing: 0.1em;
}
.schematic .node-letter {
  font-family: var(--display);
  font-size: 48px;
  fill: var(--fg);
}
.schematic .node-letter.on-accent { fill: var(--accent-ink); }
.schematic .edge {
  stroke: var(--fg);
  stroke-width: 1;
  fill: none;
}
.schematic .edge-dash {
  stroke: var(--muted);
  stroke-dasharray: 3 4;
  stroke-width: 1;
  fill: none;
}
.schematic .satellite {
  fill: var(--bg);
  stroke: var(--rule);
  stroke-width: 1;
}
.schematic .bubble-rect {
  fill: var(--bg-elev);
  stroke: var(--rule);
}
.schematic .bubble-text {
  font-family: var(--mono);
  font-size: 9px;
  fill: var(--muted);
  letter-spacing: 0.06em;
}

/* ============================================================ section base */
section { padding-top: var(--gap-section); }
section:last-of-type { padding-bottom: var(--gap-section); }

.section-head {
  padding-bottom: var(--gap-block);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--gap-block);
}
.section-head .kicker {
  width: 36px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-family: var(--display);
  text-wrap: balance;
  max-width: 18ch;
  color: var(--fg);
}
:root[data-fontpair="editorial"] .section-head h2 { font-style: italic; }
:root[data-fontpair="technical"] .section-head h2 { font-weight: 500; letter-spacing: -0.035em; }

.section-head .section-sub {
  margin-top: 24px;
  font-family: var(--body);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
  font-style: normal;
}

/* ============================================================ overview */
.overview-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}
.overview-body {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 62ch;
  text-wrap: pretty;
}
.overview-body p + p { margin-top: 1em; }
.overview-body em.accent { color: var(--accent); font-style: normal; font-weight: 500; }
@media (max-width: 820px) {
  .overview-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================ topics */
.topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.topic {
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.topic:last-child { border-bottom: 1px solid var(--rule); }
.topic .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 8px;
}
.topic h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
:root[data-fontpair="editorial"] .topic h3 { font-style: italic; }
.topic ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.topic li {
  font-size: 16.5px;
  color: var(--fg-soft);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
  text-wrap: pretty;
}
.topic li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 1px;
  background: var(--accent);
}
@media (max-width: 820px) {
  .topic { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .topic .num { padding-top: 0; }
}

/* ============================================================ important dates */
.dates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.date-item {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.date-item:last-child { border-right: 0; }
.date-item .date-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.date-item .date-value {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.date-item.is-tba .date-value { color: var(--muted); }
.date-item.is-now .date-value { color: var(--accent); }
.date-item.is-now::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--accent);
}
@media (max-width: 820px) {
  .dates { grid-template-columns: repeat(2, 1fr); }
  .date-item { border-bottom: 1px solid var(--rule); }
  .date-item:nth-child(2) { border-right: 0; }
}

/* ============================================================ cfp */
.cfp-card {
  border: 1px solid var(--rule);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: var(--chip-bg);
}
.cfp-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  max-width: 18ch;
  text-wrap: balance;
}
:root[data-fontpair="editorial"] .cfp-card h3 { font-style: italic; }
.cfp-card p {
  color: var(--fg-soft);
  max-width: 52ch;
  font-size: 16.5px;
}
.cfp-nonarchival {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-soft);
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.cfp-nonarchival strong { color: var(--fg); font-weight: 600; }
.cfp-dates {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 10px;
  max-width: 52ch;
}
.cfp-dates li {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--fg-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.cfp-dates li:last-child { border-bottom: none; padding-bottom: 0; }
.cfp-dates strong { color: var(--fg); font-weight: 600; }
.cfp-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease, color 0.15s ease;
}
a.cfp-badge:hover {
  background: var(--accent);
  color: var(--accent-ink, #fff);
}
@media (max-width: 820px) {
  .cfp-card { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
}

/* ============================================================ schedule */
.program-tba {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-style: italic;
  color: var(--fg-soft);
  text-align: center;
  padding: 64px 0;
  letter-spacing: -0.01em;
}
.schedule {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}
.sched-row {
  display: grid;
  grid-template-columns: 160px 1fr 220px;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.sched-row .t {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.sched-row .title {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg);
  line-height: 1.2;
  text-wrap: balance;
}
.sched-row .who {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: right;
}
.sched-row.kind-break { color: var(--muted); }
.sched-row.kind-break .title { color: var(--muted); font-family: var(--body); font-size: 15px; font-style: italic; }
.sched-row.kind-keynote .title::before {
  content: "Keynote";
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 12px;
  vertical-align: 2px;
}
@media (max-width: 820px) {
  .sched-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .sched-row .who { text-align: left; }
}

.sched-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================ people grid */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
}
@media (max-width: 1100px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .people-grid { grid-template-columns: 1fr; } }

.person { display: flex; flex-direction: column; gap: 14px; }
.person .photo {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg,
      var(--rule-soft) 0 1px,
      transparent 1px 14px);
  overflow: hidden;
}
.person .photo.has-img {
  background: var(--bg-elev);
}
.person .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.02);
  transition: filter .3s, transform .6s ease;
}
.person:hover .photo img { transform: scale(1.02); }
.person .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--bg) 35%, transparent) 100%);
  pointer-events: none;
  z-index: 1;
}
.person .photo.has-img::after {
  background: linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--bg) 80%, transparent) 100%);
}
.monogram {
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.02em;
  z-index: 2;
}
:root[data-fontpair="editorial"] .monogram { font-style: italic; }
.person .role-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 7px;
  z-index: 2;
}
.person .corner {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 16px; height: 16px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  z-index: 2;
}
.person .name {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.01em;
}
:root[data-fontpair="editorial"] .person .name { font-style: italic; }
.person .aff {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================ sponsors */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 820px) { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
.sponsor-slot {
  aspect-ratio: 16 / 7;
  border: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================ footer */
footer {
  margin-top: var(--gap-section);
  border-top: 1px solid var(--rule);
  padding: 48px 0 56px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.foot-grid p, .foot-grid a {
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.6;
}
.foot-mark {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.01em;
  max-width: 18ch;
}
:root[data-fontpair="editorial"] .foot-mark { font-style: italic; }
.foot-logo-wrap {
  margin-top: 96px;
  display: flex;
  justify-content: center;
}
.foot-logo {
  height: 110px;
  width: auto;
  display: block;
  opacity: 0.9;
}
.foot-legal {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 600px) { .foot-legal { flex-direction: column; gap: 8px; } }
