/* ==========================================================================
   AMCBlast Solutions Limited — site styles
   ========================================================================== */

:root {
  --navy-950: #040C1F;
  --navy-900: #071530;
  --navy-800: #0A1C40;
  --navy-700: #112A5C;
  --blue-700: #0A47D1;
  --blue-600: #0B5CFF;
  --blue-500: #1E74FF;
  --sky-400: #2EA8FF;
  --sky-100: #E7F1FF;
  --ink: #0B1630;
  --text: #3A4762;
  --muted: #66738D;
  --line: #E2E8F2;
  --surface: #F4F7FC;
  --white: #FFFFFF;
  --green: #00843D;
  --red: #D30731;

  --font-head: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 48, .06), 0 2px 8px rgba(11, 22, 48, .04);
  --shadow: 0 10px 30px -12px rgba(11, 34, 90, .22);
  --shadow-lg: 0 24px 60px -20px rgba(7, 21, 48, .45);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 104px);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em { font-style: normal; color: var(--sky-400); }
h2 em, h1 em { color: var(--blue-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font-body);
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 92, 255, .7); }
.btn--primary:hover { color: #fff; background: var(--blue-700); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn--outline { color: var(--blue-600); border-color: var(--blue-600); background: transparent; }
.btn--outline:hover { color: #fff; background: var(--blue-600); }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Eyebrow & section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-600); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sky-400); }
.eyebrow--plain::before { display: none; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .7); }
.section--surface { background: var(--surface); }
.section--dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(30, 116, 255, .22), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #C5D1E8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head__copy { max-width: 720px; }
.section-head h2, .h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.section-head p { font-size: 17px; margin: 0; color: var(--muted); }
.section--dark .section-head p { color: #A9B7D2; }
.center { text-align: center; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__copy { margin-inline: auto; }
.lead { font-size: 18px; color: var(--text); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #C8D3EA; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar ul { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; padding-inline: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.topbar li:first-child { padding-left: 0; border-left: 0; }
.topbar a { color: #C8D3EA; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--sky-400); }
.topbar__social .icon { color: #C8D3EA; }
@media (max-width: 900px) { .topbar__links { display: none !important; } }
@media (max-width: 560px) { .topbar li:first-child { display: none; } .topbar li:nth-child(2) { padding-left: 0; border-left: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(7, 21, 48, .35); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 27px/1 var(--font-head); letter-spacing: -.02em; }
.brand__amc { color: var(--navy-800); }
.brand__blast { background: linear-gradient(135deg, var(--blue-600), var(--sky-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font: 500 9.5px/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: var(--navy-800); margin-top: 6px; }
.brand--light .brand__amc, .brand--light .brand__sub { color: #fff; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__item { position: relative; display: flex; align-items: center; }
.main-nav__link { display: inline-block; white-space: nowrap; padding: 10px 11px; font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; }
.main-nav__link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-600); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav__link:hover { color: var(--blue-600); }
.main-nav__link.is-active { color: var(--blue-600); }
.main-nav__link.is-active::after, .main-nav__link:hover::after { transform: scaleX(1); }
.main-nav__toggle { border: 0; background: none; padding: 4px; margin-left: -8px; color: var(--ink); cursor: pointer; display: inline-flex; }
.main-nav__toggle .icon { width: 15px; height: 15px; transition: transform .2s; }
.main-nav__cta-mobile { display: none; }

.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .main-nav__toggle .icon, .has-menu.is-open .main-nav__toggle .icon { transform: rotate(180deg); }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega__grid--compact { grid-template-columns: repeat(3, 1fr); }
.mega__link { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.mega__link:hover { background: var(--surface); color: var(--ink); }
.mega__link strong { display: block; font: 600 14px/1.3 var(--font-head); }
.mega__link small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.mega__icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.mega__grid--compact .mega__link { align-items: center; }
.mega__all { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-weight: 600; font-size: 14px; padding: 12px 12px 2px; border-top: 1px solid var(--line); margin-top: 10px; }
.mega__all .icon { width: 16px; height: 16px; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--surface); }
.icon-btn .icon { width: 22px; height: 22px; }
.nav-burger { display: none; }

@media (max-width: 1320px) {
  .main-nav__link { padding-inline: 8px; font-size: 14px; }
  .main-nav__link::after { left: 8px; right: 8px; }
}
@media (max-width: 1000px) {
  :root { --header-h: 72px; }
  .nav-burger { display: inline-grid; }
  .site-header__cta { display: none; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto;
    padding: 12px var(--gutter) 32px; transform: translateX(100%); transition: transform .3s ease, visibility .3s; visibility: hidden;
    border-top: 1px solid var(--line); z-index: 99;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .main-nav__link { flex: 1; padding: 16px 0; font-size: 17px; }
  .main-nav__link::after { display: none; }
  .main-nav__toggle { margin: 0; width: 44px; height: 44px; justify-content: center; align-items: center; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
  .has-menu:hover .mega { transform: none; }
  .has-menu.is-open .mega { display: block; transform: none; }
  .mega__grid, .mega__grid--compact { grid-template-columns: 1fr; }
  .mega__link small { display: none; }
  .main-nav__cta-mobile { display: flex; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 22px; }
  .brand__mark { width: 38px; }
  .brand__sub { font-size: 8px; letter-spacing: .26em; }
}

/* ---------- Search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 300; background: rgba(4, 12, 31, .6); backdrop-filter: blur(4px); display: flex; justify-content: center; padding: 10vh 16px 16px; }
.search[hidden] { display: none; }
.search__panel { width: min(640px, 100%); max-height: 75vh; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.search__bar { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.search__bar > .icon { color: var(--muted); }
.search__bar input { flex: 1; border: 0; font: 500 17px var(--font-body); padding: 12px 0; outline: none; color: var(--ink); }
.search__results { overflow-y: auto; padding: 8px; }
.search__results a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.search__results a:hover, .search__results a:focus-visible { background: var(--surface); }
.search__results span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); background: var(--sky-100); padding: 3px 8px; border-radius: 999px; min-width: 72px; text-align: center; }
.search__empty { padding: 20px; margin: 0; color: var(--muted); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 12, 31, .96) 0%, rgba(6, 18, 43, .86) 38%, rgba(7, 21, 48, .35) 75%, rgba(7, 21, 48, .2) 100%), linear-gradient(0deg, rgba(4, 12, 31, .55), transparent 40%); }
.hero__inner { min-height: clamp(560px, 72vh, 700px); display: flex; flex-direction: column; justify-content: center; padding-block: 72px 96px; }
.hero__copy { max-width: 640px; }
.hero__kicker { font: 600 12.5px/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: #C9D6F0; margin-bottom: 22px; }
.hero__kicker span { color: var(--sky-400); padding-inline: 10px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; color: #fff; margin-bottom: 22px; font-weight: 600; }
.hero h1 em { color: var(--sky-400); }
.hero__text { font-size: 18px; color: #D3DDF0; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__slides { position: absolute; right: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 18px; font: 500 14px var(--font-head); color: #AFC0E0; }
.hero__slides .is-current { color: #fff; border-bottom: 2px solid var(--sky-400); padding-bottom: 4px; }
.hero__badge {
  position: absolute; right: var(--gutter); top: 64px; padding: 18px 22px; border-radius: var(--radius);
  background: rgba(7, 21, 48, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); max-width: 260px;
}
.hero__badge strong { display: block; font: 600 30px/1 var(--font-head); color: #fff; }
.hero__badge span { font-size: 13px; color: #C9D6F0; }
.hero__stack { display: grid; gap: 12px; }
@media (max-width: 960px) { .hero__badge { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 12, 31, .95) 0%, rgba(7, 21, 48, .82) 45%, rgba(7, 21, 48, .35) 100%); }
.page-hero__inner { padding-block: 44px 76px; max-width: var(--container); }
.page-hero__title { font-size: clamp(36px, 4.6vw, 58px); color: #fff; max-width: 760px; margin-bottom: 18px; }
.page-hero__title em { color: var(--sky-400); }
.page-hero__text { font-size: 18px; max-width: 600px; color: #D3DDF0; margin: 0; }
.page-hero__badge { position: absolute; right: var(--gutter); bottom: 40px; font: italic 600 22px/1.25 var(--font-head); color: #fff; text-align: right; max-width: 220px; opacity: .92; }
@media (max-width: 860px) { .page-hero__badge { display: none; } }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: #C9D6F0; margin-bottom: 34px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--sky-400); }
.crumbs .icon { width: 14px; height: 14px; color: #8FA3C8; }
.crumbs [aria-current] { color: #C9D6F0; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; flex-wrap: wrap; }
.trust__list { display: flex; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; }
.trust__list li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.35; color: var(--ink); font-weight: 500; }
.trust__list .icon { width: 32px; height: 32px; color: var(--blue-600); stroke-width: 1.5; }
.trust__wales { display: flex; align-items: center; gap: 14px; padding-left: 28px; border-left: 1px solid var(--line); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.trust__wales strong { display: block; color: var(--ink); font-weight: 600; letter-spacing: .14em; }
.wales-flag { width: 44px; height: 30px; flex: none; border-radius: 4px; background: linear-gradient(180deg, #fff 50%, var(--green) 50%); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.wales-flag::after { content: ""; position: absolute; inset: 7px 11px; background: var(--red); clip-path: polygon(0 55%, 22% 25%, 40% 40%, 55% 5%, 70% 30%, 100% 20%, 85% 60%, 100% 95%, 60% 75%, 30% 100%, 25% 70%); }
@media (max-width: 1080px) { .trust__wales { border-left: 0; padding-left: 0; } }
@media (max-width: 640px) {
  .trust__list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 16px; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .grid--5, .grid--6 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4, .grid--5, .grid--6 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9D9F5; }
.card--tint { background: linear-gradient(180deg, #F7FAFF, #fff); }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.card__icon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--blue-600); background: var(--sky-100); }
.card__icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.card__icon--plain { background: none; width: auto; height: auto; justify-content: start; }
.card__icon--plain .icon { width: 40px; height: 40px; stroke-width: 1.5; }
.card h3 { font-size: 18px; margin: 0; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .link-arrow { margin-top: 6px; }
.card__stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Industry photo cards */
.sector-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1100px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .sector-grid { grid-template-columns: 1fr; } }
.sector {
  position: relative; isolation: isolate; border-radius: var(--radius); overflow: hidden; min-height: 330px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 18px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 21, 48, 0) 15%, rgba(7, 21, 48, .78) 52%, rgba(4, 12, 31, .97) 100%); }
.sector:hover img { transform: scale(1.06); }
.sector .icon { width: 30px; height: 30px; margin-bottom: 10px; stroke-width: 1.6; }
.sector h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.sector p { font-size: 13px; line-height: 1.5; color: #C9D6F0; margin: 0 0 14px; }
.sector__go { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); display: grid; place-items: center; align-self: flex-end; transition: background .2s, border-color .2s; }
.sector__go .icon { width: 16px; height: 16px; margin: 0; }
.sector:hover .sector__go { background: var(--blue-600); border-color: var(--blue-600); }
.sector a::after { content: ""; position: absolute; inset: 0; }
.sector a { color: #fff; }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--wide-media { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split--wide-media { grid-template-columns: 1fr; } }
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media--tall img { aspect-ratio: 4 / 4.4; }

.story { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.story__media { position: absolute; inset: 0 45% 0 0; z-index: -1; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #fff 100%); }
.story__inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; align-items: center; }
.story__copy { grid-column: 2; padding-block: 64px; padding-left: clamp(0px, 3vw, 40px); }
.story__copy h2 { font-size: clamp(30px, 3.4vw, 42px); }
@media (max-width: 900px) {
  .story__media { position: relative; inset: auto; height: 300px; }
  .story__media::after { background: linear-gradient(180deg, transparent 60%, #fff); }
  .story__inner { grid-template-columns: 1fr; min-height: 0; }
  .story__copy { grid-column: 1; padding-left: 0; padding-top: 24px; }
}
.pill-row { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; }
.pill-row li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.35; color: var(--ink); font-weight: 500; }
.pill-row .icon { width: 30px; height: 30px; color: var(--blue-600); stroke-width: 1.5; }

/* Dark info panel beside an image */
.feature-panel { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-900); }
.feature-panel__media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.feature-panel__list { padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; align-content: center; color: #C5D1E8; }
.feature-panel__list li { display: flex; gap: 16px; }
.feature-panel__list .icon { width: 34px; height: 34px; color: var(--sky-400); stroke-width: 1.5; flex: none; }
.feature-panel__list strong { display: block; color: #fff; font: 600 16px/1.3 var(--font-head); margin-bottom: 4px; }
.feature-panel__list span { font-size: 14px; line-height: 1.5; }
@media (max-width: 640px) { .feature-panel { grid-template-columns: 1fr; } .feature-panel__media img { min-height: 220px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats--2 { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.stat strong { display: block; font: 600 clamp(32px, 3.4vw, 42px)/1 var(--font-head); color: var(--blue-600); margin-bottom: 8px; letter-spacing: -.02em; }
.stat span { font-size: 14.5px; color: var(--muted); }
.section--dark .stat strong, .cta-home .stat strong { color: var(--sky-400); }
.section--dark .stat span, .cta-home .stat span { color: #C5D1E8; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 36px; }

/* ---------- Home closing CTA with stats ---------- */
.cta-home { position: relative; isolation: isolate; overflow: hidden; color: #C5D1E8; background: var(--navy-950); }
.cta-home__bg { position: absolute; inset: 0 auto 0 0; width: 45%; height: 100%; object-fit: cover; z-index: -2; }
.cta-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 12, 31, .15) 0%, rgba(4, 12, 31, .9) 38%, var(--navy-950) 55%); }
.cta-home__inner { display: grid; grid-template-columns: 1fr 1.25fr .9fr; gap: 40px; align-items: center; padding-block: 72px; }
.cta-home__copy { grid-column: 2; }
.cta-home__copy h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); }
.cta-home .stats { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 40px; }
@media (max-width: 1000px) {
  .cta-home__bg { width: 100%; opacity: .35; }
  .cta-home::before { background: linear-gradient(180deg, rgba(4, 12, 31, .7), var(--navy-950)); }
  .cta-home__inner { grid-template-columns: 1fr; }
  .cta-home__copy { grid-column: 1; }
  .cta-home .stats { border-left: 0; padding-left: 0; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #D3DDF0; background: var(--navy-900); }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 12, 31, .96) 0%, rgba(7, 21, 48, .85) 55%, rgba(7, 21, 48, .7)); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 64px; flex-wrap: wrap; }
.cta-band__copy { max-width: 640px; }
.cta-band__title { color: #fff; font-size: clamp(28px, 3vw, 38px); }
.cta-band__title em { color: var(--sky-400); }
.cta-band__copy p:last-child { margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Mission / values ---------- */
.mvv { position: relative; isolation: isolate; overflow: hidden; }
.mvv__map { position: absolute; right: -40px; top: 0; bottom: 0; width: 34%; z-index: -1; opacity: .9; }
.mvv__map svg { width: 100%; height: 100%; }
@media (max-width: 1000px) { .mvv__map { display: none; } }
.mvv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .mvv__grid { grid-template-columns: 1fr; } }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); padding-block: 4px; }
.ticks .icon { width: 18px; height: 18px; color: var(--blue-600); margin-top: 3px; }
.ticks--light li { color: #C5D1E8; }
.ticks--light .icon { color: var(--sky-400); }
.home-pin { position: absolute; right: 20%; top: 46%; background: var(--navy-800); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.35; box-shadow: var(--shadow); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.timeline li { position: relative; padding: 0 22px 0 0; }
.timeline li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.timeline__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.timeline .icon { width: 30px; height: 30px; color: var(--blue-600); stroke-width: 1.5; }
.timeline strong { font: 600 20px/1 var(--font-head); color: var(--blue-600); }
.timeline p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) {
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .timeline li:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li, .timeline li + li { padding: 0 0 0 22px; border-left: 2px solid var(--sky-100); }
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.step__num { font: 600 12px/1 var(--font-body); letter-spacing: .18em; color: var(--sky-400); margin-bottom: 16px; display: block; }
.step h3 { font-size: 17px; color: #fff; }
.step p { font-size: 14px; color: #A9B7D2; margin: 0; }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 18px; }
.quote > .icon { width: 34px; height: 34px; color: var(--sky-400); }
.quote blockquote { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.65; flex: 1; }
.quote footer strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.quote footer span { font-size: 14px; color: var(--muted); }

/* ---------- Leadership banner ---------- */
.leaders { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.leaders__media { position: absolute; inset: 0 0 0 40%; z-index: -1; }
.leaders__media img { width: 100%; height: 100%; object-fit: cover; }
.leaders__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 35%); }
.leaders__copy { max-width: 440px; padding-block: 72px; }
@media (max-width: 860px) {
  .leaders__media { position: relative; inset: auto; height: 280px; }
  .leaders__media::after { background: linear-gradient(0deg, #fff 0%, transparent 40%); }
  .leaders__copy { padding-top: 16px; }
}

/* ---------- Service detail ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.service-layout > * { min-width: 0; }
.prose .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
.prose .timeline li:nth-child(4) { padding-left: 0; border-left: 0; }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .prose .timeline { grid-template-columns: 1fr; } .prose .timeline li:nth-child(4) { padding-left: 22px; border-left: 2px solid var(--sky-100); } }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block: 28px 40px; }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.feature-list h3 { font-size: 16.5px; display: flex; gap: 10px; align-items: center; }
.feature-list h3 .icon { color: var(--blue-600); width: 20px; height: 20px; }
.feature-list p { font-size: 14.5px; color: var(--muted); margin: 0; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); background: var(--navy-900); color: #C5D1E8; padding: 28px; box-shadow: var(--shadow); }
.aside-card h3 { color: #fff; font-size: 19px; }
.aside-card .ticks { margin-bottom: 22px; }
.aside-nav { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.aside-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.aside-nav a:hover, .aside-nav a[aria-current] { background: var(--surface); color: var(--blue-600); }
.aside-nav .icon { width: 16px; height: 16px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.4em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose p, .prose li { font-size: 16.5px; }
.prose ul:not([class]) { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.prose ul:not([class]) li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.narrow { max-width: 820px; }

/* Services overview rows */
.svc-row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; position: relative; }
.svc-row:hover { box-shadow: var(--shadow); border-color: #C9D9F5; }
.svc-row img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }
.svc-row h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.svc-row h3 .icon { color: var(--blue-600); width: 24px; height: 24px; }
.svc-row p { color: var(--muted); margin-bottom: 10px; }
.svc-row a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 640px) { .svc-row { grid-template-columns: 1fr; } }

/* Industry detail rows */
.ind-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 20px); }
.ind-row:nth-child(even) .ind-row__media { order: 2; }
.ind-row__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.ind-row__body { padding: clamp(24px, 3.5vw, 44px); }
.ind-row__body h2 { font-size: 26px; display: flex; align-items: center; gap: 12px; }
.ind-row__body h2 .icon { width: 30px; height: 30px; color: var(--blue-600); }
.ind-row__body p { color: var(--muted); }
.ind-row .ticks { margin-bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 800px) {
  .ind-row { grid-template-columns: 1fr; }
  .ind-row:nth-child(even) .ind-row__media { order: 0; }
  .ind-row__media img { min-height: 200px; max-height: 240px; }
  .ind-row .ticks { grid-template-columns: 1fr; }
}
.stack { display: grid; gap: 28px; }

/* Case studies */
.case { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.case__media { position: relative; }
.case__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.case__tag { position: absolute; left: 20px; top: 20px; background: rgba(7, 21, 48, .8); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.case__body { padding: clamp(24px, 3.5vw, 44px); }
.case__body h2 { font-size: clamp(22px, 2.2vw, 28px); }
.case__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-block: 22px; }
.case__cols h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); font-family: var(--font-body); }
.case__cols p { font-size: 14.5px; color: var(--muted); margin: 0; }
.case blockquote { margin: 0; padding: 18px 22px; border-left: 3px solid var(--blue-600); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--ink); font-size: 15.5px; }
.case blockquote footer { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case__media img { min-height: 220px; max-height: 260px; } .case__cols { grid-template-columns: 1fr; } }

/* Insights */
.post { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; position: relative; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); background: var(--sky-100); padding: 4px 10px; border-radius: 999px; }
.post h3 { font-size: 19px; }
.post h3 a { color: var(--ink); }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { font-size: 14.5px; color: var(--muted); flex: 1; }
.post--feature { display: grid; grid-template-columns: 1.2fr 1fr; }
.post--feature img { height: 100%; aspect-ratio: auto; min-height: 300px; }
.post--feature .post__body { padding: clamp(24px, 3.5vw, 44px); justify-content: center; }
.post--feature h3 { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 860px) { .post--feature { grid-template-columns: 1fr; } .post--feature img { min-height: 200px; } }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.article-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* Careers */
.benefit { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.benefit .icon { width: 30px; height: 30px; color: var(--blue-600); flex: none; stroke-width: 1.5; }
.benefit h3 { font-size: 16.5px; margin-bottom: 6px; }
.benefit p { font-size: 14.5px; color: var(--muted); margin: 0; }
.role { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; flex-wrap: wrap; }
.role h3 { font-size: 18px; margin-bottom: 4px; }
.role__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.role__meta span { display: inline-flex; align-items: center; gap: 6px; }
.role__meta .icon { width: 16px; height: 16px; color: var(--blue-600); }

/* ---------- Contact ---------- */
.contact-hero .page-hero__inner { padding-bottom: 140px; }
.contact-cards { position: relative; margin-top: -84px; z-index: 2; }
.contact-cards .grid { gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.contact-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: var(--shadow-lg); }
.contact-card > .icon:first-child { width: 40px; height: 40px; color: var(--blue-600); stroke-width: 1.5; }
.contact-card strong { display: block; font: 600 16px/1.3 var(--font-head); }
.contact-card small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.contact-card > .icon:last-child { margin-left: auto; color: var(--blue-600); width: 18px; height: 18px; }
.contact-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: 15px/1.4 var(--font-body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 116, 255, .14); }
.field input::placeholder, .field textarea::placeholder { color: #9AA5BA; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__error { display: block; color: var(--red); font-size: 13px; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-600); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.alert .icon { margin-top: 2px; }
.alert--ok { background: #E8F7EE; color: #0B5A2E; border: 1px solid #BFE6CD; }
.alert--err { background: #FDECEF; color: #8A1028; border: 1px solid #F6C4CE; }

.office { display: grid; grid-template-columns: 1fr .8fr; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); color: #C5D1E8; box-shadow: var(--shadow); }
.office__body { padding: 30px 28px; }
.office__body h2 { color: #fff; font-size: 24px; margin-bottom: 20px; }
.office__list { display: grid; gap: 16px; }
.office__list li { display: flex; gap: 14px; font-size: 14.5px; line-height: 1.5; }
.office__list .icon { color: var(--sky-400); width: 22px; height: 22px; margin-top: 1px; }
.office__list a { color: #fff; }
.office__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .office { grid-template-columns: 1fr; } .office__media { display: none; } }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; }
.connect li { display: flex; gap: 16px; }
.connect .icon { width: 34px; height: 34px; color: var(--blue-600); stroke-width: 1.5; flex: none; }
.connect h3 { font-size: 17px; margin-bottom: 4px; }
.connect p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 16.5px/1.4 var(--font-head); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--blue-600); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Tool marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font: 500 14px var(--font-head); color: var(--ink); background: #fff; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B7D2; font-size: 14.5px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.4fr; gap: 36px; padding-block: 64px 44px; }
.site-footer__about p { margin: 20px 0 16px; max-width: 320px; }
.site-footer__heading { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #C5D1E8; }
.site-footer a:hover { color: #fff; }
.site-footer__profile { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--sky-400) !important; }
.site-footer__profile .icon { width: 17px; height: 17px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.site-footer__social .icon { width: 17px; height: 17px; }
.site-footer__contact li { display: flex; gap: 12px; }
.site-footer__contact .icon { color: var(--sky-400); margin-top: 2px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0; }
.site-footer__bottom li { margin: 0; padding-inline: 12px; border-left: 1px solid rgba(255, 255, 255, .18); }
.site-footer__bottom li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 1240px) { .site-footer__grid { gap: 22px; font-size: 13.5px; } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > div:last-child { grid-column: 1 / -1; } }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue-600); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90; }
.to-top .icon { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Utility spacing */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 44px; } .mb-2 { margin-bottom: 28px; }
.muted { color: var(--muted); }
.center .card__icon, .card.center .card__icon { margin-inline: auto; }
.card.center { align-items: center; color: var(--ink); }
.center-row { justify-content: center; }
.sector p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) {
  .hero__kicker { letter-spacing: .16em; font-size: 11px; }
  .hero__kicker span { padding-inline: 6px; }
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   Facelift — matches the approved home-page mockup (index.png)
   ========================================================================== */
:root {
  --container: 1320px;
  --header-h: 80px;
  --section: clamp(56px, 6vw, 80px);
  --navy-sector: #0B1B3F;
  --btn-blue: linear-gradient(135deg, #2F8CFF 0%, #0B5CFF 100%);
}

/* Header */
.site-header { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.brand--logo img { height: 54px; width: auto; }
.main-nav__link { font-size: 15px; font-weight: 500; color: #1A2440; }
.main-nav__link::after { bottom: -4px; }
.main-nav__link.is-active::after { transform: scaleX(0); }
.main-nav__link.is-active { color: var(--blue-600); }
.site-header__cta { border-radius: 12px; padding: 15px 26px; }
@media (max-width: 1240px) {
  .brand--logo img { height: 42px; }
  .site-header__inner { gap: 16px; }
  .main-nav__list { gap: 0; }
  .main-nav__link { font-size: 13.5px; padding-inline: 7px; }
  .main-nav__toggle { margin-left: -6px; }
  .site-header__cta { padding: 12px 18px; font-size: 14px; }
}
@media (max-width: 420px) { .brand--logo img { height: 38px; } }

/* Buttons — mockup pill style */
.btn--primary { background: var(--btn-blue); box-shadow: 0 10px 24px -10px rgba(11, 92, 255, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .8); background: transparent; backdrop-filter: none; }
.hero .btn, .cta-home .btn { padding: 16px 32px; font-size: 15.5px; min-width: 190px; }

/* Hero slider */
.hero { background: #06122B; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(5, 14, 36, .97) 0%, rgba(5, 14, 36, .9) 28%, rgba(6, 18, 44, .55) 46%, rgba(6, 18, 44, .08) 66%, rgba(6, 18, 44, 0) 100%),
    linear-gradient(0deg, rgba(5, 14, 36, .45) 0%, transparent 30%);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__bg { opacity: 0; transition: opacity 1.2s ease; object-position: 70% 50%; }
.hero__bg.is-active { opacity: 1; }
.hero__inner { min-height: clamp(480px, 36vw, 560px); padding-block: 64px 72px; position: relative; }
.hero__copy { max-width: 600px; }
.hero__kicker { font-size: 12px; letter-spacing: .32em; color: #D6E0F2; margin-bottom: 18px; }
.hero__kicker span { color: #8EA6CF; padding-inline: 12px; }
.hero h1 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.12; margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 em { color: #3EA4FF; }
.hero__text { font-size: 17px; line-height: 1.6; color: #E1E8F5; margin-bottom: 32px; max-width: 580px; }
.hero__nav { position: absolute; right: var(--gutter); bottom: 30px; display: flex; align-items: center; gap: 22px; color: #fff; }
.hero__arrow, .hero__dot { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px 0; font: 500 14px var(--font-head); }
.hero__arrow .icon { width: 20px; height: 20px; }
.hero__line { width: 42px; height: 1.5px; background: rgba(255, 255, 255, .8); margin-left: -10px; }
.hero__dot { color: #C9D6EE; border-bottom: 2px solid transparent; }
.hero__dot.is-active { color: #fff; border-color: #fff; }
.hero__dot:hover, .hero__arrow:hover { color: var(--sky-400); }
@media (max-width: 760px) { .hero__nav { position: static; margin-top: 36px; } }

/* Trust strip */
.trust__inner { padding-block: 24px; }
.trust__list { gap: clamp(20px, 3.4vw, 56px); }
.trust__list li { font-size: 14px; color: #26314B; font-weight: 400; }
.trust__list .icon { width: 34px; height: 34px; }
.trust__dragon { width: 58px; height: auto; flex: none; }
.trust__wales { font-size: 12.5px; letter-spacing: .14em; gap: 18px; padding-left: 40px; }
.trust__wales strong { font-weight: 600; letter-spacing: .16em; color: #1A2440; }

/* Section headings */
.eyebrow { font-size: 11.5px; letter-spacing: .22em; }
.section-head { margin-bottom: 36px; align-items: center; }
.section-head h2, .h2 { font-size: clamp(30px, 2.9vw, 40px); margin-bottom: 8px; }
.section-head p { font-size: 16.5px; color: #4A5672; max-width: 560px; }
.link-arrow--underline { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link-arrow--light { color: var(--sky-400); }
.link-arrow--light:hover { color: #fff; }

/* Core service cards */
.section--services { padding-block: 40px 72px; }
.card--service { background: linear-gradient(180deg, #F5F9FF 0%, #FBFCFF 100%); border: 1px solid #E6EDF8; border-radius: 10px; box-shadow: none; padding: 26px 24px 24px; }
.card--service:hover { box-shadow: var(--shadow); }
.card--service .card__head { gap: 16px; margin-bottom: 22px; }
.card--service .card__icon--plain .icon { width: 44px; height: 44px; stroke-width: 1.4; color: #1E6BFF; }
.card--service h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
.card--service p { font-size: 15.5px; line-height: 1.6; color: #4A5672; margin-bottom: 20px; }

/* Sectors */
.section--sectors {
  background:
    radial-gradient(circle at 78% 18%, rgba(46, 140, 255, .18), transparent 32%),
    radial-gradient(rgba(120, 170, 255, .22) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, #0A1A3D 0%, #071430 100%);
  padding-bottom: 24px;
}
.section--sectors .section-head p { color: #D3DDF0; }
.container--wide { max-width: 1440px; padding-inline: 16px; }
.sector-grid { gap: 12px; }
.sector { min-height: 330px; border-radius: 8px; padding: 18px 16px 16px; background: var(--navy-sector); border: 1px solid rgba(255, 255, 255, .08); }
.sector img { height: 62%; bottom: auto; }
.sector::before { background: linear-gradient(180deg, rgba(11, 27, 63, 0) 34%, rgba(11, 27, 63, .85) 52%, var(--navy-sector) 62%); }
.sector .icon { width: 32px; height: 32px; }
.sector h3 { font-size: 17px; font-weight: 600; }
.sector p { font-size: 13.5px; color: #C7D3EA; margin-bottom: 10px; }
.sector__go { width: 30px; height: 30px; border-width: 1.5px; }

/* Story */
.story__media { inset: 0 46% 0 0; }
.story__media::after { background: linear-gradient(90deg, transparent 52%, rgba(255, 255, 255, .85) 85%, #fff 100%); }
.story__inner { min-height: 360px; }
.story__copy { padding-block: 44px; padding-left: clamp(0px, 4vw, 56px); }
.story__copy h2 { font-size: clamp(30px, 2.8vw, 38px); line-height: 1.15; }
.story__copy h2 em { color: #1E74FF; }
.story__copy p { font-size: 16.5px; color: #3A4762; }
.pill-row { gap: 14px 34px; margin-top: 22px; }
.pill-row li { font-size: 13.5px; font-weight: 400; }

/* Closing CTA */
.cta-home { background: #05102A; }
.cta-home__bg { width: 40%; object-position: 30% 60%; }
.cta-home::before { background: radial-gradient(circle at 12% 90%, rgba(30, 116, 255, .35), transparent 38%), linear-gradient(90deg, rgba(5, 16, 42, .1) 0%, rgba(5, 16, 42, .85) 33%, #05102A 44%); }
.cta-home__inner { grid-template-columns: .9fr 1.5fr .85fr; padding-block: 48px; gap: 32px; }
.cta-home__copy .eyebrow { font-size: 11px; letter-spacing: .26em; color: #C9D6EE; margin-bottom: 10px; }
.cta-home__copy h2 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 14px; }
.cta-home__copy p { color: #D3DDF0; font-size: 16px; margin-bottom: 22px; }
.cta-home .stats { gap: 26px 36px; }
.cta-home .stat strong { font-size: clamp(24px, 2.2vw, 32px); color: #3EA4FF; margin-bottom: 4px; }
.cta-home .stat span { font-size: 14px; color: #D3DDF0; }

/* Facelift — keep the mockup's desktop composition down to tablet widths */
.hero h1 { max-width: 11.2em; }
.hero__text { max-width: 33em; }
@media (max-width: 1100px) and (min-width: 901px) {
  .grid--5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .card--service { padding: 20px 16px; }
  .card--service .card__head { gap: 10px; }
  .card--service .card__icon--plain .icon { width: 34px; height: 34px; }
  .card--service h3 { font-size: 15px; }
  .card--service p { font-size: 14px; }
  .sector-grid { grid-template-columns: repeat(6, 1fr); }
  .sector { min-height: 290px; }
  .sector p { font-size: 12.5px; }
}
@media (max-width: 1240px) {
  .trust__list { gap: 22px; }
  .trust__list li { font-size: 12.5px; gap: 8px; }
  .trust__list .icon { width: 28px; height: 28px; }
  .trust__wales { padding-left: 22px; gap: 12px; font-size: 11px; }
  .trust__dragon { width: 46px; }
  .site-header__actions { gap: 4px; }
}
@media (max-width: 1100px) {
  .brand--logo img { height: 38px; }
  .main-nav__link { font-size: 13px; padding-inline: 6px; }
  .site-header__cta { padding: 11px 16px; }
  .site-header__actions .icon-btn { width: 38px; height: 38px; }
}
.hero h1 { font-size: clamp(32px, 3.3vw, 48px); max-width: 11.6em; }
.sector p { -webkit-line-clamp: 4; }
@media (max-width: 1240px) and (min-width: 901px) {
  .pill-row { gap: 12px 18px; flex-wrap: nowrap; }
  .pill-row li { font-size: 12.5px; gap: 8px; }
  .pill-row .icon { width: 26px; height: 26px; }
}

.cta-home .btn { min-width: 0; padding: 14px 24px; }
.cta-home .stat strong { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1001px) {
  .cta-home__inner { grid-template-columns: .75fr 1.6fr .85fr; gap: 24px; }
  .cta-home .stats { padding-left: 24px; gap: 20px 24px; }
}
.sector p { display: block; -webkit-line-clamp: unset; overflow: visible; }
@media (max-width: 480px) { .hero__kicker { letter-spacing: .14em; font-size: 10.5px; } .hero__kicker span { padding-inline: 6px; } }

/* Sector grid — 13 sectors + "more" tile = 2 rows of 7 on desktop */
.section--sectors .sector-grid { grid-template-columns: repeat(7, 1fr); }
.section--sectors .sector { min-height: 300px; }
.section--sectors .sector h3 { font-size: 16px; line-height: 1.25; }
.section--sectors .sector p { font-size: 13px; }
.sector--more { justify-content: center; background: linear-gradient(160deg, #1E74FF 0%, #0B3FD6 100%); border-color: transparent; color: #fff; }
.sector--more::before { display: none; }
.sector--more p { color: #E1ECFF; }
.sector--more:hover { color: #fff; }
.sector--more:hover .sector__go { background: #fff; color: var(--blue-600); border-color: #fff; }
@media (max-width: 1240px) { .section--sectors .sector-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px) { .section--sectors .sector-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .section--sectors .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .section--sectors .sector-grid { grid-template-columns: 1fr; } }

/* Sector carousel — one row that glides slowly; pauses on hover/focus */
.sector-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%); padding-block: 4px; }
.sector-track { display: flex; width: max-content; animation: sector-slide 70s linear infinite; }
.sector-marquee:hover .sector-track, .sector-marquee:focus-within .sector-track { animation-play-state: paused; }
.sector-set { display: flex; gap: 14px; padding-right: 14px; }
.sector-set .sector { width: 250px; flex: none; min-height: 310px; }
.sector-set .sector h3 a::after { content: ""; position: absolute; inset: 0; }
.sector--more h3 a { color: #fff; }
@keyframes sector-slide { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .sector-set .sector { width: 220px; } .sector-track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) {
  .sector-marquee { overflow-x: auto; mask-image: none; }
  .sector-track { animation: none; }
  .sector-set[aria-hidden="true"] { display: none; }
}
.brand--footer img { height: 52px; width: auto; }

/* Footer "Buy our software" tag */
.footer-buy { display: inline-flex; flex-direction: column; gap: 8px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(30, 116, 255, .12); border: 1px solid rgba(46, 168, 255, .35); }
.footer-buy:hover { background: rgba(30, 116, 255, .22); }
.footer-buy__tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font: 700 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); background: #fff; padding: 7px 11px; border-radius: 999px; }
.footer-buy__tag .icon { width: 14px; height: 14px; color: var(--blue-600); }
.footer-buy__email { color: #fff; font-weight: 600; font-size: 13.5px; }
.site-footer__about .site-footer__profile { display: flex; }
.aside-card__quote { color: var(--sky-400); margin-top: 14px; font-size: 14px; }
.aside-card__quote:hover { color: #fff; }

/* About dropdown */
.mega--narrow { width: min(380px, 90vw); }
.mega__grid--single { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .main-nav__link { padding-inline: 5px; font-size: 12.8px; } .site-header__inner { gap: 10px; } }

/* Region switcher (footer) */
.site-footer__bottom .region-switch { display: inline-flex; align-items: center; gap: 8px; width: 100%; }
.region-switch .icon { width: 16px; height: 16px; color: var(--sky-400); }
.region-switch strong { color: #fff; font-weight: 600; }
.region-switch a { color: var(--sky-400); text-decoration: underline; text-underline-offset: 3px; }
