/* KELP — deep ocean palette, Space Grotesk + Inter, image-led carousel, no decorative gradients */

:root {
  --bg: #040A14;
  --bg-1: #08111E;
  --bg-2: #10202E;
  --bg-elev: rgba(255, 255, 255, 0.04);
  --bg-elev-2: rgba(255, 255, 255, 0.08);

  --text: #EEF4FA;
  --text-2: #AAB7C7;
  --text-3: #6F7D90;
  --text-4: #475363;

  --accent: #4DA3D9;
  --accent-2: #6FBAE8;
  --accent-3: #8FCEF0;
  --accent-soft: rgba(77, 163, 217, 0.14);
  --accent-line: rgba(77, 163, 217, 0.35);

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --max: 1200px;
  --max-narrow: 780px;
  --gutter: 28px;
  --radius: 4px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--accent-2); }

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.022em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(40px, 5.8vw, 76px);
  font-weight: 300;
  letter-spacing: -0.03em;
}
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 400; line-height: 1.2; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.1vw, 28px); font-weight: 500; line-height: 1.25; }
h4 { font-size: 17px; font-weight: 500; }

p { color: var(--text-2); margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.012em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--max-narrow); }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}

/* ---------- Animations ---------- */

@keyframes kenburns {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.2) translate3d(-2.5%, -1.5%, 0); }
}

@keyframes caret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes pingPoint {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }

/* ---------- NAV ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}

.site-nav.is-scrolled {
  background: rgba(4, 10, 20, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color .2s ease;
}
.site-nav__brand:hover { color: var(--accent); }

.site-nav__logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  /* logo PNG is dark navy on transparent — make it white, tint blue on hover */
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: filter .2s ease, opacity .2s ease;
}
.site-nav__brand:hover .site-nav__logo {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(58%) sepia(56%) saturate(470%) hue-rotate(165deg) brightness(92%) contrast(88%);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav__links a {
  font-size: 14.5px;
  color: var(--text-2);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.site-nav__links a:hover { color: var(--text); }
.site-nav__links a.is-active { color: var(--text); }
.site-nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--accent);
}

.site-nav__email {
  color: var(--accent) !important;
  font-size: 14.5px;
}
.site-nav__email:hover { color: var(--accent-2) !important; }

.site-nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg) !important;
}
.btn--primary:hover {
  background: var(--accent-2);
  color: var(--bg) !important;
}

.btn--ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--text) !important;
}

.btn .arrow { font-size: 15px; transition: transform .22s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- HERO (carousel) ---------- */

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050E1D;
}

/* Carousel slides — all animate continuously, only opacity changes.
   Each slide stages a different --delay so they're at different points in
   the kenburns cycle when they become active. Eliminates the blip on transitions. */
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.2s ease-in-out;
  background-color: #050E1D;
  animation: kenburnsSlow 40s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
}

@keyframes kenburnsSlow {
  0% { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2%, -1%, 0); }
}

.hero__caption {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 3;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  background: rgba(4, 10, 20, 0.55);
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero__caption.is-active { opacity: 1; }

.hero__caption::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pingPoint 2s ease-in-out infinite;
}

/* solid overlay for text legibility (not a gradient) */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(4, 10, 20, 0.55);
}

.hero__inner {
  position: relative;
  z-index: 4;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 28px;
}

.hero h1 .static {
  display: block;
}

.hero h1 .typewriter-wrap {
  display: block;
  color: var(--accent);
  font-weight: 300;
  margin-top: 6px;
  min-height: 1.15em;
}

.hero h1 .typewriter {
  position: relative;
}

.hero h1 .typewriter::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 6px;
  animation: caret 1s steps(1) infinite;
}

.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  max-width: 660px;
  color: var(--text-2);
  margin-bottom: 44px;
  font-weight: 400;
}

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

/* Page header hero (Work, About) — uses carousel too, smaller */
.hero--short {
  min-height: 64vh;
  padding: 140px 0 70px;
}

/* ---------- SECTIONS ---------- */

section { position: relative; }
.section { padding: 120px 0; }
.section--tight { padding: 76px 0; }
.section--xl { padding: 160px 0; }

.section-divider {
  height: 1px;
  background: var(--line);
  max-width: var(--max);
  margin: 0 auto;
}

.section-header { max-width: 760px; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 18px; }

/* ---------- CLIENTS ---------- */

.clients {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clients__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.clients__label {
  font-size: 13px;
  color: var(--text-3);
}

.clients__list {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}

.clients__list span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: var(--text-2);
  opacity: 0.8;
  transition: opacity .2s ease;
}
.clients__list span:hover { opacity: 1; color: var(--text); }

/* ---------- WHAT WE DO (single block, no categories) ---------- */

.what-we-do {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.what-we-do__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.what-we-do__media-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0a1a2c;
  animation: kenburns 28s ease-in-out infinite alternate;
}

.what-we-do__body p { font-size: 17px; line-height: 1.7; }
.what-we-do__body .lead { margin-bottom: 24px; }

.what-we-do__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.what-we-do__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.what-we-do__list li:last-child { border-bottom: 0; }

.what-we-do__list li strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
}

.what-we-do__list li span {
  font-size: 13px;
  color: var(--text-3);
  font-family: 'Space Grotesk', sans-serif;
}

/* ---------- APPROACHES (How we work, image-reveal on hover) ---------- */

.approaches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.approach {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color .35s ease, transform .35s ease;
  isolation: isolate;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.06);
  transition: opacity .7s ease, transform 1s ease;
  z-index: 0;
}

.approach::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 20, 0.62);
  z-index: 1;
}

.approach > * { position: relative; z-index: 2; }

.approach:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
}

.approach:hover::before {
  opacity: 0.55;
  transform: scale(1);
}

.approach__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 10px;
}

.approach h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text);
}

.approach p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

/* ---------- HOW WE WORK — full-bleed network, asymmetric cards ---------- */

.how-stage {
  position: relative;
  margin-top: 56px;
  min-height: 760px;
}

/* network sits on the page background, capped so pills never clip off-screen */
.network-stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100vw, 1600px);
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden;
}

.network-canvas { position: absolute; inset: 0; }

.net-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(10, 19, 34, 0.66);
  border: 1px solid var(--line);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--text-3);
  white-space: nowrap;
  pointer-events: none;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}

.net-pill.is-hot {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(77, 163, 217, 0.16);
}

/* cards float over the network, asymmetrically placed */
.how-cards {
  position: relative;
  z-index: 2;
  min-height: 760px;
  pointer-events: none;
}

.how-cards .approach {
  position: absolute;
  width: min(330px, 84%);
  min-height: 0;
  background: rgba(8, 15, 28, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.how-cards .approach::before,
.how-cards .approach::after { display: none; }

.how-cards .approach--1 { top: 0;    left: 0; }
.how-cards .approach--2 { top: 388px; left: 32px; }
.how-cards .approach--3 { top: 56px;  right: 0; }
.how-cards .approach--4 { top: 452px; right: 36px; }

/* ---------- FOUNDER REAL PHOTO + WORKSHOP GALLERY ---------- */

.founder-photo--real { padding: 0; overflow: hidden; }
.founder-photo--real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.workshop-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 28px;
}

.workshop-img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0a1a2c;
  border: 1px solid var(--line);
}

.workshop-caption {
  font-size: 13px;
  color: var(--text-3);
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
}

/* ---------- PRINCIPLES — orbital reveal ---------- */

.orbit { margin-top: 32px; }

.orbit__scene {
  position: relative;
  width: 100%;
  max-width: 1060px;
  height: 640px;
  margin: 0 auto;
}

.orbit__ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(77, 163, 217, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.orbit__earth {
  position: absolute;
  top: 50%; left: 50%;
  width: 208px; height: 208px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #04101f url('../img/earth.jpg') center / cover no-repeat;
  box-shadow:
    0 0 64px rgba(77, 163, 217, 0.30),
    inset -14px -12px 36px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* atmospheric rim */
.orbit__earth::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(120, 185, 235, 0.45);
  pointer-events: none;
}

.orbit__sat {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  filter: drop-shadow(0 0 7px rgba(111, 186, 232, 0.9));
  will-change: transform;
}

/* observation swath — light projected from each satellite toward Earth */
.orbit__beam {
  position: absolute;
  top: 0; left: 0;
  transform-origin: 0 50%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(111, 186, 232, 0.03) 0%, rgba(111, 186, 232, 0.12) 55%, rgba(143, 206, 240, 0.30) 100%);
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 54%);
  filter: blur(1px);
  opacity: 0;
  z-index: 0;
  will-change: transform, width, height, opacity;
}

.orbit__card {
  position: absolute;
  top: 0; left: 0;
  width: 296px;
  z-index: 3;
  background: rgba(8, 15, 28, 0.82);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px 26px;
  opacity: 0;
  filter: blur(12px);
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 1s ease, filter 1s ease, transform 1s ease;
}

.orbit__card.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) scale(1);
}

.orbit__card .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 10px;
}

.orbit__card h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
}

.orbit__card p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0;
}

/* ---------- WORK ROWS (image-led, replaces cards) ---------- */

.work-rows { display: flex; flex-direction: column; gap: 88px; }

.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.work-row:nth-child(even) { direction: rtl; }
.work-row:nth-child(even) > * { direction: ltr; }

.work-row__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.work-row__media-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0a1a2c;
  animation: kenburns 28s ease-in-out infinite alternate;
}

.work-row__body .label {
  display: block;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.work-row__body h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.work-row__body p {
  color: var(--text-2);
  font-size: 16px;
  margin-bottom: 22px;
  line-height: 1.65;
}

.work-row__body a.work-row__link {
  font-size: 14px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.work-row__body a.work-row__link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- BESPOKE SOFTWARE block ---------- */

.software-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.software-block__body .eyebrow { margin-bottom: 18px; }
.software-block__body h2 { margin-bottom: 22px; font-size: clamp(26px, 2.6vw, 36px); }
.software-block__body p { font-size: 16.5px; line-height: 1.7; }

.software-block__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.software-block__media-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
}

/* ---------- FOUNDER STRIP (about) ---------- */

.founder-strip {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--text-3);
}

.founder-strip__body p { font-size: 16.5px; margin-bottom: 14px; }
.founder-strip__body .lead { margin-bottom: 22px; }

.founder-strip__body .name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 400;
}

.founder-strip__body .role {
  font-size: 13.5px;
  color: var(--text-3);
  margin-bottom: 22px;
  font-family: 'Space Grotesk', sans-serif;
}

/* ---------- WORK PAGE: CASE STUDY ---------- */

.case-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.case-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #0a1a2c;
  animation: kenburns 28s ease-in-out infinite alternate;
}

.case-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 20, 0.45);
}

.case-hero__caption {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
  z-index: 2;
}

.case-hero__caption .tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.case-narrative {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.case-narrative__meta {
  position: sticky;
  top: 120px;
  font-size: 14px;
}

.case-narrative__meta-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.case-narrative__meta-row:last-child { border-bottom: 0; }

.case-narrative__meta-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}
.case-narrative__meta-value {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.case-narrative__body h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 500;
}
.case-narrative__body h3:first-child { margin-top: 0; }

.case-narrative__body p { font-size: 16.5px; margin-bottom: 18px; line-height: 1.7; }

.case-narrative__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-narrative__metrics > div { text-align: center; }

.case-narrative__metrics .num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.case-narrative__metrics .lbl { font-size: 13px; color: var(--text-3); }

.case-quote {
  margin: 36px 0;
  padding: 26px 30px;
  background: var(--bg-elev);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.case-quote p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 300;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.5;
}

.case-quote cite { font-style: normal; font-size: 13px; color: var(--text-3); }

/* ---------- IN-PROGRESS ---------- */

.in-progress {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.in-progress__text { flex: 1; min-width: 240px; }

.in-progress__text strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.in-progress__text span { font-size: 14.5px; color: var(--text-2); }

.in-progress__label {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ---------- RESEARCH LIST (academic CV-style) ---------- */

.research-list { list-style: none; padding: 0; margin: 0; }

.research-list > li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}

.research-list > li:first-child { border-top: 1px solid var(--line); }

.research-list > li:hover { background: var(--bg-elev); }

.research-list__row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 40px;
  align-items: baseline;
  padding: 0 8px;
}

.research-list__meta {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  font-family: 'Space Grotesk', sans-serif;
}

.research-list__meta .year { display: block; color: var(--accent); font-size: 14px; margin-bottom: 2px; }
.research-list__meta .kind { display: block; }

.research-list__main h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text);
}

.research-list__main .venue {
  font-size: 13.5px;
  color: var(--text-3);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 10px;
  display: block;
}

.research-list__main p {
  font-size: 14.5px;
  color: var(--text-2);
  margin: 0;
  max-width: 640px;
}

.research-list__link {
  font-size: 13.5px;
  color: var(--text);
  align-self: center;
  white-space: nowrap;
}
.research-list > li:hover .research-list__link { color: var(--accent); }

/* ---------- FIGURE PLACEHOLDER (case study map etc.) ---------- */

.figure-placeholder {
  margin: 44px 0;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  border: 1px dashed var(--line-strong);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.figure-placeholder__inner {
  max-width: 380px;
}

.figure-placeholder__inner strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.figure-placeholder__inner span {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
}

.figure-caption {
  text-align: center;
  margin-top: -28px;
  margin-bottom: 36px;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
}

/* ---------- DOWNLOAD / EXTERNAL LINK PILL ---------- */

.case-resource {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 100px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--text) !important;
  font-size: 14px;
  margin-top: 8px;
  transition: all .2s ease;
}

.case-resource:hover {
  border-color: var(--accent);
  background: var(--bg-elev-2);
  color: var(--accent) !important;
}

.case-resource__icon {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ---------- ABOUT page ---------- */

.about-positioning p { font-size: 17px; line-height: 1.75; }
.about-positioning h3 { font-size: 22px; font-weight: 500; margin-top: 48px; margin-bottom: 14px; }

.depth-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.depth-list li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  font-family: 'Space Grotesk', sans-serif;
}

/* ---------- CTA ---------- */

.cta-banner {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

.cta-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.cta-banner h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

.cta-contact h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 400;
}

.cta-contact a {
  display: block;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.cta-contact a:hover { color: var(--accent); }

/* ---------- FOOTER ---------- */

.site-footer {
  background: #020610;
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-footer__tag { font-size: 14.5px; color: var(--text-3); max-width: 360px; line-height: 1.65; margin: 0; }

.site-footer h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: var(--text-2); font-size: 14px; }
.site-footer a:hover { color: var(--accent); }

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-4);
}

.site-footer__bottom a { color: var(--text-3); font-size: 13px; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1000px) {
  .section { padding: 80px 0; }
  .section--xl { padding: 100px 0; }

  .site-nav__links { display: none; }
  .site-nav__toggle { display: block; }

  .site-nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(4, 10, 20, 0.96);
    backdrop-filter: blur(16px);
    padding: 16px 0;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__links.is-open a { padding: 14px var(--gutter); width: 100%; }

  .hero { min-height: 80vh; padding: 130px 0 70px; }
  .hero--short { min-height: 50vh; padding: 130px 0 60px; }

  .what-we-do { grid-template-columns: 1fr; gap: 40px; }
  .software-block { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
  .work-row, .work-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .work-rows { gap: 64px; }
  .research-list__row { grid-template-columns: 1fr; gap: 12px; }
  .research-list__link { margin-top: 4px; }
  .approaches { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .approach { min-height: 220px; padding: 28px 24px; }
  .workshop-gallery { grid-template-columns: 1fr; gap: 12px; }

  /* mobile: drop the interactive network, show the cards only */
  .how-stage { margin-top: 36px; min-height: 0; }
  .network-stage { display: none; }
  .how-cards { min-height: 0; display: flex; flex-direction: column; gap: 16px; pointer-events: auto; }
  .how-cards .approach { position: relative; width: 100%; top: auto; left: auto; right: auto; background: var(--bg-elev); -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* mobile: drop the orbit animation, show the principle cards only */
  .orbit__scene { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .orbit__ring, .orbit__earth, .orbit__sat, .orbit__beam { display: none; }
  .orbit__card,
  .orbit__card.is-revealed {
    position: relative;
    left: auto !important; top: auto !important;
    width: 100%;
    transform: none !important;
    opacity: 1;
    filter: none;
    background: var(--bg-elev);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .case-narrative { grid-template-columns: 1fr; gap: 40px; }
  .case-narrative__meta { position: relative; top: 0; }
  .case-narrative__metrics { grid-template-columns: 1fr; gap: 20px; }

  .cta-banner__inner { grid-template-columns: 1fr; gap: 36px; }
  .founder-strip { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { max-width: 220px; margin: 0 auto; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .clients__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .clients__list { gap: 28px; }
  .hero__caption { right: 16px; bottom: 16px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
