/* =========================================================
   Refulgent Technologies - site stylesheet
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License 1.1 - see assets/fonts/OFL-*.txt) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #1565d8;
  --brand-600: #0f52b5;
  --brand-50: #eef4fe;
  --brand-100: #dbe7fd;
  --violet: #6d4cff;
  --grad: linear-gradient(135deg, #1e88e5 0%, #5b5cf6 100%);
  --navy: #0a1a3a;
  --navy-2: #102a5c;
  --ink: #0f172a;
  --body: #3b4a63;
  --muted: #56657a;
  --line: #e2e8f0;
  --surface: #f6f8fc;
  --white: #ffffff;
  --success: #0f9d58;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px -12px rgba(15, 35, 80, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 35, 80, .30);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: 1.125rem; color: var(--muted); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 101, 216, .7); }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--brand); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c7d2e5; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #c7d2e5; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar__contact, .topbar__meta { display: flex; align-items: center; gap: 24px; }
.topbar__meta .regions { letter-spacing: .12em; font-weight: 600; font-size: .75rem; color: #8fa3c7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(15, 35, 80, .25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
/* Logo lockup: swoosh image + live text (sharp at any size). Offsets mirror the original artwork: text starts at x=142 of the 163px mark. */
.brand { --h: 58px; display: inline-flex; align-items: flex-start; height: var(--h); color: inherit; flex: none; }
.brand__mark { height: var(--h); width: auto; }
.brand__text { display: flex; flex-direction: column; margin-left: calc(var(--h) * -0.155); padding-top: calc(var(--h) * .27); line-height: 1; white-space: nowrap; }
.brand__name { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 700; font-size: calc(var(--h) * .40); letter-spacing: .03em; color: #0b84e6; line-height: .95; }
.brand__sub { font-family: var(--font-body); font-weight: 500; font-size: max(11px, calc(var(--h) * .19)); letter-spacing: .05em; color: #5b6b82; margin-top: calc(var(--h) * .05); }
.brand--light { --h: 74px; margin-bottom: 22px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: #aebbd3; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active, .nav__item--open > .nav__link { color: var(--brand); background: var(--brand-50); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item--open > .nav__link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 640px; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item--open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: 12px; color: var(--body); }
.mega a:hover { background: var(--surface); }
.mega img { width: 40px; height: 40px; flex: none; }
.mega strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.mega span { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.mega__promo { grid-row: span 3; background: var(--navy) url("../img/hero-meeting.webp") center/cover; border-radius: 12px; color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.mega__promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 58, .2), rgba(10, 26, 58, .92)); }
.mega__promo > * { position: relative; }
.mega__promo strong { color: #fff; font-size: 1.1rem; }
.mega__promo span { color: #c7d2e5; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.everify { height: 30px; width: auto; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy);
  padding: 120px 0 150px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  /* Tint only behind the text column so the people on the photo stay clear */
  background: linear-gradient(90deg, rgba(10, 26, 58, .9) 0%, rgba(10, 26, 58, .78) 32%, rgba(10, 26, 58, .25) 58%, rgba(10, 26, 58, 0) 75%);
}
.hero .container { position: relative; }
.hero__content { max-width: 720px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem; color: #dbe5f7; margin-bottom: 28px;
}
.hero__badge b { background: var(--grad); color: #fff; padding: 3px 12px; border-radius: 999px; font-family: var(--font-head); font-size: .75rem; letter-spacing: .06em; }
.hero h1 { color: #fff; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(10, 26, 58, .45); }
.hero h1 .rotator { display: inline-block; background: linear-gradient(90deg, #7cc0ff, #a99bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.2rem; color: #c7d2e5; max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__pillars { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__pillars li { list-style: none; display: flex; align-items: center; gap: 10px; color: #dbe5f7; font-size: .95rem; }
.hero__pillars svg { width: 18px; height: 18px; color: #7cc0ff; }

/* Stats bar overlapping hero */
.stats-wrap { position: relative; z-index: 2; margin-top: -72px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat__num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 8px; color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* ---------- Logo marquee ---------- */
.logos { padding: 64px 0 24px; }
.logos:last-child { padding-bottom: 80px; border-top: 1px solid var(--line); }
.logos__title { text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 28px; }
.marquee { 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); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 54px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.media-frame { position: relative; }
.media-frame video, .media-frame > img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.media-frame::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; background: var(--grad); border-radius: var(--radius-lg); opacity: .12; z-index: -1; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 0; background: linear-gradient(0deg, rgba(10, 26, 58, .35), rgba(10, 26, 58, .1)); border-radius: var(--radius-lg); cursor: pointer;
}
.video-play span { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255, 255, 255, .25); transition: transform .2s; }
.video-play:hover span { transform: scale(1.08); }
.video-play svg { width: 28px; height: 28px; color: var(--brand); margin-left: 4px; }
.media-badge {
  position: absolute; right: -20px; bottom: -28px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; gap: 14px; align-items: center; max-width: 300px;
}
.media-badge__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.media-badge__icon svg { width: 22px; height: 22px; }
.media-badge strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.3; }
.media-badge small { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }

.tabs__list { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin: 8px 0 24px; flex-wrap: wrap; }
.tabs__tab { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: #475569; cursor: pointer; transition: background .2s, color .2s; }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp .35s ease; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.value svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.value h3 { margin: 0 0 2px; font-size: .95rem; }
.value p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }

/* ---------- Service cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px 32px; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 72px; height: 72px; border-radius: 18px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 24px; }
.service-card__icon img { width: 44px; height: 44px; }
.service-card h3 { font-size: 1.35rem; }
.service-card p { color: var(--muted); flex: 1; }
.service-card ul { list-style: none; margin: 4px 0 24px; display: grid; gap: 8px; }
.service-card li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink); font-weight: 500; }
.service-card li svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.service-card .link-arrow { margin-top: auto; }

/* ---------- Expertise ---------- */
.expertise { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--ink); transition: border-color .2s, color .2s, transform .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.chip svg { width: 16px; height: 16px; color: var(--brand); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 24px; }
.panel h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel h3 i { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; }
.panel h3 i svg { width: 18px; height: 18px; }
.check-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-grid li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 500; font-size: .95rem; }
.check-grid svg { width: 18px; height: 18px; color: var(--success); flex: none; }

/* ---------- Why choose (dark band) ---------- */
.band-dark { position: relative; background: var(--navy); color: #c7d2e5; overflow: hidden; }
.band-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 10% 0%, rgba(30, 136, 229, .25), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(109, 76, 255, .22), transparent 60%); }
.band-dark .container { position: relative; }
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .lead { color: #aebbd3; }
.band-dark .eyebrow { color: #7cc0ff; }
.why { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px; transition: background .25s, border-color .25s, transform .25s; }
.why-item:hover { background: rgba(255, 255, 255, .08); border-color: rgba(124, 192, 255, .4); transform: translateY(-3px); }
.why-item__icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(124, 192, 255, .12); display: grid; place-items: center; color: #7cc0ff; margin-bottom: 14px; }
.why-item__icon svg { width: 20px; height: 20px; }
.why-item h3 { margin: 0; font-size: 1rem; }
.why-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-image__card { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(10, 26, 58, .8); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 20px; display: flex; gap: 24px; }
.why-image__card div { flex: 1; }
.why-image__card strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: #fff; line-height: 1.1; }
.why-image__card span { font-size: .85rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px;
  background: var(--grad); color: #e6eeff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta__phone { display: flex; align-items: center; gap: 14px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.cta__phone:hover { color: #fff; }
.cta__phone i { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-style: normal; }
.cta__phone svg { width: 20px; height: 20px; }
.cta__phone small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: #dbe5ff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebbd3; padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }

.footer-brand p { max-width: 320px; }
.site-footer .footer-title { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .site-footer address a { color: #aebbd3; }
.footer-links a:hover, .site-footer address a:hover { color: #fff; }
.site-footer address { font-style: normal; display: grid; gap: 14px; }
.site-footer address div { display: flex; gap: 12px; }
.site-footer address svg { width: 18px; height: 18px; color: #7cc0ff; flex: none; margin-top: 4px; }
.socials { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.socials a { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.socials .everify-badge { height: 44px; display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 0 12px; }
.socials .everify-badge img { height: 24px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #aebbd3; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #c7d2e5; padding: 96px 0 88px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 90% 10%, rgba(91, 92, 246, .35), transparent 60%), linear-gradient(100deg, rgba(10, 26, 58, .96) 0%, rgba(10, 26, 58, .85) 55%, rgba(16, 42, 92, .6) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 800px; }
.page-hero p { font-size: 1.15rem; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .88rem; margin-bottom: 20px; color: #8fa3c7; }
.breadcrumb a { color: #c7d2e5; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5a6f96; }

/* ---------- Feature rows (service detail) ---------- */
.feature-list { display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .3s, border-color .3s; }
.feature:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature__icon { width: 96px; height: 96px; border-radius: 22px; background: var(--brand-50); display: grid; place-items: center; }
.feature__icon img { width: 56px; height: 56px; }
.feature h3 { font-size: 1.4rem; margin-bottom: 10px; }
.feature p { color: var(--body); }
.feature p:last-child { margin-bottom: 0; }
.subnav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.subnav a { padding: 10px 16px; border-left: 2px solid var(--line); color: var(--muted); font-weight: 500; font-size: .95rem; }
.subnav a:hover, .subnav a.is-active { color: var(--brand); border-color: var(--brand); background: var(--brand-50); border-radius: 0 8px 8px 0; }
.with-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21, 101, 216, .12); }
.field input[type="file"] { padding: 10px; background: var(--surface); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.form-status--ok { background: #e7f6ee; color: #0b6b3c; }
.form-status--err { background: #fdecec; color: #a12121; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-cta .btn { display: none; }
  .about, .expertise, .why { grid-template-columns: 1fr; gap: 48px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-image { aspect-ratio: 16 / 9; }
  .with-sidebar { grid-template-columns: 1fr; }
  .subnav { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter makes the header the containing block for the fixed menu panel, so drop it on small screens */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px 20px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .mega { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; }
  .nav__item--open .mega { display: grid; transform: none; }
  .mega__promo { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta { grid-template-columns: 1fr; padding: 44px 32px; }
  .topbar__contact a:nth-child(2) { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .topbar__meta .regions { display: none; }
  .hero { padding: 80px 0 130px; }
  .cards-3, .steps, .values, .why-grid, .check-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .media-badge { position: static; margin-top: 20px; max-width: none; }
  .feature { grid-template-columns: 1fr; padding: 28px; }
  .stat { padding: 22px 18px; }
  .stat__num { font-size: 1.9rem; }
  .brand { --h: 52px; }
  .everify { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Inner-page components ---------- */
.intro-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.intro-split .lead { margin-bottom: 0; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.mini-stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.mini-stat span { font-size: .88rem; color: var(--muted); }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related a { display: flex; align-items: center; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); transition: box-shadow .25s, transform .25s, border-color .25s; }
.related a:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-100); color: var(--ink); }
.related img { width: 56px; height: 56px; flex: none; }
.related strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.related span { color: var(--muted); font-size: .92rem; }
.related svg { width: 20px; height: 20px; margin-left: auto; color: var(--brand); flex: none; }

/* Careers */
.perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 24px 0; }
.perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.5; }
.perks svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.photo-stack { position: relative; }
.photo-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-stack .media-badge { left: -24px; right: auto; bottom: 32px; }
.jobs-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.jobs-filter button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font: 600 .9rem var(--font-head); color: var(--muted); cursor: pointer; }
.jobs-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.jobs { display: grid; gap: 14px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; }
.job[open] { box-shadow: var(--shadow); border-color: var(--brand-100); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 22px 26px; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { margin: 0; font-size: 1.1rem; }
.job__meta { display: flex; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: .8rem; font-weight: 600; }
.tag svg { width: 13px; height: 13px; }
.tag--muted { background: var(--surface); color: var(--muted); }
.job__toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .25s, background .25s; }
.job__toggle svg { width: 16px; height: 16px; }
.job[open] .job__toggle { transform: rotate(180deg); background: var(--brand-50); }
.job__body { padding: 0 26px 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.job__body p { color: var(--body); }
.apply-card { background: var(--navy); color: #c7d2e5; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; position: relative; overflow: hidden; }
.apply-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 0% 0%, rgba(30, 136, 229, .3), transparent 60%); }
.apply-card > * { position: relative; }
.apply-card h2 { color: #fff; }
.apply-card .field label { color: #e6eeff; }
.apply-card .field input, .apply-card .field select, .apply-card .field textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.apply-card .field select option { color: var(--ink); }
.apply-card .field .hint { color: #8fa3c7; }
.apply-card a { color: #7cc0ff; }
.dropzone { position: relative; border: 2px dashed rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 26px; text-align: center; transition: border-color .2s, background .2s; }
.dropzone.is-over, .dropzone:focus-within { border-color: #7cc0ff; background: rgba(124, 192, 255, .06); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 30px; height: 30px; color: #7cc0ff; margin: 0 auto 8px; display: block; }
.dropzone strong { color: #fff; font-family: var(--font-head); }
.dropzone small { display: block; color: #8fa3c7; margin-top: 4px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.office { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.office + .office { margin-top: 18px; }
.office__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.office__icon svg { width: 24px; height: 24px; }
.office h3 { font-size: 1.1rem; margin-bottom: 6px; }
.office p { margin: 0 0 6px; color: var(--body); }
.office a { font-weight: 500; }
.office .link-arrow { margin-top: 8px; font-size: .88rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.8rem; }
.map-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 21 / 8; background: var(--surface); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Thank you / 404 */
.simple-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.simple-page .big { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin-bottom: 12px; }
.simple-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 1080px) {
  .intro-split, .contact-grid, .apply-card { grid-template-columns: 1fr; gap: 40px; }
  .map-frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  .related, .perks, .mini-stats { grid-template-columns: 1fr; }
  .job summary { grid-template-columns: 1fr auto; }
  .job__meta { grid-column: 1 / -1; grid-row: 2; }
  .apply-card { padding: 32px 22px; border-radius: 22px; }
  .form-card { padding: 26px 20px; }
  .photo-stack .media-badge { position: static; margin-top: 16px; }
}

/* Client logo grid (home) */
.client-grid { --cols: 8; --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.client-tile { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); display: grid; place-items: center; height: 96px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s, border-color .25s; }
.client-tile img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.client-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-100); }
.client-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 1080px) { .client-grid { --cols: 4; } }
@media (max-width: 680px) { .client-grid { --cols: 2; --gap: 12px; } .client-tile { height: 84px; } }

/* Home hero: centred text on navy, full team photo below with no tint */
.hero--stacked { padding: 96px 0 220px; text-align: center; background: var(--navy); }
.hero--stacked::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 15% 0%, rgba(30, 136, 229, .28), transparent 60%), radial-gradient(800px 420px at 90% 30%, rgba(109, 76, 255, .25), transparent 60%); }
.hero--stacked .hero__content { max-width: 860px; margin: 0 auto; }
.hero--stacked .hero__lead { margin-left: auto; margin-right: auto; }
.hero--stacked .hero__actions, .hero--stacked .hero__pillars { justify-content: center; }
.hero--stacked .hero__pillars { margin-top: 40px; }
.hero-photo { position: relative; z-index: 1; margin-top: -170px; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1920 / 900; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hero-photo + .stats-wrap { margin-top: 40px; }
@media (max-width: 680px) {
  .hero--stacked { padding: 64px 0 120px; }
  .hero-photo { margin-top: -90px; }
  .hero-photo img { border-radius: 18px; border-width: 4px; }
}

/* ---------- Responsive hardening ---------- */
.intro-split--photo { grid-template-columns: 1fr 1.3fr; align-items: start; }
/* Grid children default to min-width:auto, which lets long words/emails push columns past the viewport */
.about > *, .expertise > *, .why > *, .intro-split > *, .contact-grid > *, .with-sidebar > *, .apply-card > *, .cta > * { min-width: 0; }
.office p, .office a, .site-footer address, .footer-brand p, .topbar a { overflow-wrap: anywhere; }
.map-tabs { flex-wrap: wrap; }
@media (max-width: 1080px) { .intro-split--photo { grid-template-columns: 1fr; } .photo-stack { max-width: 520px; } }
@media (max-width: 680px) {
  .btn { white-space: normal; text-align: center; }
  .map-tabs .btn { flex: 1 1 100%; }
  .hero__actions .btn { width: 100%; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .job summary { padding: 18px; gap: 12px; }
  .job__body { padding: 16px 18px 20px; }
}

/* Links inside running text are underlined, not identified by colour alone (WCAG 1.4.1) */
p a:not(.btn):not(.link-arrow), .check a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }


/* ---------- Privacy policy / long-form text ---------- */
.prose { max-width: 760px; color: var(--body); }
.prose h2 { font-size: 1.45rem; margin: 2.2em 0 .6em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .4em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .94rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); color: var(--ink); background: var(--surface); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.policy-meta { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 28px; }
.table-wrap { overflow-x: auto; }

/* Consent checkbox + form note */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .92rem; line-height: 1.55; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); cursor: pointer; }
.apply-card .check { color: #c7d2e5; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }

/* Keep footer links on the left, clear of the fixed back-to-top button */
.footer-bottom .container { justify-content: flex-start; column-gap: 28px; }
.footer-bottom nav a { text-decoration: underline; text-underline-offset: 3px; }


/* Inline form validation */
.field-error { color: #b42318; font-size: .86rem; line-height: 1.45; margin: 6px 0 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d92d20; }
.field.is-invalid input:focus, .field.is-invalid select:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(217, 45, 32, .14); }
.field.is-invalid .dropzone { border-color: #ff8a80; }
.check.is-invalid input { outline: 2px solid #d92d20; outline-offset: 2px; }
.check + .field-error { margin-top: -8px; }
.apply-card .field-error { color: #ffb4ab; }
.apply-card .field.is-invalid input, .apply-card .field.is-invalid select, .apply-card .field.is-invalid textarea { border-color: #ff8a80; }

/* International phone field (intl-tel-input) */
.iti { width: 100%; display: block; }
.iti__country-container { z-index: 2; }

.iti__search-input { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important; color: var(--ink) !important; }
.apply-card .iti__selected-dial-code, .apply-card .iti__arrow { color: #e6eeff; border-top-color: #e6eeff; }

.field.is-invalid .iti__search-input { border-color: var(--line) !important; }
.iti__country-list, .iti__country { color: var(--ink); }
.iti__country .iti__dial-code { color: var(--muted); }
.iti .iti__search-input { padding-left: 40px !important; }
.apply-card .iti__country-list, .apply-card .iti__country { color: var(--ink); }

/* Country dropdown panel (intl-tel-input v29 uses .iti__country-selector) */
.iti__country-selector { z-index: 50; min-width: 340px; background: #fff; color: var(--ink); border: 1px solid var(--line) !important; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; overflow: clip; margin-top: 6px; }
.iti__country-list { scrollbar-width: thin; scrollbar-color: #c3cfe0 transparent; }
.iti__country { white-space: nowrap; padding: 10px 14px !important; line-height: 1.3; }
.iti__country-name { overflow: hidden; text-overflow: ellipsis; }
.iti__country.iti__highlight { background: var(--brand-50) !important; }
.iti__search-input-wrapper { background: #fff; }
@media (max-width: 680px) { .iti__country-selector { min-width: 0; margin-top: 0; } }
/* Careers list rendered from jobs.json */
.jobs-empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); margin: 0; }
.job__body ul { margin: 0 0 1em; padding-left: 1.2em; }
.job__body li { margin-bottom: .35em; }
.job__posted { font-size: .85rem; color: var(--muted); }
.job__meta { flex-wrap: wrap; justify-content: flex-end; }
