/* ==========================================================
   Seiran Solutions — site styles
   ========================================================== */

:root {
  /* Brand colors (from the logo) */
  --navy: #0B1F44;
  --navy-2: #12295A;
  --navy-deep: #07142D;
  --blue: #1559D6;
  --blue-bright: #3B82FF;
  --blue-soft: #E8F0FE;
  --blue-rgb: 21, 89, 214;

  /* Surfaces & text */
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --text: #0B1F44;
  --text-muted: #46557A;
  --text-dim: #6F7D9C;
  --line: rgba(11, 31, 68, 0.1);
  --line-strong: rgba(11, 31, 68, 0.22);

  /* Type */
  --font-brand: 'Michroma', 'Arial Black', sans-serif;
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(88px, 10vw, 152px);
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);

  /* Angled cuts, echoing the hexagonal S */
  --cut-sm: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  --cut-md: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --cut-card: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-loading body { overflow: hidden; }
::selection { background: var(--blue); color: #fff; }

/* Faint grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,31,68,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,68,0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
main, .site-footer { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Brand (emblem + wordmark, like the logo) ---------- */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__emblem { width: 50px; height: 39px; flex: none; transition: transform .8s var(--ease); }
.brand:hover .brand__emblem { transform: rotate(-8deg) scale(1.06); }
.brand__divider { width: 1.5px; height: 36px; background: currentColor; }
.wordmark { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.wordmark__name { font-family: var(--font-brand); font-size: 21px; letter-spacing: .04em; text-transform: uppercase; }
.wordmark__sub { font-family: var(--font-body); font-size: 9.5px; font-weight: 500; letter-spacing: .62em; text-transform: uppercase; }
.brand--light { color: #fff; --s-main: #fff; --s-accent: var(--blue-bright); }
.brand--light:hover { color: #fff; }

/* Tagline "CONCEVOIR • ACCOMPAGNER • INNOVER" */
.tagline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.tagline i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: none; }

/* ---------- Shared pieces ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow .rule { width: 32px; height: 1.5px; background: currentColor; transform-origin: left; }
.eyebrow .rule--long { width: 48px; height: 2px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede { color: var(--text-muted); text-wrap: pretty; }
.accent { color: var(--blue); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
}
.section-head__title { display: flex; flex-direction: column; gap: 20px; flex: 1 1 480px; min-width: 0; }
.section-head .lede { flex: 1 1 360px; max-width: 500px; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: var(--cut-md);
  overflow: hidden;
  isolation: isolate;
  transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.btn svg { flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary::before {
  /* shine sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--navy); }
.btn--ghost::before {
  /* fill wipe */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
  z-index: -1;
}
.btn--ghost:hover { border-color: var(--navy); color: #fff; }
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 13px; clip-path: var(--cut-sm); }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 15px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--navy);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
}
html:not(.js) .preloader { display: none; }
.is-loaded .preloader { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; width: min(300px, 72vw); transition: opacity .4s, transform .8s var(--ease-in-out); }
.is-loaded .preloader__inner { opacity: 0; transform: translateY(-40px); }
.preloader__emblem { width: 120px; overflow: visible; }
.pl-swoosh { fill: var(--blue-bright); transform-box: fill-box; transform-origin: 50% 50%; animation: pl-swoosh 1.3s var(--ease) both; }
.pl-piece { fill: #fff; animation: pl-piece 1s var(--ease) both; }
.pl-piece--2 { fill: var(--blue-bright); animation-delay: .15s; }
.pl-piece--3 { animation-delay: .3s; }
.preloader__meta { width: 100%; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.preloader__count { color: var(--blue-bright); font-variant-numeric: tabular-nums; }
.preloader__bar { width: 100%; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--blue-bright); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 12px var(--blue-bright); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.cursor span {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blue); }
.cursor__ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(var(--blue-rgb), .5);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(var(--blue-rgb), .08); border-color: var(--blue); }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cursor.is-hidden span { opacity: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--blue-bright));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
          backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(11, 31, 68, .35);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav a:not(.btn) {
  position: relative;
  padding-block: 6px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover,
.nav a.is-active { color: var(--navy); }
.nav a:not(.btn):hover::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 28px; }

/* Language switch FR / EN */
.lang-toggle {
  position: relative;
  display: inline-flex;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  clip-path: var(--cut-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  cursor: pointer;
  transition: border-color .3s;
}
.lang-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: var(--navy);
  clip-path: var(--cut-sm);
  transition: transform .5s var(--ease), background-color .3s;
}
html[lang="en"] .lang-toggle::before { transform: translateX(100%); }
.lang-toggle span {
  position: relative;
  z-index: 1;
  width: 42px;
  display: grid;
  place-items: center;
  padding-left: .14em;
  color: var(--text-dim);
  transition: color .4s;
}
html[lang="fr"] .lang-toggle [data-l="fr"],
html[lang="en"] .lang-toggle [data-l="en"] { color: #fff; }
.lang-toggle:hover { border-color: var(--blue); }
.lang-toggle:hover::before { background: var(--blue); }
.menu-open .lang-toggle { border-color: rgba(255,255,255,.3); }
.menu-open .lang-toggle::before { background: var(--blue); }
.menu-open .lang-toggle span { color: rgba(255,255,255,.6); }
.menu-open .lang-toggle span[data-l] { color: rgba(255,255,255,.6); }
html[lang="fr"].menu-open .lang-toggle [data-l="fr"],
html[lang="en"].menu-open .lang-toggle [data-l="en"] { color: #fff; }

/* Text swap when changing language */
[data-i18n] { transition: opacity .25s; }
.is-switching [data-i18n]:not([data-split]) { opacity: 0; }

/* Header entrance after preloader */
.js .site-header .container > * { opacity: 0; transform: translateY(-16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.is-loaded .site-header .container > * { opacity: 1; transform: none; }
.js.is-loaded .site-header .nav--main { transition-delay: .1s; }

/* Burger + mobile menu */
.burger {
  display: none;
  position: relative;
  z-index: 70;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  clip-path: var(--cut-sm);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--navy);
  transition: transform .5s var(--ease), top .5s var(--ease), background-color .4s;
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; right: 19px; }
.menu-open .burger { border-color: rgba(255,255,255,.3); }
.menu-open .burger span { background: #fff; }
.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23px; right: 13px; transform: rotate(-45deg); }
.menu-open .site-header .brand { color: #fff; --s-main: #fff; --s-accent: var(--blue-bright); }
.menu-open .site-header.is-scrolled { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--navy);
  color: #fff;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(34px, 10vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu a:hover { color: var(--blue-bright); }
.mobile-menu a .num { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--blue-bright); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .32s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .39s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .46s; }
.mobile-menu .tagline { color: rgba(255,255,255,.65); font-size: 11px; }
.mobile-menu .tagline i { background: var(--blue-bright); }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  right: -12%;
  top: -12%;
  width: 950px;
  height: 950px;
  max-width: 130vw;
  background: radial-gradient(closest-side, rgba(var(--blue-rgb), 0.16), rgba(var(--blue-rgb), 0.05) 55%, transparent);
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}
.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  width: 100%;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(72px, 8vw, 120px);
}
.hero__copy { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 5.2vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title .accent { position: relative; }
.hero__lede { max-width: 580px; font-size: 19px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 44px; }

/* Emblem composition */
.emblem {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: min(430px, 78vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.emblem::before {
  /* soft disc */
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.6) 55%, transparent 72%);
}
.emblem__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(var(--blue-rgb), 0.35); animation: spin 60s linear infinite; }
.emblem__ring--inner { inset: 8%; border: 1px solid var(--line); animation: spin 90s linear infinite reverse; }
.emblem__orbit { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.emblem__orbit span {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(var(--blue-rgb), .15), 0 0 18px 2px rgba(var(--blue-rgb), .6);
}
.emblem__orbit--rev { inset: 8%; animation: spin 22s linear infinite reverse; }
.emblem__orbit--rev span { width: 6px; height: 6px; top: -3px; left: calc(50% - 3px); background: var(--navy); box-shadow: none; }
.emblem__corners i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--line-strong); }
.emblem__corners i:nth-child(1) { top: -6%; left: -6%; border-top-width: 1.5px; border-left-width: 1.5px; }
.emblem__corners i:nth-child(2) { top: -6%; right: -6%; border-top-width: 1.5px; border-right-width: 1.5px; }
.emblem__corners i:nth-child(3) { bottom: -6%; left: -6%; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.emblem__corners i:nth-child(4) { bottom: -6%; right: -6%; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.emblem__core {
  position: relative;
  width: 76%;
  transform: translateZ(60px);
  animation: float 6s ease-in-out infinite;
}
.emblem__svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 30px rgba(11, 31, 68, .22)); }
.em-swoosh { fill: var(--blue); transform-box: fill-box; transform-origin: 50% 50%; }
.em-piece { fill: var(--navy); transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.em-piece--2 { fill: var(--blue); }
/* Assemble the S once the page has loaded */
.js .em-piece--1 { transform: translate(-60px, -50px); opacity: 0; }
.js .em-piece--2 { transform: translate(90px, -30px); opacity: 0; transition-delay: .15s; }
.js .em-piece--3 { transform: translate(40px, 70px); opacity: 0; transition-delay: .3s; }
.js .em-swoosh { opacity: 0; transform: rotate(-120deg) scale(.7); transition: transform 1.6s var(--ease) .35s, opacity 1s .35s; }
.js .is-in .em-piece { transform: none; opacity: 1; }
.js .is-in .em-swoosh { opacity: 1; transform: none; }
.is-in .em-swoosh { animation: swoosh 9s ease-in-out 2.2s infinite; }

.emblem__scan {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb), .9), transparent);
  box-shadow: 0 0 16px 3px rgba(var(--blue-rgb), .35);
  opacity: 0;
  animation: scan 5s var(--ease-in-out) infinite 2.5s;
}

/* Cycling tagline under the emblem */
.tagline--cycle { justify-content: center; flex-wrap: nowrap; white-space: nowrap; color: var(--text-dim); }
.tagline--cycle span { transition: color .5s, text-shadow .5s; }
.tagline--cycle span.is-on { color: var(--navy); text-shadow: 0 0 18px rgba(var(--blue-rgb), .35); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 84px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}
.scroll-cue i { position: relative; width: 60px; height: 1.5px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--blue); animation: cue 2.2s var(--ease-in-out) infinite; }
@media (min-width: 1500px) { .scroll-cue { left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }

/* Marquee strip */
.marquee {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.marquee__row { transform: skewX(var(--skew, 0deg)); transition: transform .3s ease-out; }
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 44px;
  padding: 20px 22px 20px 0;
  font-family: var(--font-brand);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee__track .sep { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); flex: none; }

/* ---------- Services ---------- */
.services .container,
.company .container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-block: var(--section-pad);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}
.card-wrap { display: flex; filter: drop-shadow(0 18px 30px rgba(11, 31, 68, .07)); transition: filter .5s; }
.card-wrap:hover { filter: drop-shadow(0 28px 40px rgba(var(--blue-rgb), .18)); }
.card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px 38px;
  min-height: 420px;
  background: var(--surface);
  clip-path: var(--cut-card);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), background-color .4s;
  overflow: hidden;
}
.card > * { position: relative; z-index: 1; }
/* cursor spotlight */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--blue-rgb), .1), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: 0;
}
/* blue corner accent on the cut */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(225deg, var(--blue) 0 32%, transparent 32%);
  opacity: .9;
  transition: transform .5s var(--ease);
}
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scale(1.4); transform-origin: top right; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__icon { color: var(--blue); }
.card__num { font-family: var(--font-brand); font-size: 12px; letter-spacing: 0.15em; color: var(--text-dim); transition: color .4s; margin-right: 18px; }
.card:hover .card__num { color: var(--blue); }
.card__heading { display: flex; flex-direction: column; gap: 6px; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.card__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.card__body { color: var(--text-muted); text-wrap: pretty; }
.card__foot {
  position: relative;
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .4s;
}
.card__foot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.card__foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
  z-index: 1;
}
.card:hover .card__foot { color: var(--navy); }
.card:hover .card__foot::before { transform: scaleX(1); }

/* Icon stroke draw-in */
.js .card__icon * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.js .is-in .card__icon * { stroke-dashoffset: 0; }
.js .is-in .card__icon *:nth-child(2) { transition-delay: .25s; }
.js .is-in .card__icon *:nth-child(3) { transition-delay: .5s; }
.card:hover .card__icon { animation: icon-pop .6s var(--ease); }

/* ---------- Approach (navy band) ---------- */
.approach { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.approach::before {
  content: "";
  position: absolute;
  inset: -60px;
  background-image: repeating-linear-gradient(-30deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 26px);
  pointer-events: none;
  animation: stripes 20s linear infinite;
}
.approach::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: 700px;
  height: 700px;
  background: radial-gradient(closest-side, rgba(var(--blue-rgb), .45), transparent);
  pointer-events: none;
}
.approach__watermark {
  --s-main: #fff;
  --s-accent: #fff;
  position: absolute;
  right: -10%;
  top: 50%;
  width: min(760px, 95vw);
  height: min(590px, 74vw);
  opacity: .05;
  transform: translateY(calc(-50% + var(--parallax, 0px))) rotate(calc(var(--parallax, 0px) * .12deg));
  pointer-events: none;
}
.approach .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 80px;
  padding-block: var(--section-pad);
}
.approach .eyebrow { color: var(--blue-bright); }
.approach__intro { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.approach__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 5.6vw, 80px); line-height: 1.06; letter-spacing: -.03em; }
.approach__big .accent { color: var(--blue-bright); }
.approach__sub { font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.principles { flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.principle {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 30px 0;
  transition: padding-left .5s var(--ease);
}
.principle::before,
.principle:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transform-origin: left;
  transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .1s);
}
.principle::before { top: 0; }
.principle:last-child::after { bottom: 0; }
.js .principle:not(.is-in)::before,
.js .principle:not(.is-in)::after { transform: scaleX(0); }
.principle:hover { padding-left: 14px; }
.principle__letter {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,.35);
  clip-path: var(--cut-sm);
  font-family: var(--font-brand);
  font-size: 13px;
  transition: background-color .4s, border-color .4s;
}
.principle:hover .principle__letter { background: var(--blue); border-color: var(--blue); }
.principle__text { display: flex; flex-direction: column; gap: 6px; }
.principle h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.principle p { color: rgba(255,255,255,.75); }

/* ---------- Company facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
  margin: 0;
}
.fact {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.fact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--blue-rgb), .08), transparent);
  transform: translateY(100%);
  transition: transform .6s var(--ease);
}
.fact::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.fact:hover { border-color: rgba(var(--blue-rgb), .35); box-shadow: 0 20px 40px -24px rgba(var(--blue-rgb), .45); }
.fact:hover::before { transform: none; }
.fact:hover::after { transform: scaleX(1); }
.fact > * { position: relative; }
.fact dt { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim); }
.fact dd { margin: 0; font-family: var(--font-brand); font-size: 32px; line-height: 1.2; color: var(--navy); overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact { position: relative; border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, transparent, rgba(var(--blue-rgb), .05)); }
.contact__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 760px;
  max-width: 140vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(var(--blue-rgb), 0.12), transparent);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
.contact__inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 168px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.contact__emblem { position: relative; width: 96px; height: 96px; margin-bottom: 12px; display: grid; place-items: center; }
.contact__emblem svg { position: relative; width: 88px; height: 70px; }
.pulse {
  position: absolute;
  inset: -6%;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  animation: pulse 3s var(--ease) infinite;
}
.pulse--2 { animation-delay: 1.5s; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 74px);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.contact .lede { max-width: 580px; font-size: 19px; }
.contact__email { font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: var(--text-dim); }
.contact__email a { color: var(--blue); text-decoration: none; }
.contact__email a:hover { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); overflow: hidden; }
.site-footer .container { display: flex; flex-direction: column; gap: 48px; padding-block: 64px 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.site-footer .nav a:not(.btn) { color: rgba(255,255,255,.65); }
.site-footer .nav a:not(.btn):hover { color: #fff; }
.site-footer .nav a:not(.btn)::after { background: var(--blue-bright); }
.footer__giant {
  font-family: var(--font-brand);
  font-size: clamp(48px, 12.5vw, 190px);
  line-height: .9;
  min-width: 0;
  overflow: hidden;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(var(--blue-rgb), .35), transparent 85%);
  -webkit-background-clip: text;
          background-clip: text;
  user-select: none;
  white-space: nowrap;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.footer__bottom .tagline { font-size: 11px; }
.footer__bottom .tagline i { background: var(--blue-bright); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 10px 30px -12px rgba(11, 31, 68, .4);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--navy);
  opacity: 0;
  transform: translateY(20px) scale(.8);
  pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease), color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--blue); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
.to-top__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.5; }
.to-top__track { stroke: var(--line); }
.to-top__bar { stroke: var(--blue); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--progress, 0)); }
.to-top__arrow { transition: transform .4s var(--ease); }

/* ==========================================================
   Reveal system (only active when JS is running)
   ========================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="scale"] { transform: scale(.88); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .eyebrow[data-reveal] .rule { transform: scaleX(0); transition: transform 1s var(--ease) calc(var(--d, 0s) + .2s); }
.js .eyebrow[data-reveal].is-in .rule { transform: scaleX(1); }

/* Split text: each word slides up from a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w__i { display: inline-block; }
.js [data-split] .w__i {
  transform: translateY(110%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.1s var(--ease) calc(var(--i, 0) * var(--stagger, 55ms) + var(--d, 0s));
}
.js [data-split].is-in .w__i { transform: none; }
.hero__title { --d: .15s; }
.approach__big { --stagger: 120ms; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { translate: 0 -8px; } 50% { translate: 0 8px; } }
@keyframes breathe { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes swoosh { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-14deg) scale(1.03); } }
@keyframes pl-piece { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes pl-swoosh { from { opacity: 0; transform: rotate(-180deg) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes scan {
  0% { top: 0; opacity: 0; } 10% { opacity: 1; } 60% { top: 100%; opacity: 1; } 70%, 100% { top: 100%; opacity: 0; }
}
@keyframes cue { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes stripes { to { transform: translateX(60px); } }
@keyframes pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes icon-pop { 0% { transform: scale(1); } 40% { transform: scale(1.15) rotate(-6deg); } 100% { transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav--main { display: none; }
  .burger { display: block; }
  .scroll-cue { display: none; }
  .header-actions { gap: 10px; }
  .lang-toggle { height: 48px; }
  .lang-toggle span { width: 38px; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand__emblem { width: 40px; height: 31px; }
  .brand__divider { height: 28px; }
  .wordmark__name { font-size: 17px; }
  .wordmark__sub { font-size: 8px; letter-spacing: .55em; }
  .tagline { font-size: 11px; letter-spacing: .16em; gap: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w__i { opacity: 1; transform: none; }
  .js .card__icon * { stroke-dashoffset: 0; }
  .js .em-piece, .js .em-swoosh { opacity: 1; transform: none; }
}
