:root {
  --ink: #f7fbff;
  --paper: #ffffff;
  --muted: #b8c7d9;
  --soft: #dfe8f1;
  --deep: #06111f;
  --night: #081827;
  --panel: rgba(8, 24, 39, .84);
  --line: rgba(255, 255, 255, .16);
  --dark-line: rgba(7, 20, 37, .14);
  --cyan: #00d1ff;
  --gold: #e8b85b;
  --green: #12c48b;
  --rose: #ff6b6b;
  --violet: #8b7cf6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  line-height: 1.55;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

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

.nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(6, 17, 31, .82);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 244px;
}

.brand img {
  width: 184px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(247, 251, 255, .86);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--cyan);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 13px 18px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  text-align: center;
}

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #04101b;
}

.button.gold {
  border-color: var(--gold);
  background: rgba(232, 184, 91, .14);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 132px 0 76px;
  background: #071426;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("/assets/mainstage-global-panel-portal-1920-v2.4.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, .97) 0%, rgba(6, 17, 31, .84) 42%, rgba(6, 17, 31, .38) 100%),
    linear-gradient(0deg, rgba(6, 17, 31, .96) 0%, rgba(6, 17, 31, .15) 48%, rgba(6, 17, 31, .84) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: end;
  gap: 42px;
}

.eyebrow,
.tag {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3,
.metric strong {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 950px;
  margin-top: 16px;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 800;
  line-height: .98;
}

h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.4vw, 66px);
  font-weight: 800;
  line-height: 1.02;
}

h3 {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.08;
}

.lead {
  max-width: 790px;
  margin: 24px 0 0;
  color: rgba(247, 251, 255, .86);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.signal-panel {
  border: 1px solid rgba(0, 209, 255, .28);
  border-radius: 8px;
  padding: 22px;
  background: rgba(6, 17, 31, .76);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .32);
}

.signal-panel img {
  width: 100%;
  margin-bottom: 18px;
}

.signal-list,
.clean-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list {
  color: var(--muted);
  font-size: 15px;
}

.signal-list strong,
.clean-list strong {
  display: block;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
}

section {
  padding: 86px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.light {
  background: #f5f8fb;
  color: #071425;
  border-top: 0;
}

.light .eyebrow,
.light .tag {
  color: #a77624;
}

.light .section-copy,
.light .card p,
.light .division-card p,
.light .track p,
.light .tile p,
.light .day span,
.light .route-card p,
.light .clean-list {
  color: #44586d;
}

.light .clean-list strong {
  color: #071425;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(260px, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, .045);
}

.light .metric {
  border-color: var(--dark-line);
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.light .metric span {
  color: #44586d;
}

.division-grid,
.card-grid,
.track-grid,
.news-grid,
.agenda-grid {
  display: grid;
  gap: 16px;
}

.division-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.track-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-grid {
  grid-template-columns: 1.15fr .85fr;
}

.agenda-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.division-card,
.track,
.tile,
.day,
.route-card {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(8, 24, 39, .74);
  overflow: hidden;
}

.light .card,
.light .division-card,
.light .track,
.light .tile,
.light .day,
.light .route-card {
  border-color: var(--dark-line);
  background: #fff;
}

.division-card {
  min-height: 460px;
}

.division-card img,
.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.content {
  padding: 20px;
}

.card p,
.division-card p,
.track p,
.tile p,
.day span,
.route-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.tag {
  display: block;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.track-band {
  background:
    linear-gradient(90deg, rgba(0, 209, 255, .12), rgba(232, 184, 91, .1)),
    #071426;
}

.track {
  min-height: 158px;
  padding: 18px;
}

.track h3 {
  font-size: 20px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #020814;
}

.media-frame video,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.program-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.tile {
  padding: 20px;
  min-height: 170px;
}

.tile strong,
.day strong {
  display: block;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--gold);
  font-size: 20px;
}

.roundtable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.roundtable {
  border-left: 3px solid var(--cyan);
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, .055);
}

.roundtable:nth-child(2) {
  border-left-color: var(--green);
}

.roundtable:nth-child(3) {
  border-left-color: var(--gold);
}

.roundtable:nth-child(4) {
  border-left-color: var(--rose);
}

.roundtable h3 {
  font-size: 22px;
}

.roundtable p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.day {
  padding: 18px;
  background: rgba(232, 184, 91, .075);
  border-color: rgba(232, 184, 91, .28);
}

.routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 200px;
}

.route-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-card .content {
  padding: 22px;
}

.notice {
  margin-top: 30px;
  border: 1px solid rgba(232, 184, 91, .3);
  border-radius: 8px;
  padding: 18px 20px;
  color: #d8e6f3;
  background: rgba(232, 184, 91, .08);
  font-size: 14px;
}

.light .notice {
  color: #44586d;
}

.footer {
  padding: 46px 0;
  background: #030a12;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--cyan);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.subpage-hero {
  min-height: 64vh;
  padding-top: 142px;
}

.subpage-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 92px);
}

@media (max-width: 1060px) {
  .division-grid,
  .track-grid,
  .agenda-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .program-flow,
  .news-grid,
  .routes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav {
    position: absolute;
    height: auto;
    padding: 16px 0;
  }

  .nav-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: 172px;
  }

  .hero-grid,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    max-width: 540px;
  }

  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 26px, 1180px);
  }

  h1 {
    font-size: 48px;
  }

  .brand img {
    width: 164px;
  }

  .metric-row,
  .division-grid,
  .track-grid,
  .roundtable-list,
  .agenda-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    grid-template-columns: 1fr;
  }

  .route-card img {
    height: 180px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
