/* ==========================================================================
   Adverixa — main stylesheet
   Structured editorial system: white header, blue service bar, navy context
   bar, rectangular geometry, small yellow details.
   ========================================================================== */

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

:root {
  --navy: #082B5C;
  --blue: #0879C9;
  --bright: #0796DD;
  --ink: #101820;
  --yellow: #F4C430;
  --pale: #E8F1F8;
  --ice: #F3F8FB;
  --white: #FFFFFF;
  --muted: #5C6670;
  --border: #D5DFE7;
  --navy-2: #0A3672;
  --blue-text: #0668AD; /* AA-contrast blue for small text on white, ice and pale backgrounds */

  --f-head: "Manrope", "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1380px;
  --gutter: 40px;
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sticky-top: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-weight: 800;
}
h1 { font-size: clamp(42px, 5.4vw, 76px); letter-spacing: -0.035em; line-height: .98; }
h2 { font-size: clamp(34px, 3.9vw, 54px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.18; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
strong { font-weight: 600; }
address { font-style: normal; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(980px + var(--gutter) * 2); }

.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 18px;
  font-weight: 600; text-decoration: none; border-bottom: 3px solid var(--yellow);
}
.skip-link:focus { top: 12px; color: var(--white); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--yellow); }

/* ---------- Small typographic devices ---------- */
.dot { display: inline-block; width: .17em; height: .17em; background: var(--yellow); margin-left: .06em; vertical-align: baseline; }
.dot--sm { width: 7px; height: 7px; margin-left: 6px; vertical-align: middle; position: relative; top: -1px; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 800; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text);
  margin: 0 0 22px;
}
.label::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex: none; }
.label--plain::before { display: none; }
.on-dark .label { color: #9FD0F2; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--ink); }
.muted { color: var(--muted); }
.num { font-family: var(--f-head); font-weight: 800; color: var(--blue-text); letter-spacing: -.02em; }

/* ---------- Buttons (rectangular) ---------- */
.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--b); background: var(--b); color: var(--white);
  border-radius: 0; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  line-height: 1.2;
}
.btn:hover { background: var(--blue); border-color: var(--blue-text); color: var(--white); }
.btn .arr { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--blue { --b: var(--blue); }
.btn--blue:hover { background: var(--navy); border-color: var(--navy); }
.btn--white { --b: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding: 6px 0; position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .arr { transition: transform .25s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--white); }

/* ==========================================================================
   HEADER — three levels
   ========================================================================== */
.site-header { position: relative; z-index: 60; background: var(--white); }
.hdr-top { height: 88px; border-bottom: 1px solid var(--border); }
.hdr-top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.hdr-actions { display: flex; align-items: center; gap: 30px; }
.hdr-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.hdr-links a {
  font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--ink);
  text-decoration: none; padding: 8px 0; position: relative;
}
.hdr-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr-links a:hover::after, .hdr-links a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-btns { display: flex; align-items: center; gap: 12px; }
.hdr-btns .btn { min-height: 46px; padding: 10px 20px; font-size: 13px; }
.svc-toggle .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.svc-toggle[aria-expanded="true"] { background: var(--navy); color: var(--white); }
.svc-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.icon-btn {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent; color: var(--navy); cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--border); background: var(--ice); }
.icon-btn svg { width: 22px; height: 22px; }

/* Level 2 */
.hdr-svc { background: var(--blue); height: 62px; color: var(--white); }
.hdr-svc .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hdr-svc__title {
  font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); text-decoration: none; display: inline-flex; align-items: center;
}
.hdr-svc__title:hover { color: var(--white); }
.hdr-svc ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 4px; height: 100%; }
.hdr-svc li { height: 100%; }
.hdr-svc ul a {
  display: flex; align-items: center; height: 100%; padding: 0 18px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; position: relative;
}
.hdr-svc ul a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr-svc ul a:hover::after, .hdr-svc ul a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-svc ul a:hover { color: var(--white); }
.hdr-svc a:focus-visible { outline-color: var(--yellow); outline-offset: -3px; }

/* Level 3 */
.hdr-ctx { background: var(--navy); height: 42px; color: #C9DBEC; font-size: 14px; }
.hdr-ctx .wrap { height: 100%; display: flex; align-items: center; }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; white-space: nowrap; overflow: hidden; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: #6F8FB5; }
.crumbs a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.crumbs a:hover { text-decoration: underline; color: var(--white); }
.crumbs svg { width: 15px; height: 15px; }
.crumbs [aria-current] { color: #C9DBEC; overflow: hidden; text-overflow: ellipsis; }
.hdr-ctx a:focus-visible { outline-color: var(--yellow); }

/* Services mega panel */
.svc-panel {
  position: absolute; left: 0; right: 0; top: 88px; z-index: 70;
  background: var(--white); border-top: 4px solid var(--blue); border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(8, 43, 92, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.svc-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.svc-panel .wrap { display: grid; grid-template-columns: 1.1fr 3fr; gap: 56px; padding-top: 44px; padding-bottom: 48px; }
.svc-panel__intro h2 { font-size: 34px; }
.svc-panel__intro p { color: var(--muted); }
.svc-panel__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.svc-panel__list a {
  display: block; padding: 22px 24px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--ink); height: 100%; position: relative; transition: background .2s;
}
.svc-panel__list a:hover { background: var(--ice); }
.svc-panel__list a::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc-panel__list a:hover::before { transform: scaleX(1); }
.svc-panel__list .n { font-family: var(--f-head); font-weight: 800; color: var(--blue-text); font-size: 13px; letter-spacing: .12em; }
.svc-panel__list strong { display: block; font-family: var(--f-head); font-size: 20px; font-weight: 800; margin: 6px 0 4px; }
.svc-panel__list span.d { color: var(--muted); font-size: 15px; line-height: 1.5; display: block; }

/* Search overlay */
.search-dialog {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 43, 92, .96); color: var(--white);
  display: none; overflow-y: auto;
}
.search-dialog.is-open { display: block; }
.search-dialog .wrap { padding-top: 40px; padding-bottom: 60px; }
.search-dialog__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 56px; }
.search-dialog label { display: block; font-family: var(--f-head); font-weight: 800; letter-spacing: .16em; font-size: 13px; text-transform: uppercase; color: #9FD0F2; margin-bottom: 14px; }
.search-dialog input {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.4);
  color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 4vw, 48px);
  padding: 8px 0 14px; letter-spacing: -.02em; border-radius: 0;
}
.search-dialog input:focus { outline: none; border-bottom-color: var(--yellow); }
.search-dialog input::placeholder { color: rgba(255,255,255,.45); }
.search-results { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); }
.search-results li { border-bottom: 1px solid rgba(255,255,255,.15); }
.search-results a { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; color: var(--white); text-decoration: none; }
.search-results a:hover strong { text-decoration: underline; text-decoration-color: var(--yellow); }
.search-results .t { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9FD0F2; font-weight: 600; padding-top: 4px; }
.search-results strong { font-family: var(--f-head); font-size: 20px; display: block; }
.search-results span.d { color: #C9DBEC; font-size: 15px; }
.search-empty { color: #C9DBEC; margin-top: 24px; }
.icon-btn--light { color: var(--white); }
.icon-btn--light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }

/* Mobile header + menu */
.hdr-mobile { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 72px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.14); flex: none; }
.mobile-menu__top img { height: 36px; width: auto; }
.mobile-menu nav { padding: 26px 20px 10px; }
.mobile-menu h2 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #9FD0F2; font-family: var(--f-head); margin: 0 0 8px; }
.mobile-menu ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 13px 0;
  color: var(--white); text-decoration: none; font-family: var(--f-head); font-weight: 800; font-size: 28px; letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-menu li a[aria-current="page"] { color: var(--yellow); }
.mobile-menu .svc-list a { font-size: 20px; font-weight: 700; padding: 12px 0; }
.mobile-menu .svc-list a::after { content: "→"; color: var(--yellow); font-weight: 400; }
.mobile-menu__foot { margin-top: auto; padding: 24px 20px 32px; border-top: 1px solid rgba(255,255,255,.14); background: var(--navy-2); }
.mobile-menu__foot a { color: var(--white); font-weight: 600; }
.mobile-menu__foot p { margin: 0 0 6px; color: #C9DBEC; font-size: 15px; }
.mobile-menu .btn { width: 100%; margin-bottom: 24px; }

/* ==========================================================================
   SECTION NAV (sticky navy)
   ========================================================================== */
.section-nav { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.section-nav .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a {
  display: flex; align-items: center; height: 58px; padding: 0 22px; white-space: nowrap;
  color: #B8CCE2; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 15px;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.section-nav li:first-child a { padding-left: 0; }
.section-nav a:hover { color: var(--white); }
.section-nav a.is-active { color: var(--white); border-bottom-color: var(--yellow); }
.section-nav a:focus-visible { outline-color: var(--yellow); outline-offset: -3px; }
.section-nav__cta { display: flex; align-items: center; }
.section-nav__cta a { color: var(--white); padding: 0; height: auto; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; border: 0; gap: 8px; }
.section-nav__cta a:hover { color: var(--yellow); }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
.hero { padding: clamp(48px, 6.5vw, 96px) 0; }
.hero__grid { display: grid; grid-template-columns: 53fr 47fr; gap: clamp(40px, 5vw, 84px); align-items: center; }
.hero__media { position: relative; padding-left: 26px; }
.hero__media::before { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 62%; background: var(--blue); }
.hero__media::after { content: ""; position: absolute; left: 0; top: 62%; width: 6px; height: 34px; background: var(--yellow); }
.hero__media .frame { overflow: hidden; aspect-ratio: 4 / 3.15; background: var(--pale); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.hero__cap span:last-child { font-family: var(--f-head); font-weight: 800; letter-spacing: .12em; color: var(--navy); text-transform: uppercase; }
.hero__copy h1 { margin-bottom: 28px; }
.hero__copy .lead { max-width: 520px; color: #2C3640; margin-bottom: 36px; }

/* Capability strip */
.cap-strip { background: var(--pale); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cap-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.cap-strip li { border-left: 1px solid #C6D6E4; }
.cap-strip li:last-child { border-right: 1px solid #C6D6E4; }
.cap-strip a { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 30px 26px 32px; text-decoration: none; color: var(--ink); height: 100%; position: relative; transition: background .25s; }
.cap-strip a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.cap-strip a:hover { background: #DCEAF5; }
.cap-strip a:hover::before { transform: scaleX(1); }
.cap-strip svg { width: 34px; height: 34px; color: var(--blue-text); grid-row: span 3; margin-top: 2px; }
.cap-strip .n { font-family: var(--f-head); font-weight: 800; font-size: 13px; color: var(--blue-text); letter-spacing: .1em; }
.cap-strip strong { font-family: var(--f-head); font-weight: 800; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; }
.cap-strip span.d { font-size: 15px; color: var(--muted); }

/* Generic sections */
.section { padding: var(--section) 0; }
.section--ice { background: var(--ice); }
.section--pale { background: var(--pale); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 19px; max-width: 560px; }

/* Intro */
.intro { display: grid; grid-template-columns: 35fr 65fr; gap: clamp(40px, 6vw, 110px); }
.intro h2 { position: sticky; top: 90px; }
.intro__body { border-top: 3px solid var(--ink); padding-top: 34px; }
.intro__body .lead { font-size: clamp(22px, 2vw, 28px); line-height: 1.45; font-family: var(--f-head); font-weight: 600; letter-spacing: -.012em; color: var(--ink); margin-bottom: 26px; }
.intro__body p { color: #38424C; max-width: 760px; }
.intro__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 38px; border-top: 1px solid var(--border); }
.intro__facts div { padding: 20px 20px 0 0; }
.intro__facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.intro__facts dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 17px; }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.svc {
  grid-column: span 4; position: relative; background: var(--white);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 36px 34px 34px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: background .25s;
}
.svc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); z-index: 2; }
.svc:hover::before, .svc:focus-visible::before { transform: scaleX(1); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.svc__n { font-family: var(--f-head); font-weight: 800; font-size: 56px; line-height: .9; color: var(--pale); -webkit-text-stroke: 1.5px var(--blue); letter-spacing: -.04em; }
.svc__icon { width: 40px; height: 40px; color: var(--navy); }
.svc__icon .hl { color: var(--yellow); }
.svc h3 { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 16.5px; margin-bottom: 30px; max-width: 420px; }
.svc .link-arrow { margin-top: auto; align-self: flex-start; }
.svc .link-arrow .arr { color: var(--navy); transition: transform .25s var(--ease), color .25s; }
.svc:hover .link-arrow .arr { color: var(--yellow); transform: translateX(5px); }
.svc:hover .link-arrow::after { transform: scaleX(1); }
.svc--feature { grid-column: span 7; grid-row: span 2; padding: 0; }
.svc--feature .svc__img { overflow: hidden; aspect-ratio: 16 / 9.5; }
.svc--feature .svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc--feature:hover .svc__img img { transform: scale(1.025); }
.svc--feature .svc__body { padding: 36px 40px 40px; display: flex; flex-direction: column; flex: 1; }
.svc--feature h3 { font-size: 15px; }
.svc--feature .svc__title { font-family: var(--f-head); font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; color: var(--ink); }
.svc--side { grid-column: span 5; }
.svc--side .svc__top { margin-bottom: 26px; }
.svc--wide { grid-column: span 4; }
.svc--measure { background: var(--navy); color: var(--white); }
.svc--measure h3 { color: var(--white); }
.svc--measure p { color: #C9DBEC; }
.svc--measure .svc__n { color: var(--navy); -webkit-text-stroke-color: var(--yellow); }
.svc--measure .svc__icon { color: var(--white); }
.svc--measure .link-arrow, .svc--measure .link-arrow .arr { color: var(--white); }
.svc--measure:hover { background: var(--navy-2); }

/* Featured split */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.feature-split__panel { background: var(--blue); color: var(--white); padding: clamp(56px, 6vw, 104px) clamp(28px, 5vw, 96px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.feature-split__panel::after { content: ""; position: absolute; right: 0; top: 0; width: 72px; height: 72px; background: var(--navy); }
.feature-split__panel::before { content: ""; position: absolute; right: 72px; top: 72px; width: 14px; height: 14px; background: var(--yellow); }
.feature-split__panel h2 { color: var(--white); max-width: 560px; }
.feature-split__panel p { color: #FFFFFF; max-width: 560px; font-size: 18px; }
.feature-split__panel .label { color: var(--white); }
.tick-list { list-style: none; margin: 10px 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.3); max-width: 600px; }
.tick-list li { padding: 14px 0 14px 22px; border-bottom: 1px solid rgba(255,255,255,.3); position: relative; font-weight: 500; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; background: var(--yellow); }
.tick-list li:nth-child(odd) { margin-right: 24px; }
.feature-split__img { position: relative; overflow: hidden; background: var(--pale); }
.feature-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Approach */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 99px; height: 1px; background: var(--border); }
.process li { padding-right: 36px; position: relative; }
.process .num { font-size: clamp(60px, 6vw, 88px); line-height: 1; display: block; margin-bottom: 0; height: 92px; }
.process .pip { display: block; width: 14px; height: 14px; background: var(--white); border: 2px solid var(--blue); margin: 0 0 28px; position: relative; z-index: 1; transition: background .3s, border-color .3s; }
.process li:hover .pip, .process li.is-on .pip { background: var(--yellow); border-color: var(--yellow); }
.process h3 { font-size: 16px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.process p { color: var(--muted); margin: 0; }

/* Capability matrix */
.matrix { border-top: 2px solid var(--ink); }
.matrix__row { display: grid; grid-template-columns: 300px 1fr; border-bottom: 1px solid var(--border); border-left: 6px solid var(--blue); transition: background .25s; }
.matrix__row:hover { background: var(--pale); }
.matrix__row:hover .matrix__head .arr { color: var(--yellow); transform: translateX(4px); }
.matrix__head { padding: 30px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.matrix__head h3 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.matrix__head a { color: inherit; text-decoration: none; }
.matrix__head a:hover { color: var(--blue-text); }
.matrix__head .arr { font-size: 22px; color: var(--blue-text); transition: transform .25s var(--ease), color .25s; }
.matrix__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.matrix__items li { padding: 30px 24px; border-left: 1px solid var(--border); font-weight: 500; font-size: 16.5px; display: flex; align-items: center; }
.matrix__items li::before { content: ""; width: 6px; height: 6px; background: var(--blue); margin-right: 12px; flex: none; }

/* Creative break */
.break { position: relative; background: var(--navy); }
.break__img { aspect-ratio: 16 / 7; overflow: hidden; }
.break__img img { width: 100%; height: 100%; object-fit: cover; }
.break__panel {
  position: absolute; left: var(--gutter); bottom: 0; width: min(600px, calc(100% - 2 * var(--gutter)));
  background: var(--blue); color: var(--white); padding: 48px 52px 52px; border-top: 6px solid var(--navy);
}
.break__panel h2 { color: var(--white); font-size: clamp(34px, 3.6vw, 50px); }
.break__panel p { color: #FFFFFF; margin: 0; font-size: 18px; }
.break__panel .label { color: var(--white); }
.break__wrap { position: relative; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; height: 0; }

/* Why */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 110px); }
.why__head h2 { position: sticky; top: 90px; }
.why__head p { color: var(--muted); max-width: 400px; }
.stack { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.stack li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.stack .num { font-size: 30px; line-height: 1; }
.stack h3 { font-size: 16px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; }
.stack p { margin: 0; color: var(--muted); font-size: 18px; }

/* Insights */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post { background: var(--white); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-bottom: 4px solid transparent; transition: border-color .3s; }
.post:hover { border-bottom-color: var(--blue-text); color: var(--ink); }
.post__img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--pale); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.025); }
.post__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text); font-family: var(--f-head); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.post__cat::before { content: ""; width: 7px; height: 7px; background: var(--yellow); }
.post h3 { font-size: 23px; margin-bottom: 14px; }
.post p { color: var(--muted); font-size: 16px; }
.post .link-arrow { margin-top: auto; align-self: flex-start; }
.post-grid--bordered .post { border: 1px solid var(--border); border-bottom-width: 4px; border-bottom-color: var(--border); }
.post-grid--bordered .post:hover { border-bottom-color: var(--blue-text); }

/* Location */
.location { display: grid; grid-template-columns: 7fr 5fr; border: 1px solid var(--border); }
.location__copy { padding: clamp(40px, 5vw, 80px); }
.location__copy h2 { font-size: clamp(32px, 3.4vw, 48px); }
.location__copy > p { color: #38424C; max-width: 560px; }
.location dl { display: grid; grid-template-columns: 1fr 1fr; margin: 36px 0 0; border-top: 1px solid var(--border); }
.location dl div { padding: 22px 24px 0 0; }
.location dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.location dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 1.45; }
.location__img { position: relative; overflow: hidden; background: var(--pale); min-height: 420px; }
.location__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location__img figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white); font-size: 13px; padding: 10px 16px; font-weight: 600; letter-spacing: .04em; }

/* Final CTA */
.cta { background: var(--navy); color: var(--white); position: relative; overflow: hidden; padding: clamp(80px, 9vw, 140px) 0 clamp(110px, 12vw, 190px); }
.cta::before { content: "ADVERIXA"; position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%); font-family: var(--f-head); font-weight: 800; font-size: clamp(110px, 21vw, 360px); letter-spacing: -.05em; line-height: .8; color: rgba(255,255,255,.045); white-space: nowrap; pointer-events: none; user-select: none; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: end; position: relative; }
.cta h2 { color: var(--white); font-size: clamp(48px, 6vw, 88px); margin: 0; letter-spacing: -.04em; }
.cta p { font-size: 20px; color: #D6E4F1; max-width: 520px; }
.cta__mail { display: inline-block; margin-top: 26px; color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 20px; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.cta__mail:hover { color: var(--yellow); }
.cta .label { color: #9FD0F2; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #061F44; color: #C9DBEC; font-size: 16px; }
.footer-top { padding: 80px 0 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-family: var(--f-head); font-weight: 700; color: var(--white); font-size: 20px; letter-spacing: -.01em; max-width: 260px; }
.site-footer h2 { font-family: var(--f-head); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin: 6px 0 20px; display: flex; align-items: center; gap: 10px; }
.site-footer h2::before { content: ""; width: 7px; height: 7px; background: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a, .site-footer .linklike { color: #C9DBEC; text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.site-footer address a { color: var(--white); font-weight: 600; }
.site-footer address p { margin: 0 0 14px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0 34px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: #9DB4CD; }
.footer-bottom p { margin: 0; }
.site-footer :focus-visible { outline-color: var(--yellow); }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
/* Split page hero: image + copy */
.page-hero { padding: clamp(44px, 6vw, 88px) 0; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.page-hero__grid--rev .page-hero__media { order: 2; }
.page-hero__media { position: relative; padding-left: 22px; }
.page-hero__media::before { content: ""; position: absolute; left: 0; top: 0; bottom: 30%; width: 6px; background: var(--blue); }
.page-hero__media::after { content: ""; position: absolute; left: 0; top: 70%; height: 28px; width: 6px; background: var(--yellow); }
.page-hero__media .frame { overflow: hidden; aspect-ratio: 4 / 3; background: var(--pale); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { font-size: clamp(40px, 5vw, 70px); }
.page-hero .lead { color: #2C3640; max-width: 560px; margin-bottom: 32px; }

/* Blue panel hero (About) */
.panel-hero { display: grid; grid-template-columns: 5fr 6fr; min-height: 600px; }
.panel-hero__copy { background: var(--blue); color: var(--white); padding: clamp(56px, 7vw, 120px) clamp(24px, 5vw, 88px) clamp(56px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; }
.panel-hero__copy::after { content: ""; position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; background: var(--yellow); }
.panel-hero__copy h1 { color: var(--white); font-size: clamp(42px, 5vw, 72px); }
.panel-hero__copy .lead { color: #FFFFFF; max-width: 520px; }
.panel-hero__copy .label { color: var(--white); }
.panel-hero__img { position: relative; overflow: hidden; background: var(--pale); }
.panel-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Plain text hero */
.text-hero { padding: clamp(56px, 7vw, 110px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--border); }
.text-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 60px; align-items: end; }
.text-hero h1 { margin: 0; }
.text-hero p { color: #38424C; margin: 0; font-size: 19px; }

/* Blue top bar (contact / legal) */
.topbar { background: var(--blue); color: var(--white); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.topbar h1, .topbar p.t { font-family: var(--f-head); font-weight: 800; font-size: 16px; letter-spacing: .18em; text-transform: uppercase; margin: 0; color: var(--white); display: flex; align-items: center; line-height: 1.3; }
.topbar span.m { font-size: 15px; color: #FFFFFF; }

/* Service strip (services page) */
.svc-strip { background: var(--pale); border-bottom: 1px solid var(--border); }
.svc-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.svc-strip li { border-left: 1px solid #C6D6E4; }
.svc-strip li:last-child { border-right: 1px solid #C6D6E4; }
.svc-strip a { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; text-decoration: none; color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.svc-strip a:hover { background: #DCEAF5; }
.svc-strip a span { color: var(--blue-text); font-size: 13px; }

/* Directory sections (services page) */
.dir { border-top: 1px solid var(--border); padding: clamp(60px, 7vw, 100px) 0; scroll-margin-top: 60px; }
.dir:first-of-type { border-top: 0; }
.dir__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(36px, 5vw, 90px); }
.dir__head .num { font-size: 18px; display: block; margin-bottom: 10px; letter-spacing: .1em; }
.dir__head h2 { font-size: clamp(36px, 3.6vw, 50px); }
.dir__head img { margin: 28px 0 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dir__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.dir__cols > div { padding: 28px 30px 6px 0; border-bottom: 1px solid var(--border); }
.dir__cols > div:nth-child(2) { padding-left: 30px; border-left: 1px solid var(--border); padding-right: 0; }
.dir__cols > div.full { grid-column: 1 / -1; padding-right: 0; }
.dir__cols h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text); font-weight: 800; margin-bottom: 14px; }
.dir__cols p { color: #38424C; }
.chip-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.chip-list li { padding: 14px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-weight: 500; font-size: 15.5px; display: flex; gap: 10px; align-items: baseline; background: var(--white); }
.chip-list li::before { content: ""; width: 6px; height: 6px; background: var(--yellow); flex: none; position: relative; top: -2px; }

/* Topic sections on service pages */
.topic-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px, 6vw, 100px); }
.topic-index { position: sticky; top: 84px; align-self: start; border-top: 2px solid var(--ink); }
.topic-index h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 18px 0 12px; font-weight: 800; }
.topic-index ol { list-style: none; margin: 0; padding: 0; counter-reset: ti; }
.topic-index li { counter-increment: ti; }
.topic-index a { display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; transition: color .2s, padding .2s; }
.topic-index a::before { content: counter(ti, decimal-leading-zero); color: var(--blue-text); font-family: var(--f-head); font-weight: 800; font-size: 13px; padding-top: 2px; }
.topic-index a:hover, .topic-index a.is-active { color: var(--blue-text); }
.topic-index a.is-active { box-shadow: inset 3px 0 0 var(--yellow); padding-left: 10px; }
.topics { counter-reset: tp; }
.topic { padding: 0 0 52px; margin-bottom: 52px; border-bottom: 1px solid var(--border); scroll-margin-top: 80px; display: grid; grid-template-columns: 80px 1fr; gap: 20px; }
.topic:last-child { border-bottom: 0; margin-bottom: 0; }
.topic .num { font-size: 40px; line-height: 1; }
.topic h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 18px; }
.topic p { color: #38424C; max-width: 760px; }
.topic ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); max-width: 760px; }
.topic ul li { padding: 12px 18px 12px 18px; border-bottom: 1px solid var(--border); position: relative; font-size: 16px; }
.topic ul li::before { content: ""; position: absolute; left: 0; top: 21px; width: 6px; height: 6px; background: var(--blue); }
.note { border-left: 4px solid var(--yellow); background: var(--ice); padding: 22px 26px; margin: 26px 0 0; max-width: 760px; color: #2C3640; font-size: 16px; }
.note strong { color: var(--navy); }

/* Creative page — visual mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.mosaic figure { margin: 0; overflow: hidden; position: relative; background: var(--pale); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.025); }
.mosaic .m1 { grid-column: span 7; height: clamp(360px, 36vw, 600px); }
.mosaic .m2 { grid-column: span 5; height: clamp(360px, 36vw, 600px); }
.mosaic figcaption { position: absolute; left: 0; bottom: 0; background: var(--white); padding: 10px 16px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.cr-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.cr-item { padding: 40px 36px 44px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 80px; }
.cr-item:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--border); }
.cr-item .num { font-size: 44px; line-height: 1; display: block; margin-bottom: 24px; }
.cr-item h2 { font-size: 26px; margin-bottom: 14px; }
.cr-item p { color: #38424C; font-size: 16.5px; }
.cr-item ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.cr-item ul li { padding: 6px 0 6px 16px; position: relative; }
.cr-item ul li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; background: var(--yellow); }

/* Strategy page — long-form */
.longform { display: grid; grid-template-columns: 300px minmax(0, 760px); gap: clamp(40px, 7vw, 120px); }
.chapter { scroll-margin-top: 80px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--border); }
.chapter:last-child { border-bottom: 0; }
.chapter__k { font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px; display: block; }
.chapter h2 { font-size: clamp(30px, 3vw, 42px); }
.chapter p { font-size: 18px; line-height: 1.75; color: #2C3640; }
.chapter p:first-of-type::first-letter { font-family: var(--f-head); font-weight: 800; }
.pull { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.015em; color: var(--navy); border-top: 3px solid var(--blue); border-bottom: 1px solid var(--border); padding: 26px 0; margin: 34px 0; position: relative; }
.pull::before { content: ""; position: absolute; left: 0; top: -3px; width: 60px; height: 3px; background: var(--yellow); }
.qa { margin: 26px 0 0; border-top: 1px solid var(--border); }
.qa div { display: grid; grid-template-columns: 34px 1fr; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16.5px; }
.qa div::before { content: "?"; font-family: var(--f-head); font-weight: 800; color: var(--blue-text); }

/* Image band */
.img-band { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.img-band figure { margin: 0; overflow: hidden; background: var(--pale); }
.img-band img { width: 100%; height: 100%; object-fit: cover; }
.img-band figure:first-child { aspect-ratio: 16 / 9; }

/* About */
.about-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 110px); }
.principles { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.principles > div { padding: 34px 34px 34px 0; border-bottom: 1px solid var(--border); }
.principles > div:nth-child(even) { padding-left: 34px; padding-right: 0; border-left: 1px solid var(--border); }
.principles h3 { font-size: 22px; display: flex; align-items: baseline; gap: 14px; }
.principles h3 .num { font-size: 15px; }
.principles p { color: #38424C; margin: 0; }
.workflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.workflow li { padding: 30px 26px 0 0; border-right: 1px solid rgba(255,255,255,.16); margin-right: 26px; }
.workflow li:last-child { border-right: 0; margin-right: 0; }
.workflow .num { color: var(--yellow); font-size: 15px; letter-spacing: .1em; display: block; margin-bottom: 14px; }
.workflow h3 { color: var(--white); font-size: 21px; }
.workflow p { color: #C9DBEC; font-size: 16px; }
.cap-links { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cap-links a { display: grid; grid-template-columns: 70px 1fr 2fr 40px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: background .2s, padding .3s var(--ease); }
.cap-links a:hover { background: var(--pale); padding-left: 16px; padding-right: 16px; }
.cap-links .num { font-size: 15px; }
.cap-links strong { font-family: var(--f-head); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cap-links span.d { color: var(--muted); }
.cap-links .arr { font-size: 22px; color: var(--blue-text); justify-self: end; transition: transform .25s, color .25s; }
.cap-links a:hover .arr { color: var(--navy); transform: translateX(4px); }

/* Digital page — check grid */
.dg-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--border); }
.dg { padding: 40px 40px 36px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); scroll-margin-top: 80px; position: relative; background: var(--white); }
.dg::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 4px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.dg:hover::before { transform: scaleY(1); }
.dg__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.dg__top .num { font-size: 15px; letter-spacing: .1em; }
.dg__top svg { width: 30px; height: 30px; color: var(--navy); }
.dg h2 { font-size: clamp(24px, 2.2vw, 30px); }
.dg p { color: #38424C; font-size: 16.5px; }
.dg ul { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.dg ul li { border: 1px solid var(--border); padding: 4px 10px; }

/* Media page — principle bar */
.resp { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; background: var(--navy); color: var(--white); padding: clamp(36px, 4vw, 60px); border-left: 6px solid var(--yellow); }
.resp h2 { color: var(--white); font-size: clamp(28px, 2.6vw, 36px); margin: 0; }
.resp p { color: #D6E4F1; margin: 0 0 12px; }
.resp ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.resp li { padding-left: 18px; position: relative; color: #D6E4F1; }
.resp li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--yellow); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 110px); padding: clamp(56px, 6vw, 96px) 0; }
.contact-info h2 { font-size: clamp(38px, 4.4vw, 62px); }
.contact-info .lead { color: #38424C; font-size: 19px; }
.contact-list { margin: 36px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.contact-list > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-list svg { width: 24px; height: 24px; color: var(--blue-text); margin-top: 3px; grid-row: span 2; }
.contact-list dt, .contact-list dd { grid-column: 2; }
.contact-list dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list dd { margin: 4px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 19px; line-height: 1.45; }
.contact-list dd a { color: var(--navy); }
.contact-steps { margin-top: 40px; background: var(--ice); padding: 28px 30px; border-top: 3px solid var(--blue); }
.contact-steps h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.contact-steps ol { margin: 0; padding-left: 20px; color: #38424C; font-size: 16px; }
.contact-steps li { margin-bottom: 6px; }

.form { background: var(--white); border: 1px solid var(--border); border-top: 6px solid var(--navy); padding: clamp(28px, 4vw, 52px); }
.form h2 { font-size: 28px; margin-bottom: 8px; }
.form .req-note { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.field .req { color: #B3261E; margin-left: 2px; }
.field .hint { font-size: 14px; color: var(--muted); margin: -4px 0 8px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid #A9B8C5; border-radius: 0; padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23082B5C' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 3px rgba(8, 121, 201, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; border-width: 2px; padding: 12px 13px; }
.field .error { color: #B3261E; font-size: 14px; margin-top: 6px; font-weight: 500; display: none; }
.field.has-error .error { display: flex; gap: 6px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15.5px; color: #2C3640; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.check.has-error { color: #B3261E; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 22px; padding: 18px 20px; display: none; font-size: 16px; border-left: 4px solid; }
.form-status.is-visible { display: block; }
.form-status--error { background: #FCEEEE; border-color: #B3261E; color: #5F1410; }
.form-status--success { background: #EAF5EC; border-color: #1E7B34; color: #123D1C; }
.form-status h3 { font-size: 18px; margin-bottom: 4px; color: inherit; }
.form-status p { margin: 0; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; display: none; animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-summary { border: 2px solid #B3261E; padding: 18px 22px; margin-bottom: 26px; display: none; }
.error-summary.is-visible { display: block; }
.error-summary h3 { font-size: 17px; color: #B3261E; margin-bottom: 8px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: #B3261E; font-weight: 600; }

/* Legal */
.legal { display: grid; grid-template-columns: 280px minmax(0, 820px); gap: clamp(40px, 7vw, 120px); padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 120px); }
.legal-toc { position: sticky; top: 30px; align-self: start; border-top: 2px solid var(--ink); }
.legal-toc h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 16px 0 10px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.legal-toc a { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--blue-text); }
.legal-body h1 { font-size: clamp(40px, 4.6vw, 64px); }
.legal-body .meta { color: var(--muted); font-size: 15px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; margin: 20px 0 36px; }
.legal-body h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--border); scroll-margin-top: 20px; }
.legal-body h3 { font-size: 19px; margin-top: 28px; }
.legal-body p, .legal-body li { color: #2C3640; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15.5px; }
.legal-body th, .legal-body td { text-align: left; padding: 14px 16px; border: 1px solid var(--border); vertical-align: top; }
.legal-body th { background: var(--pale); font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.legal-body .table-wrap { overflow-x: auto; }
.legal-body .callout { background: var(--ice); border-left: 4px solid var(--blue); padding: 20px 24px; margin: 24px 0; }

/* Insights page */
.ins-feature { display: grid; grid-template-columns: 7fr 5fr; border: 1px solid var(--border); text-decoration: none; color: var(--ink); }
.ins-feature__img { overflow: hidden; position: relative; min-height: 440px; background: var(--pale); }
.ins-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ins-feature:hover .ins-feature__img img { transform: scale(1.025); }
.ins-feature__body { padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; border-left: 6px solid var(--blue); }
.ins-feature__body h2 { font-size: clamp(30px, 3vw, 44px); }
.ins-feature__body p { color: #38424C; }
.ins-feature:hover { color: var(--ink); }
.cat-nav { display: flex; gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: clamp(48px, 6vw, 80px) 0 40px; overflow-x: auto; scrollbar-width: none; }
.cat-nav button { flex: none; background: none; border: 0; border-right: 1px solid var(--border); padding: 18px 24px; font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; min-height: 48px; }
.cat-nav button:hover { color: var(--ink); background: var(--ice); }
.cat-nav button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--yellow); background: var(--pale); }
.ins-list .post[hidden] { display: none; }
.ins-count { color: var(--muted); font-size: 15px; margin: -20px 0 26px; }

/* Article */
.article-hero { padding: clamp(48px, 6vw, 90px) 0 0; }
.article-hero__meta { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.article-hero h1 { font-size: clamp(38px, 4.8vw, 66px); max-width: 1000px; }
.article-hero .lead { max-width: 780px; color: #2C3640; }
.article-hero figure { margin: 46px 0 0; overflow: hidden; aspect-ratio: 21 / 9; background: var(--pale); }
.article-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.article { display: grid; grid-template-columns: 260px minmax(0, 740px); gap: clamp(40px, 7vw, 120px); padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 7vw, 110px); }
.article aside { position: sticky; top: 30px; align-self: start; border-top: 2px solid var(--ink); padding-top: 18px; font-size: 15px; }
.article aside h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.article aside ol { padding-left: 18px; margin: 0 0 24px; }
.article aside li { margin-bottom: 8px; }
.article-body p, .article-body li { font-size: 18.5px; line-height: 1.75; color: #22303B; }
.article-body h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 48px; scroll-margin-top: 20px; }
.article-body h3 { font-size: 21px; margin-top: 30px; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 8px; }
.article-body .checklist { list-style: none; padding: 0; border-top: 1px solid var(--border); }
.article-body .checklist li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--border); position: relative; margin: 0; font-size: 17px; }
.article-body .checklist li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border: 2px solid var(--blue); }
.article-end { border-top: 2px solid var(--ink); margin-top: 56px; padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

/* 404 */
.nf { padding: clamp(80px, 10vw, 160px) 0; }
.nf .code::before { content: "404"; }
.nf .code { font-family: var(--f-head); font-weight: 800; font-size: clamp(90px, 14vw, 200px); line-height: .85; color: var(--pale); -webkit-text-stroke: 2px var(--blue); letter-spacing: -.05em; }

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
.cc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--white);
  border-top: 4px solid var(--blue); box-shadow: 0 -18px 40px -24px rgba(8, 43, 92, .45);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.cc-banner.is-visible { transform: none; }
.cc-banner .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.cc-banner h2 { font-size: 20px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.cc-banner h2::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }
.cc-banner p { margin: 0; color: #38424C; font-size: 15.5px; max-width: 760px; }
.cc-banner p a { font-weight: 600; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-actions .btn, .cc-modal .btn { min-height: 46px; padding: 10px 18px; font-size: 13px; }
.btn--cc { background: transparent; color: var(--blue-text); --b: var(--blue); }
.btn--cc:hover { background: var(--pale); color: var(--navy); border-color: var(--navy); }

.cc-modal { border: 0; padding: 0; width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 32px); background: var(--white); color: var(--ink); border-top: 6px solid var(--blue); box-shadow: 0 40px 80px -30px rgba(8, 43, 92, .5); }
.cc-modal::backdrop { background: rgba(8, 43, 92, .6); }
.cc-modal__inner { padding: 34px 36px 30px; }
.cc-modal__head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.cc-modal h2 { font-size: 28px; }
.cc-modal > .cc-modal__inner > p { color: #38424C; font-size: 15.5px; }
.cc-cat { border-top: 1px solid var(--border); padding: 18px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; }
.cc-cat:last-of-type { border-bottom: 1px solid var(--border); }
.cc-cat h3 { font-size: 17px; margin: 0; }
.cc-cat p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.cc-always { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.cc-always::before { content: ""; width: 7px; height: 7px; background: var(--yellow); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.switch .track { width: 52px; height: 30px; background: #C3CFD9; position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--blue); }
.switch input:checked + .track::after { transform: translateX(22px); box-shadow: inset 0 -3px 0 var(--yellow); }
.switch input:focus-visible + .track { outline: 3px solid var(--blue); outline-offset: 3px; }
.cc-modal__foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ==========================================================================
   MOTION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.04); transition: transform 1.4s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-img img { transform: none; }
}
.nw { white-space: nowrap; }
