:root {
  --enhance-gold: #ad8a58;
  --enhance-blue: #6f9fc8;
  --enhance-blue-soft: rgba(91, 142, 184, 0.16);
  --enhance-ivory: #eee9e1;
  --enhance-muted: #b8bcc2;
  --enhance-bg: #0b0e12;
  --enhance-panel: #11151a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--memory-header-height, 72px) + 18px);
}

/* Header: slightly larger identity and controls. */
.memory-header__brand-date {
  font-size: 11px;
  letter-spacing: 0.22em;
}

.memory-header__brand-title {
  font-size: 13px;
  letter-spacing: 0.13em;
}

.memory-nav {
  gap: 38px;
}

.memory-nav__link,
.memory-nav__trigger {
  min-height: 44px;
  padding-inline: 5px;
  font-size: 13px;
}

/* Opening sequence and the aircraft. */
.hc-hero__wrapper {
  height: 195vh;
}

.hc-hero__plane {
  width: 152px;
  color: rgba(245, 241, 232, 0.94);
  transition:
    transform 0.34s cubic-bezier(0.22, 0.72, 0.32, 1),
    opacity 0.28s ease-out;
  filter:
    drop-shadow(0 3px 4px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 12px rgba(221, 229, 236, 0.16));
}

.hc-hero__plane svg {
  overflow: visible;
}

.hc-hero__plane path {
  opacity: 1 !important;
  stroke: currentColor;
  stroke-width: 2.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.hc-hero__lead {
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.4;
}

.hc-hero__sub {
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.55;
  color: #d2ccc2;
}

.hc-hero__name {
  display: inline-block;
  width: fit-content;
  margin-inline: auto;
  padding: 7px 12px 8px;
  border-radius: 3px;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.hc-hero__name:hover,
.hc-hero__name:focus-visible {
  color: #b9dcf6 !important;
  background: var(--enhance-blue-soft);
  box-shadow: inset 0 0 0 1px rgba(111, 159, 200, 0.16);
}

.hc-hero__btn {
  border-color: rgba(173, 138, 88, 0.82);
  color: #f3e5c8;
  background:
    linear-gradient(180deg, rgba(173, 138, 88, 0.15), rgba(173, 138, 88, 0.07));
  box-shadow:
    0 0 22px rgba(173, 138, 88, 0.13),
    inset 0 0 0 1px rgba(255, 236, 190, 0.04);
  transition:
    border-color 0.32s ease,
    background-color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.hc-hero__btn:hover {
  border-color: #c8a45c;
  background: rgba(173, 138, 88, 0.2);
  box-shadow: 0 0 30px rgba(173, 138, 88, 0.24);
  transform: translateY(-2px);
}

.hp-crew {
  scroll-margin-top: calc(var(--memory-header-height, 72px) + 10px);
}

/* Reuse only the site's existing colors in subtle section blends. */
.hp-crew,
.hp-chrono {
  background:
    linear-gradient(
      180deg,
      var(--enhance-panel) 0%,
      var(--enhance-bg) 16%,
      var(--enhance-bg) 86%,
      var(--enhance-panel) 100%
    ) !important;
}

.hp-timeline {
  background:
    linear-gradient(
      180deg,
      var(--enhance-panel) 0%,
      var(--enhance-bg) 13%,
      var(--enhance-bg) 88%,
      #101318 100%
    ) !important;
}

.hp-card {
  background:
    linear-gradient(
      180deg,
      #101318 0%,
      var(--enhance-bg) 10%,
      var(--enhance-bg) 90%,
      var(--enhance-panel) 100%
    ) !important;
}

.hp-memorial-hero,
.hp-memorial-story,
.hp-memorial-crew,
.hp-memorial-quote,
.hp-memorial-footer {
  background-color: var(--enhance-panel) !important;
}

/* Last-flight chronology: larger, clearer labels and copy. */
.hp-chrono__date,
.hp-card__eyebrow,
.hp-card__conclusion-eyebrow {
  font-size: 13px;
  font-weight: 600;
}

.hp-chrono__subtitle {
  max-width: 660px;
  font-size: 18px;
  color: #aebdcd;
}

.hp-c__step {
  font-size: 12px;
  color: #7793af;
}

.hp-c__title {
  font-size: 18px;
  color: #e1e8ef;
}

.hp-c__text {
  font-size: 14.5px;
  line-height: 1.68;
  color: #a9b9ca;
  font-weight: 400;
}

/* Documentary timeline. */
.hp-timeline__intro {
  color: #b8b8c0;
}

.site-date-accent {
  color: #c8a45c;
  font-weight: 650;
  white-space: nowrap;
}

.hp-timeline__line,
.hp-timeline__line-fill {
  left: 20px;
}

.hp-timeline__line {
  top: 7px;
  background: linear-gradient(
    to bottom,
    rgba(184, 115, 51, 0.34) 0%,
    rgba(184, 115, 51, 0.34) 94%,
    transparent 100%
  );
}

.hp-timeline__line-fill {
  top: 7px;
}

.hp-timeline__dot {
  left: -46px;
  top: 1px;
  width: 14px;
  height: 14px;
}

.hp-timeline__media-caption {
  padding: 18px 15px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #d6d8dd;
  background: linear-gradient(transparent, rgba(7, 8, 11, 0.96));
}

.hp-timeline__item {
  transition-duration: 0.68s;
}

.hp-timeline--animated .hp-timeline__item:nth-child(1) { transition-delay: 0.06s; }
.hp-timeline--animated .hp-timeline__item:nth-child(2) { transition-delay: 0.14s; }
.hp-timeline--animated .hp-timeline__item:nth-child(3) { transition-delay: 0.22s; }
.hp-timeline--animated .hp-timeline__item:nth-child(4) { transition-delay: 0.30s; }
.hp-timeline--animated .hp-timeline__item:nth-child(5) { transition-delay: 0.38s; }
.hp-timeline--animated .hp-timeline__item:nth-child(6) { transition-delay: 0.46s; }

/* Findings, evidence cards and map. */
.hp-card__eyebrow,
.hp-card__conclusion-eyebrow {
  letter-spacing: 0.19em;
}

.hp-card__crew-desc {
  font-size: 17px;
  line-height: 1.74;
}

.hp-card__crew-meta {
  gap: 12px;
}

.hp-card__crew-meta-item {
  font-size: 15px;
  line-height: 1.5;
}

.hp-card__crew-meta-icon {
  width: 19px;
  height: 19px;
  opacity: 0.82;
}

.hp-card__map-svg text {
  font-size: 12px !important;
}

.hp-card__map-legend-item {
  font-size: 12px;
}

.hp-card__map-caption {
  font-size: clamp(12px, 1.18vw, 15px);
  white-space: nowrap;
}

/* Memorial ending. */
.hp-memorial-hero__eyebrow {
  font-size: 16px;
  font-weight: 600;
}

.hp-memorial-story__line:first-child {
  font-size: clamp(21px, 2.7vw, 25px);
}

.hp-memorial-quote__line,
.hp-memorial-quote__line:first-child,
.hp-memorial-quote__line:last-child {
  font-family: var(--t-headline-font) !important;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 400;
  font-style: normal;
  color: rgba(240, 236, 227, 0.9);
}

/* Calm, consistent reveal motion throughout the long page. */
.hp-memorial-story__line,
.hp-memorial-crew__item,
.hp-memorial-quote__inner {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.78s;
}

@media (max-width: 960px) {
  .memory-nav { gap: 22px; }
  .memory-nav__link,
  .memory-nav__trigger { font-size: 12px; }
  .hp-card__map-caption {
    font-size: 12px;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 720px) {
  .hc-hero__wrapper { height: 175vh; }
  .hc-hero__plane { width: 112px; }
  .memory-nav__link,
  .memory-nav__trigger {
    padding-inline: 2px;
    font-size: 10px;
  }
  .hp-card__map-caption {
    white-space: normal;
  }
  .hp-timeline__line,
  .hp-timeline__line-fill {
    left: 12px;
  }
  .hp-timeline__dot {
    left: -35px;
    width: 14px;
    height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
