/* ==========================================================================
   NATUR'O — Design System
   Fluid modular type scale (1.25 minor third mobile → 1.333 perfect fourth desktop)
   ========================================================================== */

:root {
  /* --- Brand palette --- */
  --cyan: #20b9df;
  --cyan-600: #0ca2c9;
  --cyan-700: #0a86a6;
  --cyan-050: #eaf8fc;
  --deep: #073d55;
  --deep-800: #052f42;
  --deep-900: #03212f;
  --ink: #16232b;
  --ink-2: #33454f;
  --muted: #566b78;
  --muted-2: #7d8f9a;
  --line: rgba(7, 61, 85, 0.14);
  --line-soft: rgba(7, 61, 85, 0.08);
  --white: #fff;
  --soft: #f4fafc;
  --soft-2: #edf5f8;
  --sand: #f7f5f2;

  /* --- Elevation: layered, never uniform --- */
  --sh-sm: 0 1px 2px rgba(7, 61, 85, .06), 0 2px 6px rgba(7, 61, 85, .05);
  --sh-md: 0 2px 4px rgba(7, 61, 85, .05), 0 10px 26px rgba(7, 61, 85, .09);
  --sh-lg: 0 4px 8px rgba(7, 61, 85, .05), 0 22px 54px rgba(7, 61, 85, .14);
  --sh-xl: 0 8px 16px rgba(7, 61, 85, .06), 0 38px 84px rgba(7, 61, 85, .18);

  /* --- Fluid type scale --- */
  --fs-display: clamp(2.85rem, 1.30rem + 5.2vw, 6.25rem);
  /* Homepage hero headline: 40% smaller than --fs-display (every term x0.6). */
  --fs-hero:    clamp(1.71rem, 0.78rem + 3.12vw, 3.75rem);
  --fs-h1:      clamp(2.30rem, 1.35rem + 3.1vw, 4.10rem);
  --fs-h2:      clamp(1.85rem, 1.24rem + 2.0vw, 3.05rem);
  --fs-h3:      clamp(1.35rem, 1.12rem + 0.75vw, 1.80rem);
  --fs-h4:      clamp(1.12rem, 1.02rem + 0.33vw, 1.32rem);
  --fs-lead:    clamp(1.06rem, 0.98rem + 0.30vw, 1.28rem);
  --fs-body:    clamp(0.975rem, 0.94rem + 0.14vw, 1.06rem);
  --fs-sm:      0.9rem;
  --fs-xs:      0.795rem;
  --fs-kicker:  0.735rem;

  /* --- Rhythm --- */
  --lh-display: 0.94;
  --lh-tight: 1.06;
  --lh-snug: 1.18;
  --lh-body: 1.66;

  --tr-display: -0.035em;
  --tr-tight: -0.022em;
  --tr-normal: -0.012em;
  --tr-kicker: 0.19em;

  /* --- Space (4px base, geometric) --- */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 88px;  --s-10: 120px;
  --sec-y: clamp(72px, 9vw, 132px);

  /* --- Radii: deliberately varied, not uniform --- */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --hdr-h: 74px;
  --max: 1280px;
  --max-narrow: 760px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-normal);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main > section {
  content-visibility: auto;
  contain-intrinsic-size: 820px;
}

main > .hero {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--cyan); color: #fff; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Type primitives
   ========================================================================== */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: var(--tr-kicker);
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: var(--s-4);
}

.kicker::before {
  content: "";
  width: 22px; height: 1.5px;
  background: currentColor;
  opacity: .55;
}

.kicker--light { color: rgba(255, 255, 255, .82); }

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-tight);
  text-transform: uppercase;
  font-weight: 900;
}

.section-title em { font-style: normal; color: var(--cyan); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: var(--s-5); }

/* ==========================================================================
   Icons
   ========================================================================== */

.ico {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--lg { width: 34px; height: 34px; stroke-width: 1.45; }
.ico--xl { width: 44px; height: 44px; stroke-width: 1.3; }

.section-icon {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: var(--s-5);
  transition: transform .32s var(--ease), filter .32s ease, opacity .22s ease;
}

.section-icon--light {
  filter: brightness(0) saturate(100%) invert(62%) sepia(95%) saturate(1099%) hue-rotate(151deg) brightness(95%) contrast(84%);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--cyan);
  --btn-fg: #fff;
  --btn-bd: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 15px 30px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .22s ease, color .22s ease, border-color .22s ease;
  will-change: transform;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }

.btn--primary:hover { background: var(--cyan-600); border-color: var(--cyan-600); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--deep); --btn-bd: rgba(7,61,85,.28); }
.btn--outline:hover { --btn-bg: var(--deep); --btn-fg: #fff; --btn-bd: var(--deep); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--deep); --btn-bd: #fff; }

.btn--sm { padding: 11px 20px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--cyan-700);
  padding-bottom: 3px;
  border-bottom: 1.5px solid rgba(32, 185, 223, .3);
  transition: gap .3s var(--ease), border-color .25s ease, color .25s ease;
}

.link-arrow:hover { gap: var(--s-3); border-color: var(--cyan); color: var(--cyan-600); }
.link-arrow .ico { width: 17px; height: 17px; stroke-width: 2; }

/* ==========================================================================
   Header
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(12, 162, 201, .96);
  color: #fff;
  backdrop-filter: saturate(150%) blur(12px);
  transition: background .35s ease, box-shadow .35s ease;
}

.topbar.is-stuck {
  background: rgba(7, 61, 85, .9);
  box-shadow: 0 10px 34px rgba(7, 61, 85, .2);
}

.topbar__inner {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.6vw, 32px);
  transition: min-height .28s var(--ease);
}

.topbar.is-stuck .topbar__inner { min-height: 66px; }

.brand { display: inline-grid; grid-template-columns: 38px auto; align-items: center; gap: 10px; }
.brand img { width: 38px; }
.brand__name { display: block; font-size: 1rem; font-weight: 800; letter-spacing: .14em; line-height: 1; }
.brand__tag { display: block; margin-top: 5px; font-size: .55rem; font-weight: 600; letter-spacing: .21em; text-transform: uppercase; opacity: .88; }

.nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); }

.nav a {
  position: relative;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .015em;
  padding: 9px 0;
  opacity: .9;
  transition: opacity .2s ease, color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--ease);
}

.nav a:hover { opacity: 1; color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { opacity: 1; font-weight: 800; }

.nav-actions { display: flex; align-items: center; gap: var(--s-2); }

.social-links {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: transform .26s var(--ease), background .22s ease, border-color .22s ease, color .22s ease;
}

.social-links .ico {
  width: 18px;
  height: 18px;
}

.social-links--top {
  padding-right: var(--s-2);
  margin-right: var(--s-1);
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.social-links--top a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
}

.social-links--top a:hover {
  transform: translateY(-2px);
  background: #fff;
  color: var(--deep);
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  transition: background .22s ease;
}

.icon-btn:hover { background: rgba(255, 255, 255, .17); }
.icon-btn .ico { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--deep);
  font-size: .655rem;
  font-weight: 800;
  line-height: 1;
}

.nav-toggle { display: none; }

.nav-progress {
  position: absolute;
  left: clamp(20px, 5vw, 56px);
  right: clamp(20px, 5vw, 56px);
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}

.nav-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  opacity: .9;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 86vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -1px;
  background: linear-gradient(178deg, #eaf8fc 0%, #eaf6fb 58%, #dcf0f7 100%);
}

.hero__media {
  position: absolute;
  inset: -24px 0 0;
  z-index: -2;
  background: url("../hero-products-glacier.jpg") 73% 66% / cover no-repeat;
  will-change: transform;
  /* Dissolve the photograph into the gradient at the bottom edge, so the hero
     and the engagements band below it meet with no visible seam at all. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(234, 248, 252, .72) 0%, rgba(248, 253, 255, 0) 18%),
    linear-gradient(96deg, #f8fdff 0%, rgba(244, 252, 255, .91) 27%,
              rgba(240, 250, 254, .56) 44%, rgba(240, 250, 254, 0) 64%);
}

.hero__copy { max-width: 640px; padding-block: clamp(56px, 9vw, 104px); }

.hero h1 {
  font-size: var(--fs-hero);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--deep);
}

.hero h1 em { font-style: normal; color: var(--cyan); display: block; }

.hero__copy .lead { margin-top: clamp(24px, 3vw, 34px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: clamp(30px, 3.6vw, 42px); }

/* Feature strip */
.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.feature-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.mini-feature {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: clamp(20px, 2.4vw, 30px) clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line-soft);
}

.mini-feature:last-child { border-right: 0; }
.mini-feature .ico { color: var(--cyan); }

.mini-feature span {
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .005em;
  color: var(--deep);
}

/* ==========================================================================
   Parallax banner sections
   ========================================================================== */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 52vh, 520px);
  color: #fff;
}

.band__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 33, 47, .82) 0%, rgba(3, 33, 47, .58) 46%, rgba(3, 33, 47, .2) 100%);
}

.band--plastic .band__bg { background-image: url("../plastic-underwater.jpg"); }
.band--plastic .section-title { max-width: 16ch; font-size: var(--fs-h1); }
.band--plastic .section-title em { color: var(--cyan); }

/* --- Full-screen video band ------------------------------------------------
   The still (.band__bg) paints first and stays underneath, so the section is
   never empty while the file streams in — and it is all that ever loads on
   narrow screens, where a 1.5 MB background video is not worth the data.
   -------------------------------------------------------------------------- */

.band--video {
  min-height: 100svh;
  align-items: flex-start;
}

.band--video .shell {
  padding-top: clamp(84px, 14vh, 160px);
  padding-bottom: clamp(40px, 6vh, 80px);
  text-align: center;
}

.band--video .section-title {
  max-width: 22ch;
  margin-inline: auto;
}

.band__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}

.band__video.is-playing { opacity: 1; }

/* Top-weighted scrim: the copy sits at the top, so that is where the frame
   needs darkening. The bottom stop keeps the section from ending abruptly. */
.band--video .band__scrim {
  background: linear-gradient(180deg,
    rgba(3, 33, 47, .86) 0%,
    rgba(3, 33, 47, .58) 26%,
    rgba(3, 33, 47, .18) 52%,
    rgba(3, 33, 47, .10) 78%,
    rgba(3, 33, 47, .34) 100%);
}

/* --- Word-by-word fade ---------------------------------------------------
   Each word carries its own --w index, so the line assembles left to right
   once the headline itself is properly on screen. The hidden state is gated
   on .wf-armed, which the script adds synchronously at boot — so the words
   are never hidden by CSS that JS cannot un-hide, and there is no flash if
   the Motion bundle is slow.
   ------------------------------------------------------------------------ */

[data-words] .wfade { display: inline-block; }

.wf-armed .wfade {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition:
    opacity .8s ease,
    transform .95s cubic-bezier(.22, 1, .36, 1),
    filter .8s ease;
}

.wf-armed [data-wordfade].is-in .wfade {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: calc(var(--w, 0) * 150ms);
}

/* Same mechanism for whole elements rather than words */
.wf-armed [data-step] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .7s ease,
    transform .9s cubic-bezier(.22, 1, .36, 1);
}

.wf-armed [data-steps].is-in [data-step] {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--s, 0) * 170ms);
}

@media (max-width: 767px) {
  .band--video { min-height: 88svh; }
}

@media (prefers-reduced-motion: reduce) {
  .band__video { display: none; }
  .wf-armed .wfade,
  .wf-armed [data-step] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats { padding-block: var(--sec-y); background: var(--white); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}

.stat {
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--cyan);
  background:
    linear-gradient(180deg, rgba(234, 248, 252, .8) 0%, #fff 64%),
    radial-gradient(circle at 12% 12%, rgba(32, 185, 223, .12), transparent 36%);
  min-height: 280px;
  transition: transform .32s var(--ease), box-shadow .32s ease, border-color .22s ease;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: rgba(32, 185, 223, .24);
  box-shadow: var(--sh-md);
}

.stat .ico {
  width: 40px;
  height: 40px;
  color: var(--deep);
  margin-bottom: var(--s-5);
  transition: transform .32s var(--ease), filter .32s ease;
}

.stat .section-icon {
  filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(1165%) hue-rotate(161deg) brightness(91%) contrast(97%);
}

.stat:hover .ico {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 8px 14px rgba(7, 61, 85, .18));
}

.stat:hover .section-icon {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(1165%) hue-rotate(161deg) brightness(91%) contrast(97%)
          drop-shadow(0 8px 14px rgba(7, 61, 85, .18));
}

.stat strong {
  display: block;
  font-size: clamp(2.05rem, 1.4rem + 2.4vw, 3.35rem);
  line-height: 1;
  letter-spacing: var(--tr-display);
  font-weight: 900;
  color: var(--deep);
}

.stat span {
  display: block;
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  line-height: 1.58;
  color: var(--muted);
}

/* ==========================================================================
   Technology
   ========================================================================== */

.tech {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(88px, 10vw, 150px);
  color: #fff;
}

.tech__bg {
  position: absolute; inset: -12% 0; z-index: -2;
  background: url("../technology-product-lifestyle.jpg") center / cover no-repeat;
  will-change: transform;
}

.tech__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(102deg, rgba(3, 33, 47, .93) 0%, rgba(5, 47, 66, .84) 48%, rgba(7, 61, 85, .52) 100%);
}

.tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}

.tech .lead { color: rgba(255, 255, 255, .8); }

.tech__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.tech-item {
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.4vw, 30px);
  background: rgba(3, 33, 47, .42);
  backdrop-filter: blur(6px);
  transition: background .35s ease;
}

.tech-item:hover { background: rgba(32, 185, 223, .18); }
.tech-item .ico {
  width: 40px;
  height: 40px;
  color: var(--cyan);
  margin-bottom: var(--s-4);
  transition: transform .32s var(--ease), filter .32s ease;
}

.tech-item:hover .ico {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 8px 16px rgba(32, 185, 223, .34));
}

.tech-item:hover .section-icon {
  transform: translateY(-2px) scale(1.06);
}

.tech-item:hover .section-icon--light {
  filter: brightness(0) saturate(100%) invert(62%) sepia(95%) saturate(1099%) hue-rotate(151deg) brightness(95%) contrast(84%)
          drop-shadow(0 8px 16px rgba(32, 185, 223, .34));
}

.tech-item h3 {
  font-size: var(--fs-h4);
  line-height: 1.22;
  letter-spacing: var(--tr-tight);
  font-weight: 800;
}

.tech-item p {
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: rgba(255, 255, 255, .68);
}

/* ==========================================================================
   Use cases
   ========================================================================== */

.uses {
  padding-block: var(--sec-y);
  background:
    linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.uses__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 26px);
}

.use-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  will-change: transform;
  /* springy overshoot on the way up, calm settle on the way back */
  transition: transform .5s cubic-bezier(.22, 1.4, .36, 1), box-shadow .45s var(--ease);
}

.use-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); }

.use-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }

.use-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

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

.use-card__badge {
  position: absolute;
  left: var(--s-4); bottom: var(--s-4);
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  color: var(--cyan-700);
  box-shadow: var(--sh-sm);
}

.use-card__badge .ico { width: 23px; height: 23px; }

.use-card__body { padding: clamp(20px, 2.2vw, 28px); }

.use-card h3 {
  font-size: var(--fs-h3);
  line-height: 1.16;
  letter-spacing: var(--tr-tight);
  text-transform: uppercase;
  color: var(--deep);
}

.use-card p {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--muted);
}

/* ==========================================================================
   Products
   ========================================================================== */

.products { padding-block: var(--sec-y); background: #fff; }

.products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 62px);
}

.products__head .section-head { margin-bottom: 0; }

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  will-change: transform;
  transition: transform .5s cubic-bezier(.22, 1.4, .36, 1),
              box-shadow .45s var(--ease), border-color .3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 185, 223, .5);
  box-shadow: var(--sh-lg);
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .92;
  padding: clamp(20px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 50% 38%, rgba(32, 185, 223, .14), transparent 42%),
    linear-gradient(168deg, var(--soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-soft);
}

.product-card__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform .65s var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.05) translateY(-4px); }

.tag {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  padding: 5px 11px;
  border-radius: var(--r-xs);
  background: var(--deep);
  color: #fff;
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tag--accent { background: var(--cyan); }

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 2vw, 24px);
  gap: var(--s-3);
}

.product-card__name {
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: var(--tr-tight);
  text-transform: uppercase;
  color: var(--deep);
}

.product-card__tagline {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted);
  min-height: 2.6em;
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 58px;
  align-content: flex-start;
}

.product-card__features li {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--cyan-050);
  color: var(--cyan-700);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.price {
  font-size: var(--fs-h4);
  font-weight: 800;
  letter-spacing: var(--tr-tight);
  color: var(--cyan-700);
}

.price small { font-size: .66em; font-weight: 700; opacity: .72; }

.swatches { display: flex; gap: 7px; }

.swatch {
  width: 17px; height: 17px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
}

.swatch--black { background: #1c1c1c; border-color: #1c1c1c; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  width: fit-content;
}

.qty button {
  width: 34px; height: 34px;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep);
  cursor: pointer;
  transition: background .2s ease;
}

.qty button:hover { background: var(--soft-2); }
.qty span { min-width: 30px; text-align: center; font-size: var(--fs-sm); font-weight: 700; }

.product-card__actions { margin-top: auto; display: grid; gap: var(--s-2); padding-top: var(--s-2); }

/* ==========================================================================
   Certifications
   ========================================================================== */

.certs {
  padding-block: var(--sec-y);
  background: linear-gradient(180deg, var(--deep-900) 0%, var(--deep) 100%);
  color: #fff;
}

.certs__head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 68px); }
.certs__head .lead { color: rgba(255, 255, 255, .72); margin-top: var(--s-5); }

.certs__mark { width: 56px; margin-bottom: var(--s-4); }

.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 26px);
}

.cert-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.8vw, 34px);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-md);
  transition: background .35s ease, border-color .35s ease, transform .35s var(--ease);
}

.cert-card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(32, 185, 223, .48);
  transform: translateY(-4px);
}

/* The certification marks are supplied as white-on-transparent artwork,
   so they sit directly on the dark card — never inside a white tile. */
.cert-card__badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 54px;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-sizing: content-box;
}

.cert-card__badge img {
  max-height: 100%;
  max-width: 152px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.cert-card h3 {
  font-size: var(--fs-h4);
  line-height: 1.24;
  letter-spacing: var(--tr-tight);
  text-transform: uppercase;
}

.cert-card p {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

.cert-card__note {
  margin-top: auto;
  padding-top: var(--s-4);
  font-size: var(--fs-xs) !important;
  color: rgba(255, 255, 255, .48) !important;
  font-style: italic;
}

/* ==========================================================================
   Closing CTA + services
   ========================================================================== */

.closing {
  position: relative;
  padding-block: var(--sec-y);
  background: var(--soft);
  overflow: hidden;
}

.closing h2 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--tr-tight); text-transform: uppercase; color: var(--deep); }
.closing .lead { margin-top: var(--s-5); }
.closing__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: clamp(28px, 3vw, 38px); }

.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: clamp(40px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.service { display: flex; align-items: center; gap: var(--s-4); }
.service .ico { color: var(--cyan); }
.service span { font-size: var(--fs-xs); font-weight: 700; line-height: 1.45; color: var(--deep); }

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

.site-footer {
  background: var(--deep-900);
  color: rgba(255, 255, 255, .66);
  padding-block: clamp(52px, 6vw, 76px) var(--s-6);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-footer .brand { color: #fff; }
.site-footer__about { margin-top: var(--s-5); max-width: 38ch; line-height: 1.7; }

.site-footer .social-links--footer {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: var(--s-5);
}

.site-footer .social-links--footer a {
  min-height: 38px;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.site-footer .social-links--footer a:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 185, 223, .42);
  background: rgba(32, 185, 223, .12);
  color: #fff;
}

.site-footer h4 {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--s-4);
}

.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--cyan); }

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding-top: var(--s-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .42);
}

/* ==========================================================================
   Motion primitives
   ========================================================================== */

.js-ready .reveal,
.js-ready .stagger > * { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .products__grid, .certs__grid, .uses__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__grid { grid-template-columns: 1fr; }
  .feature-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .mini-feature:nth-child(2) { border-right: 0; }
  .mini-feature:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .services { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-5); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --sec-y: clamp(60px, 9vw, 88px); }

  .topbar__inner { grid-template-columns: auto 1fr auto; min-height: 68px; }
  .nav-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav-toggle {
    display: grid; place-items: center;
    grid-column: 3; grid-row: 1;
    justify-self: end;
    width: 40px; height: 40px;
    border: 0; border-radius: var(--r-pill);
    background: transparent; cursor: pointer;
  }
  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
    padding-bottom: var(--s-4);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .nav a::after { display: none; }

  .stats__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__media { inset: -18px 0 0; opacity: .5; background-position: 66% 62%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(234, 248, 252, .68) 0%, rgba(248,253,255,.95) 30%, rgba(240,250,254,.55) 100%);
  }
  .feature-strip { margin-top: -30px; }
}

@media (max-width: 620px) {
  .products__grid, .certs__grid, .uses__grid,
  .feature-strip__inner, .tech__specs,
  .services, .site-footer__grid { grid-template-columns: 1fr; }
  .social-links--top { display: none; }
  .mini-feature { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .mini-feature:last-child { border-bottom: 0; }
  .btn { width: 100%; }
  .hero__actions .btn, .closing__actions .btn { width: 100%; }
}

/* ==========================================================================
   Catalogue — immersive full-bleed band with scroll parallax

   Same construction as the Notre mission / Technologie bands: an oversized
   background layer that data-parallax drifts, a gradient scrim for legibility,
   and content revealed with the shared .stagger choreography.

   The photo puts the subject right of centre, so the scrim is horizontal —
   dark where the copy sits, clearing by the time it reaches her.
   ========================================================================== */

.catalogue {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 62vh, 640px);
  padding-block: clamp(56px, 7vw, 96px);
  color: #fff;
  background: var(--deep-900);
}

.catalogue__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  background: url("../catalogue-lifestyle.jpg") center right / cover no-repeat;
  will-change: transform;
}

.catalogue__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(96deg, rgba(3, 33, 47, .94) 0%, rgba(5, 47, 66, .86) 34%,
                            rgba(7, 61, 85, .46) 60%, rgba(7, 61, 85, .06) 82%),
    linear-gradient(0deg, rgba(3, 33, 47, .30) 0%, rgba(3, 33, 47, 0) 42%);
}

.catalogue > .shell { width: 100%; }

.catalogue__copy { max-width: 560px; }

.catalogue .section-title {
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  color: #fff;
  margin-top: var(--s-2);
}

.catalogue .section-title em { color: var(--cyan); }

.catalogue .lead {
  margin-top: var(--s-5);
  max-width: 46ch;
  color: rgba(223, 239, 246, .9);
}

/* --- Meta --- */

.catalogue__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(20px, 2.4vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.catalogue__meta div { display: flex; align-items: center; gap: 9px; }
.catalogue__meta .ico { width: 19px; height: 19px; color: var(--cyan); }

.catalogue__meta span {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .05em;
  color: rgba(223, 239, 246, .86);
}

/* --- Actions --- */

.catalogue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: clamp(26px, 3vw, 34px);
}

/* --- QR --- */

.catalogue__qr {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: clamp(26px, 3vw, 34px);
  padding-top: clamp(20px, 2.4vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.catalogue__qr img {
  width: 84px;
  height: auto;
  flex: none;
  padding: 7px;
  background: #fff;
  border-radius: var(--r-sm);
}

.catalogue__qr h3 {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.catalogue__qr p { display: none; }

.catalogue__qr .link-arrow {
  color: var(--cyan);
  border-bottom-color: rgba(32, 185, 223, .42);
}

.catalogue__qr .link-arrow:hover { color: #fff; border-bottom-color: #fff; }

@media (max-width: 900px) {
  .catalogue { min-height: 0; }
  .catalogue__bg { background-position: 68% center; }
  .catalogue__scrim {
    background: linear-gradient(180deg, rgba(3, 33, 47, .9) 0%, rgba(5, 47, 66, .82) 55%, rgba(3, 33, 47, .88) 100%);
  }
}

@media (max-width: 560px) {
  .catalogue__actions .btn { width: 100%; }
  .catalogue__qr { align-items: flex-start; }
}

/* ==========================================================================
   Catalogue lead modal
   ========================================================================== */

.catalogue-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.catalogue-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalogue-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(32, 185, 223, .22), transparent 34%),
    linear-gradient(135deg, rgba(3, 33, 47, .86), rgba(7, 61, 85, .76));
  backdrop-filter: blur(14px);
}

.catalogue-modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 250, 252, .96));
  box-shadow: 0 22px 54px rgba(3, 33, 47, .32), 0 54px 120px rgba(3, 33, 47, .34);
  transform: translateY(18px) scale(.97);
  transition: transform .46s var(--ease);
}

.catalogue-modal.is-open .catalogue-modal__panel { transform: translateY(0) scale(1); }

.catalogue-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(7, 61, 85, .12);
  border-radius: 50%;
  background: #fff;
  color: var(--deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform .24s var(--ease), color .2s ease;
}

.catalogue-modal__close:hover {
  color: var(--cyan-700);
  transform: rotate(90deg);
}

.catalogue-modal__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: var(--s-5);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, var(--cyan-050));
  box-shadow: inset 0 0 0 1px rgba(32, 185, 223, .18), var(--sh-md);
}

.catalogue-modal__visual img {
  width: 48px;
  position: relative;
  z-index: 1;
}

.catalogue-modal__visual span {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(32, 185, 223, .24);
  border-radius: inherit;
  animation: modal-ripple 2.8s ease-out infinite;
}

.catalogue-modal__copy .kicker { margin-bottom: var(--s-3); }

.catalogue-modal__copy h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 1.38rem + 2.1vw, 3.1rem);
  line-height: .98;
  letter-spacing: var(--tr-tight);
  text-transform: uppercase;
  color: var(--deep);
}

.catalogue-modal__copy p:not(.kicker) {
  max-width: 42ch;
  margin-top: var(--s-4);
  color: var(--muted);
  line-height: 1.64;
}

.catalogue-form {
  display: grid;
  gap: var(--s-4);
  margin-top: clamp(24px, 4vw, 34px);
}

.catalogue-form label {
  display: grid;
  gap: 8px;
}

.catalogue-form label span {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--deep);
}

.catalogue-form input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid rgba(7, 61, 85, .14);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.catalogue-form input::placeholder { color: rgba(86, 107, 120, .58); }

.catalogue-form input:focus {
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 185, 223, .12);
}

.catalogue-form__actions {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-2);
}

.catalogue-form__skip {
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px solid rgba(86, 107, 120, .32);
  padding: 2px 0;
}

.catalogue-form__skip:hover { color: var(--cyan-700); border-bottom-color: currentColor; }

body.catalogue-modal-open { overflow: hidden; }

@keyframes modal-ripple {
  0% { opacity: .72; transform: scale(.92); }
  70%, 100% { opacity: 0; transform: scale(1.22); }
}

@media (max-width: 560px) {
  .catalogue-modal { align-items: end; padding: 12px; }
  .catalogue-modal__panel { border-radius: var(--r-md); padding: 26px 20px 24px; }
  .catalogue-modal__copy h2 { max-width: 12ch; }
}

@media (prefers-reduced-motion: reduce) {
  .catalogue-modal,
  .catalogue-modal__panel,
  .catalogue-modal__close,
  .catalogue-form input {
    transition: none;
  }

  .catalogue-modal__visual span { animation: none; }
}

/* ==========================================================================
   Closing CTA — copy + interactive product stack

   The stack is a fanned deck of the four models. Hovering (or keyboard-
   focusing) one lifts it forward and reveals its name and price; the cards
   after it slide aside to make room. Entrance is a class toggle rather than
   the shared .stagger, because .stagger overwrites transform and would
   fight the per-card rotation.
   ========================================================================== */

.closing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

/* rem, not ch: ch resolves against this container's ~17px font, which
   capped the block at ~272px and shattered the 66px heading. */
.closing__copy { max-width: 34rem; }
.closing__copy h2 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--tr-tight); text-transform: uppercase; font-weight: 900; color: var(--deep); margin-top: var(--s-2); }
.closing__copy .lead { margin-top: var(--s-5); }
.closing__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: clamp(28px, 3.4vw, 38px); }

/* --- Product stack --- */

.pstack {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-block: clamp(16px, 2vw, 28px);
}

.pstack__item {
  flex: none;
  width: clamp(112px, 12.5vw, 168px);
  margin-left: clamp(-46px, -3.4vw, -26px);
  color: inherit;
}

.pstack__item:first-child { margin-left: 0; }

.pstack__card {
  position: relative;
  display: block;
  padding: clamp(12px, 1.4vw, 18px) clamp(10px, 1.2vw, 14px) clamp(14px, 1.6vw, 20px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  opacity: 0;
  transform: translateY(26px) rotate(0deg) scale(.96);
  transition: transform .62s cubic-bezier(.22, 1, .36, 1),
              opacity .5s ease,
              box-shadow .42s ease,
              border-color .3s ease;
  will-change: transform;
}

.pstack__card img { width: 100%; height: auto; }

/* Settled (revealed) state — the fan */
.pstack.is-in .pstack__card {
  opacity: 1;
  transform: rotate(var(--rot)) translateY(0) scale(1);
  transition-delay: calc(var(--i) * 95ms);
}

/* The lifted card */
.pstack.is-in .pstack__item:hover .pstack__card,
.pstack.is-in .pstack__item:focus-visible .pstack__card {
  transform: rotate(0deg) translateY(-22px) scale(1.07);
  box-shadow: var(--sh-xl);
  border-color: rgba(32, 185, 223, .5);
  transition-delay: 0ms;
  z-index: 3;
}

.pstack__item:hover,
.pstack__item:focus-visible { position: relative; z-index: 3; }

/* Cards after the hovered one step aside */
.pstack.is-in .pstack__item:hover ~ .pstack__item .pstack__card,
.pstack.is-in .pstack__item:focus-visible ~ .pstack__item .pstack__card {
  transform: rotate(var(--rot)) translateX(26px);
  transition-delay: 0ms;
}

/* --- Label --- */

.pstack__label {
  position: absolute;
  left: 50%;
  bottom: clamp(-6px, -0.6vw, -2px);
  transform: translate(-50%, 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 14px;
  white-space: nowrap;
  background: var(--deep);
  border-radius: var(--r-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .38s cubic-bezier(.22, 1, .36, 1);
}

.pstack__label b { font-size: var(--fs-xs); font-weight: 800; color: #fff; letter-spacing: .04em; }
.pstack__label em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--cyan); }

.pstack__item:hover .pstack__label,
.pstack__item:focus-visible .pstack__label {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --- Guarantees strip --- */

.services { grid-column: 1 / -1; }

.service {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), color .25s ease;
}

.service:hover { transform: translateY(-4px); }
.service:hover .ico { color: var(--cyan-600); }
.service .ico { transition: color .25s ease, transform .42s cubic-bezier(.22, 1.4, .36, 1); }
.service:hover .ico { transform: scale(1.12); }

@media (max-width: 1000px) {
  .closing__grid { grid-template-columns: 1fr; }
  .closing__copy { max-width: 40rem; }
}

/* Touch / narrow: no hover to rely on, so lay the models out flat and
   keep every name and price permanently visible. */
@media (max-width: 720px) {
  .pstack { flex-wrap: wrap; justify-content: flex-start; gap: var(--s-3); padding-block: 0; }
  .pstack__item { width: calc(50% - var(--s-3)); margin-left: 0; }
  .pstack.is-in .pstack__card { transform: none; }
  .pstack__label {
    position: static;
    transform: none;
    opacity: 1;
    flex-direction: row;
    gap: var(--s-2);
    margin-top: var(--s-2);
    background: none;
    padding: 0;
  }
  .pstack__label b { color: var(--deep); }
}

@media (prefers-reduced-motion: reduce) {
  .pstack__card { opacity: 1; transform: rotate(var(--rot)); transition: none; }
  .pstack.is-in .pstack__card { transition: none; }
}

/* If scripting never runs, show the deck fanned rather than invisible. */
html:not(.js-ready) .pstack__card { opacity: 1; transform: rotate(var(--rot)); }

/* ==========================================================================
   Claims — bare four-up row

   Icon, label, one line of copy, separated by hairline rules. No photography,
   no cards, no snap: the four pillars read as a quiet index between the hero
   and the problem band.
   ========================================================================== */

.claims {
  /* Picks up the exact colour the hero gradient ends on, so the two read as
     one continuous surface with no rule and no step in tone between them. */
  background: linear-gradient(180deg, #dcf0f7 0%, #eaf6fb 100%);
  border-top: 0;
  border-bottom: 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding-block: 0;
}

.claims > .shell { width: 100%; }

.claims__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.claim {
  padding: clamp(10px, 1.2vw, 16px) clamp(20px, 2.6vw, 40px);
  border-left: 1px solid var(--line-soft);
}

.claim:first-child { border-left: 0; padding-left: 0; }
.claim:last-child  { padding-right: 0; }

/* Staggered rise, left to right */
.claim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.claim.is-in { opacity: 1; transform: none; }

.claim__icon {
  width: clamp(26px, 2vw, 32px);
  height: clamp(26px, 2vw, 32px);
  margin-bottom: clamp(14px, 1.5vw, 20px);
  color: var(--cyan);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.claim:hover .claim__icon { transform: translateY(-3px); }

.claim__title {
  font-size: clamp(1.08rem, .95rem + .45vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 800;
  color: var(--deep);
}

.claim__sub {
  margin-top: var(--s-3);
  font-size: clamp(.82rem, .76rem + .2vw, .92rem);
  line-height: 1.5;
  color: var(--muted);
}

/* Never strand the copy invisible if scripting never runs */
html:not(.js-ready) .claim { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .claims { min-height: 0; padding-block: clamp(36px, 6vw, 56px); }
  .claims__grid { grid-template-columns: repeat(2, 1fr); row-gap: clamp(24px, 4vw, 36px); }
  .claim { padding-inline: clamp(16px, 3vw, 28px); }
  .claim:nth-child(odd)  { border-left: 0; padding-left: 0; }
  .claim:nth-child(even) { padding-right: 0; }
}

@media (max-width: 540px) {
  .claims__grid { grid-template-columns: 1fr; row-gap: clamp(24px, 6vw, 36px); }
  .claim { border-left: 0; padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .claim { opacity: 1; transform: none; transition: none; }
  .claim__icon { transition: none; }
}



/* ==========================================================================
   Snap sequence — the first four panels

   Hero, engagements, mission and chiffres each take a full screen below the
   sticky header and snap into place. Snapping is `proximity`, not `mandatory`,
   so the rest of the page (which carries no snap-align) scrolls normally and
   a fast flick is never fought. Each panel keeps whatever staggered reveal it
   already had; the panels only change the geometry and the timing.
   ========================================================================== */

html { scroll-snap-type: y proximity; }

.panel {
  min-height: calc(100svh - var(--hdr-h));
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

/* Hero and the video band already centre / top-align their own copy. */
.stats.panel {
  display: flex;
  align-items: center;
}

.stats.panel > .shell { width: 100%; }

/* The band sets its own 100svh; keep it consistent with the other panels. */
.band--video.panel { min-height: calc(100svh - var(--hdr-h)); }

@media (max-width: 767px) {
  :root { --hdr-h: 72px; }
  /* Stats and claims stack on narrow screens and can exceed a screen — let
     them grow rather than squeezing three cards into one viewport. */
  .stats.panel { min-height: 0; scroll-snap-align: none; display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}
