/* Bellegarde · temporary landing page
   Charter v2.6: Poppins, Not Black #1d1d1f, Late Green accent.
   Desktop first, breakpoints at 900px (tablet) and 600px (smartphone). */

/* ============ Fonts (latin subsets) ============ */
@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(../fonts/poppins-light.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-regular.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-medium.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-semibold.woff2) format("woff2"); }

/* ============ Tokens ============ */
:root {
  --ink: #1d1d1f;
  --ink-72: #4a4a4d;
  --ink-64: #5a5a5e;
  --ink-54: #757578;
  --ink-32: #a8a8ab;
  --hairline: #e2e2e4;
  --silver: #f1f1f1;
  --green: #6fcf97;
  --green-50: #b7e7cb;
  --green-20: #e2f5ea;

  --radius: 20px;
  --shadow: 0 1px 2px rgb(29 29 31 / .06), 0 2px 8px rgb(29 29 31 / .06); /* charter "raise" */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --nav-height: 80px;
  --section-space: 128px;
  --gutter: 80px; /* minimum side margin (50px tablet, 24px smartphone) */
  --bleed: max(var(--gutter), (100vw - 1200px) / 2); /* space between the grid and the screen edge */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  overflow-x: clip; /* the rails bleed to the screen edge */
  font: 400 16px/1.6 Poppins, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.section { padding-block: var(--section-space); }

/* ============ Type ============ */
.eyebrow {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-64);
}

.title {
  font-size: clamp(34px, 4vw, 56px); /* scales with the window, 56px from 1400px wide */
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.lead {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-64);
}

h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.005em;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease);
}
.btn:hover { background: var(--ink-72); border-color: var(--ink-72); }

.btn--outline { background: none; color: var(--ink); }
.btn--outline:hover { background: var(--silver); border-color: var(--ink); }

.btn--small { padding: 9px 20px; font-size: 14px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Nav ============ */
/* Two themes driven by custom properties: light (default) and dark over the hero.
   Registered so they can be animated. */
@property --nav-bg       { syntax: "<color>";  inherits: true; initial-value: rgb(255 255 255 / .86); }
@property --nav-text     { syntax: "<color>";  inherits: true; initial-value: #4a4a4d; }
@property --nav-strong   { syntax: "<color>";  inherits: true; initial-value: #1d1d1f; }
@property --nav-contrast { syntax: "<color>";  inherits: true; initial-value: #fff; }
@property --nav-line     { syntax: "<color>";  inherits: true; initial-value: #e2e2e4; }
@property --nav-invert   { syntax: "<number>"; inherits: true; initial-value: 0; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* The blur sits on a pseudo-element: backdrop-filter on .nav itself
   would trap the fixed mobile menu inside the nav box */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-bg);
  box-shadow: 0 1px var(--nav-line); /* bottom rule, drawn over the page so it can vanish on the hero */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo img { filter: invert(var(--nav-invert)); } /* black logo → white on the dark theme */

.menu { display: flex; align-items: center; gap: 36px; }
.menu__links { display: flex; gap: 36px; font-size: 15px; color: var(--nav-text); }
.menu__links a:hover { color: var(--nav-strong); }

.nav .btn { background: var(--nav-strong); border-color: var(--nav-strong); color: var(--nav-contrast); }
.nav .btn:hover { opacity: .85; }

/* Dark over the hero. It turns light progressively while it slides over the
   "Trusted by" band: from the moment the hero's bottom edge reaches the bottom
   of the nav (80px from the top) until it reaches the top of the screen.
   Browsers without scroll-driven animations keep the light nav. */
@keyframes nav-on-hero {
  from {
    --nav-bg: #1d1d1f;
    --nav-text: rgb(255 255 255 / .8);
    --nav-strong: #fff;
    --nav-contrast: #1d1d1f;
    --nav-line: rgb(255 255 255 / 0);
    --nav-invert: 1;
  }
}
@supports (animation-timeline: view()) {
  body { timeline-scope: --hero; } /* lets the nav read the hero's timeline */
  .hero { view-timeline: --hero; }
  .nav {
    animation: nav-on-hero linear both;
    animation-timeline: --hero;
    animation-range: cover calc(100% - var(--nav-height)) cover 100%;
  }
}

/* Green rule under anchor links, drawn with a background so it works everywhere */
.menu__links a,
.footer a {
  padding-bottom: 4px;
  background: linear-gradient(var(--green), var(--green)) left bottom / 0 2px no-repeat;
  transition: background-size 200ms var(--ease), color 120ms var(--ease);
}
.menu__links a:is(:hover, :focus-visible, :active),
.footer a:is(:hover, :focus-visible, :active) { background-size: 100% 2px; }

.menu__bar, .burger { display: none; }

/* ============ Hero (Not Black ground) ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 160px;
  background: var(--ink);
  color: #fff;
}
.hero .eyebrow,
.hero .lead { color: rgb(255 255 255 / .72); }

/* Buttons flip on the dark ground */
.hero .btn { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn:hover { background: var(--silver); border-color: var(--silver); }
.hero .btn--outline { background: none; color: #fff; }
.hero .btn--outline:hover { background: rgb(255 255 255 / .12); border-color: #fff; }

/* Constellations (hero and Let's talk). Each one is two stacked SVGs:
   the blurred planes behind the content, the sharp plane in front of it.
   overflow: visible lets the dots rise past the SVG box during the parallax;
   they are only cut by the edge of their section. */
.constellation {
  position: absolute;
  top: 40px;
  right: 0;
  overflow: visible;
  pointer-events: none;
}
.constellation--back  { z-index: 0; }
.constellation--front { z-index: 2; }
.hero .container,
.contact .container { position: relative; z-index: 1; }

.hero .constellation { width: 620px; fill: var(--green); }

/* Parallax: on scroll every plane rises, the sharp dots faster than the blurred ones */
@keyframes rise { to { transform: translateY(var(--rise)); } }
@supports (animation-timeline: scroll()) {
  .plane { animation: rise linear both; }
  .hero .plane { animation-timeline: scroll(root); animation-range: 0 700px; }
}
.plane--sharp { --rise: -180px; }
.plane--soft  { --rise: -120px; }
.plane--mid   { --rise: -70px; }
.plane--far   { --rise: -30px; }

.hero__title {
  position: relative;
  z-index: 1;
  font-size: clamp(64px, 5.6vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
}
/* Animated verb (4s, plays once): target → analyse → change.
   "change" is ordinary text in the flow; "target" and "analyse" are laid over it
   (absolute, left-aligned) so every word only moves vertically: it leaves downwards
   while the next one comes in from above.
   During the animation the slot width follows the visible word, so "behaviour."
   slides along. Afterwards the width is released: "We change behaviour." is then
   plain text, with natural spacing in every browser. */
.verbs {
  display: inline-block;
  position: relative;
  animation: verb-width 4s var(--ease) backwards;
}
.verbs span { display: inline-block; }
.verbs span:not(:last-child) { position: absolute; top: 0; left: 0; }

.verbs span:nth-child(1) { animation: word-out .35s 1.4s var(--ease) both; }
.verbs span:nth-child(2) { animation: word-in .45s 1.5s var(--ease-out) both, word-out .35s 3.2s var(--ease) forwards; }
.verbs span:nth-child(3) { animation: word-in .45s 3.3s var(--ease-out) both; }

@keyframes word-in  { from { opacity: 0; transform: translateY(-.4em); } }
@keyframes word-out { to   { opacity: 0; transform: translateY(.4em); } }

/* Slot width = width of the visible word, so "behaviour." always sits one
   normal space after it. --w1/2/3 are measured in the visitor's browser by the
   script at the end of the page; the em values are only a fallback. */
@keyframes verb-width {
  0%, 35%   { width: var(--w1, 2.97em); }
  45%, 80%  { width: var(--w2, 3.85em); }
  90%, 100% { width: var(--w3, 3.72em); }
}

.hero__title .dot { color: var(--green); }

@media (prefers-reduced-motion: reduce) {
  .verbs, .verbs span { animation: none; }
  .verbs span:not(:last-child) { display: none; }
}

.hero__lead { max-width: 680px; margin: 36px 0 40px; }

/* ============ Trusted by ============ */
/* The logos slide from right to left in an endless loop and vanish under the label:
   the label sits on white, and its right edge fades from white to transparent. */
.clients { padding-block: 40px; }

.clients__inner { display: grid; align-items: center; }
.clients__inner > * { grid-area: 1 / 1; } /* label and strip share the same cell */

.clients .eyebrow {
  position: relative;
  z-index: 1;
  justify-self: start;
  align-self: stretch; /* as tall as the logos, so it hides them completely */
  display: flex;
  align-items: center;
  margin: 0;
  padding-right: 24px;
  white-space: nowrap;
  background: #fff;
}
.clients .eyebrow::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 100%;
  width: 96px;
  background: linear-gradient(to right, #fff, rgb(255 255 255 / 0));
}

.marquee {
  display: flex;
  margin-right: calc(-1 * var(--bleed)); /* runs to the right edge of the screen */
  overflow: hidden;
}
.marquee:hover .clients__logos { animation-play-state: paused; }

.clients__logos {
  flex: none;
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px; /* same gap between the list and its copy */
  animation: marquee 50s linear infinite;
}
.clients__logos li { flex: none; }

/* Both lists move by one list width, so the copy lands exactly where the original started */
@keyframes marquee { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  .clients__logos { animation: none; }
  .clients__logos[aria-hidden] { display: none; }
  .marquee { overflow-x: auto; scrollbar-width: none; padding-left: 168px; }
}

/* ============ Shared layouts ============ */
/* Two columns: title on the left, text or image on the right */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: 72px;
}
.split--end { align-items: end; margin-bottom: 64px; }
.split .lead { margin-top: 24px; }
.split--end .lead { margin-top: 0; }

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
/* Pictos: fixed box, the SVG keeps its own proportions inside */
.card img { width: 44px; height: 44px; margin-bottom: 24px; }
.card p { color: var(--ink-64); }

/* Horizontal rails: cards, topics and steps run past the right edge of the
   screen and scroll sideways. The rail bleeds to both screen edges; its padding
   keeps the first item on the grid and leaves room for the shadows. */
.cards, .topics, .steps {
  display: flex;
  gap: 24px;
  margin: -8px calc(-1 * var(--bleed)) -24px;
  padding: 8px var(--bleed) 24px;
  scroll-padding-inline: var(--bleed);
  scroll-snap-type: x proximity;
  overflow-x: auto;
  scrollbar-width: none; /* scrolls with trackpad, touch or shift + wheel */
}
.cards::-webkit-scrollbar, .topics::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
.cards > li, .steps > li { flex: 0 0 460px; scroll-snap-align: start; }
.topics > li { flex: 0 0 280px; scroll-snap-align: start; }

/* ============ Environment ============ */
.environment { background: var(--green-20); }
/* The photo gives way first: the text keeps at least 340px, the photo shrinks down from 560px */
.environment .split { grid-template-columns: minmax(340px, 1fr) minmax(0, 560px); }

.environment__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.environment__photo figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-64); }

.cards { margin-bottom: 48px; }

/* Small green cartouches, white text and picto */
.topics li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: var(--green);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.topics img { width: 36px; height: 36px; filter: brightness(0) invert(1); } /* black SVG → white */

/* ============ Approach ============ */
.approach { padding-bottom: 64px; }

.steps .card { background: var(--silver); }
.steps .card img { width: 56px; height: 56px; margin-bottom: 16px; }

/* Charter "surlignage": essential words on a green tint, text stays Not Black.
   The 50 tint instead of the 20: on the silver card the 20 would barely show. */
mark {
  padding: .05em .2em;
  margin: 0 -.2em; /* the highlight overhangs, the text keeps its spacing */
  border-radius: 4px;
  background: var(--green-50);
  color: var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ============ Numbers (Not Black cartouche) ============ */
.numbers { padding-bottom: var(--section-space); }

.numbers__box {
  position: relative;
  padding: 80px 80px 88px;
  border-radius: var(--radius);
  background: var(--ink) url(../img/dots-white.svg) no-repeat right 40px top 24px;
  box-shadow: var(--shadow);
  color: #fff;
}
.numbers .eyebrow { color: rgb(255 255 255 / .72); }

.numbers h2 {
  max-width: 620px;
  margin-bottom: 72px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  font-size: 14px;
  line-height: 1.55;
  color: rgb(255 255 255 / .72);
}
.stats strong {
  display: block;
  margin-bottom: 12px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}

/* ============ Team ============ */
.team { padding-top: 0; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.people img {
  width: 100%;
  aspect-ratio: 282 / 352;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.people h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.people p { margin-top: 6px; font-size: 14px; color: var(--ink-64); }
.people :is(h3, p) { padding-left: 16px; } /* names sit slightly inside the photo edge */

/* Keeps "behind the science." together so the title breaks after "scientists" */
.keep { white-space: nowrap; }

/* ============ FAQ ============ */
.faq { background: var(--silver); }

.faq__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 704px); /* same idea: the answers column gives way */
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.faq__inner .title + p { margin-top: 24px; color: var(--ink-64); }

.faq__list { border-top: 1px solid var(--hairline); }

/* Spacing is fixed (24 above the question, 12 + 12 below), so opening and
   closing only change one thing: the height of the answer row. */
details { padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }

/* The answer row grows from 0fr to 1fr: the bottom rule glides down and back up.
   Browsers without ::details-content simply toggle. */
details::details-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease), content-visibility 400ms allow-discrete;
}
details[open]::details-content { grid-template-rows: 1fr; }

.answer { min-height: 0; overflow: hidden; }

/* The text fades in from the top, in step with the row */
.answer p {
  padding: 0 40px 12px 0; /* stops before the +/− column */
  color: var(--ink-64);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
details[open] .answer p { opacity: 1; transform: none; }

/* The answer was hidden before opening: give its transition a starting point */
@starting-style {
  details[open] .answer p { opacity: 0; transform: translateY(-8px); }
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0 12px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }

/* Plus sign drawn in CSS; the vertical bar disappears when open */
summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 16px no-repeat;
  transition: background-size 400ms var(--ease);
}
details[open] summary::after { background-size: 16px 2px, 2px 0; }

/* Closing (class set by the small script at the end of the page):
   the same animation in reverse, while <details> is still open */
details.is-closing::details-content { grid-template-rows: 0fr; }
details.is-closing .answer p { opacity: 0; transform: translateY(-8px); }
details.is-closing summary::after { background-size: 16px 2px, 2px 16px; }

/* ============ Let's talk ============ */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--green);
}
.contact .eyebrow { color: var(--ink); }
.contact .title { max-width: 640px; }
.contact .lead { max-width: 560px; margin: 24px 0 40px; color: var(--ink); }

/* White constellation with the same parallax as the hero, driven by this section's
   own scroll progress, + white quarter circle echoing the Bellegarde symbol */
.contact .constellation { width: 720px; fill: #fff; }
@supports (animation-timeline: view()) {
  .contact { view-timeline: --contact; }
  .contact .plane { animation-timeline: --contact; animation-range: cover; }
}

.contact::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
  height: 300px;
  border-top-left-radius: 100%;
  background: #fff;
  pointer-events: none;
}

/* ============ Footer (Not Black ground) ============ */
.footer {
  padding: 72px 0 40px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.footer__top { display: flex; justify-content: space-between; align-items: start; }

.footer__cols { display: flex; gap: 96px; }
.footer__cols .eyebrow { margin-bottom: 16px; color: rgb(255 255 255 / .54); }
.footer__cols li + li { margin-top: 12px; }

.footer__legal {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .16);
  font-size: 13px;
  color: rgb(255 255 255 / .54);
}

/* ============ Tablet (≤ 900px) ============ */
@media (max-width: 900px) {
  :root {
    --nav-height: 64px;
    --section-space: 80px;
    --gutter: 50px;
  }

  .title { font-size: 34px; line-height: 1.15; letter-spacing: -.01em; }
  .lead { font-size: 17px; line-height: 1.6; }
  .eyebrow { margin-bottom: 16px; }

  /* Nav: logo + burger. The menu opens as an overlay when #menu is targeted */
  .nav__logo img { height: 28px; width: auto; }

  .burger {
    display: block;
    width: 28px;
    height: 28px;
    background:
      linear-gradient(var(--nav-strong), var(--nav-strong)) center 10px / 18px 2px no-repeat,
      linear-gradient(var(--nav-strong), var(--nav-strong)) center 18px / 18px 2px no-repeat;
  }

  .menu {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    background: #fff;
  }
  .menu:target { display: flex; }
  .menu::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    height: 150px;
    border-top-left-radius: 100%;
    background: var(--green);
  }

  .menu__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
  }
  /* A plus sign turned 45°: a cross the same size as the burger lines */
  .menu__close {
    width: 28px;
    height: 28px;
    background:
      linear-gradient(var(--ink), var(--ink)) center / 20px 2px no-repeat,
      linear-gradient(var(--ink), var(--ink)) center / 2px 20px no-repeat;
    rotate: 45deg;
  }

  .menu__links { flex-direction: column; gap: 0; margin: 24px 0 40px; font-size: 28px; font-weight: 600; color: var(--ink); }
  .menu__links a { display: block; padding-block: 18px; border-bottom: 1px solid var(--hairline); background: none; }
  .menu .btn { padding: 14px; text-align: center; font-size: 15px; background: var(--ink); border-color: var(--ink); color: #fff; }

  /* Hero: the constellation spreads under and around the content (layered) */
  .hero { padding: 72px 0 120px; }
  .hero__title { font-size: 64px; line-height: 1.04; letter-spacing: -.025em; }
  .hero__lead { margin: 24px 0 32px; }
  .hero .constellation { top: auto; bottom: -40px; width: 560px; }

  /* Gentler parallax on small screens */
  .plane--sharp { --rise: -70px; }
  .plane--soft  { --rise: -50px; }
  .plane--mid   { --rise: -30px; }
  .plane--far   { --rise: -12px; }

  .clients { padding-block: 36px; }

  /* Shared layouts */
  .split,
  .environment .split { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .split--end { gap: 16px; margin-bottom: 32px; }
  .card { padding: 24px; }
  h3 { font-size: 24px; }

  .cards, .topics, .steps { gap: 16px; }
  .cards > li, .steps > li { flex-basis: 300px; }
  .topics > li { flex-basis: 200px; }
  .cards { margin-bottom: 16px; }
  .approach { padding-bottom: 40px; }

  /* Numbers */
  .numbers { padding-bottom: var(--section-space); }
  .numbers__box { padding: 32px 32px 40px; background-image: none; }
  .numbers h2 { margin-bottom: 40px; font-size: 28px; line-height: 1.3; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .stats strong { font-size: 44px; }

  /* Team: smaller portraits in a row that runs past the right edge */
  .people {
    display: flex;
    gap: 20px;
    margin-inline: calc(-1 * var(--bleed));
    padding-inline: var(--bleed);
    scroll-padding-inline: var(--bleed);
    scroll-snap-type: x proximity;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .people::-webkit-scrollbar { display: none; }
  .people > li { flex: 0 0 220px; scroll-snap-align: start; }
  .people img { margin-bottom: 14px; }
  .people h3 { font-size: 15px; }
  .keep { white-space: normal; }

  /* FAQ */
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }

  /* Let's talk: the constellation spreads over the right half, around the quarter circle */
  .contact { padding-bottom: 120px; }
  .contact .lead { margin: 18px 0 28px; }
  .contact .constellation { top: auto; bottom: 0; width: 560px; }
  .contact::after { width: 150px; height: 150px; }

  /* Footer */
  .footer { padding: 48px 0 32px; }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__logo { width: 286px; }
  .footer__cols { gap: 64px; }
  .footer__cols li + li { margin-top: 16px; }
  .footer__legal { flex-direction: column; gap: 8px; margin-top: 40px; }
}

/* ============ Smartphone (≤ 600px) ============ */
@media (max-width: 600px) {
  :root { --gutter: 24px; }

  .hero { padding: 64px 0 96px; }
  .hero__title { font-size: 52px; }
  .hero__lead br { display: none; }
  .hero .constellation { bottom: -60px; right: -20px; width: 110%; }

  /* Gentler parallax on phones */
  .plane--sharp { --rise: -50px; }
  .plane--soft  { --rise: -35px; }
  .plane--mid   { --rise: -20px; }
  .plane--far   { --rise: -8px; }

  .numbers .container { width: calc(100% - 32px); }

  /* Team: the four portraits stay visible, two by two */
  .people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .people h3 { font-size: 14px; }

  .contact { padding-bottom: 140px; }
  .contact .constellation { bottom: 0; width: 100%; }
}

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