/* ==========================================================================
   Glass House PR website, November 2026 redesign
   Square content geometry, serif headings and full width color bands,
   modelled on the structure of leading global communications firms and
   built on the existing Glass House PR colors. Buttons stay pill shaped.
   Every other corner is square (validate.py checks this).
   ========================================================================== */

/* ---------- Fonts ---------- */
/* One typeface for the whole site: Manrope, self hosted (SIL Open Font License) */
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-var.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
/* Arial, adjusted to Manrope's proportions so text does not jump when the font loads */
@font-face {
    font-family: "Manrope Fallback";
    src: local("Arial");
    size-adjust: 104%;
    ascent-override: 102%;
    descent-override: 29%;
    line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
    /* Brand (unchanged Glass House colors) */
    --brand: #0077bb;
    --brand-strong: #00639e;
    --brand-deep: #005687;
    --brand-bright: #1593d1;
    --brand-tint: rgba(0, 119, 187, 0.08);
    --brand-tint-2: rgba(0, 119, 187, 0.14);

    /* Text */
    --text-1: rgba(12, 18, 25, 0.92);
    --text-2: rgba(12, 18, 25, 0.68);
    --text-3: rgba(12, 18, 25, 0.6);
    --text-inv-1: rgba(255, 255, 255, 0.96);
    --text-inv-2: rgba(255, 255, 255, 0.76);
    --text-inv-3: rgba(255, 255, 255, 0.58);

    /* Surfaces */
    --bg: #ffffff;
    --bg-soft: #f7f8f7;
    /* Dark surfaces are a deep shade of the brand blue, not black */
    --ink: #06304b;
    --ink-2: #0a3d5e;
    --line: rgba(12, 18, 25, 0.12);
    --line-strong: rgba(12, 18, 25, 0.22);
    --line-inv: rgba(255, 255, 255, 0.16);
    --error: #b42318;

    /* Geometry: content is square, buttons are pills */
    --r-pill: 999px;

    /* Type */
    --font-sans: "Manrope", "Manrope Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: var(--font-sans);   /* headings and large numbers, set in semibold */

    /* Layout */
    --container: 1320px;
    --gutter: 32px;
    --strip-h: 36px;
    --bar-h: 76px;
    --header-h: calc(var(--strip-h) + var(--bar-h));
    --section-y: 88px;

    /* Effects */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --shadow-card: 0 20px 50px rgba(12, 18, 25, 0.16);
    --panes: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
             linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

@media (max-width: 1023px) {
    :root { --bar-h: 68px; --section-y: 88px; --gutter: 28px; }
}
@media (max-width: 767px) {
    :root { --strip-h: 32px; --bar-h: 60px; --section-y: 52px; --gutter: 20px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-1);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; }
address { font-style: normal; }
cite { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: rgba(0, 119, 187, 0.2); }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.hero-slider :focus-visible,
.page-hero :focus-visible,
.band :focus-visible,
.mega-primary :focus-visible { outline-color: #ffffff; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--brand-tint); }
.section-ink { background: var(--ink); color: var(--text-inv-1); }
.section-ink .section-sub,
.section-ink p { color: var(--text-inv-2); }
.section-tight { padding-block: calc(var(--section-y) * 0.6); }
.section-blue { background: linear-gradient(118deg, var(--brand) 0%, var(--brand-strong) 52%, var(--brand-deep) 100%); }
.section-blue .section-sub, .section-blue p { color: rgba(255, 255, 255, 0.88); }
.section-ink.section-blue .eyebrow { color: #e3f2fb; }
.section-blue .stat-tile { background: rgba(255, 255, 255, 0.12); }
.section-blue .stat-tile:nth-child(2) { background: rgba(255, 255, 255, 0.17); }
.section-blue .stat-tile:nth-child(3) { background: rgba(255, 255, 255, 0.22); }
.section-blue .feature-cover::before { background: rgba(255, 255, 255, 0.22); }

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.section-head-row .section-head { margin-bottom: 0; }
.section-sub { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.section-foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Typography ---------- */
.eyebrow {
    margin-bottom: 14px;
    font: 700 13px/1.3 var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}
.eyebrow-light,
.section-ink .eyebrow { color: #7cc4ec; }

.display {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -0.028em;
}
.h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.026em;
}
.h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.022em;
}
.h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.3;
    letter-spacing: -0.014em;
}
/* No italics anywhere: emphasis is carried by weight, and by color inside headings */
em, i { font-style: normal; }
em { font-weight: 600; }
.display em, .h1 em, .h2 em, .h3 em { color: var(--brand); }
.band .display em, .page-hero .h1 em, .section-ink .h2 em { color: #a9daf5; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.65; color: var(--text-2); }
.body-lg { font-size: 17px; line-height: 1.75; color: var(--text-2); }
.body-lg + .body-lg { margin-top: 18px; }
.muted { color: var(--text-3); }
.nowrap { white-space: nowrap; }

.band-stat dd, .stat-tile dd, .stat-row dd, .finding-stats dd, .chart-value { letter-spacing: -0.025em; }

/* ---------- Buttons and links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 28px;
    border: 2px solid transparent;
    border-radius: var(--r-pill);
    font: 600 13px/1.1 var(--font-sans);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #ffffff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-white { background: #ffffff; color: var(--brand-deep); }
.btn-white:hover { background: #e3f0f8; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #ffffff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.85); color: #ffffff; background: transparent; }
.btn-outline-light:hover { background: #ffffff; color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 20px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font: 600 14px/1.3 var(--font-sans);
    color: var(--text-1);
    text-decoration: none;
}
.long-arrow {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 10px;
    flex: none;
    transition: width 0.3s var(--ease);
}
.long-arrow::before {
    content: "";
    position: absolute;
    left: 0; right: 1px; top: 50%;
    height: 1.5px;
    margin-top: -0.75px;
    background: currentColor;
}
.long-arrow::after {
    content: "";
    position: absolute;
    right: 1px; top: 50%;
    width: 8px; height: 8px;
    margin-top: -4px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.link-arrow:hover .long-arrow,
a:hover .link-arrow .long-arrow,
a:focus-visible .link-arrow .long-arrow { width: 54px; }
.link-arrow-light { color: #ffffff; }

.text-link {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.text-link:hover { color: var(--brand-strong); }
.section-ink .text-link,
.text-link-light { color: #ffffff; }

/* ---------- Header: contact strip ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
}

.topbar {
    height: var(--strip-h);
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
    font-size: 13px;
    line-height: 1;
}
.topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-inline: 24px;
}
.topbar-tag { margin: 0; letter-spacing: 0.02em; white-space: nowrap; }
@media (max-width: 899px) { .topbar-tag { display: none; } .topbar-inner { justify-content: flex-end; } }
.topbar-contacts { display: flex; align-items: center; gap: 28px; }
.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-1);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}
.topbar-link svg { width: 14px; height: 14px; color: var(--brand); flex: none; }
/* Over a dark hero the strip is clear with white text; with the menu open it joins the dark bar */
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .topbar { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.86); }
.site-header.menu-open .topbar { background: var(--ink); border-color: var(--line-inv); color: rgba(255, 255, 255, 0.86); }
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .topbar-link,
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .topbar-link svg,
.site-header.menu-open .topbar-link,
.site-header.menu-open .topbar-link svg { color: #ffffff; }
.topbar-link:hover .label-full,
.topbar-link:hover .label-short { text-decoration: underline; text-underline-offset: 3px; }
.label-short { display: none; }

/* ---------- Header: main bar ---------- */
.bar {
    position: relative;
    height: var(--bar-h);
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.menu-block {
    width: var(--bar-h);
    flex: none;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: var(--brand);
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s var(--ease);
}
.menu-block:hover { background: var(--brand-strong); }
.menu-icon { position: relative; display: block; width: 26px; height: 18px; }
.menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 8px; }
.menu-icon span:nth-child(3) { top: 16px; }

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    color: var(--ink);
    text-decoration: none;
    font: 700 17px/1 var(--font-sans);
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}
.brand-logo { width: auto; height: 34px; }
.brand-logo-light { display: none; }

.primary-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.primary-nav ul { display: flex; height: 100%; }
.primary-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    font: 500 15px/1 var(--font-sans);
    color: var(--text-1);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px;
    bottom: calc(50% - 18px);
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.bar-actions { display: flex; align-items: center; gap: 12px; padding: 0 24px 0 12px; margin-left: auto; }

/* Over a dark hero the bar is transparent until the page scrolls (the inline head script sets the classes) */
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .bar {
    background: transparent;
    border-color: transparent;
}
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .brand,
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .primary-nav a { color: #ffffff; }
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .brand-logo-dark,
.site-header.menu-open .brand-logo-dark { display: none; }
.js .site-header.is-overlay:not(.is-solid):not(.menu-open) .brand-logo-light,
.site-header.menu-open .brand-logo-light { display: block; }
.js .site-header.is-solid .bar { box-shadow: 0 1px 0 var(--line); }

/* Menu open: the bar turns ink and the menu block turns into a close button */
.site-header.menu-open .bar { background: var(--ink); border-color: var(--ink); }
.site-header.menu-open .brand,
.site-header.menu-open .primary-nav a { color: #ffffff; }
.site-header.menu-open .menu-block { background: var(--ink-2); }
.site-header.menu-open .menu-icon span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.site-header.menu-open .menu-icon span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-icon span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

html.menu-locked { overflow: hidden; }

/* ---------- Mega menu ---------- */
.mega {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 55;
}
.mega[hidden] { display: none; }
.mega-scrim {
    position: absolute;
    inset: 0;
    background: rgba(4, 36, 58, 0.6);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.mega.is-open .mega-scrim { opacity: 1; }

.mega-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(270px, 340px) minmax(0, 1fr) minmax(300px, 380px);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #ffffff;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.mega.is-open .mega-panel { opacity: 1; transform: none; }

.mega-primary {
    padding: 22px 0 32px;
    background: var(--ink);
    color: #ffffff;
}
.mega-row { display: flex; align-items: stretch; }
.mega-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 28px;
    font: 500 17px/1.3 var(--font-sans);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.mega-link svg { width: 18px; height: 18px; flex: none; color: #7cc4ec; }
.mega-item:hover > .mega-row .mega-link { background: var(--ink-2); }
.mega-item.is-active > .mega-row .mega-link { background: #ffffff; color: var(--ink); }
.mega-item.is-active > .mega-row .mega-link svg { color: var(--brand); }
.mega-expand { display: none; }
.mega-sub-inline { display: none; }
.mega-cta { margin: 26px 28px 0; }

.mega-groups { position: relative; padding: 36px 44px 44px; }
.mega-group { display: none; }
.mega-group.is-active { display: block; }
.mega-group-title {
    margin-bottom: 12px;
    font: 700 13px/1.3 var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}
.mega-group-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font: 500 16px/1.35 var(--font-sans);
    color: var(--text-1);
    text-decoration: none;
}
.mega-group-list a svg { width: 18px; height: 18px; flex: none; color: var(--brand); transition: transform 0.2s var(--ease); }
.mega-group-list a:hover { color: var(--brand); }
.mega-group-list a:hover svg { transform: translateX(4px); }

.mega-promo { display: flex; flex-direction: column; background: var(--bg-soft); }
.mega-report {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    align-items: center;
    padding: 30px 30px 28px;
    color: var(--text-1);
    text-decoration: none;
}
.mega-report img { width: 96px; height: auto; box-shadow: 0 10px 24px rgba(12, 18, 25, 0.18); }
.mega-report strong { display: block; margin: 6px 0 10px; font: 600 21px/1.2 var(--font-display); }
.mega-report .eyebrow { margin: 0; font-size: 12px; }
.mega-contact {
    margin-top: auto;
    padding: 28px 30px 32px;
    background: var(--ink-2);
    color: var(--text-inv-2);
    font-size: 15px;
}
.mega-contact h2 { margin-bottom: 12px; font: 600 24px/1.2 var(--font-display); color: #ffffff; }
.mega-contact a { display: block; color: #ffffff; font-weight: 600; text-decoration: none; padding: 3px 0; }
.mega-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega-contact address { margin-top: 10px; line-height: 1.55; }

/* ---------- Hero slider ---------- */
.hero-slider {
    position: relative;
    padding-top: var(--header-h);
    background: var(--ink);
    color: #ffffff;
    overflow: hidden;
}
.slides { display: grid; }
.slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, calc(86vh - var(--header-h)), 720px);
    padding-block: 64px 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
    background:
        radial-gradient(90% 120% at 85% 20%, rgba(0, 119, 187, 0.55), transparent 60%),
        linear-gradient(115deg, var(--ink) 0%, var(--ink-2) 45%, var(--brand-deep) 140%);
}
.slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s var(--ease), visibility 0s;
}
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--panes);
    background-size: 96px 96px;
    background-position: right top;
    -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%);
    mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%);
    pointer-events: none;
}
.slide-bg { position: absolute; inset: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 36, 58, 0.92) 0%, rgba(4, 36, 58, 0.7) 45%, rgba(0, 86, 135, 0.35) 100%);
}

/* Photographs: large ones fill the slide, mid sized ones fill its right half */
.slide-photo { position: absolute; inset: 0; overflow: hidden; }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; }
.slide-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 36, 58, 0.72) 0%, rgba(4, 36, 58, 0) 30%),
        linear-gradient(0deg, rgba(4, 36, 58, 0.8) 0%, rgba(4, 36, 58, 0) 40%),
        linear-gradient(90deg, rgba(4, 36, 58, 0.97) 0%, rgba(4, 36, 58, 0.9) 36%, rgba(4, 36, 58, 0.42) 64%, rgba(4, 36, 58, 0.12) 100%);
}
.slide-photo-half { left: 50%; }
.slide-photo-half::after {
    background:
        linear-gradient(0deg, rgba(4, 36, 58, 0.6) 0%, rgba(4, 36, 58, 0) 36%),
        linear-gradient(90deg, #083856 0%, rgba(8, 56, 86, 0.4) 26%, rgba(0, 86, 135, 0.1) 100%);
}
.slide-photo-panes::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.55) calc(50% - 1px), rgba(255, 255, 255, 0.55) calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(180deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.55) calc(50% - 1px), rgba(255, 255, 255, 0.55) calc(50% + 1px), transparent calc(50% + 1px));
    pointer-events: none;
}

.slide-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}
.slide-copy { max-width: 620px; }
.slide-copy .eyebrow { color: #7cc4ec; }
.slide-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 1.35rem + 1.9vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.026em;
    color: #ffffff;
}
.slide-text { margin-top: 20px; max-width: 540px; font-size: 18px; line-height: 1.65; color: var(--text-inv-2); }
.slide-copy .btn-row { margin-top: 32px; }

.slide-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; }

.visual-portrait { position: relative; width: min(100%, 360px); }
.visual-portrait::before {
    content: "";
    position: absolute;
    width: 62%;
    aspect-ratio: 1;
    right: -28px;
    bottom: -28px;
    background: var(--brand);
}
.visual-portrait img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
}

.visual-cover { position: relative; width: min(100%, 300px); }
.visual-cover::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.visual-cover img { position: relative; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }

.visual-awards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    width: min(100%, 470px);
}
.award-tile {
    display: grid;
    place-items: center;
    aspect-ratio: 1.45;
    padding: 22px;
    background: #ffffff;
    color: var(--ink);
    text-align: center;
}
.award-tile img { width: 100%; max-width: 170px; max-height: 76px; object-fit: contain; }
.award-tile-text { font: 600 22px/1.15 var(--font-display); }
.award-tile-text small { display: block; margin-top: 6px; font: 700 11px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.award-tile-dark { background: var(--brand); color: #ffffff; }
.award-tile-dark small { color: #d6ecf8; }
.award-tile-ink { background: var(--ink-2); }

.visual-photo { position: relative; width: min(100%, 520px); }
.visual-photo::before {
    content: "";
    position: absolute;
    width: 46%;
    aspect-ratio: 1;
    left: -28px;
    bottom: -28px;
    background: var(--brand);
}
.visual-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Glass panes: thin white mullions over an image */
.panes { position: relative; }
.panes::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.7) calc(50% - 1px), rgba(255, 255, 255, 0.7) calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(180deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.7) calc(50% - 1px), rgba(255, 255, 255, 0.7) calc(50% + 1px), transparent calc(50% + 1px));
    pointer-events: none;
}

/* ---------- Statement under the hero ---------- */
.statement { padding-block: calc(var(--section-y) * 0.95) calc(var(--section-y) * 0.45); background: #ffffff; }
.statement-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 32px 80px;
    align-items: center;
}
/* Africa in outline with a star on each country the firm works in. The script names those
   countries one after another, and the one under the pointer (.is-on). */
.statement-map { margin: 0; }
.map-wrap { position: relative; max-width: 560px; margin-inline: auto; }
.africa-map { display: block; width: 100%; height: auto; overflow: visible; }
.map-quiet path { fill: #e9eff4; stroke: #ffffff; stroke-width: 1.6; stroke-linejoin: round; }
.map-lands > * { fill: var(--brand); stroke: #ffffff; stroke-width: 1.6; stroke-linejoin: round; transition: fill 0.45s var(--ease); }
.map-lands > .is-on { fill: var(--ink); }
/* Each star sits in a group moved to its country, so it grows from its own centre */
.map-stars { fill: #ffffff; pointer-events: none; }
.map-stars use { animation: map-twinkle var(--cycle, 16s) var(--ease) infinite; animation-delay: var(--d, 0s); }
.map-stars > .is-on use { animation: none; transform: scale(1.3); }
@keyframes map-twinkle { 0%, 7%, 100% { transform: scale(1); } 3.5% { transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .map-stars use { animation: none; } }
.map-chip {
    position: absolute;
    left: 0; top: 0;
    z-index: 1;
    padding: 7px 12px;
    background: var(--ink);
    color: #ffffff;
    font: 600 13px/1.2 var(--font-sans);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, calc(-100% - 12px));
    transition: opacity 0.3s var(--ease);
}
.map-chip::after {
    content: "";
    position: absolute;
    left: var(--tail, 50%); top: 100%;
    width: 2px; height: 10px;
    margin-left: -1px;
    background: var(--ink);
}
.map-chip.is-on { opacity: 1; }
.statement-map-note { margin-top: 18px; text-align: center; font: 600 12px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.statement .display { position: relative; padding-top: 28px; }
.statement .display::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 56px; height: 3px;
    background: var(--brand);
}
.statement-copy { padding-top: 0; }
.statement-copy .statement-lead { margin-top: 24px; }
.statement-lead { font: 600 clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem)/1.45 var(--font-sans); color: var(--text-1); }
.statement-copy p:not(.statement-lead) { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.statement-copy .btn { margin-top: 28px; }

/* ---------- Positioning band ---------- */
.band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(118deg, var(--brand) 0%, var(--brand-strong) 52%, var(--brand-deep) 100%);
    color: #ffffff;
}
.band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 88px 88px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
    pointer-events: none;
}
.band-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px 72px;
    align-items: center;
    padding-block: 88px 0;
}
.band .display { color: #ffffff; }
.band-statement { font: 600 clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem)/1.42 var(--font-sans); color: #ffffff; }
.band-copy p:not(.band-statement) { margin-top: 18px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.band-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.band-stat { padding: 26px 24px 30px 0; }
.band-stat + .band-stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.28); }
.band-stat dt { font: 600 12px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.band-stat dd { margin-top: 8px; font: 600 clamp(2.25rem, 1.8rem + 1.4vw, 3.25rem)/1 var(--font-display); color: #ffffff; }

/* ---------- Client logos ---------- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.logo-grid li {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 16px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}
.logo-grid img {
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
}
.portfolio-grid { margin-top: 48px; }

/* ---------- Image tiles ---------- */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
}
.tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink);
    color: #ffffff;
    text-decoration: none;
}
.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 36, 58, 0.1) 20%, rgba(4, 36, 58, 0.86) 100%);
    transition: background-color 0.3s var(--ease);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px 28px; }
.tile-index { display: block; font: 600 12px/1 var(--font-sans); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.72); }
.tile-title {
    display: block;
    margin-top: 10px;
    font: 700 17px/1.3 var(--font-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tile-desc {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), margin 0.3s var(--ease);
}
.tile:hover .tile-desc, .tile:focus-visible .tile-desc { max-height: 120px; margin-top: 10px; opacity: 1; }
.tile-go {
    position: absolute;
    right: 0; top: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--brand);
    color: #ffffff;
    transform: translateY(-100%);
    transition: transform 0.3s var(--ease);
}
.tile-go svg { width: 20px; height: 20px; }
.tile:hover .tile-go, .tile:focus-visible .tile-go { transform: none; }
@media (hover: none) {
    .tile-desc { max-height: none; margin-top: 10px; opacity: 1; }
}

/* ---------- Capability tiles (text) ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.cap {
    display: flex;
    flex-direction: column;
    padding: 34px 32px 30px;
    background: var(--bg-soft);
    color: var(--text-1);
    text-decoration: none;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cap-title {
    font: 700 15px/1.35 var(--font-sans);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand);
    transition: color 0.25s var(--ease);
}
.cap-list { margin-top: 16px; display: grid; gap: 7px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.cap .link-arrow { margin-top: auto; padding-top: 22px; }
a.cap:hover { background: var(--brand); color: #ffffff; }
a.cap:hover .cap-title, a.cap:hover .cap-list, a.cap:hover .link-arrow { color: #ffffff; }

/* ---------- Square bullets ---------- */
.square-list { display: grid; gap: 10px; }
.square-list li { position: relative; padding-left: 22px; line-height: 1.55; }
.square-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.58em;
    width: 7px; height: 7px;
    background: var(--brand);
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.card {
    display: flex;
    flex-direction: column;
    color: var(--text-1);
    text-decoration: none;
}
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card-media-contain { display: grid; place-items: center; padding: 28px; background: var(--brand-tint); }
.card-media-contain img { width: auto; height: 100%; max-height: 220px; object-fit: contain; box-shadow: 0 14px 30px rgba(12, 18, 25, 0.16); }
a.card:hover .card-media img { transform: scale(1.04); }
a.card:hover .card-media-contain img { transform: none; }
.card-body { display: flex; flex-direction: column; flex: 1; padding-top: 22px; }
.card-tag {
    font: 700 12px/1.3 var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}
.card-title { margin-top: 10px; font: 600 21px/1.35 var(--font-sans); color: var(--text-1); }
a.card:hover .card-title { color: var(--brand); }
.card-text { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.card-body .link-arrow { margin-top: auto; padding-top: 20px; }
.card-boxed { background: #ffffff; }
.card-boxed .card-body { padding: 24px 26px 28px; }

/* ---------- Research feature ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}
.feature-cover { position: relative; }
.feature-cover::before {
    content: "";
    position: absolute;
    inset: 24px -24px -24px 24px;
    background: var(--brand);
}
.feature-cover img { position: relative; width: 100%; box-shadow: var(--shadow-card); }
.feature-copy .h2 { color: #ffffff; }
.feature-copy .lead { margin-top: 18px; color: var(--text-inv-2); }
.feature-copy .lead em { color: #ffffff; }
.feature-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; }

.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 32px; }
.stat-tile { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px 22px 24px; background: var(--brand); color: #ffffff; }
.stat-tile:nth-child(2) { background: var(--brand-strong); }
.stat-tile:nth-child(3) { background: var(--brand-deep); }
.stat-tile:nth-child(4) { background: var(--ink-2); }
.stat-tile dd { font: 600 clamp(2rem, 1.6rem + 1.2vw, 2.9rem)/1 var(--font-display); }
.stat-tile dt { margin-top: 10px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.stat-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Testimonials ---------- */
.carousel-arrows { display: none; gap: 10px; }
.js .carousel-arrows { display: flex; }
.carousel-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.carousel-btn:hover { background: var(--ink); color: #ffffff; }
.carousel-btn[disabled] { opacity: 0.35; cursor: default; background: #ffffff; color: var(--ink); }
.carousel-btn svg { width: 20px; height: 20px; }

.quote-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 24px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 4px;
}
.js .quote-track { scrollbar-width: none; }
.js .quote-track::-webkit-scrollbar { display: none; }
.quote-card {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    padding: 34px 32px 30px;
    background: #ffffff;
    border-top: 3px solid var(--brand);
}
.quote-text { flex: 1; font-size: 16.5px; line-height: 1.7; color: var(--text-1); }
.quote-text::before {
    content: "\201C";
    display: block;
    height: 34px;
    margin-bottom: 6px;
    font: 600 60px/1 var(--font-display);
    color: var(--brand);
}
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-by img { width: 52px; height: 52px; object-fit: cover; }
.quote-name { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; }
.quote-role { display: block; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }

/* ---------- Newsroom ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.news-feature {
    padding: 36px 36px 38px;
    background: var(--ink);
    color: var(--text-inv-2);
}
.news-feature .eyebrow { color: #7cc4ec; }
.news-feature .h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); color: #ffffff; }
.news-feature p:not(.eyebrow) { margin-top: 14px; }
.news-feature .btn { margin-top: 26px; }
.news-list { display: grid; gap: 2px; }
.news-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 24px;
    align-items: center;
    padding: 22px 26px;
    background: var(--bg-soft);
    border-left: 3px solid var(--brand);
    color: var(--text-1);
    text-decoration: none;
    transition: background-color 0.2s var(--ease);
}
.news-item:hover { background: var(--brand-tint); }
.news-outlet { grid-column: 1; font: 700 12px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.news-title { grid-column: 1; font: 600 17px/1.45 var(--font-sans); }
.news-date { grid-column: 1; font-size: 13.5px; color: var(--text-3); }
.news-item .long-arrow { grid-column: 2; grid-row: 1 / span 3; color: var(--brand); }

/* ---------- Recognition ---------- */
/* --award-cols is set on the list: four tiles in a row, or five when the count fills rows of five */
.award-grid { display: grid; grid-template-columns: repeat(var(--award-cols, 4), minmax(0, 1fr)); gap: 2px; }
.award { display: flex; flex-direction: column; padding: 30px 28px 30px; background: var(--ink-2); }
.award-logo {
    display: grid;
    place-items: center;
    height: 112px;
    margin-bottom: 24px;
    padding: 18px;
    background: #ffffff;
}
.award-logo img { width: auto; max-width: 100%; max-height: 72px; object-fit: contain; }
.award-logo-dark { background: var(--ink); border: 1px solid var(--line-inv); }
/* An award's own banner (file name ending in -banner) fills the tile from edge to edge */
.award-logo-fill { padding: 0; background: var(--ink); }
.award-logo-fill img { max-height: 100%; }
/* A logo taller than it is wide (file name ending in -tall) uses the full height of its space */
.award-logo-tall { padding: 8px 18px; }
.award-logo-tall img { max-height: 96px; }
.award-logo-text { font: 600 26px/1.1 var(--font-display); color: var(--ink); text-align: center; }
.award-title { font: 600 18px/1.4 var(--font-sans); color: #ffffff; }
.award-meta { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-inv-2); }
.award .text-link { margin-top: auto; padding-top: 18px; font-size: 14px; }

.recognition-list { display: grid; grid-template-columns: repeat(var(--award-cols, 4), minmax(0, 1fr)); gap: 2px; }
.recognition-list-lead { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.recognition-tiles { display: contents; }
.recognition-lead { display: flex; align-items: flex-end; padding: 22px 22px 24px; background: var(--brand); }
.recognition-lead .h3 { color: #ffffff; }
.recognition-item { display: flex; flex-direction: column; padding: 22px 22px 24px; background: #ffffff; }
.recognition-item .award-logo { place-items: center start; height: 60px; margin-bottom: 16px; padding: 0; }
.recognition-item .award-logo img { max-height: 46px; }
.recognition-item .award-logo-dark { place-items: center; padding: 8px 12px; border: 0; }
.recognition-item .award-logo-fill { background: none; }
.recognition-item .award-logo-fill img { max-height: 60px; }
.recognition-item .award-logo-tall { padding: 0; }
.recognition-item .award-logo-tall img { max-height: 60px; }
.recognition-item .award-logo-text { font-size: 20px; text-align: left; }
.recognition-item .award-title { font-size: 15.5px; color: var(--text-1); }
.recognition-item .award-meta { margin-top: 6px; font-size: 13.5px; color: var(--text-2); }

/* ---------- People (About: the team and the board) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin: 48px 0 0; padding: 0; list-style: none; }
.person-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--brand); }
.person-media img { width: 100%; height: 100%; object-fit: cover; }
.person-initials { display: grid; place-items: center; width: 100%; height: 100%; font: 600 clamp(2.2rem, 1.6rem + 2vw, 3.4rem)/1 var(--font-display); letter-spacing: 0.02em; color: #ffffff; }
.person-name { margin-top: 16px; font: 700 18px/1.3 var(--font-sans); color: var(--text-1); }
.person-role { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.person-bio { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 1023px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }

/* ---------- Accordions (FAQ and contact) ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 2px; }
.faq-item { background: var(--bg-soft); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    font: 600 17px/1.45 var(--font-sans);
    color: var(--text-1);
    list-style: none;
    cursor: pointer;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 16px; height: 2px;
    background: var(--brand);
    transition: transform 0.25s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
details[open] > summary .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 24px 24px; color: var(--text-2); }
.faq-a p + p { margin-top: 12px; }
.faq-item[open] { background: var(--brand-tint); }

/* ---------- "How can we help?" band ---------- */
.help-band { padding-block: 96px; background: #ffffff; border-top: 1px solid var(--line); text-align: center; }
.help-band .section-sub { max-width: 620px; margin-inline: auto; }
.help-band .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-inv-2); font-size: 15px; }
.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
    gap: 40px;
    padding-block: 76px 60px;
}
.footer-brand p { margin-top: 20px; max-width: 320px; line-height: 1.65; }
.footer-col { min-width: 0; }
.mega-list { display: block; }
.contact-form { display: block; }
.footer-logo { width: 160px; height: auto; }
.footer-col-title {
    margin-bottom: 18px;
    font: 700 12px/1.3 var(--font-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #ffffff; font-weight: 600; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-contact address { margin-bottom: 8px; line-height: 1.6; }
.social-list { display: flex; gap: 8px; margin-top: 26px; }
.social-list a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-inv);
    color: #ffffff;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social-list a:hover { background: var(--brand); border-color: var(--brand); }
.social-list svg { width: 18px; height: 18px; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 32px;
    padding-block: 24px 30px;
    border-top: 1px solid var(--line-inv);
    font-size: 13.5px;
    color: var(--text-inv-3);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding-top: var(--header-h);
    background: var(--ink);
    color: #ffffff;
}
.page-hero-media { position: absolute; inset: 0; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 36, 58, 0.92) 0%, rgba(4, 36, 58, 0.72) 48%, rgba(0, 86, 135, 0.38) 100%);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--panes);
    background-size: 96px 96px;
    background-position: right top;
    -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 70%);
    mask-image: linear-gradient(270deg, #000 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
    align-items: center;
    min-height: 400px;
    padding-block: 72px 88px;
}
.page-hero-copy { max-width: 700px; }
.page-hero .eyebrow { color: #7cc4ec; }
.page-hero .h1 { color: #ffffff; }
.page-hero-lead { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--text-inv-2); }
.page-hero .btn-row { margin-top: 30px; }
.page-hero-visual { display: flex; justify-content: flex-end; }
.page-hero-visual > figure > img { width: min(100%, 540px); aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-plain .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero-compact .page-hero-grid { min-height: 320px; padding-block: 56px 68px; }

.breadcrumbs { margin-bottom: 26px; font-size: 13.5px; color: var(--text-inv-3); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumbs li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.breadcrumbs a { color: #ffffff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Feature card overlapping the bottom edge of a hero */
.hero-feature-row { position: relative; z-index: 3; }
.hero-feature {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    width: min(100%, 520px);
    margin: -84px 0 0 auto;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    color: var(--text-1);
    text-decoration: none;
}
.hero-feature img { width: 132px; height: 100%; object-fit: cover; }
.hero-feature-body { display: flex; flex-direction: column; padding: 22px 24px 24px; }
.hero-feature-body strong { margin-top: 8px; font: 600 23px/1.2 var(--font-display); }
.hero-feature-body span:not(.card-tag):not(.long-arrow) { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.hero-feature .link-arrow { margin-top: 14px; }
.hero-feature:hover strong { color: var(--brand); }
.has-feature + .section, .hero-feature-row + .section { padding-top: calc(var(--section-y) * 0.7); }

/* ---------- Inner page building blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-rev .split-media { order: 2; }
.split-media img { width: 100%; object-fit: cover; }
.split-media-43 img { aspect-ratio: 4 / 3; }
.split-media-45 img { aspect-ratio: 4 / 5; }
.split-copy .h2 + .body-lg, .split-copy .h2 + .lead { margin-top: 20px; }
.split-copy .btn-row, .split-copy .square-list, .split-copy .tag-list { margin-top: 26px; }

/* The About story, set in words alone: the heading on the left under a brand rule, the story on the right */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.story-head { padding-top: 28px; border-top: 3px solid var(--brand); }
.story-copy { padding-top: 28px; border-top: 1px solid var(--line); }
.story-lead { font: 500 24px/1.5 var(--font-sans); color: var(--text-1); text-wrap: pretty; }
.story-lead + .body-lg { margin-top: 24px; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
.intro-lead { font: 600 clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem)/1.45 var(--font-sans); color: var(--text-1); }
.intro-grid .body-lg { margin-top: 20px; }

.box-nav { border: 1px solid var(--line); }
.box-nav-title { padding: 18px 22px 14px; font: 700 12px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.box-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    border-top: 1px solid var(--line);
    font-weight: 600;
    color: var(--brand-deep);
    text-decoration: none;
    transition: background-color 0.2s var(--ease);
}
.box-nav a svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.box-nav a:hover { background: var(--brand-tint); }
.box-nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }

.panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.panel-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { padding: 38px 34px 40px; background: var(--bg-soft); }
.section-soft .panel { background: #ffffff; }
.panel-index { display: block; margin-bottom: 16px; font: 600 12px/1 var(--font-sans); letter-spacing: 0.12em; color: var(--brand); }
.panel-title { font: 600 1.5rem/1.25 var(--font-display); color: var(--text-1); }
.panel-lead { margin-top: 12px; font-weight: 600; color: var(--text-1); }
.panel p { margin-top: 12px; color: var(--text-2); }
.panel .square-list { margin-top: 18px; color: var(--text-2); font-size: 15.5px; }

.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin-top: 44px; }
.offer-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: #ffffff; font-weight: 600; }
.offer-grid li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--brand); }
.offer-grid + .btn-row { margin-top: 24px; gap: 24px; }

.expert-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: var(--bg-soft); }
.expert-card img { width: 150px; height: 100%; min-height: 188px; object-fit: cover; filter: grayscale(1); }
.expert-body { padding: 22px 24px; }
.expert-name { display: block; font: 600 22px/1.2 var(--font-display); }
.expert-role { display: block; margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.expert-body .text-link { display: inline-block; margin-top: 14px; font-size: 14px; }
.aside-stack { display: grid; gap: 24px; }

.doc-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid var(--line);
}
.doc-card svg { width: 32px; height: 32px; color: var(--brand); }
.doc-title { display: block; font-weight: 700; }
.doc-meta { display: block; font-size: 14px; color: var(--text-3); }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-row > div { padding: 26px 24px 28px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-row dt { font: 600 12px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.stat-row dd { margin-top: 8px; font: 600 clamp(2rem, 1.6rem + 1.2vw, 2.9rem)/1 var(--font-display); color: var(--brand-deep); }

.timeline { margin-top: 28px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline b { font: 600 22px/1.2 var(--font-display); color: var(--brand-deep); }
.timeline span { color: var(--text-2); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 10px 16px; border: 1px solid var(--line-strong); background: #ffffff; font-weight: 600; font-size: 15px; }


.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.vm-card { padding: 40px 38px; background: #ffffff; }
.vm-card h3 { margin-bottom: 12px; font: 600 1.6rem/1.2 var(--font-display); }
.vm-card p { color: var(--text-2); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.crisis-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 28px;
    padding: 18px 22px;
    border-left: 3px solid var(--brand);
    background: var(--brand-tint);
    font-weight: 600;
}
.crisis-note a { color: var(--brand-deep); }
.intent-list { display: grid; gap: 2px; }
.intent { background: var(--bg-soft); }
.intent-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    font: 600 15px/1.4 var(--font-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}
.intent-summary::-webkit-details-marker { display: none; }
.intent[open] { background: #ffffff; outline: 1px solid var(--line); }
.intent-body { padding: 4px 26px 30px; }
.intent-intro { margin-bottom: 22px; color: var(--text-2); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-1); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: #f3f7fa;
    font: 16px/1.4 var(--font-sans);
    color: var(--text-1);
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #ffffff; outline: 2px solid var(--brand-tint-2); outline-offset: 0; }
.field-error { display: none; font-size: 13.5px; color: var(--error); }
.has-error input, .has-error textarea, .has-error select { border-color: var(--error); }
.has-error .field-error { display: block; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.form-status { font-weight: 600; color: var(--brand-deep); }
.form-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

.contact-aside { display: grid; gap: 2px; }
.contact-block { padding: 26px 26px 28px; background: var(--ink); color: var(--text-inv-2); }
.contact-block + .contact-block { background: var(--ink-2); }
.contact-block h2 { margin-bottom: 12px; font: 700 12px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: #7cc4ec; }
.contact-block a { display: block; color: #ffffff; font-weight: 600; text-decoration: none; padding: 2px 0; }
.contact-block a:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-frame { display: block; width: 100%; height: 420px; margin-top: 56px; border: 0; filter: grayscale(0.2); }

/* ---------- Research and report pages ---------- */
.report-tabs-wrap { position: sticky; top: var(--header-h); z-index: 20; background: #ffffff; border-bottom: 1px solid var(--line); }
.report-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.report-tabs::-webkit-scrollbar { display: none; }
.report-tab {
    flex: none;
    padding: 18px 22px 15px;
    border-bottom: 3px solid transparent;
    font: 600 14px/1.3 var(--font-sans);
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
}
.report-tab:hover { color: var(--brand); }
.report-tab[aria-current="page"] { border-color: var(--brand); color: var(--brand); }

.brief { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.brief-answer { font: 600 clamp(1.35rem, 1.15rem + 0.6vw, 1.75rem)/1.45 var(--font-display); color: var(--text-1); }
.brief-checked { margin-top: 16px; font-size: 14px; color: var(--text-3); }

.findings { position: relative; overflow: hidden; background: linear-gradient(118deg, var(--brand) 0%, var(--brand-strong) 55%, var(--brand-deep) 100%); color: #ffffff; }
.findings::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 88px 88px;
    pointer-events: none;
}
.findings .container { position: relative; }
.findings .h2 { color: #ffffff; }
.findings .eyebrow { color: #d6ecf8; }
.finding-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; counter-reset: finding; }
.finding { position: relative; padding: 32px 32px 30px 96px; background: rgba(4, 36, 58, 0.3); }
.finding::before {
    counter-increment: finding;
    content: counter(finding, decimal-leading-zero);
    position: absolute;
    left: 30px; top: 28px;
    font: 600 36px/1 var(--font-display);
    color: #ffffff;
}
.finding h3 { font: 600 19px/1.4 var(--font-sans); }
.finding p { margin-top: 10px; color: rgba(255, 255, 255, 0.86); font-size: 15.5px; }
.finding-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.finding-stats div { padding: 10px 14px; background: rgba(255, 255, 255, 0.12); }
.finding-stats dd { font: 600 24px/1 var(--font-display); }
.finding-stats dt { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.84); }
.finding-source { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: rgba(255, 255, 255, 0.76); }
.finding-source a { color: #ffffff; font-weight: 600; }

.chapter-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.chapter-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
    background: var(--bg-soft);
    color: var(--text-1);
    text-decoration: none;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chapter-meta { font: 600 12px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.chapter-title { margin-top: 14px; font: 600 24px/1.2 var(--font-display); }
.chapter-lede { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.chapter-card .link-arrow { margin-top: auto; padding-top: 20px; }
a.chapter-card:hover { background: var(--brand); color: #ffffff; }
a.chapter-card:hover .chapter-meta, a.chapter-card:hover .chapter-lede, a.chapter-card:hover .link-arrow { color: #ffffff; }

.method-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.method-body p + p { margin-top: 14px; }
.method-body h3 { margin: 30px 0 12px; font: 700 13px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.method-body .tag-list li { font-size: 14px; padding: 8px 12px; }
.method-note { margin-top: 10px; font-size: 14px; color: var(--text-3); }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a {
    display: inline-flex;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.toc a:hover { background: #ffffff; color: var(--ink); }

.part-label { font: 600 12px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.part-intro { margin-top: 14px; max-width: 760px; color: var(--text-2); font-size: 17px; }

.chart { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; }
.chart-title { font: 600 1.45rem/1.3 var(--font-display); max-width: 760px; }
.chart-page { font-size: 13px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.chart-base { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.chart-rows { margin-top: 22px; display: grid; gap: 2px; }
.chart-row {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr) 72px;
    gap: 18px;
    align-items: center;
    padding: 10px 0;
}
.chart-label { font-size: 15px; line-height: 1.45; }
.chart-bar { height: 16px; background: var(--brand-tint); }
.chart-bar i { display: block; height: 100%; background: var(--brand); transform-origin: left center; }
.js .chart.reveal .chart-bar i { transform: scaleX(0); transition: transform 0.9s var(--ease); }
.js .chart.reveal.is-visible .chart-bar i { transform: scaleX(1); }
.chart-value { font: 600 20px/1 var(--font-display); color: var(--brand-deep); text-align: right; }
.chart-summary { margin-top: 18px; max-width: 820px; color: var(--text-1); }
.chart-note { margin-top: 8px; max-width: 820px; font-size: 14px; color: var(--text-3); }

.theme-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 56px; padding: 40px; background: #ffffff; }
.section-soft .theme-block { background: #ffffff; }
.theme-block blockquote { margin-top: 20px; padding-left: 18px; border-left: 3px solid var(--brand); font: 500 20px/1.45 var(--font-display); }
.theme-block blockquote + p { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.theme-list { display: grid; gap: 14px; counter-reset: theme; }
.theme-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; }
.theme-list li::before { counter-increment: theme; content: counter(theme); grid-row: span 2; font: 600 22px/1.1 var(--font-display); color: var(--brand); }
.theme-list strong { font-weight: 700; }
.theme-list span { color: var(--text-2); font-size: 15.5px; }
.theme-source { margin-top: 18px; font-size: 14px; color: var(--text-3); }

.advice-list { display: grid; gap: 2px; margin-top: 36px; }
.advice { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 32px; background: var(--bg-soft); }
.section-soft .advice { background: #ffffff; }
.advice h3 { font: 600 1.4rem/1.3 var(--font-display); }
.advice dl { display: grid; gap: 16px; }
.advice dt { font: 700 12px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.advice dd { margin-top: 4px; color: var(--text-2); }
.advice dd .square-list { margin-top: 4px; }

.citation { padding: 24px 26px; border-left: 3px solid var(--brand); background: var(--bg-soft); }
.citation p { font: 500 19px/1.5 var(--font-display); }
.citation span { display: block; margin-bottom: 8px; font: 700 12px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.source-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.source-grid .body-lg { margin-top: 14px; }
.source-grid .btn-row { margin-top: 24px; }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin-top: 56px; }
.pager a { display: grid; gap: 6px; padding: 26px 28px; background: var(--ink); color: #ffffff; text-decoration: none; transition: background-color 0.2s var(--ease); }
.pager a:last-child { text-align: right; }
.pager a:hover { background: var(--brand); }
.pager span { font: 600 12px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-inv-3); }
.pager strong { font: 600 22px/1.25 var(--font-display); }

.report-cover-visual { display: flex; justify-content: flex-end; }
.report-cover-visual .visual-cover { width: min(100%, 290px); }

/* ---------- Work: homepage feature, case study tiles and case study pages ---------- */
.tile-grid.mosaic { gap: 0; }
.tile-grid-compact .tile { aspect-ratio: 3 / 2; }
.work-tile[hidden] { display: none; }
.work-tile .tile-index { letter-spacing: 0.08em; text-transform: uppercase; }
.tile-plain { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); }
.tile-plain::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--panes);
    background-size: 64px 64px;
}
.tile-plain::after { background: linear-gradient(180deg, rgba(4, 36, 58, 0) 30%, rgba(4, 36, 58, 0.5) 100%); }
.tile-cta {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-column: span var(--span-wide, 1);
    min-height: 220px;
    padding: 26px 28px;
    aspect-ratio: auto;
    background: var(--ink);
}
.tile-cta::after { display: none; }
.tile-cta .tile-title { margin-top: 0; font: 600 1.5rem/1.25 var(--font-display); letter-spacing: 0; text-transform: none; }
.tile-cta .link-arrow { margin-top: 16px; }

.work-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    background: var(--ink);
    color: #ffffff;
    text-decoration: none;
}
.work-lead-media { position: relative; min-height: 410px; overflow: hidden; }
.work-lead-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.work-lead:hover .work-lead-media img, .work-lead:focus-visible .work-lead-media img { transform: scale(1.03); }
.work-lead-body {
    display: flex;
    flex-direction: column;
    padding: 44px 44px 40px;
    background-image: var(--panes);
    background-size: 96px 96px;
}
.work-lead .card-tag { color: #7cc4ec; }
.work-lead-client { margin-top: 14px; font: 600 clamp(2rem, 1.5rem + 1.4vw, 2.75rem)/1.08 var(--font-display); letter-spacing: -0.026em; }
.work-lead-title { margin-top: 14px; font: 600 19px/1.4 var(--font-sans); }
.work-lead-text { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--text-inv-2); }
.work-lead .link-arrow { margin-top: auto; padding-top: 28px; }

.work-track-head { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin: 56px 0 24px; }
.work-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 24px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 4px;
}
.js .work-track { scrollbar-width: none; }
.js .work-track::-webkit-scrollbar { display: none; }
.work-card {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    background: #ffffff;
    color: var(--text-1);
    text-decoration: none;
}
.work-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .work-card-media img { transform: scale(1.04); }
.work-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.work-card-client { margin-top: 10px; font: 600 1.5rem/1.2 var(--font-display); letter-spacing: -0.018em; transition: color 0.2s var(--ease); }
.work-card:hover .work-card-client { color: var(--brand); }
.work-card-body .link-arrow { margin-top: auto; padding-top: 20px; }

.filter-row { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.js .filter-row { display: flex; }
.filter-btn {
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: #ffffff;
    font: 600 14px/1.3 var(--font-sans);
    color: var(--text-1);
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #ffffff; }

.case-facts {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.case-facts > div { padding: 22px 24px 24px 0; }
.case-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.case-facts dt { font: 600 12px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.case-facts dd { margin-top: 8px; font-weight: 600; line-height: 1.5; }
.case-facts a { color: var(--brand-deep); text-underline-offset: 3px; }
.case-facts a:hover { color: var(--brand); }
.stat-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-stats { margin-top: 40px; }
.case-rows { margin-top: 72px; }
.case-row {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
    gap: 48px;
    padding-block: 48px;
    border-top: 1px solid var(--line);
}
.case-row:first-child { padding-top: 0; border-top: 0; }
.case-row:last-child { padding-bottom: 0; }
.case-label { font: 600 clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem)/1.15 var(--font-display); color: var(--brand-deep); }
.case-text { max-width: 780px; }
.case-steps { display: grid; gap: 28px; counter-reset: step; }
.case-steps li { position: relative; padding-left: 56px; counter-increment: step; }
.case-steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 3px;
    font: 600 12px/1.6 var(--font-sans);
    letter-spacing: 0.12em;
    color: var(--brand);
}
.case-step-title { font: 700 17px/1.4 var(--font-sans); }
.case-steps p { margin-top: 6px; line-height: 1.7; color: var(--text-2); }
.case-results { gap: 14px; font-size: 17px; }
.case-gallery, .case-gallery-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.case-gallery-1 { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.case-gallery-2, .case-gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-gallery figure { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; }
.case-gallery-5 figure:first-child { position: relative; grid-column: span 2; aspect-ratio: auto; }
.case-gallery-5 figure:first-child img { position: absolute; inset: 0; }

@media (max-width: 1023px) {
    .work-lead { grid-template-columns: minmax(0, 1fr); }
    .work-lead-media { min-height: 0; aspect-ratio: 16 / 9; }
    .work-track { grid-auto-columns: calc((100% - 24px) / 2); }
    .case-row { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 40px; }
    .case-facts { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .case-facts > div, .case-facts > div + div { padding: 18px 16px 20px 0; border-left: 0; }
    .case-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .case-rows { margin-top: 56px; }
    .case-gallery, .case-gallery-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .case-gallery-5 figure:first-child { aspect-ratio: 3 / 1; }
    .tile-cta { grid-column: span var(--span-mid, 1); }
}
@media (max-width: 767px) {
    .work-lead-body { padding: 28px 22px 30px; }
    .work-track-head { margin-top: 40px; }
    .work-track { grid-auto-columns: 86%; gap: 16px; }
    .case-facts { grid-template-columns: minmax(0, 1fr); }
    .case-facts > div + div { border-top: 1px solid var(--line); }
    .case-gallery, .case-gallery-2, .case-gallery-4, .case-gallery-5 { grid-template-columns: minmax(0, 1fr); }
    .case-gallery-5 figure:first-child { grid-column: auto; aspect-ratio: 3 / 2; }
    .case-steps li { padding-left: 40px; }
    .tile-cta { grid-column: auto; }
}

/* ---------- Newsroom: listings, article and press release pages ---------- */
.news-grid-single { grid-template-columns: minmax(0, 1fr); }
.filter-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.filter-nav-topics { margin-bottom: 40px; }
.filter-nav:last-of-type { margin-bottom: 40px; }
a.filter-btn, span.filter-btn { display: inline-flex; align-items: center; text-decoration: none; }
span.filter-btn { cursor: default; }
.filter-chip { padding: 7px 12px; font-size: 13px; background: var(--bg-soft); border-color: var(--line); }
.filter-label { margin-right: 6px; font: 700 12px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; }

.post-lead { margin-bottom: 64px; }
.post-lead-plain { grid-template-columns: minmax(0, 1fr); }
.post-lead-title { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.2rem); line-height: 1.15; }
.post-card .card-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.card-media-plain {
    display: flex;
    align-items: flex-end;
    padding: 22px 24px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
}
.card-media-plain::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--panes);
    background-size: 64px 64px;
}
.card-media-plain span { position: relative; font: 600 1.25rem/1.25 var(--font-display); color: #ffffff; }

.article { padding-top: calc(var(--section-y) * 0.6); }
.article-lead { max-width: 1080px; margin: 0 auto 48px; }
.article-lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-soft); }
.article-wrap { max-width: 720px; margin-inline: auto; }
.article figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.credit { white-space: nowrap; }
.byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.byline-author { display: flex; align-items: center; gap: 14px; color: var(--text-1); text-decoration: none; }
.byline-author img { width: 56px; height: 56px; object-fit: cover; }
.byline-name { display: block; font-weight: 700; line-height: 1.3; }
.byline-author:hover .byline-name { color: var(--brand); }
.byline-role { display: block; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.byline-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13.5px; color: var(--text-3); }
.key-points { margin-top: 36px; padding: 28px 30px 30px; background: var(--brand-tint); border-left: 3px solid var(--brand); }
.key-points-title, .press-title, .author-areas-title {
    margin-bottom: 16px;
    font: 700 12px/1.3 var(--font-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-deep);
}
.key-points .square-list { gap: 12px; font-weight: 500; }
.dateline { margin-top: 36px; font: 700 13px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

/* The body: one readable column, about 70 characters to a line */
.article-body { margin-top: 36px; font-size: 18px; line-height: 1.75; color: var(--text-1); overflow-wrap: break-word; }
.dateline + .article-body { margin-top: 14px; }
.article-body > * + * { margin-top: 22px; }
.article-body h2 { margin-top: 48px; font: 600 clamp(1.5rem, 1.3rem + 0.7vw, 1.85rem)/1.22 var(--font-display); letter-spacing: -0.018em; }
.article-body h3 { margin-top: 36px; font: 600 1.3rem/1.3 var(--font-display); letter-spacing: -0.012em; }
.article-body h2 + *, .article-body h3 + * { margin-top: 14px; }
.article-body a { color: var(--brand-strong); text-underline-offset: 3px; }
.article-body a:hover { color: var(--brand); }
.article-body strong { font-weight: 700; }
.article-body .square-list { gap: 12px; }
.number-list { display: grid; gap: 12px; counter-reset: item; }
.number-list li { position: relative; padding-left: 34px; counter-increment: item; }
.number-list li::before { content: counter(item) "."; position: absolute; left: 0; font-weight: 700; color: var(--brand); }
.article-body blockquote { padding: 6px 0 6px 26px; border-left: 3px solid var(--brand); font: 600 1.3rem/1.5 var(--font-display); color: var(--brand-deep); }
.article-body blockquote cite { display: block; margin-top: 12px; font: 500 14px/1.4 var(--font-sans); color: var(--text-3); }
.article-body figure { margin-block: 36px; }
.article-body figure img { width: 100%; }
.article-body hr { margin-block: 40px; border: 0; border-top: 1px solid var(--line-strong); }
.article-coverage { margin-top: 32px; }
.article-extra { margin-top: 56px; }
.article-extra-title { margin-bottom: 20px; font: 600 clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem)/1.2 var(--font-display); color: var(--brand-deep); }
.source-list a { color: var(--brand-strong); text-underline-offset: 3px; }
.press-box { display: grid; gap: 28px; margin-top: 56px; padding: 30px 32px 32px; background: var(--bg-soft); }
.press-box p { line-height: 1.7; color: var(--text-2); }
.press-box p strong { color: var(--text-1); }
.press-box a { color: var(--brand-strong); text-underline-offset: 3px; }
.press-downloads { display: grid; gap: 8px; }
.article-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.author-intro { align-items: start; }
.author-areas { padding: 28px 30px 30px; background: var(--bg-soft); }
.page-hero-visual > figure > img { background: var(--ink-2); }

@media (max-width: 1023px) {
    .post-lead { grid-template-columns: minmax(0, 1fr); }
    .post-lead .work-lead-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
    .article-body { font-size: 17px; }
    .article-lead { margin-bottom: 32px; }
    .key-points, .press-box, .author-areas { padding: 22px 20px 24px; }
    .post-lead { margin-bottom: 44px; }
}

/* ---------- Rendering: skip work for sections far below the fold ---------- */
@supports (content-visibility: auto) {
    main > section:nth-child(n+3), .site-footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }
}

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .primary-nav { display: none; }
    .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .award-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chapter-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
    .mega-panel { grid-template-columns: minmax(0, 1fr); }
    .mega-groups { display: none; }
    .mega-primary { padding-bottom: 20px; }
    .mega-item.is-active > .mega-row .mega-link { background: transparent; color: #ffffff; }
    .mega-item.is-active > .mega-row .mega-link svg { color: #7cc4ec; }
    .mega-link svg { display: none; }
    .mega-expand {
        display: grid;
        place-items: center;
        width: 60px;
        flex: none;
        padding: 0;
        border: 0;
        border-left: 1px solid var(--line-inv);
        background: transparent;
        color: #ffffff;
        cursor: pointer;
    }
    .mega-expand svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
    .mega-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
    .mega-sub-inline { background: var(--ink-2); }
    .mega-sub-inline.is-open { display: block; }
    .mega-sub-inline a { display: block; padding: 13px 28px 13px 44px; border-top: 1px solid var(--line-inv); color: var(--text-inv-2); text-decoration: none; }
    .mega-sub-inline a:hover { color: #ffffff; }
    .mega-item + .mega-item { border-top: 1px solid var(--line-inv); }
    .mega-promo { display: grid; grid-template-columns: minmax(0, 1fr); }

    .slide-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .statement-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .statement-copy { order: -1; }
    .map-wrap { max-width: 440px; }
    .slide-photo-half { left: 0; }
    .slide-photo::after, .slide-photo-half::after {
        background:
            linear-gradient(180deg, rgba(4, 36, 58, 0.72) 0%, rgba(4, 36, 58, 0) 30%),
            linear-gradient(0deg, rgba(4, 36, 58, 0.8) 0%, rgba(4, 36, 58, 0) 40%),
            linear-gradient(90deg, rgba(4, 36, 58, 0.92) 0%, rgba(4, 36, 58, 0.74) 55%, rgba(4, 36, 58, 0.5) 100%);
    }
    .slide-photo-panes::before { display: none; }
    .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .recognition-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .slide-visual { min-height: 0; justify-content: flex-start; }
    .visual-portrait { width: min(70%, 300px); }
    .visual-cover { width: min(60%, 240px); }
    .visual-photo { width: min(100%, 460px); }
    .slide { padding-block: 48px 64px; }

    .band-grid, .feature-grid, .news-grid, .faq-layout, .intro-grid, .story-grid, .contact-layout, .brief, .method-grid, .source-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .band-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .band-stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .band-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.28); }
    .feature-grid { gap: 56px; }
    .feature-cover { width: min(70%, 300px); }
    .tile-grid, .cap-grid, .panel-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .split-rev .split-media { order: 0; }
    .page-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 36px; }
    .page-hero-visual { justify-content: flex-start; }
    .hero-feature { margin: -64px 0 0; }
    .quote-track { grid-auto-columns: calc((100% - 24px) / 2); }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .theme-block, .advice { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .finding-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
    body { font-size: 16px; }
    .topbar-inner { justify-content: center; padding-inline: 12px; }
    .topbar-tag { display: none; }
    .topbar-contacts { width: 100%; justify-content: space-between; gap: 12px; }
    .topbar { font-size: 12px; }
    .brand { padding: 0 16px; font-size: 16px; gap: 10px; }
    .brand-logo { height: 28px; }
    .bar-cta { display: none; }
    .bar-actions { padding-right: 16px; }

    .slide { padding-block: 32px 48px; }
    .slide-grid { gap: 28px; }
    .slide-text { margin-top: 14px; font-size: 16px; }
    .slide-copy .btn-row { margin-top: 22px; }
    .visual-portrait { width: 44%; }
    .visual-portrait::before { right: -16px; bottom: -16px; }
    .visual-cover { width: 38%; }
    .visual-cover::before { inset: 12px -12px -12px 12px; }
    .visual-photo { width: calc(100% - 16px); margin-left: 16px; }
    .visual-photo::before { left: -16px; bottom: -16px; }
    .visual-photo img { aspect-ratio: 16 / 9; }
    .award-tile { aspect-ratio: 2.1; }
    .visual-awards { width: 100%; }
    .award-tile { padding: 16px; }
    .award-tile-text { font-size: 18px; }

    .band-grid { padding-top: 64px; }
    .band-stat { padding-right: 12px; }
    .band-stat + .band-stat { padding-left: 16px; }
    .band-stats { margin-top: 44px; }

    .logo-grid li { padding: 12px 14px; }
    /* Phones: fewer logos, compact expertise tiles and a lighter research block keep the page short */
    #clients .logo-grid li:nth-child(n+13) { display: none; }
    .tile-grid.tile-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile-grid-compact .tile { aspect-ratio: 1 / 1; }
    .tile-grid-compact .tile-body { padding: 16px; }
    .tile-grid-compact .tile-title { margin-top: 6px; font-size: 13.5px; letter-spacing: 0.04em; }
    .tile-grid-compact .tile-desc { display: none; }
    .tile-grid-compact .tile-go { display: none; }
    #reports .feature-cover { display: none; }
    .work-lead-text { display: none; }
    .work-card .card-text { display: none; }
    .work-card-body { padding: 18px 20px 22px; }
    .section-head { margin-bottom: 32px; }
    .section-head-row { margin-bottom: 28px; }
    .section-head-row .section-sub { display: none; }
    /* Research figures as compact rows */
    #reports .stat-tile { flex-direction: row-reverse; align-items: center; justify-content: flex-end; gap: 16px; padding: 14px 18px; }
    #reports .stat-tile dd { min-width: 96px; font-size: 1.7rem; }
    #reports .stat-tile dt { margin-top: 0; }
    /* Newsroom and recognition: the essentials only */
    #newsroom .news-feature { display: none; }
    .recognition-item .award-meta { display: none; }
    .recognition-item .award-logo { height: 44px; margin-bottom: 10px; }
    .recognition-item .award-logo-tall img { max-height: 44px; }
    /* Footer: the menu already lists expertise and research */
    .site-footer nav.footer-col:nth-of-type(2), .site-footer nav.footer-col:nth-of-type(3) { display: none; }
    .section-head-row .btn { max-width: 100%; white-space: normal; text-align: center; }
    .recognition-item { padding: 18px 16px 20px; }

    .tile-grid, .cap-grid, .panel-grid, .panel-grid-2, .card-grid, .card-grid-2, .card-grid-4,
    .vm-grid, .offer-grid, .award-grid, .chapter-cards, .stat-tiles, .stat-tiles-4, .pager { grid-template-columns: minmax(0, 1fr); }
    .tile { aspect-ratio: 16 / 10; }
    .quote-track { grid-auto-columns: 88%; gap: 16px; }
    .news-item { padding: 20px; }
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-top: 60px; }
    .footer-contact { grid-column: 1 / -1; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .intent-summary { padding: 20px; font-size: 14px; }
    .intent-body { padding: 4px 20px 26px; }
    .doc-card { grid-template-columns: auto minmax(0, 1fr); }
    .doc-card .btn { grid-column: 1 / -1; justify-self: start; }
    .chart-row { grid-template-columns: minmax(0, 1fr) 60px; gap: 8px 12px; }
    .chart-label { grid-column: 1 / -1; }
    .finding { padding: 72px 22px 24px; }
    .finding::before { left: 22px; top: 24px; }
    .theme-block { padding: 26px 22px; }
    .advice { padding: 24px 22px; }
    .expert-card { grid-template-columns: 112px minmax(0, 1fr); }
    .expert-card img { width: 112px; min-height: 150px; }
    .hero-feature { grid-template-columns: 96px minmax(0, 1fr); margin-top: -48px; }
    .hero-feature img { width: 96px; }
    .pager a:last-child { text-align: left; }
    .help-band { padding-block: 72px; }
    .map-frame { height: 320px; }
    .feature-cover::before { inset: 16px -16px -16px 16px; }
}

@media (max-width: 359px) {
    .topbar { font-size: 11px; }
    .topbar-inner { padding-inline: 8px; }
    .topbar-contacts { gap: 6px; }
    .topbar-link { gap: 5px; }
    .topbar-link svg { width: 12px; height: 12px; }
    .btn { white-space: normal; text-align: center; padding-block: 10px; }
}
@media (max-width: 299px) {
    .label-full { display: none; }
    .label-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .mega, .help-band, .carousel-arrows { display: none !important; }
    .hero-slider, .page-hero { padding-top: 0; }
    .slide { opacity: 1; visibility: visible; }
}
