/* ==========================================================================
   Space Explorers Studios — site styles
   ========================================================================== */

/* self-hosted fonts (Archivo, Manrope, IBM Plex Mono: all SIL Open Font License), latin and latin-ext subsets */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: block; src: url("assets/fonts/archivo-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: block; src: url("assets/fonts/archivo-800-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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: block; src: url("assets/fonts/ibm-plex-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: block; src: url("assets/fonts/ibm-plex-mono-400-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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: block; src: url("assets/fonts/ibm-plex-mono-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: block; src: url("assets/fonts/ibm-plex-mono-500-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: "Manrope"; font-style: normal; font-weight: 400; font-display: block; src: url("assets/fonts/manrope-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: block; src: url("assets/fonts/manrope-400-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: "Manrope"; font-style: normal; font-weight: 500; font-display: block; src: url("assets/fonts/manrope-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: block; src: url("assets/fonts/manrope-500-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: "Manrope"; font-style: normal; font-weight: 600; font-display: block; src: url("assets/fonts/manrope-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: block; src: url("assets/fonts/manrope-600-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; }

:root {
  --ses-bg: #06080d;
  --ses-bg-2: #0b0f17;
  --ses-bg-3: #131a26;
  --ses-ink: #f4f2ed;
  --ses-ink-2: rgba(244, 242, 237, 0.64);
  --ses-ink-3: rgba(244, 242, 237, 0.52); /* 4.9:1 on the page ground, the accessibility floor for small text */
  --ses-line: rgba(244, 242, 237, 0.10);
  --ses-line-2: rgba(244, 242, 237, 0.18);
  --ses-accent: #2651ae;
  --ses-accent-2: #4c7fe6;
  --ses-accent-ink: #ffffff;
  --ses-glow: rgba(38, 81, 174, 0.42);
  --ses-glow-soft: rgba(38, 81, 174, 0.14);
  --ses-mark-fill: #06080d;
  --ses-mark-ink: #f4f2ed;
  --font-display: "Archivo";
  --display-weight: 800;
  --display-tracking: -0.03em;
  --display-transform: none;
  --display-lh: 0.98;
  --display-scale: 1;
  --display-em-style: normal;
}

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

html {
  color-scheme: dark; /* declares the page dark so browser "auto dark mode" features leave it alone */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ses-bg);
  color: var(--ses-ink);
  font-family: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ses-accent-2); outline-offset: 4px; border-radius: 4px; }

.display {
  font-family: var(--font-display), "Manrope", sans-serif;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  line-height: var(--display-lh);
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wrap {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

@media (max-width: 720px) {
  .wrap { width: min(1240px, 100% - 32px); }
}

/* film grain, fixed and non-interactive */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--ses-line-2);
  background: rgba(255, 255, 255, 0.03);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ses-ink-2);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ses-accent);
  box-shadow: 0 0 12px var(--ses-accent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1),
              background-color 500ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 500ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.btn .ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.btn .ico svg { width: 14px; height: 14px; }
.btn:hover .ico { transform: translate(2px, -2px) scale(1.06); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ses-accent);
  color: var(--ses-accent-ink);
  box-shadow: 0 10px 40px -10px var(--ses-glow);
}
.btn-primary .ico { background: rgba(0, 0, 0, 0.18); }
.btn-primary:hover { background: var(--ses-accent-2); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ses-line-2);
  color: var(--ses-ink);
  backdrop-filter: blur(6px);
}
.btn-ghost .ico { background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- nav pill ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.62);
  border: 1px solid var(--ses-line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
  max-width: calc(100% - 32px);
}





.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 6px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ses-ink-2);
  transition: color 400ms cubic-bezier(0.32, 0.72, 0, 1),
              background-color 400ms cubic-bezier(0.32, 0.72, 0, 1);
}
.nav-links a:hover { color: var(--ses-ink); background: rgba(255, 255, 255, 0.06); }

.nav .btn { padding: 6px 6px 6px 16px; font-size: 14.5px; margin-left: 6px; }
.nav .btn .ico { width: 28px; height: 28px; }

.burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ses-line-2);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ses-ink);
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1), opacity 300ms;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
}

/* fullscreen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(5, 5, 7, 0.86);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-open .menu { opacity: 1; pointer-events: auto; }

.menu a {
  display: block;
  font-family: var(--font-display), sans-serif;
  font-weight: var(--display-weight);
  font-size: clamp(34px, 9vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-open .menu a { opacity: 1; transform: translateY(0); }
.menu a:nth-child(1) { transition-delay: 80ms; }
.menu a:nth-child(2) { transition-delay: 140ms; }
.menu a:nth-child(3) { transition-delay: 200ms; }
.menu a:nth-child(4) { transition-delay: 260ms; }
.menu a:nth-child(5) { transition-delay: 320ms; }
.menu a:nth-child(6) { transition-delay: 380ms; }
.menu a:hover { color: var(--ses-accent-2); }

.menu .menu-foot {
  margin-top: 40px;
  color: var(--ses-ink-3);
}

/* ---------- hero ---------- */

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 28px;
  color: var(--ses-ink-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--ses-ink-3), transparent);
  animation: cue 2.2s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(20px); opacity: 0; }
}

/* ---------- stats strip ---------- */
.stats {
  padding: 24px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ses-line);
  border-bottom: 1px solid var(--ses-line);
}

.stat {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--ses-line);
}
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }

.stat b {
  display: block;
  font-family: var(--font-display), sans-serif;
  font-weight: var(--display-weight);
  font-size: clamp(32px, 3.4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat b small { font-size: 0.55em; color: var(--ses-accent-2); margin-left: 2px; }
.stat span { color: var(--ses-ink-2); font-size: 15.5px; }

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 20px 24px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; border-top: 1px solid var(--ses-line); }
  .stat:nth-child(4) { border-top: 1px solid var(--ses-line); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 22px 0; border-right: 0; border-top: 1px solid var(--ses-line); }
  .stat:first-child { border-top: 0; }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head h2 {
  font-size: clamp(38px, 5.4vw, 76px);
  margin: 22px 0 0;
  text-wrap: balance;
}

.section-head h2 em { font-style: normal; color: var(--ses-accent-2); }

.section-head p {
  color: var(--ses-ink-2);
  font-size: clamp(17px, 1.4vw, 19px);
  margin: 0;
  max-width: 44ch;
}

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- double-bezel card ---------- */
.shell {
  padding: 6px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--ses-line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.core {
  position: relative;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--ses-bg-3), var(--ses-bg-2));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

/* ---------- products bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}

.b-iris  { grid-column: span 6; }
.b-iris2 { grid-column: span 6; }
.b-se    { grid-column: span 12; }

.card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ses-accent-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.card .tag.dim { color: var(--ses-ink-3); }

.card h3 {
  font-family: var(--font-display), sans-serif;
  font-weight: var(--display-weight);
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.card h3 sup { font-size: 0.5em; vertical-align: top; color: var(--ses-accent-2); }

.card p {
  color: var(--ses-ink-2);
  margin: 0;
  max-width: 46ch;
  font-size: 16.5px;
}

.card .grow { flex: 1; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.chips span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--ses-line-2);
  background: rgba(255, 255, 255, 0.03);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ses-ink-2);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ses-ink);
}
.card-link .ico {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1), background-color 500ms;
}
.card-link .ico svg { width: 12px; height: 12px; }
.card-link:hover .ico { transform: translate(2px,-2px); background: var(--ses-accent); color: var(--ses-accent-ink); }

/* IRIS card: product photo */
.b-iris .core { display: flex; flex-direction: column; }
.b-iris .card, .b-iris2 .card { padding-bottom: 34px; }
.card-photo {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e0f14;
}
.card-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  filter: saturate(0.35) contrast(1.06) brightness(0.95);
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.card-photo:hover img { transform: scale(1.06); filter: saturate(0.6) contrast(1.06); }
.card-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,15,0.15) 0%, transparent 30%, transparent 65%, var(--ses-bg-2) 100%),
              radial-gradient(70% 60% at 50% 40%, transparent 55%, rgba(11,11,15,0.55) 100%);
}
.card-photo .photo-tag {
  position: absolute; left: 18px; bottom: 14px; z-index: 2; color: var(--ses-ink-2); font-size: 11px;
}
.b-iris .card { padding-top: 22px; min-height: 0; flex: 1 1 auto; }
.card-photo { flex: 0 0 auto; }
.card-note { color: var(--ses-ink); font-weight: 600; margin-top: 10px !important; }
.card-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.card-list li { position: relative; padding-left: 18px; color: var(--ses-ink-2); font-size: 15.5px; line-height: 1.45; max-width: 60ch; }
.card-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ses-accent); }
.card-list li:last-child { color: var(--ses-ink); font-weight: 600; }



/* Space Explorers card (wide) */
.b-se .core {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.b-se .card { padding: 40px; }
.se-media { position: relative; min-height: 320px; }
.se-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.se-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ses-bg-2) 0%, transparent 35%);
}
.se-media .credit {
  position: absolute; right: 16px; bottom: 12px; z-index: 2;
  color: var(--ses-ink-3); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}

.se-logo { width: min(100%, 420px); height: auto; margin: 6px 0 14px; opacity: 0.95; }
.b-se .card h3 { font-size: clamp(22px, 2.2vw, 30px); color: var(--ses-ink-2); }
.se-formats {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px;
  color: var(--ses-ink-2); font-size: 15px;
}
.se-formats li { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.se-formats li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ses-accent); }
.se-formats { padding: 0; margin-bottom: 0; }

@media (max-width: 1000px) {
  .b-iris  { grid-column: span 12; }
  .b-iris2 { grid-column: span 12; }
}
@media (max-width: 720px) {
  .bento { grid-auto-rows: auto; }
  .b-iris, .b-iris2, .b-se { grid-column: span 12; }
  .b-se .core { grid-template-columns: 1fr; }
  .se-media { min-height: 240px; order: -1; }
  .se-media::after { background: linear-gradient(0deg, var(--ses-bg-2) 0%, transparent 40%); }
  .card { padding: 26px; }
}

/* ---------- mission ---------- */
.mission { background: var(--ses-bg); }

.mission .statement {
  font-size: clamp(30px, 4.6vw, 64px);
  max-width: 20ch;
  margin: 24px 0 0;
  text-wrap: balance;
}
.mission .statement { color: var(--ses-ink-3); }
.mission .statement em { font-style: normal; color: var(--ses-ink); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(56px, 7vw, 96px);
}

.pillar .core { padding: 30px; }
.pillar .num {
  font-family: var(--font-display), sans-serif; font-weight: var(--display-weight); font-size: 13px;
  color: var(--ses-accent-2); letter-spacing: 0.1em; margin-bottom: 40px; display: block;
}
.pillar h3 {
  font-family: var(--font-display), sans-serif; font-weight: var(--display-weight); font-size: 26px; letter-spacing: -0.02em; margin: 0 0 10px; line-height: 1.05;
}
.pillar p { color: var(--ses-ink-2); margin: 0; font-size: 16px; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar .num { margin-bottom: 20px; }
}

.pull {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.pull blockquote {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-weight: var(--display-weight);
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
.pull blockquote em { font-style: normal; color: var(--ses-accent-2); }
.pull p { color: var(--ses-ink-2); margin: 0; max-width: 48ch; }
@media (max-width: 860px) { .pull { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- technology ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
}

.pipe .core { padding: 34px; }

.pipe-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 26px;
}

.pipe-hub {
  border-radius: 18px;
  border: 1px solid var(--ses-line-2);
  background: radial-gradient(120% 100% at 50% 0%, var(--ses-glow-soft), transparent 70%), rgba(255,255,255,0.02);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: center;
}
.pipe-hub b { font-family: var(--font-display), sans-serif; font-weight: var(--display-weight); font-size: 22px; letter-spacing: -0.02em; line-height: 1.05; display: block; margin-bottom: 8px; }
.pipe-hub span { color: var(--ses-ink-2); font-size: 14.5px; }

.pipe-arrow {
  display: flex; align-items: center; color: var(--ses-ink-3);
}
.pipe-arrow svg { width: 40px; height: 40px; }

.pipe-outs { display: grid; gap: 8px; }
.pipe-outs div {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--ses-line);
  font-size: 14.5px;
  color: var(--ses-ink-2);
  transition: border-color 500ms cubic-bezier(0.32,0.72,0,1), color 500ms;
}
.pipe-outs div:hover { border-color: var(--ses-accent); color: var(--ses-ink); }
.pipe-outs div::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ses-accent); flex: none; }

@media (max-width: 720px) {
  .pipe-flow { grid-template-columns: 1fr; }
  .pipe-arrow { justify-content: center; }
  .pipe-arrow svg { transform: rotate(90deg); }
}

.caps { display: grid; gap: 18px; }
.cap .core { padding: 26px 28px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.cap .glyph {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--ses-line-2); background: rgba(255,255,255,0.03);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ses-accent-2);
}
.cap .glyph svg { width: 20px; height: 20px; }
.cap h4 { font-family: var(--font-display), sans-serif; font-weight: var(--display-weight); font-size: 18px; letter-spacing: -0.01em; margin: 4px 0 6px; }
.cap p { margin: 0; color: var(--ses-ink-2); font-size: 15.5px; }

@media (max-width: 960px) { .tech-grid { grid-template-columns: 1fr; } }

/* ---------- heritage ---------- */
.heritage { background: var(--ses-bg); overflow: hidden; }

.heritage-shell { position: relative; }
.heritage .core { min-height: 560px; display: grid; align-items: end; }
.heritage .core img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
}
.heritage .core::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,15,0.1) 20%, rgba(11,11,15,0.92) 100%);
}
.heritage-copy {
  position: relative; z-index: 2; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end;
}
.heritage-copy h2 { font-size: clamp(36px, 5vw, 72px); margin: 18px 0 0; }
.heritage-copy p { color: var(--ses-ink-2); margin: 0; max-width: 46ch; }
.heritage-copy .credit { color: var(--ses-ink-3); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 18px; display: block; }
@media (max-width: 860px) {
  .heritage-copy { grid-template-columns: 1fr; }
  .heritage .core { min-height: 520px; }
}

/* ---------- partners ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ses-line);
  border-bottom: 1px solid var(--ses-line);
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  padding: 24px 22px;
  border-right: 1px solid var(--ses-line);
  opacity: 0.62;
  transition: opacity 500ms cubic-bezier(0.32,0.72,0,1), background-color 500ms;
}
.partner:last-child { border-right: 0; }
.partner:hover { opacity: 1; background: rgba(255,255,255,0.03); }
.partner img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.partner[title="Canadian Space Agency"] img { max-height: 52px; }
.partner[title="NASA"] img { max-height: 54px; filter: grayscale(1) brightness(1.55) contrast(1.1); }
.partner[title="Mission Control"] img { filter: grayscale(1) brightness(1.35); }
.partner[title="Meta"] img { max-height: 30px; }
.partner[title="Hubblo"] img { max-height: 26px; }
.partner-name {
  font-family: var(--font-display), sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ses-ink);
  text-transform: uppercase;
}
.partner-name.wordmark-only { font-size: 17px; }
/* Infinity Experiences: bar + heavy caps, rebuilt from their mark */
.iex-logo { display: inline-flex; align-items: stretch; gap: 12px; color: var(--ses-ink); }
.iex-logo i { display: block; width: 9px; background: currentColor; border-radius: 1px; }
.iex-logo b {
  font-family: "Archivo", var(--font-display), sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  align-self: center;
}
@media (max-width: 1000px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .partner:nth-child(3) { border-right: 0; }
  .partner:nth-child(n+4) { border-top: 1px solid var(--ses-line); }
}
@media (max-width: 560px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 104px; border-right: 1px solid var(--ses-line); }
  .partner:nth-child(3) { border-right: 1px solid var(--ses-line); }
  .partner:nth-child(even) { border-right: 0; }
  .partner:nth-child(n+3) { border-top: 1px solid var(--ses-line); }
}
.partners-note { color: var(--ses-ink-3); font-size: 14px; margin-top: 18px; }

/* ---------- contact ---------- */
.contact .core {
  padding: clamp(40px, 7vw, 96px);
  text-align: center;
  background: radial-gradient(60% 80% at 50% 120%, var(--ses-glow), transparent 70%), linear-gradient(180deg, var(--ses-bg-3), var(--ses-bg-2));
}
.contact h2 { font-size: clamp(38px, 6vw, 84px); margin: 20px auto 22px; max-width: 14ch; text-wrap: balance; }
.contact p { color: var(--ses-ink-2); max-width: 48ch; margin: 0 auto 34px; }
.contact .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--ses-line);
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start;
}
.foot-grid .wordmark { font-family: var(--font-display), sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.foot-grid .wordmark span { display: block; font-family: "IBM Plex Mono", monospace; font-weight: 400; font-size: 10px; letter-spacing: 0.32em; color: var(--ses-ink-3); margin-top: 4px; }
.foot-grid p { color: var(--ses-ink-3); font-size: 14.5px; max-width: 34ch; }
.foot-grid h3 { margin: 0 0 14px; font-size: 12.5px; }
.foot-grid a { display: block; color: var(--ses-ink-2); font-size: 15px; padding: 4px 0; transition: color 400ms; }
.foot-grid a:hover { color: var(--ses-ink); }
.foot-credits { margin: 40px 0 0; color: var(--ses-ink-3); font-size: 12.5px; max-width: 78ch; line-height: 1.55; }
.foot-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ses-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--ses-ink-3);
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(8px);
  transition: opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 1000ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: 120ms; }
.reveal[data-delay="2"] { transition-delay: 240ms; }
.reveal[data-delay="3"] { transition-delay: 360ms; }
.reveal[data-delay="4"] { transition-delay: 480ms; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tall-media picture, .scroll-cue i { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition-duration: 1ms !important; }
}

/* ---------- team page ---------- */
.page-hero { padding: 170px 0 20px; }
.page-hero h1 { font-size: clamp(30px, 5.4vw, 80px); margin: 22px 0 26px; }
.page-hero h1 em { font-style: normal; color: var(--ses-ink-3); }
.page-hero .lede { color: var(--ses-ink-2); max-width: 64ch; margin: 0; font-size: clamp(17px, 1.4vw, 19px); }
.people.alt { background: var(--ses-bg); }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1px solid var(--ses-line); }
.person { padding: 34px 0 38px; border-bottom: 1px solid var(--ses-line); }
.person h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 8px; }
.person .role { display: block; color: var(--ses-accent-2); margin-bottom: 14px; font-size: 11.5px; }
.person p { margin: 0; color: var(--ses-ink-2); font-size: 15.5px; max-width: 40ch; }
@media (max-width: 960px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .people-grid { grid-template-columns: 1fr; } .person { padding: 26px 0 28px; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--ses-line); }
.facts div { display: grid; gap: 6px; }
.facts .mono { color: var(--ses-ink-3); }
.facts b { font-weight: 600; font-size: 15.5px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.more { margin-top: clamp(40px, 5vw, 64px); }

/* hero logo: the finalized artwork; the leftmost letter of EXPLORERS lines up with the headline */
.hero-logo { --lw: min(336px, 67vw); display: block; width: var(--lw); margin: 0 0 4px calc(var(--lw) * -0.095); text-decoration: none; }
.hero-logo-img { display: block; width: 100%; height: auto; }

/* ---------- flight heritage ---------- */
.heritage-sec { background: var(--ses-bg); }
#products { background: var(--ses-bg); }
.mission { background: var(--ses-bg); }
.cam-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 18px; }
.cam-row figure, .astro-row figure { margin: 0; min-width: 0; }
.cam-row .core, .astro-row .core { min-width: 0; width: 100%; overflow: hidden; }
.cam-row { grid-auto-rows: clamp(240px, 26vw, 380px); }
.cam-row figure.shell { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.cam-row .core { aspect-ratio: auto; height: 100%; min-height: 0; }
.cam-row .core, .astro-row .core { background: #000; }
.astro-row .core { aspect-ratio: 3 / 2; }
.cam-row .core img, .astro-row .core img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-row figure:nth-child(2) .core img { object-position: 50% 30%; }
.cam-row figcaption, .astro-row figcaption { margin: 12px 4px 0; color: var(--ses-ink-3); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.cam-row figcaption b, .astro-row figcaption b { color: var(--ses-ink-2); font-weight: 500; }
.cam-row figcaption { padding: 12px 12px 8px; margin: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ses-line); }
.fact { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--ses-line); }
.fact b { display: block; font-family: var(--font-display), sans-serif; font-weight: var(--display-weight); font-size: clamp(24px, 2.2vw, 31px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 10px; color: var(--ses-ink); }
.fact span i { font-style: italic; color: var(--ses-ink); }
.fact b small { font-size: 0.5em; color: var(--ses-accent-2); margin-left: 4px; }
.fact span { color: var(--ses-ink-2); font-size: 15px; display: block; max-width: 34ch; }
@media (max-width: 960px) { .cam-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cam-row figure:nth-child(2) { display: none; } .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cam-row { grid-template-columns: minmax(0, 1fr); } .facts-grid { grid-template-columns: 1fr; } .fact { padding-right: 0; } }

/* ---------- IRIS 3D card: photo by default, toggle to a drag-to-rotate model ---------- */
.iris3d { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.iris3d.mode-3d.is-3d { cursor: grab; }
.iris3d.mode-3d.is-3d.dragging { cursor: grabbing; }
.iris3d .iris3d-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; filter: saturate(0.35) contrast(1.06) brightness(0.95); transition: opacity 600ms cubic-bezier(0.22,1,0.36,1); }
.iris3d .iris3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 600ms cubic-bezier(0.22,1,0.36,1); }
.iris3d .iris3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 600ms cubic-bezier(0.22,1,0.36,1); }
.iris3d.mode-3d .iris3d-photo { opacity: 0; }
.iris3d.mode-3d .iris3d-poster { opacity: 1; }
.iris3d.mode-3d.is-3d .iris3d-poster { opacity: 0; }
.iris3d.mode-3d.is-3d .iris3d-canvas { opacity: 1; }
.iris3d::after { z-index: 1; pointer-events: none; }
.iris3d .photo-tag { z-index: 2; }
.iris3d-hint { position: absolute; right: 18px; bottom: 14px; z-index: 2; color: var(--ses-ink-3); font-size: 11px; opacity: 0; transition: opacity 600ms; }
.iris3d.mode-3d.is-3d .iris3d-hint { opacity: 1; }
.iris3d.dragging .iris3d-hint, .iris3d.used .iris3d-hint { opacity: 0; }
.iris3d-toggle {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ses-line-2);
  background: rgba(8, 8, 12, 0.55); color: var(--ses-ink); font: 600 12.5px "Manrope", sans-serif; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color 400ms cubic-bezier(0.32,0.72,0,1), border-color 400ms;
}
.iris3d-toggle:hover { background: rgba(255,255,255,0.1); border-color: var(--ses-ink-2); }

/* ---------- product video ---------- */
.card-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

/* ---------- Space Explorers section ---------- */
.franchise { background: var(--ses-bg); }
.franchise .section-head { align-items: center; }
.franchise .se-logo { width: min(100%, 520px); margin: 0; justify-self: end; }
@media (max-width: 860px) { .franchise .se-logo { justify-self: start; width: min(100%, 360px); } }
.franchise-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.franchise-body p { margin: 0; color: var(--ses-ink-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 60ch; }
.franchise-body .se-formats { margin: 6px 0 0; display: grid; gap: 10px; }
@media (max-width: 860px) { .franchise-body { grid-template-columns: 1fr; gap: 20px; } }
/* rotating 360 panorama band */
.pano { margin: 0; }
.pano-frame { position: relative; aspect-ratio: 2.35 / 1; border-radius: 22px; overflow: hidden; background: #000; box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 40px 80px -40px rgba(0,0,0,0.9); }
.pano-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1800ms cubic-bezier(0.22, 1, 0.36, 1), transform 30s linear; }
.pano-frame img.on { opacity: 1; transform: scale(1); }
.pano-dots { display: flex; justify-content: center; gap: 10px; margin: 16px 0 0; flex-wrap: wrap; }
.pano-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--ses-ink-3); cursor: pointer; transition: background 300ms, transform 300ms; }
.pano-dots button:hover { background: var(--ses-ink-2); transform: scale(1.3); }
.pano-dots button.on { background: var(--ses-accent-2); transform: scale(1.3); }
.pano-dots button:focus-visible { outline: 2px solid var(--ses-accent-2); outline-offset: 3px; }
.pano-cap { display: flex; justify-content: space-between; margin: 12px 4px 0; color: var(--ses-ink-3); }
.pano-cap .mono { font-size: 11px; }
@media (max-width: 720px) { .pano-frame { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .pano-frame img { transition: opacity 400ms; transform: none; } }
.mission .statement-h { color: var(--ses-ink); font-size: clamp(38px, 5.4vw, 76px); max-width: 26ch; margin: 22px 0 0; text-wrap: balance; }
.mission .statement-h em { font-style: normal; color: var(--ses-accent-2); }

/* ---------- tall opening panel: hero and statement over one photo ---------- */
.tall { position: relative; isolation: isolate; overflow: hidden; background: var(--ses-bg); }
.tall-media { position: absolute; inset: 0; z-index: -1; }
.tall-media picture {
  /* sized and placed by main.js so the cupola centre sits on the headline at any viewport;
     the drift scales about that same point, and the bottom fades out inside the panel */
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block;
  transform-origin: 70% 33%;
  animation: tallDrift 40s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 76%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.tall-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; will-change: transform; }
@keyframes tallDrift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(-0.6%, -0.5%, 0); }
}
.tall-veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6,8,13,0.55) 0%, rgba(6,8,13,0.25) 34%, rgba(6,8,13,0) 60%),
  linear-gradient(180deg, rgba(6,8,13,0.35) 0%, rgba(6,8,13,0) 18%, rgba(6,8,13,0) 78%, var(--ses-bg) 100%); }
.tall-top { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 16vh; box-sizing: border-box; }
.tall-top h1 { font-size: calc(clamp(36px, 4.6vw, 66px) * var(--display-scale)); margin: 34px 0 16px; }
.tall-top h1 em { font-style: var(--display-em-style); color: var(--ses-accent-2); }
.tall-top .lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--ses-ink); max-width: 46ch; margin: 0 0 30px; line-height: 1.45; }
.tall-top .lede em { font-style: normal; color: var(--ses-ink); }
.tall-bottom { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 10vh 0 6vh; box-sizing: border-box; }
.tall-bottom h2 { font-size: clamp(34px, 4.6vw, 66px); max-width: 17ch; margin: 0 0 26px; text-wrap: balance; }
.tall-bottom h2 em { font-style: normal; color: var(--ses-accent-2); }
.tall-bottom p { color: var(--ses-ink-2); max-width: 56ch; margin: 0; font-size: clamp(16px, 1.3vw, 18px); }
@media (max-width: 899px) { .tall-top { justify-content: flex-start; padding-top: 88px; padding-bottom: 6vh; } .hero-logo { --lw: min(320px, 58vw); margin-bottom: 0; } .tall-top h1 { margin-top: 22px; margin-bottom: 12px; } .tall-top .lede { margin-bottom: 22px; } .tall-media picture { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 62%, transparent 100%); } .tall-veil { background: linear-gradient(180deg, rgba(6,8,13,0.55) 0%, rgba(6,8,13,0.25) 30%, rgba(6,8,13,0.55) 70%, var(--ses-bg) 100%); } }
@media (prefers-reduced-motion: reduce) { .tall-media picture { animation: none; } }


/* multi-line body text is justified; leads, credits, and notes stay ragged */
main p, footer p, .tall-bottom p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.tall-top p.lede, p.foot-credits, p.partners-note { text-align: initial; hyphens: manual; }

/* ---------- Moon interlude: black sky first, then the surface rises into view ---------- */
.moon { position: relative; z-index: 0; padding: 0; min-height: 0; aspect-ratio: 2400 / 790; overflow: hidden; isolation: isolate; background: #000;
  margin-top: clamp(-170px, -9.5vw, -80px); }   /* tucks the top of the image just behind the mission cards */
.mission { position: relative; z-index: 1; background: transparent; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.mission .more .btn { background: rgba(6, 8, 13, 0.72); }
.moon-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.moon-media picture { position: absolute; left: 0; right: 0; top: 0; height: 106%; display: block; will-change: transform; }
.moon-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.moon::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  linear-gradient(180deg, var(--ses-bg) 0%, rgba(6,8,13,0) 18%, rgba(6,8,13,0) 84%, var(--ses-bg) 100%); }

.moon { aspect-ratio: 2164 / 727; }
.moon-media picture { display: block; }
.moon-media img { object-position: 50% 50%; }
/* phones: same full-width framing as desktop (whole image visible), and a lighter tuck under the cards */
@media (max-width: 720px) { .moon { margin-top: -18px; } .moon-media picture { top: 0; height: 100%; } .moon-media img { object-position: 50% 50%; } }

/* ---------- IRIS turntable: real photographs of the flight unit, one per 3.9 degrees, drag to rotate ---------- */
.card-photo.iris-turn { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: radial-gradient(70% 80% at 50% 62%, #1b1f2a 0%, #0e0f14 70%); }
.card-photo.iris-turn.dragging { cursor: grabbing; }
.card-photo.iris-turn img { object-fit: contain; object-position: 50% 54%; transform: none; padding: 4% 6% 6%; box-sizing: border-box;
  filter: saturate(0.85) contrast(1.06) brightness(1.12); transition: none;
  -webkit-user-drag: none; pointer-events: none; }
.card-photo.iris-turn:hover img { transform: none; filter: saturate(0.9) contrast(1.06) brightness(1.14); }
.card-photo.iris-turn::after { background: linear-gradient(180deg, rgba(11,11,15,0.06) 0%, transparent 25%, transparent 78%, var(--ses-bg-2) 100%),
  radial-gradient(60% 40% at 50% 92%, rgba(38,81,174,0.18), transparent 70%); }
.iris-turn-hint { position: absolute; right: 18px; bottom: 14px; z-index: 2; color: var(--ses-ink-3); font-size: 11px; transition: opacity 600ms; }
.iris-turn.used .iris-turn-hint { opacity: 0; }
.iris-turn-progress { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; z-index: 2; background: rgba(255,255,255,0.08); }
.iris-turn-progress i { display: block; height: 100%; width: 0; background: var(--ses-accent-2); transition: width 200ms; }
.iris-turn.loaded .iris-turn-progress { opacity: 0; transition: opacity 600ms; }


/* footer: place line and social buttons (URLs are placeholders until the accounts exist) */
.foot-place { display: block; color: var(--ses-ink-2); font-size: 15px; padding: 4px 0; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid var(--ses-line-2); background: rgba(255,255,255,0.04); color: var(--ses-ink-2); transition: color 300ms, border-color 300ms, background 300ms; }
.social-btn svg { width: 17px; height: 17px; fill: currentColor; }
.social-btn:hover { color: var(--ses-ink); border-color: var(--ses-ink-2); background: rgba(255,255,255,0.08); }


/* Footer description: three sentences in a narrow column read better ragged than justified */
.foot-grid p { text-align: left; }

/* ---------- team page: the header and the people grid sit over one photo (Canadarm2 with the EVA camera over Earth),
   same panel, drift and scroll parallax as the home hero; the photo fades out just above "Work with us" ---------- */
.tall-team .tall-media picture {
  transform-origin: 50% 20%;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.tall-team .tall-media img { object-position: 50% 40%; }
/* phones: the photo is shown zoomed out (wider than the screen, not stretched to the panel's full height) so the camera and the filmmaker both fit */
@media (max-width: 899px) { .tall-team .tall-media picture { width: 160vw; left: -30vw; top: 30px; height: auto; aspect-ratio: 2 / 3; } }
.tall-team .tall-veil { background:
  linear-gradient(90deg, rgba(6,8,13,0.62) 0%, rgba(6,8,13,0.4) 40%, rgba(6,8,13,0.08) 72%, rgba(6,8,13,0) 100%),
  linear-gradient(180deg, rgba(6,8,13,0.5) 0%, rgba(6,8,13,0.45) 14%, rgba(6,8,13,0.62) 36%, rgba(6,8,13,0.74) 70%, var(--ses-bg) 100%); }
@media (max-width: 899px) { .tall-team .tall-veil { background:
  linear-gradient(180deg, rgba(6,8,13,0.6) 0%, rgba(6,8,13,0.68) 20%, rgba(6,8,13,0.78) 45%, rgba(6,8,13,0.8) 75%, var(--ses-bg) 100%); } }
.tall-team .page-hero { padding-top: 190px; }
.tall-team .people { padding-bottom: clamp(80px, 9vw, 130px); }
.tall-team .page-hero .lede, .tall-team .section-head p, .tall-team .person p { color: rgba(244,242,237,0.8); }
.tall-team .people-grid, .tall-team .person { border-color: rgba(244,242,237,0.16); }

/* ---------- menu logo: a way back to the top of the site from any page ---------- */
.nav-brand { display: flex; align-items: center; flex: 0 0 auto; height: 34px; padding: 0 6px 0 10px; text-decoration: none; }
/* fixed box (307 × 96 source, 3.2:1): the global img max-width and the flex shrink of the pill must never resize it */
.nav-brand img { display: block; flex: 0 0 auto; width: 96px; height: 30px; max-width: none; }
@media (max-width: 900px) { .nav-brand { padding-left: 8px; } .nav-brand img { width: 83px; height: 26px; } }
/* if a menu logo image ever fails to load, the name takes its place instead of a broken-image glyph */
.nav-brand-text { display: none; font-family: var(--font-display, inherit); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ses-ink); white-space: nowrap; }
.nav-brand-text em { font-style: normal; color: var(--ses-accent-2); }
.nav-brand.img-failed img { display: none !important; }
.nav-brand.img-failed .nav-brand-text { display: inline; }

/* ---------- language switch ---------- */
.nav .lang { padding: 8px 10px; border-radius: 999px; font-family: var(--font-mono, "IBM Plex Mono", monospace); font-size: 12px; letter-spacing: 0.12em; color: var(--ses-ink-2); text-decoration: none; transition: color 400ms cubic-bezier(0.32, 0.72, 0, 1), background-color 400ms cubic-bezier(0.32, 0.72, 0, 1); }
.nav .lang:hover { color: var(--ses-ink); background: rgba(255, 255, 255, 0.06); }
@media (max-width: 900px) { .nav .lang { padding: 8px 6px; } }

/* ---------- IRIS-2 card, rebuilt on the IRIS card's layout: a shadow of the camera above, tag / title / bullets below ---------- */
.b-iris2 .core { background: linear-gradient(180deg, var(--ses-bg-3), var(--ses-bg-2)); display: flex; flex-direction: column; }
.b-iris2 .card { padding: 22px 34px 34px; min-height: 0; flex: 1 1 auto; }
@media (max-width: 720px) { .b-iris2 .card { padding: 22px 26px 26px; } }
.card-photo.iris-shadow { background: radial-gradient(60% 70% at 50% 58%, #2a3044 0%, #171a23 45%, #0e0f14 80%); }
.card-photo.iris-shadow img { object-fit: contain; object-position: 50% 54%; transform: none; padding: 4% 6% 6%; box-sizing: border-box; filter: none; opacity: 1; transition: none; }
.card-photo.iris-shadow:hover img { transform: none; filter: none; }
.card-photo.iris-shadow::after { background: linear-gradient(180deg, rgba(11,11,15,0.06) 0%, transparent 25%, transparent 78%, var(--ses-bg-2) 100%),
  radial-gradient(60% 40% at 50% 92%, rgba(38,81,174,0.14), transparent 70%); }

/* ---------- skip link for keyboard users ---------- */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--ses-accent); color: #fff; font-weight: 600; text-decoration: none; transition: top 200ms; }
.skip:focus { top: 16px; }
/* ---------- 404 page ---------- */
.notfound { min-height: 100dvh; display: flex; align-items: center; }
.notfound h1 { font-size: clamp(40px, 7vw, 96px); margin: 0 0 18px; }
.notfound h1 em { font-style: normal; color: var(--ses-accent-2); }
.notfound p { color: var(--ses-ink-2); max-width: 52ch; margin: 0 0 28px; }

/* ---------- inline text links ---------- */
.text-link { color: inherit; text-decoration: underline; text-decoration-color: var(--ses-accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 300ms; }
.text-link:hover { color: var(--ses-accent-2); }

.foot-legal { margin-top: 6px; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- legal page (privacy policy) ---------- */
.legal { padding: 150px 0 clamp(64px, 8vw, 112px); }
.legal .wrap { max-width: 72ch; }
.legal h1 { font-size: clamp(34px, 5vw, 60px); margin: 0 0 8px; }
.legal .legal-date { color: var(--ses-ink-3); margin: 0 0 32px; }
.legal h2 { font-size: 18px; margin: 34px 0 10px; }
.legal p { color: var(--ses-ink-2); text-align: left; hyphens: manual; max-width: none; margin: 0 0 12px; line-height: 1.6; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom .foot-link { color: var(--ses-ink-3); text-decoration: none; }
.foot-bottom .foot-link:hover { color: var(--ses-ink); }
