@font-face {
  font-family: "Outfit";
  src: url(fonts/outfit-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0e1116;
  --text: #5c6370;
  --muted: #6f7683;
  --line: #e4e7ec;
  --bg: #fff;
  --bg-soft: #f4f7ff;
  --bg-grey: #f3f5f5;
  --card: #fff;
  --chip: #f3f5f5;
  --brand: #0a3fc4;
  --tick: #a3b8ee;
  --blob: #eff3fe;
  --track: #c6d3f1;
  --mark: #6e7279;
  --navy: #131937;
  --navy-2: #1e2742;
  --hero: linear-gradient(90deg, #0337c6 0%, #0436b9 7%, #0731a8 14%, #082e96 22%, #0a2b83 30%, #0b2773 38%, #0c2360 46%, #0d2154 52%, #101e45 96%);
  --hero-top: linear-gradient(90deg, #023fe9 0%, #013ddf 7%, #043ad3 14%, #0338c3 22%, #0436b7 30%, #0732ac 38%, #0730a2 46%, #082f9c 52%, #082e95 96%);
}

[data-theme="dark"] {
  --ink: #f3f5fa;
  --text: #aab2c5;
  --muted: #8490a8;
  --line: #2a3352;
  --bg: #0b1023;
  --bg-soft: #0f1630;
  --bg-grey: #0d132a;
  --card: #161d3b;
  --chip: #232c4e;
  --brand: #86a7ff;
  --tick: #3f66d1;
  --blob: #10183a;
  --track: #3f66d1;
  --mark: #8d96ad;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font: 400 16px/22px "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .offer :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1216px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 49px; padding: 0 32px; border-radius: 8px; font-size: 18px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-white { background: #fff; color: #0a37b5; }
.btn-white:hover { background: #e7edff; }
.btn-outline { border: 1px solid #d9dde3; color: var(--ink); }
[data-theme="dark"] .btn-outline { border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .22); color: #fff; height: 46px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #0833a3; }
[data-theme="dark"] .btn-brand { color: #0b1023; }
[data-theme="dark"] .btn-brand:hover { background: #a8c0ff; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding-top: 16px; color: #fff; }
.nav { display: flex; align-items: center; height: 45px; }
.logo { display: flex; align-items: center; gap: 7px; flex: none; color: #fff; }
.logo svg { width: 33px; height: 33px; }
.logo span { font-size: 11px; line-height: 11.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.links { display: flex; gap: 38px; margin-left: 167px; font-size: 15px; }
.links a { position: relative; padding: 4px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.links a:hover::after, .links a[aria-current="page"]::after { transform: scaleX(1); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn, .lang summary, .menu summary { height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255, 255, 255, .06); transition: background .2s; }
.icon-btn:hover, .lang summary:hover, .menu summary:hover { background: rgba(255, 255, 255, .14); }
.icon-btn { width: 43px; font-size: 18px; color: #fff; }
.icon-btn .sun { display: none; }
[data-theme="dark"] .icon-btn .sun { display: block; }
[data-theme="dark"] .icon-btn .moon { display: none; }
.lang { position: relative; }
.lang summary { gap: 6px; padding: 0 12px; font-size: 16px; }
.lang summary svg { font-size: 17px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: 6px; background: #fff; color: #0e1116; border-radius: 8px; box-shadow: 0 12px 32px rgba(6, 16, 56, .25); }
.lang-menu span { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 6px; background: #f1f4fb; font-size: 15px; }
.site-header .btn-white { height: 45px; padding: 0 24px; font-size: 16.5px; }
.menu { display: none; position: relative; }
.menu summary { width: 45px; font-size: 22px; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: 220px; padding: 8px; background: #fff; color: #0e1116; border-radius: 10px; box-shadow: 0 12px 32px rgba(6, 16, 56, .25); }
.menu nav a { display: block; padding: 10px 12px; border-radius: 6px; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: #f1f4fb; }

/* Hero */
.hero, .page-hero, .cta-band { position: relative; overflow: hidden; color: #fff; background: var(--hero); }
.hero, .page-hero, .cta-band { isolation: isolate; }
.hero::after, .page-hero::after, .cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(280px 120px at 40px 190px, rgba(70, 115, 235, .55), transparent), var(--hero-top); -webkit-mask-image: linear-gradient(180deg, #000 11%, transparent 62%); mask-image: linear-gradient(180deg, #000 11%, transparent 62%); }
.hero::before, .page-hero::before { content: ""; position: absolute; left: -220px; top: -226px; width: 440px; height: 440px; border-radius: 50%; background: rgba(0, 56, 235, .5); }
.arcs { position: absolute; pointer-events: none; fill: none; stroke: rgba(255, 255, 255, .055); stroke-width: 1; }
.hero .arcs { left: 50%; top: 40px; width: 900px; height: 900px; margin-left: -120px; }
.page-hero .arcs { right: -160px; top: -240px; width: 760px; height: 760px; }
.hero { min-height: 768px; }
.hero-copy { position: relative; z-index: 2; padding-top: 245px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(40px, 4.55vw, 65.5px); line-height: .977; letter-spacing: -.005em; }
.hero p { margin: 22px 0 47px; max-width: min(572px, 44vw); color: rgba(255, 255, 255, .94); }
.hero-visual { position: absolute; z-index: 1; right: max(-24px, calc(50% - 662px)); bottom: 0; width: clamp(460px, 46.5vw, 670px); aspect-ratio: 670 / 650; }
.hero-visual picture img { display: block; width: 100%; height: 100%; }
.chip { position: absolute; z-index: 2; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.chip-rate { left: .5%; top: 30.8%; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 18px; }
.chip-rate svg { width: 36px; height: 40px; flex: none; }
.chip-rate b { display: block; font-size: 24px; line-height: 28px; font-weight: 500; }
.chip-rate small { display: block; font-size: 14px; line-height: 18px; }
.chip-team { right: 7.8%; top: 71.3%; padding: 10px 14px 12px; background: rgba(40, 54, 92, .55); }
.chip-team small { display: block; font-size: 14px; line-height: 20px; margin-bottom: 6px; }
.avatars { display: flex; }
.avatars img, .avatars i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); margin-left: -7px; object-fit: cover; }
.avatars :first-child { margin-left: 0; }
.avatars i { display: grid; place-items: center; font-style: normal; font-size: 12px; background: #2b3760; }

/* Inner page hero */
.page-hero { padding: 190px 0 100px; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 4vw, 56px); line-height: 1.08; max-width: 860px; }
.page-hero p { margin-top: 18px; max-width: 640px; color: rgba(255, 255, 255, .9); font-size: 17px; line-height: 25px; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.page-hero .eyebrow a:hover { color: #fff; text-decoration: underline; }

/* Industry strip */
.logos { padding: 42px 0; overflow: hidden; background: var(--bg); }
.marquee { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 96px; padding-right: 96px; }
.marquee li { display: flex; align-items: center; gap: 9px; color: var(--mark); font-size: 21px; line-height: 40px; font-weight: 500; white-space: nowrap; }
.marquee li:nth-child(odd) { font-weight: 600; letter-spacing: -.01em; }
.marquee li:nth-child(3n) { font-weight: 700; font-size: 20px; }
.marquee svg.i { font-size: 27px; stroke-width: 2; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Generic sections */
.sec { padding: 120px 0; background: var(--bg); }
.head { max-width: 800px; margin: 0 auto 55px; text-align: center; }
.head h2, .about-intro h2 { font-size: clamp(32px, 3.4vw, 49px); line-height: 1.15; }
.head p { margin-top: 15px; }
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--tick) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.2 9.3 2.6 2.5 5-5.4'/%3E%3C/svg%3E") center/18px no-repeat; }

/* About */
.about { padding: 116px 0 124px; background: radial-gradient(620px 520px at 0 78%, var(--blob) 0, transparent 72%), var(--bg); }
.about-intro { max-width: 800px; margin: 0 auto 62px; text-align: center; }
.about-intro h2 { margin-bottom: 18px; }
.about-grid { display: grid; grid-template-columns: 536fr 592fr; gap: 88px; align-items: start; }
.about-grid img { width: 100%; height: 356px; object-fit: cover; border-radius: 8px; }
.about-copy h3 { font-size: 32.7px; line-height: 40px; margin-bottom: 11px; }
.about-copy p { font-size: 16.5px; }
.about-copy .checks { margin: 32px 0 47px; }

/* What We Offer */
.offer { padding: 120px 0 122px; background: var(--navy); color: rgba(255, 255, 255, .72); }
.offer h2 { color: #fff; }
.tablist { display: flex; justify-content: center; gap: 44px; margin: -10px 0 0; border-bottom: 1px solid rgba(255, 255, 255, .07); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button { position: relative; flex: none; padding: 11px 8px 13px; color: rgba(255, 255, 255, .62); transition: color .2s; }
.tablist button:hover { color: #fff; }
.tablist button[aria-selected="true"] { color: #fff; }
.tablist button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .85); }
.panel { display: grid; grid-template-columns: 1fr 529px; gap: 56px; align-items: center; margin-top: 23px; padding: 54px 44px 54px 54px; min-height: 506px; border-radius: 16px; background: var(--navy-2); }
.panel[hidden] { display: none; }
.panel h3 { color: #fff; font-size: 33px; line-height: 38px; margin-bottom: 20px; }
.panel p { max-width: 490px; }
.panel p + p { margin-top: 20px; }
.panel .checks { margin: 28px 0 34px; }
.panel .checks li { color: rgba(255, 255, 255, .78); }
.panel .checks li::before { background-color: #3f66d1; }
.panel img { width: 100%; height: 398px; object-fit: cover; border-radius: 10px; }

/* Case studies */
.cases-sec { padding: 120px 0; background: var(--bg-soft); }
.cases-sec .head { margin-bottom: 63px; }
.cases { display: flex; gap: 32px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(24px, calc((100% - 1216px) / 2)); scroll-padding-inline: max(24px, calc((100% - 1216px) / 2)); }
.cases::-webkit-scrollbar { display: none; }
.case { flex: 0 0 min(449px, 84%); scroll-snap-align: start; }
.case-img { position: relative; height: 452px; border-radius: 10px; overflow: hidden; background: #dfe5f2; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case:hover .case-img img { transform: scale(1.04); }
.case h3 { margin-top: 24px; font-size: 19.5px; line-height: 24px; }
.pill { position: absolute; left: 14px; top: 14px; padding: 5px 16px; border-radius: 99px; background: #fff; color: #111; font-size: 14px; line-height: 20px; opacity: 0; transition: opacity .25s; }
.badge { position: absolute; left: 50%; top: 50%; width: 122px; height: 122px; margin: -61px 0 0 -61px; border-radius: 50%; background: #fff; color: #111; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; }
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; font: 500 12px "Outfit", sans-serif; fill: #111; }
.badge svg.i { position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -13px; font-size: 26px; stroke-width: 2; }
@keyframes spin { to { transform: rotate(360deg); } }
.case:hover .pill, .case:focus-visible .pill, .cases:not(:hover) .case:nth-child(2) .pill { opacity: 1; }
.case:hover .badge, .case:focus-visible .badge, .cases:not(:hover) .case:nth-child(2) .badge { opacity: 1; transform: none; }
.controls { display: flex; align-items: center; gap: 24px; margin-top: 62px; }
.pager { display: flex; align-items: center; gap: 2px; height: 42px; padding: 0 6px; border-radius: 10px; background: var(--card); box-shadow: 0 4px 16px rgba(30, 60, 140, .05); }
.pager button { width: 44px; height: 36px; display: grid; place-items: center; font-size: 19px; color: var(--ink); border-radius: 6px; }
.pager button:last-child { color: var(--brand); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager span { width: 44px; text-align: center; font-size: 14px; color: var(--muted); }
.track { flex: 1; height: 1px; background: var(--line); position: relative; }
.track span { position: absolute; left: 0; top: -.5px; height: 2px; background: var(--track); transition: width .3s; }
.btn-small { height: 49px; padding: 0 32px; font-size: 16.5px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 500; border-radius: 8px; display: inline-flex; align-items: center; }
.btn-small:hover { border-color: var(--brand); color: var(--brand); }

/* How it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { position: relative; text-align: center; }
#how { padding-bottom: 145px; }
#how .head { margin-bottom: 95px; }
.step-icon { display: grid; place-items: center; width: 109px; height: 109px; margin: 0 auto 28px; border-radius: 50%; background: #f3f6fc; color: var(--brand); font-size: 46px; }
[data-theme="dark"] .step-icon { background: #161f40; }
.step-icon svg.i { stroke-width: 1.35; }
.step h3 { font-size: 24.5px; line-height: 30px; }
.step p { max-width: 340px; margin: 8px auto 0; line-height: 23px; }
.connector { position: absolute; top: 2px; left: calc(50% + 62px); width: calc(100% - 92px); height: 76px; fill: none; stroke: var(--line); stroke-width: 1.5; overflow: visible; }

/* Insights */
.insights { padding: 120px 0; background: var(--bg-grey); }
.insights .head { margin-bottom: 66px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post { display: flex; flex-direction: column; background: var(--card); border-radius: 10px; overflow: hidden; transition: box-shadow .25s; }
.post-img { display: block; height: 214px; overflow: hidden; transition: height .3s; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 32px 32px 28px; }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.post-meta b { padding: 0 6px; border-radius: 3px; background: var(--chip); color: var(--ink); font-weight: 500; }
.post :is(h2, h3) { margin-top: 18px; font-size: 19.5px; line-height: 24px; min-height: 48px; }
.post :is(h2, h3) a:hover { color: var(--brand); }
.post-excerpt { max-height: 0; overflow: hidden; opacity: 0; font-size: 15.5px; line-height: 23px; transition: max-height .3s, opacity .3s, margin .3s; }
.read { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 37px; margin-top: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 16.5px; font-weight: 500; }
.read:hover { border-color: var(--brand); color: var(--brand); }
.post:hover, .post:focus-within, .posts:not(:hover) .post:nth-child(2) { box-shadow: 0 16px 40px rgba(15, 25, 60, .08); }
.post:hover .post-img, .post:focus-within .post-img, .posts:not(:hover) .post:nth-child(2) .post-img { height: 160px; }
.post:hover .post-excerpt, .post:focus-within .post-excerpt, .posts:not(:hover) .post:nth-child(2) .post-excerpt { max-height: 46px; opacity: 1; margin-top: 8px; }

/* CTA + footer */
.cta-band { padding: 104px 0; text-align: center; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.17; }
.cta-band p { max-width: 620px; margin: 14px auto 30px; color: rgba(255, 255, 255, .9); }
.site-footer { padding: 76px 0 34px; background: var(--navy); color: rgba(255, 255, 255, .68); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid h2 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-about p { margin-top: 18px; max-width: 320px; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; line-height: 20px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-bottom: 10px; }
.footer-row nav { display: flex; gap: 24px; }
.footer-row a:hover { color: #fff; }

/* Inner page blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split + .split { margin-top: 112px; }
.split.rev .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.split h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.2; margin-bottom: 16px; }
.split p + p { margin-top: 14px; }
.split .checks { margin: 26px 0 32px; }
.tag { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 99px; background: var(--chip); color: var(--ink); font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { padding: 30px 26px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.card svg.i { font-size: 30px; color: var(--brand); stroke-width: 1.4; margin-bottom: 18px; display: block; }
.card h3 { font-size: 20px; line-height: 26px; margin-bottom: 8px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 10px; }
.member h3 { margin-top: 16px; font-size: 20px; line-height: 26px; }
.member p { margin-top: 4px; font-size: 15px; }
.outcomes { display: grid; gap: 14px; }
.outcomes h3 { font-size: 15px; line-height: 20px; color: var(--brand); margin-bottom: 2px; }
.note { margin-top: 72px; padding: 16px 20px; border-radius: 10px; background: var(--bg-soft); font-size: 14.5px; text-align: center; }
.prose { max-width: 760px; margin-inline: auto; color: var(--text); font-size: 17px; line-height: 28px; }
.prose > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 40px; }
.prose h2 { margin: 38px 0 10px; font-size: 26px; line-height: 33px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose .fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 22px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink); font-weight: 500; }
.back:hover { color: var(--brand); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 40px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.field { display: grid; gap: 7px; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); transition: border-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 63, 196, .14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.consent a { color: var(--brand); text-decoration: underline; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px; background: var(--bg-soft); color: var(--ink); font-size: 15px; }
.form-status a { color: var(--brand); text-decoration: underline; }
.form-status[hidden] { display: none; }
.aside { display: grid; gap: 24px; }
.aside h2 { font-size: 22px; line-height: 28px; margin-bottom: 12px; }
.aside .card a { color: var(--brand); }
.next-steps { display: grid; gap: 12px; counter-reset: s; }
.next-steps li { position: relative; padding-left: 34px; counter-increment: s; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--chip); color: var(--ink); font-size: 13px; }

/* Responsive */
@media (max-width: 1240px) {
  .links { margin-left: 56px; gap: 28px; }
  .panel { grid-template-columns: 1fr 44%; padding: 40px; gap: 40px; }
}
@media (max-width: 1080px) {
  .links { display: none; }
  .menu { display: block; }
  .cards, .team { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .split { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-copy { padding-top: 140px; padding-bottom: 8px; }
  .hero p { max-width: 572px; }
  .hero h1 { font-size: clamp(38px, 7vw, 56px); }
  .hero-visual { position: relative; right: auto; width: min(100%, 520px); margin: 32px auto 0; }
  .chip-rate { left: 0; }
  .chip-team { right: 0; }
  .sec, .cases-sec, .insights, .offer, .about, #how { padding: 80px 0; }
  #how .head, .insights .head, .cases-sec .head { margin-bottom: 44px; }
  .about-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split + .split { margin-top: 72px; }
  .about-grid img { height: auto; aspect-ratio: 3 / 2; }
  .tablist { justify-content: flex-start; gap: 20px; }
  .panel { grid-template-columns: 1fr; padding: 28px; }
  .panel img { height: auto; aspect-ratio: 4 / 3; grid-row: 1; }
  .panel h3 { font-size: 26px; line-height: 32px; }
  .case-img { height: 380px; }
  .steps, .posts { grid-template-columns: 1fr; gap: 40px; }
  .connector { display: none; }
  .post-img, .post:hover .post-img, .post:focus-within .post-img, .posts:not(:hover) .post:nth-child(2) .post-img { height: 214px; }
  .post-excerpt, .post:hover .post-excerpt, .post:focus-within .post-excerpt, .posts:not(:hover) .post:nth-child(2) .post-excerpt { max-height: 66px; opacity: 1; margin-top: 10px; }
  .post :is(h2, h3) { min-height: 0; }
  .page-hero { padding: 140px 0 72px; }
  .cta-band { padding: 72px 0; }
}
@media (max-width: 640px) {
  .site-header .btn-white { display: none; }
  .logos { padding: 26px 0; }
  .marquee ul { gap: 56px; padding-right: 56px; }
  .marquee li, .marquee li:nth-child(3n) { font-size: 18px; }
  .cards, .team, .form, .footer-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .form { padding: 24px; }
  .controls { gap: 14px; margin-top: 36px; }
  .chip-rate { padding: 10px 14px; gap: 10px; }
  .chip-rate svg { width: 28px; height: 32px; }
}

/* ───────────── Liquid glass + motion ─────────────
   Rules that keep this fast: real blur only where something shows through it, only transform and
   opacity move, endless animation pauses off screen, and phones get a lighter version. */
:root {
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --glass: rgba(255, 255, 255, .46);
  --glass-gloss: rgba(255, 255, 255, .3);
  --on-glass: #434a57;
  --glass-edge: rgba(255, 255, 255, .92);
  --glass-shadow: 0 1px 2px rgba(15, 30, 80, .05), 0 22px 54px -20px rgba(20, 45, 120, .26);
  --glass-shadow-lift: 0 2px 4px rgba(15, 30, 80, .06), 0 34px 70px -22px rgba(20, 45, 120, .38);
  --glass-blur: blur(16px) saturate(175%);
  --spec: rgba(255, 255, 255, .55);
  --field: rgba(255, 255, 255, .6);
}
[data-theme="dark"] {
  --glass: rgba(255, 255, 255, .07);
  --glass-gloss: rgba(255, 255, 255, .09);
  --on-glass: var(--text);
  --glass-edge: rgba(255, 255, 255, .17);
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 26px 60px -22px rgba(0, 0, 0, .7);
  --glass-shadow-lift: 0 2px 4px rgba(0, 0, 0, .3), 0 38px 76px -22px rgba(0, 0, 0, .85);
  --spec: rgba(255, 255, 255, .12);
  --field: rgba(255, 255, 255, .06);
}
html { scroll-padding-top: 96px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Header: unchanged at the top of the page; a frosted bar fades in behind it once you scroll */
.site-header { position: fixed; }
.nav { position: relative; isolation: isolate; }
.nav::before {
  content: ""; position: absolute; inset: -9px -10px -9px -18px; z-index: -1; border-radius: 20px; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .01) 58%), rgba(10, 36, 130, .68);
  -webkit-backdrop-filter: blur(18px) saturate(190%); backdrop-filter: blur(18px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 -1px 0 rgba(255, 255, 255, .06), 0 20px 44px -20px rgba(3, 12, 50, .75);
}
.site-header.scrolled .nav::before { opacity: 1; }
.progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; display: none; transform-origin: 0 50%; background: linear-gradient(90deg, #7aa6ff, #c3adff); }
.logo { min-height: 44px; }
.logo svg { transition: transform .5s var(--spring); }
.logo:hover svg { transform: rotate(-16deg) scale(1.06); }

/* Glass on deep blue. Only the hero chips sit over detail worth blurring */
.chip, .panel, .cta-glass, .icon-btn, .lang summary, .menu summary, .btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .04) 46%, rgba(255, 255, 255, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 18px 44px -18px rgba(3, 12, 50, .65);
}
.chip { -webkit-backdrop-filter: blur(14px) saturate(190%); backdrop-filter: blur(14px) saturate(190%); }
.panel { background: linear-gradient(180deg, rgba(165, 190, 255, .24), rgba(130, 160, 255, .08) 46%, rgba(130, 160, 255, .12)); }
.cta-glass { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06) 46%, rgba(255, 255, 255, .1)); }
.icon-btn:hover, .lang summary:hover, .menu summary:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .14)); }
.icon-btn, .lang summary, .menu summary { transition: transform .3s var(--spring); }
.icon-btn:active, .lang summary:active, .menu summary:active { transform: scale(.93); }
.icon-btn { width: 44px; }
.icon-btn svg { transition: transform .45s var(--spring); }
.chip, .panel, .cta-glass, .post, .card, .form, .member { isolation: isolate; }
.chip { border: 0; border-radius: 18px; overflow: hidden; }
.chip-team { background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .04) 46%, rgba(255, 255, 255, .07)), rgba(24, 36, 84, .35); }
.chip b { font-variant-numeric: tabular-nums; }
.panel { position: relative; border-radius: 30px; overflow: hidden; }
.panel img { border-radius: 20px; }
.btn-ghost { border-color: rgba(255, 255, 255, .2); }

/* The bright, light-catching rim that makes it read as glass */
.chip::before, .panel::before, .cta-glass::before {
  content: ""; position: absolute; inset: 0; z-index: 3; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .08) 36%, rgba(170, 195, 255, .14) 62%, rgba(255, 255, 255, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* Glass on light sections */
.post, .card, .form, .member, .step-icon, .pager, .btn-small, .read {
  background: linear-gradient(180deg, var(--glass-gloss), transparent 42%), var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-edge);
}
.post, .card, .form, .member { position: relative; overflow: hidden; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transition: transform .45s var(--ease); }
.post { border-radius: 24px; }
.card { border-radius: 24px; }
.form { border-radius: 28px; }
.member { padding: 10px; border-radius: 26px; }
.member img { border-radius: 18px; }
.member h3 { margin: 16px 8px 0; }
.member p { margin: 4px 8px 10px; }
.post:focus-within, .posts:not(:hover) .post:nth-child(2) { box-shadow: var(--glass-shadow-lift), inset 0 1px 0 var(--glass-edge); }
.post-img img { transition: transform .6s var(--ease); }
.post > *, .card > *, .form > *, .member > * { position: relative; z-index: 1; }
.post-excerpt, .post-meta, .card p, .member p, .consent { color: var(--on-glass); }

/* A soft reflection that follows the cursor: a pre-drawn circle that is only ever moved */
.post::after, .card::after, .form::after, .member::after, .panel::after, .cta-glass::after, .case-img::after {
  content: ""; position: absolute; left: -190px; top: -190px; width: 380px; height: 380px; z-index: 2; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(closest-side, var(--spec), transparent); transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}
.panel::after, .cta-glass::after, .case-img::after { background: radial-gradient(closest-side, rgba(255, 255, 255, .26), transparent); }
.post::after, .card::after, .form::after, .member::after, .panel::after, .cta-glass::after { z-index: 0; }
.panel > * { position: relative; z-index: 1; }
.cta-glass { overflow: hidden; }

/* Coloured spheres behind the glass, so there is something to frost */
.insights, .cases-sec, .sec { position: relative; isolation: isolate; overflow: hidden; }
.insights::before, .insights::after, .sec:has(.team, .form)::before, .sec:has(.team, .form)::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.insights::before, .sec:has(.team, .form)::before { width: 400px; height: 400px; left: max(-70px, calc(50% - 780px)); top: 380px; opacity: .85; background: radial-gradient(circle at 32% 28%, #b8cfff, #5586ff 56%, #2f56dd); }
.insights::after, .sec:has(.team, .form)::after { width: 280px; height: 280px; right: max(-30px, calc(50% - 720px)); bottom: 40px; opacity: .8; background: radial-gradient(circle at 30% 30%, #e0d6ff, #9175ff 58%, #5b3fe0); }
[data-theme="dark"] .insights::before, [data-theme="dark"] .insights::after, [data-theme="dark"] .sec:has(.team, .form)::before, [data-theme="dark"] .sec:has(.team, .form)::after { opacity: .4; }

/* Glossy buttons with a light sweep and an iOS-style press */
.btn, .btn-small, .read { position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), background .2s ease, color .2s ease, border-color .2s ease; }
.btn-white { background: linear-gradient(180deg, #fff, #e9efff); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 55, 181, .1), 0 12px 28px -12px rgba(3, 18, 90, .6); }
.btn-white:hover { background: linear-gradient(180deg, #fff, #dfe8ff); }
.btn-brand { background: linear-gradient(180deg, #2c66f2, #0a3fc4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 14px 30px -12px rgba(10, 63, 196, .75); }
.btn-brand:hover { background: linear-gradient(180deg, #3a73ff, #0d46d6); }
[data-theme="dark"] .btn-brand { background: linear-gradient(180deg, #a9c2ff, #7a9dfa); }
[data-theme="dark"] .btn-brand:hover { background: linear-gradient(180deg, #bdd0ff, #8dabff); }
.btn-outline { background: linear-gradient(180deg, var(--glass-gloss), transparent 55%), var(--glass); box-shadow: inset 0 1px 0 var(--glass-edge), 0 10px 24px -14px rgba(20, 45, 120, .35); }
.btn:active, .btn-small:active, .read:active, .pager button:active { transform: scale(.96); transition-duration: .1s; }
.btn::after, .btn-small::after, .read::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 34%; z-index: 1; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); }
.pager { border-radius: 14px; }
.pager span { color: var(--text); }
.pager button { transition: transform .2s var(--spring), background .2s ease; }
.btn-small { border-radius: 12px; }
.read { border-radius: 11px; }
.read svg { transition: transform .3s var(--spring); }

/* Everything that only makes sense with a real pointer */
@media (hover: hover) {
  .icon-btn:hover, .menu summary:hover { transform: translateY(-1px) scale(1.05); }
  .icon-btn:hover svg { transform: rotate(-20deg) scale(1.08); }
  .post:hover, .card:hover, .member:hover { transform: translateY(-8px); box-shadow: var(--glass-shadow-lift), inset 0 1px 0 var(--glass-edge); }
  .post:hover .post-img img { transform: scale(1.06); }
  .post:hover::after, .card:hover::after, .form:hover::after, .member:hover::after, .panel:hover::after, .cta-glass:hover::after, .case-img:hover::after { opacity: 1; }
  .btn:hover, .btn-small:hover, .read:hover { transform: translateY(-2px); }
  .btn:hover::after, .btn-small:hover::after, .read:hover::after { animation: sweep .7s var(--ease); }
  .pager button:not(:disabled):hover { background: rgba(120, 150, 255, .16); }
  .read:hover svg { transform: translateX(4px); }
  .case:hover .case-img { box-shadow: 0 34px 60px -28px rgba(20, 45, 120, .55); }
  .case:hover .case-img img { transform: scale(1.05); }
  .case:hover h3 { color: var(--brand); }
  .step:hover .step-icon { transform: translateY(-6px) scale(1.05); }
  .step:hover .step-icon svg.i { transform: rotate(8deg); }
  .hero:hover .aurora b { opacity: 1; }
  .footer-grid li a:hover { padding-left: 4px; }
  .menu nav a:hover { transform: translateX(3px); }
}

/* Menus */
.lang-menu, .menu nav { background: rgba(255, 255, 255, .97); border-radius: 18px; box-shadow: inset 0 1px 0 #fff, 0 26px 54px -16px rgba(6, 16, 56, .5); transform-origin: top right; animation: menuIn .22s var(--ease) backwards; }
.lang-menu span, .menu nav a { border-radius: 11px; }
.menu nav a { padding: 12px; transition: background .2s ease, transform .25s var(--ease); }

/* Moving light behind the hero (one soft, slow layer set, on the homepage only) */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: min(780px, 64vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); }
.hero .aurora i { animation: drift 25s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { --c: rgba(50, 115, 255, .36); left: -12%; top: -32%; }
.aurora i:nth-child(2) { --c: rgba(124, 92, 255, .26); left: 44%; top: -44%; animation-duration: 32s; animation-delay: -9s; }
.aurora i:nth-child(3) { --c: rgba(0, 185, 255, .17); right: -15%; bottom: -50%; animation-duration: 38s; animation-delay: -17s; }
.aurora b { position: absolute; left: 0; top: 0; width: 720px; height: 720px; border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, rgba(140, 180, 255, .2), transparent); transition: opacity .5s ease; }
.offer, .cta-band { position: relative; isolation: isolate; overflow: hidden; }
.offer .wrap { position: relative; z-index: 1; }
.offer .aurora i:nth-child(1) { --c: rgba(50, 90, 255, .3); top: 8%; left: -14%; }
.offer .aurora i:nth-child(2) { --c: rgba(130, 90, 255, .24); top: auto; bottom: -30%; left: 58%; }
.offer .aurora i:nth-child(3) { --c: rgba(0, 170, 255, .14); right: 26%; bottom: 34%; }

/* Rings with small lights travelling around them. Each light is a tiny layer, not a ring-sized one */
.arcs svg { display: block; width: 100%; height: 100%; }
.arcs { transition: translate .6s var(--ease); }
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin 48s linear infinite; }
.orbit::after { content: ""; position: absolute; left: -3px; top: calc(var(--r) * -1 - 3px); width: 6px; height: 6px; border-radius: 50%; background: #dbe7ff; box-shadow: 0 0 12px 3px rgba(150, 190, 255, .85); }
.o1 { --r: 449px; }
.o2 { --r: 330px; animation-duration: 36s; animation-direction: reverse; }
.o3 { --r: 215px; animation-duration: 25s; }
.page-hero .orbit { display: none; }
.hero-visual { z-index: 1; }
.hero-visual picture { display: contents; }

/* Hero entrance: quick, so the page feels instant */
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero h1 .ln > span { display: block; animation: lineUp .62s var(--ease) backwards; animation-delay: calc(var(--n) * 45ms); }
.hero p { animation: fadeUp .55s var(--ease) .12s backwards; }
.hero .btn-white { animation: fadeUp .55s var(--ease) .18s backwards; }
.hero-visual picture img { animation: rise .7s var(--ease) backwards; transition: translate .6s var(--ease); }
.chip { animation: pop .5s var(--spring) .3s backwards, bob 7s ease-in-out 1s infinite; transition: translate .6s var(--ease); }
.chip-team { animation-delay: .38s, 1.6s; }
.chip::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 44%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); animation: sheen 8.5s ease-in-out 2s infinite both; }
.avatars > * { animation: pop .4s var(--spring) backwards; }
.avatars > :nth-child(1) { animation-delay: .42s; }
.avatars > :nth-child(2) { animation-delay: .47s; }
.avatars > :nth-child(3) { animation-delay: .52s; }
.avatars > :nth-child(4) { animation-delay: .57s; }
.avatars > :nth-child(5) { animation-delay: .62s; }
.page-hero .eyebrow, .page-hero h1, .page-hero p { animation: fadeUp .45s var(--ease) backwards; }
.page-hero h1 { animation-delay: .03s; }
.page-hero p { animation-delay: .08s; }

/* Industries strip fades out at both edges */
.logos { position: relative; }
.logos::before, .logos::after { content: ""; position: absolute; top: 0; bottom: 0; width: 9%; z-index: 1; pointer-events: none; }
.logos::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.logos::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

/* Service tabs: the underline slides, the panel eases in */
.tablist { position: relative; }
.tablist.has-ink button[aria-selected="true"]::after { display: none; }
.tab-ink { position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8fb2ff, #fff); box-shadow: 0 0 14px rgba(150, 190, 255, .9); transition: transform .4s var(--ease), width .4s var(--ease); }
.panel:not([hidden]) > div > * { animation: fadeUp .4s var(--ease) backwards; }
.panel:not([hidden]) > div > :nth-child(2) { animation-delay: 40ms; }
.panel:not([hidden]) > div > :nth-child(3) { animation-delay: 80ms; }
.panel:not([hidden]) > div > :nth-child(4) { animation-delay: 120ms; }
.panel:not([hidden]) > div > :nth-child(5) { animation-delay: 160ms; }
.panel:not([hidden]) > img { animation: imgIn .5s var(--ease) backwards; }

/* Case studies */
.case-img { border-radius: 22px; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--ease); }
.case-img img { transition: transform .6s var(--ease); }
.case h3 { transition: color .2s ease; }
.pill, .badge { z-index: 3; -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%); box-shadow: inset 0 1px 0 #fff, 0 14px 30px -12px rgba(0, 0, 0, .4); }
.pill { background: rgba(255, 255, 255, .72); }
.badge { background: rgba(255, 255, 255, .74); }

/* How it works */
.step { isolation: isolate; }
.step::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -8px; width: 126px; height: 126px; margin-left: -63px; border-radius: 50%; background: radial-gradient(closest-side, rgba(126, 166, 255, .5), rgba(169, 143, 255, .22) 62%, transparent); }
.step-icon { position: relative; transition: transform .45s var(--spring); }
.step-icon svg.i { transition: transform .45s var(--spring); }
.connector path { stroke-dasharray: 1; transition: stroke-dashoffset 1.1s var(--ease) .15s; }
.step:nth-child(2) .connector path { transition-delay: .45s; }
.connector path.undrawn { stroke-dashoffset: 1; }

/* Images, forms and the closing band */
.about-grid img, .split-media img { border-radius: 20px; }
.cta-band { padding: 96px 0; }
.cta-glass { position: relative; max-width: 900px; margin-inline: auto; padding: 66px 48px; border-radius: 34px; }
.cta-glass h2, .cta-glass p, .cta-glass .btn { position: relative; z-index: 4; }
.field input, .field select, .field textarea { background: var(--field); border-radius: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--card); box-shadow: 0 0 0 4px rgba(70, 120, 255, .18); }
.tag { background: var(--glass); border: 1px solid var(--glass-edge); }
.note { border-radius: 16px; }
.footer-grid a { transition: color .2s ease, padding-left .25s var(--ease); }

/* Scroll reveals. Only ever added to content below the first screen, so what you land on paints at once */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) calc(var(--i, 0) * 40ms), transform .5s var(--ease) calc(var(--i, 0) * 40ms); }
.reveal-img { opacity: 0; transform: scale(1.03); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.reveal.in, .reveal-img.in { opacity: 1; transform: none; }
@media print { .reveal, .reveal-img { opacity: 1 !important; transform: none !important; } }

/* Sections scrolled out of view stop animating */
.off, .off *, .off::before, .off::after, .off *::before, .off *::after { animation-play-state: paused !important; }

@keyframes lineUp { from { transform: translateY(112%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@keyframes rise { from { transform: translateY(26px) scale(.98); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.85); } }
@keyframes bob { 50% { transform: translateY(-9px); } }
@keyframes imgIn { from { opacity: 0; transform: scale(1.03); } }
@keyframes sheen { 0%, 62% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes sweep { from { opacity: 1; transform: translateX(-160%) skewX(-18deg); } to { opacity: 1; transform: translateX(380%) skewX(-18deg); } }
@keyframes drift { to { transform: translate3d(9%, 11%, 0) scale(1.2); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes heroSink { to { translate: 0 64px; } }
@keyframes heroLift { to { translate: 0 -40px; opacity: .3; } }
@keyframes drift-img { from { translate: 0 -4.5%; } to { translate: 0 4.5%; } }

/* Scroll-linked depth on larger screens, where the browser supports it */
@media (min-width: 901px) {
  @supports (animation-timeline: scroll()) {
    .progress { display: block; animation: grow linear both; animation-timeline: scroll(root); }
    .hero-visual { animation: heroSink linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
    .hero-copy { animation: heroLift linear both; animation-timeline: scroll(root); animation-range: 0 75vh; }
    .split-media { overflow: hidden; border-radius: 20px; }
    .split-media img { scale: 1.11; animation: drift-img linear both; animation-timeline: view(); }
  }
}

/* A quick crossfade between pages, and a circular wipe when the theme switches */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .12s ease-in both; }
  ::view-transition-new(root) { animation: vtIn .18s ease-out both; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
html.theme-flip::view-transition-old(root), html.theme-flip::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.theme-flip::view-transition-new(root) { z-index: 2; }

/* Phones and small tablets: same look, far less for the graphics chip to do, and comfortable tap sizes */
@media (max-width: 900px) {
  .nav::before { inset: -8px -10px -8px -12px; }
  .cta-band { padding: 72px 0; }
  .cta-glass { padding: 44px 24px; border-radius: 28px; }
  .panel { border-radius: 24px; }
  .post, .card, .form, .member, .pill, .badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pill, .badge { background: rgba(255, 255, 255, .92); }
  .insights::before, .insights::after, .sec:has(.team, .form)::before, .sec:has(.team, .form)::after { content: none; }
  .hero .aurora i, .orbit, .chip::after { animation: none; }
  .orbit, .aurora b { display: none; }
  .chip::after { content: none; }
  .case-img { height: 340px; }
  .read { height: 44px; padding: 0 14px; }
  .pager { height: 48px; }
  .pager button { height: 44px; }
  .footer-grid li + li { margin-top: 2px; }
  .footer-grid li a { display: inline-block; min-width: 44px; padding: 11px 0; }
  .footer-row a { display: inline-block; padding: 12px 0; }
  .marquee { animation-duration: 28s; }
}

/* Devices set to reduce transparency keep the glass, just a little more solid */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: rgba(255, 255, 255, .58); }
  [data-theme="dark"] { --glass: rgba(255, 255, 255, .1); }
  .nav::before { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .01) 58%), rgba(10, 36, 130, .76); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: rgba(255, 255, 255, .94); }
  [data-theme="dark"] { --glass: #161d3b; }
}

@media (prefers-reduced-motion: reduce) {
  html, .cases { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
