:root {
  --ink: #17263f;
  --blue: #315fbe;
  --orange: #f28c18;
  --paper: #f6f8fb;
  --white: #ffffff;
  --muted: #647084;
  --line: #d8dee8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.brand img { width: 142px; display: block; }

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.header-action { color: var(--white); border-color: rgba(255, 255, 255, .65); }

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #07101b;
}

.hero-image {
  position: absolute;
  right: 2vw;
  bottom: 0;
  width: min(58vw, 820px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  object-position: right bottom;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 15, 27, 1) 0%, rgba(5, 15, 27, .96) 42%, rgba(5, 15, 27, .52) 70%, rgba(5, 15, 27, .18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 90%);
  padding: 150px clamp(24px, 7vw, 110px) 74px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-family: "Source Serif 4", serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-summary { max-width: 650px; margin-bottom: 30px; color: #e8edf5; font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.primary-button { background: var(--orange); color: #111c2d; }
.text-link { color: var(--white); font-weight: 700; text-decoration: none; }

.event-strip {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.event-detail {
  min-height: 122px;
  padding: 28px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}

.event-detail:last-child { border-right: 0; }
.event-detail i { color: var(--blue); font-size: 21px; }
.event-detail span { color: var(--muted); font-size: 13px; }
.event-detail strong { display: block; color: var(--ink); font-size: 15px; }

.overview,
.registration {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.overview { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(55px, 8vw, 120px); }
.section-heading h2,
.registration h2 { margin-bottom: 22px; font-family: "Source Serif 4", serif; font-size: clamp(36px, 4vw, 54px); line-height: 1.08; }
.section-heading > p:last-child,
.registration-intro > p { color: var(--muted); }

.agenda-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.agenda-list li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.agenda-number { color: var(--blue); font-weight: 800; }
.agenda-list h3 { margin-bottom: 5px; font-size: 18px; }
.agenda-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.registration {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(48px, 7vw, 100px);
  border-top: 8px solid var(--ink);
}

.registration-intro ul { margin: 28px 0 0; padding: 0; list-style: none; }
.registration-intro li { margin: 12px 0; font-size: 14px; }
.registration-intro i { width: 25px; color: var(--blue); }
.form-region { min-height: 480px; border-left: 1px solid var(--line); padding-left: clamp(28px, 5vw, 70px); }
.registration-pending { max-width: 470px; padding-top: 64px; }
.registration-pending > i { margin-bottom: 24px; color: var(--blue); font-size: 35px; }
.registration-pending h3 { margin-bottom: 12px; font-size: 25px; }
.registration-pending p { margin-bottom: 25px; color: var(--muted); }
.secondary-button { border-color: var(--blue); color: var(--blue); }
.registration-frame { display: none; width: 100%; min-height: 720px; border: 0; }
.form-region.is-configured .registration-pending { display: none; }
.form-region.is-configured .registration-frame { display: block; }

footer {
  padding: 42px clamp(24px, 6vw, 90px);
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd4e2;
  background: var(--ink);
}

footer img { width: 130px; }
footer p { margin: 0 auto 0 0; }
footer a { color: var(--white); text-decoration: none; }

@media (max-width: 860px) {
  .event-strip { grid-template-columns: repeat(2, 1fr); }
  .event-detail:nth-child(2) { border-right: 0; }
  .overview, .registration { grid-template-columns: 1fr; }
  .form-region { border-left: 0; border-top: 1px solid var(--line); padding: 0; }
}

@media (max-width: 560px) {
  .site-header { height: 64px; padding: 0 18px; }
  .brand img { width: 92px; }
  .header-action { min-height: 36px; padding: 0 11px; font-size: 10px; }
  .hero { min-height: min(590px, 94vh); }
  .hero-image { right: -34%; width: 120%; max-height: 70%; opacity: .6; }
  .hero-overlay { background: linear-gradient(0deg, rgba(5, 15, 27, .98) 0%, rgba(5, 15, 27, .9) 60%, rgba(5, 15, 27, .5) 100%); }
  .hero-content { width: 100%; padding: 88px 20px 30px; }
  .eyebrow { margin-bottom: 8px; font-size: 10px; }
  h1 { margin-bottom: 14px; font-size: 39px; line-height: 1; }
  .hero-summary { margin-bottom: 20px; font-size: 13px; line-height: 1.5; }
  .hero-actions { gap: 14px; }
  .primary-button { min-height: 40px; padding: 0 16px; font-size: 12px; }
  .text-link { font-size: 12px; }
  .event-strip { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .event-detail { min-height: 94px; border-right: 0; border-bottom: 1px solid var(--line); }
  .overview, .registration { width: calc(100% - 40px); padding: 68px 0; }
  .agenda-list li { grid-template-columns: 42px 1fr; gap: 10px; }
  footer { align-items: flex-start; flex-direction: column; gap: 15px; }
  footer p { margin: 0; }
}

html,
body {
  width: 100%;
  min-height: 100%;
}

.registration-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--white);
}

.video-section {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 16px;
  place-items: center;
  overflow: hidden;
  background: #07080d;
}

.video-frame {
  position: relative;
  width: min(100%, calc(100vh * 9 / 16));
  width: min(100%, calc(100dvh * 9 / 16));
  aspect-ratio: 9 / 16;
  background: #07080d;
  container-type: inline-size;
}

.promo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #07080d;
}

.video-register-button {
  position: absolute;
  z-index: 3;
  top: 3cqw;
  right: 3cqw;
  display: inline-flex;
  min-height: 9cqw;
  align-items: center;
  justify-content: center;
  padding: 0 4cqw;
  color: #090b0f;
  background: #f2c94c;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1.5cqw 4cqw rgba(0, 0, 0, .42);
  font-size: clamp(12px, 3.2cqw, 19px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.video-register-button:hover { background: #ffda5c; }

.video-register-button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.form-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.form-region,
.registration-frame {
  width: 100%;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
}

.form-section {
  scroll-margin-top: 0;
  background: var(--white);
}

.form-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  height: 56px;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.back-to-video {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .55);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-to-video:hover { border-color: var(--white); }

.back-to-video:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.form-region {
  padding: 0;
  border: 0;
}

.registration-frame {
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  border: 0;
}

.form-region.is-configured .registration-frame { display: block; }

.registration-pending {
  max-width: none;
  padding: 32px;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .video-section { padding: 0; }
  .video-frame { width: min(100%, calc(100dvh * 9 / 16)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}