/* =============================================================================
   O2 — Design tokens
   Palette du site conservée (#213FB8 → #7248D4). Layout inspiré du mockup.
   ============================================================================= */

:root {
  --color-bg: #08070f;
  --color-bg-alt: #0c0a16;
  --color-bg-elevated: #12101c;
  --color-surface: #16122a;
  --color-text: #eeeaf8;
  --color-text-muted: #aea8c8;
  --color-text-faint: #6f6890;
  --color-accent-deep: #213fb8;
  --color-accent: #7248d4;
  --color-accent-light: #c4b0f7;
  --color-accent-soft: rgba(114, 72, 212, 0.2);
  --color-alert: #ff5a3c;
  --color-line: rgba(238, 234, 248, 0.10);
  --color-line-strong: rgba(238, 234, 248, 0.18);
  --color-hero-glow: rgba(33, 63, 184, 0.42);
  --color-hero-glow-end: rgba(114, 72, 212, 0.32);
  --gauge: 100;
  --gauge-color: var(--color-accent-light);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "Space Grotesk", sans-serif;

  --size-brand: clamp(4.5rem, 18vw, 11rem);
  --size-lead: clamp(1.05rem, 2vw, 1.25rem);
  --size-body: clamp(1rem, 1.6vw, 1.125rem);
  --size-small: 0.875rem;

  --line-body: 1.6;
  --weight-display: 700;
  --weight-body: 400;

  --img-logo-width: clamp(11rem, 48vw, 22rem);
  --img-wide-width: min(100%, 68rem);
  --img-partner-height: 2.75rem;
  --img-partner-max-width: 9rem;

  --content-block: min(100%, 64rem);
  --section-pad-y: clamp(5rem, 12vh, 8rem);
  --section-pad-x: clamp(1.75rem, 6vw, 4rem);
  --hero-min-height: 100svh;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --btn-pad-y: 1.1rem;
  --btn-pad-x: 2.1rem;
  --btn-radius: 0.25rem;
}

/* =============================================================================
   Language switcher
   ============================================================================= */

.lang-switch {
  position: fixed;
  top: 1rem;
  right: 2.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(8, 7, 15, 0.6);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  color: var(--color-text-faint);
}

.lang-btn {
  margin: 0;
  padding: 0.2rem 0.35rem;
  border: 0;
  background: transparent;
  color: var(--color-text-faint);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--color-text);
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  color: var(--color-accent-light);
}

.lang-sep {
  color: var(--color-line);
  user-select: none;
}

/* =============================================================================
   Quota reveal (fin de scroll)
   ============================================================================= */

.o2-quota-message {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 28%;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  width: max-content;
  max-width: none;
  padding: 0 1rem;
  box-sizing: border-box;
  font-family: "Orbitron", var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.8vw, 1.85rem);
  letter-spacing: 0.12em;
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  color: #ff2a2a;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 8px rgba(255, 42, 42, 0.85),
     0 0 22px rgba(255, 42, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
  pointer-events: none;
}

.o2-quota-message.is-visible {
  visibility: visible;
}

/* =============================================================================
   Oxygen gauge
   ============================================================================= */

.o2-gauge {
  position: fixed;
  top: 0;
  right: 0.55rem;
  bottom: 15%;
  height: auto;
  width: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 4.5rem 0 0;
  border: none;
  background: none;
  pointer-events: none;
  opacity: 0;
}

.o2-gauge-track {
  position: relative;
  width: 2px;
  flex: 1;
  min-height: 0;
  background: var(--color-line-strong);
  border-radius: 2px;
  overflow: hidden;
}

.o2-gauge-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(var(--gauge) * 1%);
  background: var(--gauge-color);
  transition: height 0.15s linear, background 0.3s linear, box-shadow 0.3s linear;
  box-shadow: 0 0 8px var(--gauge-color);
}

.o2-gauge-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--gauge-color);
  writing-mode: horizontal-tb;
  margin: 0;
  transition: color 0.3s linear;
}

.o2-gauge-value {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gauge-color);
  margin: 0;
  transition: color 0.3s linear;
}

/* =============================================================================
   Base
   ============================================================================= */

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
  line-height: var(--line-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: linear-gradient(180deg, var(--color-bg) 0%, #05040a 100%);
  background-attachment: fixed;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

a {
  color: var(--color-accent-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

a:hover,
a:focus-visible {
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
}

h1, h2, h3, p {
  margin: 0;
}

/* =============================================================================
   Layout
   ============================================================================= */

.site {
  margin: 0;
  padding-top: 0;
  overflow-x: clip;
}

.section {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* Le hero gère son propre padding — pas celui des sections contenu */
.section.section-hero {
  padding-top: 0;
  padding-bottom: 0;
}

.section-inner {
  margin: 0 auto;
}

.content-block {
  max-width: var(--content-block);
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.section-body {
  color: var(--color-text-muted);
}

.section-body em {
  font-style: italic;
}

.section-body strong {
  font-weight: 700;
  color: var(--color-text);
}

.section-body .text-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.section-body p + p {
  margin-top: 1.15rem;
}

/* =============================================================================
   1. Hero
   ============================================================================= */

.section-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--section-pad-x);
  margin: 0;
  overflow: hidden;
  border: none;
  /* ton forêt : évite une bande noire pure si la vidéo tarde */
  background: #0a0f0c;
}

.hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border: none;
  background: #0a0f0c;
}

/*
  Vidéo ultrawide 1280×536 : on force une boîte de couverture
  (plus fiable que min-width/min-height auto sur Safari) et on
  décale le cadrage pour masquer la frange sombre du haut de l’image.
*/
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, calc(100svh * 1280 / 536));
  height: max(100%, calc(100% * 536 / 1280));
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -46%) scale(1.18);
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.28;
  border: none;
  background: #0a0f0c;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(114, 72, 212, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(10, 15, 12, 0.15) 0%, transparent 18%, transparent 78%, rgba(8, 7, 15, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 56rem;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: 80px;
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
  box-sizing: border-box;
  animation: hero-enter 1.2s var(--ease-out) both;
}

.hero-core {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.brand {
  line-height: 0;
}

.img-logo {
  width: var(--img-logo-width);
  height: auto;
}

.hero-tagline {
  margin-top: clamp(2.75rem, 7vh, 4.5rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
}

.hero-tagline span:nth-child(2) {
  color: var(--color-text);
}

.hero-tagline span:nth-child(3) {
  color: var(--color-accent);
}

.hero-laurels {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  flex-shrink: 0;
  margin-top: clamp(1.25rem, 3.5vh, 2.5rem);
  width: max-content;
  max-width: min(100%, 52rem);
  justify-content: center;
  gap: clamp(0.55rem, 1.8vw, 1.1rem);
}

.hero-laurels .laurel {
  gap: 0.08rem;
}

.hero-laurels .laurel-branch {
  width: 0.78rem;
  height: 2.55rem;
}

.hero-laurels .laurel-caption {
  gap: 0.08em;
  padding: 0;
}

.hero-laurels .laurel-line {
  letter-spacing: 0.04em;
}

.hero-laurels .laurel-line--main {
  font-size: clamp(0.48rem, 1.1vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-laurels .laurel-line--mid {
  font-size: clamp(0.38rem, 0.9vw, 0.48rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.hero-laurels .laurel-line--sub {
  font-size: clamp(0.38rem, 0.9vw, 0.48rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =============================================================================
   Pitch
   ============================================================================= */

.section-pitch {
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-alt);
}

.pitch-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1.75rem;
  color: var(--color-text);
}

.pitch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}

.pitch-stat {
  background: var(--color-bg-alt);
  padding: 1.35rem 1.1rem;
  text-align: center;
}

.pitch-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--color-accent-light);
  font-weight: 600;
}

.pitch-stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-top: 0.4rem;
}

.pitch-deck-cta {
  margin-top: 2rem;
}

/* =============================================================================
   Expérience
   ============================================================================= */

.section-experience {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  background: transparent;
}

.experience-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: image-set(
    url("../assets/images/tree.webp") type("image/webp"),
    url("../assets/images/tree.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.experience-inner {
  position: relative;
  z-index: 1;
}

.experience-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1.75rem;
  color: var(--color-text);
}

/* =============================================================================
   Prototype (CTA panel + gallery)
   ============================================================================= */

.section-prototype {
  border-top: 1px solid var(--color-line);
}

.prototype-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.prototype-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

.prototype-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
}

.prototype-lead {
  display: none;
}

.prototype-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.15rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgba(196, 176, 247, 0.35);
  background: rgba(18, 16, 28, 0.45);
  box-shadow:
    0 0 0 1px rgba(114, 72, 212, 0.08),
    0 0 28px rgba(114, 72, 212, 0.18);
}

.prototype-panel::before,
.prototype-panel::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--color-accent-light);
  pointer-events: none;
}

.prototype-panel::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  box-shadow: -2px -2px 10px rgba(196, 176, 247, 0.35);
}

.prototype-panel::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
  box-shadow: 2px 2px 10px rgba(196, 176, 247, 0.35);
}

.btn-prototype {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 4.5rem;
  padding: 1.75rem 1.75rem;
  border-radius: 0.5rem;
  border: 0;
  background: var(--color-accent-light);
  color: #0a0614;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(114, 72, 212, 0.32);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease;
}

.btn-prototype:hover,
.btn-prototype:focus-visible {
  color: #0a0614;
  background: #d4c4ff;
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(114, 72, 212, 0.45);
}

.btn-prototype-icon {
  display: inline-flex;
  color: inherit;
}

.btn-prototype-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.btn-prototype-arrow {
  font-size: 1.2em;
  line-height: 1;
}

.prototype-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.prototype-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.prototype-meta svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  width: 100%;
}

.gallery-item {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-line-strong);
  border-radius: 0.5rem;
  background: var(--color-surface);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================================================
   Fiche technique
   ============================================================================= */

.section-specs {
  border-top: 1px solid var(--color-line);
  background: var(--color-bg);
}

.specs-contacts {
  margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

.specs-contacts-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
}

.specs-contacts .team-contacts {
  margin-bottom: 0;
}

.specs-title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

.specs-table tr {
  border-top: 1px solid var(--color-line);
}

.specs-table tr:last-child {
  border-bottom: 1px solid var(--color-line);
}

.specs-table th,
.specs-table td {
  padding: 0.95rem 0;
  vertical-align: top;
  text-align: left;
}

.specs-table th {
  width: 38%;
  padding-right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.specs-table td {
  font-size: var(--size-body);
  font-weight: 400;
  line-height: var(--line-body);
  color: var(--color-text);
}

.specs-value-with-logo {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.85rem;
  max-width: 100%;
}

.specs-value-with-logo > span {
  min-width: 0;
}

.specs-row-logo {
  height: 1.65rem;
  max-width: 5.5rem;
  flex-shrink: 0;
  opacity: 0.95;
}

/* =============================================================================
   Impact
   ============================================================================= */

.section-impact {
  position: relative;
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-alt);
}

.impact-inner {
  position: relative;
  z-index: 1;
}

.impact-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--color-text);
}

.impact-body p + p {
  margin-top: 1.1rem;
}

.impact-report-btn {
  display: inline-flex;
  margin-top: 1.85rem;
}

.impact-pillars {
  list-style: none;
  margin: clamp(3rem, 7vh, 4.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.impact-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem 1.15rem 0.15rem;
}

.impact-pillar + .impact-pillar {
  border-left: 1px solid var(--color-line);
}

.impact-pillar-icon {
  flex-shrink: 0;
  color: var(--color-accent-light);
  filter: drop-shadow(0 0 8px rgba(196, 176, 247, 0.35));
  margin-top: 0.05rem;
}

.impact-pillar-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.impact-pillar-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* =============================================================================
   Buttons — couleur unique (comme le mockup)
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0a0614;
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  box-shadow: 0 0 0 0 rgba(196, 176, 247, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #0a0614;
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  box-shadow: 0 8px 24px rgba(114, 72, 212, 0.35);
}

/* =============================================================================
   Team / Credits
   ============================================================================= */

.section-credits {
  border-top: 1px solid var(--color-line);
}

.team-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 2.85rem;
  color: var(--color-text);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: start;
  column-gap: clamp(2.5rem, 6vw, 5rem);
  row-gap: 1.75rem;
  width: 100%;
  margin-bottom: 4.25rem;
}

.team-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.team-role {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.team-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.team-names li {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.team-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: start;
  column-gap: clamp(2.5rem, 8vw, 6rem);
  row-gap: 1.75rem;
  width: 100%;
  margin-bottom: 3.5rem;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.team-contact-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.team-contact-line a {
  color: var(--color-accent-light);
  text-decoration: none;
}

.team-contact-line a:hover,
.team-contact-line a:focus-visible {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.supporters {
  padding-top: 0;
}

.laurels-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.laurel {
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #ffffff;
  width: auto;
  aspect-ratio: auto;
}

.laurel-branch {
  width: 1.35rem;
  height: 3.6rem;
  flex-shrink: 0;
  color: inherit;
}

.laurel-caption {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  text-align: center;
  color: inherit;
  padding: 0 0.1rem;
}

.laurel-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: inherit;
  white-space: nowrap;
}

.laurel-line--main {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.laurel-line--mid {
  font-size: clamp(0.62rem, 1.15vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.laurel-line--sub {
  font-size: clamp(0.7rem, 1.3vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.92;
}

.supporters-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 1.15rem;
}

.supporters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem 2.5rem;
}

.img-partner {
  height: var(--img-partner-height);
  width: auto;
  max-width: var(--img-partner-max-width);
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

.img-partner:hover {
  opacity: 1;
}

/* =============================================================================
   Footer
   ============================================================================= */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 2.5rem var(--section-pad-x) 3rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text-faint);
  border-top: 1px solid var(--color-line);
}

.footer-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.footer-mail {
  font: inherit;
  text-decoration: none;
  color: var(--color-text-muted);
}

.footer-mail:hover,
.footer-mail:focus-visible {
  color: var(--color-text);
}

.footer-copy {
  margin: 0;
}

/* =============================================================================
   Media queries
   ============================================================================= */

@media (max-width: 960px) {
  .prototype-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .impact-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-pillar:nth-child(2n + 1) {
    border-left: 0;
  }

  .impact-pillar:nth-child(n + 3) {
    border-top: 1px solid var(--color-line);
  }
}

@media (max-width: 720px) {
  .team-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .pitch-deck-cta {
    display: flex;
    justify-content: center;
  }

  .impact-copy {
    display: flex;
    flex-direction: column;
  }

  .impact-report-btn {
    align-self: center;
  }

  .o2-quota-message {
    width: min(100%, 22rem);
    max-width: calc(100vw - 2rem);
    padding: 0 1rem;
    font-size: clamp(1.05rem, 5.2vw, 1.45rem);
    letter-spacing: 0.05em;
    line-height: 1.3;
    white-space: normal;
    bottom: max(36%, calc(env(safe-area-inset-bottom, 0px) + 10rem));
  }
}

@media (max-width: 640px) {
  .pitch-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prototype-meta {
    justify-content: flex-start;
  }

  .specs-table,
  .specs-table tbody,
  .specs-table tr,
  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
  }

  .specs-table tr {
    padding: 0.85rem 0;
  }

  .specs-table th {
    padding: 0 0 0.35rem;
  }

  .specs-table td {
    padding: 0;
  }

  .impact-pillars {
    grid-template-columns: 1fr;
  }

  .impact-pillar {
    padding: 1.25rem 0;
  }

  .impact-pillar + .impact-pillar {
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }

  .impact-pillar:nth-child(n + 3) {
    border-top: 1px solid var(--color-line);
  }

  .team-contacts {
    grid-template-columns: 1fr;
  }
}

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

  .hero-inner {
    animation: none;
  }

  .hero-media {
    display: none;
  }

  * {
    transition: none !important;
  }
}
