.ats {
  --foam: #93dfd4;
  --sea-line: #425c68;
  background: #0c1b25;
  color: #f4f4ee;
}
.ats .mast { border-bottom-color: var(--sea-line); }
.ats .mast a:hover, .ats footer a:hover { color: var(--foam); }
.ats-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  max-width: 108rem;
  margin-inline: auto;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 62% 45%, #1f4751, transparent 60%), #0b1c28;
}
.ats-hero > .wrap {
  align-self: center;
  grid-area: 1 / 1;
  width: 100%;
  max-width: 40rem;
  justify-self: end;
  padding: clamp(2.4rem, 4vw, 4.2rem) clamp(1.1rem, 2.1vw, 2.5rem) clamp(2.7rem, 5vw, 4.8rem) clamp(1.15rem, 4vw, 4.6rem);
}
.ats-intro { max-width: 33rem; }
.ats .status {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #c5e1e3;
  font-size: .85rem;
  line-height: 1.3;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.status-line {
  width: 1.75rem;
  height: .65rem;
  background: repeating-linear-gradient(117deg,var(--foam) 0 5px,transparent 5px 8px);
}
.ats .status .age { border-color: #6c8e95; }
.ats-hero h1 {
  width: fit-content;
  margin: 1.45rem 0 1.35rem;
  filter: drop-shadow(0 4px 8px #07121b);
}
.ats-hero h1 img { width: clamp(12.5rem, 20vw, 18.5rem); height: auto; }
.ats-premise {
  max-width: 32rem;
  color: #e4eeed;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.56;
}
.key-art {
  grid-area: 1 / 2;
  position: relative;
  margin-left: -.5rem;
  min-height: clamp(32rem, 40vw, 42rem);
  background: #23516c;
  clip-path: polygon(8% 0,100% 0,100% 100%,0 100%);
}
.key-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 56% 100%;
}
.ats .command.primary { --back: linear-gradient(110deg,#b5f2de,#63cfc1); }
.ats .command.alt { --back: linear-gradient(110deg,#102434,#1b424d); }
.ats .hero-commands { gap: .65rem; margin-top: 1.4rem; }
.ats section[id] { scroll-margin-top: 1rem; }
.footage-region, .cast-region { padding-block: clamp(2.75rem, 5vw, 5rem); }
.footage-region {
  border-top: 3px solid #50828b;
  background: #122630;
}
.cast-region {
  border-top: 1px solid #3d535e;
  background: #11212c;
}
.ats .section-bar { margin-bottom: .7rem; }
.ats .bar-line { background: var(--sea-line); }
.ats .bar-line::before { background: var(--foam); }
.section-intro { font-size: 1rem; line-height: 1.6; color: #c8d9db; margin-bottom: 1.55rem; max-width: 50rem; }
.motion-grid, .cast-grid { display: grid; gap: clamp(.9rem, 1.6vw, 1.5rem); }
.motion-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.motion-shot {
  min-width: 0;
  background: #101e27;
  border: 1px solid #4c6671;
  box-shadow: 3px 3px 0 #071018;
}
.motion-shot video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #080f14;
}
.motion-shot figcaption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .65rem clamp(.8rem,1.3vw,1.25rem);
  border-top: 1px solid #3e5762;
}
.motion-shot h3, .resident h3 { font: italic 700 clamp(1.45rem,2.3vw,2.1rem)/1.05 var(--display); }
.motion-shot a { padding-block: .5rem; color: #aaebe4; font-weight: 650; font-size: .92rem; }
.motion-shot a:hover { color: #fff; }
.motion-shot small { display: block; color: #b5cbcf; font-size: .85rem; margin-top: .24rem; }
.ats .still-heading { margin: clamp(2.15rem,4vw,3.7rem) 0 1.15rem; }
.ats .scene { border-color: #4c6671; background: #101e27; }
.ats .scene:hover, .ats .scene:focus-visible { border-color: var(--foam); }
.ats .scene-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.ats .still { aspect-ratio: 16 / 9; border-color: #3e5762; }
.ats .still img { object-fit: contain; }
.ats .expand { color: var(--foam); }
.cast-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.resident img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #234454;
  border: 1px solid #63818a;
}
.resident figcaption { padding-top: .82rem; }
.resident h3 { color: #b4ebe1; font-size: clamp(1.65rem,2.6vw,2.4rem); }
.resident p { color: #d7e4e5; margin-top: .3rem; font-size: 1rem; line-height: 1.4; }
.ats footer { border-top: 1px solid #3d535e; }
.ats dialog { background: #101e27; border-color: #82a9ab; }
.ats dialog button { background: #18333e; border-color: #718c91; }
.ats dialog button:hover { background: var(--foam); color: #071018; }
@media (max-width: 65rem) {
  .ats-hero > .wrap { padding-right: .5rem; }
  .ats .command { font-size: 1.12rem; padding-inline: 1rem; }
}
@media (max-width: 52rem) {
  .ats .scene-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ats-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .key-art { min-height: 31rem; }
  .ats .hero-commands { gap: .45rem; }
  .motion-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .motion-shot:first-child { grid-column: 1 / -1; }

  .cast-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.55rem 1rem; }
}
@media (max-width: 42rem) {
  .ats-hero { display: flex; flex-direction: column; }
  .key-art {
    width: 100%;
    height: clamp(12rem, 61vw, 20rem);
    min-height: 0;
    margin: 0;
    clip-path: none;
    border-bottom: 3px solid #82c7bd;
  }
  .key-art img { object-position: 50% 44%; }
  .ats-hero > .wrap { width: calc(100% - 2.3rem); max-width: none; padding: 1.4rem 0 2rem; }
  .ats-intro { max-width: 100%; }
  .ats-hero h1 { margin: .75rem 0 .6rem; }
  .ats-hero h1 img { width: clamp(10.8rem,41vw,14rem); }
  .ats .hero-commands { margin-top: 1.1rem; }
  .motion-grid { grid-template-columns: minmax(0,1fr); }

  .ats .scene-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 24rem) {
  .ats .hero-commands { align-items: flex-start; }
  .cast-grid { gap: 1.35rem .75rem; }
}