:root {
  color-scheme: light;
  --ink: #17243a;
  --muted: #47576d;
  --navy: #13233f;
  --teal: #09635d;
  --surface: #fff;
  --background: #f3f6fa;
  --radius: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.025em; }
h3 { font-size: 1.075rem; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #078277; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.muted, .prose { color: var(--muted); }
.text-link { color: var(--teal); font-weight: 600; }
.text-link:hover, .venue-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .75rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { background: var(--surface); }
.navigation { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-block: .7rem; }
.brand { flex: none; font-size: 1.15rem; font-weight: 800; letter-spacing: -.035em; }
.navigation ul { display: flex; flex-wrap: wrap; gap: .15rem; padding: 0; list-style: none; }
.navigation li a { display: flex; align-items: center; min-height: 44px; padding: .4rem .7rem; font-size: .9rem; font-weight: 600; color: var(--muted); border-radius: .5rem; }
.navigation li a:hover, .navigation a[aria-current="page"] { color: var(--teal); background: #e7f5f2; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(2.25rem, 6vw, 4rem); color: white; background: var(--navy); }
.hero-home { padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, #13233ff5, #13233fd4 65%, #13233fbf); }
.hero h1 { max-width: 22ch; font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -.045em; text-wrap: balance; }
.eyebrow { color: #a9eee0; font-weight: 700; margin-bottom: .65rem; }
.conference-theme { max-width: 54ch; margin-top: 1rem; color: #e4eefb; font-size: clamp(1.1rem, 2.4vw, 1.45rem); }
.venue { margin-top: 1rem; font-weight: 700; }
.organizer { max-width: 65ch; margin-top: .3rem; color: #d8e4f4; }
.hero-actions, .day-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-actions { margin-top: 1.5rem; }
.hero a:focus-visible { outline-color: #a9eee0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .55rem .9rem; border-radius: .6rem; font-size: .9rem; font-weight: 700; }
.button-primary { background: #b8f4df; color: #123b34; }
.button-primary:hover { background: #ddfaef; }
.button-ghost { background: #ffffff25; }
.button-ghost:hover { background: #ffffff38; }
.button-light { background: #e3f2ef; color: #145d56; }
.button-light:hover { background: #d2ebe5; }

.page-content { padding-block: clamp(1.75rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.section + .section { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 1.5rem 2.5rem; }
.about-heading { display: flex; align-items: center; gap: .8rem; }
.about-heading img { width: 2.6rem; height: 2.6rem; object-fit: contain; }
.prose { max-width: 68ch; margin-top: .85rem; line-height: 1.75; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); gap: .6rem; }
.stats > div { display: flex; flex-direction: column-reverse; gap: .15rem; padding: .8rem; background: white; border-radius: .7rem; }
.stats dt { color: var(--muted); font-size: .9rem; }
.stats dd { color: var(--teal); font-size: 1.6rem; line-height: 1.1; font-weight: 800; }

.people-grid, .theme-grid, .partner-grid { display: grid; gap: 1rem; }
.people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-heading + .people-grid, h2 + .theme-grid, h2 + .partner-grid { margin-top: 1.2rem; }
.person-card {
  min-width: 0;
  overflow: hidden;
  background: white;
  border-radius: var(--radius);
}
.portrait {
  width: min(150px, calc(100% - 2rem));
  aspect-ratio: 3 / 4;
  margin: 1rem auto 0;
  border-radius: .65rem;
  overflow: hidden;
  background: #e4ebf3;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.person-copy { padding: 1rem 1.1rem 1.2rem; }
.person-copy h2 { font-size: 1.075rem; letter-spacing: normal; }
.person-copy > * + * { margin-top: .4rem; }
.person-copy .muted, .role, .talk { font-size: .9rem; }
.role { color: var(--teal); font-weight: 700; }
.person-copy .button { margin-top: .65rem; }
.featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; list-style: none; }
.theme-grid li, .partner-group { padding: 1.1rem; background: white; border-radius: var(--radius); }
.partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.partner-group { text-align: center; }
.partner-group ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; padding: 1rem 0 0; }
.partner-group img { width: 7.5rem; height: 4.75rem; object-fit: contain; }

.schedule-day { margin-top: 2rem; scroll-margin-top: 1rem; }
.sessions { display: grid; gap: .55rem; padding: 0; margin-top: 1rem; list-style: none; }
.sessions li { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: .35rem 1rem; padding: 1rem 1.15rem; background: white; border-radius: .75rem; }
.sessions p { margin-top: .3rem; }
.slot { color: var(--teal); font-weight: 750; font-variant-numeric: tabular-nums; }
.site-footer { padding-block: 1.7rem; background: #e7edf5; color: var(--muted); font-size: .9rem; }
.site-footer p + p { margin-top: .25rem; }

@media (max-width: 62rem) {
  .people-grid, .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
  .navigation { flex-direction: column; align-items: flex-start; }
  .navigation ul { margin-left: -.55rem; }
  .navigation li a { padding-inline: .55rem; }
  .about, .theme-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34rem) {
  .people-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 28rem) {
  .sessions li { grid-template-columns: minmax(0, 1fr); }
  .partner-grid { grid-template-columns: minmax(0, 1fr); }
}
