/* ==========================================================================
   Techlurio — "Connected Technology" design system
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --navy: #062e5b;
  --navy-deep: #031d38;
  --blue: #1268b3;
  --blue-light: #eaf4fb;
  --blue-soft: #8cc2f0;
  --gold: #d6a928;
  --gold-soft: #f5eac7;
  --off-white: #f7f9fc;
  --white: #ffffff;
  --text: #12202f;
  --text-2: #536170;
  --border: #dce3ea;
  --border-dark: rgba(255, 255, 255, 0.14);

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-body: clamp(1.0625rem, 0.2vw + 1rem, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-h1: clamp(2.5rem, 4.4vw + 0.6rem, 4.5rem);
  --fs-h1-inner: clamp(2.25rem, 3.4vw + 0.6rem, 3.75rem);
  --fs-h2: clamp(2.05rem, 2.6vw + 0.9rem, 3.375rem);
  --fs-h3: clamp(1.4rem, 0.8vw + 1.05rem, 1.875rem);
  --fs-h4: 1.25rem;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 88px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 24px 60px -24px rgba(3, 29, 56, 0.28);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--navy); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--navy-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 12px 20px; font-weight: 700;
  border: 2px solid var(--gold); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.bg-off { background: var(--off-white); }
.bg-light-blue { background: var(--blue-light); }
.bg-navy { background: var(--navy); color: rgba(255, 255, 255, 0.86); }
.bg-deep { background: var(--navy-deep); color: rgba(255, 255, 255, 0.84); }
.bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: var(--white); }

.lead { font-size: clamp(1.15rem, 0.5vw + 1rem, 1.3rem); line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-2); }

/* Eyebrow — gold rule + label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold); flex: none; }
.on-dark .eyebrow, .bg-navy .eyebrow, .bg-deep .eyebrow, .cta-band .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before, .bg-navy .eyebrow::before, .bg-deep .eyebrow::before { background: var(--gold); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px 64px; align-items: end; }
.section-head--split p { margin: 0; }
.section-head h2 { margin-bottom: 0.35em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 26px;
  font-size: 0.875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--blue); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #e4bb43; color: var(--navy-deep); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.7); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding-block: 6px;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.link-arrow svg { width: 18px; height: 18px; color: var(--blue); transition: transform 0.3s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; color: var(--navy); }
.link-arrow:hover svg { transform: translateX(5px); }
.on-dark .link-arrow, .bg-navy .link-arrow, .bg-deep .link-arrow { color: var(--white); }
.on-dark .link-arrow svg, .bg-navy .link-arrow svg, .bg-deep .link-arrow svg { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(3, 29, 56, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand svg { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.375rem; font-weight: 800; letter-spacing: 0.12em; color: var(--navy); }
.brand-tag { font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.29em; color: var(--blue); margin-top: 6px; }
.brand--light .brand-name { color: var(--white); }
.brand--light .brand-tag { color: var(--gold); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; font-size: 0.96875rem; font-weight: 700; color: var(--text);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-active::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--navy); }
.nav-link .chev { width: 14px; height: 14px; transition: transform 0.25s var(--ease); color: var(--blue); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-cta { min-height: 48px; padding: 12px 20px; font-size: 0.8125rem; }

/* Mega dropdown */
.dropdown {
  position: absolute; top: calc(100% + 22px); left: -24px; width: min(720px, 80vw);
  background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 24px; }
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 14px; text-decoration: none; color: var(--text); border-radius: 2px; }
.dropdown a:hover { background: var(--off-white); }
.dropdown a svg { grid-row: span 2; width: 32px; height: 32px; color: var(--blue); }
.dropdown strong { font-size: 1rem; color: var(--navy); }
.dropdown small { font-size: 0.875rem; color: var(--text-2); line-height: 1.45; }
.dropdown-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; padding: 16px 14px 0; border-top: 1px solid var(--border); font-size: 0.9375rem; color: var(--text-2); }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 52px; height: 52px; background: none; border: 1px solid var(--border); border-radius: 2px; color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(3, 29, 56, 0.55); opacity: 0; transition: opacity 0.3s var(--ease); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); border-bottom: 1px solid var(--border); min-height: 80px; }
.drawer-close { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: none; color: var(--navy); cursor: pointer; border-radius: 2px; }
.drawer-close svg { width: 24px; height: 24px; }
.drawer-nav { padding: 12px var(--gutter) 24px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav > ul > li { border-bottom: 1px solid var(--border); }
.drawer-nav a, .drawer-sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 60px; padding: 12px 0; font-size: 1.1875rem; font-weight: 700; color: var(--navy); text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.drawer-nav a[aria-current="page"] { color: var(--blue); }
.drawer-sub-toggle svg { width: 20px; height: 20px; color: var(--blue); transition: transform 0.25s; }
.drawer-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-sub { padding: 0 0 12px 16px !important; border-left: 2px solid var(--gold); margin-bottom: 16px !important; }
.drawer-sub a { min-height: 48px; font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.drawer-foot { margin-top: auto; padding: 24px var(--gutter) 32px; background: var(--off-white); font-size: 0.9375rem; color: var(--text-2); }
.drawer-foot .btn { width: 100%; margin-bottom: 18px; }
body.drawer-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: clamp(600px, 82vh, 720px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy-deep); isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 29, 56, 0.96) 0%, rgba(3, 29, 56, 0.86) 30%, rgba(6, 46, 91, 0.5) 58%, rgba(6, 46, 91, 0.08) 85%),
    linear-gradient(0deg, rgba(3, 29, 56, 0.5) 0%, rgba(3, 29, 56, 0) 35%);
}
.hero-lines { position: absolute; right: 0; bottom: 0; width: min(560px, 50vw); z-index: -1; opacity: 0.55; pointer-events: none; }
.hero-content { padding-block: 96px 104px; max-width: 940px; }
.hero h1 { color: var(--white); font-size: var(--fs-h1); line-height: 1.04; margin-bottom: 26px; letter-spacing: -0.03em; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--white); position: relative; }
.hero-copy { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); max-width: 600px; color: rgba(255, 255, 255, 0.88); margin-bottom: 38px; }

/* Pillars band */
.pillars { background: var(--navy); color: var(--white); position: relative; }
.pillars::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold) 0 120px, transparent 120px); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.pillar { padding: 48px 36px 52px; border-left: 1px solid var(--border-dark); position: relative; }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.pillar-num { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55); }
.pillar svg { width: 54px; height: 54px; color: var(--gold); }
.pillar h2 { font-size: 1.0625rem; letter-spacing: 0.2em; color: var(--white); margin: 0 0 10px; text-transform: uppercase; }
.pillar p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 1.0625rem; line-height: 1.55; }

/* ---------- Intro / editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.intro h2 { font-size: var(--fs-h2); }
.intro-body p { color: var(--text-2); font-size: 1.15rem; }
.intro-body p:first-of-type { color: var(--text); font-size: clamp(1.2rem, 0.6vw + 1rem, 1.375rem); line-height: 1.55; }
.media-stack { position: relative; padding-bottom: 72px; }
.media-stack picture img, .media-frame img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.media-stack::before { content: ""; position: absolute; top: -24px; right: -24px; width: 45%; height: 55%; border: 1px solid var(--border); z-index: -1; }
.info-panel {
  position: absolute; left: -40px; bottom: 0; width: min(372px, 82%);
  background: var(--blue); color: var(--white); padding: 34px 34px 36px; box-shadow: var(--shadow);
}
.info-panel .label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; color: var(--gold-soft); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.info-panel .label::before { content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(214, 169, 40, 0.25); }
.info-panel p { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.45; color: var(--white); }

/* ---------- Solutions asymmetric grid ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.sol-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  text-decoration: none; color: var(--text); padding: 34px 34px 32px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sol-card::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.sol-card:hover { border-color: #c6d3df; transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.sol-card:hover::after { transform: scaleX(1); }
.sol-card .num { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; color: var(--blue); }
.sol-card h3 { margin: 12px 0 12px; }
.sol-card p { color: var(--text-2); margin-bottom: 26px; }
.sol-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.sol-card .more svg { width: 18px; height: 18px; color: var(--blue); transition: transform 0.3s var(--ease); }
.sol-card:hover .more svg { transform: translateX(5px); }
.sol-card .ico { width: 46px; height: 46px; color: var(--blue); margin-bottom: 22px; }
.sol-card--feature { grid-column: span 7; grid-row: span 2; padding: 0; background: var(--navy); color: rgba(255, 255, 255, 0.85); border-color: var(--navy); overflow: hidden; }
.sol-card--feature:hover { color: rgba(255, 255, 255, 0.85); border-color: var(--navy); }
.sol-card--feature .sol-media { position: relative; overflow: hidden; }
.sol-card--feature .sol-media img { width: 100%; aspect-ratio: 16 / 8.6; object-fit: cover; transition: transform 0.8s var(--ease); }
.sol-card--feature:hover .sol-media img { transform: scale(1.04); }
.sol-card--feature .sol-body { padding: 38px 40px 40px; display: flex; flex-direction: column; flex: 1; }
.sol-card--feature h3 { color: var(--white); font-size: clamp(1.75rem, 1.4vw + 1rem, 2.375rem); }
.sol-card--feature p { color: rgba(255, 255, 255, 0.8); font-size: 1.125rem; max-width: 520px; }
.sol-card--feature .num { color: var(--gold); }
.sol-card--feature .more { color: var(--white); }
.sol-card--feature .more svg { color: var(--gold); }
.sol-card--side { grid-column: span 5; }
.sol-card--third { grid-column: span 4; }
.sol-card .ico-row { display: flex; justify-content: space-between; align-items: flex-start; }

/* ---------- Tech feature (deep navy) ---------- */
.tech-feature { position: relative; overflow: hidden; }
.tech-feature .split { grid-template-columns: 1.1fr 1fr; }
.tech-graphic { position: relative; }
.tech-graphic svg { width: 100%; height: auto; }
.pathway-list { list-style: none; padding: 0; margin: 32px 0 40px; border-top: 1px solid var(--border-dark); }
.pathway-list li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-dark); font-size: 1.1875rem; font-weight: 700; color: var(--white); }
.pathway-list span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--gold); color: var(--gold); font-size: 0.8125rem; font-weight: 800; border-radius: 50%; }
.tech-feature p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.8); }

/* SVG animation — pulses on paths */
.flow-pulse { stroke-dasharray: 10 300; animation: flow 5.5s linear infinite; }
.flow-pulse.d2 { animation-delay: -1.8s; animation-duration: 6.5s; }
.flow-pulse.d3 { animation-delay: -3.2s; animation-duration: 7.5s; }
.flow-pulse.d4 { animation-delay: -0.9s; animation-duration: 6s; }
@keyframes flow { from { stroke-dashoffset: 310; } to { stroke-dashoffset: 0; } }
.node-breathe { animation: breathe 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes breathe { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.25); } }

/* ---------- Expertise rows ---------- */
.ex-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.ex-row a {
  display: grid; grid-template-columns: 90px minmax(220px, 1fr) 1.4fr 64px; align-items: center; gap: 32px;
  padding: 40px 32px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text);
  position: relative; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), padding 0.35s var(--ease);
}
.ex-row .ex-num { font-size: 1rem; font-weight: 800; color: var(--blue); letter-spacing: 0.08em; }
.ex-row h3 { margin: 0; font-size: clamp(1.25rem, 1vw + 0.9rem, 1.75rem); letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.35s; }
.ex-row p { margin: 0; color: var(--text-2); transition: color 0.35s; }
.ex-row .ex-arrow { width: 56px; height: 56px; border: 1px solid var(--border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); justify-self: end; transition: all 0.35s var(--ease); }
.ex-row .ex-arrow svg { width: 22px; height: 22px; }
.ex-row a:hover, .ex-row a:focus-visible { background: var(--navy); color: var(--white); }
.ex-row a:hover h3, .ex-row a:focus-visible h3 { color: var(--white); }
.ex-row a:hover p, .ex-row a:focus-visible p { color: rgba(255, 255, 255, 0.8); }
.ex-row a:hover .ex-num, .ex-row a:focus-visible .ex-num { color: var(--gold); }
.ex-row a:hover .ex-arrow, .ex-row a:focus-visible .ex-arrow { border-color: var(--gold); color: var(--gold); transform: rotate(-45deg); }

/* ---------- Process journey (horizontal) ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; counter-reset: step; }
.journey::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: rgba(18, 104, 179, 0.22); }
.journey::after { content: ""; position: absolute; top: 27px; left: 28px; height: 2px; width: calc(100% - 56px); background: var(--blue); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.6s var(--ease); }
.journey.is-visible { --progress: 1; }
.journey li { position: relative; padding-right: 24px; z-index: 1; }
.journey .step-node { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9375rem; color: var(--navy); margin-bottom: 28px; position: relative; transition: background 0.4s, color 0.4s; }
.journey .step-node::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); top: -2px; right: -2px; }
.journey.is-visible li .step-node { background: var(--navy); color: var(--white); border-color: var(--navy); }
.journey.is-visible li:nth-child(2) .step-node { transition-delay: 0.25s; }
.journey.is-visible li:nth-child(3) .step-node { transition-delay: 0.5s; }
.journey.is-visible li:nth-child(4) .step-node { transition-delay: 0.75s; }
.journey.is-visible li:nth-child(5) .step-node { transition-delay: 1s; }
.journey.is-visible li:nth-child(6) .step-node { transition-delay: 1.25s; }
.journey h3 { font-size: 1.0625rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.journey p { font-size: 1rem; color: var(--text-2); margin: 0; line-height: 1.55; }

/* ---------- Image story ---------- */
.story { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.story-media, .story-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-media img { object-fit: cover; object-position: 30% 40%; }
.story-media { z-index: 0; }
.story .container { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.story-box { background: var(--white); max-width: 500px; padding: clamp(36px, 4vw, 56px); box-shadow: var(--shadow); position: relative; }
.story-box::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 4px; background: var(--gold); }
.story-box h2 { font-size: clamp(2rem, 2vw + 1rem, 2.75rem); }
.story-box p { color: var(--text-2); font-size: 1.125rem; margin-bottom: 30px; }

/* ---------- Audience grid ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.audience { padding: 40px 36px 36px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; background: var(--white); transition: background-color 0.3s; }
.audience:hover { background: var(--off-white); }
.audience svg.ico { width: 44px; height: 44px; color: var(--blue); margin-bottom: 26px; }
.audience h3 { font-size: 1.375rem; margin-bottom: 12px; }
.audience p { color: var(--text-2); font-size: 1.0625rem; }
.audience .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Article cards ---------- */
.article-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 32px; }
.article-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 28px; }
.article-card .thumb { overflow: hidden; margin-bottom: 24px; }
.article-card .thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.article-card:first-child .thumb img { aspect-ratio: 4 / 3; }
.article-card:hover .thumb img { transform: scale(1.04); }
.article-card .cat { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.article-card h3 { font-size: clamp(1.3rem, 0.8vw + 1rem, 1.625rem); margin-bottom: 12px; transition: color 0.2s; }
.article-card:first-child h3 { font-size: clamp(1.5rem, 1.1vw + 1rem, 2rem); }
.article-card:hover h3 { color: var(--blue); }
.article-card p { color: var(--text-2); font-size: 1.0625rem; margin-bottom: 18px; }
.article-card .meta { margin-top: auto; font-size: 0.875rem; color: var(--text-2); display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, 0.86); }
.cta-band .pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; pointer-events: none; }
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px 80px; align-items: end; }
.cta-band h2 { color: var(--white); font-size: clamp(2.3rem, 3.2vw + 1rem, 4rem); margin-bottom: 0; }
.cta-band p { font-size: 1.2rem; margin-bottom: 32px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, 0.86); overflow: hidden; isolation: isolate; }
.page-hero .container { display: grid; grid-template-columns: 1.08fr 0.92fr; min-height: 500px; }
.page-hero-text { padding-block: 72px 80px; padding-right: clamp(24px, 4vw, 72px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: var(--fs-h1-inner); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 22px; }
.page-hero h1 span { display: block; }
.page-hero .lead { color: rgba(255, 255, 255, 0.84); max-width: 600px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero-media { position: relative; margin-right: calc(var(--gutter) * -1); }
.page-hero-media picture, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero-media img { object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(3, 29, 56, 0) 30%); }
@media (min-width: 1281px) { .page-hero-media { margin-right: calc((100vw - var(--container)) / -2); } }
.page-hero .bg-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.5; }
.page-hero--plain .container { grid-template-columns: 1fr; min-height: 380px; }
.page-hero--plain .page-hero-text { max-width: 880px; }

.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.875rem; font-weight: 600; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.7); }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: rotate(45deg); }
.breadcrumb a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Generic content blocks ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.panel { border: 1px solid var(--border); background: var(--white); padding: 32px; }
.panel h3 { font-size: 1.3rem; margin-bottom: 10px; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.panel p { color: var(--text-2); }
.panel--top { border-top: 3px solid var(--navy); }
.panel .ico { width: 40px; height: 40px; color: var(--blue); margin-bottom: 20px; }
.bg-off .panel, .bg-light-blue .panel { border-color: #d2dbe4; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 14px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%231268B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.bg-navy .check-list li::before, .bg-deep .check-list li::before { background-color: rgba(255,255,255,.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23D6A928' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.challenge-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.challenge-list li { padding: 24px 0 24px 52px; border-top: 1px solid var(--border); position: relative; }
.challenge-list li::before { content: counter(ch, decimal-leading-zero); counter-increment: ch; position: absolute; left: 0; top: 26px; font-size: 0.8125rem; font-weight: 800; color: var(--blue); letter-spacing: 0.08em; }
.challenge-list { counter-reset: ch; }
.challenge-list strong { display: block; color: var(--navy); font-size: 1.125rem; margin-bottom: 6px; }
.challenge-list span { color: var(--text-2); font-size: 1.0625rem; }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border-dark); border-left: 1px solid var(--border-dark); }
.help-grid > div { padding: 34px 32px; border-right: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.help-grid svg { width: 36px; height: 36px; color: var(--gold); margin-bottom: 18px; }
.help-grid h3 { font-size: 1.25rem; margin-bottom: 10px; }
.help-grid p { font-size: 1.0625rem; color: rgba(255, 255, 255, 0.78); margin: 0; }

.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: ms; }
.mini-steps li { border-top: 2px solid var(--blue); padding-top: 22px; position: relative; }
.mini-steps li::before { counter-increment: ms; content: "0" counter(ms); display: block; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 12px; }
.mini-steps li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.mini-steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.mini-steps p { font-size: 1.0625rem; color: var(--text-2); margin: 0; }

.consider { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px 80px; }
.consider-list { list-style: none; margin: 0; padding: 0; }
.consider-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.consider-list li:first-child { border-top: 1px solid var(--border); }
.consider-list svg { width: 24px; height: 24px; color: var(--gold); margin-top: 4px; }
.consider-list strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: 1.125rem; }
.consider-list span { color: var(--text-2); }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 1.1875rem; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; position: relative; transition: background 0.25s, border-color 0.25s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform 0.25s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--navy); border-color: var(--navy); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--gold); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 64px 28px 0; color: var(--text-2); }
.faq .answer p:last-child { margin: 0; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related a { display: flex; flex-direction: column; gap: 10px; padding: 30px; border: 1px solid var(--border); background: var(--white); text-decoration: none; color: var(--text); transition: border-color 0.25s, transform 0.25s var(--ease); }
.related a:hover { border-color: var(--blue); transform: translateY(-3px); color: var(--text); }
.related svg.ico { width: 36px; height: 36px; color: var(--blue); }
.related strong { font-size: 1.25rem; color: var(--navy); }
.related span { color: var(--text-2); font-size: 1rem; }

/* Solutions index rows */
.sol-index { display: grid; gap: 0; border-top: 1px solid var(--border); }
.sol-index article { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px 72px; padding: 64px 0; border-bottom: 1px solid var(--border); align-items: start; }
.sol-index article:nth-child(even) .sol-index-media { order: 2; }
.sol-index-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sol-index .num { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.16em; color: var(--blue); display: block; margin-bottom: 10px; }
.sol-index h2 { font-size: clamp(1.75rem, 1.5vw + 1rem, 2.5rem); }
.sol-index p { color: var(--text-2); }
.sol-index .check-list { columns: 2; column-gap: 32px; margin-bottom: 28px; }
.sol-index .check-list li { break-inside: avoid; font-size: 1.0625rem; }

/* Prose (articles & legal) */
.prose-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 0.9375rem; }
.toc h2 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--navy); border-left-color: var(--gold); }
.prose { max-width: 760px; }
.prose > * + h2 { margin-top: 1.8em; }
.prose h2 { font-size: clamp(1.6rem, 1vw + 1.1rem, 2.125rem); }
.prose h3 { font-size: 1.375rem; margin-top: 1.6em; }
.prose p, .prose li { color: #2a3846; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--gold); font-size: 1.3rem; font-weight: 600; line-height: 1.5; color: var(--navy); }
.prose .callout { background: var(--blue-light); border-left: 3px solid var(--blue); padding: 24px 28px; margin: 2em 0; }
.prose .callout p:last-child { margin: 0; }
.prose .callout strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--off-white); color: var(--navy); font-weight: 800; }
.table-wrap { overflow-x: auto; }
.legal-meta { font-size: 0.9375rem; color: var(--text-2); padding: 16px 20px; background: var(--off-white); border-left: 3px solid var(--gold); margin-bottom: 2em; }

.article-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); margin-top: 26px; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 16px; height: 16px; color: var(--gold); }
.article-hero-img { margin-top: -1px; }
.article-hero-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* Insights hub */
.featured-article { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border: 1px solid var(--border); text-decoration: none; color: var(--text); background: var(--white); }
.featured-article .thumb { overflow: hidden; min-height: 100%; }
.featured-article .thumb img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; transition: transform 0.8s var(--ease); }
.featured-article:hover .thumb img { transform: scale(1.03); }
.featured-article .body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.featured-article h2 { font-size: clamp(1.75rem, 1.6vw + 1rem, 2.6rem); transition: color 0.2s; }
.featured-article:hover h2 { color: var(--blue); }
.featured-article p { color: var(--text-2); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.filter-bar .label { font-weight: 800; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-right: 8px; }
.filter-btn { min-height: 44px; padding: 8px 18px; border: 1px solid var(--border); background: var(--white); border-radius: 999px; font-size: 0.9375rem; font-weight: 700; color: var(--text); cursor: pointer; transition: all 0.2s; }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.insight-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.insight-list .article-card[hidden] { display: none; }
.topics-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.topics-band div { padding: 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.topics-band h3 { font-size: 1.125rem; margin-bottom: 8px; }
.topics-band p { font-size: 0.96875rem; color: var(--text-2); margin: 0; }

/* Vertical timeline (How we work) */
.vtimeline { position: relative; list-style: none; margin: 0; padding: 0; }
.vtimeline::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.vtimeline-progress { position: absolute; left: 31px; top: 8px; width: 2px; height: 0; background: linear-gradient(var(--blue), var(--navy)); transition: height 0.2s linear; }
.vstep { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 32px; padding-bottom: 56px; }
.vstep:last-child { padding-bottom: 0; }
.vstep-node { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-2); position: relative; z-index: 1; transition: all 0.4s var(--ease); }
.vstep.is-active .vstep-node { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 0 0 6px var(--blue-light); }
.vstep.is-active .vstep-node::after { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--white); }
.vstep-card { border: 1px solid var(--border); background: var(--white); padding: 34px 36px; transition: border-color 0.4s, box-shadow 0.4s; }
.vstep.is-active .vstep-card { border-color: #c4d4e3; box-shadow: 0 18px 40px -28px rgba(3, 29, 56, 0.4); }
.vstep-card h3 { margin-bottom: 6px; }
.vstep-card .kicker { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.vstep-card > p { color: var(--text-2); }
.vstep-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.vstep-detail h4 { font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.vstep-detail ul { margin: 0; padding-left: 1.1em; color: var(--text-2); font-size: 1.0625rem; }
.vstep-detail li { margin-bottom: 6px; }

/* Industries */
.industry { display: grid; grid-template-columns: 0.42fr 1fr; gap: 48px 72px; padding: 64px 0; border-bottom: 1px solid var(--border); }
.industry:first-child { border-top: 1px solid var(--border); }
.industry-head svg { width: 52px; height: 52px; color: var(--blue); margin-bottom: 22px; }
.industry-head h2 { font-size: clamp(1.6rem, 1.2vw + 1rem, 2.25rem); }
.industry-body > p { color: var(--text-2); font-size: 1.125rem; }
.industry-body .grid-2 { gap: 24px; margin-top: 28px; }
.industry-body h3 { font-size: 1.0625rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--border); font-size: 0.875rem; font-weight: 700; color: var(--navy); text-decoration: none; border-radius: 999px; background: var(--white); }
a.chip:hover { border-color: var(--blue); color: var(--blue); }

/* Principles */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border-dark); }
.principles li { padding: 36px 28px 36px 0; border-right: 1px solid var(--border-dark); padding-left: 28px; }
.principles li:first-child { padding-left: 0; }
.principles li:last-child { border-right: 0; }
.principles .num { font-size: 0.8125rem; font-weight: 800; color: var(--gold); letter-spacing: 0.12em; }
.principles h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.principles p { font-size: 1rem; color: rgba(255, 255, 255, 0.76); margin: 0; }

.quote-band { padding-block: clamp(64px, 7vw, 104px); }
.quote-band blockquote { margin: 0; max-width: 1000px; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.5rem); font-weight: 700; line-height: 1.3; color: var(--navy); letter-spacing: -0.015em; }
.quote-band blockquote::before { content: ""; display: block; width: 64px; height: 4px; background: var(--gold); margin-bottom: 28px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-card { background: var(--navy); color: rgba(255, 255, 255, 0.86); padding: 40px; position: relative; overflow: hidden; }
.contact-card h2 { color: var(--white); font-size: 1.75rem; }
.contact-card address { font-style: normal; font-size: 1.125rem; line-height: 1.7; margin-bottom: 28px; }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--border-dark); }
.contact-item svg { width: 28px; height: 28px; color: var(--gold); }
.contact-item strong { display: block; color: var(--white); font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.contact-item a { color: var(--white); font-weight: 700; word-break: break-word; }
.contact-item a:hover { color: var(--gold-soft); }
.contact-item p { margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.9375rem; font-weight: 700; color: var(--navy); }
.field .req { color: #b42318; }
.field .hint { font-size: 0.875rem; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #b9c5d1; border-radius: 2px; background: var(--white);
  font-size: 1.0625rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23062E5B' stroke-width='2'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; padding-right: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 104, 179, 0.25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.field-error { font-size: 0.875rem; font-weight: 600; color: #b42318; min-height: 0; }
.field-error:empty { display: none; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 1rem; color: var(--text-2); }
.consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--navy); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.form-actions small { color: var(--text-2); font-size: 0.875rem; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); border-radius: 50%; animation: spin 0.8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 24px; padding: 20px 24px; border-left: 4px solid; font-size: 1rem; }
.form-status[hidden] { display: none; }
.form-status h3 { font-size: 1.125rem; margin-bottom: 6px; }
.form-status p:last-child { margin: 0; }
.form-status--error { background: #fdf0ef; border-color: #b42318; color: #5c1a14; }
.form-status--error h3 { color: #8f1d13; }
.form-status--success { background: #eef8f1; border-color: #1d7a3d; color: #134a27; }
.form-status--success h3 { color: #134a27; }
.form-status--info { background: var(--blue-light); border-color: var(--blue); color: var(--text); }
.form-status .btn { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.76); font-size: 1rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold) 0 25%, var(--blue) 25% 100%); }
.footer-top { display: grid; grid-template-columns: 1.15fr 2fr; gap: 56px 80px; padding-block: 88px 64px; }
.footer-brand p { max-width: 360px; margin: 24px 0 28px; color: rgba(255, 255, 255, 0.76); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.footer-col h2 { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-link-btn { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.96875rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer-col a:hover, .footer-link-btn:hover { color: var(--white); text-decoration: underline; }
.footer-col address { font-style: normal; line-height: 1.7; font-size: 0.96875rem; }
.footer-col address a { color: var(--white); font-weight: 700; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-block: 26px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.66); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a, .footer-bottom .footer-link-btn { color: rgba(255, 255, 255, 0.75); font-size: 0.875rem; text-decoration: none; }
.footer-bottom a:hover, .footer-bottom .footer-link-btn:hover { color: var(--white); text-decoration: underline; }

/* ---------- Cookie banner & dialog ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--white);
  border-top: 3px solid var(--navy); box-shadow: 0 -18px 40px -24px rgba(3, 29, 56, 0.45);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 22px; }
.cookie-inner p { margin: 0; font-size: 0.96875rem; color: var(--text); max-width: 760px; line-height: 1.55; }
.cookie-inner .cookie-title { display: block; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.cookie-actions .btn { min-height: 46px; padding: 10px 18px; font-size: 0.78125rem; }
.cookie-dialog { border: 0; padding: 0; width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.cookie-dialog::backdrop { background: rgba(3, 29, 56, 0.6); }
.cookie-dialog form { padding: 36px; }
.cookie-dialog h2 { font-size: 1.625rem; }
.cookie-dialog p { color: var(--text-2); font-size: 1rem; }
.cookie-option { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--border); }
.cookie-option h3 { font-size: 1.0625rem; margin: 0; }
.cookie-option p { grid-column: 1 / -1; margin: 0; font-size: 0.9375rem; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.switch .track { width: 52px; height: 30px; border-radius: 999px; background: #b9c5d1; position: relative; transition: background 0.2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform 0.2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--navy); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch input:disabled + .track { background: var(--blue); opacity: 0.6; }
.cookie-dialog .btn-row { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-link { padding: 10px 9px; font-size: 0.9375rem; }
  .nav-link::after { left: 9px; right: 9px; }
  .primary-nav { gap: 16px; }
}
@media (max-width: 1120px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { height: 80px; }
  :root { --header-h: 80px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { padding: 40px 32px; border-top: 1px solid var(--border-dark); }
  .pillar:nth-child(-n+2) { border-top: 0; }
  .pillar:nth-child(odd) { border-left: 0; padding-left: 0; }
  .sol-card--feature { grid-column: 1 / -1; grid-row: auto; }
  .sol-card--side { grid-column: span 6; }
  .sol-card--third { grid-column: span 4; }
  .ex-row a { grid-template-columns: 64px 1fr 56px; gap: 12px 24px; }
  .ex-row p { grid-column: 2 / 3; grid-row: 2; }
  .ex-row .ex-arrow { grid-row: 1 / span 2; grid-column: 3; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .journey::before, .journey::after { display: none; }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .principles li { border-bottom: 1px solid var(--border-dark); }
  .principles li:nth-child(4) { padding-left: 0; }
  .principles li:nth-child(3) { border-right: 0; }
  .topics-band { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .split, .tech-feature .split, .contact-layout, .consider, .sol-index article, .industry, .featured-article, .section-head--split, .cta-band .container { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .sol-index article:nth-child(even) .sol-index-media { order: 0; }
  .media-stack { padding-bottom: 96px; margin-right: 0; }
  .info-panel { left: 16px; }
  .media-stack::before { right: -12px; }
  .page-hero .container { grid-template-columns: 1fr; min-height: 0; }
  .page-hero-media { height: 300px; margin-inline: calc(var(--gutter) * -1); order: -1; }
  .page-hero-media::after { background: linear-gradient(0deg, var(--navy-deep) 0%, rgba(3, 29, 56, 0) 45%); }
  .page-hero-text { padding: 40px 0 64px; }
  .page-hero--plain .page-hero-text { padding-top: 64px; }
  .prose-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border: 1px solid var(--border); padding: 24px; background: var(--off-white); }
  .grid-3, .related, .insight-list, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid .article-card:first-child { grid-column: 1 / -1; }
  .audience-grid, .help-grid { grid-template-columns: repeat(2, 1fr); }
  .story { min-height: 0; flex-direction: column; align-items: stretch; }
  .story-media { position: relative; height: 380px; }
  .story-media img { position: absolute; }
  .story .container { margin-top: -96px; justify-content: flex-start; padding-bottom: var(--section); }
  .story { background: var(--off-white); }
  .featured-article .thumb img { min-height: 280px; aspect-ratio: 16 / 9; }
  .tech-graphic { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 720px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(odd) { border-left: 0; padding: 32px 0; border-top: 1px solid var(--border-dark); }
  .pillar:first-child { border-top: 0; }
  .pillar-top { margin-bottom: 18px; }
  .pillar svg { width: 46px; height: 46px; }
  .sol-card--side, .sol-card--third { grid-column: 1 / -1; }
  .sol-card { padding: 28px 24px; }
  .sol-card--feature .sol-body { padding: 28px 24px 30px; }
  .sol-grid { gap: 16px; }
  .ex-row a { grid-template-columns: 1fr 48px; padding: 28px 16px; }
  .ex-row .ex-num { grid-column: 1; }
  .ex-row h3 { grid-column: 1; }
  .ex-row p { grid-column: 1 / -1; grid-row: auto; }
  .ex-row .ex-arrow { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; }
  .journey { grid-template-columns: 1fr; row-gap: 0; }
  .journey li { display: grid; grid-template-columns: 56px 1fr; gap: 0 22px; padding: 0 0 36px; }
  .journey li::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--blue); opacity: 0.35; }
  .journey li:last-child::before { display: none; }
  .journey .step-node { margin-bottom: 0; grid-row: span 2; }
  .journey h3 { margin-top: 14px; }
  .audience-grid, .help-grid, .grid-2, .grid-3, .grid-4, .related, .insight-list, .article-grid, .challenge-list, .form-grid, .mini-steps, .topics-band, .principles { grid-template-columns: 1fr; }
  .article-grid .article-card:first-child { grid-column: auto; }
  .principles li, .principles li:first-child, .principles li:nth-child(4) { padding: 28px 0; border-right: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .audience { padding: 32px 24px; }
  .vstep { grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 36px; }
  .vstep-node { width: 48px; height: 48px; font-size: 0.875rem; }
  .vtimeline::before, .vtimeline-progress { left: 23px; }
  .vstep-card { padding: 24px 22px; }
  .vstep-detail { grid-template-columns: 1fr; }
  .sol-index .check-list { columns: 1; }
  .cookie-inner { flex-direction: column; align-items: stretch; padding-block: 18px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .btn:last-child { grid-column: 1 / -1; }
  .cookie-dialog form { padding: 26px 22px; }
  .faq .answer { padding-right: 0; }
  .contact-card { padding: 30px 24px; }
  .info-panel { padding: 26px 24px; }
  .info-panel p { font-size: 1.15rem; }
  .hero-content { padding-block: 72px 80px; }
  .hero-media img { object-position: 72% 50%; }
  .btn-row .btn { flex: 1 1 100%; }
  .story-box { padding: 32px 24px; }
  .industry, .sol-index article { padding: 48px 0; }
  .panel { padding: 26px 22px; }
  .help-grid > div { padding: 28px 22px; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.1875rem; }
  .brand svg { width: 36px; height: 36px; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .flow-pulse, .node-breathe { animation: none !important; }
  .flow-pulse { stroke-dasharray: none; opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media print {
  .site-header, .site-footer, .cookie-banner, .cta-band, .drawer { display: none !important; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}
.dropdown-foot .link-arrow { display: inline-flex; padding: 6px 0; }

/* ---------- Small-screen refinements ---------- */
@media (max-width: 720px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar:nth-child(odd) { padding: 28px 16px 30px 0; border-top: 0; border-left: 0; }
  .pillar:nth-child(even) { padding-left: 16px; padding-right: 0; border-left: 1px solid var(--border-dark); }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--border-dark); }
  .pillar-top { margin-bottom: 14px; }
  .pillar svg { width: 38px; height: 38px; }
  .pillar h2 { font-size: 0.9375rem; letter-spacing: 0.16em; }
  .pillar p { font-size: 0.96875rem; }
  .media-stack::before { display: none; }
  .info-panel { left: 12px; width: calc(100% - 24px); }
}

@media (max-width: 960px) {
  .hero::before { background: linear-gradient(180deg, rgba(3, 29, 56, 0.78) 0%, rgba(3, 29, 56, 0.86) 55%, rgba(3, 29, 56, 0.94) 100%); }
}

/* ---------- Tablet refinements ---------- */
@media (min-width: 721px) and (max-width: 1120px) {
  /* Process steps wrap 3 × 2: draw a connector from each node to the next one in the row */
  .journey li:not(:nth-child(3n))::after { content: ""; position: absolute; top: 27px; left: 56px; right: 0; height: 2px; background: var(--blue); opacity: 0.35; z-index: -1; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .sol-card--third { grid-column: span 6; }
  .sol-card--third:last-child { grid-column: 1 / -1; }
}

/* Quote band already has an eyebrow rule above it */
.quote-band .eyebrow + h2 + blockquote::before, .quote-band .eyebrow + blockquote::before { display: none; }

/* Tables stack into labelled rows on phones */
@media (max-width: 720px) {
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: 100%; }
  .prose table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose table.stack tr { border: 1px solid var(--border); border-top: 3px solid var(--navy); margin-bottom: 16px; padding: 6px 0; }
  .prose table.stack td { border: 0; padding: 8px 18px; }
  .prose table.stack td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
}
