/* Simba Security — Figma Make design system (User-greeting) */

:root {
    --navy: #1C2156;
    --navy-dark: #131740;
    --navy-mid: #232970;
    --navy-light: #E8EAF6;
    --red: #C8222A;
    --red-dark: #A01820;
    --red-light: #FDECEA;
    --off-white: #F7F8FC;
    --slate: #F0F2F8;
    --text-dark: #0F1235;
    --text-mid: #3D4275;
    --text-muted: #8A90B8;
    --border: #DDE0F0;
    --radius: 2px;
    --content-max: 80rem;

    /* Map legacy tokens to Make palette */
    --primary-color: var(--navy);
    --primary-dark: var(--navy-dark);
    --primary-mid: var(--navy-mid);
    --primary-light: var(--navy-mid);
    --secondary-color: var(--red);
    --secondary-dark: var(--red-dark);
    --secondary-light: var(--red);
    --accent-color: var(--red);
    --dark-color: var(--navy-dark);
    --light-color: var(--off-white);
    --surface: var(--off-white);
    --surface-elevated: #ffffff;
    --text-color: var(--text-dark);
    --text-light: var(--text-mid);
    --border-color: var(--border);
    --border-strong: var(--border);
    --border-radius: 2px;
    --border-radius-sm: 2px;
    --border-radius-lg: 2px;
    --border-radius-xl: 2px;
    --font-display: "Roboto Slab", Georgia, serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --shadow: none;
    --shadow-md: 0 4px 24px rgba(28, 33, 86, 0.08);
    --shadow-lg: 0 8px 32px rgba(28, 33, 86, 0.12);
    --shadow-glow: none;

    /* Every hero headline — the home hero and the inner page heroes — reads at
       this size. Kept as one token because they had drifted apart: the inner
       pages were still at 3.5rem after the home hero came down to 2.75rem. */
    --hero-title-size: clamp(2.1rem, 3.4vw, 2.75rem);
}

@media (max-width: 768px) {
    :root {
        --hero-title-size: clamp(1.75rem, 5.5vw, 2.1rem);
    }
}

body {
    background: #fff;
    color: var(--text-dark);
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Utilities ─────────────────────────────────────────────── */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
}

.section-label--light {
    color: rgba(255, 255, 255, 0.55);
}

.red-rule {
    display: block;
    width: 44px;
    height: 3px;
    background: var(--red);
    margin-bottom: 1.25rem;
}

.btn-red,
.btn-navy,
.btn-outline-navy,
.btn-outline-white {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-width: 2px;
    border-style: solid;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
    border-radius: 0;
    box-shadow: none;
}

.btn-red {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* Map legacy buttons on redesigned surfaces */
.page-index .btn-primary,
.main-header .btn-primary {
    background: var(--red);
    border: 2px solid var(--red);
    color: #fff;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
}

.page-index .btn-primary:hover,
.main-header .btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.page-index .btn-primary::before,
.main-header .btn-primary::before {
    display: none;
}

/* ── Scroll progress ───────────────────────────────────────── */
.scroll-progress {
    background: var(--red);
    height: 2px;
}

/* ── Header / Top bar ──────────────────────────────────────── */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 2px solid var(--border);
    box-shadow: none;
    transition: box-shadow 0.3s;
}

.main-header.scrolled {
    background: #fff;
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(28, 33, 86, 0.1);
}

.header-top-row {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header .container,
.header-top-row .container,
.header-bottom-row .container {
    max-width: var(--content-max);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-contact-link,
.header-address {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.header-contact-link:hover,
.header-contact-link:focus-visible {
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
    background: none;
}

.header-contact-link--emergency,
.header-contact-link.active {
    background: none;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 0;
    padding: 0;
}

.header-contact-link i {
    font-size: 0.7rem;
}

.header-whistleblow {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.header-whistleblow:hover {
    opacity: 0.8;
    color: #fff;
}

.header-motto,
.social-media-icons {
    display: none;
}

.header-bottom-row {
    background: #fff;
    padding: 0;
    border-bottom: none;
}

.header-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
}

.header-cta {
    display: none;
    flex-shrink: 0;
}

.main-nav {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list a,
.main-nav a {
    font-family: var(--font-body);
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 2px;
    position: relative;
    transition: color 0.15s, background 0.15s;
    background: none;
}

.main-nav .nav-list a::before,
.main-nav .nav-list a::after,
.main-nav a::before {
    display: none !important;
}

.main-nav .nav-list a:hover,
.main-nav a:hover {
    color: var(--navy);
    background: var(--slate);
}

.main-nav .nav-list a.active,
.main-nav a.active {
    color: var(--red);
    font-weight: 600;
    background: var(--red-light);
}

.main-nav .nav-list a.active::after {
    content: "";
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
    width: auto;
    transform: none;
}

.mobile-menu-motto,
.mobile-menu-footer {
    display: none;
}

.mobile-menu-toggle {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--navy);
    box-shadow: none;
}

.mobile-menu-toggle span {
    background: var(--navy);
    width: 22px;
    left: 50%;
    transform: translateX(-50%);
}

/* Desktop nav — Figma `lg` breakpoint */
@media (min-width: 1025px) {
    .header-cta {
        display: block;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .header-cta-mobile {
        display: none !important;
    }
}

/* Tablet + mobile — hamburger menu (matches Figma `lg:hidden`) */
@media (max-width: 1024px) {
    .logo-img {
        height: 48px;
    }

    .header-cta {
        display: none !important;
    }

    .header-bottom-row {
        padding: 0 !important;
    }

    .header-bottom-content {
        position: relative;
        min-height: 64px;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .main-nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        display: flex !important;
        flex-direction: column;
        flex: none !important;
        background: #fff !important;
        border-top: 1px solid var(--border) !important;
        border-radius: 0 !important;
        box-shadow: 0 12px 32px rgba(28, 33, 86, 0.12) !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        transform: none !important;
        visibility: hidden !important;
        z-index: 999;
        padding: 0 1.5rem;
        width: 100%;
    }

    .main-nav.active {
        max-height: calc(100vh - 100px) !important;
        max-height: calc(100dvh - 100px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow-y: auto !important;
        padding: 0.75rem 1.5rem 1.5rem;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex-wrap: nowrap;
    }

    .main-nav .nav-list a,
    .main-nav a {
        display: block;
        font-size: 0.8rem !important;
        padding: 0.9rem 0 !important;
        border-bottom: 1px solid var(--border);
        border-left: none !important;
        border-radius: 0;
        background: none !important;
        color: var(--text-mid) !important;
        white-space: normal;
    }

    .main-nav .nav-list a.active,
    .main-nav a.active {
        background: none !important;
        color: var(--red) !important;
    }

    .main-nav .nav-list a.active::after {
        display: none !important;
    }

    .header-cta-mobile {
        display: block !important;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .header-address {
        display: none;
    }
}

.header-cta-mobile {
    display: none;
}

/* ── Hero (Figma Make) ─────────────────────────────────────── */
.hero-section.hero-make {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-dark);
    color: #fff;
    padding: 0;
}

.hero-make .hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

/* The photo used to be dimmed to 22% against the navy, which made it read as a
   texture rather than an image. It now runs at full strength and the contrast
   for the white copy comes from this scrim instead — weighted to the left,
   where .hero-copy sits, so the right-hand side of the photograph stays clear. */
.hero-make .hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(19, 23, 64, 0.94) 0%, rgba(19, 23, 64, 0.86) 32%, rgba(19, 23, 64, 0.55) 62%, rgba(19, 23, 64, 0.25) 100%),
        linear-gradient(180deg, rgba(19, 23, 64, 0.45) 0%, transparent 22%, transparent 78%, rgba(19, 23, 64, 0.45) 100%);
}

.hero-make .hero-diagonal {
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    background: linear-gradient(160deg, transparent 40%, rgba(200, 34, 42, 0.09) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-make .hero-stripe {
    display: none !important;
}

.hero-make .container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-make .hero-copy {
    /* Wide enough for the headline's second line to hold together at the size
       below. At 680px it broke after "Supply", splitting "Supply Chain". */
    max-width: 800px;
}

.hero-make .hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    /* The cap in --hero-title-size keeps "Assets, Supply Chain & Reputations."
       on the one line the <br> in the markup intends, with ~9% slack so the
       serif fallback wraps the same way. */
    font-size: var(--hero-title-size);
    line-height: 1.12;
    color: #fff !important;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    max-width: none;
}

.hero-make .hero-title-accent {
    color: var(--red);
}

.hero-make .hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    /* Was 0.65 alpha, which worked when the photo behind it was dimmed to 22%
       and the hero was effectively flat navy. Against the full-strength image
       that grey read as washed out, so the secondary copy carries near-solid
       white and lets size and weight do the hierarchy instead of opacity. */
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(19, 23, 64, 0.5);
    max-width: 520px;
    margin: 0 0 2.5rem;
}

/* Same reasoning for the eyebrow above the headline. */
.hero-make .section-label--light,
.page-hero .section-label--light {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 10px rgba(19, 23, 64, 0.55);
}

.hero-make .hero-title,
.page-hero h1 {
    text-shadow: 0 2px 20px rgba(19, 23, 64, 0.45);
}

.hero-make .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-make .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 1.15rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    margin: 0;
    width: 100%;
}

.hero-make .hero-stat {
    border-left: none !important;
    min-width: 0;
    padding: 0.75rem 1rem;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.hero-make .hero-stat-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    color: #fff;
    line-height: 1;
    display: block;
}

.hero-make .hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
    line-height: 1.35;
}

.hero-make .hero-banner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    padding: 0.55rem 1.25rem;
    font-family: var(--font-mono);
    font-size: clamp(0.68rem, 1.15vw, 0.82rem);
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.03em;
    margin: 0 0 2.25rem 0;
    backdrop-filter: blur(8px);
    white-space: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-make .hero-banner::-webkit-scrollbar {
    display: none;
}

.hero-make .hero-visual,
.hero-make .hero-scroll-hint,
.hero-make .hero-overlay,
.hero-make .hero-bg {
    display: none !important;
}

/* ── Trust strip (Auto-Scrolling Marquee) ───────────────────── */
.trust-strip {
    background: var(--red);
    padding: 0.65rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.trust-strip-ticker {
    display: flex;
    overflow: hidden;
    width: 100%;
    user-select: none;
}

.trust-strip-track {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    white-space: nowrap;
    will-change: transform;
    animation: trustMarquee 28s linear infinite;
    padding-right: 2.25rem;
}

.trust-strip-track:hover {
    animation-play-state: paused;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.trust-strip-icon {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.65rem;
    line-height: 1;
}

.trust-strip-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.68rem, 1.1vw, 0.75rem);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

@keyframes trustMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-strip-track {
        animation: none;
    }
}

/* ── Services preview ──────────────────────────────────────── */
.services-preview-section {
    background: #fff;
    padding: 6rem 0;
    position: relative;
}

.services-preview-section::before {
    display: none;
}

.services-preview-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.services-preview-intro h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0.75rem 0 0;
}

.services-preview-intro h2::before {
    display: none;
}

.services-preview-intro p,
.services-preview-aside,
.services-preview-footer {
    display: none;
}

.services-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .services-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-preview-card,
.service-card-make {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.75rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.service-preview-card::after,
.service-card-make::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red);
    transition: width 0.3s ease;
}

.service-preview-card:hover,
.service-card-make:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 24px rgba(28, 33, 86, 0.08);
    transform: translateY(-2px);
}

.service-preview-card:hover::after,
.service-card-make:hover::after {
    width: 100%;
}

.service-preview-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.service-preview-index {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--red);
    letter-spacing: 0.1em;
    padding-top: 3px;
    flex-shrink: 0;
    font-weight: 500;
}

.service-preview-icon {
    display: none;
}

.service-preview-body h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.service-preview-body p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.service-preview-cta {
    display: none;
}

/* ── Foundation / EAH ──────────────────────────────────────── */
/* A compact parent-company attribution band. Deliberately understated — this
   credits our owner, it is not a feature section about another company. */
.eah-holding-section,
.foundation-section {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3.25rem 0;
}

.eah-holding-section .container,
.foundation-section .container {
    max-width: var(--content-max);
}

.foundation-band {
    display: grid;
    gap: 1.75rem;
    align-items: center;
}

@media (min-width: 860px) {
    .foundation-band {
        grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
        gap: 2.5rem;
    }

    .foundation-brand-link {
        padding-right: 2.5rem;
        border-right: 1px solid var(--border);
    }
}

/* Wide screens: links become a third column pinned to the container edge, so
   the band spans the same width as the card grids above and below it. */
@media (min-width: 1100px) {
    .foundation-band {
        grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto;
        gap: 3rem;
    }

    .foundation-band-copy p {
        margin-bottom: 0;
    }

    .foundation-band-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding-left: 3rem;
        border-left: 1px solid var(--border);
        white-space: nowrap;
    }
}

.foundation-brand-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.25s ease;
}

.foundation-brand-link:hover {
    opacity: 1;
}

.foundation-brand-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.foundation-corner {
    display: none !important;
}

.foundation-band-copy .section-label {
    margin-bottom: 0.5rem;
}

.foundation-band-copy h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin: 0 0 0.6rem;
    line-height: 1.3;
}

.foundation-band-copy p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 1rem;
    max-width: 62ch;
}

.foundation-band-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.75rem;
}

.foundation-band-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.foundation-band-link i {
    font-size: 0.65rem;
}

.foundation-band-link:hover {
    color: var(--red);
    border-bottom-color: var(--red);
}

.foundation-band-link--muted {
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* ── CTA banner ────────────────────────────────────────────── */
.cta-section.cta-make {
    background: var(--navy);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.cta-make::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.02) 50px,
        rgba(255, 255, 255, 0.02) 100px
    );
    z-index: 0;
}

.cta-make .cta-stripe {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--red);
    z-index: 1;
}

.cta-make .container {
    position: relative;
    z-index: 2;
}

.cta-make .cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

@media (min-width: 1024px) {
    .cta-make .cta-content {
        flex-direction: row;
        align-items: center;
    }
}

.cta-make .cta-kicker {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.cta-make h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    color: #fff !important;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

.cta-make p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 12px 0 0;
    max-width: 420px;
}

.cta-make .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ── Pillars / features ────────────────────────────────────── */
.features-section.pillars-section {
    background: #fff;
    padding: 4.5rem 0 5rem;
}

.pillars-section .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.pillars-section .section-header .section-label {
    display: block;
    text-align: center;
    margin-bottom: 0.75rem;
}

.pillars-section .section-header h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--text-dark);
    margin: 0;
}

.pillars-section .section-header p {
    display: none;
}

.pillars-section .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .pillars-section .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pillars-section .feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--off-white);
    border: 1px solid var(--border);
    padding: 1.75rem 1.5rem 1.85rem;
    text-align: left;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* Red rule that draws in from the left on hover — ties the cards to the
   red-rule motif used in the hero and page heroes. */
.pillars-section .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillars-section .feature-card:hover {
    background: #fff;
    border-color: rgba(28, 33, 86, 0.25);
    box-shadow: 0 6px 24px rgba(28, 33, 86, 0.09);
    transform: none;
}

.pillars-section .feature-card:hover::before {
    transform: scaleX(1);
}

.pillar-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.pillars-section .pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    background: rgba(28, 33, 86, 0.06);
    color: var(--navy);
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.pillars-section .feature-card:hover .pillar-icon {
    background: var(--navy);
    color: #fff;
}

.pillar-index {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--border);
    transition: color 0.25s ease;
}

.pillars-section .feature-card:hover .pillar-index {
    color: var(--red);
}

.pillars-section .feature-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.pillars-section .feature-card p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ── Footer ────────────────────────────────────────────────── */
.main-footer.footer-make,
.footer-make {
    background: var(--navy-dark) !important;
    border-top: 4px solid var(--red) !important;
    color: #fff;
    padding: 4rem 0 0 !important;
    position: relative;
}

.main-footer.footer-make::before,
.footer-make::before {
    display: none !important;
    content: none !important;
}

.footer-make .container {
    max-width: var(--content-max);
    padding-top: 0;
    padding-bottom: 0;
}

.footer-make .footer-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
    margin-bottom: 3rem !important;
}

@media (min-width: 768px) {
    .footer-make .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem 3rem !important;
    }
}

@media (min-width: 1024px) {
    .footer-make .footer-content {
        grid-template-columns: 1.45fr 1fr 1.1fr 1fr !important;
        gap: 3rem !important;
    }

    .footer-make .footer-section:first-child,
    .footer-make .footer-brand {
        grid-column: auto !important;
    }
}

.footer-make .footer-section:first-child,
.footer-make .footer-brand {
    grid-column: auto !important;
}

.footer-make .footer-heading,
.footer-make .footer-section h3,
.footer-make .footer-section h4 {
    font-family: var(--font-mono) !important;
    font-size: 0.62rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--red) !important;
    margin: 0 0 1rem !important;
}

.footer-brand-link {
    display: inline-block;
    margin-bottom: 1.25rem;
    line-height: 0;
}

.footer-make .footer-brand-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    display: block;
    margin: 0;
}

.footer-make .footer-brand-copy,
.footer-make .footer-section p {
    font-size: 0.82rem !important;
    line-height: 1.75 !important;
    color: #fff !important;
    margin: 0 0 1.25rem !important;
}

.footer-make .footer-link-list,
.footer-make .footer-section ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-make .footer-link-list li,
.footer-make .footer-section ul li {
    margin: 0 !important;
}

.footer-make .footer-link-list a,
.footer-make .footer-section a {
    font-size: 0.84rem !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.2s;
    line-height: 1.4;
    display: inline-block;
}

.footer-make .footer-link-list a:hover,
.footer-make .footer-section a:hover {
    color: var(--red) !important;
}

.footer-make .footer-contact-address {
    font-size: 0.84rem !important;
    color: #fff !important;
    line-height: 1.5 !important;
}

.footer-make .footer-socials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0;
}

.footer-make .footer-socials a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.72rem;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.footer-make .footer-socials a:hover {
    border-color: var(--red);
    background: rgba(200, 34, 42, 0.13);
    color: #fff !important;
    transform: none;
}

.footer-make .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    color: #fff;
}

@media (min-width: 768px) {
    .footer-make .footer-bottom {
        flex-direction: row;
        align-items: center;
    }
}

.footer-make .footer-bottom p {
    font-family: var(--font-mono) !important;
    font-size: 0.62rem !important;
    color: #fff !important;
    letter-spacing: 0.06em;
    margin: 0 !important;
    line-height: 1.5;
}

.footer-make .footer-legal {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-make .footer-legal a {
    font-family: var(--font-mono) !important;
    font-size: 0.6rem !important;
    color: #fff !important;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    transition: color 0.2s;
}

.footer-make .footer-legal a:hover {
    color: var(--red) !important;
}

/* ── Page hero (Make inner pages) ──────────────────────────── */
.page-hero {
    position: relative;
    background: var(--navy-dark);
    overflow: hidden;
    padding: 4rem 0 3rem;
    display: flex;
    align-items: flex-end;
    min-height: 240px;
}

.page-hero--tall {
    min-height: 380px;
    height: 380px;
    padding: 0 0 3rem;
}

.page-hero--live {
    min-height: 460px;
    height: 460px;
    padding: 0 0 3rem;
}

.page-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

/* Same change as the home hero: the image is no longer washed out to 20%, and
   the headline gets its contrast from a gradient that only covers the lower
   band it actually occupies (.page-hero aligns its content to flex-end).
   Sits above the image at z-index 1, below the red stripe (2) and copy (3). */
.page-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        0deg,
        rgba(19, 23, 64, 0.95) 0%,
        rgba(19, 23, 64, 0.78) 35%,
        rgba(19, 23, 64, 0.35) 70%,
        rgba(19, 23, 64, 0.12) 100%
    );
}

.page-hero-stripe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--red);
    z-index: 2;
}

.page-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--hero-title-size);
    color: #fff !important;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0;
    max-width: 700px;
}

/* The 404/500 banner is a hero in all but name; it matches on size only, and
   keeps its own weight and spacing. */
.page-header h1 {
    font-size: var(--hero-title-size);
}

.page-hero-lead {
    font-size: 0.9rem;
    line-height: 1.8;
    /* Raised from 0.5 alpha for the same reason as .hero-subtitle above. */
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 12px rgba(19, 23, 64, 0.5);
    max-width: 500px;
    margin: 1rem 0 0;
}

.page-breadcrumb {
    background: var(--slate);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.page-breadcrumb nav,
.page-breadcrumb a,
.page-breadcrumb span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--navy);
}

/* Legacy page-header fallback */
.page-header {
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: auto;
    padding: 4rem 0 3rem;
}

.page-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--red);
    z-index: 2;
}

.page-header h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff !important;
    letter-spacing: -0.02em;
}

.page-header .breadcrumb,
.events-hero .breadcrumb {
    display: none;
}

/* ── Make content surfaces ─────────────────────────────────── */
.make-section {
    padding: 4rem 0 5rem;
    background: var(--off-white);
}

.make-section--white {
    background: #fff;
}

.make-section--navy {
    background: var(--navy);
    color: #fff;
}

.make-grid-2 {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .make-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.make-grid-3 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .make-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .make-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* About */
.mission-block {
    border-left: 4px solid var(--navy);
    padding-left: 2rem;
}

.vision-block {
    border-left: 4px solid var(--red);
    padding-left: 2rem;
}

.mission-block h2,
.vision-block h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0 0 1rem;
}

.mission-block p,
.vision-block p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

.stats-navy {
    background: var(--navy);
    padding: 4rem 0;
}

.stats-navy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 1024px) {
    .stats-navy-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.stats-navy-item {
    border-left: 3px solid var(--red);
    padding-left: 1.25rem;
}

.stats-navy-value {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.5rem;
    color: #fff;
    line-height: 1;
}

.stats-navy-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    margin-top: 6px;
}

.why-make-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .why-make-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-make-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-make-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.why-make-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(28, 33, 86, 0.07);
}

.why-make-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--red);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.why-make-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 0.6rem;
}

.why-make-card p {
    font-size: 0.83rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

.shield-section {
    background: #fff;
    padding: 5rem 0;
    text-align: center;
}

.shield-badge {
    width: 80px;
    height: 80px;
    background: var(--navy);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff;
}

.shield-section h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-dark);
    margin: 0.75rem 0 1rem;
}

.shield-section > .container > p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 40rem;
    margin: 0 auto 3rem;
}

.shield-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .shield-pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.shield-pillar {
    border-top: 3px solid var(--red);
    padding-top: 1.25rem;
}

.shield-pillar h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    margin: 0 0 6px;
}

.shield-pillar p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Services page */
.service-card-make {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.75rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-make::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red);
    transition: width 0.3s ease;
}

.service-card-make:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 24px rgba(28, 33, 86, 0.08);
    transform: translateY(-2px);
}

.service-card-make:hover::after {
    width: 100%;
}

.service-card-make-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-card-make h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.service-card-make p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.service-card-make .service-preview-index {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--red);
    letter-spacing: 0.1em;
    padding-top: 3px;
    flex-shrink: 0;
}

.services-cta-bar {
    background: var(--navy);
    border-top: 4px solid var(--red);
    padding: 4rem 0;
}

.services-cta-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .services-cta-bar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.services-cta-bar h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #fff !important;
    margin: 0.5rem 0 0;
}

.services-cta-bar p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.5rem 0 0;
}

/* Membership */
.membership-make {
    background: var(--off-white);
}

.tier-grid {
    display: grid;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tier-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.tier-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.tier-card:hover {
    border-color: var(--navy);
    box-shadow: 0 6px 24px rgba(28, 33, 86, 0.08);
}

.tier-card--highlight {
    border-color: var(--navy);
    box-shadow: 0 8px 32px rgba(28, 33, 86, 0.12);
}

.tier-card--highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(28, 33, 86, 0.14);
}

.tier-card--highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--red);
    z-index: 1;
}

.tier-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tier-card-intro {
    min-width: 0;
    flex: 1;
}

.tier-card-pricing {
    flex-shrink: 0;
    text-align: right;
}

.tier-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.tier-card--highlight .tier-tag {
    color: var(--red);
}

.tier-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

.tier-price {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--text-dark);
    text-align: right;
    line-height: 1.1;
}

.tier-card--highlight .tier-price {
    color: var(--red);
}

.tier-period {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-align: right;
    display: block;
    margin-top: 2px;
}

.tier-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-bottom: 1.25rem;
}

.tier-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    flex: 1;
}

.tier-features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.83rem;
    color: var(--text-mid);
    line-height: 1.5;
}

.tier-features li::before {
    content: "▸";
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 0.85rem;
}

.tier-card--highlight .tier-features li::before {
    color: var(--red);
}

.tier-card .btn-red,
.tier-card .btn-outline-navy {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 0.875rem;
    font-size: 0.75rem;
}

/* Quote — defeat legacy form chrome */
.quote-make {
    background: var(--off-white);
}

.quote-make-layout {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .quote-make-layout {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
        gap: 3rem;
        align-items: start;
    }

    .quote-aside {
        position: sticky;
        top: 6rem;
    }
}

.quote-form-make.quote-form,
.page-quote .quote-form-make {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
}

.quote-form-make .form-section,
.page-quote .quote-form-make .form-section {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 1.75rem !important;
    margin-bottom: 1.25rem !important;
    position: relative;
}

.quote-form-make .form-section:hover {
    border-color: var(--border) !important;
    box-shadow: none !important;
}

.quote-form-make .form-section::before,
.quote-form-make .form-section h3::before {
    display: none !important;
    content: none !important;
}

.quote-form-make .form-section h3 {
    font-family: var(--font-display) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    margin: 0 0 0.4rem !important;
    display: block !important;
    letter-spacing: -0.02em !important;
}

.quote-form-make .section-description {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    margin: 0 0 1.35rem !important;
    line-height: 1.65 !important;
    padding: 0 !important;
    border: none !important;
}

.field-label,
.quote-form-make .field-label,
.quote-form-make .form-group label.field-label {
    font-family: var(--font-mono) !important;
    font-size: 0.63rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--text-mid) !important;
    display: block !important;
    margin-bottom: 6px !important;
}

.field-input,
.quote-form-make .form-group input,
.quote-form-make .form-group select,
.quote-form-make .form-group textarea,
.quote-form-make .field-input {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    color: var(--text-dark) !important;
    font-family: var(--font-body) !important;
    font-size: 0.88rem !important;
    padding: 0.875rem 1rem !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.quote-form-make .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233D4275' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 2.5rem !important;
}

.field-input:focus,
.quote-form-make .form-group input:focus,
.quote-form-make .form-group select:focus,
.quote-form-make .form-group textarea:focus {
    border-color: var(--navy) !important;
    box-shadow: 0 0 0 3px rgba(28, 33, 86, 0.08) !important;
    transform: none !important;
}

.quote-form-make .form-row {
    display: grid !important;
    gap: 1.25rem !important;
    margin-bottom: 0 !important;
    grid-template-columns: 1fr !important;
}

@media (min-width: 768px) {
    .quote-form-make .form-row {
        grid-template-columns: 1fr 1fr !important;
    }
}

.quote-form-make .form-group {
    margin-bottom: 1.15rem !important;
}

.quote-form-make .form-group:last-child {
    margin-bottom: 0 !important;
}

.quote-form-make .services-checkbox-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    margin-top: 0 !important;
}

@media (min-width: 640px) {
    .quote-form-make .services-checkbox-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .quote-form-make .services-checkbox-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.quote-form-make .checkbox-label,
.quote-form-make .services-checkbox-grid .checkbox-label {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    padding: 0.65rem 0.8rem !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: var(--text-mid) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.55rem !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: visible !important;
}

.quote-form-make .checkbox-label::before {
    display: none !important;
    content: none !important;
}

.quote-form-make .checkbox-label:hover {
    border-color: var(--navy) !important;
    transform: none !important;
    box-shadow: none !important;
}

.quote-form-make .checkbox-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin-top: 2px !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 !important;
    appearance: none !important;
    background: #fff !important;
    flex-shrink: 0;
}

.quote-form-make .checkbox-label input[type="checkbox"]:checked {
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 14 14'%3E%3Cpath fill='white' d='M5.5 11L0 5.5l1.5-1.5L5.5 8l7-7L14 2.5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 10px !important;
}

.quote-form-make .checkbox-label:has(input:checked),
.quote-form-make .services-checkbox-grid .checkbox-label:has(input:checked) {
    background: var(--navy-light) !important;
    border-color: var(--navy) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
}

.quote-form-make .checkbox-label-text {
    position: static !important;
}

.quote-form-make .btn-navy {
    margin-top: 0.25rem;
}

.quote-alert {
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.quote-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quote-aside-card {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--navy);
    padding: 1.75rem;
}

.quote-aside-card .field-label {
    margin-bottom: 4px;
}

.quote-aside-value {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin: 0 0 1.15rem;
    white-space: pre-line;
    line-height: 1.6;
}

.quote-aside-card .footer-contact-item:last-child .quote-aside-value,
.quote-aside-value:last-child {
    margin-bottom: 0;
}

.quote-aside-value a {
    color: inherit;
    text-decoration: none;
}

.quote-aside-value a:hover {
    color: var(--navy);
}

.quote-aside-navy {
    background: var(--navy);
    padding: 1.75rem;
}

.quote-aside-navy .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.quote-aside-time {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--red);
    line-height: 1;
}

.quote-aside-navy p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.5rem 0 0;
    line-height: 1.55;
}

.quote-success {
    text-align: center;
    padding: 5rem 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

.quote-success-badge {
    width: 64px;
    height: 64px;
    background: var(--navy);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #fff;
    font-size: 1.4rem;
}

.quote-success h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0 0 1rem;
}

.quote-success p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ── Whistleblower report form ─────────────────────────────────
   /whistleblow asks the questions of ISO form SSS/MS/FR/012 through the same
   components as /quote, so this only adds what the quote form has no use for:
   single-choice controls, the anonymity card, and the fields that switch off
   when the answer they depend on is not given. */

/* Same edges as the trust grid, the notice and the documents cards above it —
   the page reads as one column, not a narrow form dropped into a wide page. */
.whistleblow-form-wrap {
    width: 100%;
}

/* The inputs take the full width; the prose above them should not — a section
   description running the whole container is a line too long to read. */
.whistleblow-form .section-description {
    max-width: 68ch;
}

.whistleblow-form .form-section h3 i {
    color: var(--red);
    font-size: 0.9rem;
    margin-right: 0.5rem;
    vertical-align: baseline;
}

/* Single choice: same card as the checkbox, round mark so it reads as one-of. */
.quote-form-make .checkbox-label input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    margin-top: 2px !important;
    border: 1px solid var(--border) !important;
    border-radius: 50% !important;
    appearance: none !important;
    background: #fff !important;
    flex-shrink: 0;
    padding: 0 !important;
}

.quote-form-make .checkbox-label input[type="radio"]:checked {
    border-color: var(--navy) !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 4px var(--navy) !important;
}

/* Ten concern types, so aim for rows that divide evenly rather than leaving one
   box stranded on a line of its own. */
.whistleblow-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.6rem;
}

.whistleblow-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.whistleblow-choice-row .whistleblow-choice {
    min-width: 8rem;
}

.whistleblow-form .whistleblow-choice {
    cursor: pointer;
    align-items: center !important;
}

.whistleblow-form .whistleblow-choice input {
    margin-top: 0 !important;
}

/* Anonymity — the one choice that changes what the form will send. */
.whistleblow-anonymous-card {
    margin-bottom: 1.25rem;
}

.quote-form-make .whistleblow-anonymous-label {
    padding: 1.15rem 1.25rem !important;
    border-left: 3px solid var(--navy) !important;
    background: var(--off-white) !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
}

.quote-form-make .whistleblow-anonymous-label:has(input:checked) {
    background: var(--navy-light) !important;
}

.whistleblow-anonymous-label .checkbox-label-text {
    display: flex !important;
    flex-direction: column;
    gap: 0.3rem;
}

.whistleblow-anonymous-label .checkbox-label-text strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.whistleblow-anonymous-label .checkbox-label-text small {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
}

.whistleblow-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0 0 1.25rem;
    padding: 0.7rem 0.9rem;
    background: var(--navy-light);
    border-left: 3px solid var(--navy);
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--navy);
}

.whistleblow-note i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* display:flex above would otherwise beat the hidden attribute. */
.whistleblow-note[hidden] {
    display: none;
}

/* Switched-off fields stay visible — the reporter can see what is not being
   sent, rather than watching it disappear. */
.whistleblow-reporter-fields.is-disabled,
.whistleblow-form .form-group.is-disabled {
    opacity: 0.45;
}

.whistleblow-form .form-group.is-disabled .field-input {
    background: var(--slate) !important;
    cursor: not-allowed;
}

.whistleblow-dependent {
    margin-top: 1rem;
}

.whistleblow-sign-block {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px dashed var(--border);
}

.whistleblow-form .form-actions {
    text-align: left;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.whistleblow-form .whistleblow-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    min-width: 0;
    box-shadow: none;
}

.whistleblow-form .form-note {
    margin-top: 1rem;
    text-align: left;
    font-style: normal;
    font-size: 0.78rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.whistleblow-form .form-note i {
    color: var(--navy);
    margin-right: 0.35rem;
}

.whistleblow-success-note {
    margin-top: 1rem;
    font-size: 0.8rem !important;
}

@media (max-width: 640px) {
    .whistleblow-choice-grid {
        grid-template-columns: 1fr;
    }

    .whistleblow-form .whistleblow-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Live Life Save */
.live-make-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .live-make-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.live-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.live-stat-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 1.75rem;
}

.live-stat-value {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    color: var(--navy);
    line-height: 1;
}

.live-stat-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 8px;
    line-height: 1.5;
}

.live-services-list {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .live-services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.live-service-make {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.5rem;
}

.live-service-make h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    margin: 0 0 0.5rem;
}

.live-service-make p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Events Make list */
.events-make-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-make-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.event-make-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(28, 33, 86, 0.07);
}

.event-make-date {
    flex-shrink: 0;
    background: var(--navy);
    padding: 0.875rem 1.25rem;
    text-align: center;
    min-width: 80px;
}

.event-make-date-month {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.event-make-date-day {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1;
}

.event-make-body {
    flex: 1;
    min-width: 200px;
}

.event-make-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.event-make-body h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 0;
}

.event-type-pill {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    font-weight: 500;
    background: var(--navy-light);
    color: var(--navy);
}

/* An event that has already happened should read as a record, not an offer. */
.event-type-pill--past {
    background: #F1F2F7;
    color: var(--text-muted);
}

.event-type-pill--happening {
    background: var(--red-light);
    color: var(--red-dark);
}

.event-make-loc {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.event-make-body p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.event-make-action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/*
 * Past events get this in place of the Register button. It is deliberately a
 * quiet text cue rather than a second button style: the whole card is already
 * the link to the detail page, and a filled button next to a finished event
 * reads as a call to sign up for something that is over.
 */
.event-make-link {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
    padding-bottom: 3px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.event-make-card:hover .event-make-link {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.events-filters .filter-btn,
.news-filters .filter-btn,
.resource-filters .filter-btn {
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-mid);
    padding: 0.55rem 0.9rem;
}

.events-filters .filter-btn.active,
.news-filters .filter-btn.active,
.resource-filters .filter-btn.active,
.events-filters .filter-btn:hover,
.news-filters .filter-btn:hover,
.resource-filters .filter-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* News Make */
.news-featured-make {
    background: #fff;
    border: 1px solid var(--border);
    display: grid;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

@media (min-width: 768px) {
    .news-featured-make {
        grid-template-columns: 1fr 1fr;
    }
}

.news-featured-make:hover {
    box-shadow: 0 8px 32px rgba(28, 33, 86, 0.1);
}

.news-featured-make-media {
    min-height: 220px;
    background: var(--navy-dark);
}

.news-featured-make-media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.news-featured-make-body {
    padding: 2.25rem;
}

.news-featured-make-body h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 0 0 0.75rem;
}

.news-featured-make-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.news-make-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .news-make-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.news-make-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.5rem;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.news-make-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(28, 33, 86, 0.07);
}

.news-make-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 0.6rem;
}

.news-make-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.news-cat-pill {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 9px;
    font-weight: 500;
    background: var(--navy-light);
    color: var(--navy);
}

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.news-meta-row time {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted);
}

.news-read-link {
    margin-top: 1rem;
    display: inline-block;
    font-size: 0.7rem;
    color: var(--red);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Resources — parent page, aligned with Careers listings */
.page-resources .resources-library-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem 1.25rem;
    margin: 0 0 0.85rem;
}

.page-resources .resources-library-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.1;
}

.page-resources .resources-library-count {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy-light);
    padding: 0.4rem 0.75rem;
}

.page-resources .resources-library-lead {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin: 0 0 1.5rem;
    max-width: 46rem;
}

.page-resources .resource-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0 0 2rem;
}

.page-resources .resources-list {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.page-resources .resource-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    width: 100%;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.page-resources .resource-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-resources a.resource-row:hover,
.page-resources a.resource-row:focus-visible {
    border-color: rgba(28, 33, 86, 0.25);
    box-shadow: 0 6px 24px rgba(28, 33, 86, 0.09);
}

.page-resources a.resource-row:hover::before,
.page-resources a.resource-row:focus-visible::before {
    transform: scaleY(1);
}

.page-resources .resource-row-type {
    flex-shrink: 0;
    background: var(--navy);
    padding: 0.85rem 1.15rem;
    text-align: center;
    min-width: 5.25rem;
}

.page-resources .resource-row-type-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.page-resources .resource-row-type-ext {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.page-resources .resource-row-body {
    flex: 1;
    min-width: min(100%, 16rem);
}

.page-resources .resource-row h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 0.65rem;
}

.page-resources .resource-row-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.7rem;
}

.page-resources .resource-row-excerpt {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-resources .resource-row-meta {
    margin: 0.55rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.page-resources .resource-row-cta {
    pointer-events: none;
    white-space: nowrap;
    margin-left: auto;
}

.page-resources .resource-row-cta--soon {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 3px;
}

@media (max-width: 700px) {
    .page-resources .resource-row-cta {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
}

.resources-make-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.resource-make-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.resource-make-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(28, 33, 86, 0.07);
}

.resource-make-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.resource-make-size {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
}

.resource-make-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    line-height: 1.4;
    margin: 0;
}

.resource-make-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.resource-download {
    font-size: 0.68rem;
    color: var(--red);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.resource-download:hover {
    color: var(--red-dark);
}

/* Hide old events hero when using page-hero */
.events-hero {
    display: none;
}

.make-section .section-intro h2,
.make-section .events-toolbar-intro h2,
.make-section .news-toolbar-intro h2 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
}

.make-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* ── Floating actions / back to top ────────────────────────── */
.floating-quick-actions .quick-action {
    border-radius: 0;
}

.quick-quote {
    background: var(--red);
}

.back-to-top {
    border-radius: 0;
    background: var(--navy);
}

/* ── Reduce conflicting legacy chrome on homepage ──────────── */
.page-index .features-section:not(.pillars-section) {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   Mobile responsiveness — Figma Make breakpoints
   lg: 1024px · md: 768px · sm: ~480px
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .container,
    .main-header .container,
    .header-top-row .container,
    .header-bottom-row .container,
    .main-footer .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-make .container {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .hero-section.hero-make {
        min-height: auto;
    }

    .hero-make .hero-diagonal {
        width: 100%;
        background: linear-gradient(180deg, transparent 35%, rgba(200, 34, 42, 0.08) 100%);
    }

    /* Below 1024px .hero-copy stops being a left-hand column and spans the full
       width, so a left-weighted scrim would leave the end of every line sitting
       on bare photo. Go vertical instead. */
    .hero-make .hero-scrim {
        background: linear-gradient(
            180deg,
            rgba(19, 23, 64, 0.78) 0%,
            rgba(19, 23, 64, 0.6) 45%,
            rgba(19, 23, 64, 0.8) 100%
        );
    }

    .services-preview-section,
    .foundation-section,
    .eah-holding-section,
    .pillars-section,
    .make-section {
        padding: 4rem 0;
    }

    .cta-section.cta-make {
        padding: 3.5rem 0;
    }

    .foundation-corner {
        display: none;
    }

    .foundation-media {
        overflow: hidden;
    }

    .page-hero--tall,
    .page-hero--live {
        height: auto;
        min-height: 260px;
        padding: 3.5rem 0 2.5rem;
    }

    .page-hero {
        min-height: 200px;
        padding: 3rem 0 2.25rem;
    }

    .shield-section {
        padding: 3.5rem 0;
    }

    .stats-navy {
        padding: 3rem 0;
    }

    .services-cta-bar {
        padding: 3rem 0;
    }

    .services-cta-bar .btn-red {
        width: 100%;
    }

    .event-make-action {
        width: 100%;
    }

    .event-make-action .btn-navy {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-top-row {
        display: none !important;
    }

    .container,
    .main-header .container,
    .header-top-row .container,
    .header-bottom-row .container,
    .main-footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-top-content {
        gap: 0.65rem;
    }

    .contact-info-row {
        gap: 0.75rem 1rem;
    }

    .header-contact-link,
    .header-address {
        font-size: 0.62rem;
    }

    .header-whistleblow {
        font-size: 0.6rem;
    }

    .logo-img,
    .footer-brand-logo {
        height: 44px;
    }

    .hero-make .container {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .hero-make .hero-banner {
        white-space: normal !important;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.65rem 0.85rem;
        font-size: clamp(0.7rem, 2.5vw, 0.78rem);
        line-height: 1.4;
        margin-bottom: 1.75rem;
    }

    .hero-make .hero-title {
        margin-bottom: 1.1rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-make .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.75rem;
        max-width: 100%;
    }

    .hero-make .hero-actions {
        gap: 0.75rem;
        margin-bottom: 2.25rem;
    }

    .hero-make .hero-actions .btn-red,
    .hero-make .hero-actions .btn-outline-white {
        flex: 1 1 auto;
        min-width: min(100%, 10rem);
        text-align: center;
        padding: 0.8rem 1.25rem;
    }

    .hero-make .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem 0.85rem;
        padding-top: 1.5rem;
    }

    .hero-make .hero-stat-value {
        font-size: clamp(1.3rem, 4.5vw, 1.5rem);
    }

    .hero-make .hero-stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.06em;
    }

    .trust-strip {
        padding: 0.5rem 0;
    }

    .trust-strip-track {
        gap: 1.5rem;
        padding-right: 1.5rem;
        animation-duration: 22s;
    }

    .trust-strip-label {
        font-size: 0.65rem;
        letter-spacing: 0.05em;
    }

    .services-preview-section,
    .foundation-section,
    .eah-holding-section,
    .pillars-section,
    .make-section,
    .make-section--white {
        padding: 3.25rem 0;
    }

    .services-preview-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .services-preview-header .btn-outline-navy {
        width: 100%;
    }

    .service-preview-card,
    .service-card-make,
    .why-make-card,
    .tier-card,
    .resource-make-card,
    .news-make-card,
    .live-service-make {
        padding: 1.35rem;
    }

    .foundation-band {
        gap: 1.5rem;
    }

    .foundation-badge {
        top: 12px;
        left: 12px;
        padding: 0.45rem 0.75rem;
        font-size: 0.58rem;
    }

    .cta-make .cta-content {
        align-items: stretch;
    }

    .cta-make .cta-actions {
        width: 100%;
    }

    .cta-make .cta-actions .btn-red,
    .cta-make .cta-actions .btn-outline-white {
        flex: 1 1 100%;
        text-align: center;
    }

    .pillars-section .features-grid {
        gap: 0.85rem;
    }

    .pillars-section .feature-card {
        padding: 1.35rem 1rem;
    }

    .pillars-section .section-header {
        margin-bottom: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .footer-section:first-child {
        grid-column: auto;
    }

    .main-footer {
        padding: 3rem 0 0;
    }

    .footer-bottom {
        text-align: center;
        align-items: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .page-hero--tall,
    .page-hero--live {
        min-height: 220px;
        padding: 3rem 0 2rem;
    }

    .page-hero-lead {
        font-size: 0.85rem;
        margin-top: 0.75rem;
    }

    .mission-block,
    .vision-block {
        padding-left: 1.25rem;
    }

    .mission-block h2,
    .vision-block h2 {
        font-size: 1.25rem;
    }

    .stats-navy-value {
        font-size: 2rem;
    }

    .stats-navy-grid {
        gap: 1.5rem;
    }

    .make-section h2[style],
    .make-section .why-make-grid + *,
    .shield-section > .container > p {
        margin-bottom: 2rem !important;
    }

    .tier-card-top {
        flex-direction: row;
        gap: 0.75rem;
    }

    .tier-card-pricing {
        text-align: right;
    }

    .tier-price,
    .tier-period {
        text-align: right;
    }

    .quote-form-make .form-section {
        padding: 1.25rem !important;
    }

    .quote-aside {
        position: static;
    }

    .footer-make {
        padding-top: 3rem !important;
    }

    .footer-make .footer-bottom {
        text-align: center;
        align-items: center;
    }

    .footer-make .footer-legal {
        justify-content: center;
    }

    .quote-form .form-section {
        margin-bottom: 1.5rem;
    }

    .services-checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }

    .event-make-card {
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .event-make-date {
        min-width: 72px;
        padding: 0.75rem 1rem;
    }

    .news-featured-make-body {
        padding: 1.5rem;
    }

    .news-featured-make-body h2 {
        font-size: 1.1rem;
    }

    .make-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .events-filters,
    .news-filters,
    .resource-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .events-filters .filter-btn,
    .news-filters .filter-btn,
    .resource-filters .filter-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.6rem;
    }

    .live-make-grid {
        gap: 2.5rem;
    }

    .live-stat-card {
        padding: 1.25rem;
    }

    .live-stat-value {
        font-size: 1.6rem;
    }

    .floating-quick-actions {
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.5rem;
    }

    .back-to-top {
        right: 0.75rem;
        bottom: 5.5rem;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-make .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.75rem;
    }

    .hero-make .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-make .hero-actions .btn-red,
    .hero-make .hero-actions .btn-outline-white {
        flex: 1 1 100%;
        width: 100%;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .trust-strip-track {
        gap: 1.25rem;
        padding-right: 1.25rem;
    }

    .pillars-section .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-navy-grid,
    .live-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .services-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .btn-red,
    .btn-navy,
    .btn-outline-navy,
    .btn-outline-white {
        padding: 0.8rem 1.25rem;
        font-size: 0.7rem;
    }

    .header-top-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .shield-pillars {
        grid-template-columns: 1fr;
    }
}

/* Prevent horizontal scroll from absolute accents / wide nav */
html,
body {
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
}

.page-hero-image,
.hero-make .hero-bg-image {
    height: 100%;
}

.news-featured-make-media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

/* ── Coming soon ───────────────────────────────────────────────────────────
   Used where a page describes something real but not yet launched. The point
   is to say "planned, not running" without the page looking broken or empty,
   and without publishing a figure or a price that is not true yet. Borrows the
   red top-rule from .live-stat-card so it reads as part of the same family. */

.coming-soon-panel {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.coming-soon-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
}

.coming-soon-panel h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.25;
}

.coming-soon-panel p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

.coming-soon-panel .coming-soon-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

/* Inline note above a grid of indicative content, so a reader knows the cards
   below are a plan rather than an offer. */
.indicative-note {
    border-left: 3px solid var(--red);
    padding: 0.15rem 0 0.15rem 1rem;
    margin: 0 0 2rem;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 60ch;
}

.indicative-note strong { color: var(--text-dark); }

/* Price slot when there is no price yet. Same position and rhythm as
   .tier-price, but deliberately quiet — it is a status, not a number. */
.tier-price--soon {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    text-align: right;
    line-height: 1.3;
}

/* ── Section tabs (News & Events) ───────────────────────────
   Underline tabs rather than pills: the page already carries a pill row for
   the per-tab filters, and two pill rows stacked read as one flat list of
   eight equal choices instead of a section switch above a filter. */
.section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.section-tab {
    position: relative;
    display: inline-block;
    padding: 0.85rem 1.35rem;
    margin-bottom: -1px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.section-tab:hover,
.section-tab:focus-visible {
    color: var(--navy);
    background: var(--off-white);
}

.section-tab.active {
    color: var(--navy);
    font-weight: 700;
    border-bottom-color: var(--red);
}

@media (max-width: 640px) {
    .section-tabs {
        gap: 0;
    }

    /* Two tabs, so half the row each: they stay a segmented control instead of
       wrapping one word onto its own line on a narrow phone. */
    .section-tab {
        flex: 1 1 0;
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.65rem;
    }
}

/* ── Accountability channels (home) ─────────────────────────
   Replaces the old navy "Start Today" CTA. Two columns: the pitch holds the
   left, the three reporting routes stack down the right. A three-across grid
   was tried first and left the entire right-hand side of the section empty
   above the cards, which is what made the block feel like padding. */
.accountability-section {
    background: var(--off-white);
    padding: 4rem 0 4.5rem;
}

.accountability-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
    gap: 4rem;
    /* The intro is shorter than the three stacked rows; centring splits the
       leftover height above and below it instead of leaving it all dangling
       under the last line. */
    align-items: center;
}

.accountability-heading {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 3vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0.75rem 0 0;
}

.accountability-lead {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin: 1.25rem 0 0;
}

.accountability-note {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted);
    border-left: 2px solid var(--red);
    padding-left: 0.9rem;
    margin: 1.5rem 0 0;
}

.accountability-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* Same three-part row as .event-make-card — marker, body, action — so the
   channels read as the site's existing list idiom rather than a new one. */
.accountability-row {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.6rem 1.75rem;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.accountability-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.accountability-row:hover,
.accountability-row:focus-visible {
    border-color: rgba(28, 33, 86, 0.25);
    box-shadow: 0 6px 24px rgba(28, 33, 86, 0.09);
}

.accountability-row:hover::before,
.accountability-row:focus-visible::before {
    transform: scaleY(1);
}

.accountability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    background: rgba(28, 33, 86, 0.06);
    color: var(--navy);
    font-size: 1.05rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.accountability-row:hover .accountability-icon {
    background: var(--red);
    color: #fff;
}

.accountability-body {
    display: block;
    min-width: 0;
}

.accountability-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 0.4rem;
}

.accountability-copy {
    display: block;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-mid);
}

.accountability-action {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .accountability-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .accountability-section {
        padding: 3rem 0 3.5rem;
    }

    /* The action label drops under the copy rather than squeezing the middle
       column down to a couple of words per line. */
    .accountability-row {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 1rem;
        padding: 1.35rem 1.25rem;
    }

    .accountability-action {
        grid-column: 2;
        margin-top: 0.85rem;
    }
}

.page-careers .make-grid-2,
.page-career .make-grid-2 {
    align-items: stretch;
}

@media (min-width: 1024px) {
    .page-careers .make-grid-2 {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        min-height: 22rem;
    }

    .page-careers .make-grid-2 .mission-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.page-careers .careers-photo,
.page-career .careers-photo {
    margin: 0;
    position: relative;
    align-self: stretch;
    min-height: 16rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .page-careers .careers-photo,
    .page-career .careers-photo {
        aspect-ratio: auto;
        min-height: 100%;
    }
}

.page-careers .careers-photo img,
.page-career .careers-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
}

.page-careers .quote-form.quote-form-make,
.page-career .quote-form.quote-form-make {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    padding: 1.75rem !important;
    max-width: none !important;
    width: 100%;
}

.page-careers .careers-openings-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem 1.25rem;
    margin: 0 0 0.85rem;
}

.page-careers .careers-openings-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.1;
}

.page-careers .careers-openings-count {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy-light);
    padding: 0.4rem 0.75rem;
}

.page-careers .careers-openings-lead {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin: 0 0 2rem;
    max-width: 46rem;
}

.page-careers .careers-jobs {
    display: grid;
    gap: 1rem;
}

.page-careers .careers-job {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    width: 100%;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.page-careers .careers-job::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-careers .careers-job:hover,
.page-careers .careers-job:focus-visible {
    border-color: rgba(28, 33, 86, 0.25);
    box-shadow: 0 6px 24px rgba(28, 33, 86, 0.09);
}

.page-careers .careers-job:hover::before,
.page-careers .careers-job:focus-visible::before {
    transform: scaleY(1);
}

.page-careers .careers-job-date {
    flex-shrink: 0;
    background: var(--navy);
    padding: 0.85rem 1.15rem;
    text-align: center;
    min-width: 5.25rem;
}

.page-careers .careers-job-date-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.page-careers .careers-job-date-day {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1;
}

.page-careers .careers-job-date-month,
.page-careers .careers-job-date-open {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-top: 4px;
}

.page-careers .careers-job-date-open {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.page-careers .careers-job-body {
    flex: 1;
    min-width: min(100%, 16rem);
}

.page-careers .careers-job h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 0.65rem;
}

.page-careers .careers-job-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.7rem;
}

.page-careers .careers-job-excerpt {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-careers .careers-job-posted {
    margin: 0.55rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.page-careers .careers-job-cta {
    pointer-events: none;
    white-space: nowrap;
    margin-left: auto;
}

@media (max-width: 700px) {
    .page-careers .careers-job-cta {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
}

.page-career .careers-spec {
    display: grid;
    gap: 1.25rem;
    margin: 0 0 2.5rem;
    width: 100%;
}

.page-career .careers-spec-section {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.75rem;
}

.page-career .careers-spec-section h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 0 0 1.15rem;
    line-height: 1.2;
}

.page-career .careers-spec-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 1.25rem;
    margin: 0;
}

.page-career .careers-spec-fact dt {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.page-career .careers-spec-fact dd {
    margin: 0.3rem 0 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.page-career .careers-spec-block {
    margin-top: 0;
}

.page-career .careers-spec-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.15rem 1.5rem;
}

.page-career .careers-spec-block h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin: 0 0 0.4rem;
}

.page-career .careers-spec-block p,
.page-career .careers-spec-copy {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-mid);
}

.careers-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Certification (ISO 18788 / Intertek) --- */
.page-certification .cert-intro h2,
.page-certification .cert-details h2,
.page-certification .cert-sites h2,
.page-certification .cert-verify h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.cert-intro-layout,
.cert-verify-layout {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .cert-intro-layout,
    .cert-verify-layout {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3rem;
        align-items: stretch;
    }
}

.cert-statement {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: var(--text-dark);
    margin: 0 0 1.25rem;
}

.cert-statement-note,
.cert-details-lead,
.cert-sites-lead,
.cert-download-note {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin: 0;
}

.cert-download-note {
    margin-top: 1.25rem;
}

.cert-verify-layout > div > p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin: 0 0 1rem;
}

.cert-marks-rules {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.cert-marks-rules li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-mid);
}

.cert-marks-rules li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.45rem;
    height: 0.45rem;
    background: var(--red);
}

.cert-marks-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    min-height: 100%;
}

.cert-marks-figure img {
    display: block;
    width: 100%;
    max-width: 28rem;
    height: auto;
}

.cert-marks-figure figcaption {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-mid);
    text-align: center;
    max-width: 28rem;
}

.cert-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem 1.5rem;
    margin: 2rem 0 0;
}

.cert-fact {
    padding: 1.15rem 0 0;
    border-top: 2px solid var(--navy);
}

.cert-fact dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 0.4rem;
}

.cert-fact dd {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.cert-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.cert-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.cert-site-card {
    padding: 1.5rem 1.35rem;
    background: #fff;
    border-top: 3px solid var(--navy);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.cert-site-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.cert-site-address {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-mid);
}

.cert-site-scope {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.cert-site-scope span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.25rem;
}

.cert-verify-aside {
    padding: 1.75rem 1.5rem;
    background: var(--off-white, #f7f8fa);
    border-left: 3px solid var(--navy);
}

.cert-verify-aside h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
}

.cert-verify-aside h3 + ul + h3 {
    margin-top: 1.5rem;
}

.cert-verify-aside ul {
    margin: 0;
    padding: 0 0 0 1.1rem;
}

.cert-verify-aside li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-mid);
    margin-bottom: 0.45rem;
}

@media (max-width: 640px) {
    .cert-downloads .btn-red,
    .cert-downloads .btn-outline-navy {
        width: 100%;
        text-align: center;
    }

    .cert-marks-figure {
        padding: 1.25rem;
    }
}

.hero-make .hero-banner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.hero-make .hero-banner a:hover,
.hero-make .hero-banner a:focus-visible {
    color: var(--red);
}


/* --- Partners (Companies we work with) --- */
.partners-section {
    background: var(--off-white, #f7f8fa);
    padding: 5rem 0;
}

.partners-header {
    max-width: 40rem;
    margin: 0 0 2.5rem;
}

.partners-header h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
    line-height: 1.2;
}

.partners-header p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-mid);
}

.partners-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    gap: 1rem 1.25rem;
    align-items: stretch;
}

.partners-item {
    margin: 0;
}

.partners-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.5rem;
    height: 100%;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(28, 33, 86, 0.08);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.partners-logo-link:hover,
a.partners-logo-link:focus-visible {
    border-color: rgba(28, 33, 86, 0.22);
    box-shadow: 0 6px 18px rgba(28, 33, 86, 0.06);
}

.partners-logo {
    display: block;
    width: 100%;
    max-width: 10rem;
    max-height: 3.25rem;
    height: auto;
    object-fit: contain;
}

.partners-next-link {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.partners-next-link:hover,
.partners-next-link:focus-visible {
    background: var(--red);
    border-color: var(--red);
    box-shadow: none;
    color: #fff;
}

.partners-next-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: inherit;
}

.partners-next-cta {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
    color: inherit;
}

@media (max-width: 640px) {
    .partners-section {
        padding: 3.5rem 0;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
        gap: 0.75rem;
    }

    .partners-logo-link {
        min-height: 4.75rem;
        padding: 0.85rem 1rem;
    }
}

/* Admin-managed homepage slides. */
.hero-section.hero-carousel { display: block; }
.hero-carousel .hero-slide { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-carousel .hero-slide[hidden] { display: none; }
.hero-carousel .hero-slide-layout { position: relative; }
.hero-carousel .section-label { margin-bottom: .75rem; }
.hero-carousel .hero-slide--certification .hero-slide-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-carousel .hero-slide--certification .hero-title { font-size: clamp(2.3rem, 3.9vw, 4rem); }
.hero-carousel .hero-slide--certification .hero-title-accent { display: block; color: #fff; }
.hero-carousel .hero-slide--certification .hero-actions { margin-bottom: 0; }
.hero-cert-card { padding: clamp(1.5rem, 3vw, 3rem); color: var(--navy-dark); background: #fff; border-top: 5px solid var(--red); box-shadow: 0 25px 70px #0004; }
.hero-cert-kicker { display: block; font-family: var(--font-mono); font-size: .65rem; line-height: 1.7; text-transform: uppercase; letter-spacing: .12em; }
.hero-cert-standard { display: block; margin-top: 1rem; font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.2; }
.hero-cert-status { display: block; margin-top: .5rem; font-size: 1rem; }
.hero-cert-mark { background: #fff; margin: 1.75rem 0; }
.hero-cert-mark img { display: block; width: 100%; height: auto; object-fit: contain; }
.hero-cert-card p { font-family: var(--font-mono); font-size: .75rem; padding-top: 1rem; border-top: 1px solid #ddd; }
.hero-cert-card a { color: var(--navy-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
    .hero-slide:not([hidden]) .hero-slide-layout { animation: heroSlideEnter .55s ease-out both; }
    @keyframes heroSlideEnter { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
}
@media (max-width: 900px) {
    .hero-carousel .hero-slide--certification .hero-slide-layout { grid-template-columns: 1fr; gap: 2rem; }
    .hero-cert-card { max-width: 520px; }
    .hero-cert-mark img { max-height: 200px; }
}
@media (max-width: 600px) {
    .hero-carousel .hero-banner { white-space: normal !important; }
    .hero-carousel .hero-title { overflow-wrap: anywhere; }
}

/* Small slide markers with a generous invisible touch target. */
.hero-indicators { position: absolute; z-index: 4; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; flex-wrap: wrap; width: max-content; max-width: calc(100% - 2rem); }
.hero-indicators[hidden] { display: none; }
.hero-indicators button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-indicators button span { display: block; width: 6px; height: 6px; border-radius: 99px; background: #ffffff80; box-shadow: 0 1px 4px #0008; }
.hero-indicators button[aria-current="true"] span { width: 20px; background: var(--red); }
.hero-indicators button:hover span { background: #fff; }
.hero-indicators button:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 6px; }
