/* The opening follows the crew from the first installation to the finished systems. */
#home {
  height: auto;
  min-height: clamp(600px, calc(100svh - 96px), 920px);
  max-height: none;
  gap: clamp(24px, 5vh, 60px);
  padding-block: 0 clamp(18px, 3vh, 32px);
}
#home .hero-shade {
  background: linear-gradient(90deg, #081936df 0%, #0e2349a1 36%, #0e23491c 72%),
              linear-gradient(0deg, #0a1e45f0 0%, #0a1e4570 22%, transparent 55%);
}
#home .hero-content {
  height: auto;
  justify-content: flex-end;
  padding: clamp(90px, 15vh, 170px) 0 0;
  transform: none;
  opacity: 1;
}
#home .hero-scene-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #fff2c6;
  font: 650 .6875rem/1.5 var(--type-body, sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}
#home .hero-scene-line { width: 32px; height: 2px; background: #f4c625; }
#hero-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(52px, 5.75vw, 94px);
  letter-spacing: -.048em;
  line-height: 1.04;
  text-wrap: balance;
  color: #f7f4e8;
}
#hero-title > * { display: block; }
#hero-title em { font-style: normal; color: #ffcf38; }
#home .hero-intro { margin-top: 20px; gap: 23px; }
#home #scene-description { max-width: 46ch; margin: 0; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; color: #f1f3f6; }
#home .hero-actions { align-items: center; gap: 10px 24px; }
#home .hero-actions .action-button { width: fit-content; min-width: 0; min-height: 48px; gap: 28px; padding: 10px 18px; font-size: .9375rem; }
#home .hero-actions .film-button {
  width: fit-content; min-height: 46px; padding: 4px 0; gap: 9px;
  border: 0; background: transparent; box-shadow: none; backdrop-filter: none;
  justify-content: flex-start; color: #fff;
}
#home .film-button .play-icon {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid #dce6f0a1; border-radius: 50%; color: #ffcf38;
}
#home .film-button .play-icon svg { width: 13px; height: 13px; }
#home .film-button:hover .play-icon { background: #132d55; border-color: #f4c625; }
#home .film-button small { color: #dce3ee; margin: 0; }
#home .hero-bottom {
  position: relative; inset: auto; display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px;
  padding-top: 12px; align-items: center; border-top: 1px solid #d7e1f350;
}
#home .hero-contact { justify-self: start; }
#home .hero-photo-nav { grid-column: 2; width: auto; }
#home .hero-controls { grid-column: 3; }
#home .hero-dots { display: flex; align-items: center; gap: 6px; max-width: none; width: 100%; }
#home .hero-dots button {
  display: grid; place-items: center; position: relative; inset: auto;
  width: auto; min-width: 78px; height: 44px; padding: 4px 10px;
  border: 0; border-radius: 0; color: #dce5f2; background: none;
  box-shadow: none; transform: none; isolation: auto; opacity: 1;
}
#home .hero-dots button::before { content: none; }
#home .hero-dots button::after {
  content: ''; position: absolute; inset: auto 6px 0; height: 2px;
  background: #ffcf38; transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
#home .hero-dots button[aria-pressed="true"] { color: #ffda5b; }
#home .hero-dots button[aria-pressed="true"]::after { transform: scaleX(1); }
#home .hero-dots button:hover { color: #fff; }
#home .hero-dots .shot-name { position: static; font: 600 .875rem/1.25 var(--type-body, sans-serif); white-space: nowrap; }
#home .hero-dots i { display: none; }
#home .hero-controls .motion-button { width: 44px; height: 44px; }
#home :is(a,button):focus-visible { outline: 2px solid #ffe28a; outline-offset: 2px; }
@media (max-width: 760px) {
  #home { min-height: min(740px, calc(100svh - 84px)); padding-block: 0 10px; gap: 22px; }
  #home .hero-content { padding: clamp(120px, 23svh, 205px) 0 0; }
  #home .hero-slide:first-child { object-position: 58% 38%; }
  #home .hero-shade {
    background: linear-gradient(0deg, #091c42 0%, #10254ce8 20%, #11284ed9 40%, #10274e80 66%, #0c1f4714 93%),
                linear-gradient(90deg, #09192d4a, transparent 82%);
  }
  #hero-title { max-width: 100%; font-size: clamp(38px, 9.3vw, 62px); line-height: 1.05; }
  #home .hero-scene-marker { margin-bottom: 12px; font-size: .625rem; }
  #home .hero-scene-line { width: 22px; }
  #home .hero-intro { margin-top: 14px; gap: 18px; }
  #home #scene-description { font-size: .9375rem; line-height: 1.5; max-width: 40ch; }
  #home .hero-actions { gap: 4px 16px; }
  #home .hero-actions .action-button { padding-inline: 13px; font-size: .8125rem; min-height: 44px; gap: 10px; }
  #home .hero-actions .film-button { font-size: .8125rem; gap: 7px; }
  #home .film-button small { display: none; }
  #home .hero-bottom { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; padding-top: 4px; }
  #home .hero-photo-nav { grid-column: 1; grid-row: 1; }
  #home .hero-controls { grid-column: 2; grid-row: 1; }
  #home .hero-dots { gap: 0; }
  #home .hero-dots button { flex: 1; min-width: 0; padding: 4px; }
  #home .hero-dots .shot-name { font-size: .8125rem; }
  #home .hero-contact { grid-column: 1 / -1; grid-row: 2; min-height: 44px; gap: 8px; }
  #home .hero-contact > span:not(.contact-monogram) { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
  #home .hero-contact strong { font-size: .75rem; }
  #home .hero-contact small { font-size: .6875rem; }
  #home .hero-contact > svg { order: -1; height: 15px; width: 15px; margin: 0; }
  #home .contact-monogram { display: none; }
}
body[data-motion="paused"] #home .hero-dots button::after { transition: none; }
@media (prefers-reduced-motion: reduce) {
  #home .hero-dots button::after { transition: none; }
}
