:root {
  --ink: #172033;
  --muted: #647085;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --navy: #112f4a;
  --navy-2: #174b69;
  --accent: #2aa6a1;
  --accent-dark: #167b78;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.65; }
a { color: var(--navy-2); }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.hero { color: white; background: linear-gradient(125deg, var(--navy), var(--navy-2)); min-height: 620px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -150px; top: 110px; box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025); }
.nav { min-height: 78px; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.brand { color: white; font-weight: 750; text-decoration: none; letter-spacing: .01em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: white; }
.hero-content { position: relative; z-index: 1; padding: 95px 0 110px; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.eyebrow { color: #93ded9; }
.hero h1 { max-width: 900px; margin: 12px 0 20px; font-size: clamp(3rem, 6vw, 5.65rem); line-height: .99; letter-spacing: -.045em; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.82); max-width: 740px; }
.event-meta { display: flex; gap: 32px; flex-wrap: wrap; margin: 35px 0 30px; font-weight: 650; }
.button { display: inline-block; color: #0b3640; background: #92ded9; text-decoration: none; padding: 12px 20px; border-radius: 6px; font-weight: 800; }

.section { padding: 88px 0; scroll-margin-top: 20px; }
.section-alt { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.kicker { color: var(--accent-dark); margin: 0 0 7px; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; }
.section-intro { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 70px; align-items: start; }
.lead-copy { font-size: 1.15rem; }
.info-card { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 8px; padding: 10px 26px; background: white; box-shadow: 0 10px 30px rgba(16,40,60,.05); }
.info-card > div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.info-card > div:last-child { border-bottom: 0; }
.info-label { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }

.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.speaker-card { display: block; background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.speaker-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(21,50,73,.1); }
.photo-shell { position: relative; background: #e8edf1; overflow: hidden; }
.speaker-card .photo-shell { aspect-ratio: 4 / 3; }
.photo-shell img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 2; }
.photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #8b97a7; font-weight: 700; z-index: 1; }
.speaker-card-copy { padding: 22px; }
.speaker-card h3 { font-size: 1.38rem; margin: 0 0 2px; }
.affiliation { color: var(--muted); margin: 0 0 10px; }
.card-talk { color: var(--navy-2); margin: 13px 0 0; font-weight: 700; line-height: 1.4; }

.schedule { border-top: 1px solid var(--line); }
.schedule-row { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 22px 12px; border-bottom: 1px solid var(--line); }
.schedule-time { color: var(--muted); font-weight: 750; }
.schedule-content span, .schedule-content em { display: block; }
.schedule-content em { margin-top: 3px; color: var(--navy-2); }
.schedule-talk { border-left: 3px solid var(--accent); }
.schedule-break { background: #fafbfc; }

.talk-list { display: grid; gap: 30px; }
.talk-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 34px; display: grid; grid-template-columns: 210px 1fr; gap: 38px; scroll-margin-top: 24px; }
.talk-photo { width: 210px; height: 260px; border-radius: 8px; }
.talk-speaker { margin: 0; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); font-size: .78rem; font-weight: 850; }
.talk-copy h3 { font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.18; margin: 22px 0 20px; }
details.abstract { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 17px 0; margin: 12px 0 24px; }
details.abstract summary { cursor: pointer; font-weight: 800; color: var(--navy-2); }
.bio h4 { margin-bottom: 6px; }
.text-link { font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic-grid div { border: 1px solid var(--line); border-radius: 7px; padding: 20px; font-weight: 650; }
.organizer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.organizer-grid div { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.organizer-grid strong, .organizer-grid span { display: block; }
.organizer-grid span { color: var(--muted); font-size: .92rem; margin-top: 4px; }

footer { background: #0d2539; color: rgba(255,255,255,.72); padding: 35px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
footer a { color: white; }

@media (max-width: 850px) {
  .nav-links { display: none; }
  .hero { min-height: 560px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .speaker-grid { grid-template-columns: repeat(2, 1fr); }
  .talk-card { grid-template-columns: 150px 1fr; padding: 24px; gap: 24px; }
  .talk-photo { width: 150px; height: 190px; }
  .topic-grid, .organizer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero-content { padding: 76px 0 90px; }
  .hero h1 { font-size: 2.8rem; }
  .event-meta { display: grid; gap: 8px; }
  .section { padding: 64px 0; }
  .speaker-grid, .topic-grid, .organizer-grid { grid-template-columns: 1fr; }
  .schedule-row { grid-template-columns: 1fr; gap: 5px; padding-left: 4px; }
  .talk-card { grid-template-columns: 1fr; }
  .talk-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .footer-inner { display: block; }
}
