/* SERDAO orbit landing page. Two themes on one token set: dark (default) and light. */
:root {
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
}
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061d23; --bg-alt: #08262d; --card: #0b2a31; --card-2: #0b3039;
  --line: #1e5260; --line-2: #2b6170;
  --ink: #ffffff; --text: #e6f1f3; --muted: #b9d0d4; --muted-2: #9fbdc2;
  --teal: #7fd0d6; --live: #3ecf8e;
  --acc: #df6d19; --acc-ink: #111111; --acc-soft: #f0a868;
  --chip: #ffffff; --chip-line: #ffffff; --input: #061d23; --input-line: #2b6170;
  --scrim: rgba(3, 14, 17, .72);
  --core: #0b3039; --node: #0b3039; --node-ink: #7fd0d6; --tick: #2b6170; --sweep: rgba(80, 183, 190, .22);
  --logo-filter: invert(1) grayscale(1); --logo-op: .8;
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, .65);
  --nav-bg: rgba(6, 29, 35, .78);
  --grad-a: #df6d19; --grad-b: #f0a868; --grad-c: #7fd0d6;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbfaf7; --bg-alt: #f1f7f8; --card: #ffffff; --card-2: #f1f7f8;
  --line: #dce5e7; --line-2: #c5d3d6;
  --ink: #1f2022; --text: #1f2022; --muted: #444c54; --muted-2: #5f6b74;
  --teal: #2f7c84; --live: #1f9d63;
  --acc: #b84d0c; --acc-ink: #ffffff; --acc-soft: #b84d0c;
  --chip: #ffffff; --chip-line: #dce5e7; --input: #ffffff; --input-line: #b9c7ca;
  --scrim: rgba(31, 32, 34, .45);
  --core: #123e48; --node: #ffffff; --node-ink: #2f7c84; --tick: #b9c9cc; --sweep: rgba(47, 124, 132, .16);
  --logo-filter: none; --logo-op: .82;
  --shadow: 0 40px 80px -44px rgba(18, 62, 72, .4);
  --nav-bg: rgba(251, 250, 247, .82);
  --grad-a: #b84d0c; --grad-b: #df6d19; --grad-c: #2f7c84;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
section[id], #privacy { scroll-margin-top: calc(var(--nav-h) + 12px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--acc); color: var(--acc-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-weight: 500; }
.muted { color: var(--muted-2); }
.teal { color: var(--teal); }
.acc-soft { color: var(--acc-soft); }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px var(--live); animation: pulse 2.4s ease-in-out infinite; }
.live--acc { background: var(--acc); box-shadow: 0 0 12px var(--acc); }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.45; color: var(--muted); max-width: 34em; }
.caption { font: 500 13px/1.5 var(--mono); color: var(--muted-2); }
.row-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.row-label .rule { flex: 1 1 auto; height: 1px; background: var(--line); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--acc { background: var(--acc); color: var(--acc-ink); }
.btn--acc:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--acc) 70%, transparent); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.call { display: inline-flex; flex-direction: column; line-height: 1.3; text-decoration: none; }
.call strong { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: text-decoration-color .3s; }
.call:hover strong { text-decoration-color: var(--acc); }
.call small { font-size: 14px; color: var(--muted-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav__bar { min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color .25s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
:root[data-theme="dark"] .logo-light, :root:not([data-theme="light"]) .logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }
.theme-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: inline-grid; place-items: center; overflow: hidden; transition: border-color .3s; }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease), opacity .4s ease; }
.i-sun { transform: translateY(0) rotate(0); }
.i-moon { transform: translateY(140%) rotate(-60deg); opacity: 0; }
:root[data-theme="light"] .i-sun { transform: translateY(-140%) rotate(90deg); opacity: 0; }
:root[data-theme="light"] .i-moon { transform: none; opacity: 1; }
@media (max-width: 980px) { .nav__links { display: none; } }
@media (max-width: 520px) { .nav__actions .btn { display: none; } }

/* hero */
.hero { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(circle, color-mix(in srgb, var(--teal) 14%, transparent), transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: 48px; }
.hero__top { display: flex; flex-wrap: wrap; gap: 28px 72px; align-items: flex-end; justify-content: space-between; }
.hero__copy { flex: 1 1 720px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__aside { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
h1 { font-size: clamp(44px, 6vw, 88px); line-height: .96; letter-spacing: -.05em; font-weight: 800; }
h1 em { font-style: normal; color: var(--acc); background-image: linear-gradient(100deg, var(--grad-a) 0%, var(--grad-b) 42%, var(--grad-c) 100%); background-size: 220% 100%; background-position: 0% 50%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .04em; }
.js h1 em { animation: sheen 2.6s cubic-bezier(.65, 0, .35, 1) .5s both; }
@keyframes sheen { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }
h1 .mask { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .mask > span { display: inline-block; }
.js h1 .mask > span { animation: rise 1.2s var(--ease) both; }
.js h1 .mask + .mask > span { animation-delay: .12s; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

.js .usp li { animation: up .9s var(--ease) both; }
.js .usp li:nth-child(2) { animation-delay: .08s; } .js .usp li:nth-child(3) { animation-delay: .16s; } .js .usp li:nth-child(4) { animation-delay: .24s; } .js .usp li:nth-child(5) { animation-delay: .32s; }

/* stage: dial + panels */
.stage { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.dial-col { flex: 0 1 440px; width: 440px; max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.panel-col { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dial { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.dial__ring { position: absolute; inset: 6.5%; border-radius: 50%; border: 1px solid var(--line); }
.dial__sweep { position: absolute; inset: 6.5%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, transparent 290deg, var(--sweep) 359deg, transparent 360deg); animation: spin 7s linear infinite; }
.dial__rot { position: absolute; inset: 0; transition: transform 1.25s var(--ease-io); }
.dial__ticks { position: absolute; inset: 1.5%; border-radius: 50%; background: repeating-conic-gradient(var(--tick) 0 .45deg, transparent .45deg 4deg); -webkit-mask: radial-gradient(circle, transparent 0 93%, #000 93.5% 100%); mask: radial-gradient(circle, transparent 0 93%, #000 93.5% 100%); }
.node { position: absolute; width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--node); color: var(--node-ink); font: 500 15px var(--mono); display: flex; align-items: center; justify-content: center; transition: transform 1.25s var(--ease-io), background-color .6s ease, color .6s ease, border-color .6s ease, box-shadow .6s ease; }
.node:hover { border-color: var(--teal); }
.node.on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); box-shadow: 0 0 0 10px color-mix(in srgb, var(--acc) 16%, transparent), 0 0 48px color-mix(in srgb, var(--acc) 42%, transparent); }
.dial__core { position: absolute; inset: 27%; border-radius: 50%; background: var(--core); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: inset 0 0 60px rgba(0, 0, 0, .35); }
.mark { grid-area: 1 / 1; font: 500 clamp(40px, 5vw, 66px)/1 var(--mono); color: #ffffff; opacity: 0; transform: scale(.55); filter: blur(12px); transition: opacity .6s ease, transform .9s var(--ease), filter .7s ease; }
.mark.on { opacity: 1; transform: none; filter: none; transition-delay: .45s; }
.dial__link { position: absolute; top: 50%; left: calc(93.5% + 36px); right: -48px; height: 1px; background: linear-gradient(90deg, var(--acc), var(--line)); }
.dial__link i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: travel 2.6s cubic-bezier(.6, 0, .4, 1) infinite; }
@media (max-width: 1060px) { .dial__link { display: none; } }
.legend { display: flex; flex-direction: column; gap: 4px; }
.legend button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted-2); text-align: left; font-size: 16px; transition: background-color .5s ease, color .5s ease, border-color .5s ease; }
.legend b { flex: 0 0 40px; font: 500 13px var(--mono); color: var(--teal); transition: color .5s ease; }
.legend button:hover { color: var(--ink); }
.legend button.on { background: var(--card); border-color: var(--line); color: var(--ink); }
.legend button.on b { color: var(--acc); }

.panels { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.panel { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.panel.on { opacity: 1; visibility: visible; transition: opacity .5s ease .15s, visibility 0s; }
.panel:focus-visible { outline-offset: 12px; }
.panel .ln { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s ease; }
.panel.on .ln { opacity: 1; transform: none; filter: none; transition-delay: calc(.35s + var(--i, 0) * 70ms); }
.panel .kicker-sm { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.panel h2 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; }
.panel .desc { font-size: 18px; color: var(--muted); max-width: 36em; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.cols > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.check, .dot { display: flex; gap: 12px; }
.check svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--acc-soft); stroke-width: 2; }
.dot .d { flex: 0 0 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--teal); }
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.stat strong { font: 500 46px/1 var(--mono); letter-spacing: -.04em; color: var(--acc); }
.stat span { color: var(--muted); }
.boundary { padding: 14px 18px; border-radius: 14px; background: var(--bg); font-size: 15px; color: var(--muted); }
.boundary strong { color: var(--ink); }
.proofs { display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--chip-line); background: var(--chip); color: #1f2022; transition: transform .3s var(--ease), box-shadow .3s ease; }
.chip img { height: 22px; width: auto; max-width: 110px; object-fit: contain; }
.chip small { font-size: 12px; color: #444c54; white-space: nowrap; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--acc); }
.note { font-size: 14px; color: var(--muted-2); }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.segs { flex: 1 1 220px; display: flex; gap: 6px; }
.seg-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.seg-bar i { display: block; height: 100%; background: var(--acc); transform-origin: left center; transform: scaleX(0); }
.seg-bar.past i { transform: scaleX(1); background: var(--teal); }
.seg-bar.on i { animation: fill 10s linear forwards; }
.stage.hold .seg-bar.on i { animation-play-state: paused; }
.ctl-row { display: flex; gap: 8px; }
.ctl { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 14px; transition: border-color .3s ease; }
.ctl:hover, .ctl--strong { border-color: var(--ink); }

/* sections */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section--alt { background: var(--bg-alt); }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.sub { font-size: 19px; color: var(--muted); max-width: 40em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }

/* clients */
.results { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; }
.bars { display: flex; flex-direction: column; gap: 18px; }
.bars__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bars__list button { display: grid; grid-template-columns: 150px minmax(0, 1fr) 36px; align-items: center; gap: 16px; width: 100%; min-height: 48px; padding: 4px 10px; margin: 0 -10px; width: calc(100% + 20px); border: 0; border-radius: 12px; background: transparent; text-align: left; transition: background-color .3s ease; }
.bars__list button:hover { background: color-mix(in srgb, var(--teal) 10%, transparent); }
.bars__name { font-size: 16px; color: var(--ink); }
.bars__name em { font: 500 13px var(--mono); font-style: normal; color: var(--muted-2); margin-left: 6px; }
.bars__track { height: 26px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.bars__track i { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--teal); transform-origin: left center; transform: scaleX(var(--v)); transition: transform 1.3s var(--ease); }
.bars__list li:nth-child(-n+2) .bars__track i { background: var(--acc); }
.js .bars:not(.in) .bars__track i { transform: scaleX(0); }
.bars__list li:nth-child(2) i { transition-delay: .08s; } .bars__list li:nth-child(3) i { transition-delay: .16s; } .bars__list li:nth-child(4) i { transition-delay: .24s; } .bars__list li:nth-child(5) i { transition-delay: .32s; } .bars__list li:nth-child(6) i { transition-delay: .4s; }
.bars__list strong { font: 500 20px var(--mono); color: var(--ink); text-align: right; }
.growth { display: flex; flex-direction: column; gap: 18px; }
.growth__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo-chip { display: inline-flex; align-items: center; padding: 12px 16px; border-radius: 12px; background: #ffffff; border: 1px solid var(--chip-line); }
.logo-chip img { height: 26px; width: auto; }
.growth__num { display: flex; align-items: baseline; gap: 10px; }
.growth__num strong { font: 500 52px/1 var(--mono); letter-spacing: -.04em; color: var(--acc); }
.growth__num span { font-size: 14px; color: var(--muted-2); max-width: 8em; line-height: 1.3; }
.growth__title { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.growth__list { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.growth__list .mono { display: block; font-size: 14px; color: var(--teal); }
.growth .btn { align-self: flex-start; margin-top: auto; }
.logos { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.logos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos__grid button { display: grid; place-items: center; min-height: 104px; padding: 18px 22px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background-color .35s ease; }
.logos__grid img { max-height: 40px; width: auto; max-width: 100%; object-fit: contain; filter: var(--logo-filter); opacity: var(--logo-op); transition: opacity .35s ease, transform .5s var(--ease); }
.logos__grid button:hover { background: var(--card); }
.logos__grid button:hover img { opacity: 1; transform: scale(1.06); }

/* team */
.team__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.team__top .head { margin-bottom: 0; }
.langs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.langs li { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.langs strong { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.langs span { font-size: 14px; color: var(--muted-2); }
.langs__more { grid-column: 1 / -1; }
.langs__more span { font-size: 15px; color: var(--muted); }
.marquee { overflow: hidden; padding: 8px 0 clamp(40px, 5vw, 64px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee figure { margin: 0; flex: 0 0 auto; width: 124px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.marquee img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.marquee figure:hover img { transform: scale(1.07); }
.marquee figcaption { font-size: 14px; color: var(--ink); text-align: center; }
.marquee figcaption span { display: block; font: 500 12px var(--mono); color: var(--muted-2); }
.leads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lead-card { display: flex; flex-direction: column; gap: 14px; }
.lead-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--card); }
.lead-card h3 { font-size: 22px; font-weight: 700; }
.lead-card .mono { font-size: 13px; color: var(--teal); margin: 2px 0 8px; }
.lead-card p:last-child { font-size: 15px; color: var(--muted); }

/* steps */

/* trust: certification feature card, three working facts, tools */
.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.trust__certs { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 44px); border-radius: 28px; color: #c4d8dc; background: radial-gradient(560px 340px at 88% -10%, rgba(80, 183, 190, .30), transparent 68%), #123e48; box-shadow: var(--shadow); }
:root[data-theme="dark"] .trust__certs { background: radial-gradient(560px 340px at 88% -10%, rgba(80, 183, 190, .22), transparent 68%), #0b3039; border: 1px solid var(--line); }
.trust__certs::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 40px rgba(255, 255, 255, .02), 0 0 0 80px rgba(255, 255, 255, .015); pointer-events: none; }
.trust__marks { display: flex; gap: 16px; margin-bottom: 18px; }
.trust__marks span { display: grid; place-items: center; width: clamp(108px, 10vw, 140px); aspect-ratio: 1 / 1; border-radius: 26px; background: #ffffff; box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.trust__marks span:nth-child(2) { transition-delay: .05s; }
.trust__certs:hover .trust__marks span { transform: translateY(-4px) rotate(-2deg); }
.trust__certs:hover .trust__marks span:nth-child(2) { transform: translateY(-4px) rotate(2deg); }
.trust__marks img { width: 80%; height: auto; }
.trust__certs .label { color: #f0a868; }
.trust__certs h3 { color: #ffffff; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.trust__checks { list-style: none; margin: 10px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 12px; }
.trust__checks li { display: flex; gap: 12px; }
.trust__checks svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: #f0a868; stroke-width: 2; }
.trust__side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.trust__stats { flex: 1 1 auto; list-style: none; margin: 0; padding: 0 clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.trust__stats li { flex: 1 1 0; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.trust__stats li:last-child { border-bottom: 0; }
.trust__stats strong { white-space: nowrap; font: 500 clamp(36px, 3.4vw, 48px)/1 var(--mono); letter-spacing: -.04em; color: var(--acc); }
.trust__stats h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.trust__stats p { color: var(--muted); max-width: 44em; }
.js .trust__stats li { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .trust__stats.in li { opacity: 1; transform: none; }
.trust__stats li:nth-child(2) { transition-delay: .1s; }
.trust__stats li:nth-child(3) { transition-delay: .2s; }
.trust__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 22px clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink); }
.member { display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px; border-radius: 18px; background: #ffffff; border: 1px solid var(--chip-line); transition: transform .4s var(--ease), box-shadow .4s ease; }
.member:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); }
.member img { height: 60px; width: auto; max-width: none; }
.member--ft { padding: 13px 22px; }
.member--ft img { height: 66px; }
.member--sm { padding: 9px 12px; border-radius: 12px; }
.member--sm img { height: 34px; }
.member--sm.member--ft { padding: 6px 12px; }
.member--sm.member--ft img { height: 40px; }
.footer__members { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__members-logos { display: flex; flex-wrap: wrap; gap: 10px; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 72px; align-items: start; }
.faq .head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; align-items: flex-start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; }
.qa button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 72px; padding: 16px 0; border: 0; background: transparent; text-align: left; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; color: var(--ink); }
.plus { position: relative; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s ease, border-color .3s ease; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
[aria-expanded="true"] > .plus { transform: rotate(45deg); background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa__a > div { overflow: hidden; min-height: 0; }
.qa__a p { padding: 0 52px 22px 0; color: var(--muted); }
.qa.open .qa__a { grid-template-rows: 1fr; }

/* request + form */
.request { background: radial-gradient(900px 500px at 15% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 70%), var(--bg); }
.request__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px 72px; align-items: start; }
.request__copy { display: flex; flex-direction: column; gap: 22px; }
.request__copy h2 { font-size: clamp(40px, 4.8vw, 68px); }
.selected { border: 1px solid var(--line); background: var(--card); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.selected__row { display: flex; align-items: center; gap: 16px; }
.selected__mark { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); font: 500 15px var(--mono); box-shadow: 0 0 30px color-mix(in srgb, var(--acc) 40%, transparent); }
.selected__txt { display: flex; flex-direction: column; min-width: 0; }
.selected__txt strong { font-size: 20px; color: var(--ink); line-height: 1.2; }
.selected__txt span { font-size: 15px; color: var(--muted-2); }
.selected.flash .selected__row { animation: flash .7s var(--ease); }
.next { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.next li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.next .mono { flex: 0 0 auto; font-size: 13px; color: var(--acc); margin-top: 3px; }
.next strong { display: block; color: var(--ink); }
.next li > span:last-child > span { font-size: 15px; color: var(--muted-2); }

.request__card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.formwrap { display: grid; }
.formwrap > .form, .formwrap > .done { grid-area: 1 / 1; transition: opacity .5s ease, transform .7s var(--ease), visibility 0s; }
.form { display: flex; flex-direction: column; gap: 22px; }
.formwrap.sent .form, .formwrap:not(.sent) .done { opacity: 0; transform: translateY(18px) scale(.98); visibility: hidden; pointer-events: none; transition: opacity .35s ease, transform .5s ease, visibility 0s linear .5s; }

.seg { position: relative; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--acc); transition: transform .55s var(--ease-io); }
.seg.cb .seg__pill { transform: translateX(100%); }
.seg label { position: relative; z-index: 1; display: grid; place-items: center; min-height: 46px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text); cursor: pointer; transition: color .4s ease; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { color: var(--acc-ink); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--acc); outline-offset: 2px; }

/* every field sits on three shared rows (label, control, message), so neighbours always line up */
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 0; }
.field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { align-self: end; display: flex; align-items: baseline; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field label em { margin-left: auto; padding-left: 10px; }
.field label b, .form__note b { color: var(--acc); font-weight: 600; }
.field label em, .more em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--input-line); border-radius: 14px; background: var(--input); color: var(--ink); font-size: 16px; transition: border-color .25s ease, box-shadow .25s ease; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--muted-2) 50%), linear-gradient(135deg, var(--muted-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 104px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); opacity: .75; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent); }
.field .err { min-height: 18px; margin-bottom: 6px; font-size: 13px; line-height: 1.35; color: #ff8f6b; }
:root[data-theme="light"] .field .err { color: #b3261e; }
.field.invalid input, .field.invalid select { border-color: #ff8f6b; }
:root[data-theme="light"] .field.invalid input, :root[data-theme="light"] .field.invalid select { border-color: #b3261e; }
.collapse { display: grid; grid-template-rows: 0fr; margin-top: -22px; transition: grid-template-rows .6s var(--ease), margin-top .6s var(--ease); }
.collapse > div { overflow: hidden; min-height: 0; }
.collapse:not(.open) > div { visibility: hidden; transition: visibility 0s linear .6s; }
.collapse.open { grid-template-rows: 1fr; margin-top: 0; }
.collapse .fgrid { padding-top: 2px; }
.more { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 0 0 2px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; text-align: left; }
.more .plus { margin-left: auto; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.submit { width: 100%; min-height: 58px; font-size: 17px; font-weight: 700; position: relative; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: none; animation: spin .8s linear infinite; }
.submit.busy .spinner { display: inline-block; }
.submit.busy { pointer-events: none; opacity: .85; }
.form__note { font-size: 13px; color: var(--muted-2); margin-top: -8px; }
.form__note a { color: var(--muted); }
.form__status:empty { display: none; }
.form__status { padding: 12px 16px; border-radius: 12px; border: 1px solid #ff8f6b; color: var(--ink); font-size: 15px; }

.formwrap > .done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 24px 0; }
.formwrap > .done:focus { outline: none; }
.done__check { width: 72px; height: 72px; fill: none; }
.done__check circle { stroke: var(--line-2); stroke-width: 2; }
.done__check path { stroke: var(--acc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .8s var(--ease-io) .45s; }
.formwrap.sent .done__check path { stroke-dashoffset: 0; }
.done h3 { font-size: 36px; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.done p { color: var(--muted); font-size: 18px; }
.done .mono { font-size: 13px; }
.done__preview { font-size: 14px !important; padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--line-2); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer__brand > img { height: 28px; width: auto; align-self: flex-start; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }

/* mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px)); background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); display: none; }
.actionbar .btn { width: 100%; }
.actionbar.show { transform: none; }
@media (max-width: 760px) { .actionbar { display: block; } body { padding-bottom: 0; } }

/* client sheet */
.sheet { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .7s; }
.sheet.on { visibility: visible; transition: visibility 0s; }
.sheet__scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .5s ease; }
.sheet.on .sheet__scrim { opacity: 1; }
.sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; overscroll-behavior: contain; background: var(--card); border-left: 1px solid var(--line); padding: 40px 40px calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; transform: translateX(100%); transition: transform .7s var(--ease); }
.sheet.on .sheet__panel { transform: none; }
.sheet .ln { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .8s var(--ease); }
.sheet.on .ln { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * 50ms); }
.sheet__x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); display: grid; place-items: center; z-index: 1; transition: border-color .3s, transform .4s var(--ease); }
.sheet__x:hover { border-color: var(--ink); transform: rotate(90deg); }
.sheet__x svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; }
.sheet__logo { align-self: flex-start; padding: 14px 18px; border-radius: 14px; background: #ffffff; border: 1px solid var(--chip-line); }
.sheet__logo img { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
#sh-title { font-size: 46px; line-height: 1; letter-spacing: -.04em; font-weight: 800; }
#sh-period { font-size: 13px; }
.sheet__headline { margin-top: 8px; font-size: 23px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.sheet .label { margin-top: 8px; }
#sh-work { display: flex; flex-direction: column; gap: 10px; }
.sheet__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sheet__facts div { flex: 1 1 140px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.sheet__facts span { display: block; font-size: 12px; color: var(--muted-2); }
.sheet__facts strong { color: var(--ink); font-weight: 600; }
.sheet__source { font-size: 13px; color: var(--muted-2); }
.sheet__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }
body.locked { overflow: hidden; }

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

/* theme switch: the view transition reveals the new theme in a circle from the button */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root.theme-fade *, :root.theme-fade *::before, :root.theme-fade *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease, stroke .5s ease !important; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
@keyframes flash { 0% { transform: scale(.97); opacity: .4; } 100% { transform: none; opacity: 1; } }

/* responsive */
@media (max-width: 1100px) {
  .results { grid-template-columns: 1fr; }
  .team__top { grid-template-columns: 1fr; }
  .leads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .request__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr; }
  .bars__list button { grid-template-columns: 110px minmax(0, 1fr) 28px; gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .fgrid { grid-template-columns: 1fr; }
  .leads { grid-template-columns: 1fr 1fr; gap: 14px; }
  .lead-card p:last-child { display: none; }
  .trust__stats li { grid-template-columns: 1fr; gap: 8px; }
  .panel h2 { font-size: 30px; }
  .stat strong { font-size: 38px; }
  .node { width: 54px; height: 54px; font-size: 13px; }
  .dial { width: 82%; margin: 6px auto; }
  .request__card, .panels { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}

/* tablet: when the panel drops below the dial, the service list sits beside the dial instead of leaving half the row empty */
@media (min-width: 700px) and (max-width: 1129px) {
  .dial-col { flex: 1 1 100%; width: 100%; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 48px; row-gap: 14px; align-items: center; }
  .dial-col > .row-label { grid-column: 1 / -1; }
  .dial-col > .dial { grid-column: 1; grid-row: 2 / span 2; }
  .dial-col > .legend { grid-column: 2; grid-row: 2; align-self: end; }
  .dial-col > .caption { grid-column: 2; grid-row: 3; align-self: start; padding-left: 14px; }
}

/* ===== motion per section ===== */
/* page progress line under the nav, and the current section in the nav */
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--acc), var(--teal)); transform-origin: left center; transform: scaleX(0); pointer-events: none; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease); }
.nav__links a.on { color: var(--ink); }
.nav__links a.on::after { transform: scaleX(1); }

/* generic staggered entrance: children arrive one after another */
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .9s var(--ease), background-color .35s ease; transition-delay: calc(var(--si, 0) * 80ms + .05s); }
.js [data-stagger="pop"] > * { transform: scale(.82); }
.js [data-stagger="left"] > * { transform: translateX(-26px); }
.js .head[data-stagger] > h2 { filter: blur(10px); transform: translateY(30px); }
.js [data-stagger].in > *, .js .head[data-stagger].in > h2 { opacity: 1; transform: none; filter: none; }
[data-count] { font-variant-numeric: tabular-nums; }

/* hero: a soft light follows the pointer */
.hero .wrap { z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), color-mix(in srgb, var(--acc) 11%, transparent), transparent 62%); opacity: 0; transition: opacity .7s ease; }
.hero.lit::after { opacity: 1; }

/* clients: logo cells light up where the pointer is */
.logos__grid button { position: relative; overflow: hidden; }
.logos__grid button::before { content: ""; position: absolute; inset: 0; background: radial-gradient(150px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--teal) 22%, transparent), transparent 70%); opacity: 0; transition: opacity .3s ease; }
.logos__grid button:hover::before { opacity: 1; }
.logos__grid img { position: relative; }
.growth .growth__num strong { display: inline-block; }

/* team: lead photos are uncovered from the bottom */
.lead-card img { transition: clip-path 1.2s var(--ease-io), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js .lead-card:not(.in) img { clip-path: inset(100% 0 0 0 round 20px); transform: scale(1.15); }
.js .lead-card.in img { clip-path: inset(0 0 0 0 round 20px); }
.lead-card:hover img { transform: scale(1.03); transition-delay: 0s; }

/* steps: each title and line arrive after its dot lights up */

/* trust: the two marks pop in with a small overshoot */
.js .trust__marks span { opacity: 0; transform: scale(.5) rotate(-14deg); transition: transform 1s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease; transition-delay: .25s; }
.js .trust__marks span:nth-child(2) { transform: scale(.5) rotate(14deg); transition-delay: .4s; }
.js .trust__certs.in .trust__marks span { opacity: 1; transform: none; }
.js .trust__certs.in:hover .trust__marks span { transform: translateY(-4px) rotate(-3deg); transition-delay: 0s; }
.js .trust__certs.in:hover .trust__marks span:nth-child(2) { transform: translateY(-4px) rotate(3deg); }

/* request: the form builds itself field by field */
.js .request__card .form > :is(.seg, .fgrid, .more, .submit, .form__note) { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease), box-shadow .3s ease; }
.request__card.in .form > :is(.seg, .fgrid, .more, .submit, .form__note) { opacity: 1; transform: none; }
.request__card .form > .seg { transition-delay: .15s; }
.request__card .form > .fgrid { transition-delay: .25s; }
.request__card .form > .more { transition-delay: .35s; }
.request__card .form > .submit { transition-delay: .43s; }
.request__card .form > .form__note { transition-delay: .5s; }
.request__card.in .form > .submit:hover { transform: translateY(-2px); transition-delay: 0s; }

/* ===== flags, team without photos (SERDAO feedback, Dec 2026) ===== */
:root { --person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Ccircle cx='12' cy='8' r='6.2'/%3E%3Cpath d='M.8 32c0-7.4 5-12.6 11.2-12.6S23.2 24.6 23.2 32z'/%3E%3C/svg%3E"); }
.flags { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: -1px; }
.flags img { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
.langs li > img { width: 30px; height: 20px; border-radius: 3px; margin-bottom: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }

/* the 95% card: always deep teal, with a route from France to Ho Chi Minh City */
.crew { position: relative; overflow: hidden; padding: clamp(26px, 3.6vw, 48px); border-radius: 32px; color: #c4d8dc; background: radial-gradient(720px 380px at 88% -8%, rgba(80, 183, 190, .30), transparent 64%), radial-gradient(620px 320px at -6% 108%, rgba(223, 109, 25, .16), transparent 62%), #123e48; box-shadow: var(--shadow); }
:root[data-theme="dark"] .crew { background: radial-gradient(720px 380px at 88% -8%, rgba(80, 183, 190, .22), transparent 64%), radial-gradient(620px 320px at -6% 108%, rgba(223, 109, 25, .14), transparent 62%), #0b3039; border: 1px solid var(--line); }
.crew::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); mask-image: linear-gradient(180deg, #000, transparent 55%); }
.crew > * { position: relative; z-index: 1; }
.crew__route { margin-bottom: clamp(22px, 3vw, 40px); }
.crew__arc { display: block; width: 100%; height: auto; overflow: visible; }
.arc-base { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; stroke-dasharray: 3 7; }
.arc-draw { fill: none; stroke: url(#arc-g); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-io) .35s; }
.crew.in .arc-draw, html:not(.js) .arc-draw { stroke-dashoffset: 0; }
.arc-end { fill: #123e48; stroke: #f0a868; stroke-width: 2; }
.arc-dot { fill: #f0a868; filter: drop-shadow(0 0 6px rgba(240, 168, 104, .9)); }
.crew__ends { display: flex; justify-content: space-between; gap: 16px; margin-top: -6px; }
.crew__end { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #a6c2c7; }
.crew__end img { width: 32px; height: 21px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
.crew__end strong { display: block; color: #ffffff; font-size: 16px; line-height: 1.2; }
.crew__end--to { flex-direction: row-reverse; text-align: right; }
.crew__body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px 64px; align-items: center; }
.crew__grid { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 9px 7px; }
.crew__grid i { display: block; aspect-ratio: 3 / 4; background: rgba(255, 255, 255, .16); -webkit-mask: var(--person) center / contain no-repeat; mask: var(--person) center / contain no-repeat; }
.crew__grid i.on { background: #7fd0d6; }
.js .crew__grid i { opacity: 0; transform: translateY(10px) scale(.6); transition: opacity .5s ease, transform .7s var(--ease), background-color .8s ease; transition-delay: calc(var(--i) * 10ms); }
.js .crew__grid i.on { background: rgba(255, 255, 255, .16); }
.js .crew.in .crew__grid i { opacity: 1; transform: none; }
.js .crew.in .crew__grid i.on { background: #7fd0d6; transition-delay: calc(var(--i) * 10ms), calc(var(--i) * 10ms), calc(1s + var(--i) * 8ms); }
.crew__note { margin-top: 14px; font: 500 12px var(--mono); color: #a6c2c7; }
.crew__copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.crew__big { font: 500 clamp(68px, 8vw, 120px)/.88 var(--mono); letter-spacing: -.05em; color: #f0a868; }
.crew__lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.3; font-weight: 700; color: #ffffff; max-width: 19em; }
.crew__keys { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #a6c2c7; }
.crew__keys li { display: flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 12px; height: 16px; background: rgba(255, 255, 255, .22); -webkit-mask: var(--person) center / contain no-repeat; mask: var(--person) center / contain no-repeat; }
.key--on { background: #7fd0d6; }
.crew__facts { list-style: none; margin: 14px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.crew__facts strong { display: block; font: 500 22px/1.15 var(--mono); color: #ffffff; white-space: nowrap; }
.crew__facts li > span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: #a6c2c7; }

/* role cards: avatar with a gradient ring and an on-shift dot, a big level mark behind */
.roles__label { margin: clamp(44px, 5vw, 64px) 0 18px; }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.role { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); transition: border-color .4s ease, box-shadow .5s ease; }
.role:hover { border-color: color-mix(in srgb, var(--teal) 55%, var(--line)); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .55); }
.role > :not(.role__bg) { position: relative; z-index: 1; }
.role__bg { position: absolute; right: -10px; bottom: -34px; font: 500 132px/1 var(--mono); letter-spacing: -.07em; color: var(--teal); opacity: .09; pointer-events: none; transition: transform .8s var(--ease), opacity .5s ease; }
.role:hover .role__bg { transform: translate(-10px, -6px); opacity: .14; }
.role__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.role__avatar { position: relative; flex: 0 0 auto; width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--acc), #50b7be 55%, var(--acc)); }
.role__avatar i { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 22%, #3c8f97, #0b3039 78%); border: 2px solid var(--card); }
.role__avatar i::after { content: ""; position: absolute; left: 19%; right: 19%; top: 24%; bottom: -10%; background: rgba(255, 255, 255, .94); -webkit-mask: var(--person) center bottom / contain no-repeat; mask: var(--person) center bottom / contain no-repeat; }
.role__status { position: absolute; right: 0; bottom: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--live); border: 3px solid var(--card); box-shadow: 0 0 10px var(--live); }
.role__level { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12px var(--mono); letter-spacing: .04em; color: var(--teal); }
.role h3 { font-size: 19px; font-weight: 700; }
.role p { font-size: 15px; color: var(--muted); }

@media (max-width: 1100px) {
  .crew__body { grid-template-columns: 1fr; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .crew__grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px 9px; }
  .crew__facts { grid-template-columns: 1fr 1fr; }
  .crew__end span { font-size: 12px; }
  .crew__end strong { font-size: 14px; }
  .roles { grid-template-columns: 1fr; }
}

/* hero facts strip: five equal cells, one hairline grid, a small visual in each */
.usp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.usp li { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 22px 22px; background: color-mix(in srgb, var(--card) 94%, transparent); transition: background-color .4s ease; }
.usp li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--acc), var(--teal)); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease); }
.usp li:hover { background: var(--card-2); }
.usp li:hover::before { transform: scaleX(1); }
.usp__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; margin-bottom: 4px; }
.usp__k { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.usp__v { font-size: clamp(22px, 1.85vw, 27px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; color: var(--ink); white-space: nowrap; }
.usp__d { font-size: 14px; line-height: 1.45; color: var(--muted-2); }
.usp__flags { display: flex; }
.usp__flags img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card), 0 2px 6px rgba(0, 0, 0, .25); transition: transform .4s var(--ease); }
.usp__flags img + img { margin-left: -7px; }
.usp li:hover .usp__flags img { transform: translateY(-2px); }
.usp li:hover .usp__flags img:nth-child(2) { transition-delay: .04s; } .usp li:hover .usp__flags img:nth-child(3) { transition-delay: .08s; } .usp li:hover .usp__flags img:nth-child(4) { transition-delay: .12s; }
.usp__tag { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); color: var(--teal); white-space: nowrap; }
.usp__people { display: flex; }
.usp__people i, .usp__people b { position: relative; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--card); }
.usp__people i { background: radial-gradient(circle at 30% 22%, #3c8f97, #0b3039 80%); }
.usp__people i::after { content: ""; position: absolute; left: 18%; right: 18%; top: 22%; bottom: -12%; background: rgba(255, 255, 255, .92); -webkit-mask: var(--person) center bottom / contain no-repeat; mask: var(--person) center bottom / contain no-repeat; }
.usp__people b { display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); font: 600 14px/1 var(--font); }
.usp__people > * + * { margin-left: -7px; }
.usp__live { display: inline-flex; align-items: center; gap: 7px; font: 500 11px/1 var(--mono); color: var(--live); white-space: nowrap; }
.usp__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: ping 2s ease-out infinite; }
.usp__certs { display: flex; gap: 5px; }
.usp__certs img { width: 28px; height: 28px; border-radius: 50%; background: #ffffff; padding: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@media (max-width: 1100px) {
  .usp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .usp li:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .usp li { padding: 16px 16px 18px; }
  .usp li:last-child { grid-column: 1 / -1; }
  .usp__v { font-size: 20px; white-space: normal; }
  .usp__d { font-size: 13px; }
}
.usp__plus { font-size: .62em; font-weight: 600; letter-spacing: 0; color: var(--teal); }
@media (max-width: 640px) {
  .usp__top { flex-wrap: wrap; justify-content: flex-start; gap: 8px 10px; }
  .usp__flags img, .usp__people i, .usp__people b, .usp__certs img { width: 22px; height: 22px; }
}

/* how we start: a rail that fills as you scroll and lights each step */
.journey { position: relative; --g: 20px; --p: 0; }
.journey__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.journey__rail { position: absolute; top: 31px; left: calc((100% - 3 * var(--g)) / 8); right: calc((100% - 3 * var(--g)) / 8); height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.journey__rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--acc), var(--teal)); transform-origin: left center; transform: scaleX(var(--p)); }
.journey__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.journey__node { position: relative; z-index: 1; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); border: 2px solid var(--line-2); color: var(--muted-2); transition: background-color .5s ease, border-color .5s ease, color .5s ease, box-shadow .7s ease, transform .7s var(--ease); }
.journey__node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.journey__step.lit .journey__node { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); transform: scale(1.06); box-shadow: 0 0 0 8px color-mix(in srgb, var(--acc) 15%, transparent), 0 16px 30px -14px var(--acc); }
.journey__card { position: relative; overflow: hidden; align-self: stretch; flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: border-color .5s ease, box-shadow .5s ease, transform .5s var(--ease); }
.journey__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--acc), var(--teal)); transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--ease); }
.journey__step.lit .journey__card { border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); }
.journey__step.lit .journey__card::before { transform: scaleX(1); }
.journey__card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .5); }
.journey__num { position: absolute; right: 14px; top: 2px; font: 500 68px/1 var(--mono); letter-spacing: -.06em; color: var(--teal); opacity: .1; pointer-events: none; transition: opacity .5s ease; }
.journey__step.lit .journey__num { opacity: .16; }
.journey__tag { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--teal) 13%, transparent); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.journey__card h3 { font-size: 21px; font-weight: 700; }
.journey__card p:last-child { color: var(--muted); }
@media (max-width: 900px) {
  .journey__list { grid-template-columns: 1fr; gap: 16px; }
  .journey__rail { top: 32px; bottom: var(--rail-end, 32px); left: 31px; right: auto; width: 2px; height: auto; }
  .journey__rail i { transform-origin: center top; transform: scaleY(var(--p)); }
  .journey__step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .journey__card { min-width: 0; }
}

/* language switch */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; transition: border-color .3s ease; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--ink); }
.lang__flag, .lang__menu img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .16); }
.lang__chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 196px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .25s ease, transform .35s var(--ease), visibility 0s linear .35s; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s var(--ease), visibility 0s; }
.lang__menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-size: 15px; text-align: left; transition: background-color .25s ease; }
.lang__menu button:hover, .lang__menu button:focus-visible { background: var(--card-2); }
.lang__menu button[aria-checked="true"] { color: var(--ink); font-weight: 600; }
.lang__menu button[aria-checked="true"]::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
@media (max-width: 640px) { .lang__name { display: none; } .lang__btn { padding: 0 10px; } }
main, footer, .nav__links { transition: opacity .35s ease; }
html.lang-swap main, html.lang-swap footer, html.lang-swap .nav__links { opacity: 0; transition-duration: .18s; }
html.i18n-pending body { visibility: hidden; }
/* French headlines run longer: keep the hero on two lines */
:lang(fr) h1 { font-size: clamp(40px, 5.3vw, 80px); }
