/* AI Agents for Discovery in the Wild | ACM CAIS 2026 Workshop */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #faf9f5;
  --bg-alt: #f4f2ec;
  --surface: #ffffff;
  --ink: #171410;
  --ink-2: #4d5650;
  --ink-3: #707872;
  --ink-4: #929891;
  --accent: #6b0102;
  --accent-deep: #470102;
  --border: rgba(77, 86, 80, 0.1);
  --border-strong: rgba(77, 86, 80, 0.16);
  --border-soft: rgba(77, 86, 80, 0.06);
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --sans: "Manrope", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --container: 1160px;
  --gutter: clamp(22px, 4vw, 40px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: inherit;
}

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

.container {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--container);
  margin: 0 auto;
}

#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}

#navbar.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  max-width: min(340px, calc(100% - 56px));
}

.conference-logo {
  width: auto;
  height: auto;
  object-fit: contain;
}

.conference-logo-nav {
  height: 44px;
  max-width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
}

#hero {
  padding: 144px 0 42px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: start;
  max-width: 1120px;
}

.hero-copy {
  max-width: 920px;
}

.hero-kicker {
  margin-bottom: 16px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#hero h1 {
  max-width: 900px;
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
  overflow: visible;
}

#hero h1 em {
  display: inline-block;
  padding-right: 0.12em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #0b4a35 0%, #2f6a4d 46%, #6b0102 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

#hero h1 em::after {
  content: "";
  display: inline-block;
  width: 0.16em;
}

.hero-tagline {
  max-width: 760px;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 22px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 650;
}

.meta-sep {
  color: var(--ink-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  min-height: 240px;
  margin-top: 4px;
  color: rgba(23, 20, 16, 0.92);
}

.hero-mark-icon {
  width: 100%;
  height: auto;
  mix-blend-mode: darken;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #8b2020;
  color: #fff;
}

.button-primary:hover {
  background: #742020;
}

.button-secondary {
  background: #f3e8e8;
  color: #8b2020;
  border: 1px solid rgba(139, 32, 32, 0.15);
}

.button-secondary:hover {
  background: #ebdada;
  color: #742020;
}

#dates-strip {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.dates-wrap {
  padding: 18px 0 8px;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  background: var(--panel-strong);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
}

.dates-heading {
  color: var(--ink-4);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.date-item {
  padding: 22px 24px 20px;
  border-left: 1px solid var(--border-soft);
}

.date-item:first-child { border-left: 0; }

.date-label {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.date-value {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
}

main section {
  padding: 88px 0;
}

main section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 var(--border-soft), inset 0 -1px 0 var(--border-soft);
}

.section-block {
  display: grid;
  gap: 30px;
}

.section-copy {
  max-width: 760px;
}

.section-copy-wide {
  max-width: 900px;
}

h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-copy p {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 18px;
}

.overview-points {
  display: grid;
  gap: 28px;
}

.overview-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-soft);
}

.inline-point {
  padding-top: 20px;
}

.inline-point h3,
.topic-list h3,
.committee-block h3 {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.inline-point p {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 16px;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  counter-reset: topics;
  list-style: none;
  border-top: 1px solid var(--border-soft);
}

.topic-list li {
  position: relative;
  padding: 22px 0 22px 44px;
  border-bottom: 1px solid var(--border-soft);
}

.topic-list li::before {
  counter-increment: topics;
  content: counter(topics) ".";
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.topic-list p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 16px;
}

.cfp-shell {
  display: grid;
  gap: 24px;
  max-width: 1040px;
}

.support-card h3 {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.cfp-portal {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.cfp-portal-copy {
  max-width: 620px;
}

.cfp-eyebrow {
  color: var(--ink-4);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cfp-portal h3 {
  margin-top: 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 580px;
}

.cfp-portal p:last-child {
  margin-top: 12px;
  color: var(--ink-3);
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
}

.cfp-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.portal-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 58px;
  min-width: 300px;
  padding: 0 24px;
  border-radius: 16px;
  background: #8b2020;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
}

.cfp-dates {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.cfp-dates-note {
  color: var(--ink-4);
  font-size: 14px;
}

.cfp-dates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: rgba(250, 249, 245, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
}

.cfp-date-item {
  padding: 18px 20px;
  border-left: 1px solid var(--border-soft);
}

.cfp-date-item:first-child {
  border-left: 0;
}

.cfp-date-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-4);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cfp-date-item strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.detail-list a,
.footer-link,
.redirect-shell a,
.speaker-card-body a {
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: none;
}

.detail-list a:hover,
.footer-link:hover,
.redirect-shell a:hover,
.speaker-card-body a:hover {
  text-decoration: underline;
}

.cfp-pane h3,
.committee-block h3 {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.cfp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
}

.cfp-pane {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 24px 26px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
}

.detail-list,
.clean-list {
  list-style: none;
}

.detail-list li,
.clean-list li {
  position: relative;
  padding-left: 16px;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.detail-list li strong {
  color: var(--ink);
}

.detail-list li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.committee-block {
  display: grid;
  gap: 0;
  padding-top: 10px;
}

.committee-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  margin-top: 14px;
}

.committee-person {
  min-height: 100%;
  padding: 14px 16px;
  background: var(--panel-strong);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}

.committee-person strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.committee-person span {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 14px;
}

.schedule-table {
  border-top: 1px solid var(--border-soft);
}

.schedule-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

.schedule-time {
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 800;
}

.schedule-label {
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 600;
}

.schedule-row-muted .schedule-label,
.schedule-row-muted .schedule-time {
  color: var(--ink-3);
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}

.organizer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px 18px;
}

.speaker-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.speaker-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 22px;
  background: #f4efe8;
}

.speaker-card-body h3,
.organizer-card h3 {
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.speaker-card-body p,
.organizer-card p {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 15px;
}

.organizer-card {
  text-align: center;
}

.organizer-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  background: #f4efe8;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.support-card {
  display: grid;
  gap: 10px;
}

.support-card p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-title {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy {
  color: var(--ink-4);
  font-size: 13px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.redirect-shell {
  width: min(560px, calc(100% - (var(--gutter) * 2)));
  padding: 36px 0;
}

.redirect-shell img {
  height: 46px;
  width: auto;
}

.redirect-shell h1 {
  margin-top: 26px;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.redirect-shell p {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 18px;
}

.redirect-shell .button {
  margin-top: 24px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .topic-list,
  .committee-list,
  .overview-points,
  .cfp-grid,
  .cfp-dates-grid,
  .dates-grid {
    grid-template-columns: 1fr 1fr;
  }

  .organizer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 920px;
  }

  .hero-mark {
    width: 192px;
    min-height: 192px;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  #navbar {
    height: 68px;
  }

  .nav-links {
    top: 68px;
  }

  .conference-logo-nav {
    height: 38px;
  }

  #hero {
    padding: 124px 0 44px;
  }

  .hero-mark {
    display: none;
  }

  .hero-tagline {
    font-size: 19px;
  }

  .topic-list,
  .speaker-grid,
  .committee-list,
  .overview-points,
  .cfp-grid,
  .cfp-dates-grid,
  .dates-grid {
    grid-template-columns: 1fr;
  }

  .organizer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dates-wrap { padding-top: 14px; }

  .date-item {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .cfp-portal {
    padding: 24px 22px;
  }

  .cfp-portal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-status {
    width: 100%;
    min-width: 0;
  }

  .cfp-date-item {
    padding: 16px 18px;
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .cfp-date-item:first-child {
    border-top: 0;
  }

  .rule-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 76px;
  }

  .conference-logo-nav {
    height: 34px;
  }

  #hero h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  main section {
    padding: 74px 0;
  }

  .speaker-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .speaker-card img,
  .organizer-card img {
    width: 72px;
    height: 72px;
  }

  .organizer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
