/* ==========================================================================
   GSV Synergy Partners — design system

   Restrained consulting palette taken from the logo: deep navy ink and white,
   with the logo green as the single accent (calls to action, rules, ticks,
   stat figures). A refined serif carries headlines; a clean sans carries text.
   Generous white space; one card style.

   Every colour, radius and type step is a token below. Change them here.
   ========================================================================== */

:root {
    /* Ink */
    --ink: #0d1b2e;
    --ink-soft: #44526a;
    --ink-faint: #56637a;
    --ink-mute: #8d99ab;

    /* Brand green — the one accent. White text on --accent is 5.3:1. */
    --accent: #1e7b2c;
    --accent-hover: #17631f;
    --accent-press: #114a18;
    --accent-ink: #1a6b26;     /* green for text on white */
    --accent-bright: #6cc85a;  /* green for marks on navy */
    --accent-wash: #edf6ed;
    --accent-tint: #c6e4c4;
    --on-accent: #ffffff;

    /* Surfaces */
    --bg: #ffffff;
    --cream: #f4f6f9;          /* alternate section band (cool grey) */
    --white: #ffffff;
    --line: #d5dbe4;
    --line-soft: #e6eaf0;

    /* Navy — logo blue taken deep, for emphasis blocks and the footer */
    --dark: #0a2554;
    --dark-alt: #0f3270;
    --dark-panel: #133a7c;
    --dark-ink: #061733;
    --on-dark: #ffffff;
    --on-dark-soft: #c0cbdb;

    --sand: #ece6d9;

    /* Status */
    --success: #00823a;
    --success-bg: #edf6f0;
    --error: #c4002a;
    --error-bg: #fdeef1;
    --focus: #0b4fa3;

    --display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --wrap: 1180px;
    --radius-input: 6px;
    --radius-btn: 6px;
    --radius: 10px;
    --radius-pill: 9999px;

    --shadow-card: 0 1px 2px rgba(10, 37, 84, .05);
    --shadow-lift: 0 2px 4px rgba(10, 37, 84, .06), 0 12px 28px rgba(10, 37, 84, .10);
    --shadow-nav: 0 1px 0 rgba(10, 37, 84, .08);
    --shadow-pop: 0 12px 32px rgba(10, 37, 84, .16);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--display);
    color: var(--ink);
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}

/* Headings run firm and tight — a corporate voice rather than an editorial one. */
/* Serif headlines, set large and light enough to read as confident rather than loud. */
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* Links read as ink with an orange underline, the way the brand does it. */
a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: .18em;
    transition: color .15s linear, text-decoration-color .15s linear;
}
a:hover { color: var(--accent-ink); }

::selection { background: var(--accent-tint); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

/* ---------- Layout primitives ---------- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

.section { padding: clamp(2.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.section--cream { background: var(--cream); }

.section--dark {
    background: var(--dark);
    color: var(--on-dark);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark a { color: inherit; }
.section--dark a:hover { color: var(--accent-bright); }

/* Microheading */
.eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: .9rem;
}
.section--dark .eyebrow { color: var(--accent-bright); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.lede { font-size: 1.125rem; line-height: 1.78; color: var(--ink-soft); }
.section--dark .lede { color: var(--on-dark-soft); }

.rule { width: 56px; height: 3px; background: var(--accent); border: 0; border-radius: 0; margin: 0 0 1.5rem; }
.section-head--center .rule { margin-inline: auto; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-btn);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s linear, color .15s linear, border-color .15s linear;
}

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-primary:active { background: var(--accent-press); }

.btn-outline { background: transparent; color: var(--dark); border-color: currentColor; }
.btn-outline:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }
.btn-outline:active { background: var(--accent-tint); }

/* On dark surfaces the outline turns white. */
.section--dark .btn-outline, .cta-band .btn-outline, .page-hero .btn-outline {
    background: transparent;
    color: var(--on-dark);
}
.section--dark .btn-outline:hover, .cta-band .btn-outline:hover, .page-hero .btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark);
}

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.section-head--center .btn-row, .text-center .btn-row { justify-content: center; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    width: fit-content;
}
.link-arrow::after { content: "→"; transition: transform .15s linear; }
.link-arrow:hover { color: var(--accent-ink); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--on-dark); }
.section--dark .link-arrow:hover { color: var(--accent-bright); }

/* ---------- Logo ---------- */

.logo {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--ink);
    text-decoration: none;
}

.logo-img { display: block; width: auto; height: 44px; }
@media (min-width: 1060px) { .site-header .logo-img { height: 52px; } }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
@media (max-width: 440px) { .site-header .logo-text { display: none; } }
.logo-sub { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }

/* The logo's blue needs a light ground: on navy surfaces the mark sits on a white tile. */
.site-footer .logo, .admin-bar .logo { color: var(--on-dark); }
.site-footer .logo-img, .admin-bar .logo-img { background: var(--white); border-radius: var(--radius); padding: 6px 8px; box-sizing: content-box; height: 40px; }
.site-footer .logo-sub, .admin-bar .logo-sub { color: var(--on-dark-soft); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 95;
    background: var(--white);
    box-shadow: var(--shadow-nav);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 56px;
}

@media (min-width: 1060px) { .header-inner { min-height: 76px; } }

.nav { display: none; }

@media (min-width: 1060px) {
    .nav { display: flex; align-items: center; gap: .25rem; }
}

.nav-item { position: relative; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 1.6rem .85rem;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.is-active { color: var(--dark); border-bottom-color: var(--accent); }

.nav-item.has-menu > .nav-link::after {
    content: "";
    width: 5px; height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 310px;
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 3px solid var(--accent);
    box-shadow: var(--shadow-pop);
    padding: .75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s linear, transform .15s linear, visibility .15s linear;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-menu a {
    display: block;
    padding: .65rem .85rem;
    border-radius: var(--radius-btn);
    color: var(--ink);
    font-size: .95rem;
    text-decoration: none;
}
.nav-menu a:hover { background: var(--cream); color: var(--dark); }
.nav-menu .menu-divider { margin: .5rem .85rem; border: 0; border-top: 1px solid var(--line-soft); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions .btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
/* Contact is the one header item styled as a button, so it reads apart from the nav links. */
.btn-contact { box-shadow: 0 0 0 3px var(--accent-wash); }

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .15s linear, opacity .15s linear; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1060px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--line-soft);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
    display: block;
    padding: .9rem 0;
    color: var(--ink);
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:hover { color: var(--accent-ink); }
.mobile-nav .sub a { padding-left: 1rem; font-size: 1rem; color: var(--ink-soft); }
.mobile-nav a, .mobile-nav summary { min-height: 48px; }
.mobile-nav summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s linear;
}
.mobile-nav details[open] > summary::after { transform: rotate(-135deg); }
.mobile-nav .btn { width: 100%; margin: 1.35rem 0 1.75rem; border-bottom: 0; color: var(--on-accent); }

/* ---------- Top bar ---------- */

.topbar { background: var(--dark); color: var(--on-dark-soft); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: var(--on-dark-soft); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar-links { display: flex; gap: 1.5rem; }
.topbar-strap { letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 719px) { .topbar { display: none; } }

/* ---------- Stat bar ---------- */

.stat-bar { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.stat-bar .wrap { padding: clamp(2rem, 4vw, 3rem) 0; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
}
@media (min-width: 860px) {
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
    .hero-stat + .hero-stat { border-left: 1px solid var(--line-soft); padding-left: 1.75rem; }
}

.hero-stat .figure {
    font-family: var(--display);
    font-size: clamp(2.25rem, 3.6vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}
.hero-stat .figure::after { content: ""; display: block; width: 28px; height: 3px; margin-top: .75rem; background: var(--accent); }
.hero-stat .label {
    margin-top: .75rem;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.hero-promise {
    margin: clamp(2rem, 4vw, 2.75rem) 0 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
    font-family: var(--display);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink);
}

/* Inner page header */
.page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(108, 200, 90, .12), transparent 45%),
        linear-gradient(120deg, var(--dark-ink) 0%, var(--dark) 55%, var(--dark-alt) 100%);
    color: var(--on-dark);
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.75rem, 6vw, 4.5rem);
    border-bottom: 3px solid var(--accent);
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--accent-bright); }
.page-hero .lede, .page-hero .post-meta { color: var(--on-dark-soft) !important; }
.page-hero .pills li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.page-hero .pills a { color: var(--white); text-decoration: none; }
.page-hero h1 { max-width: 22ch; }
.page-hero .tagline {
    font-family: var(--display);
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 500;
    color: var(--accent-bright);
    max-width: 44ch;
    margin-top: -.2rem;
}
.page-hero .lede { max-width: 62ch; margin-top: 1.25rem; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    letter-spacing: .04em;
    color: var(--on-dark-soft);
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb span::after { content: "/"; margin-left: .5rem; color: var(--ink-mute); }
.breadcrumb span:last-child::after { content: ""; }

/* ---------- Cards ---------- */

.card {
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-top: 3px solid transparent;
    border-radius: var(--radius);
    padding: clamp(1.5rem, 2.4vw, 2rem);
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-top-color: var(--accent); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.4rem; border-bottom: 0; }
.card .link-arrow { padding-bottom: 0; }

.card-index {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--accent-ink);
    margin-bottom: .75rem;
    display: block;
}

.card--flat { background: var(--cream); border-color: transparent; border-left: 3px solid var(--accent); box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: none; border-top-color: transparent; }
.section--cream .card--flat { background: var(--white); }

.card--dark {
    background: var(--dark-panel);
    border-color: transparent;
    box-shadow: none;
    color: var(--on-dark);
}
.card--dark p { color: var(--on-dark-soft); }
.card--dark .card-index { color: var(--accent-bright); }

/* Numbered process steps */
.steps { counter-reset: step; }
.step {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 1.25rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step .num {
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}
.step h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: 1rem; }
.section--dark .step .num { color: var(--accent-bright); }
.section--dark .step { border-color: rgba(248, 245, 238, .16); }
.section--dark .step p { color: var(--on-dark-soft); }

/* Flow line */
.flow {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-family: var(--sans);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--on-dark);
}
.flow span:not(:last-child)::after { content: "—"; margin-left: .5rem; color: var(--accent); }

/* Checklists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.ticks li { position: relative; padding-left: 1.85rem; color: var(--ink-soft); }
.ticks li::before {
    content: "";
    position: absolute;
    left: 2px; top: .6rem;
    width: 9px; height: 15px;
    border-right: 2.5px solid var(--accent-hover);
    border-bottom: 2.5px solid var(--accent-hover);
    transform: rotate(45deg);
}
.section--dark .ticks li { color: var(--on-dark-soft); }

.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.bullets li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.bullets li::before {
    content: "";
    position: absolute;
    left: 0; top: .78rem;
    width: 8px; height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

/* Pill list */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.pills li {
    padding: .4rem .95rem;
    border-radius: var(--radius-btn);
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .9rem;
    color: var(--ink-soft);
}
.card--flat .pills li { background: var(--white); border-color: transparent; }
.section--dark .pills li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--on-dark-soft); }

/* ---------- Partner profiles ---------- */

.partner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: clamp(1.75rem, 3vw, 2.75rem) 0;
    border-top: 1px solid var(--line-soft);
}
@media (min-width: 840px) { .partner { grid-template-columns: 250px 1fr; gap: 3rem; } }



.partner h3 { margin-bottom: .2rem; }
.partner-name { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: .3rem; }
.partner .role {
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 1.25rem;
}
.partner-meta {
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    display: grid;
    gap: .4rem;
    font-size: .95rem;
    background: var(--cream);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.partner-meta dt {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.partner-meta dd { margin: 0 0 .5rem; color: var(--ink-soft); }
.partner-meta dd:last-child { margin-bottom: 0; }

/* ---------- Client strip ---------- */

.client-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 3rem;
    padding: 2rem 0;
    border-block: 1px solid var(--line-soft);
}
.client-strip span {
    font-family: var(--display);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink-faint);
}
.section--dark .client-strip { border-color: rgba(248, 245, 238, .16); }
.section--dark .client-strip span { color: var(--on-dark-soft); }

/* ---------- Quote band ---------- */

.quote-band {
    background: linear-gradient(120deg, var(--dark-ink), var(--dark));
    color: var(--on-dark);
    padding: clamp(3rem, 7vw, 5rem) 0;
    text-align: center;
}
.quote-band blockquote {
    margin: 0 auto;
    max-width: 900px;
    font-family: var(--display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.35;
}
.quote-band .attrib {
    margin-top: 1.75rem;
    font-family: var(--sans);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-bright);
}

/* ---------- CTA band ---------- */

.cta-band {
    background: linear-gradient(120deg, var(--dark), var(--dark-alt));
    border-top: 3px solid var(--accent);
    color: var(--on-dark);
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}
.cta-band h2 { color: var(--on-dark); margin-bottom: .75rem; }
.cta-band p { max-width: 62ch; color: var(--on-dark-soft); }
.cta-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.55fr auto; } }

/* ---------- Insights ---------- */

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.post-card .thumb {
    aspect-ratio: 16 / 9;
    background: var(--cream);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb .mark {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-ink);
}
.post-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-ink); }
.post-card p { color: var(--ink-soft); font-size: 1rem; }
.post-card .meta { margin-top: auto; padding-top: 1.25rem; }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    font-size: .875rem;
    color: var(--ink-faint);
}
.post-meta .cat { color: var(--ink); font-weight: 500; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
    padding: .45rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: .95rem;
    color: var(--ink-soft);
    background: var(--white);
    text-decoration: none;
}
.filter:hover { border-color: var(--dark); color: var(--dark); }
.filter.is-active { background: var(--dark); border-color: var(--dark); color: var(--white); }

.pager { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pager a, .pager span {
    min-width: 42px;
    padding: .5rem .8rem;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    font-size: .95rem;
    color: var(--ink-soft);
    text-decoration: none;
}
.pager a:hover { border-color: var(--dark); color: var(--dark); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: var(--white); }

.article-body { font-size: 1.125rem; line-height: 1.78; }
.article-body h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); margin-top: 2.5rem; }
.article-body h3 { margin-top: 2rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.article-body li { margin-bottom: .55rem; }
.article-body blockquote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}
.article-body img { margin: 2rem 0; border-radius: var(--radius); }
.article-cover { margin-bottom: 2.5rem; border-radius: var(--radius); overflow: hidden; }

.author-box {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: var(--radius);
}
.author-avatar {
    width: 58px; height: 58px; flex: none;
    display: grid; place-items: center;
    background: var(--dark);
    border-radius: var(--radius-pill);
    color: var(--on-dark);
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 500;
}

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .form-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.field.full { grid-column: 1 / -1; }

.field label {
    display: block;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ink);
    margin-bottom: .4rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="password"],
.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="file"],
.field select,
.field textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    background: var(--white);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink);
    transition: border-color .15s linear, box-shadow .15s linear;
}

.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field textarea.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; min-height: 400px; }

.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(11, 79, 163, .2);
}

.field .hint { font-size: .875rem; color: var(--ink-faint); margin-top: .4rem; }

.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input { margin-top: .2rem; width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.check label { font-size: .95rem; font-weight: 400; color: var(--ink-soft); margin: 0; }

.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.field-validation-error, .validation-summary-errors, .text-danger {
    color: var(--error);
    font-size: .9rem;
    display: block;
    margin-top: .4rem;
}
.validation-summary-errors {
    background: var(--error-bg);
    border-radius: var(--radius-btn);
    padding: .9rem 1.1rem;
    margin-bottom: 1.5rem;
}
.input-validation-error { border-color: var(--error) !important; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-btn);
    background: var(--cream);
    margin-bottom: 1.75rem;
    font-size: 1rem;
}
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-error { background: var(--error-bg); color: var(--error); }

/* ---------- Newsletter (sits on the dark footer) ---------- */

.newsletter-form { display: grid; gap: .75rem; }
@media (min-width: 720px) { .newsletter-form { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.newsletter-form input {
    width: 100%;
    padding: .75rem 1rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-input);
    color: var(--on-dark);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
}
.newsletter-form input::placeholder { color: var(--ink-mute); }
.newsletter-form input:focus { outline: none; border-color: var(--focus); }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark-ink); border-top: 3px solid var(--accent); color: var(--on-dark-soft); padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: 1rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--accent); }

.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(248, 245, 238, .14); }
@media (min-width: 720px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr 1.1fr; gap: 2.5rem; } }

.footer-heading {
    color: var(--on-dark);
    font-family: var(--sans);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-brand p { max-width: 34ch; }
.footer-sign { margin-top: 1.25rem; color: var(--accent-bright); font-family: var(--display); font-size: 1rem; font-weight: 600; }

.footer-newsletter { padding: 2.5rem 0; border-bottom: 1px solid rgba(248, 245, 238, .14); }
.footer-newsletter .footer-heading--lead {
    color: var(--on-dark);
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: .35rem;
}
.footer-newsletter .muted { color: var(--on-dark-soft); }
.footer-newsletter .alert { color: var(--ink); }

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: .875rem;
    color: var(--ink-mute);
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Admin ---------- */

.admin-body { background: var(--cream); }

.admin-bar { background: var(--dark-ink); color: var(--on-dark); }
.admin-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; min-height: 68px; }
.admin-bar .logo-name { font-size: 1.25rem; }
.admin-bar .tag {
    padding: .2rem .7rem;
    border-radius: var(--radius-pill);
    background: rgba(248, 245, 238, .12);
    color: var(--on-dark);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.admin-nav { display: flex; flex-wrap: wrap; gap: .25rem; margin-left: auto; align-items: center; }
.admin-nav a {
    padding: .5rem .9rem;
    border-radius: var(--radius-btn);
    color: var(--on-dark-soft);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
}
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(248, 245, 238, .1); color: var(--on-dark); }
.admin-nav form { margin: 0; }
.admin-nav button {
    background: none;
    border: 2px solid rgba(248, 245, 238, .25);
    border-radius: var(--radius-btn);
    color: var(--on-dark-soft);
    padding: .45rem .9rem;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s linear, color .15s linear;
}
.admin-nav button:hover { border-color: var(--on-dark); color: var(--on-dark); }

.admin-main { padding: clamp(2rem, 4vw, 3rem) 0 5rem; }
.admin-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: end; margin-bottom: 2rem; }
.admin-head h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin: 0; }

.panel { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }

.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 2rem; }
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.stat .figure {
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}
.stat .label { margin-top: .5rem; font-size: .9rem; color: var(--ink-soft); }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
table.data th, table.data td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data th {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-faint);
    white-space: nowrap;
}
table.data tbody tr:hover { background: var(--cream); }
table.data .actions { display: flex; gap: .4rem; flex-wrap: wrap; white-space: nowrap; }
table.data .actions form { margin: 0; }

.badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: var(--radius-pill);
    font-size: .8rem;
    font-weight: 500;
    background: var(--line-soft);
    color: var(--ink-soft);
}
.badge-live { background: var(--success-bg); color: var(--success); }
.badge-draft { background: var(--sand); color: var(--ink-soft); }
.badge-new { background: var(--accent-wash); color: var(--accent-press); }

.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .9rem; }
.btn-danger { background: var(--white); color: var(--error); border-color: currentColor; }
.btn-danger:hover { background: var(--error-bg); color: var(--error); }

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem;
    background: var(--cream);
}
.auth-card { width: min(100%, 440px); background: var(--white); border-radius: var(--radius); padding: clamp(2rem, 5vw, 2.5rem); }
.auth-card .logo { justify-content: center; margin-bottom: 1.75rem; }

.empty { padding: 3rem 1rem; text-align: center; color: var(--ink-faint); }

/* ---------- Home hero: static, partners above the fold ---------- */

.hero {
    background:
        radial-gradient(circle at 90% 10%, rgba(108, 200, 90, .14), transparent 40%),
        linear-gradient(125deg, var(--dark-ink) 0%, var(--dark) 55%, var(--dark-alt) 100%);
    color: var(--on-dark);
    border-bottom: 3px solid var(--accent);
}
.hero-inner {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.25fr 1fr; } }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .eyebrow { color: var(--accent-bright); }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.7; color: var(--on-dark-soft); max-width: 56ch; }
.hero .btn-outline { color: var(--on-dark); }
.hero .btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--dark); }
.hero-note, .cta-note { margin-top: 1rem; font-size: .92rem; color: var(--on-dark-soft); }
.hero-partners { display: grid; gap: .85rem; }
.hero .partner-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--on-dark); }
.hero .partner-card h3 a { color: var(--white); }
.hero .partner-card-role, .hero .partner-card-cred { color: var(--on-dark-soft); }
.hero .partner-card-cred strong { color: var(--accent-bright); }

/* ---------- Partner card and portrait ---------- */

.partner-card {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.partner-card .portrait { width: 72px; flex: none; font-size: 1.35rem; border-bottom-width: 3px; }
.partner-card h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.partner-card h3 a { text-decoration: none; }
.partner-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent-bright); }
.partner-card-role { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .2rem; }
.partner-card-cred { font-size: .88rem; color: var(--ink-faint); margin: 0; line-height: 1.45; }
.partner-card-cred strong { color: var(--accent-ink); font-weight: 600; }

.portrait {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    border-bottom: 4px solid var(--accent);
}
.portrait--monogram {
    background: linear-gradient(160deg, var(--dark-alt), var(--dark-ink));
    color: var(--white);
    font-family: var(--display);
    font-size: 3.4rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.partner-name a { text-decoration: none; }
.partner-name a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.partner--profile { border-top: 0; padding-top: 0; }

.cred-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.cred-list li { padding-left: 1rem; border-left: 3px solid var(--accent-tint); color: var(--ink-soft); }
.cred-list strong { color: var(--ink); margin-right: .35rem; }

/* ---------- Client logos ---------- */

.trust { border-bottom: 1px solid var(--line-soft); }
.trust-label {
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 1.5rem;
}
.logo-strip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) { .logo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logo-strip { grid-template-columns: repeat(5, 1fr); } }
.logo-strip li {
    display: grid;
    place-items: center;
    height: 96px;
    padding: .75rem;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.logo-strip img { max-height: 72px; width: auto; object-fit: contain; }
.logo-wordmark { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft); }

/* ---------- Case studies ---------- */

.case-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-bottom: .9rem; }
.case-client { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .1rem .7rem;
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--ink-soft);
    font-size: .82rem;
    text-decoration: none;
}
.tag:hover { background: var(--accent-wash); color: var(--accent-ink); }
.case-outcome { padding: .85rem 1rem; background: var(--accent-wash); border-radius: var(--radius-btn); color: var(--ink) !important; }
.case-scope-title {
    margin: 1.1rem 0 .75rem;
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.ticks--compact { gap: .5rem; }
.ticks--compact li { font-size: .97rem; }

/* ---------- Linked cards ---------- */

.card--link { color: inherit; text-decoration: none; }
.card--link:hover h3, .card--link:hover .card-title { color: var(--accent-ink); }
.card--accent { background: var(--accent-wash); border-color: var(--accent-tint); }
.card--compact { padding: 1.15rem 1.35rem; }
.card--compact h3 { font-size: 1.1rem; }
.card--compact p { font-size: .95rem; }
.card-title { font-size: 1.35rem; margin-bottom: .6rem; }
.card--link .link-arrow { color: var(--ink); }

/* ---------- Timeline: the one process view ---------- */

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    position: relative;
}
.timeline-step { position: relative; padding: 0 0 2rem 3.5rem; }
.timeline-step::before {
    content: "";
    position: absolute;
    left: 1.1rem; top: 2.4rem; bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, .18);
}
.timeline-step:last-child::before { display: none; }
.timeline-num {
    position: absolute;
    left: 0; top: 0;
    width: 2.25rem; height: 2.25rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-size: .85rem;
    font-weight: 600;
}
.timeline-step h3 { margin: .15rem 0 .4rem; font-size: 1.25rem; }
.timeline-step p { color: var(--ink-soft); font-size: 1rem; }
.section--dark .timeline-step p { color: var(--on-dark-soft); }
.section:not(.section--dark) .timeline-step::before { background: var(--line); }

@media (min-width: 900px) {
    .timeline { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.5rem; }
    .timeline-step { padding: 3.5rem 0 0; }
    .timeline-step::before { left: 2.75rem; right: -1.5rem; top: 1.1rem; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Sector list ---------- */

.sector-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .sector-list { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.sector-list li { border-bottom: 1px solid var(--line); }
.sector-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    padding: .9rem 0;
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
}
.sector-list a::after { content: "→"; color: var(--accent); transition: transform .15s linear; }
.sector-list a:hover { color: var(--accent-ink); }
.sector-list a:hover::after { transform: translateX(4px); }
.sector-list--small { border-top: 0; margin-top: .5rem; }
.sector-list--small a { font-size: 1.05rem; min-height: 48px; }

/* ---------- Contact ---------- */

.contact-grid { align-items: start; gap: clamp(2rem, 4vw, 4rem); }
.panel--bordered { border: 1px solid var(--line-soft); }
.panel-title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .6rem; }
.optional { font-weight: 400; color: var(--ink-faint); }
.promise {
    display: inline-block;
    margin-top: 1.25rem;
    padding: .5rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(108, 200, 90, .14);
    color: var(--white);
    font-weight: 500;
}
.booking-embed { width: 100%; height: 680px; border: 1px solid var(--line-soft); border-radius: var(--radius); margin: .5rem 0 2.5rem; }
.map-embed { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); margin-top: 1.5rem; }

/* ---------- Article download ---------- */

.download-box {
    display: grid;
    gap: .5rem;
    margin-top: 3rem;
    padding: 1.75rem;
    border: 1px solid var(--accent-tint);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent-wash);
}
.download-box p { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 0 0 .5rem; }
.download-box .btn { width: fit-content; }

/* ---------- Newsletter consent, honeypot, cookie notice ---------- */

.newsletter-consent { grid-column: 1 / -1; }
.newsletter-consent label { color: var(--on-dark-soft); font-size: .9rem; }
.newsletter-consent a { color: var(--on-dark); text-decoration: underline; }
.newsletter-consent input { width: 20px; height: 20px; }

/* Off-screen rather than display:none, so naive bots still fill it in. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cookie-notice {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 120;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    max-width: 640px;
    margin-inline: auto;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
    font-size: .95rem;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; flex: 1 1 280px; color: var(--ink-soft); }
.cookie-notice .btn { min-height: 44px; min-width: 64px; }

/* ---------- Motion: counters and sparse scroll reveals (JS-enhanced only) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; }
}
[data-reveal] > .card { height: 100%; }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.nowrap { white-space: nowrap; }
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: var(--radius-btn);
    padding: .75rem 1.25rem;
    z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
    .topbar, .site-header, .site-footer, .cta-band, .cookie-notice { display: none; }
}
