:root {
  /* Fond clair luxe + accents du visuel 3D (teal, ambre, crimson) */
  --bg: #ffffff;
  --bg-elevated: #f7f7f6;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --text: #0c0c0e;
  --text-dim: #3f3f46;
  --muted: #71717a;
  --teal: #3d8578;
  --teal-dim: rgba(61, 133, 120, 0.1);
  --ember: #b54a32;
  --ember-dim: rgba(181, 74, 50, 0.09);
  --crimson: #8b3030;
  --crimson-dim: rgba(139, 48, 48, 0.07);
  --accent: var(--teal);
  --accent-2: var(--ember);
  --accent-soft: var(--teal-dim);
  --accent-glow: rgba(61, 133, 120, 0.22);
  --ember-glow: rgba(181, 74, 50, 0.2);
  --border: rgba(12, 12, 14, 0.07);
  --border-strong: rgba(12, 12, 14, 0.12);
  --shadow-sm: 0 1px 2px rgba(12, 12, 14, 0.04);
  --shadow-md: 0 12px 40px -18px rgba(12, 12, 14, 0.12);
  --shadow-card-hover: 0 20px 50px -22px rgba(12, 12, 14, 0.14);
  --radius: 12px;
  --radius-sm: 7px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Syne", system-ui, sans-serif;
  --max: 1180px;
  /* Marge horizontale confortable + safe-area (évite texte collé aux bords sur mobile) */
  --layout-pad-x: clamp(1.25rem, 4.5vw, 2.5rem);
  --header-h: 68px;
  --space-section: 4.5rem;
  --space-tight: 3.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 80% at 88% -15%, var(--ember-dim), transparent 55%),
    radial-gradient(ellipse 85% 60% at -8% 108%, var(--teal-dim), transparent 50%),
    radial-gradient(ellipse 50% 40% at 48% 102%, var(--crimson-dim), transparent 70%);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  /* Sous le header (z-index 1000) pour ne pas masquer le menu mobile */
  z-index: 100;
  opacity: 0.018;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.layout {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: calc(var(--layout-pad-x) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--layout-pad-x) + env(safe-area-inset-right, 0px));
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom-color: var(--border-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: calc(var(--layout-pad-x) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--layout-pad-x) + env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1002;
  line-height: 0;
  min-width: 0;
}

.logo__img {
  display: block;
  height: 42px;
  width: auto;
  opacity: 0.94;
  transition: opacity 0.2s ease;
}

@media (max-width: 1023px) {
  .logo {
    flex: 1 1 auto;
    margin-right: 0.25rem;
  }

  .logo__img {
    height: auto;
    max-height: 40px;
    max-width: min(220px, calc(100vw - 5.75rem));
    object-fit: contain;
    object-position: left center;
  }
}

.logo:hover .logo__img {
  opacity: 1;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.65rem;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-dim);
}

.nav-main a.nav-link--active {
  color: var(--text);
}

.nav-main a.nav-link--active::after {
  content: "";
  display: block;
  margin-top: 0.35rem;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--ember));
  opacity: 0.85;
}

.nav-panel a.nav-link--active {
  color: var(--teal);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 1003;
  position: relative;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Plein écran au-dessus du header (mobile) */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: var(--bg);
  border: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s var(--ease-out),
    visibility 0.32s;
}

.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-panel__top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
  padding-right: calc(var(--layout-pad-x) + env(safe-area-inset-right, 0px));
  padding-bottom: 0.85rem;
  padding-left: calc(var(--layout-pad-x) + env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-panel__close:hover {
  background: rgba(12, 12, 14, 0.05);
}

.nav-panel__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.35rem;
  padding-right: calc(var(--layout-pad-x) + env(safe-area-inset-right, 0px));
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(var(--layout-pad-x) + env(safe-area-inset-left, 0px));
}

.nav-panel__scroll a {
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.nav-panel__scroll .btn-block {
  margin-top: 1rem;
  text-align: center;
}

.nav-panel__scroll a.btn-primary,
.nav-panel__scroll a.btn-primary:link,
.nav-panel__scroll a.btn-primary:visited {
  color: #ffffff;
  border-bottom: none;
  padding: 0.85rem 1.35rem;
}

.nav-panel__scroll a.btn-primary:hover {
  color: #ffffff;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.2rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #141416 0%, #0c0c0e 100%);
  color: #fafafa;
  border-color: rgba(12, 12, 14, 0.08);
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

a.btn-primary:link,
a.btn-primary:visited {
  color: #fafafa;
}

.btn-primary:hover {
  color: #ffffff;
  box-shadow:
    var(--shadow-sm),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px -12px rgba(12, 12, 14, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(12, 12, 14, 0.04);
  border-color: rgba(12, 12, 14, 0.18);
  color: var(--text);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.8125rem;
}

/* Main offset for fixed header */
main {
  min-width: 0;
  overflow-x: clip;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

.hero__orb--a {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: var(--ember-dim);
  top: -12%;
  right: -8%;
  opacity: 0.85;
}

.hero__orb--b {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  background: var(--teal-dim);
  bottom: 5%;
  left: -12%;
  opacity: 0.9;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-strong) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, black 15%, transparent 68%);
  opacity: 0.28;
}

.hero__content {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: clamp(2rem, 6vw, 3.5rem);
  padding-right: calc(var(--layout-pad-x) + env(safe-area-inset-right, 0px));
  padding-bottom: clamp(2.5rem, 7vw, 4rem);
  padding-left: calc(var(--layout-pad-x) + env(safe-area-inset-left, 0px));
  max-width: var(--max);
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
  color: var(--text);
}

.hero__lead {
  margin: 0 0 0.75rem;
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.62;
}

.hero__lead--secondary {
  font-size: 0.875rem;
  margin-bottom: 1.35rem;
  line-height: 1.62;
}

.hero__lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero__visual {
  margin: 0;
  background: none;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  /* Relief sur fond clair (PNG détouré) */
  filter: drop-shadow(0 22px 56px rgba(12, 12, 14, 0.11))
    drop-shadow(0 8px 22px rgba(12, 12, 14, 0.07));
}

@media (min-width: 960px) {
  .hero__content {
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.25rem, 4vw, 3.5rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-right: calc(var(--layout-pad-x) + env(safe-area-inset-right, 0px));
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    padding-left: calc(var(--layout-pad-x) + env(safe-area-inset-left, 0px));
  }

  .hero h1 {
    max-width: 13ch;
  }
}

/* Marquee */
.marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, #fafafa 0%, #ffffff 50%, #fafafa 100%);
  padding: 0.7rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: marquee 32s linear infinite;
}

.marquee__dot {
  color: var(--teal);
  opacity: 0.45;
  user-select: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

/* Sections */
.section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
}

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

.section--surface {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 42%, var(--bg) 100%);
}

.section__head {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section__label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--text);
}

.section__title-dot {
  background: linear-gradient(120deg, var(--teal) 0%, var(--ember) 55%, var(--crimson) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section__title--plain {
  max-width: 22ch;
}

.section__intro {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.65;
}

/* Stats */
.stat-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  padding: 1.35rem 1.35rem 1.35rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left-width: 2px;
  border-left-color: var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat:nth-child(3n + 1) {
  border-left-color: var(--teal);
}

.stat:nth-child(3n + 2) {
  border-left-color: var(--ember);
}

.stat:nth-child(3n + 3) {
  border-left-color: var(--crimson);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.stat__value--text {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.stat__value--compact {
  font-size: clamp(2.1rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Cards */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.25s ease,
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(61, 133, 120, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.card__icon {
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.65rem;
  opacity: 0.85;
}

.card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.card__text {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Hub cards (HubX-style trio) */
.hub-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .hub-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem;
  min-height: 228px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #ffffff 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease;
}

.hub-card:hover {
  border-color: rgba(181, 74, 50, 0.28);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hub-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hub-card__text {
  margin: 0 0 auto;
  padding-bottom: 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.58;
  flex-grow: 1;
}

.hub-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  width: fit-content;
}

.hub-card__link:hover {
  color: var(--text-dim);
}

.hub-card__arrow {
  transition: transform 0.2s var(--ease-out);
}

.hub-card__link:hover .hub-card__arrow {
  transform: translateX(4px);
}

/* Bento */
.bento {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .bento__item--large {
    grid-column: span 2;
  }
}

.bento__item {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.bento__item--large {
  background: linear-gradient(125deg, rgba(61, 133, 120, 0.06) 0%, var(--surface) 48%, var(--bg-elevated) 100%);
  border-color: rgba(61, 133, 120, 0.12);
}

.bento__item--accent {
  background: linear-gradient(135deg, rgba(181, 74, 50, 0.07) 0%, var(--surface) 100%);
  border-color: rgba(181, 74, 50, 0.18);
}

.bento__title {
  margin: 0 0 0.45rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.bento__text {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.58;
}

/* Tech strip */
.section--tech {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
}

.layout--split {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .layout--split {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.tech-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.62;
}

.tech-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tags li {
  padding: 0.32rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

/* CTA */
.section--cta {
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(4rem, 9vw, 5.5rem);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 55% at 50% 110%, var(--teal-dim), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 15%, var(--ember-dim), transparent 50%),
    var(--bg);
}

.layout--cta {
  max-width: 40rem;
}

.cta__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.cta__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.cta__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.cta__big {
  font-size: clamp(0.9375rem, 3.5vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  width: fit-content;
  max-width: 100%;
  border-bottom: 1px solid rgba(90, 157, 145, 0.45);
  padding-bottom: 0.1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cta__big:hover {
  color: var(--teal);
  border-bottom-color: var(--ember);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 calc(2.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg-elevated);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  align-items: center;
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer-brand {
    flex: 1;
  }

  .footer-copy {
    flex: 1;
    text-align: center;
  }

  .footer-legal {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 0.75rem;
  }
}

.footer-brand {
  margin: 0;
  line-height: 0;
}

.footer-brand__img {
  display: block;
  height: 32px;
  width: auto;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.footer-brand:hover .footer-brand__img {
  opacity: 1;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-legal {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  opacity: 0.85;
}

/* Vision grid (holding, Dubai, tech, AI) */
.section--vision {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 48%, var(--bg) 100%);
}

.vision-intro {
  margin-bottom: 2rem;
}

.vision-intro__text {
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.68;
}

.vision-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .vision-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: minmax(200px, min(32vw, 420px)) minmax(180px, min(26vw, 360px));
    max-height: none;
  }

  .vision-card--dubai {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 0;
  }

  .vision-card--tech {
    grid-column: 2;
    grid-row: 1;
  }

  .vision-card--ai {
    grid-column: 3;
    grid-row: 1;
  }

  .vision-card--future {
    grid-column: 2;
    grid-row: 2;
  }

  .vision-card--scale {
    grid-column: 3;
    grid-row: 2;
  }
}

.vision-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  min-height: 200px;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s var(--ease-out);
}

@media (min-width: 900px) {
  .vision-card--dubai {
    min-height: 100%;
  }
}

.vision-card:hover {
  border-color: rgba(61, 133, 120, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.vision-card__media {
  position: absolute;
  inset: 0;
}

.vision-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease-out);
}

.vision-card:hover .vision-card__media img {
  transform: scale(1.06);
}

.vision-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.35rem) clamp(1.1rem, 3vw, 1.4rem);
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 32%,
    rgba(12, 12, 14, 0.38) 52%,
    rgba(12, 12, 14, 0.9) 100%
  );
}

.vision-card__overlay .vision-card__tag {
  color: rgba(180, 230, 218, 0.95);
}

.vision-card__overlay .vision-card__title {
  color: #fafafa;
}

.vision-card__overlay .vision-card__desc {
  color: rgba(255, 255, 255, 0.78);
}

.vision-card__overlay .vision-card__cta.btn-ghost {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.32);
}

.vision-card__overlay .vision-card__cta.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.vision-card__overlay--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.vision-card__tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.vision-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.vision-card__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 36ch;
}

.vision-card__cta {
  flex-shrink: 0;
  align-self: flex-end;
}

@media (max-width: 599px) {
  .vision-card__overlay--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .vision-card__cta {
    align-self: stretch;
    text-align: center;
  }
}

/* Inner pages */
.page {
  min-height: 60vh;
}

.page__head {
  padding-top: var(--space-tight);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-strong);
}

.page__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page__lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.page__body {
  padding-top: 1.75rem;
  padding-bottom: var(--space-section);
}

.page__body h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.page__body h2:first-child {
  margin-top: 0;
}

.page__body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 65ch;
}

.page__body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.page__body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page__body a:hover {
  color: var(--ember);
}

.job-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.job-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.job-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.job-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.layout--cta-wide {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: calc(var(--layout-pad-x) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--layout-pad-x) + env(safe-area-inset-right, 0px));
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: start;
    gap: 2.75rem;
  }
}

.contact-aside__block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-aside__block h2 {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-aside__block p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form-shell {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.page__body .contact-form-shell {
  margin-top: 1.25rem;
}

.contact-layout > .contact-form-shell {
  margin-top: 0;
}

.contact-form-shell__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-form-shell__lead {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.68rem 0.8rem;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.45;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(61, 133, 120, 0.55);
  box-shadow: 0 0 0 3px var(--teal-dim);
}

.form-row-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-actions {
  margin-top: 0.35rem;
}

.form-disclosure {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page__body .dl-grid {
  display: grid;
  gap: 0.85rem 1.5rem;
  margin: 1.25rem 0 1.5rem;
}

@media (min-width: 640px) {
  .page__body .dl-grid {
    grid-template-columns: 10rem 1fr;
  }
}

.page__body .dl-grid dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dim);
}

.page__body .dl-grid dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.stat-band__item {
  padding: 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat-band__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-band__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}

.faq-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.faq-list li {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.faq-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.faq-list p {
  margin: 0;
  font-size: 0.875rem;
}

/* Mega footer */
.site-footer--mega {
  padding-top: 3rem;
}

.footer-mega {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .footer-mega {
    grid-template-columns: minmax(0, 200px) 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.footer-mega__tagline {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 20ch;
}

.footer-mega__contact {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.footer-mega__contact a {
  color: var(--muted);
  text-decoration: none;
}

.footer-mega__contact a:hover {
  color: var(--teal);
}

.footer-mega__cols {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .footer-mega__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-mega__cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-mega__heading {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-mega__list a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-mega__list a:hover {
  color: var(--text);
}

.footer-mega__list a.nav-link--active {
  color: var(--teal);
}

.footer-mega__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  text-align: center;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-mega__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-mega__logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-mega__logo-link:hover {
  opacity: 0.85;
}

/* Reveal on scroll (progressive enhancement: visible if no JS) */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.68s var(--ease-out),
    transform 0.68s var(--ease-out);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Apparition douce sans translation (bandeaux, séparateurs) */
html.js .reveal.reveal--fade {
  opacity: 0;
  transform: none;
  transition: opacity 0.65s var(--ease-out);
}

html.js .reveal.reveal--fade.is-visible {
  opacity: 1;
}

/* Stagger: le bloc reste visible, les enfants apparaissent en cascade */
html.js .reveal.reveal--stagger {
  opacity: 1;
  transform: none;
  transition: none;
}

html.js .reveal.reveal--stagger:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(14px);
}

@keyframes anim-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.js .reveal.reveal--stagger.is-visible > * {
  animation: anim-rise 0.62s var(--ease-out) both;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(1) {
  animation-delay: 0.04s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(2) {
  animation-delay: 0.1s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(3) {
  animation-delay: 0.16s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(4) {
  animation-delay: 0.22s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(5) {
  animation-delay: 0.28s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(6) {
  animation-delay: 0.34s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(7) {
  animation-delay: 0.4s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(8) {
  animation-delay: 0.46s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(9) {
  animation-delay: 0.52s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(10) {
  animation-delay: 0.58s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(11) {
  animation-delay: 0.64s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(12) {
  animation-delay: 0.7s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(13) {
  animation-delay: 0.76s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(14) {
  animation-delay: 0.82s;
}

html.js .reveal.reveal--stagger.is-visible > *:nth-child(15) {
  animation-delay: 0.88s;
}

/* Animations (load and ambient) */
@keyframes hdr-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes orb-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, 14px) scale(1.05);
  }
}

@keyframes orb-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(22px, -10px) scale(1.04);
  }
}

@keyframes grid-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 48px 48px;
  }
}

@keyframes btn-shimmer {
  0% {
    transform: translateX(-120%);
  }
  45%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes ico-nudge {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2px, -2px);
  }
}

@keyframes dot-glow {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.85;
    filter: brightness(1.15);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: hdr-in 0.55s var(--ease-out) both;
  }

  .site-header .logo__img {
    animation: fade-in 0.45s 0.12s both;
  }

  .site-header .nav a:nth-child(1) {
    animation: fade-in 0.4s 0.18s both;
  }

  .site-header .nav a:nth-child(2) {
    animation: fade-in 0.4s 0.24s both;
  }

  .site-header .nav a:nth-child(3) {
    animation: fade-in 0.4s 0.3s both;
  }

  .site-header .nav a:nth-child(4) {
    animation: fade-in 0.4s 0.36s both;
  }

  .site-header .nav-toggle {
    animation: fade-in 0.4s 0.2s both;
  }

  .hero__copy--enter > * {
    animation: anim-rise 0.72s var(--ease-out) both;
  }

  .hero__copy--enter > *:nth-child(1) {
    animation-delay: 0.06s;
  }

  .hero__copy--enter > *:nth-child(2) {
    animation-delay: 0.12s;
  }

  .hero__copy--enter > *:nth-child(3) {
    animation-delay: 0.18s;
  }

  .hero__copy--enter > *:nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero__copy--enter > *:nth-child(5) {
    animation-delay: 0.3s;
  }

  .hero__visual {
    animation: hero-visual-in 0.85s var(--ease-out) 0.2s both;
  }

  .hero__visual img {
    animation: hero-float 6s ease-in-out 1.05s infinite;
  }

  .hero__orb--a {
    animation: orb-drift-a 16s ease-in-out infinite;
  }

  .hero__orb--b {
    animation: orb-drift-b 18s ease-in-out infinite;
  }

  .hero__grid {
    animation: grid-drift 48s linear infinite;
  }

  .hero .btn-primary {
    position: relative;
    overflow: hidden;
  }

  .hero .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      105deg,
      transparent 35%,
      rgba(255, 255, 255, 0.22) 50%,
      transparent 65%
    );
    transform: translateX(-100%);
    animation: btn-shimmer 3.2s ease-in-out infinite;
    animation-delay: 1.4s;
    pointer-events: none;
    z-index: 0;
  }

  .hero .btn-primary > * {
    position: relative;
    z-index: 1;
  }

  .btn__ico {
    animation: ico-nudge 2.4s ease-in-out infinite;
    animation-delay: 0.8s;
  }

  .section__title-dot {
    display: inline-block;
    animation: dot-glow 2.8s ease-in-out infinite;
  }

  .section__title > span.section__title-dot:nth-of-type(1) {
    animation-delay: 0.12s;
  }

  .section__title > span.section__title-dot:nth-of-type(2) {
    animation-delay: 0.28s;
  }

  .section__title > span.section__title-dot:nth-of-type(3) {
    animation-delay: 0.44s;
  }

  .section__title > span.section__title-dot:nth-of-type(4) {
    animation-delay: 0.6s;
  }
}

/* Responsive refinements (mobile, tablet, desktop nav) */
@media (max-width: 639px) {
  :root {
    --header-h: 60px;
    --space-section: 2.85rem;
    --space-tight: 2.2rem;
    --layout-pad-x: clamp(1.35rem, 5.5vw, 2.5rem);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.72rem, 9.5vw, 2.65rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero__visual img {
    filter: drop-shadow(0 14px 32px rgba(12, 12, 14, 0.1)) drop-shadow(0 6px 16px rgba(12, 12, 14, 0.06));
  }

  .section__title--plain {
    max-width: none;
  }

  .page__head {
    padding-bottom: 1rem;
  }

  .page__body {
    padding-top: 1.35rem;
  }

  .page__title {
    font-size: clamp(1.5rem, 7vw, 2.15rem);
  }

  .contact-form-shell {
    padding: 1.2rem 1.25rem;
  }

  .contact-form .btn-primary,
  .form-actions .btn-primary {
    width: 100%;
    min-height: 48px;
  }

  .hub-card {
    min-height: 0;
    padding: 1.2rem 1.05rem;
  }

  .stat {
    padding: 1.1rem 1rem 1.1rem 0.95rem;
  }

  .vision-card {
    min-height: clamp(168px, 46vw, 240px);
  }

  .marquee__track {
    font-size: clamp(0.58rem, 2.8vw, 0.6875rem);
    letter-spacing: 0.12em;
  }

  .cta__links {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .logo__img {
    max-height: 34px;
    max-width: min(200px, calc(100vw - 5rem));
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .nav {
    gap: 0.85rem;
  }

  .nav a {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
}

@media (min-width: 1400px) {
  :root {
    --max: 1220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js .reveal.reveal--stagger:not(.is-visible) > *,
  html.js .reveal.reveal--stagger.is-visible > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .site-header,
  .site-header .logo__img,
  .site-header .nav a,
  .site-header .nav-toggle,
  .hero__copy--enter > *,
  .hero__visual,
  .hero__visual img,
  .hero__orb--a,
  .hero__orb--b,
  .hero__grid,
  .hero .btn-primary::after,
  .btn__ico,
  .section__title-dot {
    animation: none !important;
  }

  .vision-card:hover {
    transform: none !important;
    box-shadow: none;
  }

  .vision-card__media img,
  .vision-card:hover .vision-card__media img {
    transform: none !important;
  }
}
