/* ==========================================================================
   BOSSOU+ — Portfolio hero
   Desktop sizes use --u (1% of the hero width, capped by the viewport height)
   so the hero scales as one composition; container queries handle tablet and
   mobile.
   ========================================================================== */

:root {
  --blue: #075BFF;
  --blue-deep: #063B9C;
  --navy: #061A3A;
  --electric: #1677FF;
  --soft: #DCE9FF;
  --white: #FFFFFF;
  --page: #F3F4F6;

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { background: var(--page); }
body { --u: 11px; }
body {
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero {
  --u: min(1vw, 1.6svh);
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(55% 70% at 54% 36%, rgba(22, 119, 255, .95) 0%, rgba(22, 119, 255, 0) 72%),
    radial-gradient(70% 90% at 100% 0%, rgba(22, 119, 255, .55) 0%, rgba(22, 119, 255, 0) 60%),
    linear-gradient(155deg, #0A4AD0 0%, #075BFF 36%, #0B57EE 60%, #063B9C 86%, #061A3A 100%);
}

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

.hero__grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: calc(4.8 * var(--u)) calc(4.8 * var(--u));
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 80% at 60% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 80% at 60% 30%, #000 0%, transparent 75%);
}

.hero__glow {
  left: 34%;
  top: 2%;
  width: 40%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 186, 255, .55), rgba(22, 119, 255, 0));
  filter: blur(calc(2 * var(--u)));
}

/* translucent geometric squares, top right (like the reference) */
.hero__blocks {
  top: 13%;
  right: 0;
  width: calc(24.5 * var(--u));
  height: calc(24.5 * var(--u));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
}
.hero__blocks span {
  grid-column: var(--x) / span var(--w);
  grid-row: var(--y) / span var(--h);
  background: linear-gradient(180deg, rgba(220, 233, 255, var(--o)), rgba(220, 233, 255, calc(var(--o) * .55)));
}

.hero__pillar {
  width: calc(4.8 * var(--u));
  background: linear-gradient(180deg, rgba(220, 233, 255, .06), rgba(220, 233, 255, 0));
}
.hero__pillar--a { left: 28.8%; top: 0; height: calc(20 * var(--u)); }
.hero__pillar--b { left: 33.6%; top: 0; height: calc(9.6 * var(--u)); opacity: .6; }

.hero__tick {
  width: calc(1 * var(--u));
  height: calc(1 * var(--u));
  fill: none;
  stroke: rgba(220, 233, 255, .55);
  stroke-width: 1.2;
}
.hero__tick--a { left: 43.2%; top: 15%; }
.hero__tick--b { right: 25.4%; top: 52%; }
.hero__tick--c { left: 4.2%; top: 68%; opacity: .6; }

/* ---------- Travelling portrait ----------
   One portrait for the hero and the showcase: a layer spanning both sections
   whose sticky pin keeps the photo on screen. --h (hero scrolled away, 0→1) and
   --p0 (showcase intro, 0→1) are set by script.js. */
.travel {
  --h: 0; --p0: 0;
  position: absolute; z-index: 1; top: 0; left: 0; right: 0;
  height: max(100svh, 600px);
  pointer-events: none;
}
.travel__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.travel__glow {
  position: absolute; top: 55%; width: 50vw; height: 75%;
  left: calc(57% + 7% * var(--h) + 16% * var(--p0));
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 119, 255, .6), transparent);
  opacity: var(--h);
}
.portrait {
  position: absolute;
  bottom: 0;
  left: calc(57% + 7% * var(--h) + 16% * var(--p0));
  height: min(86%, 78vw);
  aspect-ratio: 1;
  transform: translateX(-50%) scale(calc(1 - .14 * var(--p0)));
  transform-origin: 50% 100%;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  /* soft electric rim light around the silhouette */
  filter:
    drop-shadow(0 0 1px rgba(170, 210, 255, .55))
    drop-shadow(0 0 calc(2.4 * var(--u)) rgba(22, 119, 255, .55));
}

.hero__shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 26, 58, 0) 0%, rgba(6, 26, 58, .38) 100%);
}

/* ---------- Header ---------- */
.nav {
  position: absolute;
  z-index: 20;
  top: calc(2.2 * var(--u));
  left: calc(2.3 * var(--u));
  right: calc(2.1 * var(--u));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; flex-direction: column; gap: calc(.45 * var(--u)); }
.brand__word {
  display: inline-flex;
  align-items: center;
  gap: calc(.3 * var(--u));
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 96%;
  font-size: calc(2.7 * var(--u));
  line-height: .9;
  letter-spacing: .03em;
}
.brand__plus {
  width: .78em;
  height: .78em;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
}
.brand__sub {
  font: 600 max(6.5px, calc(.56 * var(--u)))/1 var(--font-ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .78;
}

.nav__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav__links > ul {
  display: flex;
  align-items: center;
  gap: calc(.2 * var(--u));
  padding: calc(.45 * var(--u));
  border-radius: calc(1.1 * var(--u));
  background: rgba(220, 233, 255, .12);
  border: 1px solid rgba(220, 233, 255, .16);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.nav__links > ul > li { position: relative; }
.nav__links > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: calc(.45 * var(--u));
  padding: calc(.85 * var(--u)) calc(1.15 * var(--u));
  border-radius: calc(.75 * var(--u));
  font: 500 max(11px, calc(1.02 * var(--u)))/1 var(--font-ui);
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background .25s var(--ease);
}
.nav__links > ul > li > a:hover,
.nav__links .has-menu:focus-within > a { background: rgba(255, 255, 255, .12); }
.chev {
  width: .7em;
  height: .45em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  opacity: .8;
  transition: transform .25s var(--ease);
}
.has-menu:hover .chev,
.has-menu:focus-within .chev { transform: rotate(180deg); }

.menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -6px;
  min-width: 240px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(6, 26, 58, .78);
  border: 1px solid rgba(220, 233, 255, .14);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px -16px rgba(6, 26, 58, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .menu,
.has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 9px;
  transition: background .2s var(--ease);
}
.menu a:hover, .menu a:focus-visible { background: rgba(22, 119, 255, .28); }
.menu strong { font: 600 13px/1.2 var(--font-ui); }
.menu span { font: 400 12px/1.3 var(--font-ui); color: rgba(220, 233, 255, .7); }

.nav__actions { display: flex; align-items: center; gap: calc(1.2 * var(--u)); }
.nav__talk {
  display: inline-flex;
  align-items: center;
  gap: calc(.55 * var(--u));
  padding: calc(.9 * var(--u)) calc(1.3 * var(--u));
  border-radius: 999px;
  font: 600 max(10px, calc(.92 * var(--u)))/1 var(--font-ui);
  letter-spacing: .07em;
  text-transform: uppercase;
  background: rgba(220, 233, 255, .1);
  border: 1px solid rgba(220, 233, 255, .18);
  transition: background .25s var(--ease);
}
.nav__talk:hover { background: rgba(220, 233, 255, .2); }
.nav__talk svg, .cta__icon svg {
  width: .95em;
  height: .95em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform .3s var(--ease);
}
.nav__talk:hover svg { transform: translate(1px, -1px); }

.btn-white, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(1 * var(--u)) calc(1.9 * var(--u));
  border-radius: 999px;
  font: 600 max(10px, calc(.92 * var(--u)))/1 var(--font-ui);
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 20px -8px rgba(6, 26, 58, .45);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgba(6, 26, 58, .55); }
.btn-ghost { border: 1px solid rgba(220, 233, 255, .3); background: rgba(220, 233, 255, .08); }

.menu-btn {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(220, 233, 255, .14);
  border: 1px solid rgba(220, 233, 255, .2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.menu-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn.is-close span { top: 20px; transform: rotate(45deg); }
.menu-btn.is-close span:last-child { transform: rotate(-45deg); }
.nav__toggle { display: none; }

/* language switch */
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(220, 233, 255, .1);
  border: 1px solid rgba(220, 233, 255, .18);
  font: 600 11px/1 var(--font-ui);
  letter-spacing: .08em;
}
.lang a {
  padding: 7px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang a:hover { color: var(--white); }
.lang a[aria-current] { background: var(--white); color: var(--navy); }

/* ---------- Mobile menu (fixed overlay) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 16px 18px 28px;
  overflow-y: auto;
  color: var(--white);
  background:
    radial-gradient(80% 50% at 90% 0%, rgba(22, 119, 255, .55), transparent 70%),
    linear-gradient(170deg, #063B9C, #061A3A 70%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .brand__word { font-size: 22px; }
.mobile-menu .brand__sub { font-size: 7px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: auto; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(220, 233, 255, .12);
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: clamp(30px, 9vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.mobile-menu nav small { font: 600 11px/1 var(--font-ui); letter-spacing: .1em; opacity: .6; }
.mobile-menu__foot { display: flex; align-items: center; gap: 12px; }
.mobile-menu__foot .btn-white { flex: 1; padding: 16px 18px; font-size: 12px; }
body.menu-open { overflow: hidden; }

/* ---------- Headline ---------- */
.hero__title {
  position: absolute;
  z-index: 3;
  left: 5.8%;
  top: 22%;
}
.hero__title h1 {
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 88%;
  font-size: calc(6 * var(--u));
  line-height: .9;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding: .14em 0 .04em; margin: -.14em 0 -.04em; }
.hero__title .line > span { display: block; }

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(1.2 * var(--u));
  margin-top: calc(2.6 * var(--u));
  font: 600 max(10px, calc(1.02 * var(--u)))/1 var(--font-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.spark { width: calc(1.1 * var(--u)); min-width: 9px; height: auto; fill: var(--soft); opacity: .9; }

/* ---------- Right aside ---------- */
.hero__aside {
  position: absolute;
  z-index: 3;
  left: 70.2%;
  top: 56%;
  width: calc(20.5 * var(--u));
  min-width: 180px;
}
.hero__aside p {
  font: 600 max(10.5px, calc(1.02 * var(--u)))/1.6 var(--font-ui);
  letter-spacing: .035em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(6, 26, 58, .25);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: calc(1.2 * var(--u));
  margin-top: calc(2.4 * var(--u));
  padding: calc(.45 * var(--u)) calc(.45 * var(--u)) calc(.45 * var(--u)) calc(1.7 * var(--u));
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: 600 max(10px, calc(.95 * var(--u)))/1 var(--font-ui);
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px -12px rgba(6, 26, 58, .55), 0 0 0 0 rgba(220, 233, 255, .5);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.cta__icon {
  display: grid;
  place-items: center;
  width: max(26px, calc(2.8 * var(--u)));
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--electric);
  color: var(--white);
  transition: background .3s var(--ease);
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(6, 26, 58, .6), 0 0 0 5px rgba(220, 233, 255, .22); }
.cta:hover .cta__icon { background: var(--blue-deep); }
.cta:hover .cta__icon svg { transform: rotate(45deg); }

/* ---------- Strip ---------- */
.strip {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 4%;
  height: calc(6.4 * var(--u));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg,
    rgba(6, 26, 58, 0) 0%,
    rgba(6, 26, 58, .38) 22%,
    rgba(6, 26, 58, .48) 50%,
    rgba(6, 26, 58, .38) 78%,
    rgba(6, 26, 58, 0) 100%);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 86%, transparent 93%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 86%, transparent 93%);
}
.strip__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__group {
  display: flex;
  align-items: center;
  gap: calc(7.2 * var(--u));
  padding-right: calc(7.2 * var(--u));
}
@keyframes marquee { to { transform: translateX(-50%); } }

.pair {
  display: inline-flex;
  align-items: center;
  gap: calc(.9 * var(--u));
  white-space: nowrap;
  color: var(--white);
}
.pair__for {
  font: 500 max(9px, calc(.75 * var(--u)))/1 var(--font-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(220, 233, 255, .7);
}
.pair__solution {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 92%;
  font-size: max(14px, calc(1.55 * var(--u)));
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}
.pair:hover .logo-chip { transform: translateY(-1px); }

/* white chip holding an organisation's original logo */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: max(30px, calc(3.8 * var(--u)));
  padding: 0 calc(1.1 * var(--u));
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 18px -10px rgba(6, 26, 58, .6);
  transition: transform .25s var(--ease);
}
.logo-chip img { height: 62%; width: auto; }
.logo-chip--text b {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 80%;
  font-size: max(13px, calc(1.5 * var(--u)));
  letter-spacing: .04em;
  color: var(--blue-deep);
}
.logo-chip--sm { height: 32px; padding: 0 12px; }
.logo-chip--sm.logo-chip--text b { font-size: 14px; }
.logo-chip--lg { height: 64px; padding: 0 22px; }
.logo-chip--lg.logo-chip--text b { font-size: 26px; }

.corner-mark {
  position: absolute;
  z-index: 6;
  right: calc(1.6 * var(--u));
  bottom: calc(4% + 1.1 * var(--u));
  width: calc(4.2 * var(--u));
  min-width: 26px;
  aspect-ratio: 1;
  color: var(--white);
  animation: spin 24s linear infinite;
}
.corner-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Entrance ---------- */
.hero__title .line > span { animation: rise 1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
.meta, .hero__aside, .nav { animation: fade .9s var(--ease) .35s both; }
.portrait { animation: portrait 1.4s var(--ease) backwards; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@keyframes portrait { from { opacity: 0; transform: translateX(-50%) scale(1.04); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

/* Tablet: collapse the centre navigation */
@media (max-width: 900px) {
  .hero .nav__links, .hero .nav__talk { display: none; }
  .hero .nav__toggle { display: inline-block; }
  .hero .nav__actions { gap: 10px; }
  .hero .brand__word { font-size: max(20px, 2.7vw); }
  .hero .nav .btn-white { padding: 13px 18px; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero .nav { top: 16px; left: 18px; right: 14px; }
  .hero .brand__word { font-size: 22px; }
  .hero .brand__sub { font-size: 7px; }
  .hero .nav__resume { display: none; }

  .hero .hero__grid { background-size: 12vw 12vw; }
  .hero .hero__blocks { top: 76px; width: 36vw; height: 36vw; opacity: .8; }
  .hero .hero__pillar, .hero .hero__tick--a, .hero .hero__tick--b { display: none; }
  .hero .hero__tick--c { width: 10px; height: 10px; top: auto; bottom: 196px; left: 20px; }

  .hero .hero__title { left: 20px; right: 20px; top: 108px; }
  .hero .hero__title h1 { font-size: 13.4vw; font-stretch: 80%; line-height: .88; }
  .hero .meta { margin-top: 18px; gap: 10px; font-size: 10px; letter-spacing: .14em; }
  .hero .spark { width: 9px; }

  .hero .hero__glow { left: 20%; top: 30%; width: 90%; height: 55%; }
  .hero .hero__shade { height: 50%; background: linear-gradient(180deg, rgba(6, 26, 58, 0) 0%, rgba(6, 26, 58, .55) 70%, rgba(6, 26, 58, .7) 100%); }

  .hero .hero__aside { left: 20px; right: 20px; top: auto; bottom: 108px; width: auto; min-width: 0; max-width: 290px; }
  .hero .hero__aside p { font-size: 11px; }
  .hero .cta { margin-top: 16px; gap: 12px; padding: 5px 5px 5px 18px; font-size: 11px; }
  .hero .cta__icon { width: 30px; }

  .hero .strip { bottom: 26px; height: 56px; background: rgba(6, 26, 58, .42); }
  .hero .strip__group { gap: 40px; padding-right: 40px; }
  .hero .strip .logo-chip { height: 32px; padding: 0 12px; }
  .hero .corner-mark { display: none; }

}

/* ==========================================================================
   Page sections (after the hero)
   ========================================================================== */

:root {
  --ink: #061A3A;
  --muted: #4A5A78;
  --line: rgba(6, 26, 58, .1);
  --card: #FFFFFF;
  --gutter: clamp(18px, 4vw, 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;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--white); color: var(--navy); font: 600 13px/1 var(--font-ui);
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

.container { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; color: var(--ink); }
.section :focus-visible { outline-color: var(--blue); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: end;
  column-gap: 48px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head:not(:has(.section__intro)) .display { grid-column: 1 / -1; }
.section__intro { color: var(--muted); font-size: 16px; line-height: 1.65; padding-bottom: .6em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font: 600 12px/1 var(--font-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow span {
  display: grid; place-items: center;
  min-width: 30px; height: 22px; padding: 0 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-deep);
  letter-spacing: .04em;
}
.eyebrow--light { color: var(--soft); }
.eyebrow--light span { background: rgba(255, 255, 255, .16); color: var(--white); }

.display {
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 88%;
  font-size: clamp(42px, 7.2vw, 108px);
  line-height: .9;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.display span { display: block; }
.display span:nth-child(2) { color: var(--blue); }

.subhead {
  margin: clamp(56px, 7vw, 96px) 0 24px;
  font: 600 13px/1 var(--font-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 16px;
}
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subhead--sm { margin-top: 0; }
.subhead--light { color: rgba(220, 233, 255, .7); }
.subhead--light::after { background: rgba(220, 233, 255, .16); }

.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.i-check {
  flex: none; width: 18px; height: 18px; margin-top: 2px; padding: 3px;
  border-radius: 50%; background: var(--soft);
  fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.i-arrow { width: .9em; height: .9em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .3s var(--ease); }

.tags, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 7px 11px; border-radius: 999px;
  background: #EEF3FC; color: var(--blue-deep);
  font: 600 11px/1 var(--font-ui); letter-spacing: .04em;
}

/* ---------- Sticky top bar ---------- */
.topbar {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 50%;
  width: min(1280px, 100% - 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(6, 26, 58, .72);
  border: 1px solid rgba(220, 233, 255, .12);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
          backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 18px 40px -20px rgba(6, 26, 58, .6);
  transform: translate(-50%, -140%);
  transition: transform .45s var(--ease);
}
.topbar.is-visible { transform: translate(-50%, 0); }
.topbar .brand { gap: 3px; }
.topbar .brand__word { font-size: 19px; }
.topbar .brand__sub { font-size: 6.5px; }
.topbar__links { display: flex; gap: 2px; }
.topbar__links a {
  padding: 10px 14px; border-radius: 999px;
  font: 500 13px/1 var(--font-ui);
  color: rgba(255, 255, 255, .82);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.topbar__links a:hover, .topbar__links a.is-active { background: rgba(255, 255, 255, .1); color: var(--white); }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.btn-sm { padding: 12px 18px; font-size: 11px; }
.topbar .menu-btn { display: none; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 01 About ---------- */
.section--about { background: var(--page); }
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.about__text p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.about__text p + p { margin-top: 18px; }
.about__text .about__lead {
  margin-bottom: 28px;
  color: var(--ink);
  font: 500 clamp(22px, 2.3vw, 32px)/1.35 var(--font-ui);
  letter-spacing: -.02em;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.stats strong {
  font-family: var(--font-display); font-weight: 850; font-stretch: 88%;
  font-size: clamp(40px, 4.4vw, 60px); line-height: .9; color: var(--blue);
}
.stats span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.quote {
  position: relative;
  margin-top: 12px;
  padding: 30px 28px 28px 64px;
  border-radius: 20px;
  color: var(--white);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(22, 119, 255, .9), transparent 60%),
    linear-gradient(150deg, #075BFF, #063B9C);
  font: 500 17px/1.6 var(--font-ui);
  overflow: hidden;
}
.quote::before {
  content: "“";
  position: absolute; left: 22px; top: 12px;
  font: 800 64px/1 var(--font-display); color: var(--soft); opacity: .8;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.values li {
  padding: 26px 24px 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.values li:hover { transform: translateY(-4px); border-color: rgba(7, 91, 255, .3); box-shadow: 0 24px 40px -28px rgba(7, 91, 255, .45); }
.values__n { font: 600 12px/1 var(--font-ui); color: var(--blue); letter-spacing: .1em; }
.values h4 { margin: 30px 0 10px; font: 700 18px/1.25 var(--font-ui); letter-spacing: -.01em; }
.values p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- 02 Projects ---------- */
.section--projects { background: var(--white); }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project {
  display: flex; flex-direction: column;
  border-radius: 24px;
  background: #F6F8FC;
  border: 1px solid var(--line);
  overflow: hidden;
  scroll-margin-top: 96px;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.project:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -40px rgba(6, 26, 58, .5); }
.project__visual {
  position: relative;
  aspect-ratio: 16 / 9.4;
  margin: 10px 10px 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue);
}
.project__visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.project:hover .project__visual img { transform: scale(1.03); }
.project__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: 26px;
  color: var(--white);
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(22, 119, 255, .95), transparent 65%),
    linear-gradient(150deg, #075BFF 0%, #063B9C 60%, #061A3A 100%);
}
.project__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 80%);
          mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 80%);
}
.project__placeholder > * { position: relative; }
.project__word {
  font-family: var(--font-display); font-weight: 900; font-stretch: 85%;
  font-size: clamp(56px, 8vw, 120px); line-height: .8; letter-spacing: -.02em;
}
.project__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.project__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font: 600 11px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.project__meta span + span { color: var(--muted); }
.project h3 {
  margin: 14px 0 12px;
  font-family: var(--font-display); font-weight: 850; font-stretch: 90%;
  font-size: clamp(28px, 2.8vw, 40px); line-height: 1; text-transform: uppercase;
}
.project__client { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); font-weight: 500; }
.project__client .logo-chip { border: 1px solid var(--line); box-shadow: none; }
.project__desc { margin-top: 14px; color: var(--muted); line-height: 1.65; }
.project__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 11px 16px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font: 600 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s var(--ease);
}
.link-arrow:hover { background: var(--blue); }
.link-arrow:hover .i-arrow { transform: rotate(45deg); }
.badge {
  flex: none; padding: 10px 14px; border-radius: 999px;
  border: 1px dashed rgba(6, 26, 58, .25); color: var(--muted);
  font: 600 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
}

.work-list { border-top: 1px solid var(--line); }
.work-list li { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.work-list a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 160px 170px 44px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  transition: padding .35s var(--ease);
}
.work-list a:hover { padding-left: 12px; }
.work-list__thumb {
  display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: linear-gradient(150deg, var(--blue), var(--blue-deep));
}
.work-list__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-list__mono {
  display: grid; place-items: center; height: 100%;
  font: 900 28px/1 var(--font-display); color: var(--white); text-transform: uppercase;
}
.work-list__main { display: grid; gap: 6px; }
.work-list__main strong { font: 800 22px/1.1 var(--font-display); font-stretch: 92%; text-transform: uppercase; }
.work-list__main span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.work-list__kind, .work-list__period { font: 600 12px/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.work-list__go {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.work-list a:hover .work-list__go { background: var(--blue); border-color: var(--blue); color: var(--white); }
.work-list a:hover .i-arrow { transform: rotate(45deg); }

/* ---------- 03 Skills ---------- */
.section--skills { background: var(--page); }
.skills { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.skill {
  grid-column: span 2;
  display: flex; flex-direction: column;
  min-height: 250px;
  padding: 26px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.skill__n { font: 600 12px/1 var(--font-ui); color: var(--blue); letter-spacing: .1em; }
.skill h3 {
  margin: 14px 0 auto;
  padding-bottom: 28px;
  font-family: var(--font-display); font-weight: 850; font-stretch: 90%;
  font-size: clamp(30px, 3vw, 44px); line-height: 1; text-transform: uppercase;
}
.chips li {
  padding: 10px 14px; border-radius: 999px;
  background: var(--page); border: 1px solid var(--line);
  font: 500 14px/1 var(--font-ui);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chips li:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.skill--lang {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  column-gap: 40px;
  align-items: end;
  background: linear-gradient(150deg, #075BFF, #063B9C);
  color: var(--white);
  border-color: transparent;
}
.skill--lang .skill__n { grid-column: 1 / -1; }
.skill--lang h3 { margin: 14px 0 0; padding: 0; }
.skill--lang .skill__n { color: var(--soft); }
.langs { display: grid; gap: 14px; }
.langs div { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(220, 233, 255, .22); }
.langs dt { font-weight: 700; }
.langs dd { color: rgba(220, 233, 255, .85); font-size: 14px; text-align: right; }

/* ---------- 04 Experience ---------- */
.section--experience { background: var(--white); }
.timeline-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }
.timeline { position: relative; display: grid; gap: 28px; }
.timeline > li {
  position: relative;
  padding: 26px 26px 28px;
  border-radius: 20px;
  background: #F6F8FC;
  border: 1px solid var(--line);
}
.timeline__period {
  display: inline-block; margin-bottom: 14px;
  padding: 7px 11px; border-radius: 999px;
  background: var(--soft); color: var(--blue-deep);
  font: 600 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase;
}
.timeline h4 { font: 700 21px/1.25 var(--font-ui); letter-spacing: -.015em; }
.timeline__org { margin-top: 6px; color: var(--muted); font-size: 14px; }
.timeline .checks { margin-top: 20px; color: var(--ink); font-size: 15px; }

/* ---------- 05 Services (dark) ---------- */
.section--services { color: var(--white); background: var(--navy); overflow: hidden; }
.services__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(22, 119, 255, .45), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(7, 91, 255, .3), transparent 70%);
}
.services__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.section--services .container { position: relative; }
.section--services .eyebrow { color: var(--soft); }
.section--services .eyebrow span { background: rgba(255, 255, 255, .12); color: var(--white); }
.section--services .display span:nth-child(2) { color: #5FA0FF; }
.section--services .section__intro { color: rgba(220, 233, 255, .72); }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service {
  display: flex; flex-direction: column;
  padding: 30px 28px;
  border-radius: 22px;
  background: rgba(220, 233, 255, .05);
  border: 1px solid rgba(220, 233, 255, .12);
  scroll-margin-top: 96px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.service:hover { background: rgba(7, 91, 255, .16); border-color: rgba(95, 160, 255, .45); transform: translateY(-4px); }
.service__n { font: 800 64px/.8 var(--font-display); font-stretch: 88%; color: rgba(95, 160, 255, .55); }
.service h3 { margin: 36px 0 12px; font: 850 30px/1 var(--font-display); font-stretch: 90%; text-transform: uppercase; }
.service > p { color: rgba(220, 233, 255, .75); line-height: 1.65; margin-bottom: 24px; }
.service .checks { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(220, 233, 255, .12); font-size: 14.5px; }
.service .i-check { background: rgba(22, 119, 255, .25); stroke: #8EC0FF; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.process li { position: relative; padding-top: 22px; border-top: 2px solid rgba(220, 233, 255, .16); }
.process li::before {
  content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 2px; background: var(--electric);
}
.process span { font: 600 12px/1 var(--font-ui); letter-spacing: .1em; color: #8EC0FF; }
.process h4 { margin: 14px 0 8px; font: 700 19px/1.2 var(--font-ui); }
.process p { color: rgba(220, 233, 255, .7); font-size: 14.5px; line-height: 1.6; }

/* ---------- 06 FAQ ---------- */
.section--faq { background: var(--page); }
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section__head { display: block; margin: 0; position: sticky; top: 110px; }
.faq .display { font-size: clamp(42px, 5.6vw, 84px); }
.faq__list { display: grid; gap: 10px; }
.faq details {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease);
}
.faq details[open] { border-color: rgba(7, 91, 255, .35); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px;
  font: 600 17px/1.4 var(--font-ui); letter-spacing: -.01em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--soft); transition: background .25s var(--ease), transform .3s var(--ease);
}
.faq summary span::before, .faq summary span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px;
  background: var(--blue-deep); transform: translate(-50%, -50%);
}
.faq summary span::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary span { background: var(--blue); }
.faq details[open] summary span::before, .faq details[open] summary span::after { background: var(--white); }
.faq details[open] summary span::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 24px 24px; color: var(--muted); line-height: 1.7; max-width: 60ch; }

/* ---------- 07 Contact ---------- */
.section--contact { background: var(--page); padding-top: 0; }
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 6vw, 80px);
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(155deg, #0A4AD0 0%, #075BFF 40%, #063B9C 85%, #061A3A 100%);
  overflow: hidden;
  isolation: isolate;
}
.contact__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 60% at 85% 10%, rgba(120, 186, 255, .5), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 56px 56px;
}
.contact .display { font-size: clamp(48px, 8vw, 128px); }
.contact .display span:nth-child(2) { color: var(--soft); }
.contact__text { margin-top: 24px; max-width: 46ch; color: rgba(220, 233, 255, .85); font-size: 17px; line-height: 1.6; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  font: 600 clamp(18px, 2.2vw, 28px)/1.2 var(--font-ui); letter-spacing: -.02em;
  border-bottom: 2px solid rgba(220, 233, 255, .4);
  padding-bottom: 6px;
  word-break: break-all;
  transition: border-color .25s var(--ease);
}
.contact__mail:hover { border-color: var(--white); }
.contact__mail:hover .i-arrow { transform: rotate(45deg); }
.contact__side { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.status {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(6, 26, 58, .35); border: 1px solid rgba(220, 233, 255, .18);
  font: 600 12px/1.3 var(--font-ui); letter-spacing: .04em;
}
.status i {
  width: 8px; height: 8px; border-radius: 50%; background: #5CF2A8;
  box-shadow: 0 0 0 0 rgba(92, 242, 168, .6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(92, 242, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 242, 168, 0); } }
.contact__info { display: grid; gap: 4px; }
.contact__info div {
  display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: center;
  padding: 14px 0; border-top: 1px solid rgba(220, 233, 255, .16);
}
.contact__info svg {
  grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round;
}
.contact__info dt { font: 600 11px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: rgba(220, 233, 255, .7); }
.contact__info dd { margin-top: 6px; font-weight: 600; word-break: break-word; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact__actions .cta { margin: 0; }
.social {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(220, 233, 255, .2);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--white); color: var(--navy); }
svg.fill { fill: currentColor; stroke: none; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 28px; color: var(--white); background: var(--navy); overflow: hidden; }
.footer .brand__word { font-size: 26px; }
.footer .brand__sub { font-size: 8px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__tagline { margin-top: 20px; max-width: 42ch; color: rgba(220, 233, 255, .7); line-height: 1.65; }
.footer__nav, .footer__social { display: grid; align-content: start; gap: 12px; }
.footer__nav a, .footer__social a { color: rgba(220, 233, 255, .8); display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.footer__nav a:hover, .footer__social a:hover { color: var(--white); }
.footer__word {
  display: flex; align-items: center; gap: .04em;
  margin: 56px 0 24px;
  font-family: var(--font-display); font-weight: 900; font-stretch: 90%;
  font-size: clamp(64px, 18vw, 300px); line-height: .8; letter-spacing: .01em;
  color: transparent;
  background: linear-gradient(180deg, rgba(95, 160, 255, .55), rgba(7, 91, 255, .08));
  -webkit-background-clip: text; background-clip: text;
}
.footer__word .brand__plus { width: .7em; height: .7em; stroke: rgba(95, 160, 255, .45); stroke-width: 4; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px; border-top: 1px solid rgba(220, 233, 255, .12);
  font-size: 13px; color: rgba(220, 233, 255, .65);
}
.footer__bottom a:hover { color: var(--white); }

/* ---------- Section responsive ---------- */
@media (max-width: 1100px) {
  .topbar__links { display: none; }
  .topbar .menu-btn { display: inline-block; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-list a { grid-template-columns: 100px minmax(0, 1fr) 140px 44px; }
  .work-list__period { display: none; }
  .services { grid-template-columns: 1fr; }
  .service { display: grid; grid-template-columns: 90px 1fr 1fr; column-gap: 28px; }
  .service__n { grid-row: span 3; }
  .service h3 { margin-top: 0; }
  .service .checks { grid-column: 3; grid-row: 1 / span 3; margin: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid rgba(220, 233, 255, .12); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}
@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; row-gap: 20px; }
  .about, .timeline-wrap, .faq, .contact { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .projects { grid-template-columns: 1fr; }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill { grid-column: span 1; min-height: 0; }
  .skill--lang { grid-column: 1 / -1; grid-template-columns: 1fr; row-gap: 24px; }
  .service { display: flex; }
  .service h3 { margin-top: 28px; }
  .service .checks { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(220, 233, 255, .12); margin-top: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .topbar { top: 8px; padding: 6px 6px 6px 16px; }
  .topbar .btn-sm, .topbar .lang { display: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats li { padding: 16px 14px; }
  .values { grid-template-columns: 1fr; }
  .values h4 { margin-top: 18px; }
  .skills { grid-template-columns: 1fr; }
  .project__body { padding: 20px; }
  .project__foot { flex-wrap: wrap; }
  .work-list a { grid-template-columns: 76px minmax(0, 1fr) 40px; gap: 14px; }
  .work-list__kind { display: none; }
  .work-list__main span { display: none; }
  .work-list__go { width: 40px; height: 40px; }
  .process { grid-template-columns: 1fr; }
  .quote { padding: 26px 22px 24px 52px; font-size: 16px; }
  .quote::before { left: 16px; }
  .contact { border-radius: 22px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

.link-arrow--cv { justify-self: start; margin-top: 24px; grid-column: 1; }
@media (max-width: 1100px) {
  .skill { grid-column: span 2; }
}
@media (max-width: 860px) {
  .skill { grid-column: span 1; }
}
.skill.skill--lang { grid-column: 1 / -1; }

/* ==========================================================================
   Scroll showcase (after the hero)
   Without JS: a plain stacked section. With JS: the stage is pinned, the
   portrait slides to the right (--p0) and each scroll step shows a project.
   ========================================================================== */
.showcase {
  --p: 0; --p0: 0;
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, #0A3FB8 0%, #06307F 35%, #061A3A 100%);
}
.showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.showcase__stage { position: relative; z-index: 2; overflow: hidden; padding: 120px var(--gutter) 96px; }
.showcase__intro, .showcase__slides, .showcase__cta { position: relative; }
.showcase__intro { max-width: 760px; margin-bottom: 72px; }
.showcase .display span:nth-child(2) { color: #7DB3FF; }
.showcase__lead { margin-top: 22px; max-width: 46ch; color: rgba(220, 233, 255, .8); font-size: 17px; line-height: 1.6; }
.showcase__hint { display: none; }
.showcase__slides { display: grid; gap: 64px; }
.showcase__dots, .showcase__progress, .showcase__snaps { display: none; }

.slide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.browser {
  border-radius: 14px; overflow: hidden; background: #0B1B3A;
  border: 1px solid rgba(220, 233, 255, .16);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 6px rgba(220, 233, 255, .05);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(220, 233, 255, .08); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(220, 233, 255, .3); }
.browser__bar span {
  margin-left: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(6, 26, 58, .5);
  font: 500 11px/1 var(--font-ui); color: rgba(220, 233, 255, .75); letter-spacing: .02em;
}
.browser img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 738; object-fit: cover; object-position: top; }
.slide__n { font: 800 15px/1 var(--font-display); letter-spacing: .06em; color: #7DB3FF; }
.slide__n span { margin-left: 6px; color: rgba(220, 233, 255, .45); }
.slide__client { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: 600 12px/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: rgba(220, 233, 255, .8); }
.slide h3 {
  margin: 18px 0 8px;
  font-family: var(--font-display); font-weight: 900; font-stretch: 86%;
  font-size: clamp(44px, 5vw, 84px); line-height: .88; letter-spacing: -.015em; text-transform: uppercase;
}
.slide__org { color: var(--soft); font-weight: 600; }
.slide__desc { margin-top: 14px; max-width: 48ch; color: rgba(220, 233, 255, .78); line-height: 1.65; }
.slide .cta, .showcase__cta .cta { margin-top: 26px; }

.showcase__cta { margin-top: 96px; }
.showcase__cta .display { font-size: clamp(44px, 6.4vw, 104px); }
.showcase__cta p { margin-top: 20px; max-width: 44ch; color: rgba(220, 233, 255, .82); font-size: 18px; line-height: 1.6; }
.showcase__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.showcase__actions .cta { margin-top: 28px; }
.showcase__actions .btn-ghost { margin-top: 28px; padding: 17px 22px; font-size: 12px; color: var(--white); }
.btn-ghost:hover { background: rgba(220, 233, 255, .16); }

/* ---------- Pinned, scroll-driven mode ---------- */
html.js { scroll-snap-type: y proximity; }
.js .showcase { height: calc(var(--steps) * 100vh); }
.js .showcase__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: visible; }
.js .showcase__snaps { display: block; position: absolute; inset: 0; pointer-events: none; }
.js .showcase__snaps span {
  position: absolute; left: 0; width: 1px; height: 1px;
  /* offsets compensate the html scroll-padding-top (84px) */
  top: calc(var(--i) * 100vh + 84px);
  scroll-snap-align: start;
}

.js .showcase__intro {
  position: absolute; z-index: 2; left: 5.8%; top: 50%; margin: 0;
  width: min(600px, 40%);
  transform: translateY(calc(-50% - 80px * var(--p0)));
  opacity: calc(1 - 2.2 * var(--p0));
}
.js .showcase[data-step]:not([data-step="0"]) .showcase__intro { visibility: hidden; }
.js .showcase__hint {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 36px;
  font: 600 11px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: rgba(220, 233, 255, .7);
}
.js .showcase__hint i { position: relative; width: 1px; height: 44px; background: rgba(220, 233, 255, .25); overflow: hidden; }
.js .showcase__hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { to { top: 100%; } }

.js .showcase__slides { position: absolute; z-index: 2; inset: 0; display: block; }
.js .slide, .js .showcase__cta {
  position: absolute; left: 5.8%; top: 50%;
  width: min(900px, 60%);
  margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(calc(-50% + 70px));
  transition: opacity .6s var(--ease), transform .8s var(--ease), visibility .8s;
}
.js .slide.is-past, .js .showcase__cta.is-past { transform: translateY(calc(-50% - 70px)); }
.js .slide.is-active, .js .showcase__cta.is-active { opacity: 1; visibility: visible; transform: translateY(-50%); }
.js .slide .browser { transform: translateY(30px) rotate(-1.5deg); transition: transform 1s var(--ease); }
.js .slide.is-active .browser { transform: none; }
.js .showcase__cta { z-index: 2; }

.js .showcase__dots {
  display: flex; gap: 22px; position: absolute; z-index: 3; left: 5.8%; bottom: 44px;
  font: 600 11px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase;
  opacity: calc(var(--p0) * 1.2);
}
.js .showcase__dots li { color: rgba(220, 233, 255, .4); transition: color .3s var(--ease); }
.js .showcase__dots li::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 10px; background: currentColor; transition: width .4s var(--ease); }
.js .showcase__dots li.is-active { color: var(--white); }
.js .showcase__dots li.is-active::before { width: 56px; background: var(--electric); }
.js .showcase__progress { display: block; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(220, 233, 255, .1); }
.js .showcase__progress span { display: block; height: 100%; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--electric), #7DB3FF); }

@media (max-width: 1100px) {
  .js .slide { grid-template-columns: 1fr; gap: 26px; width: min(560px, 58%); }
  .js .slide h3 { font-size: clamp(40px, 6vw, 64px); }
}
@media (max-width: 760px) {
  .slide { grid-template-columns: 1fr; gap: 24px; }
  .travel .portrait { height: auto; width: min(120vw, 60svh); left: calc(58% + 16% * var(--p0)); opacity: calc(1 - .72 * var(--p0)); }
  .travel__glow { left: calc(58% + 16% * var(--p0)); width: 90vw; }
  .js .showcase__intro { left: 20px; right: 20px; width: auto; top: 96px; transform: translateY(calc(-60px * var(--p0))); }
  .js .showcase__intro .display { font-size: clamp(38px, 12.5vw, 60px); }
  .js .showcase__lead { font-size: 15px; }
  .js .showcase__hint { margin-top: 22px; }
  .js .slide, .js .showcase__cta { left: 18px; right: 18px; width: auto; top: 84px; transform: translateY(60px); }
  .js .slide.is-past, .js .showcase__cta.is-past { transform: translateY(-60px); }
  .js .slide.is-active, .js .showcase__cta.is-active { transform: none; }
  .js .slide { gap: 18px; }
  .js .slide h3 { font-size: 44px; margin: 12px 0 6px; }
  .js .slide__client { margin-top: 14px; }
  .js .slide__desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .js .slide .cta { margin-top: 18px; }
  .js .showcase__cta { top: auto; bottom: 90px; }
  .js .showcase__cta .display { font-size: clamp(40px, 12vw, 60px); }
  .js .showcase__dots { left: 18px; right: 18px; bottom: 26px; gap: 14px; font-size: 10px; }
  .js .showcase__dots li::before { width: 18px; }
  .js .showcase__dots li.is-active::before { width: 36px; }
}
.js .showcase__intro .display { font-size: clamp(40px, 5.2vw, 88px); }

/* ---------- Availability card (Parcours) ---------- */
.available {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(120, 186, 255, .45), transparent 65%),
    linear-gradient(150deg, #075BFF 0%, #063B9C 70%, #061A3A 100%);
  overflow: hidden;
}
.available h4 {
  margin: 22px 0 12px;
  font-family: var(--font-display); font-weight: 900; font-stretch: 88%;
  font-size: clamp(34px, 3.6vw, 52px); line-height: .92; text-transform: uppercase;
}
.available__text { color: rgba(220, 233, 255, .88); line-height: 1.65; max-width: 52ch; }
.available .checks { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(220, 233, 255, .2); font-size: 15px; }
.available .i-check { background: rgba(255, 255, 255, .16); stroke: var(--white); }
.available__actions { margin-top: 26px; }
.available__actions .cta { margin: 0; }
