/* ==========================================================================
   AG Digital Partners — main stylesheet
   Ag Marketing Partners, L.L.C.
   Structure: tokens · base · layout · typography · buttons · header/nav ·
   heroes · sections & components · forms · footer · consent · utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #102F3C;
  --deep: #001F2A;
  --teal: #003D4C;
  --cyan: #00849B;
  --cyan-text: #00768A;
  --cyan-light: #4CC3D9;
  --cyan-pale: #9CC6D6;
  --muted: #507D98;
  --muted-light: #8FB4C8;
  --gold: #DCA354;
  --coral: #D97857;
  --white: #FFFFFF;
  --off: #F7F9FA;
  --text: #263B47;
  --text-soft: #4A6070;
  --border: #E4EBEF;
  --border-dark: rgba(255, 255, 255, 0.12);
  --danger: #B3261E;
  --success: #1E7B5A;

  --grad-cta: linear-gradient(100deg, #DCA354 0%, #D97857 100%);
  --grad-deep: linear-gradient(160deg, #001F2A 0%, #062F3C 55%, #003D4C 100%);

  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(72px, 9vw, 128px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(16, 47, 60, 0.06);
  --shadow: 0 18px 40px -18px rgba(16, 47, 60, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(0, 31, 42, 0.45);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); line-height: 1.05; margin: 0 0 0.5em; font-weight: 700; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.8rem); line-height: 1.12; }
h4 { font-size: 1.25rem; line-height: 1.2; }
strong { font-weight: 600; color: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
::selection { background: rgba(0, 132, 155, 0.22); }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--deep); font-weight: 600; padding: 12px 18px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1480px; }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }
.bg-off { background: var(--off); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); }
.bg-deep { background: var(--deep); }
.bg-gradient { background: var(--grad-deep); }

.theme-dark { color: rgba(255, 255, 255, 0.8); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--white); }
.theme-dark a:not(.btn) { color: var(--cyan-pale); }
.theme-dark a:not(.btn):hover { color: var(--white); }
.theme-dark .lead { color: rgba(255, 255, 255, 0.82); }
.theme-dark .text-muted { color: var(--muted-light); }

.grid-pattern { position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.glow--cyan { background: radial-gradient(circle, rgba(0,166,192,.35), transparent 65%); }
.glow--gold { background: radial-gradient(circle, rgba(220,163,84,.18), transparent 65%); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan-text); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-cta); border-radius: 2px; }
.theme-dark .eyebrow { color: var(--gold); }
.eyebrow--center { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.65; color: var(--text-soft); }
.text-muted { color: var(--text-soft); }
.text-center { text-align: center; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }
.accent-text { background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine-print { font-size: 0.875rem; line-height: 1.6; color: var(--text-soft); }
.theme-dark .fine-print { color: var(--muted-light); }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 15px; --btn-pad-x: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x); min-height: 52px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--grad-cta); color: var(--deep); box-shadow: 0 10px 28px -12px rgba(217, 120, 87, 0.8); }
.btn-primary:hover { color: var(--deep); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(217, 120, 87, 0.9); }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); }
.btn-outline-light:hover { color: var(--deep); background: var(--white); border-color: var(--white); }
.btn-outline-dark { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-outline-dark:hover { color: var(--white); background: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--deep); color: var(--white); transform: translateY(-2px); }
.btn-lg { --btn-pad-y: 19px; --btn-pad-x: 38px; min-height: 60px; font-size: 1.15rem; }
.btn-sm { --btn-pad-y: 10px; --btn-pad-x: 20px; min-height: 42px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { cursor: progress; opacity: 0.85; transform: none; }
.btn.is-loading .btn-label::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -3px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-group--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--cyan-text);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.theme-dark .link-arrow, .theme-dark a.link-arrow:not(.btn) { color: var(--gold); }
.theme-dark a.link-arrow:hover { color: var(--white); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(16, 47, 60, 0.97); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(10px)) { .site-header { background: rgba(16, 47, 60, 0.9); backdrop-filter: blur(14px) saturate(140%); } }
.site-header.is-scrolled { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.55); background: rgba(0, 31, 42, 0.96); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9); text-decoration: none; white-space: nowrap; border-radius: 6px;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-cta); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--white); }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after { transform: scaleX(1); }
.dropdown-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 32px; margin-left: -8px; padding: 0;
  background: none; border: 0; color: rgba(255, 255, 255, 0.75); cursor: pointer; border-radius: 6px;
}
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown-toggle:hover { color: var(--white); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: 300px; padding: 12px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.95rem; line-height: 1.3;
}
.dropdown a .icon { width: 20px; height: 20px; color: var(--cyan); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--off); color: var(--cyan-text); }
.dropdown .dropdown-all { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.dropdown .dropdown-all a { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan-text); }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1400px) {
  .nav-item.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
}
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-contact {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.9); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.header-contact:hover, .header-contact[aria-current="page"] { color: var(--white); }
.header-contact .icon { width: 18px; height: 18px; color: var(--gold); }
.site-header .container--wide { padding-inline: clamp(16px, 2vw, 32px); }
.header-cta { --btn-pad-y: 11px; --btn-pad-x: 18px; min-height: 44px; font-size: 0.98rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: var(--white); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile-extra { display: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--deep);
  min-height: clamp(640px, calc(100svh - var(--header-h)), 900px); display: flex; align-items: center;
  padding: clamp(72px, 9vw, 120px) 0 clamp(150px, 15vw, 210px);
}
.hero-media, .hero-media img, .hero-canvas, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; }
.hero-media img { object-fit: cover; object-position: 60% 50%; }
.hero-canvas { z-index: -2; pointer-events: none; }
.hero-overlay { z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(0, 20, 28, 0.62) 0%, rgba(0, 20, 28, 0.25) 60%, transparent 100%),
    linear-gradient(180deg, rgba(0, 18, 26, 0.55) 0%, rgba(0, 18, 26, 0.05) 35%, rgba(0, 18, 26, 0.15) 70%, rgba(0, 31, 42, 0.9) 100%);
}
.hero-content { position: relative; text-align: center; max-width: 1060px; margin-inline: auto; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px; margin-bottom: 30px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(0, 31, 42, 0.45);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-pale);
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(220,163,84,.18); }
.hero-title {
  font-size: clamp(2.9rem, 1.2rem + 6.4vw, 6.6rem); line-height: 0.96; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--white); margin: 0 0 28px; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}
.hero-title .line { display: block; }
.hero-title .line--accent { background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; padding-bottom: .04em; }
.hero-sub { font-size: clamp(1.08rem, 0.95rem + 0.5vw, 1.35rem); line-height: 1.6; color: rgba(255, 255, 255, 0.92); text-shadow: 0 2px 16px rgba(0, 12, 18, .8); max-width: 780px; margin: 0 auto 14px; }
.hero-trust { font-size: 1rem; color: #CFE6EE; text-shadow: 0 2px 14px rgba(0, 12, 18, .85); max-width: 720px; margin: 0 auto 40px; }
.hero-actions { justify-content: center; }

/* ---------- Capabilities strip ---------- */
.capabilities { position: relative; z-index: 2; margin-top: clamp(-130px, -9vw, -96px); padding-bottom: clamp(56px, 6vw, 88px); }
.cap-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cap-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px 24px 26px; border-radius: var(--radius);
  background: linear-gradient(165deg, #0E3A48 0%, #0A2C38 55%, #08242F 100%); color: rgba(255,255,255,.78);
  border: 1px solid rgba(76, 195, 217, 0.18); box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.cap-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-cta); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cap-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(0,166,192,.28), transparent 65%); transition: opacity .35s; opacity: .6; }
.cap-card:hover { transform: translateY(-6px); border-color: rgba(76, 195, 217, 0.45); color: rgba(255,255,255,.9); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-card:hover::after { opacity: 1; }
.cap-icon { position: relative; z-index: 1; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 20px;
  background: rgba(76, 195, 217, 0.1); border: 1px solid rgba(76, 195, 217, 0.28); color: var(--cyan-light); }
.cap-icon .icon { width: 28px; height: 28px; }
.cap-card h3 { position: relative; z-index: 1; color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.cap-card p { position: relative; z-index: 1; font-size: .95rem; line-height: 1.6; margin: 0 0 18px; }
.cap-card .link-arrow { position: relative; z-index: 1; margin-top: auto; color: var(--gold); font-size: .92rem; }

/* ---------- Media frames ---------- */
.media-frame { position: relative; }
.media-frame img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); }
.media-frame::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border-radius: var(--radius-lg); border: 2px solid rgba(0, 132, 155, 0.25); z-index: 0; }
.media-frame--dark::before { border-color: rgba(76, 195, 217, 0.25); }
.media-frame .floating-chip {
  position: absolute; z-index: 2; left: -22px; bottom: 34px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; max-width: 280px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border);
}
.floating-chip .chip-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-cta); color: var(--deep); flex: none; }
.floating-chip .chip-icon .icon { width: 22px; height: 22px; }
.floating-chip strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.floating-chip span { display: block; font-size: .85rem; color: var(--text-soft); line-height: 1.35; }

/* ---------- Feature list / checklists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0, 132, 155, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300768A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.theme-dark .check-list li::before { background-color: rgba(220, 163, 84, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DCA354' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.check-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.dash-list { list-style: none; padding: 0; margin: 0; }
.dash-list li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--border); font-size: .98rem; line-height: 1.5; }
.dash-list li:last-child { border-bottom: 0; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--grad-cta); }
.theme-dark .dash-list li { border-color: var(--border-dark); }

/* ---------- Home: audit section ---------- */
.audit-band { position: relative; overflow: hidden; }
.audit-steps { counter-reset: audit; list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.audit-steps li { counter-increment: audit; display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--border-dark); color: rgba(255,255,255,.88); line-height: 1.45; }
.audit-steps li::before { content: counter(audit, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--gold); letter-spacing: .06em; min-width: 26px; }
.audit-steps li:last-child { grid-column: 1 / -1; }

/* ---------- Ecosystem grid ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.eco-tile { position: relative; padding: 30px 28px 32px; background: #052834; transition: background-color .3s; }
.eco-tile:hover { background: #0A3442; }
.eco-tile::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--grad-cta); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.eco-tile:hover::after { transform: scaleX(1); }
.eco-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-light); margin-bottom: 14px; }
.eco-cat .icon { width: 18px; height: 18px; }
.eco-name { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--white); line-height: 1.1; margin: 0 0 8px; }
.eco-tile p { font-size: .93rem; line-height: 1.55; margin: 0; color: rgba(255,255,255,.7); }

/* ---------- Process timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 35px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, rgba(0,132,155,.15), rgba(0,132,155,.6), rgba(220,163,84,.7), rgba(217,120,87,.4)); }
.timeline-step { position: relative; text-align: center; padding: 0 8px; }
.step-node { position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid rgba(0,132,155,.35); box-shadow: 0 0 0 8px var(--off), var(--shadow-sm); color: var(--cyan-text); transition: transform .35s var(--ease), border-color .35s; }
.bg-white .step-node { box-shadow: 0 0 0 8px var(--white), var(--shadow-sm); }
.step-node .icon { width: 30px; height: 30px; }
.timeline-step:hover .step-node { transform: translateY(-4px); border-color: var(--gold); }
.step-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .18em; color: var(--coral); margin-bottom: 6px; }
.timeline-step h3 { font-size: 1.9rem; margin-bottom: 10px; }
.timeline-step p { font-size: .98rem; color: var(--text-soft); margin: 0; }

/* ---------- Global ---------- */
.market-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--border-dark); color: var(--white); font-weight: 500; }
.market-list .icon { width: 20px; height: 20px; color: var(--gold); }
.globe-wrap { position: relative; max-width: 600px; margin-inline: auto; }
.globe-wrap img { width: 100%; }
@media (prefers-reduced-motion: no-preference) { .globe-wrap img { animation: float 9s ease-in-out infinite; } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0,132,155,.3); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(140deg, rgba(0,132,155,.12), rgba(0,61,76,.06)); color: var(--cyan-text); }
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.card p { font-size: .97rem; color: var(--text-soft); margin-bottom: 18px; }
.card .link-arrow { margin-top: auto; font-size: .92rem; }
.card--dark { background: rgba(255,255,255,.04); border-color: var(--border-dark); box-shadow: none; }
.card--dark p { color: rgba(255,255,255,.74); }
.card--dark .card-icon { background: rgba(76,195,217,.1); color: var(--cyan-light); }
.card--dark:hover { border-color: rgba(76,195,217,.4); box-shadow: none; }
.card-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .14em; color: rgba(80,125,152,.55); }

/* Industry cards (home) */
.ind-card { padding: 28px 26px; }
.ind-card .card-icon { background: var(--navy); color: var(--cyan-light); }
.ind-card:hover .card-icon { background: var(--grad-cta); color: var(--deep); }

/* Post cards */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; letter-spacing: .04em; color: var(--text-soft); margin-bottom: 12px; }
.post-meta .tag { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); font-size: .9rem; }
.post-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--cyan-text); }
.post-card p { color: var(--text-soft); font-size: .97rem; }
.post-card .link-arrow { margin-top: auto; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: rgba(255,255,255,.82); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 55% 80% at 85% 20%, rgba(0,132,155,.35), transparent 60%), radial-gradient(ellipse 50% 70% at 10% 100%, rgba(0,61,76,.9), transparent 70%); }
.cta-band .grid-pattern { z-index: -1; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); }
.cta-band h2 { color: var(--white); font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); text-transform: uppercase; letter-spacing: .01em; }
.cta-band p { max-width: 680px; margin: 0 auto 36px; font-size: 1.15rem; }
.cta-waves { position: absolute; inset: auto 0 0; height: 60%; z-index: -1; opacity: .5; background: url("../images/hero/hero-data-waves.webp") center 75% / cover no-repeat; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: rgba(255,255,255,.85); padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 108px); }
.page-hero .hero-media img { object-position: 70% 60%; }
.page-hero .hero-overlay { background: linear-gradient(90deg, rgba(0,18,26,.94) 0%, rgba(0,18,26,.78) 45%, rgba(0,18,26,.35) 100%), linear-gradient(0deg, rgba(0,31,42,.7), transparent 40%); }
.page-hero-inner { max-width: 820px; }
.page-hero h1 { color: var(--white); margin-bottom: 22px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { color: rgba(255,255,255,.86); margin-bottom: 0; }
.page-hero .btn-group { margin-top: 34px; }
.page-hero--center .page-hero-inner { margin-inline: auto; text-align: center; }
.page-hero--center .breadcrumbs ol { justify-content: center; }
.page-hero--compact { padding: clamp(44px, 5vw, 72px) 0 clamp(48px, 6vw, 80px); }
.breadcrumbs { margin-bottom: 26px; font-size: .88rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan-pale); }
.breadcrumbs li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--gold); }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: var(--cyan-pale); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Jump nav / TOC ---------- */
.jump-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.jump-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a { display: block; white-space: nowrap; padding: 16px 14px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.jump-nav a:hover, .jump-nav a.is-active { color: var(--navy); border-bottom-color: var(--coral); }

.toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.toc-title { font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.toc ol, .toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-soft); text-decoration: none; font-size: .93rem; line-height: 1.4; }
.toc a:hover { color: var(--navy); }
.toc a.is-active { color: var(--cyan-text); border-left-color: var(--cyan); font-weight: 600; }
.toc-cta { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.8); font-size: .93rem; }
.toc-cta strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--white); margin-bottom: 6px; line-height: 1.15; }
.toc-cta .btn { margin-top: 14px; }

/* ---------- Services ---------- */
.tabs { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.tab-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--border); background: var(--off); }
.tab { appearance: none; border: 0; background: transparent; padding: 22px 18px; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); border-bottom: 3px solid transparent; transition: color .2s, background-color .2s, border-color .2s; }
.tab .icon { width: 24px; height: 24px; color: var(--muted); }
.tab:hover { color: var(--navy); background: rgba(255,255,255,.6); }
.tab[aria-selected="true"] { color: var(--navy); background: var(--white); border-bottom-color: var(--coral); }
.tab[aria-selected="true"] .icon { color: var(--cyan-text); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
.tab-panel[hidden] { display: none; }
.tab-panel-body { padding: clamp(28px, 4vw, 52px); }
.tab-panel-body h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); }
.tab-panel-media { background: var(--deep); min-height: 100%; }
.tab-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.tab-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 22px 0 28px; }
.tab-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--off); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.tab-links a:hover { border-color: rgba(0,132,155,.35); background: var(--white); }
.tab-links .icon { width: 20px; height: 20px; color: var(--cyan-text); }

.with-toc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); }
.service-block { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 24px); }
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: 0; }
.service-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 18px; }
.service-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy); color: var(--cyan-light); box-shadow: 0 12px 24px -14px rgba(0,31,42,.7); }
.service-icon .icon { width: 30px; height: 30px; }
.service-head .num { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .18em; font-size: .92rem; color: var(--coral); margin-bottom: 4px; }
.service-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); margin: 0; }
.service-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 26px 0 26px; }
.info-panel { padding: 24px 24px 18px; border-radius: var(--radius); background: var(--off); border: 1px solid var(--border); }
.info-panel h3 { font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-text); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-panel h3 .icon { width: 20px; height: 20px; }
.info-panel .dash-list li { padding-top: 8px; padding-bottom: 8px; }
.info-panel .dash-list li::before { top: 19px; }

/* ---------- Audits page ---------- */
.audit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.audit-cat { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.audit-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,132,155,.3); }
.audit-cat .card-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.audit-cat .card-icon .icon { width: 23px; height: 23px; }
.audit-cat h3 { font-size: 1.35rem; margin-bottom: 8px; }
.audit-cat p { font-size: .92rem; color: var(--text-soft); margin: 0; line-height: 1.55; }
.method { list-style: none; margin: 0; padding: 0; counter-reset: m; display: grid; gap: 0; }
.method li { counter-increment: m; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--border-dark); align-items: start; }
.method li:last-child { border-bottom: 1px solid var(--border-dark); }
.method li::before { content: counter(m, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.method h3 { margin: 4px 0 0; font-size: 1.7rem; }
.method p { margin: 0; color: rgba(255,255,255,.76); }
.deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--navy); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .faq-body { padding: 0 0 22px; color: var(--text-soft); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Advertising channels ---------- */
.matrix-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--white); }
.matrix { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .95rem; }
.matrix caption { text-align: left; padding: 18px 22px; font-size: .9rem; color: var(--text-soft); caption-side: bottom; border-top: 1px solid var(--border); }
.matrix th, .matrix td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.matrix thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; }
.matrix tbody th { text-align: left; font-weight: 600; color: var(--navy); white-space: nowrap; }
.matrix tbody tr:nth-child(even) { background: var(--off); }
.fit { display: inline-flex; align-items: center; justify-content: center; min-width: 74px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.fit--primary { background: rgba(0,132,155,.14); color: var(--cyan-text); }
.fit--support { background: rgba(220,163,84,.2); color: #8A5A16; }
.fit--limited { background: var(--border); color: var(--text-soft); }
.channel { padding: clamp(64px, 7vw, 104px) 0; scroll-margin-top: calc(var(--header-h) + 56px); }
.channel-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.channel-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.channel-label .service-icon { width: 54px; height: 54px; border-radius: 16px; }
.platform-tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.platform-tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-size: .88rem; font-weight: 500; color: var(--navy); }
.theme-dark .platform-tags li { background: rgba(255,255,255,.06); border-color: var(--border-dark); color: var(--white); }
.aside-card { padding: 30px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h3 { font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-text); margin-bottom: 10px; }
.theme-dark .aside-card { background: rgba(255,255,255,.04); border-color: var(--border-dark); box-shadow: none; }
.theme-dark .aside-card h3 { color: var(--gold); }
.note { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: rgba(0,132,155,.07); border: 1px solid rgba(0,132,155,.2); font-size: .95rem; line-height: 1.6; color: var(--text); }
.note .icon { width: 22px; height: 22px; color: var(--cyan-text); margin-top: 2px; }
.note p { margin: 0; }
.theme-dark .note { background: rgba(76,195,217,.08); border-color: rgba(76,195,217,.25); color: rgba(255,255,255,.85); }
.theme-dark .note .icon { color: var(--cyan-light); }

/* ---------- Industries ---------- */
.industry-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 84px); align-items: center; padding: clamp(48px, 6vw, 84px) 0; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 56px); }
.industry-row:last-child { border-bottom: 0; }
.industry-row:nth-child(even) .industry-media { order: 2; }
.industry-media { position: relative; }
.industry-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.industry-media .tag-chip { position: absolute; top: 20px; left: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(0,31,42,.75); color: var(--white); font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; backdrop-filter: blur(6px); }
.industry-body h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); }
.industry-body .dash-list { margin: 8px 0 26px; }
.considerations-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: var(--muted); margin: 18px 0 4px; }

/* ---------- Frameworks / case studies ---------- */
.framework { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--white); }
.framework + .framework { margin-top: 28px; }
.framework-side { padding: 34px 32px; background: var(--grad-deep); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.framework-side h3 { color: var(--white); font-size: 1.9rem; margin-bottom: 14px; }
.framework-side .label { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .9rem; color: var(--gold); margin-bottom: 12px; }
.framework-side p { font-size: .97rem; margin: 0; }
.framework-body { padding: 34px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.framework-body h4 { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-text); margin-bottom: 10px; }
.framework-body ul { margin: 0; padding-left: 1.1em; font-size: .95rem; color: var(--text-soft); }
.framework-body li { margin-bottom: 6px; }
.callout { position: relative; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--off); border-left: 4px solid var(--gold); }
.callout h3 { font-size: 1.5rem; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.principle { padding: 32px 28px; border-top: 3px solid var(--navy); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-sm); }
.principle .num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: rgba(0,132,155,.25); display: block; margin-bottom: 12px; }
.principle h3 { font-size: 1.6rem; }
.principle p { color: var(--text-soft); font-size: .98rem; margin: 0; }
.legal-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.legal-card dl { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 14px 28px; margin: 0; }
.legal-card dt { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; color: var(--muted); }
.legal-card dd { margin: 0; color: var(--navy); font-weight: 500; }
.heritage { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.8); }
.heritage-year { font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1; }
.heritage p { margin: 0; font-size: .97rem; }

/* ---------- Insights / articles ---------- */
.featured-post { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.featured-post .post-media { aspect-ratio: auto; min-height: 100%; }
.featured-post .post-body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.featured-post h2 { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); }
.featured-post h2 a { color: var(--navy); text-decoration: none; }
.featured-post h2 a:hover { color: var(--cyan-text); }
.topic-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-list li { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-size: .92rem; color: var(--navy); font-weight: 500; }
.article-hero .article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .92rem; color: var(--cyan-pale); }
.article-hero .article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-hero .article-meta .icon { width: 18px; height: 18px; color: var(--gold); }
.article-cover { margin-top: calc(-1 * clamp(40px, 5vw, 70px)); position: relative; z-index: 2; }
.article-cover img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 5vw, 80px); }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text); max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: clamp(1.4rem, 1.2rem + .5vw, 1.65rem); margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--cyan); }
.prose blockquote { margin: 2em 0; padding: 22px 26px; border-left: 4px solid var(--gold); background: var(--off); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.12rem; color: var(--navy); }
.prose blockquote p:last-child { margin: 0; }
.prose .callout { margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0 2em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--off); color: var(--navy); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; }
.article-end { margin-top: 3em; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.article-end h2 { color: var(--white); margin-top: 0; font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); }
.article-end p { margin-bottom: 24px; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.related-list a { display: block; padding: 14px 16px; border-radius: 12px; background: var(--off); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.4; border: 1px solid var(--border); }
.related-list a:hover { border-color: rgba(0,132,155,.35); background: var(--white); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(26px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.5rem); margin-bottom: 8px; }
.form-card > p { color: var(--text-soft); }
.lift-card { margin-top: calc(-1 * clamp(56px, 7vw, 110px)); position: relative; z-index: 3; }
.contact-info { display: grid; gap: 18px; }
.info-card { padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.82); }
.info-card--light { background: var(--off); color: var(--text); border: 1px solid var(--border); }
.info-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 16px; }
.info-card--light h3 { color: var(--navy); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.info-list .icon { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.info-list strong { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .88rem; color: var(--cyan-pale); }
.info-card a { color: var(--white); word-break: break-word; }
.info-card--light a { color: var(--cyan-text); }
.steps-mini { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.steps-mini li { counter-increment: s; display: flex; gap: 14px; font-size: .95rem; line-height: 1.5; }
.steps-mini li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); color: var(--deep); font-weight: 700; font-size: .85rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .93rem; color: var(--navy); }
.req { color: var(--coral); margin-left: 2px; }
.optional { font-weight: 400; color: var(--text-soft); font-size: .85rem; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1.5px solid #CBD7DE; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23507D98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 132, 155, 0.16); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--danger); }
.field.is-invalid .input:focus, .field.is-invalid .textarea:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.14); }
.field-hint { font-size: .85rem; color: var(--text-soft); }
.field-error { font-size: .87rem; color: var(--danger); font-weight: 500; display: none; }
.field.is-invalid .field-error { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; line-height: 1.55; color: var(--text); cursor: pointer; }
.checkbox input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cyan); cursor: pointer; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.form-actions .fine-print { margin: 0; flex: 1 1 240px; }
.form-status { display: none; padding: 16px 18px; border-radius: 10px; font-size: .95rem; line-height: 1.5; margin-bottom: 20px; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #FCEDEC; color: #7A1B15; border: 1px solid #F2C4C0; }
.form-status.is-success { background: #E7F5EF; color: #135940; border: 1px solid #BFE3D3; }
.form-status.is-info { background: #EAF4F7; color: var(--navy); border: 1px solid #C8E0E7; }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #00161E; color: rgba(255,255,255,.72); font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--gold), var(--coral)); opacity: .85; }
.footer-top { padding: clamp(64px, 7vw, 96px) 0 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 56px); }
.footer-brand img { width: 100%; max-width: 340px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 380px; }
.footer-legal-name { font-size: .88rem; color: var(--muted-light); }
.footer-col h2 { font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.footer-contact a { word-break: break-word; }
.footer-contact .btn { margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 30px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; font-size: .88rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer-bottom a, .link-button { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-bottom a:hover, .link-button:hover { color: var(--white); text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-disclaimer { font-size: .8rem; color: rgba(255,255,255,.5); padding-bottom: 28px; line-height: 1.6; margin: 0; }

/* ---------- Scroll to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--navy); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s; }
.to-top .icon { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cyan); }
body.has-consent-banner .to-top { bottom: 20px; visibility: hidden; opacity: 0; }

/* ---------- Cookie consent ---------- */
.cc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 1080px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: 22px 26px;
  background: var(--deep); color: rgba(255,255,255,.85); border: 1px solid rgba(76,195,217,.25); border-radius: var(--radius-lg); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); font-size: .93rem; line-height: 1.55; }
.cc-banner h2 { font-size: 1.35rem; color: var(--white); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.cc-banner h2 .icon { width: 22px; height: 22px; color: var(--gold); }
.cc-banner p { margin: 0; }
.cc-banner a { color: var(--cyan-pale); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cc-actions .btn { --btn-pad-y: 11px; --btn-pad-x: 20px; min-height: 46px; font-size: .95rem; }
.cc-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(0, 18, 26, 0.65); display: grid; place-items: center; padding: 16px; }
.cc-overlay[hidden] { display: none; }
.cc-modal { width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 36px); color: var(--text); font-size: .95rem; }
.cc-modal h2 { font-size: 1.9rem; margin-bottom: 8px; }
.cc-modal > p { color: var(--text-soft); }
.cc-cat { padding: 18px 0; border-top: 1px solid var(--border); }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cc-cat h3 { font-size: 1.3rem; margin: 0; }
.cc-cat p { margin: 8px 0 0; color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.cc-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--text-soft); cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; right: 0; cursor: pointer; }
.cc-switch .track { position: relative; width: 52px; height: 30px; border-radius: 999px; background: #C3D0D8; transition: background-color .2s; flex: none; }
.cc-switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.cc-switch input:checked + .track { background: var(--cyan); }
.cc-switch input:checked + .track::after { transform: translateX(22px); }
.cc-switch input:focus-visible + .track { outline: 3px solid var(--gold); outline-offset: 2px; }
.cc-switch input:disabled + .track { background: var(--muted); opacity: .7; }
.cc-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-top: 20px; border-top: 1px solid var(--border); }
.cc-modal-actions .btn { --btn-pad-y: 11px; --btn-pad-x: 20px; min-height: 46px; font-size: .95rem; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .hero-content > * { animation: rise .9s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: .08s; }
  .hero-content > :nth-child(3) { animation-delay: .16s; }
  .hero-content > :nth-child(4) { animation-delay: .24s; }
  .hero-content > :nth-child(5) { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.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; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.mb-lg { margin-bottom: clamp(40px, 5vw, 64px); }
.max-680 { max-width: 680px; }
.center-block { margin-inline: auto; }
.divider-dots { height: 1px; background-image: linear-gradient(90deg, var(--border) 50%, transparent 0); background-size: 8px 1px; margin: 0; }
.error-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .9; background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 10px; }

/* ---------- Additions ---------- */
.toc .related-list { border-left: 0; }
.toc .related-list a { margin-left: 0; padding: 12px 14px; border: 1px solid var(--border); }
.prose .link-button, .note .link-button { color: var(--cyan-text); text-decoration: underline; text-underline-offset: 3px; }
.fieldset-reset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-reset legend { padding: 0; margin-bottom: 10px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 18px; }
.info-card--light .info-list strong { color: var(--muted); }
.article-cover { margin-left: 0; margin-right: 0; }