:root {
  color-scheme: dark;
  --navy: #061b3a;
  --navy-deep: #03122b;
  --blue: #173e68;
  --blue-light: #88b4d7;
  --ice: #e8edf0;
  --muted: #b3c2d0;
  --red: #df1f37;
  --line: rgba(238, 244, 247, 0.25);
  --content-width: 1160px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ice);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
a { color: inherit; }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--navy-deep);
  background: var(--ice);
  border-radius: 2px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
  padding: 0 clamp(1.1rem, 4vw, 3.6rem);
  background: rgba(3, 15, 35, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.2;
  width: fit-content;
  text-decoration: none;
  white-space: nowrap;
}

.footer-brand {
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.primary-nav a {
  color: #d7e0e8;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: #fff; }

.language-switch {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.43rem;
  color: rgba(232, 237, 240, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.language-switch button {
  padding: 0.35rem 0.1rem;
  border: 0;
  background: transparent;
  color: rgba(232, 237, 240, 0.56);
  cursor: pointer;
  font-size: inherit;
  letter-spacing: inherit;
}

.language-switch button[aria-pressed="true"] { color: #fff; }
.language-switch button[aria-pressed="true"]::after {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.1rem;
  background: var(--red);
  content: "";
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(820px, calc(100svh - 76px));
  min-height: max(690px, calc(100svh - 76px));
  align-items: center;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) max(8vw, calc((100vw - var(--content-width)) / 2));
  background: #174b80;
}

.hero-art,
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-art {
  background-image: url("assets/horizon-artwork.jpeg");
  background-position: center 52%;
  background-size: cover;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 17, 42, 0.8) 0%, rgba(4, 28, 56, 0.52) 46%, rgba(4, 22, 47, 0.05) 100%),
    linear-gradient(180deg, rgba(2, 15, 35, 0.18), rgba(3, 18, 40, 0.02) 42%, rgba(3, 18, 40, 0.72));
}

.hero-content {
  width: min(760px, 100%);
  padding: 2rem 0 3rem;
  text-shadow: 0 2px 26px rgba(0, 11, 28, 0.32);
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: #b9d7ed;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-title-block {
  width: min(660px, 100%);
}

.hero-logo {
  display: block;
  width: clamp(90px, 9vw, 120px);
  height: auto;
  margin: 0 0 0.45rem auto;
  filter: drop-shadow(0 2px 12px rgba(0, 11, 28, 0.35));
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(4.1rem, 9vw, 8.2rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.title-break { display: none; }

.hero-tagline {
  max-width: 510px;
  margin: 1.65rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.hero-rule {
  display: flex;
  align-items: center;
  width: min(470px, 78vw);
  height: 1px;
  margin: 2.5rem 0 1.75rem;
  background: rgba(255, 255, 255, 0.53);
}

.hero-rule span {
  width: 12px;
  height: 12px;
  margin-left: 58%;
  background: var(--red);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.event-details p { margin: 0; }
.event-date { font-size: 1rem; font-weight: 650; letter-spacing: 0.05em; }
.event-venue { margin-top: 0.48rem !important; font-size: 0.98rem; }
.event-address { color: rgba(255, 255, 255, 0.82); font-size: 0.87rem; }

.scroll-cue {
  position: absolute;
  right: clamp(1.5rem, 6vw, 5rem);
  bottom: 2rem;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.scroll-cue:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(3px); }

.content-section {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

.content-section::before {
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 4vw, 3rem);
  right: clamp(1.25rem, 4vw, 3rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 235, 246, 0.42), transparent);
  content: "";
}

.section-heading { margin-bottom: 2.6rem; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.overview-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  max-width: 1020px;
}

.overview-section .section-heading { margin: 0; }
.overview-copy { max-width: 700px; color: #dce5ec; }
.overview-copy p { margin: 0 0 1.2rem; }
.overview-copy p:last-child { margin-bottom: 0; }

.cast-section { max-width: 1240px; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.6vw, 2rem);
}

.cast-card { min-width: 0; }
.cast-portrait {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 4.75;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(8, 43, 77, 0.08), rgba(3, 16, 39, 0.78)),
    url("assets/horizon-artwork.jpeg") center 62% / cover;
  border: 1px solid rgba(225, 239, 247, 0.21);
}

.cast-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cast-portrait::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.cast-portrait > span:first-child {
  z-index: 1;
  color: rgba(246, 250, 252, 0.88);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.08em;
}

.cast-card h3 {
  margin: 0.85rem 0 0;
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  font-weight: 550;
  letter-spacing: 0.015em;
}

.scenes-section { max-width: 1050px; }
.scenes-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
}

.section-intro {
  max-width: 355px;
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.scene-list { border-top: 1px solid var(--line); }
.scene-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 2.3rem 0 2.45rem;
  border-bottom: 1px solid var(--line);
}

.scene-number {
  padding-top: 0.2rem;
  color: #91bad8;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
}

.scene-main h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.scene-summary {
  max-width: 720px;
  margin: 0.85rem 0 1.2rem;
  color: #c7d5df;
}

.scene-question {
  max-width: 780px;
  padding: 1.05rem 1.2rem 1.1rem;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.045);
}

.scene-question .eyebrow { margin-bottom: 0.2rem; font-size: 0.58rem; }
.scene-question p { margin: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.45; }

.excerpt-area { max-width: 780px; margin-top: 1.4rem; }
.excerpt-heading {
  margin: 0 0 0.55rem;
  color: #b8c8d4;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.excerpt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.excerpt-slot {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px dashed rgba(213, 230, 240, 0.28);
  color: rgba(214, 226, 235, 0.65);
  font-size: 0.77rem;
}

.excerpt-language {
  flex: 0 0 auto;
  color: #c2d7e7;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.credits-section { max-width: 1050px; }
.credits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 8vw, 7rem);
  row-gap: 1.35rem;
}

.credit-item {
  display: grid;
  grid-template-columns: minmax(92px, 0.55fr) minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.credit-role { color: #b5c8d7; font-size: 0.8rem; }
.credit-name { font-weight: 550; }
.credit-cast { grid-column: 1 / -1; }

.site-footer {
  display: flex;
  min-height: 102px;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem clamp(1.25rem, 6vw, 5rem);
  background: #020d20;
  color: #bccad4;
}

.site-footer p { margin: 0; font-size: 0.78rem; letter-spacing: 0.08em; }
.footer-brand { text-decoration: none; }
.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  text-decoration: none;
}

.back-to-top span:last-child { color: #fff; font-size: 1.1rem; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (min-width: 1000px) {
  .cast-card:nth-child(5) { grid-column: 2; }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 0.7rem 1rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.15rem 0 0.35rem;
    scrollbar-width: none;
  }
  .primary-nav::-webkit-scrollbar { display: none; }
  .language-switch { grid-column: 2; grid-row: 1; }
  html { scroll-padding-top: 118px; }
  .hero { min-height: max(650px, calc(100svh - 112px)); }
  .cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header { min-height: 0; padding-inline: 1rem; }
  .brand { font-size: 0.8rem; }
  .primary-nav { gap: 1.15rem; }
  .primary-nav a { font-size: 0.58rem; }
  html { scroll-padding-top: 112px; }
  .hero {
    min-height: 700px;
    min-height: max(700px, calc(100svh - 105px));
    align-items: start;
    padding: 18vh 1.35rem 5rem;
  }
  .hero-art { background-position: 51% center; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 17, 42, 0.63) 0%, rgba(4, 25, 53, 0.2) 55%, rgba(3, 18, 40, 0.77) 100%),
      linear-gradient(90deg, rgba(2, 16, 39, 0.2), transparent);
  }
  .hero-content { padding-top: 1rem; }
  .hero-logo { width: 78px; margin-bottom: 0.4rem; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 6.2rem); }
  .title-break { display: block; }
  .hero-tagline { max-width: 330px; margin-top: 1.2rem; font-size: 1.15rem; }
  .hero-rule { margin: 2rem 0 1.25rem; }
  .event-date { font-size: 0.9rem; }
  .event-venue { max-width: 330px; font-size: 0.86rem; }
  .event-address { font-size: 0.79rem; }
  .scroll-cue { right: 1.4rem; bottom: 1.3rem; }
  .content-section { padding: 4.7rem 1.25rem; }
  .content-section::before { left: 1.25rem; right: 1.25rem; }
  .overview-section { grid-template-columns: 1fr; gap: 1.35rem; }
  .section-heading { margin-bottom: 2rem; }
  .section-heading h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.9rem; }
  .cast-card:nth-child(7) { grid-column: 1 / -1; width: calc(50% - 0.45rem); }
  .cast-portrait > span:first-child { font-size: 2.5rem; }
  .cast-card h3 { font-size: 0.9rem; }
  .scenes-heading { display: block; }
  .section-intro { margin-top: 1rem; }
  .scene-card { grid-template-columns: 35px minmax(0, 1fr); gap: 0.45rem; padding: 1.75rem 0; }
  .scene-number { font-size: 0.7rem; }
  .scene-main h3 { font-size: 1.45rem; }
  .scene-summary { margin: 0.65rem 0 1rem; font-size: 0.9rem; }
  .scene-question { padding: 0.85rem 0.9rem; }
  .scene-question p { font-size: 1rem; }
  .excerpt-pair { grid-template-columns: 1fr; }
  .excerpt-slot { min-height: 50px; }
  .credits-grid { grid-template-columns: 1fr; row-gap: 0.95rem; }
  .credit-item { grid-template-columns: minmax(78px, 0.4fr) minmax(0, 1fr); gap: 0.65rem; }
  .credit-cast { grid-column: auto; }
  .site-footer { flex-wrap: wrap; min-height: 0; padding: 1.5rem 1.25rem; }
  .site-footer p { order: 3; width: 100%; }
  .back-to-top { margin-left: auto; }
}

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