/* =========================================================
   SAKWA WANGARA — ALTERNATE SITE STYLESHEET ("VERSION B")
   Fonts: Manrope (display) + DM Sans (body)
   Style: Contemporary African — Indigo Night & Sunset Orange
   Palette: pulled directly from the logo (burnt orange + warm
   brown) paired with a deep indigo complement — a classic
   adire-cloth-and-sunset combination, bolder and more graphic
   than the brass/paper "Version A" theme.
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    /* text ink */
    --ink:        #1B140D;
    --ink-soft:   #5A4632;

    /* warm paper (base background) */
    --paper:      #FBF3E7;
    --paper-dim:  #F1DEC0;
    --paper-line: rgba(27, 20, 13, 0.12);

    /* deep indigo — the complementary "night" tone */
    --night:      #16233B;
    --night-soft: #223252;
    --night-line: rgba(255, 255, 255, 0.10);

    /* logo-derived accents */
    --orange:     #E8962A;
    --orange2:    #F2B25C;
    --terracotta: #C1502E;
    --gold:       #C98A3B;
    --gold2:      #E8962A;
    --gold-soft:  rgba(232, 150, 42, 0.16);

    --cream-text: #FBF3E7;

    --font-display: 'Manrope', 'Segoe UI', sans-serif;
    --font-body:    'DM Sans', 'Segoe UI', sans-serif;

    --container: 1200px;

    --radius:    14px;
    --radius-sm: 8px;

    --shadow-soft:
        0 20px 50px -25px rgba(22, 35, 59, 0.45);

    --shadow-card:
        0 12px 30px -18px rgba(22, 35, 59, 0.35);
}


/* =========================================================
   RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;

    color: var(--ink);
    background: var(--paper);

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}


/* =========================================================
   (Edge side pattern removed)
   ========================================================= */


body {
    background-color: var(--paper);

    background-image:
        radial-gradient(
            circle at 15% 20%,
            rgba(232, 150, 42, 0.05) 0,
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(22, 35, 59, 0.05) 0,
            transparent 28%
        );
}


/* =========================================================
   IMAGES / LINKS / LISTS / HEADINGS
   ========================================================= */

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.01em;
}


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

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================================
   SHARED UTILITIES
   ========================================================= */

.section {
    position: relative;

    padding: 50px 8vw;

    max-width: var(--container);

    margin: 0 auto;

    z-index: 1;
}


.eyebrow {
    display: inline-block;

    font-family: var(--font-display);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--terracotta);

    margin-bottom: 18px;
}


.section-label {
    font-family: var(--font-display);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--terracotta);

    margin-bottom: 32px;
}


.section-label::before {
    content: "◆";
    display: inline-block;
    margin-right: 10px;
    font-size: 8px;
    color: var(--orange);
    vertical-align: middle;
}


.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: 64px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
    margin-top: 6px;
}

.section-heading h2 span { color: var(--orange); }

.section-heading > p {
    max-width: 340px;
    color: var(--ink-soft);
    font-size: 15px;
}


/* (per-section side motif removed) */


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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--night);
    color: var(--cream-text);
}

.btn-primary:hover {
    background: var(--orange);
    color: var(--ink);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--paper-line);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--terracotta);
    transform: translateY(-2px);
}

.text-link {
    display: inline-block;
    margin-top: 28px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    border-bottom: 1.5px solid var(--orange);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover { color: var(--terracotta); }


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

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

    background: rgba(22, 35, 59, 0.94);
    backdrop-filter: blur(10px);

    border-bottom: 2px solid var(--orange);
}


.navbar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


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


.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--night);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
}


/* logo frame — white square card with orange border, holds its
   own against the dark indigo header/footer */

.logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 2px solid var(--orange);
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 10px 24px -8px rgba(232, 150, 42, 0.45);
}

.brand-logo {
    display: block;
    width: auto;
    height: 42px;
}

footer .logo-frame { padding: 8px; }
footer .brand-logo { height: 48px; }


.brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--cream-text);
}

.brand small {
    display: block;
    font-size: 11.5px;
    color: rgba(251, 243, 231, 0.65);
    letter-spacing: 0.03em;
}


.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--night-line);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    color: var(--cream-text);
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
}

.nav-links a {
    color: rgba(251, 243, 231, 0.78);
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--orange2); }


.nav-cta {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--night) !important;
}

.nav-cta:hover { background: var(--orange2); }


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

.hero {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.hero::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 12%;
    width: 150px;
    height: 150px;
    opacity: 0.14;
    background:
        linear-gradient(45deg, transparent 46%, var(--orange) 47%, var(--orange) 53%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, var(--night) 47%, var(--night) 53%, transparent 54%);
    background-size: 30px 30px;
    transform: rotate(45deg);
    pointer-events: none;
}


.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 230px;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    background-image:
        linear-gradient(135deg, transparent 0 42%, rgba(232,150,42,0.30) 42% 46%, transparent 46% 54%, rgba(232,150,42,0.30) 54% 58%, transparent 58%),
        linear-gradient(45deg, transparent 0 42%, rgba(22,35,59,0.22) 42% 46%, transparent 46% 54%, rgba(22,35,59,0.22) 54% 58%, transparent 58%);
    background-size: 72px 72px;
    pointer-events: none;
}


.hero-content,
.hero-visual {
    position: relative;
    z-index: 2;
}


.hero-content { max-width: 650px; }


.hero .eyebrow {
    display: inline-block;
    margin-bottom: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--terracotta);
}


.hero h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(52px, 6vw, 88px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
    color: var(--night);
}

.hero h1 span { color: var(--orange); }


.hero-text {
    max-width: 590px;
    margin: 32px 0 35px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
}


.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.hero-buttons .btn-primary {
    background: var(--night);
    color: #fff;
}

.hero-buttons .btn-primary:hover {
    background: var(--orange);
    color: var(--night);
    transform: translateY(-2px);
}

.hero-buttons .btn-outline {
    border: 1px solid var(--paper-line);
    color: var(--night);
    background: transparent;
}

.hero-buttons .btn-outline:hover {
    border-color: var(--orange);
    color: var(--terracotta);
    transform: translateY(-2px);
}


.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-soft);
}

.hero-note span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}


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


.hero-image {
    position: relative;
    width: min(100%, 520px);
    z-index: 1;
}


.hero-image::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 120px;
    height: 120px;
    z-index: -1;
    border: 2px solid var(--orange);
    background-image:
        linear-gradient(45deg, transparent 45%, var(--terracotta) 45% 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, var(--terracotta) 45% 55%, transparent 55%);
    background-size: 26px 26px;
    opacity: 0.55;
}


.hero-image-inner {
    position: relative;
    width: 100%;
    background: var(--night);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}


.hero-photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}


.hero-image-inner::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(232, 150, 42, 0.35);
    border-radius: 16px;
    pointer-events: none;
    z-index: 2;
}


.hero-image-inner::after {
    content: "";
    position: absolute;
    width: 65px;
    height: 65px;
    right: 8px;
    top: 8px;
    opacity: 0.35;
    background:
        linear-gradient(45deg, transparent 43%, var(--orange) 44%, var(--orange) 52%, transparent 53%),
        linear-gradient(-45deg, transparent 43%, var(--orange) 44%, var(--orange) 52%, transparent 53%);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 3;
}


.hero-accent {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(232, 150, 42, .14);
    z-index: -1;
}


.trainer-badge {
    position: absolute;
    left: -45px;
    bottom: 55px;
    width: 245px;
    padding: 22px 24px;
    background: var(--orange);
    color: var(--night);
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(22, 35, 59, .30);
    z-index: 3;
}

.trainer-badge-label {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--night-soft);
}

.trainer-badge strong {
    display: block;
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: 700;
}

.trainer-badge span:last-child {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(22, 35, 59, .75);
}


/* =========================================================
   ORGANISATIONS MARQUEE
   ========================================================= */

.organisations {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background: var(--paper);
    position: relative;
    z-index: 1;
}

.organisations::before,
.organisations::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    opacity: 0.6;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.organisations-heading {
    width: min(var(--container), calc(100% - 16vw));
    margin: 30px auto;
    text-align: center;
}

.organisations-heading span {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--terracotta);
}

.organisation-marquee {
    width: min(var(--container), calc(100% - 16vw));
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.organisation-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    animation: organisationLoop 20s linear infinite;
    will-change: transform;
}

.organisation-set {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: max-content;
}

.organisation-item {
    width: 220px;
    height: 90px;
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    position: relative;
}

.organisation-item img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
    opacity: 0.72;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.organisation-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.organisation-item::after {
    content: "✦";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    color: var(--orange);
    opacity: 0.8;
}

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

.organisation-marquee:hover .organisation-track {
    animation-play-state: paused;
}

.organisations-note {
    width: min(600px, calc(100% - 16vw));
    margin: 28px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
}


/* =========================================================
   INTRO / ABOUT
   ========================================================= */

.intro-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.intro-grid::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -40px;
    width: 180px;
    height: 180px;
    opacity: 0.30;
    background-image:
        linear-gradient(45deg, transparent 43%, var(--orange) 43% 48%, transparent 48% 52%, var(--orange) 52% 57%, transparent 57%),
        linear-gradient(-45deg, transparent 43%, var(--night) 43% 48%, transparent 48% 52%, var(--night) 52% 57%, transparent 57%);
    background-size: 50px 50px;
    pointer-events: none;
}

.large-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

.large-text span { color: var(--terracotta); }

.intro-copy p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    font-size: 15.5px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--paper-line);
    border-top: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 34px 28px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 65px;
    height: 65px;
    opacity: 0.30;
    background-image:
        linear-gradient(45deg, transparent 43%, var(--orange) 43% 50%, transparent 50% 57%, var(--orange) 57%),
        linear-gradient(-45deg, transparent 43%, var(--orange) 43% 50%, transparent 50% 57%, var(--orange) 57%);
    background-size: 22px 22px;
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 85px;
    height: 85px;
    opacity: 0.10;
    background:
        linear-gradient(45deg, transparent 43%, var(--night) 44%, var(--night) 52%, transparent 53%),
        linear-gradient(-45deg, transparent 43%, var(--night) 44%, var(--night) 52%, transparent 53%);
    background-size: 20px 20px;
    transform: rotate(45deg);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold-soft);
}

.service-card.featured {
    background: var(--night);
    border-color: var(--night);
    border-top: 4px solid var(--orange);
    color: var(--cream-text);
}

.service-card.featured::before { opacity: 0.20; }

.service-card.featured h3,
.service-card.featured a { color: var(--cream-text); }

.service-card.featured p { color: rgba(251, 243, 231, 0.72); }

.service-number {
    position: absolute;
    top: 10px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    color: var(--paper-dim);
    line-height: 1;
    z-index: 0;
}

.service-card.featured .service-number {
    color: rgba(251, 243, 231, 0.10);
}

.service-icon { display: none; }

.service-card h3 {
    position: relative;
    font-size: 21px;
    margin-bottom: 14px;
    z-index: 1;
}

.service-card p {
    position: relative;
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-bottom: 22px;
    z-index: 1;
}

.service-card > a {
    position: relative;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--terracotta);
    z-index: 1;
}


/* =========================================================
   FEATURED PROGRAM — now a bold indigo block
   ========================================================= */

.program {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    background: var(--night);
    border-radius: 24px;
    padding: 60px;
    max-width: var(--container);
    margin: 40px auto;
    overflow: hidden;
}

.program::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 260px;
    height: 260px;
    opacity: 0.25;
    background-image:
        linear-gradient(45deg, transparent 43%, var(--orange) 43% 48%, transparent 48% 52%, var(--orange) 52% 57%, transparent 57%),
        linear-gradient(-45deg, transparent 43%, var(--orange) 43% 48%, transparent 48% 52%, var(--orange) 52% 57%, transparent 57%);
    background-size: 52px 52px;
    pointer-events: none;
}

.program-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
    border: 2px solid var(--orange);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    position: relative;
    z-index: 1;
    color: var(--cream-text);
}

.program-content h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin: 10px 0 20px;
    color: var(--cream-text);
}

.program-content h2 span { color: var(--orange2); }

.program-content > p {
    color: rgba(251, 243, 231, 0.75);
    font-size: 15.5px;
    max-width: 460px;
    margin-bottom: 34px;
}

.program-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 38px;
}

.program-points > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.program-points strong {
    font-family: var(--font-display);
    color: var(--orange2);
    font-size: 14px;
}

.program-points span {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--cream-text);
}

.program .btn-primary {
    background: var(--orange);
    color: var(--night);
}

.program .btn-primary:hover {
    background: var(--orange2);
}


/* =========================================================
   APPROACH
   ========================================================= */

.approach-heading {
    max-width: 640px;
    margin-bottom: 56px;
}

.approach-heading h2 {
    font-size: clamp(30px, 3.6vw, 42px);
    margin-bottom: 16px;
}

.approach-heading h2 span { color: var(--orange); }

.approach-heading p {
    color: var(--ink-soft);
    font-size: 15.5px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.approach-item {
    position: relative;
    border-top: 2px solid var(--night);
    padding-top: 22px;
}

.approach-item::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    background: var(--orange);
    transform: rotate(45deg);
}

.approach-item::after {
    content: "";
    position: absolute;
    top: -6px;
    right: 0;
    width: 38px;
    height: 12px;
    background: linear-gradient(
        135deg,
        transparent 35%,
        var(--terracotta) 35% 45%,
        transparent 45% 55%,
        var(--terracotta) 55% 65%,
        transparent 65%
    );
    opacity: 0.7;
}

.approach-item span {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--terracotta);
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.approach-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.approach-item p {
    color: var(--ink-soft);
    font-size: 14.5px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.training-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.training-gallery-main {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.training-gallery-side {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.training-gallery-small {
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.training-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.training-gallery-main::before,
.training-gallery-side::before,
.training-gallery-small::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    z-index: 3;
    border-top: 2px solid var(--orange);
    border-left: 2px solid var(--orange);
    opacity: 0.95;
    pointer-events: none;
}

.gallery-overlay,
.side-caption,
.small-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        0deg,
        rgba(22, 35, 59, 0.90) 0%,
        rgba(22, 35, 59, 0) 70%
    );
    padding: 26px 22px 18px;
    color: var(--cream-text);
}

.gallery-caption,
.side-caption,
.small-caption {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-caption span,
.side-caption span,
.small-caption span {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--orange2);
    font-size: 13px;
}

.gallery-caption strong,
.side-caption strong,
.small-caption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
}

.gallery-caption small,
.side-caption small {
    display: block;
    font-size: 12px;
    color: rgba(251, 243, 231, 0.75);
    margin-top: 2px;
}

.gallery-statement {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.gallery-line {
    flex: 0 0 60px;
    height: 2px;
    background: var(--orange);
}

.gallery-statement p {
    font-size: 17px;
    color: var(--ink-soft);
}

.gallery-statement strong { color: var(--night); }


/* =========================================================
   WHO WE SERVE / AUDIENCE
   ========================================================= */

.audience {
    position: relative;
    background: var(--night);
    color: var(--cream-text);
    overflow: hidden;
}

.audience::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 260px;
    height: 100%;
    opacity: 0.45;
    background-image:
        linear-gradient(45deg, transparent 42%, rgba(232,150,42,0.30) 42% 48%, transparent 48% 52%, rgba(232,150,42,0.30) 52% 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, rgba(232,150,42,0.30) 42% 48%, transparent 48% 52%, rgba(232,150,42,0.30) 52% 58%, transparent 58%);
    background-size: 70px 70px;
    pointer-events: none;
}

.audience::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 260px;
    height: 100%;
    opacity: 0.35;
    background-image:
        linear-gradient(45deg, transparent 42%, rgba(193,80,46,0.35) 42% 48%, transparent 48% 52%, rgba(193,80,46,0.35) 52% 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, rgba(193,80,46,0.35) 42% 48%, transparent 48% 52%, rgba(193,80,46,0.35) 52% 58%, transparent 58%);
    background-size: 70px 70px;
    pointer-events: none;
}

.audience-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 100px 8vw;
    text-align: center;
    position: relative;
    z-index: 2;
}

.audience-inner .eyebrow { color: var(--orange2); }

.audience-inner h2 {
    color: var(--cream-text);
    font-size: clamp(30px, 4vw, 44px);
    max-width: 780px;
    margin: 0 auto 20px;
}

.audience-inner h2 span { color: var(--orange2); }

.audience-inner > p {
    max-width: 560px;
    margin: 0 auto 44px;
    color: rgba(251, 243, 231, 0.72);
    font-size: 15.5px;
}

.audience-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.audience-list span {
    padding: 10px 20px;
    border: 1px solid rgba(232, 150, 42, 0.40);
    border-radius: 999px;
    font-size: 13.5px;
    font-family: var(--font-display);
    font-weight: 600;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.contact::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    width: 100px;
    height: 180px;
    transform: translateY(-50%);
    opacity: 0.30;
    background-image:
        linear-gradient(45deg, transparent 43%, var(--orange) 43% 50%, transparent 50% 57%, var(--orange) 57%),
        linear-gradient(-45deg, transparent 43%, var(--orange) 43% 50%, transparent 50% 57%, var(--orange) 57%);
    background-size: 34px 34px;
    pointer-events: none;
}

.contact-content .eyebrow { color: var(--terracotta); }

.contact-content h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 18px;
}

.contact-content h2 span { color: var(--orange); }

.contact-content p {
    color: var(--ink-soft);
    max-width: 460px;
    font-size: 15.5px;
    margin-bottom: 32px;
}

.contact-card {
    position: relative;
    background: var(--night);
    color: var(--cream-text);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
}

.contact-card::after {
    content: "";
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 85px;
    height: 85px;
    opacity: 0.25;
    background:
        linear-gradient(45deg, transparent 43%, var(--orange) 44%, var(--orange) 52%, transparent 53%),
        linear-gradient(-45deg, transparent 43%, var(--orange) 44%, var(--orange) 52%, transparent 53%);
    background-size: 20px 20px;
    pointer-events: none;
}

.contact-card small {
    display: block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange2);
    margin-bottom: 6px;
}

.contact-card strong {
    font-size: 16px;
    font-weight: 600;
}


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

footer {
    position: relative;
    background: var(--night);
    color: var(--cream-text);
    padding: 50px 8vw 34px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

footer .section,
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.footer-brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--cream-text);
}

.footer-brand small {
    display: block;
    font-size: 12px;
    color: rgba(251, 243, 231, 0.65);
}

footer > p {
    color: rgba(251, 243, 231, 0.70);
    font-size: 14px;
    max-width: 380px;
    margin-bottom: 34px;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--night-line);
    font-size: 13px;
    color: rgba(251, 243, 231, 0.65);
    position: relative;
    z-index: 1;
}

.footer-bottom div { display: flex; gap: 20px; }

.footer-bottom a {
    font-weight: 600;
    color: rgba(251, 243, 231, 0.75);
    transition: color 0.2s ease;
}

.footer-bottom a:hover { color: var(--orange2); }


/* =========================================================
   RESPONSIVE — 1080px
   ========================================================= */

@media (max-width: 1080px) {
    .hero, .intro-grid, .contact {
        grid-template-columns: 1fr;
    }
    .hero-image { order: -1; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .program {
        grid-template-columns: 1fr;
        padding: 40px;
        max-width: calc(100% - 12vw);
    }
    .approach-grid { grid-template-columns: 1fr 1fr; }
}


/* =========================================================
   RESPONSIVE — 900px
   ========================================================= */

@media (max-width: 900px) {
    .navbar { padding: 16px 6vw; }

    .menu-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--night);
        border-bottom: 2px solid var(--orange);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 6vw 20px;
        display: none;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--night-line);
    }

    .nav-links.active,
    #menuToggle[aria-expanded="true"] ~ #navLinks { display: flex; }

    .section { padding: 80px 6vw; }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .service-grid, .approach-grid { grid-template-columns: 1fr; }

    .training-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }

    .training-gallery-main,
    .training-gallery-side,
    .training-gallery-small { grid-column: 1; grid-row: auto; }

    .hero { padding: 60px 6vw 80px; }

    .hero::before { opacity: 0.06; }
    .hero::after { width: 110px; opacity: 0.4; background-size: 48px 48px; }

    .hero-visual { min-height: auto; margin-top: 20px; }
    .hero-image { min-height: auto; margin-top: 20px; }

    .trainer-badge { left: 15px; bottom: 35px; }

    .intro-grid::after { width: 110px; height: 110px; opacity: 0.2; }

    .audience::before, .audience::after {
        width: 100px; opacity: 0.3; background-size: 45px 45px;
    }

    .contact::after { display: none; }
}


/* =========================================================
   RESPONSIVE — 600px
   ========================================================= */

@media (max-width: 600px) {
    .hero { padding: 60px 6vw 80px; }
    .hero h1 { letter-spacing: -2px; }

    .hero::after { width: 70px; opacity: 0.25; background-size: 38px 38px; }

    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }

    .trainer-badge {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(245px, 80%);
        margin: -55px 0 0 15px;
    }

    .hero-image-inner { padding: 14px; border-radius: 16px; }
    .hero-image-inner::before { inset: 7px; border-radius: 12px; }
    .hero-image-inner::after { width: 45px; height: 45px; background-size: 14px 14px; }

    .program {
        padding: 28px;
        border-radius: 18px;
        max-width: calc(100% - 12vw);
    }

    .program-points { grid-template-columns: 1fr; }

    .service-card::before { opacity: 0.22; }

    .program::after { width: 150px; height: 150px; opacity: 0.2; background-size: 38px 38px; }

    .audience-inner { padding: 70px 6vw; }
    .audience::before, .audience::after {
        width: 65px; opacity: 0.22; background-size: 35px 35px;
    }

    .contact-card { padding: 28px; }

    .organisations { padding: 55px 0; }
    .organisation-track { animation-duration: 13s; }

    .organisation-item {
        width: 160px;
        flex-basis: 160px;
        height: 70px;
        padding: 10px 20px;
    }

    .organisation-item img { max-width: 115px; max-height: 45px; }

    .brand-logo { height: 34px; }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 400px) {
    .hero h1 { font-size: 48px; letter-spacing: -2px; }
    .hero-text { font-size: 15.5px; }
    .trainer-badge { width: calc(100% - 30px); margin-left: 15px; }
}
