/* ==========================================================================
   Intequra Consulting
   Brand colours from the logo sheet: navy #222447, teal #00A99D, graphite #505050.
   Display: Bricolage Grotesque. Text: Instrument Sans. Both self-hosted (OFL).
   ========================================================================== */

@font-face { font-family: 'Bricolage Grotesque'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/bricolagegrotesque-regular.woff') format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/bricolagegrotesque-bold.woff') format('woff'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/instrumentsans-regular.woff') format('woff'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/instrumentsans-italic.woff') format('woff'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/instrumentsans-bold.woff') format('woff'); }

:root {
    --navy: #222447;
    --night: #15172f;
    --night-2: #1c1e3c;
    --teal: #00a99d;
    --teal-ink: #007f76;
    --sea: #32b19d;
    --graphite: #4b5157;
    --soft: #6c7378;
    --mist: #eef3f2;
    --mist-2: #e3ebea;
    --line: #d9e1e0;
    --line-dark: rgba(255,255,255,.14);
    --on-dark: rgba(255,255,255,.74);

    --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
    --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --space: clamp(80px, 10vw, 140px);
    --radius: 6px;

    /* Names still used by the consultant portal (presentation.php) */
    --brand-blue: var(--navy); --brand-teal: var(--teal); --brand-gray: var(--graphite);
    --bg-pure: #fff; --bg-off: var(--mist); --bg-deep: var(--night); --bg-panel: var(--navy);
    --border-light: var(--line); --glow-teal: rgba(0,169,157,.25);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; color: var(--graphite); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
a { color: var(--teal-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: rgba(0,169,157,.25); color: var(--navy); }
.reveal { opacity: 1; transform: none; } /* legacy class: never hide content */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 5000; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--navy); font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
.display { font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: .98; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--teal-ink); margin-bottom: 22px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: linear-gradient(90deg, var(--navy) 50%, var(--teal) 50%); }
.on-dark .kicker, .bg-navy .kicker, .bg-night .kicker { color: var(--sea); }
.on-dark .kicker::before, .bg-navy .kicker::before, .bg-night .kicker::before { background: linear-gradient(90deg, #fff 50%, var(--teal) 50%); }
.lede { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.6; max-width: 38em; }
.muted { color: var(--soft); }
.prose p + p { margin-top: 1.1em; }
.measure { max-width: 40em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--text); font-size: 1rem; font-weight: 700; line-height: 1; padding: 1.05em 1.55em; border-radius: var(--radius); border: 1.5px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--night); }
.btn-teal:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal); border-color: var(--teal); color: var(--night); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: .32em; }
.text-link:hover { color: var(--teal-ink); }
.bg-navy .text-link, .bg-night .text-link, .on-dark .text-link { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.86); backdrop-filter: saturate(170%) blur(12px); } }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 28px; }
.logo { flex: none; display: block; }
.logo img { height: 36px; width: auto; }
.logo .logo-light { display: none; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--navy); text-decoration: none; font-size: .96rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav-links a:hover { border-bottom-color: var(--teal); color: var(--navy); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--teal); }
.nav-links .nav-cta a { background: var(--navy); color: #fff; padding: 11px 18px; border-radius: var(--radius); font-weight: 700; border: 0; }
.nav-links .nav-cta a:hover { background: var(--teal-ink); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; margin-right: -10px; }
.menu-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Transparent header over the dark home hero */
.header-dark .site-header { background: var(--night); border-bottom-color: transparent; backdrop-filter: none; }
.header-dark .site-header.scrolled { background: rgba(21,23,47,.92); border-bottom-color: var(--line-dark); }
@supports (backdrop-filter: blur(8px)) { .header-dark .site-header.scrolled { backdrop-filter: blur(12px); } }
.header-dark .logo .logo-dark { display: none; }
.header-dark .logo .logo-light { display: block; }
.header-dark .nav-links a { color: #fff; }
.header-dark .nav-links .nav-cta a { background: var(--teal); color: var(--night); }
.header-dark .nav-links .nav-cta a:hover { background: #fff; }
.header-dark .menu-toggle span { background: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section-sm { padding: calc(var(--space) * .6) 0; }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: var(--on-dark); }
.bg-night { background: var(--night); color: var(--on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-night h1, .bg-night h2, .bg-night h3, .bg-night h4 { color: #fff; }
.section-head { display: grid; grid-template-columns: 6fr 5fr; gap: 24px 72px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.solo { display: block; max-width: 820px; }
.section-head.solo .lede { margin-top: 22px; }
.section-head .lede { font-size: 1.12rem; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--night); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 24px; min-height: min(calc(100vh - 78px - 120px), 700px); padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 5.4vw, 4.8rem); line-height: .96; letter-spacing: -0.045em; }
.hero h1 .soft { color: rgba(255,255,255,.55); }
.hero .lede { color: var(--on-dark); margin-top: 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; }
.hero-actions .text-link { color: #fff; }
.hero-visual { position: relative; width: 116%; margin-right: -16%; aspect-ratio: 760 / 520; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.loop-base { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 34; stroke-linecap: round; }
.loop-line { fill: none; stroke-width: 2; stroke-linecap: round; }
.loop-tech { stroke: #fff; opacity: .55; }
.loop-rev { stroke: var(--teal); }
.loop-pulse { fill: var(--teal); }
.loop-pulse.white { fill: #fff; }
.loop-tag { font-family: var(--text); font-size: 15px; fill: rgba(255,255,255,.85); }
.loop-tag-bg { fill: var(--night-2); stroke: rgba(255,255,255,.18); }
.loop-label { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.hero-stats { position: relative; border-top: 1px solid var(--line-dark); }
.hero-stats ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats li { padding: 26px 24px 32px 0; }
.hero-stats li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-stats .num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; color: #fff; letter-spacing: -0.04em; margin-bottom: 8px; }
.hero-stats .num em { font-style: normal; color: var(--teal); }

@media (prefers-reduced-motion: no-preference) {
    .loop-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.6,.1,.2,1) .2s forwards; }
    .loop-rev { animation-delay: .9s; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    .loop-tags g { opacity: 0; animation: tagIn .6s ease forwards; }
    .loop-tags g:nth-child(1) { animation-delay: 1.6s; } .loop-tags g:nth-child(2) { animation-delay: 1.9s; }
    .loop-tags g:nth-child(3) { animation-delay: 2.2s; } .loop-tags g:nth-child(4) { animation-delay: 2.5s; }
    .loop-tags g:nth-child(5) { animation-delay: 2.8s; } .loop-tags g:nth-child(6) { animation-delay: 3.1s; }
    @keyframes tagIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .loop-pulse { display: none; } }

/* ---------- Diagnose (interactive) ---------- */
.diagnose { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.dx-list { list-style: none; border-right: 1px solid var(--line); background: #fff; }
.dx-list button { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr 20px; gap: 16px; align-items: center; padding: 20px 24px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.05rem; line-height: 1.35; cursor: pointer; transition: background-color .2s, color .2s; }
.dx-list li:last-child button { border-bottom: 0; }
.dx-list button::after { content: ''; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .35; justify-self: end; transition: opacity .2s, transform .2s; }
.dx-list button:hover { background: var(--mist); }
.dx-list button[aria-selected="true"] { background: var(--navy); color: #fff; }
.dx-list button[aria-selected="true"]::after { opacity: 1; color: var(--teal); }
.dx-panel { padding: clamp(28px, 4vw, 52px); background: var(--mist); position: relative; }
.dx-panel[hidden] { display: none; }
.dx-panel .tag { display: inline-block; font-size: .9rem; font-weight: 700; color: var(--teal-ink); margin-bottom: 14px; }
.dx-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 18em; }
.dx-panel > p { margin-top: 16px; max-width: 40em; }
.dx-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 28px 0 32px; }
.dx-facts div { padding: 16px 0; border-top: 1px solid var(--mist-2); }
.dx-facts dt { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.dx-facts dd { font-size: .98rem; }
.dx-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
@media (prefers-reduced-motion: no-preference) { .dx-panel:not([hidden]) { animation: fadeIn .35s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } } }

/* ---------- Engagement scale ---------- */
.scale { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; padding-top: 56px; }
.scale::before { content: ''; position: absolute; top: 22px; left: 0; right: 0; height: 12px; clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%); background: linear-gradient(90deg, rgba(255,255,255,.35), var(--teal)); }
.scale-item { position: relative; }
.scale-item::before { content: ''; position: absolute; top: -44px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--night); border: 3px solid var(--teal); }
.scale-item .when { font-size: .9rem; font-weight: 700; color: var(--sea); }
.scale-item h3 { font-size: 1.55rem; margin: 6px 0 12px; }
.scale-item p { font-size: .98rem; }
.scale-item ul { list-style: none; margin-top: 16px; border-top: 1px solid var(--line-dark); }
.scale-item li { font-size: .93rem; padding: 9px 0; border-bottom: 1px solid var(--line-dark); color: rgba(255,255,255,.88); }
.scale-ends { display: flex; justify-content: space-between; font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 4px; }

/* ---------- Case stories ---------- */
.cases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--teal) var(--mist-2); }
.case { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 400px; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--graphite); transition: border-color .2s, transform .2s; }
.case:hover { border-color: var(--navy); color: var(--graphite); }
.case .who { font-size: .9rem; font-weight: 700; color: var(--teal-ink); }
.case .big { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 5vw, 4.6rem); line-height: .9; letter-spacing: -0.05em; color: var(--navy); margin: 26px 0 12px; }
.case .big small { font-size: .42em; letter-spacing: -0.02em; }
.case .what { color: var(--navy); font-size: 1.05rem; line-height: 1.4; }
.case .fix { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; }
.case .fix strong { display: block; color: var(--navy); margin-bottom: 4px; }
.case.dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.case.dark .big, .case.dark .what, .case.dark .fix strong { color: #fff; }
.case.dark .who { color: var(--sea); }
.case.dark .fix { border-top-color: var(--line-dark); }
.cases-nav { display: flex; gap: 10px; margin-top: 24px; }
.lede.spaced { margin-top: 24px; }
.cases-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.cases-nav button:hover { background: var(--navy); color: #fff; }
.cases-nav svg { width: 18px; height: 18px; }

/* ---------- People / team ---------- */
.team-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 72px; align-items: start; }
.quote-big { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--navy); }
.quote-big .t { color: var(--teal-ink); }
.roles { list-style: none; }
.roles li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.roles li:last-child { border-bottom: 1px solid var(--line); }
.roles .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--navy); }
.roles .ico svg { width: 26px; height: 26px; }
.roles h3 { font-size: 1.25rem; margin-bottom: 6px; }

/* ---------- Expertise grid ---------- */
.expertise { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.expertise > div { padding: 28px 24px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background-color .2s; }
.expertise > div:hover { background: var(--mist); }
.expertise h3 { font-size: 1.2rem; margin-bottom: 10px; }
.expertise p { font-size: .95rem; }
.expertise .stack { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.expertise .stack span { font-size: .82rem; font-weight: 700; color: var(--navy); background: var(--mist); border-radius: 999px; padding: 4px 10px; }
.expertise > div:hover .stack span { background: #fff; }

/* ---------- Dual practice (tech + revenue) ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; }
.dual > div { padding: clamp(36px, 5vw, 64px); }
.dual .tech { background: var(--night-2); }
.dual .rev { background: var(--teal); color: var(--night); }
.dual .rev h3, .dual .rev .who { color: var(--night); }
.dual .who { font-weight: 700; font-size: .95rem; color: var(--sea); margin-bottom: 14px; }
.dual h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: #fff; margin-bottom: 16px; }
.dual ul { list-style: none; margin: 24px 0 32px; }
.dual li { padding: 10px 0 10px 26px; position: relative; border-top: 1px solid var(--line-dark); }
.dual .rev li { border-top-color: rgba(21,23,47,.18); }
.dual li::before { content: ''; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--teal); }
.dual .rev li::before { background: var(--night); }
.dual .tech li { color: #fff; }

/* ---------- Products ---------- */
.product-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-tile { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--graphite); background: #fff; min-height: 250px; transition: border-color .2s; }
.product-tile:hover { border-color: var(--navy); color: var(--graphite); }
.product-tile .mono { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #fff; background: var(--navy); margin-bottom: 22px; }
.product-tile:nth-child(2) .mono { background: var(--teal); color: var(--night); }
.product-tile:nth-child(3) .mono { background: var(--sea); color: var(--night); }
.product-tile:nth-child(4) .mono { background: var(--graphite); }
.product-tile h3 { font-size: 1.35rem; }
.product-tile .kind { font-size: .9rem; font-weight: 700; color: var(--teal-ink); margin: 4px 0 12px; }
.product-tile p { font-size: .95rem; }
.product-tile .go { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--navy); font-size: .95rem; }

/* ---------- Insights teaser ---------- */
.post-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.post-teaser { display: block; padding: 26px 0; border-top: 2px solid var(--navy); text-decoration: none; color: var(--graphite); }
.post-teaser .meta { font-size: .9rem; color: var(--soft); }
.post-teaser .meta b { color: var(--teal-ink); margin-right: 8px; }
.post-teaser h3 { font-size: 1.35rem; margin: 10px 0 0; }
.post-teaser:hover h3 { color: var(--teal-ink); }

/* ---------- Closing CTA ---------- */
.closing { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); }
.closing-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
.closing h2 { color: #fff; max-width: 13em; }
.closing p { margin-top: 22px; max-width: 34em; }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; }
.closing-actions a.mail { color: #fff; }
.closing-mark { position: absolute; right: -8%; top: 50%; width: 640px; transform: translateY(-50%); opacity: .045; pointer-events: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--night); color: var(--on-dark); overflow: hidden; padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px); isolation: isolate; }
.page-hero h1 { color: #fff; max-width: 14em; }
.page-hero .lede { margin-top: 26px; color: var(--on-dark); }
.page-hero .hero-actions { margin-top: 36px; }
.page-hero-mark { position: absolute; right: -16%; top: 50%; width: min(58vw, 820px); transform: translateY(-50%); opacity: .05; z-index: -1; pointer-events: none; }
.page-hero.light { background: #fff; color: var(--graphite); border-bottom: 1px solid var(--line); }
.page-hero.light h1 { color: var(--navy); }
.page-hero.light .lede { color: var(--graphite); }
.page-hero.light .page-hero-mark { opacity: .06; }
.crumbs { font-size: .92rem; margin-bottom: 26px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.8); }
.page-hero.light .crumbs { color: var(--soft); }
.page-hero.light .crumbs a { color: var(--navy); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); max-width: 1060px; }
.hero-facts div { font-size: .95rem; }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.6rem; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- Generic blocks ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.feature-grid > div { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.feature-grid h3 { font-size: 1.28rem; margin-bottom: 10px; }
.feature-grid p { font-size: 1rem; }
.bg-navy .feature-grid > div, .bg-night .feature-grid > div { border-top-color: var(--line-dark); }
.num-badge { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal-ink); font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.bg-navy .num-badge, .bg-night .num-badge { color: var(--sea); }

.tick-list { list-style: none; columns: 2; column-gap: 64px; }
.tick-list.one { columns: 1; }
.tick-list li { break-inside: avoid; padding: 13px 0 13px 32px; border-top: 1px solid var(--line); position: relative; color: var(--navy); }
.tick-list li::before { content: ''; position: absolute; left: 3px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.bg-navy .tick-list li, .bg-night .tick-list li { color: #fff; border-top-color: var(--line-dark); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; gap: 0 28px; }
.steps::before { content: ''; position: absolute; top: 21px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--navy) 0 50%, var(--teal) 50% 100%); }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; position: relative; margin-bottom: 26px; }
.steps li:nth-child(n+3)::before { border-color: var(--teal); color: var(--teal-ink); }
.bg-mist .steps li::before { background: var(--mist); }
.steps .when { font-size: .9rem; font-weight: 700; color: var(--teal-ink); }
.steps h3 { font-size: 1.25rem; margin: 4px 0 10px; }
.steps p { font-size: .98rem; }
.bg-navy .steps::before, .bg-night .steps::before { background: linear-gradient(90deg, #fff 0 50%, var(--teal) 50% 100%); }
.bg-navy .steps li::before { background: var(--navy); border-color: #fff; color: #fff; }
.bg-night .steps li::before { background: var(--night); border-color: #fff; color: #fff; }
.bg-navy .steps li:nth-child(n+3)::before, .bg-night .steps li:nth-child(n+3)::before { border-color: var(--teal); color: var(--sea); }
.bg-navy .steps .when, .bg-night .steps .when { color: var(--sea); }

.compare { width: 100%; border-collapse: collapse; font-size: 1.04rem; }
.compare th { text-align: left; font-weight: 700; font-size: .95rem; padding: 0 24px 16px 0; color: var(--soft); vertical-align: bottom; }
.compare th:last-child { color: var(--teal-ink); }
.compare td { padding: 20px 24px 20px 0; border-top: 1px solid var(--line); vertical-align: top; }
.compare td:first-child { font-weight: 700; color: var(--navy); width: 22%; }
.compare td:nth-child(2) { color: var(--soft); }
.compare td:last-child { color: var(--navy); }
.bg-navy .compare td, .bg-night .compare td { border-top-color: var(--line-dark); }
.bg-navy .compare td:first-child, .bg-night .compare td:first-child, .bg-navy .compare td:last-child, .bg-night .compare td:last-child { color: #fff; }
.bg-navy .compare td:nth-child(2), .bg-night .compare td:nth-child(2) { color: rgba(255,255,255,.5); }
.bg-navy .compare th, .bg-night .compare th { color: rgba(255,255,255,.55); }
.bg-navy .compare th:last-child, .bg-night .compare th:last-child { color: var(--sea); }

.model-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; background: #fff; display: flex; flex-direction: column; }
.model-card.feature { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.model-card.feature h3 { color: #fff; }
.model-card .when { font-size: .9rem; font-weight: 700; color: var(--teal-ink); }
.model-card.feature .when { color: var(--sea); }
.model-card h3 { font-size: 1.6rem; margin: 6px 0 12px; }
.model-card ul { list-style: none; margin-top: 18px; }
.model-card li { padding: 9px 0 9px 22px; position: relative; border-top: 1px solid var(--line); font-size: .96rem; }
.model-card.feature li { border-top-color: var(--line-dark); color: #fff; }
.model-card li::before { content: ''; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--teal); }

.statement { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.06; letter-spacing: -0.035em; color: var(--navy); max-width: 22em; }
.bg-navy .statement, .bg-night .statement { color: #fff; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 72px; align-items: start; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.facts > div { padding: 28px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts .num { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.045em; color: var(--navy); }
.facts p { margin-top: 12px; font-size: .98rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1126; color: rgba(255,255,255,.66); padding: 80px 0 32px; font-size: .96rem; }
.footer-top { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 40px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 24em; }
.footer-brand address { font-style: normal; margin-top: 18px; }
.footer-brand a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-brand a:hover { color: var(--teal); }
.site-footer h2 { font-family: var(--text); font-size: .96rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer li a:hover { color: var(--teal); }
.site-footer li span { display: block; font-size: .85rem; color: rgba(255,255,255,.45); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; color: #fff; }
.socials a:hover { border-color: var(--teal); color: var(--teal); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: rgba(255,255,255,.45); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: .95rem; font-weight: 700; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--navy); background: #fff; border: 1px solid #b6c1c0; border-radius: var(--radius); padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23222447' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,169,157,.2); }
.field input[type=file] { padding: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* ---------- Legal pages ---------- */
#reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--teal); z-index: 1100; }
.policy-hero { padding: clamp(64px, 8vw, 104px) 0 48px; background: var(--night); color: var(--on-dark); }
.policy-hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; }
.policy-meta-card { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.meta-group h4 { font-family: var(--text); font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: 6px; letter-spacing: 0; }
.meta-group p { color: #fff; }
.meta-ventures { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #fff; }
.btn-print { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: 10px 16px; cursor: pointer; }
.btn-print:hover { background: #fff; color: var(--navy); }
.policy-wrapper { padding: clamp(48px, 6vw, 80px) 0 var(--space); }
.policy-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.policy-nav { position: sticky; top: 110px; align-self: start; }
.policy-nav ul { list-style: none; border-left: 1px solid var(--line); }
.policy-nav a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--graphite); text-decoration: none; font-size: .95rem; line-height: 1.4; }
.policy-nav a:hover, .policy-nav a.active { color: var(--navy); border-left-color: var(--teal); }
.policy-body { max-width: 720px; }
.policy-body h2 { font-size: 1.7rem; margin: 56px 0 16px; scroll-margin-top: 110px; }
.policy-body > div:first-child h2 { margin-top: 0; }
.policy-body p { margin-bottom: 1.1em; }
.policy-body ul { list-style: none; margin: 0 0 1.4em; }
.policy-body li { position: relative; padding-left: 22px; margin-bottom: .7em; }
.policy-body li::before { content: ''; position: absolute; left: 0; top: .8em; width: 10px; height: 2px; background: var(--teal); }
.policy-body strong { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
    .nav-links { gap: 18px; }
    .nav-links a { font-size: .92rem; }
    .expertise { grid-template-columns: repeat(2, 1fr); }
    .product-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
    .menu-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: 0 16px 32px rgba(21,23,47,.12); max-height: calc(100vh - 78px); overflow-y: auto; }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .header-dark .nav-links { background: var(--night); border-bottom-color: var(--line-dark); }
    .header-dark .nav-links li a { border-bottom-color: var(--line-dark); }
    .nav-links .nav-cta { margin-top: 18px; }
    .nav-links .nav-cta a { text-align: center; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-visual { width: 100%; margin: 0; max-width: 620px; }
    .section-head { grid-template-columns: 1fr; }
    .diagnose { grid-template-columns: 1fr; }
    .dx-list { border-right: 0; border-bottom: 1px solid var(--line); }
    .scale { grid-template-columns: 1fr 1fr; gap: 48px 28px; }
    .scale::before, .scale-item::before, .scale-ends { display: none; }
    .scale { padding-top: 0; }
    .team-grid, .split { grid-template-columns: 1fr; }
    .dual { grid-template-columns: 1fr; }
    .feature-grid, .feature-grid.four { grid-template-columns: 1fr 1fr; }
    .model-cards { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
    .steps::before { display: none; }
    .closing-grid { grid-template-columns: 1fr; }
    .closing-actions { justify-self: start; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .facts { grid-template-columns: 1fr 1fr; }
    .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .facts > div:nth-child(n+3) { margin-top: 28px; }
    .hero-stats ul { grid-template-columns: 1fr 1fr; }
    .hero-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
    .hero-stats li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
    .post-row { grid-template-columns: 1fr; }
    .policy-grid { grid-template-columns: 1fr; }
    .policy-nav { display: none; }
}
@media (max-width: 640px) {
    .nav-wrapper { height: 68px; }
    .nav-links { top: 68px; }
    .logo img { height: 31px; }
    .expertise, .product-row, .feature-grid, .feature-grid.two, .feature-grid.four, .scale, .steps, .dx-facts { grid-template-columns: 1fr; }
    .tick-list { columns: 1; }
    .footer-top { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr; }
    .facts > div + div { padding-left: 0; border-left: 0; margin-top: 24px; border-top: 1px solid var(--line); }
    .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; }
    .compare thead { display: none; }
    .compare tr { padding: 16px 0; border-top: 1px solid var(--line); }
    .compare td { border: 0; padding: 4px 0; }
    .bg-navy .compare tr, .bg-night .compare tr { border-top-color: var(--line-dark); }
    .cases { grid-auto-columns: 84%; }
}
@media print { .site-header, .site-footer, .closing { display: none !important; } }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-grid .case { min-height: 360px; }
@media (max-width: 1020px) { .case-grid { grid-template-columns: 1fr; } .case-grid .case { min-height: 0; } }
.mt { margin-top: 28px; }
.model-cards.two-up { grid-template-columns: 1fr 1fr; margin-top: 28px; }
.split .case { min-height: 0; }
@media (max-width: 640px) { .model-cards.two-up { grid-template-columns: 1fr; } }
/* Model cards on dark sections */
.bg-night .model-card, .bg-navy .model-card { background: var(--night-2); border-color: var(--line-dark); color: var(--on-dark); }
.bg-night .model-card h3, .bg-navy .model-card h3 { color: #fff; }
.bg-night .model-card .when, .bg-navy .model-card .when { color: var(--sea); }
.bg-night .model-card li, .bg-navy .model-card li { border-top-color: var(--line-dark); color: #fff; }
.bg-night .model-card.feature, .bg-navy .model-card.feature { background: var(--teal); border-color: var(--teal); color: var(--night); }
.bg-night .model-card.feature h3, .bg-night .model-card.feature .when, .bg-night .model-card.feature li,
.bg-navy .model-card.feature h3, .bg-navy .model-card.feature .when, .bg-navy .model-card.feature li { color: var(--night); }
.bg-night .model-card.feature li, .bg-navy .model-card.feature li { border-top-color: rgba(21,23,47,.2); }
.bg-night .model-card.feature li::before, .bg-navy .model-card.feature li::before { background: var(--night); }
.bg-night .model-card.feature .text-link, .bg-navy .model-card.feature .text-link { color: var(--night); text-decoration-color: var(--night); }

/* Products page */
.product-feature { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 72px; padding: clamp(44px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.product-feature.first { border-top: 2px solid var(--navy); }
.product-feature h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.045em; line-height: .95; }
.product-feature .kind { margin-top: 12px; font-weight: 700; color: var(--teal-ink); }
.pf-proof { margin-top: 32px; padding: 20px 22px; background: var(--mist); border-radius: var(--radius); font-size: .95rem; max-width: 22em; }
.pf-proof span { display: block; font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; letter-spacing: -0.04em; color: var(--navy); margin-bottom: 6px; }
.pf-text { font-size: 1.15rem; color: var(--navy); max-width: 34em; }
.pf-body ul { list-style: none; margin: 24px 0 32px; }
.pf-body li { padding: 8px 0 8px 22px; position: relative; }
.pf-body li::before { content: ''; position: absolute; left: 0; top: 20px; width: 10px; height: 2px; background: var(--teal); }
@media (max-width: 760px) { .product-feature { grid-template-columns: 1fr; } }
.spaced-xl { margin-top: clamp(56px, 7vw, 96px); }
.where { margin-top: 28px; color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.where span { font-family: var(--text); font-weight: 400; font-size: .95rem; color: var(--teal-ink); letter-spacing: 0; }
@media (max-width: 640px) { .loop-tags { display: none; } .hero-visual { margin: 8px -10px 0; width: calc(100% + 20px); } .loop-label { font-size: 30px; } }

/* ==========================================================================
   LIGHT THEME (site-wide). Navy is used for text and buttons only.
   ========================================================================== */
:root { --tint: #e7f4f1; --tint-line: #cbe5e0; }
.bg-tint { background: var(--tint); }
.bg-tint .feature-grid > div, .bg-tint .tick-list li { border-top-color: var(--tint-line); }
.bg-tint .steps li::before { background: var(--tint); }
.bg-tint .compare td { border-top-color: var(--tint-line); }

/* Buttons: one primary style */
.btn-teal, .btn-light { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-teal:hover, .btn-light:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }

/* Header and nav CTA */
.nav-links .nav-cta a { background: var(--navy); color: #fff; }

/* Home hero, light */
.hero { background: linear-gradient(180deg, #fff 0%, #f3f8f7 100%); color: var(--graphite); border-bottom: 1px solid var(--line); }
.hero h1 { color: var(--navy); }
.hero .lede { color: var(--graphite); }
.hero-actions .text-link { color: var(--navy); }
.loop-base { stroke: rgba(34,36,71,.06); }
.loop-tech { stroke: var(--navy); opacity: .85; }
.loop-pulse.white { fill: var(--navy); }
.loop-tag { fill: var(--navy); }
.loop-tag-bg { fill: #fff; stroke: var(--line); }
.hero .loop-label[fill="#ffffff"] { fill: var(--navy); }
.hero-stats { border-top-color: var(--line); }
.hero-stats li + li { border-left-color: var(--line); }
.hero-stats .num { color: var(--navy); }
.hero-stats .num em { color: var(--teal); }
@media (max-width: 1020px) { .hero-stats li:nth-child(n+3) { border-top-color: var(--line); } }

/* Inner page hero, light */
.page-hero { background: linear-gradient(180deg, #fff 0%, #f3f8f7 100%); color: var(--graphite); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--navy); }
.page-hero .lede { color: var(--graphite); }
.page-hero .text-link { color: var(--navy); }
.page-hero-mark { opacity: .07; }
.crumbs { color: var(--soft); }
.crumbs a { color: var(--navy); }
.hero-facts { border-top-color: var(--line); }
.hero-facts strong { color: var(--navy); }

/* Engagement scale, light */
.bg-tint .scale-ends { color: var(--soft); }
.scale::before { background: linear-gradient(90deg, rgba(34,36,71,.25), var(--teal)); }
.scale-item::before { background: var(--tint); }
.scale-item .when { color: var(--teal-ink); }
.scale-item ul { border-top-color: var(--tint-line); }
.scale-item li { color: var(--navy); border-bottom-color: var(--tint-line); }
.scale-ends { color: var(--soft); }

/* Case stories */
.case.tint { background: var(--tint); border-color: var(--tint-line); }
.case.tint .fix { border-top-color: var(--tint-line); }
.case.tint:hover { border-color: var(--teal); }

/* Model cards: highlighted card uses a teal frame, not a dark fill */
.model-card.feature { background: var(--tint); border-color: var(--teal); box-shadow: inset 0 4px 0 var(--teal); color: var(--graphite); }
.model-card.feature h3 { color: var(--navy); }
.model-card.feature .when { color: var(--teal-ink); }
.model-card.feature li { border-top-color: var(--tint-line); color: var(--navy); }
.bg-tint .model-card { background: #fff; border-color: var(--tint-line); }
.bg-tint .model-card.feature { background: #fff; border-color: var(--teal); }

/* Dual practice panels */
.dual { border: 1px solid var(--line); }
.dual .tech { background: #fff; }
.dual .tech h3 { color: var(--navy); }
.dual .tech li { color: var(--navy); border-top-color: var(--line); }
.dual .who { color: var(--teal-ink); }
.dual .rev { background: var(--tint); color: var(--graphite); border-left: 1px solid var(--line); }
.dual .rev h3 { color: var(--navy); }
.dual .rev .who { color: var(--teal-ink); }
.dual .rev li { border-top-color: var(--tint-line); color: var(--navy); }
.dual .rev li::before { background: var(--teal); }
.bg-tint .dual { border-color: var(--tint-line); }
@media (max-width: 1020px) { .dual .rev { border-left: 0; border-top: 1px solid var(--line); } }

/* Closing call to action */
.closing { background: var(--tint); color: var(--graphite); border-top: 1px solid var(--tint-line); }
.closing h2 { color: var(--navy); }
.closing .lede { color: var(--graphite); }
.closing-actions a.mail { color: var(--navy); }
.closing-mark { opacity: .08; }

/* Footer */
.site-footer { background: #fff; color: var(--graphite); border-top: 1px solid var(--line); }
.site-footer h2 { color: var(--navy); }
.footer-brand a { color: var(--navy); }
.footer-brand a:hover { color: var(--teal-ink); }
.site-footer li a { color: var(--graphite); }
.site-footer li a:hover { color: var(--teal-ink); }
.site-footer li span { color: #8a9195; }
.socials a { border-color: var(--line); color: var(--navy); }
.footer-bottom { border-top-color: var(--line); color: #8a9195; }
.footer-bottom a { color: var(--soft); }
.footer-bottom a:hover { color: var(--navy); }

/* Legal pages */
.policy-hero { background: linear-gradient(180deg, #fff 0%, #f3f8f7 100%); color: var(--graphite); border-bottom: 1px solid var(--line); }
.policy-hero h1 { color: var(--navy); }
.policy-meta-card { border-top-color: var(--line); }
.meta-group h4 { color: var(--soft); }
.meta-group p, .meta-ventures { color: var(--navy); }
.btn-print { color: var(--navy); border-color: #b6c1c0; }
.btn-print:hover { background: var(--navy); color: #fff; }

/* Kicker on tint */
.bg-tint .kicker { color: var(--teal-ink); }

/* Separate neighbouring tinted sections */
.bg-mist, .bg-tint { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-mist + .bg-tint, .bg-tint + .bg-mist, .bg-mist + .bg-mist, .bg-tint + .bg-tint { border-top: 0; }
.bg-tint { background: #e4f3ef; }

/* Closing call to action as a card on white */
.closing { background: #fff; border-top: 0; padding-top: calc(var(--space) * .6); }
.closing-mark { display: none; }
.closing-grid { width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap); padding: clamp(36px, 5vw, 68px); background: var(--navy); border-radius: 12px; position: relative; overflow: hidden; }
.closing-grid::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 420px; height: 300px; background: url('../images/mark-mono.svg') no-repeat center / contain; opacity: .08; pointer-events: none; }
.closing h2 { color: #fff; }
.closing .lede { color: rgba(255,255,255,.78); }
.closing-actions { position: relative; z-index: 1; color: rgba(255,255,255,.78); }
.closing-actions a.mail { color: #fff; }
.closing .btn { background: var(--teal); border-color: var(--teal); color: var(--night); }
.closing .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
/* Keep the closing card light, as agreed: navy only for text and buttons */
.closing-grid { background: linear-gradient(135deg, #e4f3ef 0%, #f3f8f7 100%); border: 1px solid var(--tint-line); }
.closing-grid::after { background-image: url('../images/mark.svg'); opacity: .1; }
.closing h2 { color: var(--navy); }
.closing .lede { color: var(--graphite); }
.closing-actions { color: var(--graphite); }
.closing-actions a.mail { color: var(--navy); }
.closing .btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.closing .btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
