:root {
  --paper: #fffaf1;
  --surface: #ffffff;
  --surface-warm: #f6eddf;
  --ink: #202124;
  --muted: #64605a;
  --line: #ded2c1;
  --teal: #006d77;
  --teal-dark: #064e55;
  --coral: #d95d39;
  --gold: #b7791f;
  --sage: #6d8b74;
  --shadow: 0 24px 70px rgba(61, 50, 35, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(255, 250, 241, 0.86);
  border-bottom: 1px solid rgba(222, 210, 193, 0.72);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(59, 45, 29, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 28px);
  color: #3a3734;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--coral);
}

.hero {
  display: grid;
  align-items: center;
  padding: clamp(32px, 4vw, 46px) clamp(20px, 4vw, 48px) clamp(30px, 4vw, 44px);
  background:
    linear-gradient(110deg, rgba(255, 250, 241, 0.98), rgba(246, 237, 223, 0.76)),
    linear-gradient(90deg, transparent 0 72%, rgba(0, 109, 119, 0.08) 72% 72.6%, transparent 72.6%),
    linear-gradient(90deg, transparent 0 81%, rgba(217, 93, 57, 0.09) 81% 81.6%, transparent 81.6%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.section,
.intro-section,
.feature-band,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.25rem, 3.8vw, 3.55rem);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  margin: 0;
  line-height: 1.15;
  font-size: 1.15rem;
}

.lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: #3f3b37;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.subtitle {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--teal-dark);
  font-size: clamp(1.45rem, 2.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--teal);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--teal);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--teal-dark);
}

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

.event-panel {
  display: grid;
  gap: 1px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.event-panel > div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
}

.label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-panel strong {
  font-size: 1.05rem;
}

.intro-section,
.section {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 18px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.timeline p,
.speaker-card p,
.info-grid p {
  color: var(--muted);
}

.content-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 18px;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px);
}

.compact-card {
  padding: 0;
  max-width: none;
}

.timeline {
  display: grid;
  gap: 8px;
}

.program-meta {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}

.program-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.program-meta strong {
  color: var(--teal-dark);
}

.program-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 14px;
  background: var(--surface);
  border-left: 5px solid var(--sage);
  box-shadow: 0 10px 32px rgba(61, 50, 35, 0.08);
}

.timeline-item.keynote {
  border-left-color: var(--coral);
  background: #fff6ed;
}

.timeline-item.short {
  padding-top: 10px;
  padding-bottom: 10px;
}

.timeline time {
  color: var(--teal-dark);
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 8px;
}

.timeline p {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.abstract-details {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.abstract-details summary {
  padding: 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
}

.abstract-details summary:hover {
  color: var(--teal-dark);
}

.abstract-details summary:focus-visible {
  outline: 2px solid rgba(0, 109, 119, 0.45);
  outline-offset: 4px;
}

.abstract-details p {
  margin-top: 10px;
  max-width: 760px;
}

.speakers-section {
  border-top: 1px solid var(--line);
}

.speaker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.speaker-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  min-height: 88px;
  padding: 10px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(61, 50, 35, 0.09);
}

.speaker-card.featured {
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  min-height: 108px;
  background: #f3f8f4;
}

.speaker-card img {
  width: 100%;
  height: 100%;
  min-height: 68px;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-warm);
}

.speaker-card.featured img {
  min-height: 86px;
}

.speaker-card .role {
  margin: 2px 0 8px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.speaker-card h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.speaker-card h3 a:hover,
.speaker-card h3 a:focus-visible {
  color: var(--teal-dark);
  border-bottom-color: currentColor;
}

.speaker-card .affiliation {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.info-grid {
  display: grid;
  gap: 10px;
}

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

.info-grid article {
  min-height: 128px;
  padding: 14px;
  background: var(--surface-warm);
  border-top: 4px solid var(--gold);
}

.details-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(61, 50, 35, 0.07);
}

summary {
  cursor: pointer;
  padding: 15px 18px;
  color: var(--teal-dark);
  font-weight: 800;
  list-style-position: outside;
}

summary:focus-visible {
  outline: 2px solid rgba(0, 109, 119, 0.45);
  outline-offset: 3px;
}

.details-body {
  padding: 0 18px 18px;
}

.details-body p {
  margin: 0 0 12px;
  color: var(--muted);
}

.details-body a {
  color: var(--teal-dark);
  font-weight: 800;
}

.route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}

.route-list li {
  padding: 6px 10px;
  background: var(--surface-warm);
  color: var(--teal-dark);
  font-weight: 800;
}

.route-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.mini-table {
  display: grid;
  border: 1px solid var(--line);
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 2fr;
  border-top: 1px solid var(--line);
}

.mini-row:first-child {
  border-top: 0;
}

.mini-row span {
  padding: 10px;
  color: var(--muted);
  border-left: 1px solid var(--line);
}

.mini-row span:first-child {
  border-left: 0;
  color: var(--ink);
  font-weight: 700;
}

.mini-head span {
  background: var(--surface-warm);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 4vw, 48px) 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(rgba(255, 250, 241, 0.96), rgba(246, 237, 223, 0.78)),
      linear-gradient(90deg, transparent 0 78%, rgba(0, 109, 119, 0.08) 78% 79%, transparent 79%),
      var(--paper);
  }

  .hero-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .event-panel {
    max-width: 520px;
  }

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

  .mini-row {
    grid-template-columns: 1fr;
  }

  .mini-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .mini-row span:first-child {
    border-top: 0;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .hero {
    padding-top: 42px;
    background:
      linear-gradient(rgba(255, 250, 241, 0.97), rgba(246, 237, 223, 0.8)),
      linear-gradient(90deg, transparent 0 78%, rgba(0, 109, 119, 0.08) 78% 79%, transparent 79%),
      var(--paper);
  }

  h1 {
    font-size: 2.85rem;
  }

  .subtitle {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .program-meta {
    grid-template-columns: 1fr;
  }

  .speaker-card,
  .speaker-card.featured {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .speaker-card img,
  .speaker-card.featured img {
    height: 78px;
    min-height: 78px;
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
