/* Delphilens theme for hand-built pages (matches the main site's look). */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/assets/fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/assets/fonts.gstatic.com/s/dmsans/v17/rP2Wp2ywxg089UriCZaSExd86J3t9jz86MvyyKy58Q.woff2) format("woff2");
}

:root {
  --bg: #000;
  --surface: #05070d;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --subtle: rgba(255, 255, 255, 0.5);  /* 5.3:1 on black: the lowest grey that passes WCAG AA for small text */
  --heading-muted: #8f8f8f;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #0055fe;
  --blue-glow: rgba(0, 85, 255, 0.5);
  --radius: 20px;
  --radius-sm: 10px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #4d8bff; outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--max) + 40px); margin: 0 auto; padding: 0 20px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding-top: 40px; }

/* ---------- Type ---------- */
.h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 400;
}
.h1 .muted, .h2 .muted { color: var(--heading-muted); display: block; }
.h3 { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.5px; }
.lead { color: var(--muted); font-size: 17px; line-height: 28px; max-width: 560px; }
.muted-text { color: var(--muted); }
.tagline { color: var(--subtle); font-style: italic; font-weight: 600; }

/* ---------- Pills / chips / buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-sm);
  background: linear-gradient(rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  font-size: 16px; letter-spacing: -0.5px;
  background-clip: padding-box;
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: 0.85; }
.pill--plain::before { display: none; }
.pill--blue { background: linear-gradient(rgba(0,85,255,0.16), rgba(153,153,153,0.08)); border-color: rgba(0,85,255,0.35); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 4px 12px; border-radius: 8px; font-size: 14px; line-height: 24px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 500; letter-spacing: -0.5px; line-height: 26px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--blue); color: #fff;
  border: 1px solid rgba(120, 165, 255, 0.55);
  box-shadow: 0 8px 40px var(--blue-glow), 0 0 0 1px rgba(0,85,255,0.12);
}
.btn--primary:hover { box-shadow: 0 10px 50px rgba(0,85,255,0.7), 0 0 0 1px rgba(0,85,255,0.2); }
.btn--light { background: #efeeec; color: #131313; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,40,140,0.35));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav { display: flex; align-items: center; height: 90px; gap: 40px; }
.nav__logo img { width: 70px; height: auto; }
.nav__divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
.nav__links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: rgba(255,255,255,0.6); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__cta { margin-left: auto; }
.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: #fff; cursor: pointer;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 18px; height: 1.5px; background: #fff; margin: 0 auto; position: relative; transition: transform .2s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { height: 72px; gap: 20px; }
  .nav__divider, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; gap: 0; padding: 12px 20px 24px;
    background: #02040c; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); z-index: 60;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__links .nav__mobile-cta { display: block; padding-top: 18px; }
  .nav__links .nav__mobile-cta a { border: 0; text-align: center; color: #fff; }
  .nav__logo img { width: 56px; }
}
@media (min-width: 961px) { .nav__mobile-cta { display: none; } }

/* ---------- Solutions mega menu ---------- */
.nav__item--mega { position: static; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 32px 0; margin: -32px 0;
  background: none; border: 0; font: inherit; letter-spacing: inherit; color: rgba(255,255,255,0.6); cursor: pointer; transition: color .2s;
}
.nav__trigger:hover, .nav__trigger[aria-expanded="true"], .nav__trigger.is-current { color: #fff; }
.nav__trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
html:not(.js) .nav__item--mega:hover .mega, html:not(.js) .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega__inner {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.15fr 1fr 0.95fr; gap: 8px; padding: 22px;
  max-height: calc(100vh - 120px); overflow-y: auto;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1);
  background: radial-gradient(60% 90% at 100% 0%, rgba(0,85,255,0.2), transparent 60%), linear-gradient(180deg, #060a16, #020308);
  box-shadow: 0 40px 100px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,85,255,0.08);
}
.mega__col { padding: 6px 8px; }
.mega__col + .mega__col { border-left: 1px solid var(--line); padding-left: 16px; }
.mega__head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega__head b { display: block; font-size: 15px; font-weight: 500; color: #fff; letter-spacing: -0.3px; }
.mega__head small { display: block; font-size: 12.5px; color: var(--subtle); margin-top: 2px; }
.mega__icon { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: #070b16; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 0 22px rgba(0,85,255,0.35); }
.mega__icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav__links .mega__link { display: block; padding: 8px 10px; border-radius: 10px; color: inherit; transition: background-color .2s; }
.nav__links .mega__link:hover, .nav__links .mega__link:focus-visible { background: rgba(0,85,255,0.13); }
.mega__name { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 22px; color: #fff; }
.mega__name i { font-style: normal; font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: 6px; background: rgba(0,85,255,0.16); color: #8fb2ff; white-space: nowrap; }
.mega__name::after { content: "→"; margin-left: auto; color: #8fb2ff; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.mega__link:hover .mega__name::after, .mega__link:focus-visible .mega__name::after { opacity: 1; transform: none; }
.mega__link[aria-current="page"] .mega__name { color: #8fb2ff; }
.mega__desc { display: block; font-size: 13px; line-height: 19px; color: var(--subtle); margin-top: 1px; }
.mega__feature {
  position: relative; isolation: isolate; overflow: hidden; margin: 0 0 0 8px; padding: 22px; border-radius: 14px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 340px;
  border: 1px solid rgba(255,255,255,0.1); background: #000 url(/assets/img/stock/earth-night.webp) center / cover;
}
.mega__feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,20,80,0.2), rgba(0,0,0,0.92) 70%); }
.mega__feature .pill { align-self: flex-start; font-size: 13px; }
.mega__feature p.mega__ftitle { font-size: 22px; line-height: 28px; letter-spacing: -0.03em; color: #fff; }
.mega__feature p.mega__ftext { font-size: 14px; line-height: 21px; color: rgba(255,255,255,0.65); }
.nav__links .mega__feature .btn { align-self: flex-start; color: #fff; padding: 8px 14px; font-size: 15px; }
.mega__quick { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.nav__links .mega__quick a { color: rgba(255,255,255,0.7); }
.nav__links .mega__quick a:hover { color: #fff; }
@media (max-width: 1100px) and (min-width: 961px) {
  .nav__links { gap: 26px; }
  .mega__inner { grid-template-columns: 1fr 1.15fr 1fr; }
  .mega__feature { display: none; }
}
@media (max-width: 960px) {
  .nav__links { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav__trigger { width: 100%; justify-content: space-between; padding: 12px 0; margin: 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .mega { position: static; display: none; padding: 0; opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: none; }
  .mega.is-open { display: block; }
  .mega__inner { grid-template-columns: 1fr; gap: 6px; padding: 10px 0 14px; max-height: none; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .mega__col, .mega__col + .mega__col { border: 0; padding: 6px 0; }
  .mega__head { padding: 4px 0 8px; margin-bottom: 4px; }
  .mega__desc, .mega__feature { display: none; }
  .nav__links .mega__link { padding: 8px 10px; font-size: 16px; border-bottom: 0; }
}

/* ---------- Glows ---------- */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.glow::before, .glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
}
.glow::before {
  width: 900px; height: 520px; top: -220px; right: -160px;
  background: radial-gradient(closest-side, rgba(28, 98, 255, 0.75), rgba(0, 40, 160, 0.25) 60%, transparent);
  transform: rotate(-18deg);
}
.glow::after {
  width: 620px; height: 620px; bottom: -260px; left: -260px;
  background: radial-gradient(closest-side, rgba(0, 60, 220, 0.45), transparent);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 110px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: center; }
.hero__copy > * + * { margin-top: 26px; }
.hero__copy .btn-row { margin-top: 40px; }
.hero__art {
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  aspect-ratio: 1; background: #000;
  box-shadow: 0 40px 120px rgba(0, 60, 255, 0.25);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.stat { padding-top: 22px; border-top: 1px solid var(--line); }
.stat__value { font-size: 40px; line-height: 44px; letter-spacing: -0.04em; }
.stat__label { color: var(--muted); margin-top: 8px; }

/* ---------- Section heading ---------- */
.section-head { max-width: 760px; }
.section-head > * + * { margin-top: 22px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 40px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(0, 85, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #060a16, #020308);
  overflow: hidden;
}
.card > * + * { margin-top: 18px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: #070b16; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 30px rgba(0, 85, 255, 0.35);
}
.icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__rule { height: 1px; width: 45%; background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent); }
.card .chips { margin-top: 26px; }

.grid { display: grid; gap: 24px; margin-top: 64px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Case study cards */
.case__sector { color: #8fb2ff; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.metrics { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.metrics li {
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: rgba(255,255,255,0.8);
}

/* Process */
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(0,85,255,0.08), rgba(255,255,255,0.01)); }
.step__num { font-size: 14px; color: #8fb2ff; }
.step__title { font-size: 19px; line-height: 26px; font-weight: 500; margin-top: 14px; letter-spacing: -0.4px; }
.step__text { color: var(--muted); margin-top: 10px; font-size: 15px; line-height: 24px; }

/* Values row */
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

/* CTA */
.cta {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  max-width: 1000px; margin: 0 auto; padding: 70px 30px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: #000;
}
.cta::before {
  content: ""; position: absolute; z-index: -1; inset: -20%;
  background:
    radial-gradient(40% 55% at 30% 70%, rgba(0, 70, 230, 0.85), transparent 70%),
    radial-gradient(45% 50% at 62% 18%, rgba(0, 90, 255, 0.7), transparent 70%);
  filter: blur(40px);
}
.cta > * + * { margin-top: 24px; }
.cta .lead { margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.65); }

/* ---------- Footer: CTA + newsletter band, four link columns, offices with local time, wordmark, bottom bar ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); background: #01020a; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 0%, rgba(0,85,255,0.22), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(0,85,255,0.12), transparent 70%); }
.ft-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; padding: 96px 0 64px; border-bottom: 1px solid var(--line); }
.footer__logo img { width: 64px; height: auto; }
.ft-cta__line { margin-top: 30px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.04em; max-width: 640px; }
.ft-cta__line span { display: block; color: var(--heading-muted); }
.ft-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.ft-mail { position: relative; font-size: 17px; color: #fff; }
.ft-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; opacity: .35; transform-origin: left; transition: opacity .25s, transform .4s cubic-bezier(.2,.75,.15,1); }
.ft-mail:hover { color: #8fb2ff; } .ft-mail:hover::after { opacity: 1; }
.ft-news { padding: 28px; border-radius: var(--radius); border: 1px solid rgba(120,165,255,0.22); background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); }
.ft-news__title { font-size: 19px; font-weight: 500; letter-spacing: -0.3px; }
.ft-news__text { margin-top: 6px; font-size: 14.5px; line-height: 22px; color: var(--muted); }
.newsletter { display: flex; gap: 8px; margin-top: 18px; padding: 6px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.35); transition: border-color .25s, box-shadow .25s; }
.newsletter:focus-within { border-color: rgba(120,165,255,0.7); box-shadow: 0 0 0 3px rgba(0,85,255,0.15); }
.newsletter input { flex: 1; min-width: 0; padding: 10px 12px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter .btn { flex: none; padding: 10px 16px; font-size: 14px; border-radius: 10px; }
/* Topic chips: shown once the visitor starts the form (forms.js); always shown without JS. */
.nl-topics { margin: 12px 0 0; padding: 0; border: 0; min-width: 0; }
.nl-topics.is-closed { display: none; }
@media (prefers-reduced-motion: no-preference) { .nl-topics.is-open { animation: cc-up .35s cubic-bezier(.2,.75,.15,1) both; } }
.nl-topics legend { padding: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nl-topics legend small { margin-left: 6px; text-transform: none; letter-spacing: 0; color: var(--subtle); font-size: 12px; }
.nl-topics > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nl-chip { position: relative; cursor: pointer; }
.nl-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nl-chip span { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; line-height: 20px; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.03); transition: background .2s, border-color .2s, color .2s; }
.nl-chip:hover span { border-color: rgba(143,178,255,0.6); }
.nl-chip input:checked + span { color: #fff; border-color: #4d8bff; background: rgba(0,85,255,0.28); }
.nl-chip input:checked + span::before { content: "✓ "; }
.nl-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.newsletter__status { min-height: 20px; margin-top: 10px; font-size: 13px; color: #8fb2ff; }
.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0; }
.footer__title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 18px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__list a { color: rgba(255,255,255,0.72); font-size: 15px; transition: color .2s, padding .3s cubic-bezier(.2,.75,.15,1); }
.footer__list a:hover { color: #fff; padding-left: 4px; }
.ft-offices { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); }
.ft-offices li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: baseline; }
.ft-offices small { grid-column: 1 / -1; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.ft-offices b { margin-top: 4px; font-size: 22px; font-weight: 400; letter-spacing: -0.03em; }
.ft-offices span { font: 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--subtle); }
.ft-offices span:not(:empty)::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; vertical-align: 1px; }
.ft-offices span.is-off::before { background: rgba(255,255,255,0.3); box-shadow: none; }
.ft-mark { margin: 0; padding: 0 2vw; font-size: clamp(64px, 17.5vw, 290px); line-height: .78; font-weight: 500; letter-spacing: -0.065em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  color: transparent; background: linear-gradient(180deg, rgba(143,178,255,0.22), rgba(143,178,255,0.02) 85%); -webkit-background-clip: text; background-clip: text; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--subtle); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.footer__legal a { color: rgba(255,255,255,0.65); transition: color .2s; }
.footer__legal a:hover { color: #fff; }
.ft-top-link { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.ft-top-link:hover { border-color: rgba(120,165,255,0.6); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .section { padding: 90px 0; }
  .hero { padding: 70px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr; gap: 36px; padding: 72px 0 48px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .card { padding: 28px 24px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; margin-top: 56px; }
  .cta { padding: 54px 22px; }
  .ft-offices { grid-template-columns: 1fr; gap: 16px; }
  .ft-news { padding: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Cookie consent (assets/consent.js) ---------- */
.cc__bar { position: fixed; z-index: 200; left: 20px; bottom: 20px; width: min(560px, calc(100% - 40px)); display: none; align-items: flex-start; gap: 14px; padding: 18px 16px 18px 20px;
  border-radius: 16px; background: #1e293b; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 60px rgba(0,0,0,0.55); }
.cc.is-bar .cc__bar { display: flex; }
@media (prefers-reduced-motion: no-preference) { .cc.is-bar .cc__bar { animation: cc-up .45s cubic-bezier(.2,.75,.15,1) both; } }
@keyframes cc-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cc__icon { flex: none; font-size: 26px; line-height: 30px; }
.cc__text { flex: 1; font-size: 15px; line-height: 23px; color: #fff; }
.cc__text a { display: inline-block; margin-top: 2px; color: #93b4ff; font-weight: 500; text-decoration: none; }
.cc__text a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc__body { flex: 1; min-width: 0; }
.cc__actions { display: flex; gap: 8px; margin-top: 12px; }
.cc .cc__actions .btn { padding: 6px 18px; font-size: 14px; }
/* Accept and Reject look the same: refusing must be as easy and as visible as accepting. */
.cc__btn { color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.35); }
.cc__btn:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.cc__close { flex: none; align-self: center; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.cc__close:hover { background: rgba(255,255,255,0.1); }
.cc__close:focus-visible { outline: 2px solid #93b4ff; outline-offset: 2px; }
.cc__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cc__dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc .btn { padding: 8px 16px; font-size: 15px; line-height: 22px; }
.cc__dialog { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cc__dialog[hidden] { display: none; }
.cc__panel { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border-radius: 20px; border: 1px solid rgba(120,165,255,0.35); background: linear-gradient(180deg, #080c18, #03050b); box-shadow: 0 40px 120px rgba(0,0,0,0.7); }
.cc__panel h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.4px; }
.cc__lead { margin-top: 8px; color: var(--muted); font-size: 15px; }
.cc__opt { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-top: 16px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); cursor: default; }
label.cc__opt { cursor: pointer; }
.cc__opt b { font-weight: 500; color: #fff; }
.cc__opt p { margin-top: 4px; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.cc__always { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8fb2ff; white-space: nowrap; }
.cc__switch { position: relative; width: 46px; height: 26px; }
.cc__switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc__switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,0.15); transition: background .2s; pointer-events: none; }
.cc__switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cc__switch input:checked + i { background: #0055fe; }
.cc__switch input:checked + i::after { transform: translateX(20px); }
.cc__switch input:focus-visible + i { outline: 2px solid #fff; outline-offset: 2px; }
.cc__dialog-actions { margin-top: 24px; justify-content: flex-end; }
@media (max-width: 760px) {
  .cc__bar { left: 0; bottom: 0; width: 100%; border-radius: 18px 18px 0 0; border-width: 1px 0 0; padding: 20px 12px calc(20px + env(safe-area-inset-bottom)) 18px; }
}

/* ---------- "On the horizon" hint (home results, services catalogue): deliberately quiet ---------- */
.horizon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; margin-top: 28px; font-size: 13.5px; letter-spacing: 0.02em; color: var(--subtle); }
.horizon b { font-weight: 500; color: rgba(255,255,255,0.7); }
.horizon__soon { color: var(--subtle); font-style: italic; }
.horizon__dot { width: 6px; height: 6px; border-radius: 50%; background: #8fb2ff; box-shadow: 0 0 0 0 rgba(143,178,255,0.5); }
@media (prefers-reduced-motion: no-preference) { .horizon__dot { animation: horizon-ping 2.6s ease-out infinite; } }
@keyframes horizon-ping { 0% { box-shadow: 0 0 0 0 rgba(143,178,255,0.45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(143,178,255,0); } }
.horizon--catalog { justify-content: flex-start; margin: 14px 0 0; padding: 12px 16px; border: 1px dashed rgba(255,255,255,0.12); border-radius: 14px; font-size: 13px; }
.horizon--catalog .horizon__soon { margin-left: auto; font-style: normal; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.horizon--catalog { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 10px; }
.horizon--catalog .horizon__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.horizon--catalog .horizon__soon { margin-left: 0; }
.horizon--catalog .horizon__list { grid-column: 1 / -1; color: var(--subtle); font-size: 13.5px; }

/* ---------- First-visit welcome ribbon (services.js): slides open inside the sticky header ---------- */
.wr { position: relative; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.75,.15,1); }
.wr.is-open { grid-template-rows: 1fr; }
.wr__inner { overflow: hidden; min-height: 0; }
.wr__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 11px; padding-bottom: 11px; border-top: 1px solid rgba(120,165,255,0.18); }
.wr__row::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(143,178,255,0.16) 50%, transparent 70%) 0 0 / 250% 100% no-repeat; }
.wr.is-open .wr__row::after { animation: wrSheen 2.6s ease 1.1s 1 both; }
@keyframes wrSheen { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 1; background-position: -60% 0; } }
.wr__msg { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 14.5px; line-height: 22px; }
.wr__badge { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, #0055fe, #3b7bff); box-shadow: 0 0 18px rgba(0,85,255,0.45); }
.wr__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
@media (prefers-reduced-motion: no-preference) { .wr.is-open .wr__badge::before { animation: wrPulse 2s ease-in-out 1.2s 3; } }
@keyframes wrPulse { 50% { opacity: .35; } }
.wr__text { color: #fff; }
.wr__sub { color: var(--muted); }
.wr__w { display: inline-block; opacity: 0; transform: translateY(8px); filter: blur(3px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.75,.15,1), filter .5s ease; transition-delay: calc(.35s + var(--i) * 55ms); }
.wr__sub .wr__w { transition-delay: calc(.75s + var(--i) * 45ms); }
.wr.is-open .wr__w { opacity: 1; transform: none; filter: none; }
.wr__close { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,0.6); font-size: 18px; line-height: 1; cursor: pointer; transition: background .25s, color .25s; }
.wr__close:hover { background: rgba(255,255,255,0.1); color: #fff; }
@media (max-width: 640px) { .wr__sub { display: none; } .wr__badge { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .wr, .wr__w { transition: none; } .wr.is-open .wr__row::after { animation: none; } }

/* ---------- Touch devices: comfortable tap targets (≥ 40px) without changing the desktop layout ---------- */
@media (pointer: coarse) {
  .footer__list a, .footer__legal a, .ft-mail, .rs-crumbs a, .rs-more__all, .rs-art__rel a, .lg-top, .voice__link, .rs-fw__go { display: inline-flex; align-items: center; min-height: 40px; }
  .footer__list { gap: 2px; }
  .wr__close { width: 40px; height: 40px; }
  .nav__links a { min-height: 44px; }
  .btn { min-height: 44px; }
}
@media (max-width: 640px) { .wr__badge { font-size: 11px; } }

/* Footer on narrow phones: grid tracks may shrink below the newsletter field's intrinsic width. */
@media (max-width: 960px) { .ft-top { grid-template-columns: minmax(0, 1fr); } .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.newsletter input { width: 100%; }
@media (max-width: 380px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Resources mega menu (.rm): clickable parent + chevron; featured insight, case studies, frameworks, checklist ---------- */
.nav__item--split { display: inline-flex; align-items: center; gap: 4px; }
.nav__parent { transition: color .2s; }
.nav__item--split:hover .nav__parent, .nav__parent[aria-current="page"] { color: #fff; }
.nav__trigger--split { padding: 32px 4px; }
.rm { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-areas: "bar bar bar" "ins cs fw" "ins ck ck"; gap: 10px 22px; padding: 18px 22px 22px;
  max-height: calc(100vh - 120px); overflow-y: auto; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1);
  background: radial-gradient(50% 80% at 0% 0%, rgba(0,85,255,0.22), transparent 60%), radial-gradient(40% 60% at 100% 100%, rgba(139,92,246,0.14), transparent 65%), linear-gradient(180deg, #060a16, #020308);
  box-shadow: 0 40px 100px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,85,255,0.08); }
.rm__bar { grid-area: bar; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rm__bar p { display: flex; align-items: baseline; gap: 12px; }
.rm__bar p b { font-size: 16px; font-weight: 500; color: #fff; }
.rm__bar p span { font-size: 13px; color: var(--subtle); }
.rm__bar-links { display: flex; align-items: center; gap: 18px; font-size: 13.5px; }
.nav__links .rm__bar-links a { color: rgba(255,255,255,0.6); transition: color .2s; }
.nav__links .rm__bar-links a:hover { color: #fff; }
.nav__links .rm__bar-links .rm__all { padding: 7px 14px; border-radius: 999px; color: #fff; border: 1px solid rgba(120,165,255,0.5); background: rgba(0,85,255,0.16); }
.nav__links .rm__bar-links .rm__all:hover { background: rgba(0,85,255,0.3); }
.rm__col { min-width: 0; }
.rm__col--ins { grid-area: ins; }
.rm__col:nth-of-type(3) { grid-area: cs; } .rm__col:nth-of-type(4) { grid-area: fw; }
.rm__h { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 0 10px; }
.nav__links .rm__h a { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.nav__links .rm__h a:hover { color: #fff; }
.rm__h small { font-size: 12px; color: var(--subtle); }
.rm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rm__list b { display: block; font-size: 14.5px; font-weight: 400; line-height: 20px; color: #fff; }
.rm__list small { display: block; font-size: 12px; line-height: 17px; color: var(--subtle); }
/* featured insight */
.nav__links .rm-feat { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #05070d; }
.rm-feat__img { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: linear-gradient(135deg, #0b1838, #05070d); }
.rm-feat__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) brightness(0.8); transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s; }
.rm-feat__body { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 40px 14px 12px; background: linear-gradient(180deg, transparent, rgba(2,4,12,0.95) 55%); }
.rm-feat__body b { display: block; margin-top: 6px; font-size: 16px; line-height: 21px; font-weight: 500; color: #fff; }
.rm-feat__body small { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,0.6); }
.nav__links .rm-feat:hover .rm-feat__img img { transform: scale(1.06); filter: grayscale(0.2) brightness(0.9); }
.rm-tag { display: inline-block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: #cfe0ff; background: rgba(0,85,255,0.3); border: 1px solid rgba(143,178,255,0.4); }
.rm__col--ins .rm__list { margin-top: 8px; }
.nav__links .rm-top { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 8px 8px; border-radius: 10px; transition: background .2s; }
.nav__links .rm-top:hover { background: rgba(0,85,255,0.12); }
.rm-top__n { font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: #8fb2ff; padding-top: 2px; }
/* case studies */
.nav__links .rm-case { position: relative; display: grid; grid-template-columns: 4px 1fr; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; transition: background .2s; }
.rm-case__bar { width: 4px; height: 30px; border-radius: 2px; background: rgb(var(--rc)); box-shadow: 0 0 10px rgba(var(--rc),0.6); transition: height .3s; }
.nav__links .rm-case:hover { background: rgba(var(--rc),0.1); }
.nav__links .rm-case:hover .rm-case__bar { height: 36px; }
.rm-case small { color: rgb(var(--rc)) !important; opacity: .85; }
/* frameworks */
.nav__links .rm-fw { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; transition: background .2s; }
.nav__links .rm-fw:hover { background: rgba(0,85,255,0.12); }
.rm-fw__g { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #070b16; border: 1px solid rgba(255,255,255,0.1); }
.rm-fw__g svg { width: 20px; height: 20px; fill: none; stroke: rgba(143,178,255,0.7); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rm-fw__g .g { stroke: #4d8bff; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .6s ease; }
.nav__links .rm-fw:hover .rm-fw__g .g, .mega.is-open .rm-fw__g .g { stroke-dashoffset: 0; }
/* checklist banner */
.nav__links .rm-check { grid-area: ck; align-self: end; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(120,165,255,0.35); background: linear-gradient(100deg, rgba(0,85,255,0.24), rgba(139,92,246,0.12) 60%, rgba(255,255,255,0.02)); transition: border-color .3s, transform .3s; }
.nav__links .rm-check:hover { border-color: rgba(143,178,255,0.8); }
.rm-check__dots { display: grid; grid-template-columns: repeat(3, 10px); gap: 5px; }
.rm-check__dots i { width: 10px; height: 10px; border-radius: 3px; border: 1px solid rgba(143,178,255,0.6); }
.mega.is-open .rm-check__dots i { animation: rmTick .4s ease forwards; animation-delay: calc(.35s + var(--i) * .08s); }
@keyframes rmTick { to { background: #4d8bff; border-color: #4d8bff; box-shadow: 0 0 8px #0055fe; } }
.rm-check__txt b { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: #fff; }
.rm-check__txt small { display: block; font-size: 12px; color: rgba(255,255,255,0.6); }
.rm-check__go { font-size: 13.5px; color: #fff; white-space: nowrap; }
/* staggered entrance */
.rm > * { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.mega.is-open .rm > * { opacity: 1; transform: none; }
.mega.is-open .rm > :nth-child(2) { transition-delay: .04s; } .mega.is-open .rm > :nth-child(3) { transition-delay: .09s; }
.mega.is-open .rm > :nth-child(4) { transition-delay: .14s; } .mega.is-open .rm > :nth-child(5) { transition-delay: .19s; }
@media (prefers-reduced-motion: reduce) { .rm > * { transition: none; } .mega.is-open .rm-check__dots i { animation: none; background: #4d8bff; } }
@media (max-width: 1100px) and (min-width: 961px) { .rm { grid-template-columns: 1.2fr 1fr; grid-template-areas: "bar bar" "ins cs" "ins fw" "ck ck"; } .rm__bar p span { display: none; } }
@media (max-width: 960px) {
  .nav__item--split { display: flex; flex-wrap: wrap; align-items: center; }
  .nav__item--split .nav__parent { flex: 1; }
  .nav__trigger--split { width: 48px; justify-content: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__item--split .mega { flex-basis: 100%; }
  .rm { grid-template-columns: 1fr; grid-template-areas: "ins" "cs" "fw" "ck"; padding: 8px 0 14px; max-height: none; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .rm__bar, .rm-feat__img { display: none; }
  .rm-feat__body { position: static; padding: 8px 10px; background: none; }
  .nav__links .rm-feat { border: 0; background: none; }
  .rm > * { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .nav__links .rm a { border-bottom: 0; font-size: inherit; padding-top: 8px; padding-bottom: 8px; }
  .nav__links .rm__h a { padding: 0; }
  .nav__item--split { border-bottom: 1px solid var(--line); }
  .nav__item--split > .nav__parent, .nav__trigger--split { border-bottom: 0; }
  .rm-check__txt { min-width: 0; }
  .nav__links .rm-check { grid-template-columns: auto 1fr; } .rm-check__go { grid-column: 1 / -1; }
}
/* Desktop nav: keep every item on one line and vertically centred (the split Resources item included). */
@media (min-width: 961px) {
  .nav__links { align-items: center; }
  .nav__links > li:not(.nav__mobile-cta) { display: flex; align-items: center; }
  .nav__links > li > a, .nav__links > li > button { white-space: nowrap; }  /* top-level labels only; dropdown panels wrap normally */
  .nav__trigger--split { padding-top: 32px; padding-bottom: 32px; margin: -32px 0; }
}
@media (min-width: 961px) and (max-width: 1100px) { .nav__links { gap: 20px; } .nav { gap: 24px; } }

/* ---------- Phones: swipe cues for sideways scrollers, folds for long lists, clamps for long grids (services.js) ---------- */
.xs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.xs.xs--mid { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 44px), transparent); }
.xs.xs--end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.xs-hint { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 8px 0 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8fb2ff; pointer-events: none; transition: opacity .4s; }
.xs-hint i { display: inline-flex; gap: 3px; }
.xs-hint i b { width: 6px; height: 6px; border-radius: 50%; background: rgba(143,178,255,0.3); transition: background .3s, width .3s; }
.xs-hint i b.is-on { width: 16px; border-radius: 3px; background: #8fb2ff; }
.xs-hint span::after { content: " →"; display: inline-block; animation: xsNudge 1.4s ease-in-out infinite; }
.xs-hint.is-done span { display: none; }
@keyframes xsNudge { 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .xs-hint span::after { animation: none; } }

.fold__head { position: relative; cursor: pointer; padding-right: 34px !important; -webkit-tap-highlight-color: transparent; }
.fold__head::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.6px solid #8fb2ff; border-bottom: 1.6px solid #8fb2ff; transform: rotate(45deg); transition: transform .3s; }
.fold.is-open .fold__head::after { transform: rotate(-135deg); margin-top: -2px; }
.fold:not(.is-open) .fold__body { display: none; }
.fold__btn { display: block; outline: none; }
.fold__btn:focus-visible { outline: 2px solid #4d8bff; outline-offset: 4px; border-radius: 6px; }

.clamp { position: relative; max-height: var(--clamp, 520px); overflow: hidden; }
.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; background: linear-gradient(180deg, transparent, var(--clamp-bg, #000)); }
.clamp.is-open { max-height: none; } .clamp.is-open::after { display: none; }
.clamp-btn { display: flex; margin: 14px auto 0; padding: 10px 18px; border-radius: 999px; font: inherit; font-size: 14px; color: #fff; cursor: pointer; border: 1px solid rgba(120,165,255,0.5); background: rgba(0,85,255,0.16); }

@media (max-width: 640px) {
  /* Home: benefits become a swipeable row */
  #why-delphilens .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  #why-delphilens .bento::-webkit-scrollbar { display: none; }
  #why-delphilens .bento > * { flex: 0 0 84%; scroll-snap-align: center; }
  /* Digital asset classes: two compact columns */
  .m-imgtiles { grid-template-columns: 1fr 1fr !important; gap: 10px; row-gap: 10px !important; }
  .m-imgtile { aspect-ratio: 0.95; }
  .m-imgtile div { left: 12px; right: 12px; bottom: 12px; }
  .m-imgtile h3 { font-size: 15px; } .m-imgtile p { display: none; }
}

/* ---------- Skip link: hidden until keyboard focus ---------- */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: #0055fe; color: #fff; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; outline: 2px solid #8fb2ff; outline-offset: 2px; }
.cf-check { margin-top: 14px; }
