.hero {
  --hero-top: clamp(20px, 5.5svh, 64px);
  --tick-up: 22px;
  --tick-down: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(640px, 100svh);
  background: var(--obsidian);
  color: var(--on-dark);
}

/* hero.js measures these mid-change; the global reduced-motion rule would make them transition. */
.hero,
.hero__inner,
.hero__marker-label {
  transition-property: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  transform-origin: 60% 70%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--obsidian);
  background-image:
    linear-gradient(180deg, rgba(7, 11, 18, 0.78) 0, rgba(7, 11, 18, 0.4) 130px, rgba(7, 11, 18, 0) 260px),
    linear-gradient(90deg, rgba(7, 11, 18, 0.6) 0%, rgba(7, 11, 18, 0.36) 36%, rgba(7, 11, 18, 0) 66%),
    url("../images/hero-bg-desktop.webp"),
    url("../images/hero-fallback-wide.svg"),
    linear-gradient(180deg, var(--obsidian), var(--navy));
  background-position: 0 0, 0 0, center, center, 0 0;
  background-size: auto, auto, cover, cover, auto;
  background-repeat: no-repeat;
}

.hero__orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  overflow: hidden;
}

.hero__orbit--tall {
  display: none;
}

.hero__orbit-path {
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--head) + var(--hero-top) + var(--hero-shift, 0px));
  padding-bottom: 48px;
}

.hero__content > *,
.hero__line {
  width: fit-content;
  max-width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 14px;
}

/* The emblem file has wide transparent margins, so it overhangs its 76px box. */
.hero__emblem {
  width: 108px;
  height: 108px;
  margin: -16px;
  flex: none;
}

.hero__divider {
  width: 1px;
  height: 50px;
  flex: none;
  background: var(--gold);
  opacity: 0.85;
}

.hero__presents {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gold);
  white-space: nowrap;
}

.hero__cohosts {
  display: flex;
  flex: none;
  align-items: center;
  gap: 20px;
}

.hero__cohosts .hero__divider {
  margin-right: 16px;
}

.hero__cohosts-label {
  flex: none;
  margin-right: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--on-dark-soft);
  white-space: nowrap;
}

.hero__tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 64px;
}

.hero__tile img {
  width: auto;
  max-width: none;
}

/* Optical sizing: the sparse ISRO mark needs more height than the wide wordmark. */
.hero__tile--isro img {
  height: 58px;
}

.hero__tile--in-space img {
  height: 40px;
}

.hero sup {
  position: relative;
  top: -0.72em;
  margin-left: 0.04em;
  font-size: 0.58em;
  line-height: 0;
  vertical-align: 0;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, min(3.3vw + 40px, 9.8svh), 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero__line {
  display: block;
}

.hero__year {
  color: var(--gold);
}

.hero__theme {
  margin: 16px 0 0;
  font-family: var(--italic);
  font-size: clamp(19px, 1.1vw + 13px, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(246, 240, 227, 0.84);
  text-wrap: pretty;
}

.hero__meta {
  margin: 16px 0 0;
  font-size: clamp(16px, 0.6vw + 13.4px, 22px);
  line-height: 1.4;
  color: var(--on-dark);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
}

.hero__btn {
  min-height: 58px;
  padding: 0 44px;
  font-size: 19px;
}

.hero__btn.btn--outline {
  font-weight: 500;
}

.hero__btn-arrow {
  transition: transform 0.25s var(--ease);
}

.hero__btn:hover .hero__btn-arrow {
  transform: translateX(3px);
}

/* Without JS the markers sit in a plain row under the content. */
.hero__markers {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter) 160px;
}

.hero__marker-label {
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.hero__marker-num {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.hero__marker-num sup {
  top: -0.85em;
  font-size: 0.5em;
  letter-spacing: 0;
}

.hero__marker-word {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--on-dark);
}

.hero.is-plotted .hero__markers {
  position: absolute;
  inset: 0;
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.hero.is-plotted .hero__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}

.hero.is-plotted .hero__marker::before,
.hero.is-plotted .hero__marker::after {
  content: "";
  position: absolute;
}

.hero.is-plotted .hero__marker::before {
  left: -0.5px;
  top: calc(var(--tick-up) * -1);
  width: 1px;
  height: calc(var(--tick-up) + var(--tick-down));
  background: linear-gradient(180deg, rgba(246, 240, 227, 0.72) 0%, rgba(246, 240, 227, 0.6) 58%, rgba(246, 240, 227, 0) 100%);
  transform-origin: 50% var(--tick-up);
}

.hero.is-plotted .hero__marker::after {
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 185, 95, 0.22);
}

.hero.is-plotted .hero__marker-label {
  position: absolute;
  left: -4px;
  bottom: calc(var(--tick-up) + 6px);
}

.hero--stack .hero__marker-label {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

/* Intro: hidden states only exist while JS runs the sequence. */
.hero--intro .hero__media {
  opacity: 0;
  transform: scale(1.06);
}

.hero--intro .hero__eyebrow > *,
.hero--intro .hero__line,
.hero--intro .hero__theme,
.hero--intro .hero__meta,
.hero--intro .hero__actions {
  opacity: 0;
  transform: translateY(26px);
}

.hero--intro .hero__orbit-path {
  stroke-dasharray: var(--orbit-len, 4000px) var(--orbit-len, 4000px);
  stroke-dashoffset: var(--orbit-len, 4000px);
}

.hero--intro .hero__marker::before {
  transform: scaleY(0);
}

.hero--intro .hero__marker::after {
  opacity: 0;
  transform: scale(0);
}

.hero--intro .hero__marker-label {
  opacity: 0;
  transform: translateY(10px);
}

.hero--play .hero__media {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease), transform 2.4s var(--ease);
}

.hero--play .hero__eyebrow > *,
.hero--play .hero__line,
.hero--play .hero__theme,
.hero--play .hero__meta,
.hero--play .hero__actions {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}

.hero--play .hero__eyebrow > * { transition-delay: 0.15s; }
.hero--play .hero__cohosts { transition-delay: 0.27s; }
.hero--play .hero__line:first-child { transition-delay: 0.27s; }
.hero--play .hero__line:last-child { transition-delay: 0.37s; }
.hero--play .hero__theme { transition-delay: 0.5s; }
.hero--play .hero__meta { transition-delay: 0.6s; }
.hero--play .hero__actions { transition-delay: 0.7s; }

.hero--play .hero__orbit-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.55, 0, 0.25, 1) 0.85s;
}

.hero--play .hero__marker::before,
.hero--play .hero__marker::after,
.hero--play .hero__marker-label {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(2.2s + var(--i, 0) * 0.16s);
}

.hero--play .hero__marker-label {
  transition-delay: calc(2.28s + var(--i, 0) * 0.16s);
}

@media (max-width: 1100px) {
  .hero__eyebrow {
    gap: 18px;
  }

  .hero__emblem {
    width: 92px;
    height: 92px;
    margin: -14px;
  }

  .hero__divider {
    height: 42px;
  }

  .hero__presents {
    font-size: 18px;
  }

  .hero__cohosts .hero__divider {
    margin-right: 10px;
  }

  .hero__cohosts-label {
    font-size: 13px;
  }

  .hero__tile {
    height: 52px;
  }

  .hero__tile--isro img {
    height: 48px;
  }

  .hero__tile--in-space img {
    height: 32px;
  }
}

@media (max-width: 820px) {
  .hero__eyebrow {
    flex-wrap: wrap;
    row-gap: 14px;
  }

  .hero__cohosts {
    flex-basis: 100%;
  }

  .hero__cohosts .hero__divider {
    display: none;
  }
}

@media (max-width: 370px) {
  .hero__cohosts {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .hero__cohosts-label {
    flex-basis: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    --hero-top: 12px;
    --tick-up: 14px;
    --tick-down: 10px;
  }

  .hero__bg {
    background-image:
      linear-gradient(180deg, rgba(7, 11, 18, 0.72) 0, rgba(7, 11, 18, 0.32) 120px, rgba(7, 11, 18, 0.2) 55%, rgba(7, 11, 18, 0) 78%),
      url("../images/hero-bg-mobile.webp"),
      url("../images/hero-fallback-tall.svg"),
      linear-gradient(180deg, var(--obsidian), var(--navy));
    background-position: 0 0, center, center, 0 0;
    background-size: auto, cover, cover, auto;
  }

  .hero__orbit--wide {
    display: none;
  }

  .hero__orbit--tall {
    display: block;
  }

  .hero__eyebrow {
    gap: 16px;
    margin-bottom: 20px;
  }

  .hero__emblem {
    width: 80px;
    height: 80px;
    margin: -12px;
  }

  .hero__divider {
    height: 40px;
  }

  .hero__presents {
    font-size: 16.5px;
  }

  .hero__title {
    font-size: clamp(38px, 11.9vw, 54px);
    line-height: 1.02;
  }

  .hero__theme {
    margin-top: 16px;
    font-size: clamp(20px, 6.4vw, 26px);
    line-height: 1.25;
    text-wrap: balance;
  }

  .hero__meta {
    margin-top: 16px;
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 26px;
  }

  .hero__btn {
    width: 100%;
    min-height: 54px;
    font-size: 18px;
  }

  .hero__marker-num {
    font-size: 27px;
  }

  .hero__marker-word {
    font-size: 13px;
  }

  .hero.is-plotted .hero__marker::after {
    left: -4px;
    top: -4px;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 3px rgba(232, 185, 95, 0.22);
  }

  .hero__marker-label {
    gap: 4px;
  }
}

html:has(.interest[open]) {
  scrollbar-gutter: stable;
}

.interest {
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
}

.interest.is-open {
  opacity: 1;
  transform: none;
}

.interest::backdrop {
  background: rgba(10, 20, 39, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.interest.is-open::backdrop {
  opacity: 1;
}

.interest__card {
  position: relative;
  max-height: calc(100dvh - 48px);
  padding: 40px 40px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: 0 48px 110px -24px rgba(3, 6, 12, 0.75), 0 14px 36px -14px rgba(3, 6, 12, 0.5);
}

.interest__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--navy);
  transition: background-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.interest__close .icon {
  width: 30px;
  height: 30px;
}

.interest__close:hover {
  background: rgba(10, 20, 39, 0.07);
  transform: rotate(90deg);
}

.interest :focus-visible {
  outline-color: var(--gold-deep);
}

.interest__title {
  margin: 0 52px 10px 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.interest__title:focus {
  outline: none;
}

.interest__intro {
  max-width: 34em;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
}

.interest__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.interest__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.interest__field--full {
  grid-column: 1 / -1;
}

.interest__field[hidden] {
  display: none;
}

.interest__field.is-entering {
  animation: interest-field-in 0.36s var(--ease) both;
}

@keyframes interest-field-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.interest__label {
  padding: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.interest__input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #8C97AB;
  border-radius: var(--radius-sm);
  background: var(--cream-light);
  font: 16px/1.4 var(--sans);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.interest__input:hover {
  border-color: var(--slate);
}

.interest__input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(168, 132, 58, 0.35);
}

.interest__input[aria-invalid="true"] {
  border-color: #B3261E;
}

.interest__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2);
}

.interest__textarea {
  height: auto;
  min-height: 72px;
  padding: 11px 14px;
  resize: vertical;
}

.interest__error {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #A12A20;
}

.interest__type {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.interest__type legend {
  margin-bottom: 9px;
}

.interest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.interest__chip {
  position: relative;
  display: flex;
  flex: 1 1 auto;
}

.interest__chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.interest__chip span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border: 1px solid rgba(10, 20, 39, 0.55);
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.interest__chip:hover span {
  border-color: var(--navy);
}

.interest__chip input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
}

.interest__chip input:focus-visible + span {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.interest__form > .interest__field {
  margin-top: 18px;
}

.interest__submit {
  min-height: 56px;
  margin-top: 18px;
  border-radius: 8px;
  font-size: 18px;
}

.interest__submit:hover {
  background: var(--navy-raised);
}

.interest__done {
  padding-top: 8px;
}

.interest__done .interest__intro {
  margin-bottom: 28px;
}

.interest__done-close {
  min-width: 160px;
}

@media (max-width: 600px) {
  .interest {
    width: 100%;
    margin: auto 0 0;
    opacity: 1;
    transform: translateY(100%);
    transition: transform 0.45s var(--ease);
  }

  .interest__card {
    max-height: calc(100dvh - 40px);
    padding: 36px 22px calc(24px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }

  .interest__close {
    top: 8px;
    right: 6px;
  }

  .interest__title {
    margin-right: 36px;
    font-size: clamp(26px, 7.4vw, 32px);
  }

  .interest__intro {
    font-size: 16px;
  }

  .interest__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .interest__label {
    font-size: 15px;
  }

  .interest__chips {
    gap: 6px;
  }

  .interest__chip span {
    padding: 0 10px;
    font-size: 14px;
  }
}
