/* ==========================================================================
   Hunter Boorn Website Styles
   Brand Guidelines V.01 - February 2025
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-Hosted Fonts
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/open-sans-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/open-sans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/open-sans-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/open-sans-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/open-sans-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Spectral';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/spectral-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Spectral';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/spectral-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Spectral';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/spectral-500.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   CSS Custom Properties (Brand Colours & Typography)
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colours */
    --color-red-earth: #381220;
    --color-red-earth-dark: #2a0d18;
    --color-kakadu: #BA4552;
    --color-kakadu-light: #E58A7D;
    --color-eucalyptus: #B7C2A2;
    --color-eucalyptus-light: #E3FEDF;
    --color-white: #FFFFFF;

    /* Typography */
    --font-headline: 'Spectral', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing - Consistent scale */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2.5rem;    /* 40px */
    --space-xl: 4rem;      /* 64px */
    --space-2xl: 6rem;     /* 96px */

    /* Section spacing - uniform */
    --section-padding-mobile: var(--space-xl);
    --section-padding-desktop: var(--space-2xl);

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Text opacity tiers (WCAG AA compliant on dark backgrounds) */
    --text-primary: rgba(255, 255, 255, 1);
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-tertiary: rgba(255, 255, 255, 0.7);

    /* Header */
    --header-height: 80px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-red-earth);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Typography Scale
   -------------------------------------------------------------------------- */

/* Base heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-eucalyptus-light);
}

/* Negative tracking is reserved for hero + section titles; smaller headings
   inside cards keep default tracking so letterforms stay grounded. */
.hero__title,
.section-title {
    letter-spacing: -0.5px;
}

/* Heading scale - consistent hierarchy */
h1, .h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
h2, .h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3, .h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4, .h4 { font-size: 1.25rem; }
h5, .h5 { font-size: 1.125rem; }
h6, .h6 { font-size: 1rem; }

/* Body text scale */
.text-lg { font-size: 1.25rem; line-height: 1.6; }
.text-base { font-size: 1rem; line-height: 1.6; }
.text-sm { font-size: 0.9375rem; line-height: 1.7; }
.text-xs { font-size: 0.875rem; line-height: 1.6; }

/* Section label - consistent across all sections */
.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-kakadu-light);
    margin-bottom: var(--space-sm);
}

.section-label--dark {
    color: var(--color-red-earth);
}

/* Section title - consistent sizing */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-md);
}

.section-title--dark {
    color: var(--color-red-earth);
}

/* Section intro text */
.section-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-bottom: var(--space-lg);
}

.section-intro--dark {
    color: var(--color-red-earth);
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    section {
        padding: var(--section-padding-desktop) 0;
    }
}

/* Tier modifiers: vary section rhythm rather than 96px everywhere. Apply
   --tight to closing/transitional sections (testimonials, partners, vision,
   contact). The hero, about, why, services, process, and projects keep the
   default desktop padding. */
.section--tight {
    padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
    .section--tight {
        padding: calc(var(--section-padding-desktop) * 0.65) 0;
    }
}

/* Constrain narrative paragraph width so long lines stop reading "websitey".
   Card copy and centered body remain unconstrained. */
.about__content > p,
.section-intro,
.section-intro--dark {
    max-width: 65ch;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.btn--primary:hover {
    background-color: var(--color-kakadu-light);
    color: var(--color-red-earth);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 69, 82, 0.3);
}

.btn--dark {
    background-color: var(--color-red-earth);
    color: var(--color-white);
}

.btn--dark:hover {
    background-color: var(--color-red-earth-dark);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(56, 18, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color var(--transition-base);
}

.header--scrolled {
    background-color: rgba(56, 18, 32, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.header__logo-img {
    height: 32px;
    width: auto;
}

.header__nav {
    display: none;
}

@media (min-width: 1024px) {
    .header__nav {
        display: block;
    }
}

.header__nav-list {
    display: flex;
    gap: var(--space-lg);
}

.header__nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.9;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.header__nav-link:hover {
    opacity: 1;
    color: var(--color-eucalyptus-light);
}

.header__nav-link.active {
    opacity: 1;
    color: var(--color-eucalyptus-light);
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

.header__cta {
    display: none;
}

@media (min-width: 1024px) {
    .header__cta {
        display: inline-flex;
    }
}

.header__menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px;
}

@media (min-width: 1024px) {
    .header__menu-toggle {
        display: none;
    }
}

.header__menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.header__menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.header__nav.mobile-open {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-red-earth-dark);
    border-top: 1px solid rgba(186, 69, 82, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: var(--space-lg);
    z-index: 999;
    animation: menuFadeIn 0.25s ease-out;
}

.header__nav.mobile-open .header__nav-list {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
}

.header__nav.mobile-open .header__nav-link {
    font-size: 1.5rem;
    opacity: 1;
}

/* Mobile-only CTA inside the nav list. Desktop has its own .header__cta. */
.header__nav-cta-mobile {
    display: none;
}

.header__nav.mobile-open .header__nav-cta-mobile {
    display: block;
    margin-top: var(--space-md);
}

@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .header__nav.mobile-open {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(56, 18, 32, 0.7) 0%,
        rgba(56, 18, 32, 0.8) 50%,
        rgba(56, 18, 32, 0.95) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-md);
    padding-top: var(--header-height);
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 300;
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero__scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
    animation: scroll-bounce 2s infinite;
    opacity: 0.6;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(10px) rotate(45deg);
    }
    60% {
        transform: translateY(5px) rotate(45deg);
    }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
    background-color: var(--color-red-earth);
}

.about__grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

@media (min-width: 968px) {
    .about__grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.about__content p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.about__content .about__lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

/* Plainspoken paragraph: same body weight, but pulled out via slightly
   warmer colour and a touch more leading so it reads as a person talking. */
.about__content .about__plainspoken {
    color: var(--text-primary);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.about__content .about__quote {
    font-family: var(--font-headline);
    font-style: italic;
    font-size: clamp(1.25rem, 2.4vw, 1.625rem);
    line-height: 1.4;
    color: var(--color-kakadu-light);
    border-left: 3px solid var(--color-kakadu);
    padding-left: var(--space-lg);
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

.about__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(186, 69, 82, 0.2), transparent);
}

.about__image-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Name Meaning */
.about__meaning {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

@media (min-width: 768px) {
    .about__meaning {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

.about__meaning-item {
    text-align: center;
}

.about__meaning-word {
    display: block;
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-xs);
}

.about__meaning-definition {
    font-size: 0.875rem;
    color: var(--color-kakadu-light);
}

.about__meaning-divider {
    display: none;
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 var(--space-xl);
}

@media (min-width: 768px) {
    .about__meaning-divider {
        display: block;
    }
}

/* --------------------------------------------------------------------------
   Why We Exist Section (Evidence Cards)
   -------------------------------------------------------------------------- */
.why-exist {
    background-color: var(--color-eucalyptus);
    padding-bottom: var(--space-xl);
}

/* Evidence Cards - Horizontal Scroll */
.evidence-cards {
    margin-top: var(--space-md);
    background-color: var(--color-eucalyptus);
    padding: var(--space-sm) 0;
}

.evidence-cards__container {
    max-width: 100%;
    overflow: hidden;
}

.evidence-cards__scroll {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-md) var(--space-lg);
    scrollbar-width: thin;
    scrollbar-color: var(--color-kakadu) var(--color-red-earth-dark);
}

/* Custom scrollbar for webkit browsers */
.evidence-cards__scroll::-webkit-scrollbar {
    height: 8px;
}

.evidence-cards__scroll::-webkit-scrollbar-track {
    background: var(--color-red-earth-dark);
    border-radius: 4px;
}

.evidence-cards__scroll::-webkit-scrollbar-thumb {
    background: var(--color-kakadu);
    border-radius: 4px;
}

.evidence-cards__scroll::-webkit-scrollbar-thumb:hover {
    background: var(--color-kakadu-light);
}

/* Individual Evidence Card */
.evidence-card {
    flex: 0 0 auto;
    width: 400px;
    max-width: 90vw;
    background-color: var(--color-red-earth-dark);
    padding: var(--space-lg);
    border-radius: 8px;
    scroll-snap-align: start;
    border-left: 4px solid var(--color-kakadu);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.evidence-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(186, 69, 82, 0.2);
}

.evidence-card__headline {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.evidence-card__quote {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-white);
    margin: 0 0 var(--space-lg) 0;
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-kakadu);
    display: block;
}

.evidence-card__quote::before {
    content: '"';
}

.evidence-card__quote::after {
    content: '"';
}

.evidence-card__source {
    display: block;
    font-style: normal;
}

.evidence-card__source-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-kakadu-light);
    margin-bottom: 4px;
}

.evidence-card__source-detail {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .evidence-card {
        width: 450px;
    }
}

@media (min-width: 1024px) {
    .evidence-card {
        width: 500px;
    }

    .evidence-cards__scroll {
        padding: var(--space-lg) var(--space-xl);
    }
}

/* Footer row: prev/next + counter */
.evidence-cards__footer {
    display: flex;
    justify-content: center;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
}

@media (min-width: 768px) {
    .evidence-cards__footer {
        padding: var(--space-md) var(--space-xl) var(--space-lg);
    }
}

.evidence-cards__controls {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
}

.evidence-cards__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-red-earth);
    border-radius: 50%;
    background: transparent;
    color: var(--color-red-earth);
    cursor: pointer;
    padding: 0;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.evidence-cards__btn svg {
    width: 18px;
    height: 18px;
}

.evidence-cards__btn:hover:not(:disabled) {
    background-color: var(--color-red-earth);
    color: var(--color-eucalyptus);
}

.evidence-cards__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.evidence-cards__counter {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-red-earth);
    min-width: 4ch;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services {
    background: linear-gradient(180deg, var(--color-red-earth) 0%, rgba(56, 18, 32, 0.95) 100%);
    position: relative;
}

.services__grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

@media (min-width: 1200px) {
    .services__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    padding: var(--space-lg);
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--color-kakadu);
    border-radius: 4px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%; /* Equal height cards */
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(186, 69, 82, 0.25);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--color-eucalyptus-light);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-sm);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Process Section - Animated Timeline
   -------------------------------------------------------------------------- */
.process {
    background-color: var(--color-eucalyptus);
    color: var(--color-red-earth);
    overflow: hidden;
}

.process__timeline {
    position: relative;
    padding-top: var(--space-xl);
}

/* SVG Timeline Line */
.process__line-container {
    display: none;
    position: relative;
    height: 20px;
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .process__line-container {
        display: block;
    }
}

.process__line-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.process__line-track {
    stroke: rgba(56, 18, 32, 0.15);
    stroke-width: 2;
    stroke-linecap: round;
}

.process__line-progress {
    stroke: var(--color-kakadu);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1050;
    stroke-dashoffset: 1050;
    transition: stroke-dashoffset 0.1s linear;
}

/* Line remains visible at 100% completion */
.process__line-progress.complete {
    stroke-dashoffset: 0;
}

/* Steps Grid */
.process__steps {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .process__steps {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--space-md);
    }
}

/* Individual Step */
.process__step {
    position: relative;
    text-align: left;
    padding-left: var(--space-xl);
    opacity: 1;
    transform: none;
}

/* Mobile: show vertical line connecting steps */
.process__step::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(56, 18, 32, 0.15);
}

.process__step:last-child::before {
    bottom: 50%;
}

.process__step:first-child::before {
    top: 50%;
}

@media (min-width: 768px) {
    .process__step {
        text-align: center;
        padding-left: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .process__step::before {
        display: none;
    }

    .process__step.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Connector line from dot to card (desktop only) */
.process__step-connector {
    display: none;
}

@media (min-width: 768px) {
    .process__step-connector {
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        width: 2px;
        height: 20px;
        background-color: var(--color-kakadu);
        transform: translateX(-50%);
        opacity: 0.3;
        transition: opacity 0.3s ease;
    }

    .process__step:hover .process__step-connector,
    .process__step:focus-within .process__step-connector {
        opacity: 0.7;
    }
}

/* Step Node (Dot) */
.process__step-node {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 2;
}

@media (min-width: 768px) {
    .process__step-node {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto var(--space-md);
    }
}

.process__step-node-inner {
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--color-kakadu);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                background-color 0.3s ease,
                box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .process__step-node-inner {
        background-color: var(--color-red-earth);
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.3;
    }

    .process__step.revealed .process__step-node-inner {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        background-color: var(--color-kakadu);
    }
}

/* Pulse animation on reveal */
.process__step-node-pulse {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--color-kakadu);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}

@media (min-width: 768px) {
    .process__step-node-pulse {
        display: block;
    }

    .process__step.revealed .process__step-node-pulse {
        animation: node-pulse 0.8s ease-out;
    }
}

@keyframes node-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Inner white dot */
.process__step-node-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-eucalyptus);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
}

/* Hover state for dots */
.process__step-node:hover .process__step-node-inner {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 20px rgba(186, 69, 82, 0.5);
}

/* Step Content */
.process__step-content {
    padding: var(--space-sm);
    border-radius: 4px;
}

@media (min-width: 768px) {
    .process__step-content {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .process__step:hover .process__step-content,
    .process__step:focus-within .process__step-content {
        transform: translateY(-4px);
        background-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 30px rgba(56, 18, 32, 0.1);
    }
}

.process__step-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-red-earth);
    margin-bottom: var(--space-xs);
}

.process__step-desc {
    font-size: 0.875rem;
    color: var(--color-red-earth);
    line-height: 1.6;
}

/* Reduced motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
    .process__step {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .process__step-node-inner {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        background-color: var(--color-kakadu);
        transition: box-shadow 0.3s ease;
    }

    .process__step-node-pulse {
        display: none;
    }

    .process__line-progress {
        stroke-dashoffset: 0;
        transition: none;
    }

    .process__step-connector {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Projects Section
   -------------------------------------------------------------------------- */
.projects {
    background-color: var(--color-red-earth);
}

.projects__grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

.project-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%; /* Equal height cards */
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(186, 69, 82, 0.2);
}

.project-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__status {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.project-card__status--progress {
    background-color: var(--color-kakadu);
    color: var(--color-white);
}

/* Outlined to read as not-yet-final, distinct from --complete */
.project-card__status--pending {
    background-color: transparent;
    color: var(--color-eucalyptus-light);
    border: 1px solid var(--color-eucalyptus-light);
    padding: calc(0.375rem - 1px) calc(0.75rem - 1px);
}

.project-card__status--complete {
    background-color: var(--color-eucalyptus);
    color: var(--color-red-earth);
}

/* Reserved for awards / external recognition */
.project-card__status--award {
    background-color: var(--color-kakadu-light);
    color: var(--color-red-earth);
}

.project-card__content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card__title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-sm);
}

.project-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    flex: 1;
}

.project-card__impact {
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card__funding {
    display: block;
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--color-eucalyptus-light);
}

.project-card__funding-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials {
    background: linear-gradient(180deg, rgba(56, 18, 32, 0.9), var(--color-red-earth));
}

.testimonial {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
    text-align: center;
}

.testimonial__voice {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-kakadu-light);
}

.testimonial__text {
    font-family: var(--font-headline);
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-white);
    margin: 0;
}

.testimonial__text p + p {
    margin-top: var(--space-sm);
}

.testimonial__author {
    display: block;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(229, 138, 125, 0.2);
}

.testimonial__author-name {
    display: block;
    font-weight: 600;
    color: var(--color-eucalyptus-light);
}

.testimonial__author-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */
.team {
    background-color: var(--color-red-earth);
}

.team__grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 968px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

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

.team-card {
    display: grid;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(186, 69, 82, 0.2);
    height: 100%;
    /* Pin row sizing so equal-height cards don't stretch the image cell when
       a sibling card has a longer bio — names must line up across cards. */
    grid-template-rows: auto 1fr;
    align-content: start;
}

@media (min-width: 600px) {
    .team-card {
        grid-template-columns: 180px 1fr;
        grid-template-rows: auto;
    }
}

/* In 3-up mode the horizontal layout cramps content; switch back to vertical
   with a centred image so each card gets enough room to breathe. */
@media (min-width: 1200px) {
    .team-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .team-card__image {
        max-width: 220px;
        margin: 0 auto;
        align-self: start;
    }
}

.team-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-xs);
}

.team-card__role {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-kakadu-light);
    margin-bottom: var(--space-md);
}

.team-card__bio {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.team-card__contact {
    color: var(--color-kakadu-light);
    font-size: 0.875rem;
}

.team-card__contact:hover {
    color: var(--color-eucalyptus-light);
}

/* Lay content out as a flex column so the links row hangs from the bottom of
   the card via margin-top:auto. With cards stretching to equal heights, the
   contact rows then line up across siblings even when bios differ in length. */
.team-card__content {
    display: flex;
    flex-direction: column;
}

.team-card__links {
    list-style: none;
    margin: auto 0 0;
    padding: var(--space-md) 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
}

/* Circular icon buttons, sibling-styled to .footer__social-link. The visible
   <span> labels are hidden — link's aria-label carries the accessible name. */
.team-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--color-kakadu-light);
    transition: background-color var(--transition-fast),
                color var(--transition-fast);
}

.team-card__link:hover {
    background-color: var(--color-kakadu);
    color: var(--color-white);
}

.team-card__link span {
    /* Accessible via aria-label on the parent <a>; visible text is redundant. */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.team-card__link-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* TBD variant: dimmed, non-interactive, no hover swap. */
.team-card__link--tbd {
    color: var(--text-tertiary);
    background-color: rgba(255, 255, 255, 0.04);
    cursor: not-allowed;
}

.team-card__link--tbd:hover {
    color: var(--text-tertiary);
    background-color: rgba(255, 255, 255, 0.04);
}

/* --------------------------------------------------------------------------
   Vision Quote Section
   -------------------------------------------------------------------------- */
.vision {
    background-color: var(--color-red-earth-dark);
    text-align: center;
}

.vision__quote {
    font-family: var(--font-headline);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-white);
    max-width: 900px;
    margin: 0 auto var(--space-md);
}

.vision__quote strong {
    color: var(--color-eucalyptus-light);
    font-weight: 400;
}

.vision__author {
    display: block;
}

.vision__author-name {
    display: block;
    font-weight: 600;
    color: var(--color-kakadu-light);
}

.vision__author-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Partners Section
   -------------------------------------------------------------------------- */
.partners {
    background-color: var(--color-red-earth);
}

.partners__grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(2, 1fr);
}

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

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

.partner {
    text-align: center;
    padding: var(--space-md);
}

.partner__category {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-kakadu-light);
    min-height: 2.5em;
}

/* --------------------------------------------------------------------------
   Digital Services Section
   -------------------------------------------------------------------------- */
.digital {
    background-color: var(--color-eucalyptus);
    color: var(--color-red-earth);
}

.digital__cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.digital-card {
    display: grid;
    background-color: var(--color-red-earth);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

@media (min-width: 768px) {
    .digital-card {
        grid-template-columns: 1fr 1fr;
    }
}

.digital-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 18, 32, 0.3);
}

.digital-card__content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.digital-card__label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.625rem;
    border-radius: 2px;
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.digital-card__label--kakadu {
    background-color: rgba(186, 69, 82, 0.2);
    color: var(--color-kakadu-light);
}

.digital-card__label--eucalyptus {
    background-color: rgba(183, 194, 162, 0.2);
    color: var(--color-eucalyptus-light);
}

.digital-card__title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-eucalyptus-light);
    margin-bottom: var(--space-sm);
}

.digital-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.digital-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.digital-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.digital-card__check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 1px;
}

.digital-card__check--kakadu {
    background-color: rgba(186, 69, 82, 0.2);
}

.digital-card__check--eucalyptus {
    background-color: rgba(183, 194, 162, 0.2);
}

.digital-card__check svg {
    width: 12px;
    height: 12px;
    max-width: 12px;
    max-height: 12px;
    fill: none;
    stroke-width: 2.5;
}

/* Digital Card Visual Panel */
.digital-card__visual {
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    position: relative;
    min-height: 280px;
}

@media (min-width: 768px) {
    .digital-card__visual {
        display: flex;
    }
}

.digital-card__visual--kakadu {
    background-color: rgba(186, 69, 82, 0.15);
}

.digital-card__visual--eucalyptus {
    background-color: rgba(183, 194, 162, 0.15);
}

/* Mini Site Browser Mockup */
.digital-mini-site {
    width: 100%;
    max-width: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.digital-mini-site__bar {
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
}

.digital-mini-site__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.digital-mini-site__url {
    margin-left: 8px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
    flex: 1;
}

.digital-mini-site__body {
    padding: 12px;
}

.digital-mini-site__nav {
    height: 6px;
    background: var(--color-kakadu);
    border-radius: 3px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.digital-mini-site__hero {
    height: 48px;
    background: linear-gradient(135deg, rgba(186, 69, 82, 0.3), rgba(183, 194, 162, 0.3));
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.digital-mini-site__line {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.digital-mini-site__line--accent {
    background: var(--color-kakadu-light);
    opacity: 0.6;
}

.digital-mini-site__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.digital-mini-site__card {
    height: 36px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px;
}

.digital-mini-site__card-top {
    height: 3px;
    width: 50%;
    border-radius: 2px;
    margin-bottom: 3px;
}

.digital-mini-site__card-text {
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 2px;
}

.digital-mini-site__footer {
    height: 5px;
    background: var(--color-red-earth-dark);
    border-radius: 3px;
    opacity: 0.6;
}

/* Workspace Tile Grid */
.digital-ws-grid {
    width: 100%;
    max-width: 280px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.digital-ws-tile {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: transform var(--transition-fast);
}

.digital-ws-tile:hover {
    transform: translateY(-2px);
}

.digital-ws-tile__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.digital-ws-tile__icon--eucalyptus {
    background: rgba(183, 194, 162, 0.2);
}

.digital-ws-tile__icon--kakadu {
    background: rgba(186, 69, 82, 0.2);
}

.digital-ws-tile__icon svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    fill: none;
    stroke-width: 1.8;
}

.digital-ws-tile__name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-eucalyptus-light);
}

.digital-ws-tile__sub {
    font-size: 0.625rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Contact CTA Section
   -------------------------------------------------------------------------- */
.contact-cta {
    background-color: var(--color-eucalyptus);
    text-align: center;
}

.contact-cta__title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-red-earth);
    margin-bottom: var(--space-md);
}

.contact-cta__text {
    font-size: 1.125rem;
    color: var(--color-red-earth);
    margin-bottom: var(--space-lg);
}

.contact-cta__actions {
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Acknowledgement Section
   -------------------------------------------------------------------------- */
.acknowledgement {
    background-color: var(--color-red-earth-dark);
    padding: var(--space-lg) 0; /* Intentionally smaller - transitional element */
    text-align: center;
}

.acknowledgement__title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-kakadu-light);
    margin-bottom: var(--space-sm);
}

.acknowledgement__text {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Ribbon variant: slim band placed directly under the hero. */
.acknowledgement--ribbon {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(229, 138, 125, 0.18);
    border-bottom: 1px solid rgba(229, 138, 125, 0.18);
}

.acknowledgement--ribbon .acknowledgement__text {
    font-size: 0.9375rem;
    max-width: 880px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-red-earth-dark);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

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

.footer__logo {
    height: 48px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-kakadu-light);
    margin-bottom: var(--space-md);
}

.footer__list li {
    margin-bottom: var(--space-xs);
}

.footer__list a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer__list a:hover {
    color: var(--color-eucalyptus-light);
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: background-color var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--color-kakadu);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer__copyright,
.footer__legal {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animations for grids */
    .fade-in-stagger > * {
        opacity: 0;
        transform: translateY(20px);
    }

    .fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
    .fade-in-stagger.visible > *:nth-child(2) { transition-delay: 100ms; }
    .fade-in-stagger.visible > *:nth-child(3) { transition-delay: 200ms; }
    .fade-in-stagger.visible > *:nth-child(4) { transition-delay: 300ms; }
    .fade-in-stagger.visible > *:nth-child(5) { transition-delay: 400ms; }
    .fade-in-stagger.visible > *:nth-child(6) { transition-delay: 500ms; }
    .fade-in-stagger.visible > *:nth-child(7) { transition-delay: 600ms; }
    .fade-in-stagger.visible > *:nth-child(8) { transition-delay: 700ms; }

    .fade-in-stagger.visible > * {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__video {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Keyboard focus
   -------------------------------------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--color-kakadu-light);
    outline-offset: 2px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Skip Navigation Link
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    z-index: 10000;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-kakadu);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 0 0 4px 4px;
    text-decoration: none;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   Body State: Mobile Menu Open
   -------------------------------------------------------------------------- */
.body--menu-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Evidence Cards Scroll Affordance
   -------------------------------------------------------------------------- */
.evidence-cards__container {
    position: relative;
}

.evidence-cards__container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--color-eucalyptus));
    pointer-events: none;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Link Underlines (Accessibility: non-color distinction)
   -------------------------------------------------------------------------- */
.about__content a,
.team-card__contact,
.footer__list a {
    text-decoration: underline;
    text-decoration-color: var(--color-kakadu);
    text-underline-offset: 3px;
}

.about__content a:hover,
.team-card__contact:hover,
.footer__list a:hover {
    text-decoration-color: var(--color-eucalyptus-light);
}

/* --------------------------------------------------------------------------
   Digital Mini-Site Mockup BEM Classes
   -------------------------------------------------------------------------- */
.digital-mini-site__line--wide {
    width: 100px;
    margin-bottom: 4px;
}

.digital-mini-site__line--narrow {
    width: 70px;
    height: 3px;
}

.digital-mini-site__card-top--kakadu {
    background: var(--color-kakadu);
}

.digital-mini-site__card-top--eucalyptus {
    background: var(--color-eucalyptus);
}

.digital-mini-site__card-top--kakadu-light {
    background: var(--color-kakadu-light);
}

.digital-mini-site__card-text--80 { width: 80%; }
.digital-mini-site__card-text--75 { width: 75%; }
.digital-mini-site__card-text--85 { width: 85%; }
.digital-mini-site__card-text--55 { width: 55%; }
.digital-mini-site__card-text--60 { width: 60%; }
.digital-mini-site__card-text--50 { width: 50%; }

/* --------------------------------------------------------------------------
   About Section Mid-Page CTA
   -------------------------------------------------------------------------- */
.about__cta {
    text-align: center;
    margin-top: var(--space-lg);
}

.about__cta-link {
    font-size: 0.9375rem;
    color: var(--color-kakadu-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.about__cta-link:hover {
    color: var(--color-eucalyptus-light);
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
