:root {
  --ink: #1f2933;
  --ink-soft: #52606d;
  --paper: #f8faf8;
  --surface: #ffffff;
  --line: #d9e2ec;
  --brand: #0f4c5c;
  --brand-strong: #0c3742;
  --accent: #f0b429;
  --max: 1024px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1300px 500px at 90% -5%, rgba(15, 76, 92, 0.13), transparent 55%),
    radial-gradient(700px 350px at -10% 30%, rgba(240, 180, 41, 0.15), transparent 55%),
    var(--paper);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-strong);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  z-index: 20;
}

.site-header {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(12, 55, 66, 0.95), rgba(15, 76, 92, 0.92)),
    linear-gradient(20deg, #102a43, #243b53);
  padding: 3rem 0 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.83rem;
  margin: 0 0 0.35rem;
  opacity: 0.9;
}

.site-title {
  margin: 0;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.65rem);
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.event-meta {
  margin: 0.25rem 0;
  color: rgba(255, 255, 255, 0.93);
}

.button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

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

.button.primary {
  margin-top: 1rem;
  color: #102a43;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(16, 42, 67, 0.35);
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.65rem 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}

.site-nav a[aria-current="page"] {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.page-content {
  padding: 2rem 0 3rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 20px rgba(16, 42, 67, 0.06);
}

.agenda-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.agenda-list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.agenda-list li:last-child {
  border-bottom: 0;
}

.time {
  font-weight: 700;
  color: var(--brand-strong);
}

.agenda-session {
  display: grid;
  gap: 0.5rem;
}

.agenda-title {
  margin: 0;
  font-weight: 700;
}

.agenda-session-link {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18rem;
}

.agenda-session-link:hover {
  color: var(--brand-strong);
}

.agenda-speaker-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.agenda-speaker-link {
  text-decoration: none;
  border-radius: 8px;
  width: fit-content;
  max-width: 100%;
}

.agenda-speaker-link:hover {
  color: var(--brand-strong);
}

.agenda-speaker-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.agenda-headshot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #d9e2ec;
  flex: 0 0 42px;
}

.agenda-parallel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.agenda-track {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.agenda-track-time {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--brand-strong);
  font-size: 0.95rem;
}

.agenda-track-title {
  margin: 0;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.speaker-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.speaker-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #d9e2ec;
}

.speaker-profile {
  display: grid;
  gap: 1rem;
}

.speaker-back-link {
  font-weight: 600;
}

.speaker-hero {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 1rem;
  align-items: start;
}

.speaker-hero-name {
  margin-bottom: 0.4rem;
}

.speaker-hero-title {
  margin-top: 0;
}

.speaker-hero-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #d9e2ec;
}

.speaker-sessions ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.session-speaker-grid {
  display: grid;
  gap: 0.8rem;
}

.session-speaker-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.session-speaker-card:hover {
  border-color: #bcccdc;
}

.session-speaker-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.session-speaker-photo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #d9e2ec;
}

.session-speaker-name {
  margin: 0;
}

.session-speaker-title {
  margin: 0.2rem 0 0.25rem;
  color: var(--ink-soft);
}

.session-speaker-description {
  margin: 0;
  color: var(--ink-soft);
}

.session-page {
  display: grid;
  gap: 1rem;
}

.speaker-directory {
  display: grid;
  gap: 1rem;
}

.speaker-directory-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.speaker-directory-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.speaker-directory-item h3 {
  margin-bottom: 0.45rem;
}

.speaker-directory-item p {
  margin: 0.2rem 0 0.45rem;
}

.speaker-directory-photo {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #d9e2ec;
}

.logo-panel {
  padding: 1.25rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.logo-link:hover {
  border-color: #bcccdc;
}

.partner-logo {
  max-width: 100%;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.map-panel {
  padding: 0.9rem;
}

.map-embed {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 760px) {
  .agenda-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .agenda-speaker-line {
    align-items: flex-start;
  }

  .agenda-parallel {
    grid-template-columns: 1fr;
  }

  .map-embed {
    min-height: 320px;
  }

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

  .speaker-hero-photo {
    max-width: 180px;
  }

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

  .speaker-directory-photo {
    max-width: 110px;
  }

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

  .session-speaker-photo {
    width: 64px;
    height: 64px;
  }
}
