:root {
  color-scheme: dark;
  --ink: #eff4ff;
  --muted: #aebed6;
  --dim: #8498b7;
  --night: #07152d;
  --panel: #0c1e39;
  --panel-soft: #112849;
  --line: rgba(183, 205, 239, 0.16);
  --mint: #9dc7ff;
  --mint-bright: #c6e0ff;
  --amber: #e7bd82;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 6%, rgba(64, 106, 177, 0.23), transparent 34rem),
    var(--night);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 64px));
  height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 0 1 auto;
  color: #e2ebfb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border: 1px solid rgba(157, 199, 255, 0.4);
  border-radius: 50%;
  color: var(--mint);
  font-size: 24px;
  line-height: 1;
}

.brand-divider,
.location-divider {
  color: #7188aa;
  padding: 0 3px;
}

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(157, 199, 255, 0.58);
  background: rgba(157, 199, 255, 0.1);
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  background: var(--mint-bright);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.site-menu {
  position: absolute;
  top: 70px;
  right: 0;
  width: min(330px, calc(100vw - 32px));
  padding: 21px 22px 15px;
  border: 1px solid rgba(183, 205, 239, 0.2);
  border-radius: 14px;
  background: #102442;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

.site-menu[hidden] {
  display: none;
}

.menu-heading {
  margin: 0 0 12px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: #e2ebfb;
  font-size: 13px;
}

.site-menu a span {
  color: var(--mint);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 490px;
  overflow: hidden;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 62%;
  padding: 52px 0 78px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--mint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 23px;
  height: 1px;
  background: var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 29px 0 13px;
  font-family: inherit;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.99;
}

.hero h1 span,
.section-heading h2 span {
  color: var(--mint);
}

.hero-subtitle {
  margin: 0 0 18px;
  color: #dce7fa;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.hero-description {
  max-width: 430px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mint-bright);
  font-size: 12px;
  font-weight: 600;
}

.hero-link span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(169, 221, 208, 0.35);
  border-radius: 50%;
}

.hero-sky {
  position: absolute;
  top: 14px;
  right: -34px;
  width: 51%;
  height: calc(100% - 28px);
  overflow: hidden;
}

.sky-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-45%, -46%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 125, 202, 0.23), rgba(35, 73, 132, 0.12) 42%, transparent 70%);
}

.orbit {
  position: absolute;
  top: 49%;
  left: 51%;
  border: 1px solid rgba(157, 199, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
}

.orbit-one {
  width: 290px;
  height: 128px;
}

.orbit-two {
  width: 350px;
  height: 195px;
  transform: translate(-50%, -50%) rotate(31deg);
  border-color: rgba(157, 199, 255, 0.14);
}

.planet {
  position: absolute;
  top: 49%;
  left: 51%;
  width: 102px;
  height: 102px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 26%, rgba(228, 239, 255, 0.9), transparent 4%),
    radial-gradient(ellipse at 64% 67%, #91b9f1 0%, #587fbd 24%, #344f82 52%, #162b4c 75%);
  box-shadow: inset -15px -11px 30px rgba(3, 14, 35, 0.61), 0 0 55px rgba(91, 137, 211, 0.24);
}

.planet::after {
  position: absolute;
  inset: 18% 0;
  border-top: 1px solid rgba(220, 235, 255, 0.18);
  border-bottom: 1px solid rgba(220, 235, 255, 0.12);
  border-radius: 50%;
  content: "";
  transform: rotate(-15deg);
}

.star {
  position: absolute;
  color: #dce9ff;
}

.star-one {
  top: 22%;
  left: 23%;
  font-size: 15px;
}

.star-two {
  top: 34%;
  right: 12%;
  color: var(--amber);
  font-size: 20px;
}

.star-three {
  right: 25%;
  bottom: 21%;
  font-size: 34px;
}

.star-four {
  top: 18%;
  right: 35%;
  color: var(--amber);
  font-size: 32px;
}

.sky-caption {
  position: absolute;
  right: 25px;
  bottom: 27px;
  color: #879ab8;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.hero-location {
  position: absolute;
  bottom: 27px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(231, 189, 130, 0.6);
}

.program-section {
  width: min(900px, calc(100% - 64px));
  margin: 0 auto;
  padding: 82px 0 92px;
}

.program-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.program-resource {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 19px;
  border: 1px solid rgba(157, 199, 255, 0.48);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(47, 82, 137, 0.68), rgba(23, 49, 88, 0.92));
  color: #f0f6ff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.program-resource:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 215, 255, 0.82);
  background: linear-gradient(135deg, rgba(58, 97, 158, 0.82), rgba(29, 59, 104, 0.98));
}

.program-resource span {
  color: #c6e0ff;
  font-size: 17px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 15px 0 0;
  font-family: inherit;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.section-note {
  max-width: 220px;
  margin-bottom: 7px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

.live-panel {
  display: grid;
  grid-template-columns: 152px 1fr;
  border: 1px solid rgba(169, 221, 208, 0.16);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(22, 43, 76, 0.96), rgba(12, 30, 57, 0.98));
  overflow: hidden;
}

.live-status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 20px 17px;
  border-right: 1px solid var(--line);
  color: #b6c8e4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.live-indicator {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d3a76e;
  box-shadow: 0 0 11px rgba(211, 167, 110, 0.55);
}

.live-indicator.is-live {
  background: #91baff;
  box-shadow: 0 0 11px rgba(145, 186, 255, 0.65);
}

.live-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.live-item {
  position: relative;
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 19px 21px;
}

.live-item + .live-item {
  border-left: 1px solid var(--line);
}

.live-item-label {
  flex: 0 0 auto;
  padding-top: 3px;
  color: #aebed6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.live-item-title {
  margin: 0 0 5px;
  color: #eef4ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.live-item-meta {
  margin: 0;
  color: #aebed6;
  font-size: 10px;
  line-height: 1.5;
}

.next-item .live-item-label,
.next-item .live-item-title {
  color: var(--mint-bright);
}

.next-arrow {
  margin-left: auto;
  color: var(--mint);
  font-size: 14px;
}

.day-nav {
  display: flex;
  gap: 10px;
  margin: 26px 0 52px;
}

.day-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: #d9e5fa;
  font-size: 11px;
  transition: border-color 180ms ease, background 180ms ease;
}

.day-nav a:hover {
  border-color: rgba(157, 199, 255, 0.48);
  background: rgba(157, 199, 255, 0.08);
}

.day-nav a span {
  color: var(--mint);
  font-size: 9px;
}

.day-section + .day-section {
  margin-top: 54px;
}

.day-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.day-number {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(157, 199, 255, 0.28);
  border-radius: 50%;
  color: var(--mint);
  font-family: inherit;
  font-size: 12px;
}

.day-date {
  margin: 0 0 4px;
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.day-heading h3 {
  margin: 0;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.day-heading h3 span {
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.event-list {
  display: grid;
  gap: 8px;
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 113px minmax(0, 1fr);
  gap: 20px;
  padding: 17px 19px;
  border: 1px solid rgba(157, 199, 255, 0.13);
  border-radius: 9px;
  background: rgba(19, 40, 69, 0.94);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.event-card:hover {
  transform: translateY(-1px);
  background: #193553;
}

.event-card.is-current {
  border-color: rgba(157, 199, 255, 0.72);
  background: linear-gradient(100deg, rgba(37, 72, 126, 0.78), rgba(20, 45, 80, 0.98));
  box-shadow: inset 3px 0 var(--mint);
}

.event-card.is-next {
  border-color: rgba(231, 189, 130, 0.55);
  background: linear-gradient(100deg, rgba(78, 59, 39, 0.46), rgba(24, 42, 64, 0.96));
  box-shadow: inset 3px 0 var(--amber);
}

.event-time {
  padding-top: 2px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.event-time.is-flexible {
  color: var(--dim);
  font-size: 10px;
  font-weight: 500;
}

.event-content {
  min-width: 0;
}

.event-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.event-title {
  margin: 0;
  color: #e5eeff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.event-card.is-current .event-title {
  color: var(--mint-bright);
}

.event-card.is-next .event-title {
  color: #f0d7b4;
}

.event-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--mint-bright);
  background: rgba(157, 199, 255, 0.14);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.event-card.is-next .event-badge {
  color: var(--amber);
  background: rgba(231, 189, 130, 0.12);
}

.event-description {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.event-speaker {
  margin: 6px 0 0;
  color: #97a9c5;
  font-size: 10px;
  font-style: italic;
  line-height: 1.5;
}

.event-alternative-speaker {
  color: #c3d4ee;
  font-weight: 500;
}

.weather-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 54px;
  padding: 23px 24px;
  border: 1px solid rgba(231, 189, 130, 0.17);
  border-radius: 10px;
  background: rgba(47, 39, 32, 0.21);
}

.weather-icon {
  color: var(--amber);
  font-size: 20px;
}

.weather-note h3 {
  margin: 0 0 6px;
  color: #f0dfc7;
  font-size: 12px;
  font-weight: 600;
}

.weather-note p {
  max-width: 610px;
  margin: 0;
  color: #c1b29e;
  font-size: 11px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 64px));
  min-height: 89px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 11px;
}

.footer-brand .brand-mark {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
  font-size: 21px;
}

.site-footer p,
.back-to-top {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
}

.back-to-top {
  color: #c3d2e9;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 40px, 600px);
  }

  .site-header {
    height: 70px;
  }

  .hero {
    min-height: 510px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(43px, 9.5vw, 68px);
  }

  .hero-description {
    max-width: 350px;
  }

  .hero-sky {
    top: 155px;
    right: -105px;
    width: 68%;
    height: 340px;
    opacity: 0.76;
  }

  .hero-copy > *:not(.eyebrow) {
    position: relative;
    z-index: 1;
  }

  .program-section {
    width: min(100% - 40px, 600px);
    padding-top: 65px;
  }

  .program-resources {
    gap: 10px;
    margin-bottom: 21px;
  }

  .live-panel {
    grid-template-columns: 1fr;
  }

  .live-status {
    padding: 13px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .live-items {
    grid-template-columns: 1fr;
  }

  .live-item + .live-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .live-item {
    padding: 15px 16px;
  }

  .section-note {
    max-width: 170px;
    font-size: 10px;
  }

  .day-nav {
    gap: 7px;
    margin-bottom: 43px;
  }

  .day-nav a {
    gap: 7px;
    padding: 9px 11px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .site-header,
  .hero,
  .site-footer {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 7px;
    font-size: clamp(8px, 2.5vw, 11px);
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 22px;
  }

  .site-header {
    gap: 8px;
  }

  .menu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
  }

  .hero {
    min-height: 505px;
  }

  .hero-copy {
    padding-top: 43px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .eyebrow-line {
    width: 17px;
  }

  .hero h1 {
    margin-top: 25px;
    font-size: clamp(42px, 11.5vw, 48px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-description {
    max-width: 290px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-sky {
    top: 175px;
    right: -144px;
    width: 88%;
    opacity: 0.52;
  }

  .hero-location {
    bottom: 21px;
    font-size: 11px;
  }

  .sky-caption {
    right: 20px;
    bottom: 25px;
    font-size: 9px;
  }

  .program-section {
    width: calc(100% - 32px);
    padding: 57px 0 68px;
  }

  .program-resources {
    gap: 9px;
    margin-bottom: 20px;
  }

  .program-resource {
    gap: 11px;
    padding: 12px 15px;
    font-size: 14px;
  }

  .program-resource span {
    font-size: 16px;
  }

  .section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .section-heading h2 {
    margin-top: 12px;
    font-size: 39px;
  }

  .section-note {
    max-width: none;
    margin: 8px 0 0;
    font-size: 12px;
    text-align: left;
  }

  .day-nav {
    justify-content: space-between;
    gap: 5px;
    margin: 21px 0 40px;
  }

  .day-nav a {
    gap: 6px;
    padding: 8px 9px;
    font-size: 11px;
  }

  .day-section + .day-section {
    margin-top: 42px;
  }

  .day-heading {
    gap: 12px;
    margin-bottom: 14px;
  }

  .day-number {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .day-heading h3 {
    font-size: 18px;
  }

  .day-heading h3 span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
  }

  .event-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
    padding: 14px 12px;
  }

  .event-time {
    font-size: 12px;
  }

  .event-title {
    font-size: 13px;
  }

  .event-description {
    font-size: 12px;
  }

  .event-speaker {
    font-size: 11px;
  }

  .event-badge {
    padding: 4px 5px;
    font-size: 7px;
  }

  .weather-note {
    gap: 12px;
    margin-top: 41px;
    padding: 18px 16px;
  }

  .weather-note h3 {
    font-size: 13px;
    line-height: 1.5;
  }

  .weather-note p {
    font-size: 12px;
  }

  .site-footer {
    min-height: 78px;
  }

  .footer-brand {
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .site-footer p {
    display: none;
  }

  .back-to-top {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
