/* ============================================================
   DAFA PARTNERS — styles.css
   ============================================================ */

:root {
    /* Brand primary — from the Figma design system (Primary/*) */
    --red: #AF0000;
    --red-dark: #800000;

    --primary: #AF0000;
    --primary-hover: #800000;
    --primary-focus: #940000;
    --primary-press: #660000;
    --primary-alert: #FF1E1E;

    /* Secondary button tokens */
    --secondary-bg: #FAFAFA;
    --secondary-border: #CCCCCC;
    --secondary-border-hover: #999999;
    --secondary-border-press: #808080;
    --secondary-bg-hover: #F2F3F2;
    --secondary-bg-press: #DCDFDF;
    --text-neutral-1: #303635;
    --text-dark: #0F1010;

    /* Header menu item tokens */
    --menu-text: #080C17;
    --menu-hover-bg: #E2E8F0;
    --menu-hover-text: #475569;
    --menu-selected-bg: #1B2332;
    --menu-selected-text: #E2E8F0;
    --menu-press-text: #5D6F89;

    --hero-bg: #EDECE8;
    --ink: #17181C;
    --ink-soft: #4B4E57;
    --navy: #101A33;
    --grey-bg: #F4F5F7;
    --grey-line: #E4E6EA;
    --white: #FFFFFF;

    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --container: 1180px;

    --font-body: 'Inter', sans-serif;
    --font-carousel: 'Montserrat', sans-serif;

    --shadow: 0 12px 30px rgba(16, 26, 51, 0.08);
}


/* ============================================================
   GLOBAL
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 44px;
    padding: 0 20px;
}

.section-head h2 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.section-head p {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 15px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 13px 26px;

    border-radius: 999px;

    font-size: 14.5px;
    font-weight: 600;

    border: 1.5px solid transparent;

    cursor: pointer;
    white-space: nowrap;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.btn svg {
    flex-shrink: 0;
}


/*
   Button states follow the Figma "Buttons" component set:
   Enabled → Hover → Focus → Pressed → Disabled.
*/

/* Primary */

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 2px 0 rgba(15, 15, 15, 0.15);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
}

.btn-primary:focus-visible {
    background: var(--primary-focus);
    border-color: var(--primary-focus);
    color: var(--white);
}

.btn-primary:active {
    background: var(--primary-press);
    border-color: var(--primary-press);
    color: var(--white);
}


/* Secondary (used by "Log In" and the carousel "Learn More") */

.btn-outline,
.btn-learn-more {
    background: var(--secondary-bg);
    border-color: var(--secondary-border);
    border-width: 1px;
    color: var(--text-neutral-1);
}

.btn-outline:hover,
.btn-learn-more:hover {
    background: var(--secondary-bg-hover);
    border-color: var(--secondary-border-hover);
    color: var(--text-neutral-1);
}

.btn-outline:focus-visible,
.btn-learn-more:focus-visible {
    background: var(--secondary-bg-hover);
    border-color: var(--secondary-bg-hover);
    color: var(--text-neutral-1);
}

.btn-outline:active,
.btn-learn-more:active {
    background: var(--secondary-bg-press);
    border-color: var(--secondary-border-press);
    color: var(--text-neutral-1);
}


/* Disabled — any style */

.btn[aria-disabled="true"],
.btn:disabled {
    background: transparent;
    border-color: transparent;
    color: #C4C7C7;
    box-shadow: none;
    pointer-events: none;
}


/* Small */

.btn-sm {
    padding: 9px 20px;
    font-size: 13px;
}


/* Large */

.btn-lg {
    padding: 16px 34px;
    font-size: 15px;
}


.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.link-arrow svg {
    transition: transform 0.15s ease;
}

.link-arrow:hover svg {
    transform: translateX(3px);
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: var(--white);
    border-bottom: 1px solid var(--grey-line);
}

.nav-wrap {
    max-width: var(--container);
    margin: 0 auto;

    padding: 14px 24px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* Logo */

.brand {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;
}

.brand-mark {
    width: 84.54px;
    height: 19.72px;
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.4px;

    color: var(--ink);
    line-height: 1.1;
}

.brand-text em {
    display: block;

    font-style: normal;
    font-weight: 500;

    font-size: 10px;
    letter-spacing: 1.5px;

    color: var(--ink-soft);
}


/* Navigation */

.main-nav {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}

/*
   Header menu item — Figma component states:
   Default  : no fill, dark text
   Hover    : light slate pill, slate text
   Selected : dark navy pill, light text
   Press    : no fill, muted text
*/

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 34px;
    padding: 9px 12px;
    white-space: nowrap;

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.3px;

    color: var(--menu-text);
    background: transparent;

    border-radius: 32px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.main-nav a:hover {
    background: var(--menu-hover-bg);
    color: var(--menu-hover-text);
}

.main-nav a.active,
.main-nav a.active:hover {
    background: var(--menu-selected-bg);
    color: var(--menu-selected-text);
}

.main-nav a:active {
    background: transparent;
    color: var(--menu-press-text);
}

.main-nav a.active::after {
    content: none;
}


/* Navigation actions */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}


/* Mobile toggle */

.nav-toggle {
    display: none;

    flex-direction: column;
    justify-content: center;
    gap: 4px;

    width: 24px;
    height: 34px;

    background: none;
    border: none;

    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;

    height: 2px;
    width: 18px;
    margin: 0 auto;

    background: var(--ink);

    border-radius: 2px;
}


/* ============================================================
   HERO CAROUSEL
   ============================================================ */

.hero {
    position: relative;
    overflow: hidden;

    /* Figma: 344px tall on tablet (834) and desktop (1440 / 1920) */
    height: 344px;

    background: var(--hero-bg);

    /* Left padding of the text block, matching the design at each breakpoint:
       834w → 32px, 1440w → 144px, 1920w → 264px (plus the 16px body padding). */
    --hero-pad: clamp(32px, calc(32px + (100vw - 834px) * 0.1848), 144px);
    --hero-arrow-x: clamp(24px, calc(72px + (100vw - 1440px) * 0.2), 72px);
}

.hero-track {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--hero-bg);
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}


/* IMAGE — the artwork already contains the clean off-white left area */
.hero-slide-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left center;

    z-index: 0;
}


/*
   No dark layer behind the text on tablet / desktop.
   Only the subtle right-edge fade from the design remains.
*/
.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(2, 13, 11, 0) 80%,
        #020D0B 100%
    );

    pointer-events: none;
    z-index: 1;
}


/* TEXT BLOCK */

.hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
    margin: 0;

    padding: 0 16px 0 calc(var(--hero-pad) + 16px);

    text-align: left;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.1px;
    text-transform: uppercase;

    color: var(--primary);
}

.hero-figure {
    font-family: var(--font-carousel);
    font-size: 64px;
    font-weight: 800;
    line-height: 68px;

    color: var(--primary);

    margin: 0;
}

/* "%" is the same size and weight as the number */
.hero-figure span {
    font-size: inherit;
    font-weight: inherit;
}

.hero-title {
    font-family: var(--font-carousel);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;

    color: var(--text-dark);

    margin: 0 0 8px;
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.1px;

    color: var(--text-dark);

    max-width: 295px;
    margin: 0 0 8px;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;

    color: var(--text-dark);

    max-width: 295px;
    margin: 0 0 16px;
}

.hero-cta {
    display: flex;
    gap: 16px;

    flex-wrap: wrap;
}

/* Medium "Text + Icon" buttons from the component set */
.hero-cta .btn {
    height: 40px;
    padding: 12px;
    gap: 4px;

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.3px;

    border-width: 1px;
    border-radius: 32px;
}

.hero-cta .btn svg {
    width: 16px;
    height: 16px;
}


/* Carousel arrows — "Arrow Button" component */

.hero-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    background: rgba(15, 15, 15, 0.25);
    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    padding: 0;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;

    z-index: 5;
}

.hero-arrow svg {
    width: 16px;
    height: 16px;
}

.hero-arrow:hover {
    background: rgba(15, 15, 15, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-arrow:active {
    background: rgba(15, 15, 15, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-arrow--prev {
    left: var(--hero-arrow-x);
}

.hero-arrow--next {
    right: var(--hero-arrow-x);
}

/* Tablet design (834w) has no arrows */
@media (max-width: 1199px) {
    .hero-arrow {
        display: none;
    }
}

/* Large desktop: 1440w → 1920w */
@media (min-width: 1440px) {
    .hero {
        --hero-pad: clamp(144px, calc(144px + (100vw - 1440px) * 0.25), 264px);
        --hero-arrow-x: clamp(72px, calc(72px + (100vw - 1440px) * 0.2), 168px);
    }
}

@media (min-width: 1680px) {
    .hero-overlay {
        background: linear-gradient(
            to right,
            rgba(2, 13, 11, 0) 70%,
            #020D0B 100%
        );
    }
}


/* Carousel dots — "Paginator" */

.hero-dots {
    position: absolute;

    bottom: 16px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;

    z-index: 5;
}

.hero-dots button {
    width: 8px;
    height: 8px;

    border-radius: 100px;
    border: none;

    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.1);

    cursor: pointer;
    padding: 0;

    transition:
        background 0.15s ease,
        width 0.15s ease;
}

.hero-dots button.is-active {
    width: 24px;

    background: var(--primary-alert);
    box-shadow: 0 0 16px 0 var(--primary-alert);
}


/* ============================================================
   PROGRAMMES
   ============================================================ */

.programmes {
    padding: 72px 24px;
    background: var(--white);
}

.programme-grid {
    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.programme-card {
    background: var(--white);

    border: 1px solid var(--grey-line);

    border-radius: var(--radius-lg);

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow: var(--shadow);
}

.programme-media {
    height: 150px;

    border-radius:
        var(--radius-lg)
        var(--radius-lg)
        0
        0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.programme-logo {
    color: var(--white);

    font-size: 22px;
    font-weight: 800;

    text-align: center;

    letter-spacing: 0.2px;
}

.programme-logo em {
    display: block;

    font-style: normal;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 3px;

    margin-top: 4px;

    opacity: 0.85;
}

.programme-media--dafabet {
    background: linear-gradient(135deg, #C40428, #7E0016);
}

.programme-media--nextbet {
    background: linear-gradient(135deg, #16233F, #0A1122);
}

.programme-media--dafabet-za {
    background: linear-gradient(135deg, #2A3145, #171B28);
}

.programme-media--placeholder {
    background: linear-gradient(135deg, #A9ADB6, #7C7F87);
}

.programme-media--placeholder .programme-logo {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.programme-body {
    padding: 22px 20px 24px;

    display: flex;
    flex-direction: column;

    gap: 10px;

    flex: 1;
}

.programme-body h3 {
    font-size: 17px;
    font-weight: 700;
}

.programme-body p {
    font-size: 13.5px;

    color: var(--ink-soft);

    line-height: 1.55;

    flex: 1;
}

.programme-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 6px;

    /* Join button and Learn More always stay on one line */
    flex-wrap: nowrap;
}

.programme-actions .btn,
.programme-actions .link-arrow {
    flex-shrink: 0;
    white-space: nowrap;
}


/* ============================================================
   BENEFITS — SIX CARDS
   ============================================================ */

.benefits {
    padding: 56px 24px 76px;

    background: var(--grey-bg);
}

.benefits-grid {
    max-width: var(--container);

    margin: 44px auto 0;

    background: var(--white);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);

    padding: 44px 30px;

    /*
       Six cards in ONE ROW on desktop.
    */

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 20px;
}

.benefit-card {
    min-width: 0;

    text-align: center;

    display: flex;
    flex-direction: column;

    align-items: center;

    padding: 0 5px;
}

.benefit-icon {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--red);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 15px;
    font-weight: 700;

    line-height: 1.35;

    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 12.5px;

    color: var(--ink-soft);

    line-height: 1.5;

    max-width: 170px;
}


/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
    padding: 20px 24px 80px;

    background: var(--grey-bg);

    text-align: center;
}

.cta-eyebrow {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;

    margin-bottom: 26px;
}

.cta-box {
    max-width: 800px;

    margin: 0 auto;

    background: var(--white);

    border: 1px solid var(--grey-line);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);

    padding: 46px 40px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 20px;
}
.cta-flex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.cta-text {
    font-size: 16px;

    color: var(--ink-soft);

    max-width: 460px;

    line-height: 1.6;
}

.cta-terms {
    font-size: 13px;

    text-decoration: underline;

    color: var(--ink-soft);
}

.cta-terms:hover {
    color: var(--ink);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    /*
       White footer as requested.
    */

    background: var(--white);

    color: var(--ink);

    padding: 56px 24px 24px;

    border-top: 1px solid var(--grey-line);
}

.footer-grid {
    max-width: var(--container);

    margin: 0 auto;

    /*
       Exactly five columns.
    */

    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1fr
        1fr;

    gap: 32px;
}


/* Footer logo */

.brand--footer .brand-text {
    color: var(--ink);
}

.brand--footer .brand-text em {
    color: var(--ink-soft);
}

.footer-brand p {
    margin-top: 14px;

    font-size: 13px;

    line-height: 1.6;

    max-width: 240px;

    color: var(--ink-soft);
}


/* Footer columns */

.footer-col h4 {
    color: var(--ink);

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;

    margin-bottom: 16px;
}

.footer-col a {
    display: block;

    font-size: 13.5px;

    color: var(--ink-soft);

    margin-bottom: 12px;

    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--ink);
}


/* Social icons */

.footer-social {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: #F1F2F4;

    color: var(--ink);

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--red);

    color: var(--white);

    transform: translateY(-2px);
}


/* Footer bottom */

.footer-bottom {
    max-width: var(--container);

    margin: 44px auto 0;

    padding-top: 22px;

    border-top: 1px solid var(--grey-line);

    text-align: center;
}

.footer-bottom p {
    font-size: 12.5px;

    color: var(--ink-soft);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (min-width: 721px) and (max-width: 1023px) {

    /* Keep the header on one line at tablet width (834w) */

    .nav-wrap {
        gap: 16px;
    }

    .main-nav {
        gap: 0;
    }

    .nav-actions .btn {
        padding: 9px 16px;
        font-size: 13px;
    }
}

@media (max-width: 1100px) {

    /*
       At this point six cards become too narrow,
       so use three columns.
    */

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .programme-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .programme-card {
        flex: 0 1 calc(50% - 12px);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        row-gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {

    /* Navigation */

    .main-nav {
        position: fixed;

        top: 63px;

        left: 0;
        right: 0;

        background: var(--white);

        flex-direction: column;

        align-items: flex-start;

        gap: 2px;

        padding: 10px 24px 18px;

        border-bottom: 1px solid var(--grey-line);

        transform: translateY(-130%);

        opacity: 0;

        visibility: hidden;

        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .main-nav.is-open {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }

    .main-nav a {
        width: 100%;

        padding: 12px 0;

        border-bottom: 1px solid var(--grey-line);

        border-radius: 0;
    }

    .main-nav a {
        height: auto;
        justify-content: flex-start;
        font-size: 14px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        padding-left: 12px;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
        order: -1;
    }

    .nav-wrap {
        padding: 12px 18px;

        gap: 14px;
    }

    .brand {
        margin-right: auto;
    }

    

    /* Header buttons — small size from the 375w frame */
    .nav-actions .btn {
        height: 30px;
        padding: 6px 14px;

        font-size: 11px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: 0.3px;

        border-width: 1px;
    }


    /* Hero — 375w frame: dark artwork, light text, 360px tall */

    .hero {
        height: 360px;
        background: #020D0B;
    }

    .hero-slide {
        align-items: flex-start;
        background: #020D0B;
    }

    .hero-slide-image {
        object-position: center;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(2, 13, 11, 0.5) 0%,
            rgba(2, 13, 11, 0.88) 78%,
            rgba(2, 13, 11, 0.88) 100%
        );
    }

    .hero-inner {
        padding: 6px 24px 0 40px;
    }

    .hero-eyebrow,
    .hero-figure {
        color: var(--primary-alert);
    }

    .hero-title,
    .hero-desc,
    .hero-sub {
        color: var(--white);
    }

    .hero-sub {
        margin-bottom: 32px;
    }

    .hero-cta {
        gap: 16px;
        flex-wrap: nowrap;
    }

    .hero-arrow {
        display: none;
    }


    /* Section headings */

    .section-head h2 {
        font-size: 24px;
        text-transform:uppercase;
    }


    /* Programmes */

    .programmes {
        padding: 52px 18px;
    }

    .programme-grid {
        gap: 20px;
    }

    .programme-card {
        flex-basis: 100%;
    }


    /* Benefits */

    .benefits {
        padding: 44px 18px 56px;
    }

    .benefits-grid {
        padding: 30px 22px;

        grid-template-columns: 1fr;

        gap: 28px 0;
    }

    .benefit-card {
        width: 100%;
    }


    /* CTA */

    .cta-section {
        padding: 10px 18px 56px;
    }

    .cta-eyebrow {
        font-size: 21px;
    }

    .cta-box {
        padding: 34px 24px;
    }

    .cta-box .btn-lg {
        width: 100%;
    }


    /* Footer */

    /* Footer — stacked and centred, same layout as the Dafabet page */

    .site-footer {
        padding: 40px 16px 30px;
    }

    .footer-grid {
        grid-template-columns: minmax(104px, auto) minmax(104px, auto);
        justify-content: center;
        column-gap: 24px;
        row-gap: 34px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        justify-self: center;
        width: 200px;
        margin-bottom: 14px;
        text-align: center;
    }

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

    .brand--footer svg {
        width: 156px;
        height: auto;
    }

    .footer-brand p {
        max-width: none;
        font-size: 12px;
        line-height: 16px;
        color: var(--text-dark);
    }

    .footer-col h4 {
        font-size: 14px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: 0.1px;
        color: var(--text-dark);
        margin-bottom: 13px;
    }

    .footer-col a {
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: 0.3px;
        color: var(--text-neutral-1);
        margin-bottom: 11px;
    }

    .footer-col a:last-child {
        margin-bottom: 0;
    }

    /* Legal sits centred under Company + Resources */
    .footer-grid > .footer-col:nth-child(4) {
        grid-column: 1 / -1;
        justify-self: center;
        min-width: 104px;
    }

    /* Connect: centred row of large icons */
    .footer-col--connect {
        grid-column: 1 / -1;
        justify-self: center;
        text-align: left;
    }

    .footer-col a {
        white-space: nowrap;
    }

    .footer-col--connect h4 {
        margin-bottom: 14px;
    }

    .footer-social {
        justify-content: flex-start;
        gap: 24px;
    }

    .footer-social a {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
    }

    .footer-social svg {
        width: 22px;
        height: 22px;
    }

    .footer-bottom {
        margin-top: 31px;
        padding-top: 0;
        border-top: 0;
    }

    .footer-bottom p {
        font-size: 10px;
        font-weight: 600;
        line-height: 14px;
        letter-spacing: 0.2px;
        color: var(--text-dark);
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .hero-slide,
    .link-arrow svg,
    .main-nav,
    .footer-social a {
        transition: none;
    }
}


/* ============================================================
   FOCUS VISIBILITY
   ============================================================ */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red);

    outline-offset: 2px;
}