/* =============================================
   12 Elements Consulting Theme - Main Styles
   ============================================= */

/* -----------------------------------------------
   CSS Variables (matching React source design tokens)
   ----------------------------------------------- */
:root {
    /* Brand Colors */
    --deep-emerald: #053B3A;
    --teal: #29807A;
    --gold: #CFAE63;
    --gold-dark: #A08942;
    --gold-light: #E8D9A0;
    --bone: #F6F3EB;
    --slate-grey: #BDC5C9;

    /* Semantic Colors */
    --background: hsl(178, 83%, 12%);
    --foreground: #e1e4cde6;
    --card: #22392a;
    --card-foreground: hsl(40, 36%, 94%);
    --border: hsl(140, 20%, 25%);
    --muted: hsl(178, 50%, 16%);
    --muted-foreground: hsl(68, 15%, 68%);
    --secondary: hsl(174, 52%, 33%);

    /* Typography */
    --font-display: 'Nunito Sans', system-ui, sans-serif;
    --font-sans: 'Nunito Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --spacing: 0.25rem;

    /* Radius */
    --radius: 0.375rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.35), 0 3px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.4), 0 6px 12px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.45), 0 8px 16px rgba(0, 0, 0, 0.35);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    letter-spacing: 0.01em;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: hsla(68, 30%, 85%, 0.25);
    color: hsl(140, 25%, 18%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

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

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

/* -----------------------------------------------
   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-width: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: var(--foreground);
    color: var(--background);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 1rem;
}

.text-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.text-metallic-gold {
    color: #CFAE63;
    background: linear-gradient(135deg,
            #A08942 0%,
            #CFAE63 25%,
            #E8D9A0 40%,
            #CFAE63 50%,
            #A08942 60%,
            #CFAE63 75%,
            #E8D9A0 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 8s ease-in-out infinite;
}

/* -----------------------------------------------
   Layout
   ----------------------------------------------- */
.container-wide {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .container-wide {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1536px) {
    .container-wide {
        max-width: 100rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}

/* -----------------------------------------------
   Buttons
   ----------------------------------------------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    height: 3rem;
    padding: 0 2rem;
    background: linear-gradient(135deg, #CFAE63 0%, #A08942 50%, #CFAE63 100%);
    color: #053B3A;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 24px rgba(207, 174, 99, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    min-height: 48px;
    text-decoration: none;
}

.btn-gold:hover {
    box-shadow: 0 6px 32px rgba(207, 174, 99, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-gold .btn-icon {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.btn-gold .btn-icon svg {
    width: 100%;
    height: 100%;
}

.btn-gold:hover .btn-icon {
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.75rem;
    padding: 0 1.5rem;
    background: transparent;
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(246, 243, 235, 0.3);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(246, 243, 235, 0.05);
    border-color: rgba(246, 243, 235, 0.5);
}

/* Shimmer effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: metallic-shine 4s ease-in-out infinite;
}

.icon-sm {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
}

.icon-sm svg {
    width: 100%;
    height: 100%;
}

/* -----------------------------------------------
   Navbar
   ----------------------------------------------- */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #22392ae6;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(41, 128, 122, 0.25);
    animation: fadeSlideDown 0.5s ease forwards;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.logo-img--small {
    height: 1.5rem;
}

.navbar-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: rgba(246, 243, 235, 0.7);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.mobile-menu-toggle.is-active .hamburger-line-1 {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-line-2 {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line-3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: #22392ae6;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    top: 4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

.mobile-menu-content {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(246, 243, 235, 0.8);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(41, 128, 122, 0.2);
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--foreground);
}

/* -----------------------------------------------
   Hero Section
   ----------------------------------------------- */
.hero-section {
    background-color: #22392a;
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow-x: clip;
    padding-top: 8rem;
    padding-bottom: 6rem;
}

@media (min-width: 1024px) {
    .hero-section {
        padding-bottom: 6rem;
    }
}

/* Background effects */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
}

.hero-bg-glow--teal {
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(41, 128, 122, 0.08) 0%, rgba(41, 128, 122, 0.02) 50%, transparent 70%);
}

.hero-bg-glow--gold {
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    transform: translate(25%, 25%);
    background: radial-gradient(circle, rgba(207, 174, 99, 0.06) 0%, rgba(207, 174, 99, 0.01) 50%, transparent 70%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image: linear-gradient(to right, currentColor 1px, transparent 1px), linear-gradient(to bottom, currentColor 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 70% 50%, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
}

/* Hero content */
.hero-content-outer {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.hero-text {
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-text {
        flex: 1;
        max-width: 50%;
    }
}

@media (min-width: 1536px) {
    .hero-text {
        max-width: 55%;
    }
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 540px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .hero-headline {
        font-size: 40px;
    }
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 48px;
    }
}

@media (min-width: 1280px) {
    .hero-headline {
        font-size: 56px;
    }
}

@media (min-width: 1536px) {
    .hero-headline {
        font-size: 64px;
        max-width: 640px;
    }
}

.hero-headline-white {
    color: #e1e4cde6;
}

.hero-headline-gold {
    font-weight: 400;
}

.hero-description {
    font-size: 1rem;
    color: rgba(246, 243, 235, 0.7);
    max-width: 28rem;
    line-height: 1.625;
    font-weight: 300;
    letter-spacing: 0.025em;
    padding-top: 1.25rem;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1536px) {
    .hero-description {
        font-size: 1.5rem;
        max-width: 32rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.5rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

/* Desktop orbital wrapper */
.hero-orbital-wrapper {
    display: none;
    position: relative;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .hero-orbital-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
        max-width: 50%;
    }
}

@media (min-width: 1536px) {
    .hero-orbital-wrapper {
        max-width: 45%;
    }
}

.hero-orbital-3d {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 32rem;
    pointer-events: auto;
}

@media (min-width: 1280px) {
    .hero-orbital-3d {
        max-width: 30rem;
    }
}

@media (min-width: 1536px) {
    .hero-orbital-3d {
        max-width: 40rem;
    }
}

.hero-orbital-svg {
    width: 100%;
    height: 100%;
}

/* Orbital label tooltip */
.orbital-label {
    position: absolute;
    font-size: 0.875rem;
    color: var(--gold-light);
    pointer-events: none;
    letter-spacing: 0.05em;
    font-weight: 300;
    transition: opacity 0.25s ease;
    white-space: nowrap;
}

/* Mobile orbital (now inline within hero-text, below CTA) */
.hero-orbital-mobile {
    display: flex;
    justify-content: center;
    position: relative;
    width: 88vw;
    max-width: 420px;
    aspect-ratio: 1;
    margin: 2.5rem auto 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-orbital-mobile {
        width: 85vw;
    }
}

@media (min-width: 768px) {
    .hero-orbital-mobile {
        margin-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-orbital-mobile {
        display: none;
    }
}

.orbital-mobile-glow {
    position: absolute;
    inset: -10%;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(5, 59, 58, 0.9) 0%, rgba(5, 59, 58, 0.5) 35%, rgba(5, 59, 58, 0.15) 60%, transparent 85%);
}

.hero-orbital-svg-mobile {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Core breathing animation */
.core-breathing {
    animation: coreBreathing 3s ease-in-out infinite;
    transform-origin: 200px 200px;
}

.orbital-label-mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2rem;
    font-size: 1.125rem;
    color: #CFAE63;
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 0 24px rgba(207, 174, 99, 0.6);
    transition: opacity 0.25s ease;
}

@media (min-width: 768px) {
    .orbital-label-mobile {
        font-size: 1.25rem;
    }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-chevron {
    animation: scrollBounce 2.5s ease-in-out infinite;
    color: var(--muted-foreground);
}

.scroll-chevron svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* -----------------------------------------------
   Services Section
   ----------------------------------------------- */
.services-section {
    background-color: #22392a;
    border-top: 1px solid var(--border);
    position: relative;
}

.services-inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.services-header {
    margin-bottom: 4rem;
}

.section-label {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 500;
    max-width: 36rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-heading {
        font-size: 2.625rem;
    }
}

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

@media (min-width: 1024px) {
    .services-layout {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 4rem;
    }
}

/* Sidebar */
.services-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .services-sidebar {
        display: block;
        grid-column: span 4 / span 4;
    }
}

.services-sidebar-inner {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    border-left: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.service-nav-item:hover {
    background: rgba(246, 243, 235, 0.02);
}

.service-nav-item.is-active {
    background: rgba(246, 243, 235, 0.05);
    border-left-color: #314939;
}

.service-nav-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(246, 243, 235, 0.75);
    transition: color 0.3s ease;
}

.service-nav-item.is-active .service-nav-number {
    color: var(--gold-light);
}

.service-nav-title {
    font-size: 0.875rem;
    color: rgba(246, 243, 235, 0.7);
    transition: all 0.3s ease;
}

.service-nav-item.is-active .service-nav-title {
    color: var(--foreground);
    font-weight: 500;
}

/* Service Cards */
.services-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .services-cards {
        grid-column: span 8 / span 8;
    }
}

.service-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: transparent;
    transition: all 0.5s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(207, 174, 99, 0.3) 0%,
            rgba(207, 174, 99, 0.05) 30%,
            rgba(207, 174, 99, 0.05) 70%,
            rgba(207, 174, 99, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card.is-active {
    background-color: #26402f;
    border-color: rgba(207, 174, 99, 0.2);
    box-shadow: 0 4px 20px rgba(207, 174, 99, 0.15), 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card.is-active::before {
    opacity: 1;
}

.service-card:hover:not(.is-active) {
    background: #26402F80;
    /* 50% opacity of #22392a */
    border-color: rgba(207, 174, 99, 0.12);
}

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

.service-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(246, 243, 235, 0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    color: var(--foreground);
}

.service-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.service-card.is-active .service-card-icon {
    background: rgba(207, 174, 99, 0.12);
    border-color: rgba(207, 174, 99, 0.25);
    color: var(--gold-light);
}

.service-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.service-card-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(246, 243, 235, 0.65);
}

.service-card-category {
    font-size: 11px;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(207, 174, 99, 0.15);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
}

.service-card-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* -----------------------------------------------
   Metrics Section
   ----------------------------------------------- */
.metrics-section {
    padding-top: 5rem;
    background-color: #22392a;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .metrics-section {
        padding-top: 7rem;
    }
}

.metrics-header {
    margin-bottom: 3rem;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .metrics-grid {
        flex-direction: row;
        gap: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .metrics-grid {
        gap: 5rem;
    }
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .metric-value {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .metric-value {
        font-size: 2rem;
    }
}

.metric-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

/* Animated bars */
.metrics-bars {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

@media (min-width: 1024px) {
    .metrics-bars {
        gap: 8px;
    }
}

.metrics-bar {
    flex: 1;
    border-radius: 1px 1px 0 0;
    position: relative;
    background: linear-gradient(180deg, rgba(207, 174, 99, 0.5) 0%, rgba(41, 128, 122, 0.6) 100%);
    height: 0;
    opacity: 0;
    transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    transform-origin: bottom;
}

.metrics-bars.is-animated .metrics-bar {
    opacity: 1;
}

.metrics-bar-dot {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 0 12px rgba(207, 174, 99, 0.4));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 1.4s;
}

.metrics-bars.is-animated .metrics-bar-dot {
    transform: translateX(-50%) scale(1);
}

/* -----------------------------------------------
   Philosophy Section
   ----------------------------------------------- */
.philosophy-section {
    background-color: #22392a;
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .philosophy-section {
        padding: 8rem 0;
    }
}

@media (min-width: 1024px) {
    .philosophy-section {
        padding: 10rem 0;
    }
}

.philosophy-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.philosophy-heading {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .philosophy-heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .philosophy-heading {
        font-size: 2.625rem;
    }
}

.philosophy-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 1.125rem;
}

.philosophy-cta {
    padding-top: 1rem;
}

/* -----------------------------------------------
   Footer
   ----------------------------------------------- */
.site-footer {
    background-color: #22392a;
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
    }
}

.footer-copyright {
    color: var(--muted-foreground);
}

/* -----------------------------------------------
   Contact Page
   ----------------------------------------------- */
.contact-page {
    background-color: #22392ae6;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.contact-container {
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 3rem;
    }
}

.contact-subtitle {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

/* Contact form */
.contact-form {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: #26402F;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(68, 30%, 85%);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #26402F;
    border: 1px solid rgba(246, 243, 235, 0.15);
    border-radius: var(--radius);
    color: hsl(68, 30%, 85%);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.form-input {
    height: 3rem;
}

.form-textarea {
    min-height: 150px;
    resize: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(207, 174, 99, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: hsl(68, 30%, 85%);
    opacity: 0.8;
}

/* reCAPTCHA widget styling */
.form-recaptcha-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.form-submit {
    display: flex;
    justify-content: center;
}

/* Inline validation error message */
.form-error {
    display: none;
    font-size: 0.8125rem;
    color: #f87171;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Error state border */
.form-input--error {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.15) !important;
}

/* Message meta row (error + char counter) */
.form-message-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.35rem;
}

/* Character counter */
.char-counter {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    opacity: 0.7;
    margin-left: auto;
    transition: color 0.2s ease;
}

.char-counter--warn {
    color: #fbbf24;
    opacity: 1;
}

.char-counter--limit {
    color: #f87171;
    opacity: 1;
    font-weight: 600;
}

/* Contact success */
.contact-success {
    text-align: center;
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--card);
}

.success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #CFAE63 0%, #A08942 100%);
    color: #053B3A;
}

.success-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.success-heading {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.success-message {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* -----------------------------------------------
   404 Page
   ----------------------------------------------- */
.not-found-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
}

.not-found-content {
    text-align: center;
}

.not-found-content h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.not-found-content p {
    font-size: 1.5rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}