:root {
  color-scheme: dark;
  --ink: #f0f1ff;
  --night: #010119;
  --indigo: #02064c;
  --deep-indigo: #010133;
  --ridge-blue: #02065a;
  --muted: #cad0ed;
  --periwinkle: #b8bcff;
  --ice: #9ae7ff;
  --gutter: clamp(20px,5.6vw,92px);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,select,a {
  touch-action: manipulation;
}

a:focus-visible,button:focus-visible,select:focus-visible {
  outline: 3px solid #5cabe6;
  outline-offset: 5px;
}

.shell {
  width: min(100%,1510px);
  margin: auto;
  padding-inline: var(--gutter);
}

.sr,.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip:focus {
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: var(--indigo);
  color: var(--ink);
}

[hidden] {
  display: none!important;
}

.masthead {
  background: var(--night);
  color: var(--ink);
  border-bottom: 1px solid #30345b;
}

.mast-inner,.foot-inner,.brand,nav,.language,.primary,.eyebrow,.plate,.plus-brand,.text-link,.viewer-bar {
  display: flex;
  align-items: center;
}

.mast-inner {
  min-height: 72px;
  gap: 2rem;
}

.brand {
  gap: 10px;
  font-weight: 650;
  font-size: 1.42rem;
  letter-spacing: -.065em;
}

.brand img,.plus-brand img {
  border-radius: 24%;
  box-shadow: inset 0 0 0 1px #ffffff28;
}

.brand sup,.plus h2 sup {
  font-size: .5em;
  vertical-align: super;
  line-height: 0;
  letter-spacing: 0;
}

.mast-inner nav {
  margin-inline: auto;
  gap: clamp(18px,3vw,50px);
}

nav a,.language {
  font-size: .87rem;
}

nav a {
  color: var(--muted);
}

nav a:hover,.text-link:hover {
  color: var(--ice);
}

.language {
  gap: 6px;
  color: var(--muted);
}

.language svg {
  width: 17px;
  height: 17px;
}

.language select {
  background: var(--night);
  color: inherit;
  border: 0;
  width: auto;
  max-width: 9.5rem;
  padding: 5px 0;
  cursor: pointer;
}

.hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: var(--deep-indigo);
  color: white;
}

.hero-art,.field>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-art {
  object-position: 50% 55%;
}

.hero::before,.field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  background: linear-gradient(90deg,rgba(1,1,25,.84),rgba(1,1,51,.64) 24%,rgba(2,6,76,.10) 55%,transparent 75%),linear-gradient(0deg,#09091c75,transparent 16%);
}

.hero-inner {
  position: relative;
  min-height: clamp(530px,43vw,690px);
  display: flex;
  align-items: center;
  padding-block: clamp(70px,7vw,110px) 105px;
}

.hero-copy {
  max-width: min(49%,650px);
}

.eyebrow,.plate {
  font: 600 .71rem/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow {
  gap: 12px;
  margin: 0;
  color: var(--ice);
}

.eyebrow i,.rule,.plate-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: .8;
}

.hero-kicker {
  font-size: .72rem;
}

.hero h1 {
  font-weight: 575;
  font-size: clamp(4.4rem,6.55vw,7.2rem);
  line-height: .96;
  letter-spacing: -.079em;
  margin: 22px 0;
}

.hero h1 span,.hero h1 em {
  display: block;
}

.hero h1 em {
  font: italic 1.04em/.99 Georgia,"Times New Roman",serif;
  letter-spacing: -.065em;
  color: #c6caff;
}

.hero-lede,.field-inner>div>p:last-child,.plus p {
  line-height: 1.58;
  font-size: clamp(1rem,1.28vw,1.19rem);
}

.hero-lede {
  max-width: 37ch;
  color: #eef0ff;
  margin: 0 0 25px;
  text-wrap: pretty;
}

.hero-platforms {
  margin-top: 15px;
  font-size: .86rem;
  line-height: 1.5;
  color: #dce1fc;
  text-shadow: 0 1px 5px #100826;
}

.hero-platforms a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.primary {
  display: inline-flex;
  gap: 22px;
  color: var(--ink);
  border-radius: 30px;
  padding: 14px 19px 14px 22px;
  background: #020666;
  border: 1px solid #838ac7;
  font-weight: 650;
  font-size: .93rem;
  box-shadow: 0 3px 24px #1d0e4136;
}

.primary:hover {
  background: #100e9b;
}

.primary span:last-child {
  font-size: 1.17rem;
  line-height: 1;
}

.plate {
  position: absolute;
  right: var(--gutter);
  bottom: 26px;
  gap: 12px;
  color: white;
  font-size: .65rem;
  text-shadow: 0 1px 6px #070824;
}

.cross {
  font-size: 1.1rem;
  color: var(--ice);
}

.plate-line {
  width: 38px;
}

.atlas {
  background: var(--indigo);
  padding: clamp(55px,6.4vw,102px) 0 clamp(65px,7vw,112px);
}

.dark-kicker {
  color: var(--ice);
}

h2,h3,p {
  margin: 0;
}

.atlas h2,.devices h2,.field h2,.plus h2 {
  font-size: clamp(2.7rem,4.8vw,5.1rem);
  letter-spacing: -.065em;
  line-height: 1.04;
  font-weight: 560;
  text-wrap: balance;
}

.atlas h2 {
  margin: 17px 0 32px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(16px,2.1vw,34px);
}

.card {
  min-width: 0;
  text-align: center;
}

.shot {
  display: block;
  width: min(100%,248px);
  margin-inline: auto;
  border-radius: 16px;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.shot:focus-visible {
  outline-offset: 2px;
}

.gallery-controls {
  display: none;
}

.card h3 {
  font-size: clamp(1.23rem,1.8vw,1.85rem);
  letter-spacing: -.045em;
  line-height: 1.15;
  margin: 20px 0 8px;
  font-weight: 620;
}

.card p,.plus p {
  color: var(--muted);
}

.card p {
  line-height: 1.55;
  font-size: 1rem;
  max-width: 38ch;
  margin-inline: auto;
}

.devices {
  background: var(--deep-indigo);
  padding-block: clamp(55px,6.4vw,102px);
}

.devices h2 {
  margin: 16px 0 32px;
}

.device-pair {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(22px,3vw,48px);
}

.device-pair figure {
  margin: 0;
}

.device-pair img {
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.device-pair h3 {
  margin: 18px 0 8px;
  font-size: clamp(1.3rem,2vw,1.85rem);
  letter-spacing: -.04em;
}

.device-pair p {
  max-width: 51ch;
  color: var(--muted);
  line-height: 1.55;
}

.field {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #0e1525;
  color: white;
}

.field>img {
  object-position: center 60%;
}

.field::before {
  background: linear-gradient(90deg,#070c1ae8,#0c1023ad 36%,#0f162440 64%,#0409160a);
}

.field-inner {
  display: flex;
  align-items: center;
  min-height: clamp(370px,31vw,530px);
  padding-block: 65px;
}

.field-inner>div {
  max-width: 48%;
}

.field h2 {
  margin: 17px 0 18px;
  max-width: 14ch;
}

.field-inner>div>p:last-child {
  max-width: 39ch;
  color: #eeeffc;
  text-wrap: pretty;
}

.plus {
  background: var(--ridge-blue);
}

.plus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: clamp(42px,5.7vw,83px);
}

.plus-brand {
  gap: clamp(12px,1.6vw,28px);
}

.plus h2 {
  font-size: clamp(2.1rem,3.5vw,3.6rem);
}

.plus h2 em {
  color: var(--periwinkle);
  font: italic 1.08em/1 Georgia,serif;
  letter-spacing: -.07em;
}

.plus p {
  max-width: 54ch;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin: 14px 0 0;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.plus .text-link:hover {
  color: var(--ice);
}

footer {
  color: var(--ink);
  background: var(--night);
}

.foot-inner {
  min-height: 100px;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-inner .brand {
  font-size: 1.17rem;
}

.copyright {
  font-size: .77rem;
  color: #b5bbd7;
}

.foot-inner nav {
  margin-inline-start: auto;
  gap: clamp(11px,2vw,30px);
}

.foot-inner nav a {
  font-size: .84rem;
}

dialog {
  position: fixed;
  width: max-content;
  max-width: min(94vw,550px);
  padding: 0 12px 12px;
  border: 1px solid #454c78;
  background: var(--deep-indigo);
  color: white;
  border-radius: 15px;
  max-height: 96dvh;
}

dialog::backdrop {
  background: #01010de8;
}

.viewer-bar {
  justify-content: space-between;
  gap: 20px;
  min-height: 47px;
}

.viewer-bar h2 {
  font-size: .95rem;
}

.viewer-bar button {
  background: none;
  border: 0;
  color: #d6dbff;
  cursor: pointer;
  padding: 8px;
}

.viewer-bar button span:last-child {
  font-size: 1.2em;
}

#view-image {
  max-height: calc(93dvh - 60px);
  width: auto;
  max-width: 85vw;
  margin: auto;
  border-radius: 7px;
}

.dialog-open {
  overflow: hidden;
}

@media(max-width:900px) {
  .mast-inner {
    gap: 16px;
  }
  .mast-inner nav {
    gap: 18px;
  }
  .field-inner>div {
    max-width: 62%;
  }
}

@media(max-width:1024px), (hover:none) and (pointer:coarse) {
  .gallery-stage {
    position: relative;
    --shot-width: min(100%,560px,100svh);
    --shot-height: min(64svh,450px);
  }
  .cards {
    position: relative;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar {
    display: none;
  }
  .card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .shot {
    width: var(--shot-width);
    height: var(--shot-height);
  }
  .shot img {
    height: 100%;
    object-fit: cover;
    object-position: center var(--subject,50%);
  }
  .shot[data-shot="saturn"],.shot[data-shot="iss"] {
    --subject: 24%;
  }
  .shot[data-shot="tonight"] {
    --subject: 45%;
  }
  .shot:focus-visible {
    outline-offset: -3px;
  }
  .card h3 {
    margin-top: 16px;
  }
  .gallery-controls {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    margin-inline: auto;
    width: var(--shot-width);
    height: var(--shot-height);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    pointer-events: none;
    color: white;
  }
  .gallery-dots {
    display: flex;
    position: relative;
  }
  .gallery-dots::before {
    content: "";
    position: absolute;
    inset: 7px 0;
    border-radius: 99px;
    background: rgb(9 11 21 / 76%);
  }
  .gallery-controls button {
    position: relative;
    display: grid;
    place-items: center;
    width: 26px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: transparent;
    color: inherit;
    pointer-events: auto;
    cursor: pointer;
  }
  .gallery-dots button::after {
    content: "";
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border: 1.5px solid currentColor;
    border-radius: 50%;
  }
  .gallery-dots [aria-current="true"]::after {
    background: currentColor;
    transform: scale(1.18);
  }
  .gallery-controls [data-rotate] {
    position: absolute;
    inset-inline-end: 8px;
    width: 44px;
    background: radial-gradient(circle closest-side,rgb(9 11 21 / 76%) 73%,transparent 76%);
  }
  .gallery-controls svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
  }
}

@media (max-width:1024px) and (orientation:portrait), (hover:none) and (pointer:coarse) and (orientation:portrait) {
  .gallery-stage {
    margin-inline: calc(0px - var(--gutter));
    --shot-width: 100%;
    --shot-height: min(100vw,55svh,680px);
  }
  .shot {
    border-radius: 0;
  }
  .card h3,.card p {
    padding-inline: var(--gutter);
    box-sizing: content-box;
  }
}

@media(max-width:1024px) {
  .hero {
    display: grid;
    grid-template-areas: "intro sky";
    grid-template-columns: repeat(2,minmax(0,1fr));
    background: var(--night);
  }
  .hero::before {
    content: none;
  }
  .hero picture {
    grid-area: sky;
    position: relative;
    overflow: hidden;
  }
  .hero picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,var(--night),transparent 15%);
    pointer-events: none;
  }
  .hero-art {
    z-index: auto;
    object-position: center;
  }
  .hero-inner {
    display: contents;
  }
  .hero-copy {
    grid-area: intro;
    max-width: none;
    min-width: 0;
    padding: clamp(36px,6vw,62px) 20px clamp(36px,6vw,62px) var(--gutter);
  }
  .hero h1 {
    font-size: clamp(2.8rem,6.4vw,4.5rem);
    overflow-wrap: anywhere;
  }
  .plate {
    grid-area: sky;
    position: static;
    z-index: 1;
    place-self: start end;
    margin: 14px var(--gutter);
  }
}

@media(max-width:640px) {
  .device-pair {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .devices h2 {
    margin-bottom: 24px;
  }
  .mast-inner {
    min-height: 61px;
    justify-content: space-between;
    gap: 8px;
  }
  .mast-inner nav {
    display: none;
  }
  .brand {
    font-size: 1.24rem;
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .language select {
    font-size: .81rem;
  }
  .hero {
    grid-template-areas: "sky" "intro";
    grid-template-columns: minmax(0,1fr);
  }
  .hero picture::after {
    background: linear-gradient(to top,var(--night),transparent 12%);
  }
  .hero-art {
    position: static;
    height: clamp(230px,78vw,360px);
  }
  .hero-copy {
    padding: 18px var(--gutter) 36px;
  }
  .hero h1 {
    font-size: clamp(3.8rem,13vw,5.4rem);
    margin: 16px 0 14px;
  }
  .hero-lede {
    max-width: 33ch;
    font-size: .99rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .hero .primary {
    padding: 12px 16px;
    gap: 13px;
  }
  .plate {
    font-size: .59rem;
  }
  .plus-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .atlas h2 {
    margin: 16px 0 24px;
  }
  .atlas {
    padding-block: 46px 50px;
  }
  .field-inner {
    padding-block: 50px;
    min-height: 385px;
    align-items: flex-end;
  }
  .field-inner>div {
    max-width: 100%;
  }
  .field::before {
    background: linear-gradient(0deg,#090a1ee8 7%,#0b102599 54%,#0c14212b);
  }
  .field-inner>div>p:last-child {
    max-width: 38ch;
  }
  .field h2 {
    margin-block: 12px;
  }
  .plus-inner {
    gap: 22px;
  }
  .plus-brand img {
    width: 47px;
    height: 47px;
  }
  .foot-inner {
    gap: 12px;
    padding-block: 25px;
  }
  .foot-inner .brand img {
    width: 25px;
    height: 25px;
  }
  .copyright {
    margin-inline-start: auto;
  }
  .foot-inner nav {
    width: 100%;
    margin: 4px 0 0;
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media(min-width:641px) and (max-width:760px) {
  .mast-inner nav {
    gap: 12px;
  }
  .mast-inner nav a {
    font-size: .78rem;
  }
}

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

.photo-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 12px;
  color: #e1e3f3;
  text-shadow: 0 1px 4px #000;
  font: 500 .64rem/1.2 ui-monospace,monospace;
}
