/* ==========================================================================
   Michael Dutton - User Research Consultant
   Professional website styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Colours - Professional, trustworthy palette */
    --color-primary: #1a4d5c;
    --color-primary-dark: #0f3640;
    --color-primary-light: #2a6b7d;
    --color-accent: #e07b39;
    --color-accent-dark: #c46528;

    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;

    --color-bg: #ffffff;
    --color-bg-alt: #f7f9fa;
    --color-bg-dark: #1a2634;

    --color-border: #e2e8f0;
    --color-border-light: #edf2f7;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max: 1400px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-base: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

a:hover {
    color: var(--color-primary-light);
}

ul {
    list-style: none;
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--color-primary-dark);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header .section-description {
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    border-radius: var(--radius-base);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

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

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

.btn--large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn--full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border-light);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 36px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.nav__logo:hover .nav__logo-img {
    opacity: 0.8;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-primary);
}

.nav__link--cta {
    padding: var(--space-2) var(--space-5);
    background-color: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-base);
}

.nav__link--cta:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: var(--space-8);
        background-color: var(--color-bg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav__menu.is-open {
        transform: translateX(0);
    }

    .nav__menu li {
        width: 100%;
    }

    .nav__link {
        display: block;
        padding: var(--space-4) 0;
        font-size: var(--text-lg);
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav__link--cta {
        margin-top: var(--space-4);
        text-align: center;
        border-bottom: none;
    }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    padding: calc(72px + var(--space-24)) 0 var(--space-24);
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero__content {
    max-width: 720px;
}

.hero__subtitle {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.hero__title {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-6);
}

.hero__description {
    font-size: var(--text-xl);
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: calc(72px + var(--space-16)) 0 var(--space-16);
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__description {
        font-size: var(--text-lg);
    }
}

/* --------------------------------------------------------------------------
   Page Hero (for inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    padding: calc(72px + var(--space-16)) 0 var(--space-12);
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    text-align: center;
}

.page-hero__title {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
}

.page-hero__description {
    font-size: var(--text-xl);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero__title {
        font-size: var(--text-4xl);
    }

    .page-hero__description {
        font-size: var(--text-lg);
    }
}

/* --------------------------------------------------------------------------
   Services Preview (Homepage)
   -------------------------------------------------------------------------- */
.services-preview {
    padding: var(--space-24) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    padding: var(--space-8);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

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

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-5);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-base);
    color: var(--color-primary);
}

.service-card__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-primary-dark);
}

.service-card__description {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.6;
}

.services-preview__cta {
    text-align: center;
    margin-top: var(--space-12);
}

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

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Experience Section (Homepage)
   -------------------------------------------------------------------------- */
.experience {
    padding: var(--space-24) 0;
    background-color: var(--color-bg-alt);
}

.experience__content {
    text-align: center;
}

.experience__text {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--space-10);
}

.experience__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
}

.experience__logo {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    background-color: var(--color-bg);
    border-radius: var(--radius-base);
    border: 1px solid var(--color-border-light);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    padding: var(--space-24) 0;
    background-color: var(--color-primary-dark);
}

.cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-4);
}

.cta__description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   Services Detail (Services page)
   -------------------------------------------------------------------------- */
.services-detail {
    padding: var(--space-16) 0;
}

.service-detail {
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.service-detail:first-child {
    padding-top: 0;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail__content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.service-detail__title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
}

.service-detail__description {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.service-detail__subtitle {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    margin-top: var(--space-6);
}

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

.service-detail__list li {
    position: relative;
    padding-left: var(--space-5);
    font-size: var(--text-base);
    color: var(--color-text-light);
}

.service-detail__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

@media (max-width: 576px) {
    .service-detail__list {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Engagement Models
   -------------------------------------------------------------------------- */
.engagement {
    padding: var(--space-24) 0;
    background-color: var(--color-bg-alt);
}

.engagement__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-10);
}

.engagement__card {
    padding: var(--space-8);
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.engagement__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-3);
}

.engagement__description {
    font-size: var(--text-base);
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .engagement__grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   About Page - Intro
   -------------------------------------------------------------------------- */
.about-intro {
    padding: var(--space-16) 0;
}

.about-intro__content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.about-intro__text h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-6);
}

.about-intro__text p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Our Principles Section
   -------------------------------------------------------------------------- */
.principles-section {
    padding: var(--space-16) 0;
    background-color: var(--color-bg-alt);
}

.section-intro {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: var(--container-narrow);
    margin-bottom: var(--space-12);
}

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

.principle {
    padding: var(--space-8);
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    position: relative;
}

.principle__number {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    margin-bottom: var(--space-2);
}

.principle__title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.principle__description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Experience Timeline (Legacy - kept for reference)
   -------------------------------------------------------------------------- */
.experience-section {
    padding: var(--space-16) 0;
    background-color: var(--color-bg-alt);
}

.timeline {
    max-width: var(--container-narrow);
    margin-top: var(--space-10);
}

.timeline__item {
    position: relative;
    padding-left: var(--space-10);
    padding-bottom: var(--space-10);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border);
}

.timeline__item:last-child::before {
    display: none;
}

.timeline__marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-bg-alt);
}

.timeline__date {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
    display: block;
}

.timeline__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-1);
}

.timeline__org {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

.timeline__description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Expertise Grid
   -------------------------------------------------------------------------- */
.expertise {
    padding: var(--space-16) 0;
}

.expertise__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-10);
}

.expertise__category h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-accent);
}

.expertise__category ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.expertise__category li {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

@media (max-width: 992px) {
    .expertise__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .expertise__grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Values Grid
   -------------------------------------------------------------------------- */
.values {
    padding: var(--space-16) 0;
    background-color: var(--color-bg-alt);
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-10);
}

.value {
    padding: var(--space-8);
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.value__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-3);
}

.value__description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .values__grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-section {
    padding: var(--space-16) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
}

.contact-info > p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.contact-item__label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.contact-item__value {
    font-size: var(--text-base);
    color: var(--color-text);
}

a.contact-item__value:hover {
    color: var(--color-primary);
}

.contact-availability h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-3);
}

.contact-availability p {
    font-size: var(--text-base);
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

/* --------------------------------------------------------------------------
   Contact Form
   -------------------------------------------------------------------------- */
.contact-form-wrapper {
    background-color: var(--color-bg-alt);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 92, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    padding-right: var(--space-10);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    height: 36px;
    width: auto;
    display: block;
    margin-bottom: var(--space-3);
    filter: brightness(0) invert(1);
}

.footer__brand-text {
    font-family: 'Geneva', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-3);
    display: block;
}

.footer__tagline {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__nav a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer__nav a:hover {
    color: #fff;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer__contact a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
    color: #fff;
}

.footer__bottom {
    padding-top: var(--space-8);
    text-align: center;
}

.footer__bottom p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .footer__nav,
    .footer__contact {
        align-items: center;
    }
}

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

/* ==========================================================================
   Elevation Animations (feature/elevate-design)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drawLine {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

@keyframes shimmerAuto {
    0%      { left: -100%; }
    28.6%   { left: 200%; }
    28.7%, 100% { left: -100%; }
}

@keyframes pulse-ring {
    0%   { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Scroll Reveal System
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.reveal--from-left {
    transform: translateX(-28px);
}

.reveal--scale {
    transform: scale(0.92);
}

.reveal--visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Hero Enhancements
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
}

/* Decorative background orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(26, 77, 92, 0.06) 0%, transparent 70%);
    animation: floatY 8s ease-in-out infinite;
}

.hero::after {
    width: 300px;
    height: 300px;
    bottom: -60px;
    right: 25%;
    background: radial-gradient(circle, rgba(224, 123, 57, 0.05) 0%, transparent 70%);
    animation: floatY 11s ease-in-out infinite reverse;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__content {
    transition: transform 0.08s linear;
}

/* Hero subtitle accent line */
.hero__subtitle::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--color-accent);
    vertical-align: middle;
    margin-right: var(--space-3);
    border-radius: 1px;
}

/* --------------------------------------------------------------------------
   Section Title Animated Underline
   -------------------------------------------------------------------------- */
.section-title,
.service-detail__title,
.page-hero__title {
    position: relative;
    display: inline-block;
}

.section-title::after,
.service-detail__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.section-header .section-title::after {
    left: 50%;
    transform: scaleX(0) translateX(-50%);
    transform-origin: center;
}

.section-header .title--animated::after,
.title--animated::after {
    transform: scaleX(1);
}

.section-header .title--animated::after {
    transform: scaleX(1) translateX(-50%);
}

/* --------------------------------------------------------------------------
   Enhanced Card Hover States
   -------------------------------------------------------------------------- */
.service-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

/* Left accent line on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    border-radius: 0 0 0 var(--radius-lg);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card__icon {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__icon {
    background-color: var(--color-primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.engagement__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engagement__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 77, 92, 0.12);
    border-color: var(--color-primary);
}

.principle {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.principle:hover .principle__number {
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Button Shimmer Effect
   -------------------------------------------------------------------------- */
.btn--primary,
.btn--large {
    position: relative;
    overflow: hidden;
}

.btn--primary::after,
.btn--secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 80%
    );
    animation: shimmerAuto 4.2s ease-in-out infinite;
    pointer-events: none;
}

.btn--secondary::after {
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 80%
    );
}

/* Button lift */
.btn {
    transition: all var(--transition-base), transform 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Nav Link Animated Underline
   -------------------------------------------------------------------------- */
.nav__link--animated {
    position: relative;
}

.nav__link--animated::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
    border-radius: 1px;
}

.nav__link--animated:hover::after,
.nav__link--animated.nav__link--active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --------------------------------------------------------------------------
   Header scroll enhancement
   -------------------------------------------------------------------------- */
.header.is-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.97);
}

/* --------------------------------------------------------------------------
   Experience logos — hover lift
   -------------------------------------------------------------------------- */
.experience__logo {
    cursor: default;
}

/* --------------------------------------------------------------------------
   CTA section — pulsing accent ring on button
   -------------------------------------------------------------------------- */
.cta .btn--primary {
    position: relative;
}

.cta .btn--primary::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(224, 123, 57, 0.4);
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Page hero decoration
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    top: -80px;
    right: 10%;
    background: radial-gradient(circle, rgba(26, 77, 92, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatY 10s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Footer link hover
   -------------------------------------------------------------------------- */
.footer__nav a,
.footer__contact a {
    position: relative;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__nav a:hover,
.footer__contact a:hover {
    padding-left: 6px;
}

/* --------------------------------------------------------------------------
   Form field focus polish
   -------------------------------------------------------------------------- */
.form-input,
.form-select,
.form-textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    transform: translateY(-1px);
}
