:root {
  --ink: #17213c;
  --muted: #66708a;
  --blue: #344a8a;
  --blue-deep: #22366f;
  --blue-light: #9eaddb;
  --paper: #ffffff;
  --mist: #f3f5fa;
  --line: #dfe4ef;
  --shell: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; background: #fff; color: var(--blue-deep);
  border-radius: 8px; transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.hero {
  --hero-poster: none;
  position: relative; min-height: min(670px, 84vh); overflow: hidden;
  color: #fff; isolation: isolate;
  background: var(--blue-deep) var(--hero-poster) center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(circle at 68% 32%, rgba(158,173,219,.48), transparent 23%),
    linear-gradient(122deg, #162a62 0%, #3f5797 50%, #192b5f 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto -5% -1px; height: 18%; z-index: 0;
  background: var(--blue); clip-path: polygon(0 68%, 15% 46%, 37% 72%, 59% 48%, 79% 70%, 100% 43%, 100% 100%, 0 100%);
}
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,20,50,.38), rgba(10,20,50,.06) 45%, rgba(10,20,50,.2)); }
.hero__nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 750; line-height: 1.1; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid currentColor; border-radius: 50%; font-size: .72rem; letter-spacing: .08em; }
.brand__logo { display: block; width: auto; max-width: min(230px, 42vw); height: 54px; object-fit: contain; object-position: left center; }
.brand__logo--footer { height: 58px; }
nav { display: flex; gap: 28px; }
nav a { color: #fff; text-decoration: none; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.kicker { margin: 0 0 12px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.video-toggle { position: absolute; z-index: 3; right: max(24px, calc((100% - var(--shell))/2)); bottom: 110px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(16,28,65,.5); color: #fff; cursor: pointer; backdrop-filter: blur(10px); }
.video-toggle:hover, .video-toggle:focus-visible { background: #fff; color: var(--blue); }

.event-strip { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.event-strip__inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 80px; padding-top: 44px; padding-bottom: 84px; }
.event-heading h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
.kicker { color: #bbc5e8; }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; color: #d7ddf2; font-size: .95rem; }
.event-meta span::before { content: "●"; margin-right: 9px; color: #9eaddb; font-size: .65rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown__item { min-height: 100px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.4); border-radius: 12px; background: rgba(255,255,255,.04); }
.countdown__item strong { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__item span { margin-top: 7px; color: #dbe1f4; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.wave { position: absolute; left: 0; width: 100%; height: 55px; background: var(--paper); }
.wave--bottom { bottom: -1px; clip-path: polygon(0 52%, 13% 80%, 34% 36%, 52% 68%, 72% 38%, 89% 65%, 100% 40%, 100% 100%, 0 100%); }

.section-title { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -.045em; line-height: 1.05; }
.section-title--light { color: #fff; }
.speaker-group { margin-top: 68px; }
.speaker-group h3 { margin: 0 0 24px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.speaker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.speaker-card { min-width: 0; border-radius: var(--radius); outline: none; cursor: pointer; }
.speaker-card__photo { position: relative; aspect-ratio: 4/4.65; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, #dfe5f4, #8fa1d2); color: #fff; }
.speaker-card__photo::after { content: ""; position: absolute; inset: auto -12% -18% 30%; z-index: 1; height: 50%; border-radius: 50%; background: rgba(255,255,255,.16); pointer-events: none; }
.speaker-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker-card__photo > span { position: relative; z-index: 1; font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.05em; }
.speaker-card__body { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px 24px 24px; color: #fff; background: linear-gradient(180deg, transparent 32%, rgba(14,25,57,.94)); opacity: 0; transform: translateY(10px); transition: opacity .28s ease, transform .28s ease; }
.speaker-card:hover .speaker-card__body, .speaker-card:focus .speaker-card__body, .speaker-card:focus-within .speaker-card__body { opacity: 1; transform: translateY(0); }
.speaker-card:focus-visible { box-shadow: 0 0 0 4px rgba(52,74,138,.28); }
.speaker-card h4 { margin: 0 0 5px; font-size: 1.25rem; line-height: 1.15; }
.speaker-card p { margin: 0; color: #dce3fa; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.opportunities { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 10vw, 150px); padding-top: 30px; }
.check-list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 42px; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: .8rem; }
.opportunities__note { margin: 36px 0 0; padding: 22px 24px; border-left: 4px solid var(--blue-light); background: var(--mist); color: #39445e; }

.program { position: relative; overflow: hidden; background: var(--blue-deep); color: #fff; }
.wave--top { top: -1px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 46%, 84% 72%, 64% 38%, 47% 66%, 25% 34%, 8% 65%, 0 48%); }
.program__inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 10vw, 150px); padding-top: 145px; padding-bottom: 145px; }
.kicker--light { color: #aab8e5; }
.schedule { margin: 0; padding: 0; list-style: none; }
.schedule li { display: grid; grid-template-columns: 42px 120px 1fr; align-items: center; gap: 20px; min-height: 70px; border-bottom: 1px solid rgba(255,255,255,.16); }
.schedule__number { color: #9eaddb; font-size: .76rem; font-weight: 800; }
.schedule time { color: #c6ceea; font-size: .86rem; font-variant-numeric: tabular-nums; }
.schedule strong { font-size: 1rem; }
.wave--light { background: #fff; }

.centered { text-align: center; }
.partner-row { margin-top: 58px; text-align: center; }
.partner-row h3 { color: var(--muted); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; margin-top: 26px; }
.logo-row img { width: auto; height: 64px; max-width: 180px; object-fit: contain; }
.media-section { padding-top: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.gallery-card { position: relative; aspect-ratio: 4/3; overflow: hidden; padding: 0; border: 0; border-radius: 14px; background: #dfe5f4; cursor: zoom-in; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.045); }
.media-empty { min-height: 220px; display: grid; place-content: center; gap: 5px; margin-top: 38px; border: 1px dashed #aab3c7; border-radius: var(--radius); background: var(--mist); text-align: center; color: var(--muted); }
.media-empty strong { color: var(--ink); font-size: 1.2rem; }
.video-title { margin-top: 100px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.video-grid video { width: 100%; aspect-ratio: 9/16; border-radius: 14px; background: #0b1020; object-fit: cover; }

.lightbox { width: min(92vw, 1200px); padding: 0; border: 0; border-radius: 16px; background: #0b1020; box-shadow: 0 24px 90px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(6,10,24,.8); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; font-size: 1.6rem; cursor: pointer; }

.site-footer { border-top: 1px solid var(--line); background: #f8f9fc; }
.site-footer__inner { min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: .86rem; }
.brand--footer { color: var(--blue-deep); }
.site-footer a:last-child { color: var(--blue); font-weight: 700; }

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .hero { min-height: 690px; }
  .hero__nav { align-items: flex-start; }
  nav { display: none; }
  .event-strip__inner, .opportunities, .program__inner { grid-template-columns: 1fr; gap: 44px; }
  .event-strip__inner { padding-bottom: 100px; }
  .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .program__inner { padding-top: 125px; }
  .site-footer__inner { flex-direction: column; justify-content: center; padding-block: 42px; text-align: center; }
}

@media (max-width: 520px) {
  .countdown { gap: 6px; }
  .countdown__item { min-height: 78px; }
  .speaker-grid { grid-template-columns: 1fr; }
  .speaker-card__body { padding: 28px 18px 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .schedule li { grid-template-columns: 34px 1fr; gap: 6px 12px; padding-block: 15px; }
  .schedule time { grid-column: 2; }
  .schedule strong { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
