@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("/fonts/sofia-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("/fonts/sofia-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sofia Sans Condensed";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("/fonts/sofia-sans-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans Condensed";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("/fonts/sofia-sans-condensed-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #E6E7E3;
  --plate: #F7F7F5;
  --ink: #121416;
  --regolith: #5E615D;
  --graticule: #C4C7C1;
  --crater: #EDEEEB;
  --meridian: #D9381E;

  --display: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --text: "Sofia Sans", system-ui, sans-serif;

  --spine: clamp(24px, 6.5vw, 104px);
  --gap: clamp(36px, 5vw, 76px);
  --content-x: calc(var(--spine) + var(--gap));
  --edge: clamp(20px, 4vw, 48px);
  --footer-top: clamp(96px, 12vw, 168px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101214;
    --plate: #181B1E;
    --ink: #E7E8E4;
    --regolith: #A3A6A0;
    --graticule: #33383C;
    --crater: #202427;
    --meridian: #E5472B;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-padding-top: 24px;
  scrollbar-color: var(--regolith) var(--ground);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font: 400 18px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--meridian);
}

::selection { background: var(--ink); color: var(--ground); }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--meridian);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 2px solid var(--meridian);
  outline-offset: 4px;
  border-radius: 1px;
}

.skip {
  position: absolute;
  left: var(--content-x);
  top: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--plate);
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

/* Header: the F of the lockup stands on the spine. */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px var(--edge) 0 calc(var(--spine) - 2px);
}

.lockup {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  line-height: 1;
}
.lockup__name {
  display: flex;
  align-items: flex-start;
  font-weight: 650;
  font-size: 30px;
  letter-spacing: -0.015em;
}
.lockup__ring {
  width: 0.29em;
  height: 0.29em;
  margin: 0.04em 0 0 0.07em;
  fill: none;
  stroke: var(--meridian);
  stroke-width: 4.5;
}
.lockup__studio {
  margin-top: 4px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 24px;
  padding-top: 6px;
  font-size: 15px;
}
.site-nav a {
  text-decoration-color: transparent;
  padding: 4px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { text-decoration-color: var(--meridian); }

/* The 180° meridian: one segment per block, so it runs unbroken down the page. */
.stage::before,
.page-title::before,
.sheet::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: calc(var(--spine) - 1px);
  top: 0;
  width: 2px;
  background: var(--meridian);
}
.stage::before,
.page-title::before,
.sheet::before { bottom: 0; }

/* Stage: hero and sections in the text column, the chart sheet beside them on wide screens. */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 var(--edge) 0 var(--content-x);
}
.stage::before { animation: spine-draw 1s cubic-bezier(0.65, 0, 0.35, 1) 0.05s both; }

.hero {
  position: relative;
  padding: clamp(84px, 14vh, 160px) 0 clamp(40px, 7vh, 96px);
}

.hero h1 {
  margin: 0;
  max-width: 11em;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(46px, 6.8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Equator: a hairline from the spine to the right edge, with the studio's point at 0°, 180°. */
.equator {
  position: relative;
  height: 1px;
  width: calc(100vw - var(--spine) - var(--edge));
  margin: clamp(30px, 4vw, 52px) 0 clamp(30px, 4vw, 52px) calc(-1 * var(--gap));
}
.equator::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--graticule);
  transform-origin: left;
  animation: sweep 900ms cubic-bezier(0.65, 0, 0.35, 1) 300ms both;
}
.origin {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}
.coord {
  position: absolute;
  right: calc(100% + 16px);
  top: -0.75em;
  white-space: nowrap;
  font-size: 14px;
  color: var(--regolith);
  font-variant-numeric: tabular-nums;
}

.lead {
  max-width: 30em;
  margin: 0;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.45;
  text-wrap: pretty;
}
.action {
  margin: 26px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.2;
}

.feature {
  padding-top: clamp(84px, 11vw, 150px);
}
.feature h2 {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.feature h2::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--gap) - 6px);
  top: 0.32em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}
.place {
  margin: 10px 0 26px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  color: var(--regolith);
  font-variant-numeric: tabular-nums;
}
.place b { font-weight: 600; color: var(--ink); }
.feature p:not(.place) {
  max-width: 34em;
  margin: 0 0 1em;
  text-wrap: pretty;
}
.feature p:last-child { margin-bottom: 0; }
.fact { color: var(--regolith); }
.faq h3 {
  margin: 1.6em 0 0.35em;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(21px, 1.8vw, 25px);
  line-height: 1.15;
}
.faq .place + h3 { margin-top: 0; }

.mail {
  display: inline-block;
  margin: 0 0 0.35em;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* The chart: an orthographic sheet of the far side from 180° to 120°W, centred on 0°, 180°. */
.chart-figure {
  margin: clamp(56px, 8vw, 96px) 0 0;
}
.chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart__sheet { fill: var(--plate); stroke: none; }
.chart__frame { fill: none; stroke: var(--ink); stroke-width: 1; }
.chart__grid { fill: none; stroke: var(--graticule); stroke-width: 0.8; }
.chart__meridian { stroke: var(--meridian); stroke-width: 1.5; }
.chart__origin { fill: var(--ink); }
.chart__tick {
  font-family: var(--text);
  font-size: 12.5px;
  fill: var(--regolith);
  paint-order: stroke;
  stroke: var(--plate);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.chart a { text-decoration: none; }
.chart .rim {
  fill: var(--crater);
  stroke: var(--ink);
  stroke-width: 0.9;
  transition: stroke-width 240ms ease-out;
}
.chart .label, .chart__ticks { transform-box: fill-box; }
.chart .label {
  font-family: var(--display);
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--plate);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.chart .name { font-size: 16px; font-weight: 650; }
.chart .role { font-size: 13.5px; font-weight: 500; fill: var(--regolith); }
.chart a:hover .rim,
.chart a:focus-visible .rim,
.chart[data-active="korolev"] [data-f="korolev"] .rim,
.chart[data-active="hertzsprung"] [data-f="hertzsprung"] .rim,
.chart[data-active="apollo"] [data-f="apollo"] .rim,
.chart[data-active="daedalus"] [data-f="daedalus"] .rim { stroke-width: 2.1; }
.chart a:focus-visible { outline: none; }
.chart a:focus-visible .name { text-decoration: underline; }
.chart .label, .chart__frame, .chart__tick { vector-effect: non-scaling-stroke; }

.chart-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--regolith);
}

/* Footer: the meridian ends in the logo's degree ring. */
.site-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  padding: var(--footer-top) var(--edge) 44px var(--content-x);
  font-size: 15px;
  color: var(--regolith);
}
.site-footer::before { height: calc(var(--footer-top) + 1px); }
.site-footer .ring {
  position: absolute;
  left: calc(var(--spine) - 8px);
  top: calc(var(--footer-top) + 1px);
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
  overflow: visible;
}
.site-footer .ring circle { fill: none; stroke: var(--meridian); stroke-width: 3; }

/* Text pages (privacy, 404) */
.page-title {
  position: relative;
  padding: clamp(72px, 11vh, 130px) var(--edge) 0 var(--content-x);
}
.page-title h1 {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-title h1::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--gap) - 7px);
  top: 0.36em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}
.page-title p {
  max-width: 34em;
  margin: 0.8em 0 0;
  font-size: clamp(19px, 1.6vw, 22px);
}
.sheet {
  position: relative;
  padding: clamp(56px, 7vw, 96px) var(--edge) 0 var(--content-x);
}
.sheet h2 {
  position: relative;
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}
.sheet h2::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--gap) - 6px);
  top: 0.3em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}
.sheet p { max-width: 34em; margin: 0 0 1em; }
.sheet p:last-child { margin-bottom: 0; }
.note { color: var(--regolith); }

@keyframes sweep { from { transform: scaleX(0); } }

@media (min-width: 1100px) {
  .stage {
    grid-template-columns: minmax(0, 36em) minmax(0, 1fr);
    column-gap: clamp(48px, 5vw, 96px);
  }
  .chart-figure {
    grid-column: 2;
    grid-row: 1 / span 7;
    align-self: start;
    position: sticky;
    top: 32px;
    max-width: 600px;
    margin-top: var(--chart-shift, clamp(120px, 20vh, 220px));
  }
}

@media (max-width: 1099px) {
  .coord { display: none; }
  .chart-figure { margin-left: calc(-1 * var(--gap) + 12px); }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .site-nav { gap: 2px 16px; font-size: 14px; }
  .lockup__name { font-size: 26px; }
  .lockup__studio { font-size: 14px; }
  .place { font-size: 17px; }
  .chart__tick { font-size: 15px; }
  .chart .name { font-size: 19px; }
  .chart .role { font-size: 16px; }
}

/* Motion. One curve family, one material: lines draw, text comes into focus, the chart camera glides.
   Nothing is hidden unless atlas.js is running (.js, .armed); reduced motion gets the static page.
   Transitions run only on the way in (.is-in), so hiding is instant. The hero settles in about 1.5s. */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-draw: cubic-bezier(0.65, 0, 0.35, 1);
}

a { transition: text-decoration-thickness 200ms var(--ease-out), text-underline-offset 200ms var(--ease-out), text-decoration-color 200ms var(--ease-out); }
a:hover { text-decoration-thickness: 2.5px; text-underline-offset: 0.3em; }

@keyframes spine-draw {
  0% { clip-path: inset(0 0 100% 0); }
  99% { clip-path: inset(0 0 calc(100% - 100vh) 0); }
  100% { clip-path: inset(0 0 0 0); }
}
@keyframes focus-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.22em); filter: blur(6px); } }
@keyframes settle { from { transform: scale(0); } }
@keyframes fade { from { opacity: 0; } }

/* Hero: the headline leads; lead and email follow without blur; the equator sweeps; the origin settles. */
.js .hero h1:not(.split) { animation: fade 500ms var(--ease-out) 1.2s both; }
.hero h1.split .word {
  display: inline-block;
  animation: word-in 680ms var(--ease-out) calc(60ms + var(--i) * 45ms) both;
}
.js .hero .lead { animation: focus-in 600ms var(--ease-out) 460ms both; }
.js .hero .action { animation: focus-in 600ms var(--ease-out) 560ms both; }
.js .origin { animation: settle 500ms var(--ease-out) 900ms both; }
.js .coord { animation: fade 500ms var(--ease-out) 1s both; }
.js .page-title h1 { animation: focus-in 700ms var(--ease-out) 80ms both; }
.js .page-title p { animation: focus-in 700ms var(--ease-out) 200ms both; }

/* Until atlas.js arms them, these wait hidden; a failsafe shows them after 1.5s if the script never runs. */
.js .feature:not(.armed),
.js .sheet:not(.armed),
.js .chart-figure:not(.armed) { animation: fade 500ms var(--ease-out) 1.5s both; }

/* Sections surface once as they come into view; their point settles onto the meridian. */
.feature.armed.is-in,
.sheet.armed.is-in { transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.feature.armed:not(.is-in),
.sheet.armed:not(.is-in) { opacity: 0; transform: translateY(24px); }
.feature.armed.is-in h2::before,
.sheet.armed.is-in h2::before { transition: transform 600ms var(--ease-out) 200ms; }
.feature.armed:not(.is-in) h2::before,
.sheet.armed:not(.is-in) h2::before { transform: scale(0); }

/* Chart: the sheet appears, the meridian draws, the graticule is inked top to bottom and left to right,
   then craters close and labels arrive. */
.chart-figure.armed.is-in { transition: opacity 500ms var(--ease-out) 300ms; }
.chart-figure.armed:not(.is-in) { opacity: 0; }
.chart-figure.armed .chart__grid > *,
.chart-figure.armed .chart__meridian,
.chart-figure.armed .rim { stroke-dasharray: 1; }
.chart-figure.armed.is-in .chart__meridian { transition: stroke-dashoffset 800ms var(--ease-draw) 350ms; }
.chart-figure.armed.is-in .chart__grid > * { transition: stroke-dashoffset 900ms var(--ease-draw) calc(450ms + var(--g, 0) * 40ms); }
.chart__grid > :nth-child(2) { --g: 1; }
.chart__grid > :nth-child(3) { --g: 2; }
.chart__grid > :nth-child(4) { --g: 3; }
.chart__grid > :nth-child(5) { --g: 4; }
.chart__grid > :nth-child(6) { --g: 5; }
.chart__grid > :nth-child(7) { --g: 1; }
.chart__grid > :nth-child(8) { --g: 2; }
.chart__grid > :nth-child(9) { --g: 3; }
.chart__grid > :nth-child(10) { --g: 4; }
.chart__grid > :nth-child(11) { --g: 5; }
.chart__grid > :nth-child(12) { --g: 6; }
.chart__grid > :nth-child(13) { --g: 7; }
.chart__grid > :nth-child(14) { --g: 8; }
.chart-figure.armed.is-in .rim {
  transition: stroke-dashoffset 650ms var(--ease-draw) var(--d, 850ms), fill-opacity 400ms var(--ease-out) calc(var(--d, 850ms) + 350ms), stroke-width 240ms var(--ease-out);
}
.chart-figure [data-f="daedalus"] { --d: 800ms; }
.chart-figure [data-f="korolev"] { --d: 850ms; }
.chart-figure [data-f="hertzsprung"] { --d: 900ms; }
.chart-figure [data-f="apollo"] { --d: 950ms; }
.chart-figure.armed.is-in .label { transition: opacity 400ms var(--ease-out) calc(var(--d, 850ms) + 300ms); }
.chart-figure.armed.is-in .chart__ticks,
.chart-figure.armed.is-in .chart__origin { transition: opacity 400ms var(--ease-out) 900ms; }
.chart-figure.armed:not(.is-in) .chart__grid > *,
.chart-figure.armed:not(.is-in) .chart__meridian,
.chart-figure.armed:not(.is-in) .rim { stroke-dashoffset: 1; }
.chart-figure.armed:not(.is-in) .rim { fill-opacity: 0; }
.chart-figure.armed:not(.is-in) .label,
.chart-figure.armed:not(.is-in) .chart__ticks,
.chart-figure.armed:not(.is-in) .chart__origin { opacity: 0; }

/* Camera framing: while zoomed on a crater, the other labels and the frame ticks step back. */
.chart-figure.armed.is-in.drawn .label,
.chart-figure.armed.is-in.drawn .chart__ticks { transition: opacity 300ms var(--ease-out); }
.chart[data-active="korolev"] a:not([data-f="korolev"]) .label,
.chart[data-active="hertzsprung"] a:not([data-f="hertzsprung"]) .label,
.chart[data-active="apollo"] a:not([data-f="apollo"]) .label,
.chart[data-active="daedalus"] a:not([data-f="daedalus"]) .label,
.chart[data-active="korolev"] .chart__ticks,
.chart[data-active="hertzsprung"] .chart__ticks,
.chart[data-active="apollo"] .chart__ticks,
.chart[data-active="daedalus"] .chart__ticks { opacity: 0; }

/* Footer: the meridian arrives and closes in the degree ring. */
.site-footer.armed::before { transform-origin: top; }
.site-footer.armed.is-in::before { transition: transform 700ms var(--ease-draw); }
.site-footer.armed:not(.is-in)::before { transform: scaleY(0); }
.site-footer.armed .ring circle { stroke-dasharray: 1; }
.site-footer.armed.is-in .ring circle { transition: stroke-dashoffset 700ms var(--ease-out) 600ms; }
.site-footer.armed:not(.is-in) .ring circle { stroke-dashoffset: 1; }
.site-footer.armed.is-in > :not(.ring) { transition: opacity 500ms var(--ease-out) 350ms; }
.site-footer.armed:not(.is-in) > :not(.ring) { opacity: 0; }

/* Sections focused by in-page links get tabindex=-1; they need no ring. */
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }

/* Between pages: a symmetric cross-dissolve (no brightness dip); the lockup and nav hold still. */
@view-transition { navigation: auto; }
.vt-hold .lockup { view-transition-name: lockup; }
.vt-hold .site-nav { view-transition-name: nav; }
::view-transition-old(root) { animation: 320ms var(--ease-draw) both vt-out; }
::view-transition-new(root) { animation: 320ms var(--ease-draw) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* Returns (back/forward, later pages in the same visit) show the finished page. */
.settled *, .settled *::before, .settled *::after { animation: none !important; }
.settled .chart-figure:not(.framed) .chart__world { visibility: hidden; }
/* Keep the chart out of sight until it sits at its aligned position (no load-time jump). */
.js .chart-figure:not(.aligned) { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  @view-transition { navigation: none; }
}
