:root {
  color-scheme: light;

  /* Color Palette */
  --ink: #0033a0;
  --muted: #52627a;
  --paper: #f7faff;
  --green: #22c55e;
  --blue: #0033a0;
  --blue-hover: #002879;
  --sky: #5ab4e6;
  --orange: #e65028;
  --line: #dce6f1;
  --line-agenda: #cbd9e8;
  --bg-program: #edf6fc;
  --bg-card: rgb(247 250 255 / 78%);
  --tag-border: #b9cee0;
  --stamp-border: #b7d9ef;
  --speaker-color: #354761;
  --reg-bg: #06265e;
  --reg-bg-hover: #0a357f;
  --reg-border: var(--sky);
  --reg-text: #e1ecf7;
  --reg-muted: #d3dfed;

  /* Typography */
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------- */
/* Base Reset & Layout                                */
/* -------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 118px 0;
}

.section-kicker {
  margin: 0;
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 19px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-dark {
  background: var(--blue);
  color: white;
}

.button-dark:hover {
  background: var(--blue-hover);
}

.text-link {
  font-size: 16px;
  font-weight: 700;
  transition: color 180ms ease;
}

.text-link:hover {
  color: var(--orange);
}

.text-link span {
  margin-left: 7px;
}

/* -------------------------------------------------- */
/* Header & Navigation                                */
/* -------------------------------------------------- */
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(247 250 255 / 94%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  font-size: 15px;
  letter-spacing: -0.1em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 16px;
  font-weight: 600;
}

.primary-nav a:not(.nav-cta) {
  transition: color 180ms ease;
}

.primary-nav a:not(.nav-cta):hover {
  color: var(--orange);
}

.nav-cta {
  padding: 13px 17px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: var(--blue);
  color: white;
}

.nav-cta span {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
}

/* -------------------------------------------------- */
/* Hero Section                                       */
/* -------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 0;
}

.hero-grid {
  display: grid;
  min-height: 545px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 10px 0 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-dot,
.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  margin-bottom: 21px;
  font-size: clamp(44px, 4.2vw, 62px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

h1 span,
h2 span {
  color: var(--blue);
}

.hero-description {
  max-width: 480px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
}

.meta-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
}

.event-meta div:not(.meta-icon) {
  display: grid;
  gap: 3px;
  font-size: 14px;
}

.event-meta strong {
  font-weight: 700;
}

.event-meta div span {
  color: var(--muted);
}

.meta-divider {
  height: 32px;
  margin: 0 9px;
  border-left: 1px solid var(--line);
}

/* Visual Orbit Illustration */
.hero-art {
  position: relative;
  width: min(100%, 530px);
  height: 470px;
  justify-self: end;
}

.art-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(0 51 160 / 16%);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
}

.orbit-one {
  width: 490px;
  height: 215px;
}

.orbit-two {
  width: 420px;
  height: 310px;
  transform: translate(-50%, -50%) rotate(44deg);
}

.orbit-three {
  width: 310px;
  height: 410px;
  transform: translate(-50%, -50%) rotate(65deg);
}

.art-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 194px;
  height: 194px;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 18px 55px rgb(0 51 160 / 15%);
  text-align: center;
  transform: translate(-50%, -50%);
}

.art-core span {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.art-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgb(0 51 160 / 6%);
  font-size: 14px;
  font-weight: 600;
}

.art-note .note-dot {
  width: 6px;
  height: 6px;
}

.note-one {
  top: 83px;
  left: 59px;
}

.note-two {
  top: 102px;
  right: 2px;
}

.note-three {
  right: 54px;
  bottom: 67px;
}

.art-spark {
  position: absolute;
  color: var(--orange);
}

.spark-one {
  top: 35px;
  right: 95px;
  font-size: 24px;
}

.spark-two {
  bottom: 37px;
  left: 74px;
  font-size: 18px;
}

.hero-bottom {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.hero-bottom a {
  color: var(--ink);
  font-size: 20px;
}

/* -------------------------------------------------- */
/* Intro / About Section                              */
/* -------------------------------------------------- */
.intro {
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2.4fr 0.8fr;
  align-items: start;
  gap: 35px;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.intro-text {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.intro-stamp {
  display: grid;
  width: 132px;
  height: 132px;
  justify-self: end;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--stamp-border);
  border-radius: 50%;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  transform: rotate(10deg);
}

.intro-stamp b {
  margin-top: 5px;
  font-size: 18px;
}

/* -------------------------------------------------- */
/* Program Section                                    */
/* -------------------------------------------------- */
.program {
  background: var(--bg-program);
}

.section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-heading .section-kicker {
  padding-top: 10px;
}

.section-heading h2 {
  width: 65%;
  margin: 0;
}

.agenda {
  border-top: 1px solid var(--line-agenda);
}

.agenda-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-agenda);
}

.agenda-time {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.agenda-time span {
  padding-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.agenda-content h3 {
  max-width: 800px;
  margin: 10px 0 9px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.agenda-content > p,
.moderator {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.agenda-content strong {
  color: var(--ink);
  font-weight: 700;
}

.agenda-tag {
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid var(--tag-border);
  border-radius: 20px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.agenda-break {
  align-items: center;
  padding: 20px 0;
}

.agenda-break .agenda-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.agenda-break .agenda-content h3 {
  margin: 0;
  font-size: 18px;
}

.speaker-list {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.speaker-list p {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  margin: 0;
  color: var(--speaker-color);
  font-size: 16px;
  line-height: 1.7;
}

.speaker-list time {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.agenda-parallel {
  padding: 30px 0;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 19px;
}

.session-card {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line-agenda);
  background: var(--bg-card);
}

.session-card-header {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.session-card > span,
.session-card-header > span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.session-card h4,
.session-card-header h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.session-card p,
.session-card-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.session-card p + p,
.session-card-header p + p {
  margin-top: 8px;
}

.session-card .speaker-list {
  width: 100%;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-agenda);
  align-self: start;
}

.session-card .speaker-list p {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  font-size: 14px;
}

/* CSS Grid Subgrid on desktop: guarantees perfect level alignment */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .session-grid {
      grid-template-rows: auto 1fr;
    }

    .session-card {
      display: grid;
      grid-row: span 2;
      grid-template-rows: subgrid;
      align-content: start;
    }

    .session-card .speaker-list {
      margin-top: 0;
      align-self: start;
    }
  }
}

.program-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* -------------------------------------------------- */
/* Location Section                                   */
/* -------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 10%;
}

.audience-heading h2 {
  margin: 24px 0 16px;
}

.audience-heading > p:last-child {
  max-width: 340px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.location-card {
  position: relative;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--bg-program);
}

.location-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--stamp-border);
  border-radius: 50%;
  color: var(--blue);
  font-size: 24px;
}

.location-label {
  margin: 25px 0 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card h3 {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.25;
}

.location-card > p:not(.location-label) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.location-card > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  font-size: 15px;
  font-weight: 700;
  transition: color 180ms ease;
}

.location-card > a:hover {
  color: var(--orange);
}

/* -------------------------------------------------- */
/* Registration Section                               */
/* -------------------------------------------------- */
.registration {
  padding-top: 20px;
}

.registration-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 128px);
  align-items: center;
  gap: clamp(18px, 4vw, 40px);
  padding: 62px 7%;
  background: var(--ink);
  color: white;
}

.registration-copy .section-kicker {
  color: #c2d7ec;
}

.registration-copy h2 {
  margin: 18px 0 14px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.registration-copy > p:last-child {
  max-width: 400px;
  margin: 0;
  color: var(--reg-muted);
  font-size: 16px;
  line-height: 1.8;
}

.registration-link {
  align-self: center;
}

.registration-label {
  display: block;
  margin-bottom: 10px;
  color: var(--reg-text);
  font-size: 14px;
  font-weight: 700;
}

.registration-url {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--reg-border);
  border-radius: 3px;
  background-color: var(--reg-bg);
  color: var(--reg-text);
  font-size: 15px;
  font-weight: 700;
  transition: background 180ms ease;
}

.registration-url:hover {
  background-color: var(--reg-bg-hover);
}

.registration-link p {
  margin: 10px 0 0;
  color: var(--reg-muted);
  font-size: 14px;
  line-height: 1.6;
}

.registration-qr {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 9px;
  color: var(--reg-text);
  font-size: 14px;
}

.registration-qr-image {
  display: block;
  width: min(128px, 100%);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: white;
}

/* -------------------------------------------------- */
/* Footer                                             */
/* -------------------------------------------------- */
.site-footer {
  padding: 25px 0;
}

.footer-inner {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.footer-inner > p,
.copyright,
.back-to-top {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.back-to-top {
  color: var(--ink);
  font-weight: 700;
  transition: color 180ms ease;
}

.back-to-top:hover {
  color: var(--orange);
}

/* -------------------------------------------------- */
/* Responsive Breakpoints                             */
/* -------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    width: min(100% - 48px, 720px);
  }

  .primary-nav {
    gap: 20px;
  }

  .hero-grid {
    min-height: 500px;
    grid-template-columns: 1fr 0.85fr;
  }

  .hero-art {
    right: -50px;
    width: 440px;
    transform: scale(0.86);
    transform-origin: center right;
  }

  .intro-grid {
    grid-template-columns: 0.7fr 2fr;
  }

  .intro-stamp {
    display: none;
  }

  .agenda-row {
    grid-template-columns: 85px 1fr;
    gap: 15px;
  }

  .session-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .session-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .location-grid {
    gap: 6%;
  }

  .registration-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 110px);
    gap: clamp(16px, 3vw, 28px);
    padding: 50px 5%;
  }

  .registration-qr-image {
    width: min(110px, 100%);
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 70px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 15px;
    border-top: 1px solid var(--ink);
  }

  .primary-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 7px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav a:not(.nav-cta) {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  .hero {
    padding-top: 31px;
  }

  .hero-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(38px, 9vw, 50px);
  }

  .hero-description {
    max-width: 440px;
    font-size: 16px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 17px;
  }

  .event-meta {
    margin-top: 30px;
  }

  .hero-art {
    right: auto;
    width: 100%;
    height: 350px;
    margin: 3px auto -15px;
    transform: scale(0.78);
    transform-origin: center center;
  }

  .hero-bottom {
    min-height: 48px;
  }

  .hero-bottom span {
    max-width: 150px;
    font-size: 14px;
  }

  .hero-bottom span:last-child {
    text-align: right;
  }

  .section {
    padding: 77px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-kicker {
    padding-top: 0;
  }

  h2 {
    font-size: clamp(36px, 9vw, 50px);
  }

  .section-heading {
    display: block;
    margin-bottom: 31px;
  }

  .section-heading h2 {
    width: auto;
    margin-top: 22px;
  }

  .agenda-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .agenda-time {
    align-items: baseline;
    font-size: 20px;
  }

  .agenda-time span {
    font-size: 15px;
  }

  .agenda-content h3 {
    font-size: 20px;
  }

  .agenda-break {
    gap: 9px;
  }

  .agenda-break .agenda-content {
    flex-wrap: wrap;
  }

  .speaker-list p {
    grid-template-columns: 80px 1fr;
    gap: 8px;
    font-size: 16px;
  }

  .session-card .speaker-list p {
    grid-template-columns: 76px minmax(0, 1fr);
    font-size: 14px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .location-card {
    padding: 29px;
  }

  .registration {
    padding-top: 0;
  }

  .registration-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 96px);
    gap: 25px 18px;
    padding: 40px 25px;
  }

  .registration-copy {
    grid-column: 1 / -1;
  }

  .registration-copy h2 {
    margin: 14px 0 10px;
    font-size: clamp(22px, 5.5vw, 26px);
  }

  .registration-link {
    min-width: 0;
  }

  .registration-qr {
    grid-column: 2;
    grid-row: 2;
  }

  .registration-qr-image {
    width: 96px;
    height: 96px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .footer-inner > p {
    display: none;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
