/* =========================================================
   Ecom Expert — site vitrine
   ========================================================= */

:root {
  --bg: #06070a;
  --bg-2: #0b0c10;
  --ink: #eef0f3;
  --muted: #b4bac3;
  --dim: #9aa0a9;
  --faint: #6d737c;
  --accent: #ffc300;
  --accent-ink: #06070a;
  --neon: #6dff9c;
  --neon-2: #39ff7a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .18);
  --container: 1480px;
  --gutter: clamp(20px, 4vw, 64px);
  --nav-h: 76px;
  --font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --silver: linear-gradient(180deg, #ffffff 0%, #dde1e6 36%, #858b94 54%, #c9ced5 72%, #f4f6f8 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

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

/* ---------- particle canvas ---------- */
#particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
main, .footer { position: relative; z-index: 1; }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow--center { text-align: center; }

.h2 {
  font-size: clamp(46px, 7.6vw, 124px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
  font-variation-settings: "opsz" 144;
}
.h3 {
  font-size: clamp(40px, 5.6vw, 96px);
  font-weight: 640;
  line-height: .93;
  letter-spacing: -.04em;
  font-variation-settings: "wdth" 90;
}
.h3--sm { font-size: clamp(34px, 4vw, 68px); font-weight: 680; font-variation-settings: "wdth" 85; }
.line { display: block; }

.silver,
.silver .w {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #ffd23f; box-shadow: 0 10px 40px -10px rgba(255, 195, 0, .55); }
.btn--ghost { border: 1px solid var(--line-3); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); }
.btn--sm { height: 40px; padding: 0 20px; font-size: 15px; }

/* ---------- reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity .9s var(--ease-out) var(--d, 0s),
    transform 1s var(--ease-out) var(--d, 0s),
    filter .9s var(--ease-out) var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }

[data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.35em);
  filter: blur(14px);
  transition:
    opacity .9s var(--ease-out),
    transform 1.1s var(--ease-out),
    filter 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0s));
}
[data-split].in .w { opacity: 1; transform: none; filter: blur(0); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 10, .62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo img { height: 42px; width: auto; }
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 34px;
  font-size: 15px;
  color: var(--muted);
}
.nav__links a { position: relative; transition: color .25s; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(6, 7, 10, .96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  opacity: 0;
  transition: opacity .35s;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-size: 48px;
  font-weight: 680;
  font-variation-settings: "wdth" 88;
  letter-spacing: -.04em;
  line-height: 1.15;
}
.mobile-menu .btn { align-self: flex-start; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  padding: calc(var(--nav-h) + 40px) 0 clamp(24px, 4vh, 44px);
}
.hero__shape {
  position: absolute;
  top: calc(var(--nav-h) + 4vh);
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  width: min(40vw, 640px);
  height: 52%;
  pointer-events: none;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.hero__title {
  font-size: clamp(54px, 10.4vw, 168px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.045em;
  font-variation-settings: "wdth" 88, "opsz" 144;
}
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.hero__intro { max-width: 500px; }
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 30px;
}
.hero__ctas { display: flex; gap: 12px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 44px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  position: relative;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) calc(var(--d, 0s) + .2s);
}
.stat.in::before { transform: scaleX(1); }
.stat__num {
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: .95;
  font-variation-settings: "wdth" 85;
}
.stat__label { font-size: 15px; color: var(--ink); opacity: .9; }

/* =========================================================
   SECTEURS (trusted)
   ========================================================= */
.trusted { padding: 18vh 0 16vh; }
.trusted .h2 { max-width: 12ch; }

.marquee {
  margin: 12vh 0 14vh;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 30px 32px;
  white-space: nowrap;
  color: rgba(238, 240, 243, .78);
}
.marquee__list .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
.m-script { font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive; font-size: 40px; font-style: italic; }
.m-box { font-size: 18px; font-weight: 600; letter-spacing: .18em; border: 1.5px solid currentColor; padding: 8px 14px; }
.m-thin { font-size: 34px; font-weight: 300; letter-spacing: .12em; }
.m-wide { font-size: 30px; font-weight: 500; letter-spacing: .26em; }
.m-serif { font-family: "Didot", "Bodoni 72", Georgia, serif; font-size: 34px; font-style: italic; }
.m-mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 28px; letter-spacing: .04em; }

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

.bigstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.bigstat { display: flex; flex-direction: column; gap: 10px; }
.bigstat:nth-child(2) { margin-top: 14vh; }
.bigstat:nth-child(3) { margin-top: 28vh; }
.bigstat__num {
  font-size: clamp(72px, 9.6vw, 184px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .85;
  font-variation-settings: "wdth" 70, "opsz" 144;
}
.bigstat__num em { font-style: normal; color: var(--accent); }
.bigstat__label { font-size: 20px; color: var(--ink); max-width: 18ch; line-height: 1.35; }

/* =========================================================
   SERVICES / PILIERS
   ========================================================= */
.pillars { padding: 16vh 0 10vh; }
.pillars__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 10vh;
}
.pillars__head .eyebrow,
.pillars__head .h2 { grid-column: 1 / -1; }
.pillars__sub {
  grid-column: 2;
  max-width: 440px;
  font-size: 19px;
  color: var(--muted);
}

.pillars__body {
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  gap: 48px;
}
.pillars__sticky {
  position: sticky;
  top: calc(50vh - 150px);
  height: 300px;
  display: flex;
  align-items: center;
}
.pillars__visual {
  position: absolute;
  left: -6%;
  top: 50%;
  width: 104%;
  height: 420px;
  transform: translateY(-50%);
  pointer-events: none;
}
.pillars__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-2);
}
.pillars__nav button {
  position: relative;
  display: block;
  text-align: left;
  padding: 8px 0 8px 22px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--dim);
  transition: color .35s, transform .5s var(--ease-out), font-weight .35s;
}
.pillars__nav button::before {
  content: "";
  position: absolute;
  left: -1px; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .5s var(--ease-out);
}
.pillars__nav button:hover { color: var(--ink); }
.pillars__nav button.is-active {
  color: var(--accent);
  font-weight: 600;
  transform: translateX(8px);
}
.pillars__nav button.is-active::before { transform: scaleY(1); }

.pillar {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 6vh 0;
}
.pillar__visual { display: none; }
.pillar .h3 { max-width: 11ch; }
.pillar__text { font-size: 20px; color: var(--muted); max-width: 520px; line-height: 1.55; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 620px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .3s, background-color .3s;
}
.chips li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
.chips li:hover { border-color: rgba(255, 195, 0, .45); background: rgba(255, 195, 0, .05); }

/* =========================================================
   APPROCHE (thesis)
   ========================================================= */
.thesis { padding: 18vh 0 14vh; }
.thesis__title {
  font-size: clamp(50px, 10vw, 190px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.05em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 14vh;
}
.thesis__title .line--offset { text-align: right; }

.thesis__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1120px;
  margin: 0 auto;
}
.thesis__grid::before,
.thesis__grid::after {
  content: "";
  position: absolute;
  background: var(--line);
  pointer-events: none;
}
.thesis__grid::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.thesis__grid::after { top: 50%; left: 0; right: 0; height: 1px; }
.thesis__bolt {
  position: absolute;
  left: 50%; top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.thesis__item {
  position: relative;
  z-index: 1;
  padding: 9vh 8% 9vh 12%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.thesis__item p { color: var(--muted); max-width: 400px; font-size: 17px; }

/* =========================================================
   PROMESSE (quote)
   ========================================================= */
.quote {
  position: relative;
  min-height: 130vh;
  display: flex;
  align-items: center;
  padding: 14vh 0;
}
.quote__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: min(86vw, 820px);
  height: min(86vw, 820px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.quote__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.quote__mark { width: 64px; color: var(--accent); margin-bottom: 40px; }
.quote__text {
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.025em;
  max-width: 1080px;
}
.quote__text .w {
  color: var(--ink);
  opacity: .18;
  transition: opacity .5s var(--ease-out);
}
.quote__text .w.lit { opacity: 1; }
.quote__by {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
}
.quote__by strong { font-weight: 600; }
.quote__by span { color: var(--dim); }

/* =========================================================
   À PROPOS
   ========================================================= */
.about { padding: 18vh 0 16vh; overflow: hidden; }
.about__title { margin-bottom: 9vh; }
.about__neon-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.neon {
  flex: none;
  color: var(--neon);
  text-shadow:
    0 0 6px rgba(109, 255, 156, .55),
    0 0 22px rgba(57, 255, 122, .45),
    0 0 60px rgba(57, 255, 122, .3);
  padding-bottom: .06em;
}
.neon.in { animation: flicker 1.6s steps(1) .3s both; }
@keyframes flicker {
  0% { opacity: .2; } 8% { opacity: 1; } 12% { opacity: .35; } 18% { opacity: 1; }
  40% { opacity: .85; } 44% { opacity: 1; } 100% { opacity: 1; }
}
.pulse {
  flex: 1 1 auto;
  min-width: 120px;
  height: .9em;
  margin-left: .25em;
  overflow: visible;
}
.pulse path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pulse__base { stroke: rgba(109, 255, 156, .22); stroke-width: 2; }
.pulse__beam {
  stroke: var(--neon);
  stroke-width: 3;
  filter: drop-shadow(0 0 6px rgba(57, 255, 122, .9));
  stroke-dasharray: 140 1000;
  stroke-dashoffset: 140;
  animation: beam 2.8s linear infinite;
}
@keyframes beam { to { stroke-dashoffset: -1000; } }

.about__copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1180px;
  margin-left: auto;
  margin-bottom: 14vh;
}
.about__lead { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.about__text { font-size: 18px; color: var(--muted); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value { display: flex; flex-direction: column; gap: 18px; }
.value:nth-child(2) { margin-top: 64px; }
.value:nth-child(3) { margin-top: 128px; }
.value__icon {
  width: 46px; height: 46px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  margin-bottom: 8px;
}
.value__icon .fill { fill: var(--accent); stroke: none; }
.value__line {
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) calc(var(--d, 0s) + .25s);
}
.value.in .value__line { transform: scaleX(1); }
.value h3 { font-size: clamp(36px, 4vw, 64px); font-weight: 680; letter-spacing: -.045em; line-height: 1; margin-top: 10px; font-variation-settings: "wdth" 88; }
.value p { color: var(--muted); max-width: 340px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 16vh 0 18vh; }
.contact__head {
  position: relative;
  text-align: center;
  margin-bottom: 9vh;
}
.contact__shape {
  position: absolute;
  left: 50%; top: -6%;
  width: min(80vw, 640px);
  height: 340px;
  transform: translateX(-50%);
  pointer-events: none;
}
.contact__title {
  position: relative;
  font-size: clamp(56px, 11vw, 200px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.05em;
  font-variation-settings: "opsz" 144;
}
.contact__sub {
  position: relative;
  max-width: 560px;
  margin: 36px auto 0;
  font-size: 19px;
  color: var(--muted);
}

.form {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: rgba(11, 12, 16, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend {
  font-size: 13px;
  color: var(--muted);
  padding: 0;
}
.field legend { margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font: inherit;
  font-size: 19px;
  padding: 8px 0 14px;
  border-radius: 0;
  transition: border-color .3s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input.invalid, .field textarea.invalid { border-bottom-color: #ff6b6b; }

.pick { display: flex; flex-wrap: wrap; gap: 10px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  transition: all .25s;
}
.pick label:hover span { border-color: var(--line-3); color: var(--ink); }
.pick input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__status { font-size: 15px; color: var(--muted); min-height: 1.4em; }
.form__status.ok { color: var(--neon); }
.form__status.err { color: #ff8a8a; }
.form__foot .btn { margin-left: auto; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: clamp(200px, 30vh, 300px);
  overflow: hidden;
}
.footer__shape {
  position: absolute;
  left: 50%; top: clamp(28px, 5vh, 56px);
  width: min(70vw, 480px);
  height: clamp(130px, 20vh, 200px);
  transform: translateX(-50%);
  pointer-events: none;
}
.footer__row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.footer__logo img { height: 36px; width: auto; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--muted);
}
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { font-size: 13px; color: var(--dim); }

.footer__giant {
  margin-top: 13vh;
  text-align: center;
  line-height: .76;
  height: .62em;
  font-size: clamp(48px, 17vw, 300px);
  overflow: hidden;
  user-select: none;
}
.footer__giant span {
  display: inline-block;
  font-weight: 760;
  letter-spacing: -.06em;
  font-variation-settings: "wdth" 100, "opsz" 144;
  background: linear-gradient(180deg, #f4f6f8 0%, #c9ced5 30%, #8b919a 70%, #4a4f57 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(40%);
  transition: transform 1.6s var(--ease-out);
}
.footer__giant.in span { transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__stats { width: 100%; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .hero__shape { width: 62vw; height: 46%; top: calc(var(--nav-h) + 30px); opacity: .9; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo img { height: 36px; }

  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero__shape { left: var(--gutter); right: var(--gutter); width: auto; top: calc(var(--nav-h) + 8px); height: 30vh; }
  .hero__inner { justify-content: flex-end; }
  .hero__title { margin-top: 28vh; }
  .hero__lead { font-size: 17px; }
  .hero__bottom { align-items: stretch; }
  .hero__intro { max-width: 560px; }
  .hero__ctas { flex-wrap: wrap; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }

  .bigstats { grid-template-columns: 1fr; gap: 9vh; }
  .bigstat:nth-child(2), .bigstat:nth-child(3) { margin-top: 0; }
  .bigstat:nth-child(2) { padding-left: 18%; }
  .bigstat:nth-child(3) { padding-left: 36%; }

  .pillars__head { grid-template-columns: 1fr; }
  .pillars__sub { grid-column: 1; }
  .pillars__body { grid-template-columns: 1fr; }
  .pillars__side { display: none; }
  .pillar { min-height: 0; padding: 8vh 0; }
  .pillar__visual { display: block; height: 240px; width: 100%; margin-bottom: 8px; }
  .pillar__text { font-size: 18px; }

  .thesis__title .line--offset { text-align: left; padding-left: 12vw; }
  .thesis__grid { grid-template-columns: 1fr; }
  .thesis__grid::before { display: none; }
  .thesis__grid::after { display: none; }
  .thesis__item { padding: 7vh 0; border-bottom: 1px solid var(--line); }
  .thesis__bolt { width: 160%; height: 100%; opacity: .5; }

  .about__copy { grid-template-columns: 1fr; gap: 28px; }
  .values { grid-template-columns: 1fr; gap: 64px; }
  .value:nth-child(2), .value:nth-child(3) { margin-top: 0; }

  .form__row { grid-template-columns: 1fr; }
  .contact__head { padding-top: 150px; }
  .contact__shape { top: 0; height: 130px; width: calc(100% - 2 * var(--gutter)); }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__links { margin: 0; }
}

@media (max-width: 520px) {
  .btn { height: 50px; padding: 0 22px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .marquee__list { gap: 40px; padding: 22px 20px; }
  .m-script { font-size: 32px; } .m-thin, .m-serif { font-size: 26px; } .m-wide { font-size: 22px; } .m-mono { font-size: 22px; }
  .chips li { font-size: 14px; padding: 9px 14px; }
  .about__neon-row { flex-wrap: wrap; }
  .pulse { flex-basis: 100%; height: 40px; margin: 8px 0 0; }
  .form__foot .btn { width: 100%; justify-content: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-split] .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .marquee__track { animation: none; }
  .pulse__beam { animation: none; stroke-dasharray: none; }
  .neon.in { animation: none; }
  .stat::before, .value__line { transform: none; transition: none; }
  .footer__giant span { transform: none; transition: none; }
  .quote__text .w { opacity: 1; }
}
