/* =========================================================
   Startup 24x7 — global styles
   Reads every colour / size / motion value from tokens.css
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; } /* no CSS smooth-scroll: it fights ScrollTrigger. JS handles anchors. */
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; } /* width/height attributes only reserve the shape */
a { color: inherit; text-decoration: none; transition: color var(--t-ui), opacity var(--t-ui); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--f-head);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.015em; }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-2); }
.muted { color: var(--c-ink-3); }
.small { font-size: var(--fs-small); }
.accent { color: var(--c-accent); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }
.section--white { background: var(--c-tint); }
.section--dark { background: var(--c-dark); color: #fff; }
.section--dark .lead, .section--dark .muted { color: rgba(255, 255, 255, 0.72); }
.section--flush-top { padding-top: 0; }
.section-head { display: grid; gap: 20px; max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.grid { display: grid; gap: 24px; }
.grid-2 { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rule { height: 1px; background: var(--c-line); border: 0; margin: 0; }
.section--dark .rule { background: var(--c-dark-line); }

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--split { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Eyebrow / tag pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--c-primary-soft); color: var(--c-ink);
  width: fit-content;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.section--dark .eyebrow, .eyebrow--dark { background: rgba(0, 127, 217, 0.14); color: #fff; }

/* ---------- Pill buttons ---------- */
.btn {
  --btn-bg: var(--c-primary); --btn-fg: var(--c-primary-ink); --btn-bd: var(--c-primary);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; line-height: 1;
  padding: 14px 22px 14px 24px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  white-space: nowrap;
  transition: background-color var(--t-btn), border-color var(--t-btn), color var(--t-btn), box-shadow var(--t-btn), transform var(--t-btn);
}
.btn:hover { --btn-bg: var(--c-primary-hover); --btn-bd: var(--c-primary-hover); box-shadow: 0 10px 24px -12px rgba(0, 127, 217, 0.7); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico-arrow { width: 14px; height: 14px; transition: transform var(--t-btn); }
.btn:hover .ico-arrow { transform: translate(2px, -2px); }
.btn--secondary { --btn-bg: var(--c-primary-soft); --btn-bd: var(--c-primary-soft); --btn-fg: var(--c-ink); }
.btn--secondary:hover { --btn-bg: var(--c-primary-soft-hover); --btn-bd: var(--c-primary-soft-hover); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: currentColor; }
.btn--outline:hover { --btn-bg: var(--c-ink); --btn-fg: #fff; --btn-bd: var(--c-ink); box-shadow: none; }
.section--dark .btn--outline, .btn--outline-light { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.5); }
.section--dark .btn--outline:hover, .btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.btn--dark { --btn-bg: var(--c-ink); --btn-fg: #fff; --btn-bd: var(--c-ink); }
.btn--dark:hover { --btn-bg: #222222; --btn-bd: #222222; box-shadow: none; }
.btn--whatsapp { --btn-bg: #25d366; --btn-bd: #25d366; --btn-fg: #06331a; }
.btn--whatsapp:hover { --btn-bg: #3ee07b; --btn-bd: #3ee07b; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, 0.8); }
.btn--sm { font-size: 0.9375rem; padding: 10px 16px 10px 18px; }
.btn--pulse { animation: pulse var(--pulse-dur) ease infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 127, 217, 0.55); }
  60% { box-shadow: 0 0 0 14px rgba(0, 127, 217, 0); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow .ico-arrow { width: 12px; height: 12px; transition: transform var(--t-ui); }
.link-arrow:hover .ico-arrow { transform: translate(3px, -3px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: #000000; color: #fff; height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; position: relative; z-index: 60;
}
.announce a { display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; opacity: 0.92; }
.announce a:hover { opacity: 1; }
.announce__tag { background: var(--c-accent); color: #fff; font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); }
.announce .ico-arrow { width: 11px; height: 11px; }
.announce__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70vw; animation: slideIn 1s ease both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--c-page);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-ui), border-color var(--t-ui);
}
.header.is-scrolled { border-bottom-color: var(--c-line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: 1.6rem; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; transition: opacity 0.4s ease; padding-right: .06em; }
.logo__img { display: block; height: 46px; width: auto; transition: opacity 0.4s ease; }
.footer .logo__img { height: 56px; }
@media (max-width: 767px) { .logo__img { height: 38px; } }
.logo__img--dark { display: none; }
.footer .logo__img--light, .menu .logo__img--dark { display: none; }
.footer .logo__img--dark { display: block; }
.menu .logo__img--light { display: block; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--c-surface); border: 1px solid var(--c-line);
  transition: background-color var(--t-ui), border-color var(--t-ui), transform var(--t-ui);
}
.icon-btn:hover { background: var(--c-primary-soft); border-color: var(--c-primary-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--c-accent); color: #fff;
  font-size: 0.6875rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--c-page);
}
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-ui); }
.burger span + span { margin-top: 5px; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }
.burger:hover span:first-child { transform: translateX(-3px); }
.burger:hover span:last-child { transform: translateX(3px); }

/* Home: transparent header over the hero, solid once the hero is passed */
.header--overlay { margin-bottom: calc(var(--header-h) * -1); }
.hero-motion .header--overlay:not(.is-solid) { background: transparent; border-bottom-color: transparent; }
.header--overlay.is-solid.is-scrolled { border-bottom-color: var(--c-line); }
.hero-motion .header--overlay:not(.is-solid) .logo__text { opacity: 0; transition: none; }
.hero-done .hero-home__word { visibility: hidden; }

@media (max-width: 767px) {
  .header__cta { display: none; }
  .logo__text { font-size: 1.3rem; }
  .icon-btn { width: 42px; height: 42px; }
}

/* ---------- Full-screen drill-down menu ---------- */
.menu {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 0; overflow: hidden; visibility: hidden;
  background: var(--c-surface); color: var(--c-ink);
}
.menu.is-open { visibility: visible; }
.menu__inner { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--c-line); flex: none; }
.menu__body { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: clamp(24px, 5vh, 64px); padding-bottom: 32px; overflow-y: auto; }
.menu__panels { position: relative; min-height: 420px; }
.menu__panel { position: absolute; inset: 0 0 auto 0; }
.menu__panel[hidden] { display: none; }
.menu__list > li { border-bottom: 1px solid var(--c-line); overflow: hidden; }
.menu__item {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--f-head); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.1; padding: 14px 0; text-align: left;
}
.menu__item:hover { color: var(--c-primary); }
.menu__item .chev { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary-soft); flex: none; transition: transform var(--t-ui), background-color var(--t-ui); }
.menu__item:hover .chev { transform: translateX(4px); background: var(--c-primary); color: #fff; }
.menu__item .chev svg { width: 16px; height: 16px; }
.menu__sub .menu__item { font-size: clamp(1.25rem, 2.4vw, 2rem); }
.menu__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-ink-3); margin-bottom: 16px; }
.menu__back svg { width: 14px; height: 14px; transform: rotate(180deg); }
.menu__back:hover { color: var(--c-ink); }
.menu__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-3); margin-bottom: 8px; }
.menu__aside { background: var(--c-page); border-radius: var(--r-card); padding: 32px; align-self: start; display: grid; gap: 18px; }
.menu__aside h3 { font-size: 1.6rem; }
@media (max-width: 900px) {
  .menu__body { grid-template-columns: 1fr; }
  .menu__aside { display: none; }
}

/* ---------- Media + art placeholders ---------- */
.media { position: relative; border-radius: var(--r-media); overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--framed { overflow: visible; }
.media--framed::before {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--c-primary); border-radius: inherit;
  transform: translate(var(--frame-offset), var(--frame-offset)); z-index: -1; pointer-events: none;
}
.media--framed > .art { border-radius: inherit; }
.media__label {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-surface); color: var(--c-ink); font-weight: 600; font-size: 0.9375rem;
  padding: 10px 16px; border-radius: var(--r-pill); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.45);
}
.media__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.media--framed .media__label { left: auto; right: -18px; bottom: 28px; }

.art {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 20%, rgba(58, 166, 240, 0.55), transparent 60%),
    radial-gradient(60% 60% at 15% 85%, rgba(0, 89, 168, 0.75), transparent 62%),
    linear-gradient(135deg, #000000 0%, #06223a 100%);
}
.art::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 85%);
}
.art__glyph { position: absolute; right: 8%; bottom: 10%; width: 34%; max-width: 180px; color: rgba(255, 255, 255, 0.9); }
.art__glyph svg { width: 100%; height: auto; }
.art__word { position: absolute; left: 7%; bottom: 8%; font-family: var(--f-display); font-weight: 800; font-style: italic; letter-spacing: -0.04em; font-size: clamp(1.8rem, 5vw, 4.5rem); color: rgba(255,255,255,0.94); line-height: 0.95; }
.art--2 { background: radial-gradient(55% 65% at 25% 25%, rgba(58, 166, 240,.6), transparent 60%), radial-gradient(65% 60% at 85% 85%, rgba(58,166,240,.45), transparent 60%), linear-gradient(160deg, #000000, #071c30); }
.art--3 { background: radial-gradient(70% 60% at 50% 0%, rgba(0, 127, 217,.75), transparent 62%), radial-gradient(50% 60% at 0% 100%, rgba(0, 89, 168,.8), transparent 60%), linear-gradient(180deg, #04121f, #000000); }
.art--4 { background: radial-gradient(60% 60% at 90% 10%, rgba(0, 89, 168,.9), transparent 60%), radial-gradient(55% 55% at 10% 60%, rgba(58, 166, 240,.5), transparent 60%), linear-gradient(120deg, #000000, #061a2c); }
.art--5 { background: radial-gradient(55% 55% at 70% 70%, rgba(58, 166, 240,.55), transparent 60%), radial-gradient(55% 55% at 20% 20%, rgba(58,166,240,.35), transparent 60%), linear-gradient(200deg, #000000, #06213a); }
.art--6 { background: radial-gradient(70% 70% at 30% 70%, rgba(0, 127, 217,.65), transparent 62%), radial-gradient(45% 45% at 85% 20%, rgba(58, 166, 240,.55), transparent 60%), linear-gradient(140deg, #020a12, #0a3050); }
.art--light { background: radial-gradient(60% 70% at 80% 20%, rgba(58, 166, 240,.35), transparent 60%), radial-gradient(60% 60% at 10% 90%, rgba(0, 89, 168,.25), transparent 60%), linear-gradient(135deg, #eef6fd, #d9ebfa); }
.art--light::before { background-image: linear-gradient(rgba(0, 0, 0,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0,.06) 1px, transparent 1px); }
.art--light .art__glyph { color: var(--c-ink); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: 32px;
  transition: transform var(--t-ui), box-shadow var(--t-ui), border-color var(--t-ui);
}
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.35); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-ink); }
.card__icon svg { width: 26px; height: 26px; }
.card__num { font-family: var(--f-head); font-weight: 800; font-size: 0.875rem; color: var(--c-primary); letter-spacing: 0.06em; }
.card p { color: var(--c-ink-2); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.section--dark .card { background: var(--c-dark-2); border-color: var(--c-dark-line); color: #fff; }
.section--dark .card p { color: rgba(255,255,255,.7); }
.section--dark .card__icon { background: rgba(0, 127, 217, 0.16); color: var(--c-primary-hover); }
.card--media { padding: 0; overflow: hidden; }
.card--media .media { border-radius: 0; aspect-ratio: 16 / 10; }
.card--media .card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* ---------- Text banner (big statement) ---------- */
.text-banner { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 1120px; }
.text-banner .muted { color: var(--c-ink-3); }

/* ---------- Separator ---------- */
.separator { display: flex; align-items: center; gap: 24px; font-weight: 600; color: var(--c-ink-3); font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase; }
.separator::before, .separator::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

/* ---------- Marquee (platform strip) ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur-marquee) linear infinite; }
.marquee__group { display: flex; gap: 16px; padding-right: 16px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 16px 26px; border-radius: var(--r-pill);
  background: var(--c-surface); border: 1px solid var(--c-line);
  font-family: var(--f-head); font-weight: 700; font-size: 1.0625rem; color: var(--c-ink-2);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.section--dark .chip { background: rgba(255,255,255,.04); border-color: var(--c-dark-line); color: rgba(255,255,255,.85); }

/* ---------- Tags cloud ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--c-line);
  background: var(--c-surface); font-weight: 600; font-size: 0.9375rem;
  transition: background-color var(--t-ui), border-color var(--t-ui), color var(--t-ui);
}
a.tag:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.section--dark .tag { background: transparent; border-color: var(--c-dark-line); }

/* ---------- Pill filters ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 10px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--c-line); background: var(--c-surface);
  font-weight: 600; font-size: 0.9375rem;
  transition: background-color var(--t-quick), color var(--t-quick), border-color var(--t-quick);
}
.pill:hover { border-color: var(--c-ink); }
.pill[aria-pressed="true"], .pill[aria-selected="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.section--dark .pill { background: transparent; border-color: var(--c-dark-line); color: #fff; }
.section--dark .pill[aria-pressed="true"], .section--dark .pill[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ---------- Search bar ---------- */
.search { display: flex; align-items: center; gap: 8px; background: var(--c-surface); border: 1.5px solid var(--c-line); border-radius: var(--r-pill); padding: 6px 6px 6px 20px; min-width: min(100%, 380px); transition: border-color var(--t-quick); }
.search:focus-within { border-color: var(--c-primary); }
.search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; padding: 8px 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--c-line); }
.stat { padding: 32px 24px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--c-line); }
.stat__num { font-family: var(--f-display); font-weight: 800; font-style: italic; letter-spacing: -0.04em; font-size: clamp(3.25rem, 6.4vw, 6rem); line-height: 1; padding-right: .08em; }
.stat__label { color: var(--c-ink-2); max-width: 240px; }
.section--dark .stats, .section--dark .stat + .stat { border-color: var(--c-dark-line); }
.section--dark .stat__label { color: rgba(255,255,255,.7); }
@media (max-width: 767px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--c-line); }
.acc { border-bottom: 1px solid var(--c-line); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; text-align: left; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }
.acc__icon { width: 40px; height: 40px; border-radius: 50%; flex: none; position: relative; background: var(--c-primary-soft); transition: background-color var(--t-ui), transform var(--t-ui); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--c-ink); transform: translate(-50%, -50%); transition: transform var(--t-ui); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--c-primary); }
.acc__btn[aria-expanded="true"] .acc__icon::before, .acc__btn[aria-expanded="true"] .acc__icon::after { background: #fff; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 64px 28px 0; color: var(--c-ink-2); max-width: 820px; }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.section--dark .accordion, .section--dark .acc { border-color: var(--c-dark-line); }
.section--dark .acc__panel p { color: rgba(255,255,255,.72); }
.section--dark .acc__icon { background: rgba(255,255,255,.08); }
.section--dark .acc__icon::before, .section--dark .acc__icon::after { background: #fff; }

/* ---------- Slider (scroll-snap, prev/next pills) ---------- */
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 10px; }
.slider__btn { width: 54px; height: 54px; border-radius: var(--r-pill); display: grid; place-items: center; border: 1.5px solid currentColor; transition: background-color var(--t-btn), color var(--t-btn), opacity var(--t-btn); }
.slider__btn svg { width: 16px; height: 16px; }
.slider__btn--prev svg { transform: rotate(180deg); }
.slider__btn:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.section--dark .slider__btn:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.slider__btn:disabled { opacity: 0.3; pointer-events: none; }
@media (max-width: 767px) { .slider__track { grid-auto-columns: 82%; } }

/* ---------- Testimonial / quote ---------- */
.quote-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border-radius: var(--r-card); overflow: hidden; background: var(--c-dark); color: #fff; }
.quote-block .media { border-radius: 0; aspect-ratio: auto; min-height: 380px; }
.quote-block__body { padding: clamp(32px, 5vw, 72px); display: grid; align-content: center; gap: 28px; }
.quote-block blockquote { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.25; letter-spacing: -0.015em; }
.quote-block cite { font-style: normal; color: rgba(255,255,255,.7); }
.placeholder-note { display: inline-flex; gap: 8px; align-items: center; font-size: 0.8125rem; font-weight: 600; color: var(--c-accent); letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 900px) { .quote-block { grid-template-columns: 1fr; } .quote-block .media { min-height: 220px; } }

/* ---------- Dual layout ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dual + .dual { margin-top: clamp(64px, 8vw, 120px); }
.dual--flip > :first-child { order: 2; }
.dual__text { display: grid; gap: 22px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007FD9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--dark .checklist li::before { background-color: rgba(0, 127, 217,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233AA6F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
@media (max-width: 900px) { .dual { grid-template-columns: 1fr; } .dual--flip > :first-child { order: 0; } }

/* ---------- Bordered list (stagger reveal) ---------- */
.blist { border-top: 1px solid var(--c-line); }
.blist li { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--c-line); align-items: baseline; }
.blist__n { font-family: var(--f-head); font-weight: 800; color: var(--c-primary); }
.blist h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.blist p { color: var(--c-ink-2); }
.section--dark .blist, .section--dark .blist li { border-color: var(--c-dark-line); }
.section--dark .blist p { color: rgba(255,255,255,.72); }
@media (max-width: 767px) { .blist li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- CTA band (before footer) ---------- */
.cta-band { background: var(--c-primary); color: #fff; position: relative; overflow: hidden; }
.cta-band .btn--primary { --btn-bg: #000; --btn-bd: #000; --btn-fg: #fff; }
.cta-band .btn--primary:hover { --btn-bg: #1f1f1f; --btn-bd: #1f1f1f; box-shadow: none; }
.cta-band .accent { color: #000; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(0, 127, 217,.45), transparent); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding: clamp(80px, 10vw, 140px) 0; }
.cta-band h2 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
.cta-band p { color: rgba(255,255,255,.88); font-size: var(--fs-lead); }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: #000000; color: rgba(255,255,255,.72); padding: 80px 0 32px; font-size: var(--fs-small); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-family: var(--f-body); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.footer__word { font-family: var(--f-display); font-weight: 800; font-style: italic; letter-spacing: -0.05em; color: rgba(255,255,255,.06); line-height: .8; margin-top: 48px; white-space: nowrap; font-size: 15vw; text-align: center; user-select: none; }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); transition: transform var(--t-ui); }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; }
.to-top { position: fixed; right: 27px; bottom: 92px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 8px 20px -10px rgba(0,0,0,.3); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity var(--t-ui), transform var(--t-ui); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 14px; height: 14px; transform: rotate(-45deg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero__text { display: grid; gap: 24px; }
.page-hero--dark { background: var(--c-dark); color: #fff; }
.page-hero--dark .lead { color: rgba(255,255,255,.72); }
.page-hero--ruled .container > .page-hero__ruled { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: clamp(40px, 6vw, 80px) 0; display: grid; gap: 24px; justify-items: start; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); color: var(--c-ink-3); }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero--dark .breadcrumb { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* ---------- Rotating headline word ---------- */
.rotator { display: inline-block; position: relative; vertical-align: bottom; overflow: hidden; height: 1.08em; line-height: 1.08; }
.rotator__word { display: inline-block; white-space: nowrap; }
.rotator__word + .rotator__word { position: absolute; left: 0; top: 0; }
.js .rotator__word:not(.is-active) { visibility: hidden; }

/* ---------- Home hero (scroll-scrubbed) ---------- */
.hero-home { position: relative; background: var(--c-page); }
.hero-home__stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero-home__word { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 16px); font-size: 16.4vw; width: max-content; transform-origin: 0 0; color: var(--c-ink); will-change: transform; z-index: 3; }
.hero-home__word:has(> img) { width: min(100% - 2 * var(--gutter), 1400px); } /* final size before JS runs: no jump */
.hero-home__word .grad-text { padding-right: 0.02em; }
.hero-home__tagline { position: absolute; left: var(--gutter); bottom: 48px; max-width: 560px; display: grid; gap: 22px; z-index: 2; }
.hero-home__tagline h1 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
.hero-home__card { position: absolute; right: var(--gutter); bottom: 48px; width: 32vw; height: 19vw; border-radius: var(--r-media-sm); overflow: hidden; z-index: 4; will-change: width, height, left, top; }
.hero-home__card .art__word { font-size: clamp(1.5rem, 2.6vw, 3.25rem); right: 7%; }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.hero-home__meta { position: absolute; left: 20px; top: 18px; z-index: 2; color: rgba(255,255,255,.85); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.hero-home__meta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); animation: blink 1.6s ease infinite; }
@keyframes blink { 50% { opacity: .25; } }

@media (max-width: 1023px) {
  .hero-home__stage { height: auto; min-height: 0; padding: calc(var(--header-h) + 16px) 0 56px; overflow: visible; }
  .hero-home__word, .hero-home__tagline, .hero-home__card { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .hero-home__word { margin: 0 var(--gutter); }
  .hero-home__word:has(> img) { width: auto; }
  .hero-home__tagline { margin: 32px var(--gutter) 0; }
  .hero-home__card { margin: 36px var(--gutter) 0; width: auto; height: auto; aspect-ratio: 16 / 10; border-radius: var(--r-media); }
}

/* ---------- Home: insight chart cards ---------- */
.charts { position: relative; min-height: 460px; }
.chart-card { position: absolute; border-radius: var(--r-card); padding: 28px; width: 78%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0,.45); }
.chart-card--back { right: 0; top: 0; background: var(--c-primary-soft); height: 340px; }
.chart-card--front { left: 0; bottom: 0; background: var(--c-dark); color: #fff; height: 320px; }
.chart-card h4 { font-size: 0.9375rem; font-family: var(--f-body); font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.chart-card .muted { font-weight: 500; }
.chart-card--front .muted { color: rgba(255,255,255,.55); }
.chart-card svg { width: 100%; height: auto; margin-top: 18px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; margin-top: 24px; }
.bars span { flex: 1; border-radius: 8px 8px 2px 2px; background: var(--c-ink); opacity: .15; transform-origin: bottom; }
.bars span:nth-last-child(-n+3) { opacity: 1; background: var(--grad); }
@media (max-width: 767px) { .charts { min-height: 560px; } .chart-card { width: 92%; } }

/* ---------- Band (dark promo band) ---------- */
.band { border-radius: var(--r-card); background: var(--c-dark); color: #fff; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(58, 166, 240,.28), transparent); pointer-events: none; }
.band > * { position: relative; z-index: 1; }
.band h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.band p { color: rgba(255,255,255,.72); }
.band__visual { display: grid; gap: 12px; }
.band__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--c-dark-line); font-weight: 600; }
.band__row span:last-child { font-size: 0.8125rem; color: var(--c-primary-hover); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

/* ---------- Industries hub: 3D ring ---------- */
.ring-hero { background: var(--c-dark); color: #fff; padding: clamp(40px, 5vw, 72px) 0 64px; overflow: hidden; }
.ring-hero h1 { text-align: center; font-size: clamp(2.5rem, 6vw, 5.5rem); }
.ring-hero h1 span { display: block; }
.ring-hero .lead { text-align: center; margin: 24px auto 0; max-width: 640px; color: rgba(255,255,255,.72); }
.ring { position: relative; height: clamp(320px, 27vw, 420px); margin-top: 32px; perspective: 1700px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring.is-grabbing { cursor: grabbing; }
.ring__spinner { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.ring__card {
  position: absolute; left: calc(var(--card-w) / -2); top: calc(var(--card-h) / -2);
  width: var(--card-w); height: var(--card-h); border-radius: var(--r-card);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  outline: 2px solid transparent; outline-offset: 4px;
  transition: outline-color var(--t-ui);
  --card-w: clamp(170px, 15vw, 230px); --card-h: clamp(250px, 22vw, 340px);
}
.ring__face { position: absolute; inset: 0; display: block; border-radius: inherit; overflow: hidden; }
.ring__card .art { border-radius: inherit; }
.ring__card:hover, .ring__card:focus-visible, .ring__card.is-active { outline-color: var(--c-primary); }
.ring__label { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; line-height: 1.1; color: #fff; }
.ring__label small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 0.8125rem; opacity: .75; margin-top: 6px; }
.ring__hint { text-align: center; color: rgba(255,255,255,.5); font-size: var(--fs-small); margin-top: 8px; }
.partners { margin-top: 32px; display: grid; gap: 16px; justify-items: center; }
.partners__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-height: 58px; }
.partners__row .chip { padding: 12px 20px; font-size: 0.9375rem; }

/* ---------- Filter panel (industries hub) ---------- */
.filter-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.filter-list .card[hidden] { display: none; }
@media (max-width: 1023px) { .filter-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .filter-list { grid-template-columns: 1fr; } }

/* ---------- Process page: timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline__line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--c-dark-line); }
.timeline__fill { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr 1fr; gap: 32px; padding: 36px 0; }
.tl-step__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--c-dark); border: 2px solid var(--c-dark-line); font-family: var(--f-head); font-weight: 800; color: rgba(255,255,255,.5); position: relative; z-index: 1; transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease; }
.tl-step.is-lit .tl-step__dot { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 0 0 8px rgba(0, 127, 217,.15); }
.tl-step h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); transition: color .4s ease; color: rgba(255,255,255,.5); }
.tl-step.is-lit h3 { color: #fff; }
.tl-step p { color: rgba(255,255,255,.72); }
.tl-step .tags { margin-top: 16px; }
.tl-step .tag { font-size: 0.8125rem; padding: 6px 12px; color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .tl-step { grid-template-columns: 56px 1fr; } .tl-step > :last-child { grid-column: 2; } }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Use-case rows ---------- */
.usecases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.usecases__list { border-top: 1px solid var(--c-line); }
.uc-row { display: block; width: 100%; text-align: left; padding: 24px 0; border-bottom: 1px solid var(--c-line); transition: padding var(--t-ui); }
.uc-row h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); color: var(--c-ink-3); transition: color var(--t-ui); }
.uc-row p { max-height: 0; overflow: hidden; opacity: 0; color: var(--c-ink-2); transition: max-height .4s ease, opacity .4s ease, margin .4s ease; }
.uc-row.is-active { padding-left: 16px; }
.uc-row.is-active h3 { color: var(--c-ink); }
.uc-row.is-active p { max-height: 160px; opacity: 1; margin-top: 10px; }
.usecases__visual { position: sticky; top: calc(var(--header-h) + 24px); }
.uc-visual { display: none; }
.uc-visual.is-active { display: block; animation: fadeUp .45s ease both; }
@media (max-width: 900px) { .usecases { grid-template-columns: 1fr; } .usecases__visual { position: relative; top: 0; order: -1; } }

/* ---------- Quotes track (auto-slide, dots) ---------- */
.quotes { overflow: hidden; }
.quotes__track { display: flex; transition: transform .8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.quotes__item { flex: 0 0 100%; padding-right: 8px; }
.quotes__item blockquote { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 1000px; }
.quotes__item cite { display: block; margin-top: 24px; font-style: normal; color: rgba(255,255,255,.6); }
.dots { display: flex; gap: 10px; margin-top: 40px; }
.dot { width: 10px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.25); transition: width var(--t-ui), background-color var(--t-ui); }
.dot[aria-current="true"] { width: 36px; background: var(--c-primary); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--c-line); background: var(--c-surface);
  transition: border-color var(--t-quick), background-color var(--t-quick); outline: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-primary); }
.form-card { background: var(--c-surface); color: var(--c-ink); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); display: grid; gap: 20px; }
.form-card h3 { font-size: 1.6rem; }
.form__note { font-size: 0.8125rem; color: var(--c-ink-3); }
.form__success { display: none; padding: 16px 18px; border-radius: 12px; background: var(--c-primary-soft); font-weight: 600; }
.form.is-sent .form__success { display: block; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Blog / listing ---------- */
.list-tools { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.post-card .media { aspect-ratio: 16 / 10; }
.post-card .meta { display: flex; gap: 12px; align-items: center; font-size: 0.8125rem; color: var(--c-ink-3); }
.post-card .meta .eyebrow { padding: 4px 10px; font-size: 0.6875rem; }
.post-card[hidden] { display: none; }
.empty { padding: 48px; text-align: center; border: 1.5px dashed var(--c-line); border-radius: var(--r-card); color: var(--c-ink-3); }
.empty[hidden] { display: none; }
.load-more { display: flex; justify-content: center; margin-top: 48px; }
.load-more[hidden] { display: none; }
.author-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.author-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-surface); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--f-head); flex: none; }
.author-card small { display: block; color: var(--c-ink-3); font-size: 0.8125rem; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; } .author-cards { grid-template-columns: 1fr; } }

/* ---------- Guides: series browser + slide-in panel ---------- */
.guide-card { cursor: pointer; text-align: left; width: 100%; }
.guide-card[hidden] { display: none; }
.guide-card .meta { font-size: 0.8125rem; color: var(--c-ink-3); display: flex; gap: 10px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(560px, 100%); background: var(--c-surface); transform: translateX(100%); transition: transform .45s cubic-bezier(0.2, 0.8, 0.2, 1); overflow-y: auto; padding: 32px clamp(24px, 4vw, 48px) 48px; display: grid; align-content: start; gap: 20px; }
.drawer.is-open { transform: none; }
.drawer.is-open + .drawer-backdrop, .drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer__close { justify-self: end; }

/* ---------- City pages ---------- */
.area-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.area-links a { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-surface); font-weight: 600; display: flex; justify-content: space-between; align-items: center; transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui); }
.area-links a:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.area-links .ico-arrow { width: 12px; height: 12px; }
@media (max-width: 900px) { .area-links { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal initial state (only when JS + motion are on) ---------- */
.motion [data-reveal], .motion [data-stagger] > * { opacity: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team-grid--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member { display: grid; gap: 14px; }
.member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--c-tint); }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: clamp(3rem, 6vw, 5rem); color: rgba(255,255,255,.95); letter-spacing: -0.04em; }
.member__role { color: var(--c-primary); font-weight: 600; font-size: var(--fs-small); }
.member h3 { font-size: 1.35rem; }
.member p { color: var(--c-ink-2); font-size: var(--fs-small); }
.member__links { display: flex; gap: 8px; }
.member__links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--c-line); transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui); }
.member__links a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.member__links svg { width: 16px; height: 16px; }
.team-grid--lead .member { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 28px; }
.team-grid--lead .member h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.section--dark .member p { color: rgba(255,255,255,.72); }
.section--dark .member__links a { border-color: var(--c-dark-line); }
@media (max-width: 1023px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team-grid--lead { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } .team-grid--lead .member { grid-template-columns: 1fr; } }

/* ---------- Uploaded imagery (replaces gradient art when set) ---------- */
.media > img.media__img, .card--media .media > img.media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero-home__card video, .hero-home__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-home__word img { display: block; width: 100%; height: auto; }
.cases-grid .card--media .media { aspect-ratio: 16 / 10; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.result { padding: 24px; border-radius: var(--r-card); background: var(--c-tint); }
.result strong { display: block; font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: clamp(2rem, 3.4vw, 3rem); color: var(--c-primary); letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- Wordmark (text version of the logo until an image is uploaded) ---------- */
.wm-24 { display: inline-block; color: var(--c-primary); font-size: 0.5em; transform: translateY(-0.8em); margin-left: 0.04em; letter-spacing: -0.02em; }
.footer__word .wm-24 { color: inherit; }
.footer .logo__text { color: #fff; }
.footer__social { margin-top: 18px; }
.footer__social a { color: #fff; border-color: rgba(255,255,255,.2); }

/* ---------- Contact details + footer legal links ---------- */
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.contact-list a:hover { color: var(--c-primary); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Photos inside cards with text on top ---------- */
.ring__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ring__face::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.member__photo img + .member__initials { display: none; }

/* ---------- Long labels on small screens ---------- */
.page-hero__grid > *, .dual > *, .grid-2 > *, .cta-band__inner > * { min-width: 0; }
@media (max-width: 600px) {
  .btn { white-space: normal; line-height: 1.25; text-align: left; }
  .eyebrow { max-width: 100%; }
}

/* ---------- Brochure sections ---------- */
.hero-home__post { color: var(--c-ink-3); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col { border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.compare__col--them { background: var(--c-tint); color: var(--c-ink-2); }
.compare__col--us { background: var(--c-ink); color: #fff; }
.compare__head { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; }
.compare__col--them ul { display: grid; gap: 12px; }
.compare__col--them li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.compare__col--them li::before { content: "✕"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #fff; color: var(--c-ink-3); text-decoration: none; }
.compare__col--us .checklist li::before { background-color: rgba(0,127,217,.25); }
@media (max-width: 767px) { .compare { grid-template-columns: 1fr; } }
.stats--wrap { row-gap: 40px; }
.stats--wrap .stat:nth-child(3n+1) { padding-left: 0; border-left: 0; }
@media (max-width: 767px) { .stats--wrap .stat:nth-child(3n+1) { padding-left: 24px; border-left: 1px solid var(--c-line); } .stats--wrap .stat:nth-child(odd) { padding-left: 0; border-left: 0; } }
.quote-card { gap: 18px; }
.quote-card blockquote { font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; line-height: 1.45; }
.client-logo { display: inline-grid; place-items: center; height: 72px; padding: 0 28px; border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-line); }
.client-logo img { max-height: 40px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .75; transition: filter var(--t-ui), opacity var(--t-ui); }
.client-logo:hover img { filter: none; opacity: 1; }
.member__highlights { display: grid; gap: 6px; font-size: var(--fs-small); color: var(--c-ink-2); }
.member__highlights li { position: relative; padding-left: 16px; }
.member__highlights li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.quote-block cite strong { color: #fff; }

/* ---------- Hero on short desktop screens: scale the headline with height too ---------- */
@media (min-width: 1024px) {
  .hero-home__tagline { gap: clamp(12px, 2.2vh, 22px); bottom: clamp(24px, 5vh, 48px); }
  .hero-home__tagline h1 { font-size: clamp(2rem, min(4vw, 6.2vh), 3.75rem); }
  .hero-home__tagline .lead { font-size: clamp(1rem, min(1.4vw, 2.3vh), 1.35rem); }
}

/* ---------- Client logos: full colour, white JPG backgrounds blended into the pill ---------- */
.client-logo { height: 84px; padding: 0 26px; background: #fff; }
.client-logo img { max-height: 56px; max-width: 170px; filter: none; opacity: 1; mix-blend-mode: multiply; border-radius: 6px; }
.client-logo:hover img { transform: scale(1.04); }
.client-logo img { transition: transform var(--t-ui); }

/* ---------- At-a-glance KPI cards ---------- */
.kpi-section { overflow: hidden; }
.kpi-section::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; background: radial-gradient(closest-side, rgba(0,127,217,.35), transparent); pointer-events: none; }
.kpi-section > .container { position: relative; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kpi { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: clamp(24px, 2.4vw, 36px); border-radius: 24px; background: var(--c-surface); border: 1px solid var(--c-line); transition: transform var(--t-ui), border-color var(--t-ui), box-shadow var(--t-ui); }
.kpi::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,127,217,.16), transparent); pointer-events: none; }
.kpi:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: 0 24px 48px -28px rgba(0,127,217,.6); }
.kpi__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); }
.kpi__icon svg { width: 24px; height: 24px; }
.kpi__num { font-family: var(--f-display); font-weight: 800; font-style: italic; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; font-size: clamp(2.3rem, 3.3vw, 3.4rem); padding-right: .08em; color: var(--c-ink); margin-top: 6px; }
.kpi__suf { color: var(--c-primary); }
.kpi__label { color: var(--c-ink-2); font-size: var(--fs-small); max-width: 26ch; }
.kpi--feature { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.kpi--feature::after { background: radial-gradient(closest-side, rgba(255,255,255,.25), transparent); width: 320px; height: 320px; }
.kpi--feature .kpi__icon { background: rgba(255,255,255,.18); color: #fff; }
.kpi--feature .kpi__num, .kpi--feature .kpi__suf { color: #fff; }
.kpi--feature .kpi__label { color: rgba(255,255,255,.85); }
.section--dark .kpi:not(.kpi--feature) { background: rgba(255,255,255,.04); border-color: var(--c-dark-line); }
.section--dark .kpi:not(.kpi--feature) .kpi__icon { background: rgba(0,127,217,.18); color: #3aa6f0; }
.section--dark .kpi:not(.kpi--feature) .kpi__num { color: #fff; }
.section--dark .kpi:not(.kpi--feature) .kpi__suf { color: #3aa6f0; }
.section--dark .kpi:not(.kpi--feature) .kpi__label { color: rgba(255,255,255,.68); }
.section--dark .kpi:hover { border-color: #3aa6f0; }
@media (max-width: 1023px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }

/* ---------- Desktop header navigation + dropdown panels (≥1200px) ---------- */
.hnav { display: none; }
@media (min-width: 1200px) {
  .hnav { display: block; margin-left: auto; margin-right: 8px; }
  .hnav ul { display: flex; align-items: center; gap: 2px; }
  .hnav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-pill); font-weight: 500; font-size: 1rem; color: var(--c-ink); white-space: nowrap; transition: background-color var(--t-ui), color var(--t-ui); }
  .hnav__link:hover, .hnav__item.is-open > .hnav__link { background: var(--c-tint); color: var(--c-primary); }
  .hnav__caret { width: 12px; height: 12px; transition: transform var(--t-ui); }
  .hnav__item.is-open .hnav__caret { transform: rotate(180deg); }
  .header__actions .burger { display: none; }

  .dd {
    position: absolute; top: calc(100% - 6px); left: 50%; width: min(1480px, calc(100vw - 48px));
    display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    background: #fff; border-radius: 22px; overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05);
    max-height: calc(100dvh - var(--header-h) - 24px);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px); pointer-events: none;
    transition: opacity .22s ease, transform .32s cubic-bezier(.2,.8,.2,1), visibility .22s;
    z-index: 70;
  }
  .hnav__item.is-open > .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
  .dd__side { background: var(--c-tint); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
  .dd__tab { text-align: left; padding: 18px 20px; border-radius: 16px; display: grid; gap: 4px; transition: background-color var(--t-ui), box-shadow var(--t-ui); }
  .dd__tab b { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; color: var(--c-ink); }
  .dd__tab span { font-size: .9375rem; color: var(--c-ink-2); line-height: 1.4; }
  .dd__tab:hover { background: rgba(255,255,255,.6); }
  .dd__tab.is-active { background: #fff; box-shadow: 0 10px 24px -18px rgba(0,0,0,.4); }
  .dd__tab.is-active b { color: var(--c-primary); }
  .dd__cta { margin-top: auto; justify-content: center; }
  .dd__main { padding: 28px 36px 32px; overflow-y: auto; }
  .dd__pane[hidden], .dd__pane:not(.is-active) { display: none; }
  .dd__pane.is-active { animation: ddIn .3s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes ddIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
  .dd__group { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-3); margin: 22px 0 8px 12px; }
  .dd__group:first-child { margin-top: 0; }
  .dd__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; }
  .dd__item { display: flex; gap: 16px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background-color var(--t-ui); }
  .dd__item:hover { background: var(--c-tint); }
  .dd__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--c-ink); border: 1px solid var(--c-line); transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui); }
  .dd__icon svg { width: 20px; height: 20px; }
  .dd__item:hover .dd__icon { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
  .dd__title { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--c-ink); line-height: 1.35; }
  .dd__title small { margin-left: 8px; font-size: .75rem; font-weight: 600; color: var(--c-primary); }
  .dd__item:hover .dd__title { color: var(--c-primary); }
  .dd__desc { display: block; font-size: .9rem; color: var(--c-ink-3); line-height: 1.45; margin-top: 2px; }
  .dd__feature { display: grid; gap: 4px; margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: var(--c-ink); color: #fff; transition: transform var(--t-ui); }
  .dd__feature:hover { transform: translateY(-2px); }
  .dd__feature span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3aa6f0; }
  .dd__feature b { font-family: var(--f-head); font-size: 1.2rem; }
  .dd__talk { display: grid; gap: 14px; max-width: 620px; }
  .dd__talk h3 { font-size: 1.75rem; }
  .dd__talk p { color: var(--c-ink-2); }
  /* On the transparent home header, keep the links readable */
  .hero-motion .header--overlay:not(.is-solid) .hnav__link { color: var(--c-ink); }
}

/* ---------- Mobile / tablet drill-down menu: grouped rows + sticky contact bar ---------- */
.menu__list > li { overflow: visible; }
.menu__item { padding-right: 6px; }
.menu__subhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.menu__subhead .menu__back { margin-bottom: 0; }
.menu__all { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--c-primary); background: var(--c-primary-soft); padding: 8px 14px; border-radius: 999px; }
.menu__all svg { width: 14px; height: 14px; }
.menu__title { font-family: var(--f-head); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; margin-bottom: 18px; }
.menu__sub .menu__label { margin-top: 20px; }
.menu__sub .menu__title + .menu__label { margin-top: 0; }
.menu__list--rows > li { border-bottom: 0; }
.menu__row { display: flex; align-items: center; gap: 14px; padding: 10px 8px; margin: 0 -8px; border-radius: 14px; transition: background-color var(--t-ui); }
.menu__row:hover, .menu__row:focus-visible { background: var(--c-primary-soft); }
.menu__row b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; color: var(--c-ink); }
.menu__row small { display: block; font-size: 0.8125rem; color: var(--c-ink-3); line-height: 1.4; margin-top: 2px; }
.menu__row .dd__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--c-primary); background: var(--c-surface); border: 1px solid var(--c-line); transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui); }
.menu__row .dd__icon svg { width: 20px; height: 20px; }
.menu__row:hover .dd__icon { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.menu__row small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu__foot { display: none; }
@media (max-width: 900px) {
  .menu__item { font-size: 1.75rem; padding: 16px 6px 16px 0; }
  .menu__body { padding-top: 20px; padding-bottom: 24px; }
  .menu__panels { min-height: 0; }
  .menu__panel { position: static; }
  .menu__foot {
    display: flex; align-items: center; gap: 10px; flex: none;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--c-line); background: var(--c-surface);
  }
  .menu__foot-cta { flex: 1; justify-content: center; }
  .menu__foot-cta svg { width: 16px; height: 16px; }
  .menu__foot-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); flex: none; }
  .menu__foot-btn svg { width: 20px; height: 20px; }
  .menu__foot-btn--wa { background: #25d366; color: #fff; }
}

/* ---------- Google Business Profile: rating badge + visit/map block ---------- */
.g-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); font-size: 0.875rem; box-shadow: 0 6px 20px rgba(0,0,0,.06); transition: transform var(--t-ui), box-shadow var(--t-ui); }
.g-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.1); }
.g-badge .g-logo { width: 20px; height: 20px; flex: none; }
.g-badge b { font-family: var(--f-head); font-size: 1.05rem; }
.g-badge > span:last-child { color: var(--c-ink-3); }
.g-badge--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.g-badge--dark > span:last-child { color: rgba(255,255,255,.7); }
.g-stars { position: relative; display: inline-flex; line-height: 0; }
.g-stars > span { display: inline-flex; gap: 1px; color: #d7dbe0; }
.g-stars .g-stars__on { position: absolute; inset: 0 auto 0 0; width: var(--pct); overflow: hidden; color: #fbbc05; }
.g-stars svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
.g-review-link { margin-left: 14px; font-size: 0.875rem; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit__map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--c-line); min-height: 420px; background: var(--c-page); box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } .visit__map, .visit__map iframe { min-height: 320px; } }
.footer__google { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.875rem; color: rgba(255,255,255,.75); }
.footer__google:hover { color: #fff; }
.footer__google-score { color: #fbbc05; font-weight: 700; }

/* =========================================================
   Industries hub (divisions-style)
   ========================================================= */
.arc-hero { position: relative; background: #05070c; color: #fff; padding: clamp(48px, 6vw, 88px) 0 0; overflow: hidden; }
.arc-hero__glow { position: absolute; left: 50%; top: -20%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,127,217,.45), rgba(0,127,217,0)); pointer-events: none; }
.arc-hero__text { position: relative; text-align: center; }
.arc-hero h1 { font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1.04; }
.arc-hero h1 span { display: block; }
.arc-hero__hl { color: var(--brand-blue, #007fd9); background: linear-gradient(90deg, #3fb0ff, #007fd9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.arc-hero .lead { max-width: 680px; margin: 22px auto 0; color: rgba(255,255,255,.72); }
.arc { --pw: 340px; --ph: 240px; position: relative; height: calc(var(--ph) * 1.75); margin-top: clamp(16px, 3vw, 40px); perspective: 1100px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.arc.is-grabbing { cursor: grabbing; }
.arc__spinner { position: absolute; left: 50%; top: 42%; width: 0; height: 0; transform-style: preserve-3d; }
.arc__panel { position: absolute; left: calc(var(--pw) / -2); top: calc(var(--ph) / -2); width: var(--pw); height: var(--ph); display: block; overflow: hidden; outline: 2px solid transparent; outline-offset: -2px; backface-visibility: hidden; transition: outline-color .3s ease; }
.arc__panel .art, .arc__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.arc__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,40,.15), rgba(0,10,25,.55)); transition: background-color .3s ease; }
.arc__panel.is-active { outline-color: #3fb0ff; }
.arc__panel.is-active::after { background: linear-gradient(180deg, rgba(0,127,217,.12), rgba(0,30,60,.5)); }
.arc__name { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px; text-align: center; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.05; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.arc::after { content: ""; position: absolute; left: -15%; right: -15%; bottom: -1px; height: 34%; background: var(--c-surface, #fff); border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 3; pointer-events: none; }
.arc-partners { position: relative; z-index: 4; background: var(--c-surface, #fff); color: var(--c-ink); padding: 4px 0 clamp(28px, 4vw, 48px); margin-top: -1px; }
.arc-partners__label { text-align: center; font-size: 0.8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-3); margin-bottom: 18px; min-height: 1.2em; }
.arc-partners__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.arc-partners__track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); width: max-content; animation: arc-marquee 32s linear infinite; }
.arc-partners__viewport:hover .arc-partners__track { animation-play-state: paused; }
@keyframes arc-marquee { to { transform: translateX(-50%); } }
.arc-partner { flex: none; display: grid; place-items: center; height: 56px; }
.arc-partner img { max-height: 48px; max-width: 150px; object-fit: contain; mix-blend-mode: multiply; }
.arc-partner--name { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; color: var(--c-ink-2, #333); white-space: nowrap; }
@media (max-width: 760px) { .arc { --pw: 210px; --ph: 150px; perspective: 700px; } .arc::after { height: 28%; } }
@media (prefers-reduced-motion: reduce) { .arc-partners__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Why + quote slider */
.why-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.why-split .stack p:not(.eyebrow) { color: var(--c-ink-2, #3a3f47); }
.qcard { position: relative; background: #05070c; color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 44px); min-height: 380px; display: flex; flex-direction: column; overflow: hidden; }
.qcard::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(0,127,217,.45), transparent); }
.qcard__nav { position: relative; z-index: 1; display: flex; gap: 8px; justify-content: flex-end; }
.qcard__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff; transition: background-color var(--t-ui); }
.qcard__btn:hover { background: var(--brand-blue, #007fd9); border-color: var(--brand-blue, #007fd9); }
.qcard__btn svg { width: 16px; height: 16px; }
.qcard__btn--prev svg { transform: rotate(180deg); }
.qcard__slides { position: relative; z-index: 1; flex: 1; display: grid; margin-top: 18px; }
.qcard__slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 22px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease, visibility .45s; }
.qcard__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.qcard__slide blockquote { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; font-weight: 500; }
.qcard__slide figcaption { margin-top: auto; display: grid; gap: 2px; }
.qcard__slide figcaption span { color: rgba(255,255,255,.6); font-size: .875rem; }
.qcard__tag { position: absolute; top: -48px; left: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #3fb0ff; }
@media (max-width: 900px) { .why-split__grid { grid-template-columns: 1fr; } }

/* Comparison panel */
.sys__panel { background: #05070c; color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.sys__panel::before { content: ""; position: absolute; left: 50%; top: -260px; width: 800px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,127,217,.35), transparent); pointer-events: none; }
.sys__panel > * { position: relative; }
.sys__panel h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: 10px; }
.sys__lead { max-width: 720px; margin: 16px auto 0; color: rgba(255,255,255,.7); }
.sys__legend { display: flex; justify-content: center; align-items: center; gap: 10px 8px; flex-wrap: wrap; margin: 28px 0 24px; font-size: .9rem; color: rgba(255,255,255,.8); }
.sys__legend .dot { margin-left: 14px; }
.sys__table { max-width: 980px; margin: 0 auto; text-align: left; }
.sys__row { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sys__row > span:not(:first-child) { display: grid; place-items: center; text-align: center; }
.sys__row--head { border-top: 0; padding-top: 0; color: #3fb0ff; font-weight: 600; }
.sys__row--head b { color: #fff; display: block; }
.sys__row--head small { color: rgba(255,255,255,.55); font-size: .78rem; }
.sys__us { background: rgba(0,127,217,.14); border-radius: 12px; padding: 10px 0; }
.sys__row--head .sys__us { background: rgba(0,127,217,.28); }
.dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none; vertical-align: middle; }
.dot--S { background: #3fb0ff; box-shadow: 0 0 14px rgba(63,176,255,.6); }
.dot--P { border: 2px solid #3fb0ff; background: linear-gradient(90deg, #3fb0ff 50%, transparent 50%); }
.dot--N { border: 2px solid rgba(255,255,255,.4); }
@media (max-width: 700px) { .sys__row { grid-template-columns: 1.4fr .8fr .8fr .9fr; font-size: .82rem; } .sys__row--head small { display: none; } .dot { width: 14px; height: 14px; } }

/* Before / during / after */
.phases { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 18px; margin-top: 40px; }
.phase { border: 1px solid var(--c-line); border-radius: 22px; padding: 28px; background: var(--c-surface); }
.phase--main { background: #05070c; color: #fff; border-color: #05070c; }
.phase__step { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-blue, #007fd9); margin-bottom: 10px; }
.phase--main .phase__step { color: #3fb0ff; }
.phase h3 { font-size: 1.35rem; margin-bottom: 18px; }
.phase__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.phase--main .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.phase__industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } }

/* Industry cards */
.div-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.div-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--c-line); border-radius: 24px; overflow: hidden; background: var(--c-surface); transition: transform var(--t-ui), box-shadow var(--t-ui), border-color var(--t-ui); }
.div-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.1); border-color: transparent; }
.div-card__media { position: relative; min-height: 260px; overflow: hidden; }
.div-card__media .art, .div-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.div-card:hover .div-card__media img { transform: scale(1.06); }
.div-card__body { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.div-card__count { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--brand-blue, #007fd9); background: var(--c-primary-soft); padding: 4px 10px; border-radius: 999px; }
.div-card__title { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.div-card__text { color: var(--c-ink-3); font-size: .95rem; }
.div-card__clients { font-size: .8125rem; color: var(--c-ink-2, #3a3f47); }
.div-card .link-arrow { margin-top: auto; }
@media (max-width: 1100px) { .div-cards { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .div-card { grid-template-columns: 1fr; } .div-card__media { min-height: 200px; } }

/* Why stronger (photo background) */
.stronger { position: relative; overflow: hidden; color: #fff; padding: clamp(72px, 9vw, 128px) 0; background: #0b1220; }
.stronger__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stronger::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,12,.92) 30%, rgba(5,7,12,.6)); }
.stronger__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.stronger h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.stronger .lead { color: rgba(255,255,255,.75); }
.stronger__card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 22px; padding: 30px; }
.stronger__card h3 { margin-bottom: 16px; }
@media (max-width: 900px) { .stronger__grid { grid-template-columns: 1fr; } }

/* Final CTA */
.final-cta__box { text-align: center; max-width: 860px; }
.final-cta__box h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.final-cta__box .lead { margin: 16px auto 28px; max-width: 620px; }

/* ---------- "What's new" bell dropdown ---------- */
.notif { position: relative; }
.notif__btn { position: relative; }
.notif__btn .badge[hidden] { display: none; }
.notif__panel { position: absolute; right: -8px; top: calc(100% + 12px); width: min(420px, calc(100vw - 24px)); background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.16); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 80; }
.notif.is-open .notif__panel { opacity: 1; visibility: visible; transform: none; }
.notif__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 10px; }
.notif__head b { font-family: var(--f-head); font-size: 1rem; }
.notif__read { font-size: .8125rem; font-weight: 600; color: var(--c-primary); }
.notif__read:hover { text-decoration: underline; }
.notif__list { display: grid; gap: 2px; max-height: min(70vh, 520px); overflow-y: auto; }
.notif__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 34px 12px 12px; border-radius: 14px; transition: background-color var(--t-ui); }
.notif__item:hover, .notif__item:focus-visible { background: var(--c-primary-soft); }
.notif__thumb { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #05070c; color: #fff; }
.notif__thumb img { width: 100%; height: 100%; object-fit: cover; }
.notif__thumb svg { width: 22px; height: 22px; }
.notif__text { display: grid; gap: 5px; min-width: 0; }
.notif__tag { justify-self: start; font-size: .72rem; font-weight: 600; line-height: 1; color: #fff; background: var(--c-primary); padding: 4px 9px; border-radius: 999px; }
.notif__title { font-family: var(--f-head); font-weight: 700; font-size: 1rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif__chev { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--c-ink); }
.notif__dot { position: absolute; right: 12px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); opacity: 0; transition: opacity var(--t-ui); }
.notif__item.is-unread .notif__dot { opacity: 1; }
.notif__item:not(.is-unread) .notif__title { font-weight: 600; color: var(--c-ink-2, #3a3f47); }
@media (max-width: 520px) { .notif__panel { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px); width: auto; } }
.phase__industries .chip { font-size: .8125rem; padding: 7px 14px; }
.phase__industries .chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.stronger::before { z-index: 1; }
.stronger__grid { z-index: 2; }
@media (max-width: 900px) { .stronger::before { background: rgba(5,7,12,.82); } }
.notif__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- Mobile menu v2: icon rows, popular chips, brand card, Google + social ---------- */
.menu { background: radial-gradient(120% 45% at 100% 0%, rgba(0,127,217,.09), transparent 70%), var(--c-surface); }
.menu__top { border-bottom-color: transparent; }
.menu__root .menu__list > li { border-bottom: 1px solid var(--c-line); }
.menu__root .menu__list > li:last-child { border-bottom: 0; }
.menu__root .menu__item { justify-content: flex-start; gap: 14px; font-size: inherit; padding: 12px 8px; margin: 0 -8px; width: calc(100% + 16px); border-radius: 16px; transition: background-color var(--t-ui); }
.menu__root .menu__item:hover, .menu__root .menu__item:focus-visible { background: var(--c-primary-soft); color: inherit; }
.menu__ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--c-primary); background: var(--c-primary-soft); transition: background var(--t-ui), color var(--t-ui), transform var(--t-ui); }
.menu__ico svg { width: 22px; height: 22px; }
.menu__root .menu__item:hover .menu__ico, .menu__root .menu__item:focus-visible .menu__ico { background: linear-gradient(135deg, var(--c-primary), #00b2ff); color: #fff; transform: rotate(-6deg); }
.menu__txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.menu__name { font-family: var(--f-head); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.1; color: var(--c-ink); }
.menu__txt small { font-family: var(--f-body, inherit); font-weight: 500; font-size: .8125rem; letter-spacing: 0; line-height: 1.3; color: var(--c-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu__root .menu__item .chev { width: 34px; height: 34px; background: transparent; border: 1px solid var(--c-line); }
.menu__root .menu__item:hover .chev { background: var(--c-primary); border-color: var(--c-primary); }

.menu__extra { display: grid; gap: 12px; margin-top: 22px; }
.menu__extra .menu__label { margin: 0; }
.menu__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px; }
.menu__chips::-webkit-scrollbar { display: none; }
.menu__chips a { flex: none; white-space: nowrap; font-size: .875rem; font-weight: 600; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui); }
.menu__chips a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.menu__promo { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 12px; margin-top: 8px; padding: 22px; border-radius: 22px; color: #fff; background: radial-gradient(110% 90% at 100% 0%, rgba(0,127,217,.75), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(0,178,255,.25), transparent 70%), #05070c; box-shadow: 0 18px 40px rgba(0,40,80,.22); }
.menu__promo::before, .menu__promo::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.menu__promo::before { width: 220px; height: 220px; right: -70px; top: -90px; }
.menu__promo::after { width: 140px; height: 140px; right: -30px; top: -50px; }
.menu__promo-tag { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.menu__promo-title { font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.02em; max-width: 15ch; }
.menu__promo-stats { display: flex; gap: 22px; padding-top: 2px; }
.menu__promo-stats span { display: grid; gap: 2px; font-size: .75rem; line-height: 1.3; color: rgba(255,255,255,.7); }
.menu__promo-stats b { font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; color: #fff; }
.menu__promo-go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 16px; border-radius: 999px; background: var(--c-primary); font-weight: 600; font-size: .9375rem; transition: transform var(--t-ui); }
.menu__promo-go svg { width: 14px; height: 14px; }
.menu__promo:hover .menu__promo-go { transform: translateX(4px); }
.menu__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 0 6px; }
.menu__google { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--c-ink-3); }
.menu__google-score { font-weight: 800; color: #9a6700; background: #fff4d6; padding: 4px 9px; border-radius: 999px; }
.menu__social { display: flex; gap: 8px; }
.menu__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--c-line); color: var(--c-ink); transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui); }
.menu__social a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.menu__social svg { width: 16px; height: 16px; }
@media (min-width: 901px) { .menu__extra { display: none; } }
@media (max-width: 900px) { .menu__root .menu__item { padding: 11px 8px; } }
.menu__row .dd__icon { background: var(--c-primary-soft); border-color: transparent; }

/* ---------- YouTube background loop (home Showreel card) ---------- */
.hero-home__card { container-type: size; background: #05070c; }
.yt-loop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.yt-loop img, .yt-loop iframe { position: absolute; top: 50%; left: 50%; border: 0; transform: translate(-50%, -50%) scale(1.18); }
.yt-loop img { width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); filter: blur(6px); }
.yt-loop iframe { width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); }

/* =========================================================
   Team page: orbit hero, leadership profiles, departments
   ========================================================= */
.team-hero { position: relative; overflow: hidden; background: var(--c-dark); color: #fff; padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); isolation: isolate; }
.team-hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 60% at 78% 50%, color-mix(in srgb, var(--brand-blue) 38%, transparent), transparent 70%),
    radial-gradient(30% 40% at 8% 100%, color-mix(in srgb, var(--brand-blue) 22%, transparent), transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 56px; }
.team-hero__glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--c-dark)); }
.team-hero__grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.team-hero__text { max-width: 600px; }
.team-hero .breadcrumb { color: rgba(255,255,255,.6); }
.team-hero .lead { color: rgba(255,255,255,.74); }
.team-hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.team-hero__chips li { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--c-dark-line); background: rgba(255,255,255,.04); font-size: var(--fs-small); color: rgba(255,255,255,.8); }
.team-hero__chips b { color: #fff; font-family: var(--f-head); margin-right: 4px; }

/* Orbit: faces circle the brand mark; inner ring = leadership, outer ring = the team */
.orbit { --spin: 70s; position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; justify-self: center; max-width: 560px; }
.orbit__track { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); pointer-events: none; }
.orbit__track--in { inset: 21%; }
.orbit__track--out { inset: 4%; border-style: solid; border-color: rgba(255,255,255,.1); }
.orbit__track--out::before, .orbit__track--in::before { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 14px 4px color-mix(in srgb, var(--brand-blue) 70%, transparent); }
.orbit__track--in::before { left: auto; right: -4px; }
.orbit__core { position: absolute; left: 50%; top: 50%; width: 22cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 0 0 22px rgba(255,255,255,.03), 0 0 80px 10px color-mix(in srgb, var(--brand-blue) 55%, transparent); }
.orbit__core img { width: 64%; height: auto; }
.orbit__core svg { width: 46%; height: 46%; color: var(--brand-blue); }
.orbit__core::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand-blue); opacity: 0; animation: orbit-pulse 3.2s ease-out infinite; }
.orbit__ring { position: absolute; inset: 0; animation: orbit-spin var(--spin) linear infinite; pointer-events: none; } /* rings overlap: only the faces take the mouse */
.orbit__item { pointer-events: auto; }
.orbit__ring:has(.orbit__item:hover), .orbit__ring:focus-within { z-index: 3; } /* hovered face and its label above the other ring */
.orbit__ring--out { animation-direction: reverse; animation-duration: calc(var(--spin) * 1.5); }
.orbit__item { --r: 29cqw; --s: 15cqw; position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); z-index: 1; }
.orbit__ring--out .orbit__item { --r: 46cqw; --s: 10.5cqw; }
.orbit__face { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,.85); background: var(--c-dark-2); box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
/* Face and name label turn back as the ring turns, so both stay upright */
.orbit__upright { position: absolute; inset: 0; animation: orbit-spin var(--spin) linear infinite reverse; }
.orbit__ring--out .orbit__upright { animation-direction: normal; animation-duration: calc(var(--spin) * 1.5); }
.orbit__ring--out .orbit__face { border-color: rgba(255,255,255,.55); }
.orbit__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.orbit__face--initials { display: grid; place-items: center; font: 700 1rem/1 var(--f-head); color: #fff; background: var(--brand-blue); }
.orbit__tip { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 6px); white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--c-ink); font-size: .8125rem; line-height: 1.3; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 5; }
.orbit__tip b { display: block; font-family: var(--f-head); font-size: .875rem; }
.orbit__item:hover, .orbit__item:focus-visible { z-index: 6; }
.orbit__item:hover .orbit__face, .orbit__item:focus-visible .orbit__face { border-color: var(--brand-blue); scale: 1.18; }
.orbit__item:hover .orbit__tip, .orbit__item:focus-visible .orbit__tip { opacity: 1; transform: translate(-50%, 0); }
.orbit:hover .orbit__ring, .orbit:hover .orbit__upright, .orbit:focus-within .orbit__ring, .orbit:focus-within .orbit__upright { animation-play-state: paused; }
@keyframes orbit-spin { to { rotate: 360deg; } }
@keyframes orbit-pulse { 0% { opacity: .7; scale: 1; } 100% { opacity: 0; scale: 1.5; } }
@media (prefers-reduced-motion: reduce) { .orbit__ring, .orbit__upright, .orbit__core::after { animation: none; } }

/* Brand tint on photos: blue duotone that turns to full colour on hover */
.lead-card__photo, .tm-card__photo { position: relative; display: block; overflow: hidden; background: var(--c-dark-2); }
.lead-card__photo img, .tm-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.2) brightness(.98); transition: filter .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.lead-card__photo::after, .tm-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, var(--brand-blue) 30%, var(--c-primary-deep)); mix-blend-mode: multiply; opacity: .85; transition: opacity .6s ease; pointer-events: none; }
.lead-card:hover .lead-card__photo img, .tm-card:hover .tm-card__photo img, .tm-card:focus-within .tm-card__photo img { filter: none; transform: scale(1.05); }
.lead-card:hover .lead-card__photo::after, .tm-card:hover .tm-card__photo::after, .tm-card:focus-within .tm-card__photo::after { opacity: 0; }
.lead-card__photo--initials, .tm-card__photo--initials { display: grid; place-items: center; font: 800 2.5rem/1 var(--f-head); color: #fff; background: var(--grad); }

/* Leadership profiles */
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lead-card { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; transition: box-shadow .4s, transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s; }
.lead-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand-blue) 40%, white); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand-blue) 55%, transparent); }
.lead-card__photo { aspect-ratio: 4 / 5; height: 100%; }
.lead-card__body { position: relative; display: grid; align-content: start; gap: 10px; padding: clamp(22px, 2.4vw, 32px); }
.lead-card__num { position: absolute; right: 18px; top: 6px; font: 800 clamp(3rem, 5vw, 4.5rem)/1 var(--f-display); font-style: italic; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--brand-blue) 35%, white); pointer-events: none; }
.lead-card__role { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-blue); padding-right: 64px; }
.lead-card h3 { padding-right: 40px; }
.lead-card__list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; font-size: var(--fs-small); color: var(--c-ink-2); }
.lead-card__list li { position: relative; padding-left: 26px; }
.lead-card__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--c-primary-soft); }
.lead-card__list li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 4px); width: 6px; height: 4px; border: solid var(--brand-blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.lead-card > p { color: var(--c-ink-2); }

/* Departments */
.dept { display: grid; gap: 24px; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--c-line); }
.dept:first-of-type { border-top: 0; padding-top: 0; }
.dept__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: end; }
.dept__head .dept__count { grid-row: span 2; }
.dept__count { font: 800 clamp(3.5rem, 6vw, 5.5rem)/0.9 var(--f-display); font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dept__head p { color: var(--c-ink-3); font-size: var(--fs-small); }
.tm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.tm-card { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; perspective: 900px; }
.tm-card__in { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--c-dark); color: #fff; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.tm-card.is-tilting .tm-card__in { transition: transform .08s linear, box-shadow .4s; }
.tm-card:hover .tm-card__in { box-shadow: 0 30px 50px -24px color-mix(in srgb, var(--brand-blue) 60%, transparent); }
.tm-card__photo { aspect-ratio: 4 / 5; }
.tm-card__info { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(8, 12, 20, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 2px; }
.tm-card__info h4 { font-size: 1.0625rem; color: #fff; }
.tm-card__info p { font-size: .8125rem; color: rgba(255,255,255,.75); }
.tm-card__info .member__links { margin-top: 8px; }
.tm-card__info .member__links a { width: 32px; height: 32px; border-color: rgba(255,255,255,.3); color: #fff; }
.tm-card__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.28), transparent 45%); opacity: 0; transition: opacity .4s; mix-blend-mode: overlay; }
.tm-card:hover .tm-card__glare { opacity: 1; }

/* Numbers band */
.team-stats { background: linear-gradient(110deg, var(--c-primary-deep), var(--brand-blue) 60%, color-mix(in srgb, var(--brand-blue) 70%, white)); color: #fff; padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.team-stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 0) 0 0 / 22px 22px; mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.team-stats__row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team-stats__row > div { display: grid; gap: 6px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.3); }
.team-stats strong { font: 800 clamp(2.5rem, 4.5vw, 4rem)/1 var(--f-display); font-style: italic; }
.team-stats span:not([data-count-to]) { color: rgba(255,255,255,.8); font-size: var(--fs-small); }

/* Group photo */
.team-photo-band { padding-top: clamp(48px, 6vw, 80px); }
.team-photo { position: relative; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 21 / 9; background: var(--c-dark); }
.team-photo img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 55%); pointer-events: none; }
.team-photo figcaption { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); z-index: 1; display: grid; gap: 10px; justify-items: start; color: #fff; }
.team-photo figcaption b { font: 800 clamp(1.6rem, 3.6vw, 3rem)/1.05 var(--f-display); font-style: italic; }

@media (max-width: 1023px) {
  .team-hero__grid { grid-template-columns: 1fr; }
  .orbit { max-width: 460px; }
  .lead-grid { grid-template-columns: 1fr; }
  .tm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 640px) {
  .lead-card { grid-template-columns: 1fr; }
  .lead-card__photo { aspect-ratio: 1; }
  .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tm-card__info { left: 6px; right: 6px; bottom: 6px; padding: 10px; }
  .tm-card__info h4 { font-size: .9375rem; }
  .tm-card__info p { font-size: .75rem; }
  .team-photo { aspect-ratio: 4 / 3; }
  .orbit__tip { font-size: .75rem; }
}
