/* ============================================
   BAYOUBUILT DIGITAL — STYLESHEET
   D & G Fuzion LLC DBA BayouBuilt Digital
   ============================================ */

/* VARIABLES */
:root {
    --black:        #050c08;
    --surface:      #0d1f14;
    --surface-2:    #132a1a;
    --surface-3:    #17301e;
    --teal:         #00d68f;
    --teal-mid:     rgba(0, 214, 143, 0.35);
    --teal-faint:   rgba(0, 214, 143, 0.07);
    --teal-border:  rgba(0, 214, 143, 0.22);
    --gold:         #c9952a;
    --cream:        #f0ede6;
    --muted:        rgba(240, 237, 230, 0.72);
    --muted-dim:    rgba(240, 237, 230, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

/* TYPOGRAPHY */
.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--teal);
    flex-shrink: 0;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--cream);
    margin-bottom: 1.25rem;
}

.section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--muted);
    max-width: 580px;
}

/* BUTTON */
.btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    background: var(--teal);
    border: 2px solid var(--teal);
    padding: 0.9rem 2.2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
    background: transparent;
    color: var(--teal);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(240, 237, 230, 0.25);
}

.btn--ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: transparent;
}

.btn--full {
    width: 100%;
    text-align: center;
    padding: 1.1rem 2rem;
}

/* ============================================
   NAV
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4rem;
    background: rgba(5, 12, 8, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 1px 0 0 rgba(0,214,143,0.2), 0 1px 0 0 rgba(201,149,42,0.08), inset 0 -1px 0 rgba(0,214,143,0.06);
}

.nav-logo {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cream);
}

.nav-logo span { color: var(--teal); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted-dim);
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cream);
    transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--active span:nth-child(2) { opacity: 0; }
.nav-toggle--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 5rem;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 72% -5%, rgba(0,214,143,0.28) 0%, transparent 58%),
        radial-gradient(ellipse 55% 50% at -5% 85%, rgba(0,214,143,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 50% 50%, rgba(201,149,42,0.09) 0%, transparent 65%),
        linear-gradient(170deg, #071009 0%, #050c08 45%, #091209 100%);
}

/* Atmospheric glow */
.hero-glow {
    position: absolute;
    top: -15%;
    right: -5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 214, 143, 0.32) 0%, rgba(0,214,143,0.08) 45%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(201, 149, 42, 0.16) 0%, rgba(0,214,143,0.1) 40%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite reverse;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-inner .section-label {
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-inner .section-label::before { display: none; }

.hero-headline {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    margin-bottom: 2rem;
}

.hl {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.7s ease forwards;
}

.hl-1 { animation-delay: 0.1s; }
.hl-2 { animation-delay: 0.28s; }
.hl-3 {
    animation-delay: 0.46s;
    font-style: italic;
    background: linear-gradient(90deg, var(--teal) 0%, #00ffb3 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.65s;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.8s;
}

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 1s;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--teal));
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   WORK
   ============================================ */
.work-section {
    padding: 7rem 4rem;
    background: linear-gradient(180deg, var(--black) 0%, var(--surface) 15%, var(--surface) 100%);
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(0,214,143,0.15), inset 0 2px 0 rgba(201,149,42,0.05);
}

.work-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.work-inner .section-text {
    margin-bottom: 4rem;
}

/* Project Card */
.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 3.5rem;
    border-radius: 4px;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
        linear-gradient(135deg, var(--teal) 0%, rgba(0,214,143,0.25) 45%, var(--gold) 100%) border-box;
    box-shadow: 0 0 60px rgba(0, 214, 143, 0.07), 0 0 120px rgba(201, 149, 42, 0.04);
}

.project-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    border: 1px solid var(--teal-border);
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.25rem;
}

.project-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--cream);
    margin-bottom: 0.4rem;
}

.project-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.project-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags li {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted-dim);
    background: rgba(0, 214, 143, 0.05);
    border: 1px solid rgba(0, 214, 143, 0.12);
    padding: 0.3rem 0.7rem;
}

/* Browser Mock */
.browser-mock {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 214, 143, 0.12);
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1a2920;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(0, 214, 143, 0.1);
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.browser-dots span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    color: rgba(240, 237, 230, 0.35);
    background: rgba(0,0,0,0.25);
    border-radius: 3px;
    padding: 0.2rem 0.6rem;
    flex: 1;
}

.browser-screen {
    background: #0d1b2a;
    line-height: 0;
}

.browser-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.project-screenshot-link {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-screenshot-link:hover {
    transform: scale(1.02);
}

.browser-mock:has(.project-screenshot-link:hover) {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 214, 143, 0.25), 0 0 40px rgba(0, 214, 143, 0.12);
}

/* --- Second project card (reversed layout) --- */
.project-card--reverse {
    margin-top: 3rem;
}

.project-card--reverse .project-info {
    order: 2;
}

.project-card--reverse .project-visual {
    order: 1;
}

.browser-screen--self {
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.browser-screen--self::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201,149,42,0.15) 0%, rgba(0,214,143,0.06) 40%, transparent 65%);
    border-radius: 50%;
    animation: aura-pulse 6s ease-in-out infinite;
}

.self-site-badge {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.project-more-btn {
    margin-top: 3rem;
    display: inline-block;
}

/* ============================================
   SERVICES
   ============================================ */
.services-bg {
    padding: 7rem 4rem;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,214,143,0.07) 0%, transparent 60%),
        linear-gradient(180deg, var(--surface) 0%, var(--black) 100%);
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(0,214,143,0.1);
}

.services-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.services-inner .section-label { justify-content: center; }
.services-inner .section-label::before { display: none; }
.services-inner .section-text {
    margin: 0 auto 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    background: var(--teal-border);
    border: 1px solid var(--teal-border);
    margin-top: 3.5rem;
}

.service-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    text-align: left;
    transition: background 0.2s;
}

.service-card:hover {
    background: var(--surface-2);
}

.service-card-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(201,149,42,0.35), rgba(201,149,42,0.10));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.85rem;
    line-height: 1.85;
    color: var(--muted);
}

/* ============================================
   ABOUT
   ============================================ */
.about-section {
    padding: 7rem 4rem;
    background: linear-gradient(160deg, var(--black) 0%, var(--surface) 40%, var(--surface-2) 100%);
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(201,149,42,0.1);
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: rgba(201, 149, 42, 0.22);
    border: 1px solid rgba(201, 149, 42, 0.22);
}

.about-stat {
    background: var(--surface-2);
    padding: 2.5rem 2rem;
    text-align: center;
}

.about-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, var(--teal) 0%, #00ffb3 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

.about-text-extra { margin-top: 1.25rem; }

.about-section .team-inner {
    max-width: 1100px;
    margin: 3.5rem auto 0;
}

/* ============================================
   HOW IT WORKS — PROCESS
   ============================================ */
.process-section {
    padding: 7rem 4rem;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0,214,143,0.06) 0%, transparent 55%),
        linear-gradient(180deg, var(--black) 0%, var(--surface) 100%);
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(0,214,143,0.08);
}

.process-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.process-inner .section-label { justify-content: center; }
.process-inner .section-label::before { display: none; }
.process-inner .section-text { margin: 0 auto 4rem; }

/* --- Horizontal connected timeline --- */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    position: relative;
}

/* Connecting track line */
.process-track {
    position: absolute;
    top: 1.4rem;
    left: calc(12.5% + 1rem);
    right: calc(12.5% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Circular node */
.process-node {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--black);
    background: linear-gradient(135deg, var(--teal), var(--gold));
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    box-shadow:
        0 0 20px rgba(0, 214, 143, 0.2),
        0 0 40px rgba(201, 149, 42, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover .process-node {
    transform: scale(1.12);
    box-shadow:
        0 0 30px rgba(0, 214, 143, 0.3),
        0 0 60px rgba(201, 149, 42, 0.15);
}

.process-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.process-desc {
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 220px;
}
.about-cta { margin-top: 2rem; }

/* ============================================
   STATS — WHY IT MATTERS
   ============================================ */
.stats-section {
    padding: 8rem 4rem;
    text-align: center;
    background: var(--black);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* --- Golden aura layers --- */
.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, rgba(201,149,42,0.22) 0%, rgba(201,149,42,0.10) 25%, rgba(201,149,42,0.04) 45%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    animation: aura-pulse 6s ease-in-out infinite;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, rgba(201,149,42,0.08) 0%, rgba(201,149,42,0.03) 30%, transparent 55%),
        radial-gradient(circle at 40% 45%, rgba(0,214,143,0.05) 0%, transparent 40%),
        radial-gradient(circle at 60% 55%, rgba(201,149,42,0.06) 0%, transparent 35%);
    border-radius: 50%;
    z-index: 0;
    animation: aura-breathe 8s ease-in-out infinite;
}

@keyframes aura-pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes aura-breathe {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stats-inner .section-label { justify-content: center; }
.stats-inner .section-label::before { display: none; }

.stats-intro {
    margin: 0 auto 4rem;
    max-width: 640px;
}

/* --- Big hero stat cards --- */
.stats-hero-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stats-hero-card {
    background: rgba(13, 31, 20, 0.85);
    border: 1px solid rgba(201, 149, 42, 0.25);
    padding: 2.5rem 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(201, 149, 42, 0.06),
        0 0 60px rgba(201, 149, 42, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.stats-hero-card:hover {
    border-color: rgba(201, 149, 42, 0.45);
    box-shadow:
        0 0 40px rgba(201, 149, 42, 0.10),
        0 0 80px rgba(201, 149, 42, 0.05);
}

.stats-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
    background-size: 200% 100%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.stats-hero-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--cream);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(201, 149, 42, 0.25);
}

.stats-hero-pct {
    font-size: 2.5rem;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(201, 149, 42, 0.3);
}

.stats-hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 220px;
    margin: 0 auto;
}

/* --- With vs Without comparison --- */
.stats-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    margin-bottom: 4rem;
    border: 1px solid rgba(201, 149, 42, 0.18);
    background: rgba(13, 31, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: left;
}

.stats-compare-col {
    padding: 2.5rem 2rem;
}

.stats-compare-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stats-compare-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.stats-compare-icon--check {
    background: rgba(0, 214, 143, 0.15);
    color: var(--teal);
}

.stats-compare-icon--x {
    background: rgba(220, 60, 60, 0.15);
    color: #dc3c3c;
}

.stats-compare-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cream);
}

.stats-compare-divider {
    width: 1px;
    background: rgba(201, 149, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stats-compare-vs {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--surface);
    padding: 0.5rem 0.4rem;
    position: relative;
    z-index: 1;
}

.stats-compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.stats-compare-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--muted);
    padding-left: 1.25rem;
    position: relative;
}

.stats-compare--with .stats-compare-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
}

.stats-compare--without .stats-compare-list li::before {
    content: '\2013';
    position: absolute;
    left: 0;
    color: #dc3c3c;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
}

/* --- Bottom callout bar --- */
.stats-callout {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(19, 42, 26, 0.85);
    border: 1px solid rgba(201, 149, 42, 0.22);
    border-left: 4px solid var(--gold);
    padding: 2rem 2.5rem;
    text-align: left;
    margin-bottom: 3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 40px rgba(201, 149, 42, 0.04);
}

.stats-callout-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 30px rgba(201, 149, 42, 0.3);
    flex-shrink: 0;
}

.stats-callout-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--muted);
}

.stats-callout-text strong {
    color: var(--cream);
    font-weight: 600;
}

.stats-cta {
    margin-bottom: 3rem;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.stats-cta:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

/* --- Source citations --- */
.stats-sources {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 149, 42, 0.15);
}

.stats-sources-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

.stats-sources a {
    font-family: 'Space Mono', monospace;
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    color: var(--muted-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.stats-sources a:hover {
    color: var(--teal);
}

/* ============================================
   TEAM
   ============================================ */
.team-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--teal-border);
    border: 1px solid var(--teal-border);
    margin-top: 3.5rem;
}

.team-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    transition: background 0.2s;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    opacity: 0;
    transition: opacity 0.25s;
}

.team-card:hover { background: var(--surface-2); }
.team-card:hover::before { opacity: 1; }

.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid var(--teal-border);
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--surface-3);
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover .team-avatar {
    border-color: var(--teal);
    transform: rotate(-3deg) scale(1.05);
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--teal);
}

/* To add a real photo: replace <div class="team-avatar-placeholder">
   with <img src="photo.jpg" alt="Name" class="team-avatar-img" /> */
.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.9rem;
}

.team-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--cream);
    margin-bottom: 1rem;
}

.team-bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.85;
    color: var(--muted);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section {
    padding: 7rem 4rem;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,149,42,0.06) 0%, transparent 60%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(201,149,42,0.1);
}

.reviews-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.reviews-inner .section-label { justify-content: center; }
.reviews-inner .section-label::before { display: none; }

.reviews-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 2rem 0 3.5rem;
}

.reviews-overall-stars {
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.reviews-overall-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
}

.reviews-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-dim);
    border: 1px solid var(--teal-border);
    padding: 0.25rem 0.85rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--teal-border);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.3s;
}

.review-card:hover {
    border-color: var(--gold);
}

.review-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--muted);
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 2.2rem;
    height: 2.2rem;
    background: var(--teal);
    color: var(--black);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.review-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--cream);
}

.review-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-top: 0.15rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-bg {
    padding: 7rem 4rem;
    background:
        radial-gradient(ellipse 50% 40% at 50% 85%, rgba(201,149,42,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,149,42,0.06) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 20% 50%, rgba(0,214,143,0.04) 0%, transparent 60%),
        linear-gradient(180deg, var(--surface-2) 0%, var(--black) 100%);
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(201,149,42,0.1);
}

.contact-inner {
    max-width: 780px;
    margin: 0 auto;
}

.contact-inner .section-text {
    margin-bottom: 1.25rem;
    max-width: 100%;
}

.contact-availability {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201, 149, 42, 0.25);
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 2.5rem;
}

.form-trust {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: var(--muted-dim);
    text-align: center;
    margin-top: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

.form-input {
    background: var(--surface-2);
    border: 1px solid rgba(0, 214, 143, 0.15);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.form-input:focus {
    border-color: var(--teal);
}

.form-input::placeholder {
    color: rgba(240, 237, 230, 0.2);
}

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

/* ============================================
   FORM SUCCESS STATE
   ============================================ */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--teal-border);
    background: var(--surface-2);
    animation: fadeUp 0.5s ease forwards;
}

.form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 214, 143, 0.12);
    border: 2px solid var(--teal);
    color: var(--teal);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.form-success-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.form-success-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--surface);
    border-top: 1px solid var(--teal-border);
    padding: 2.5rem 4rem;
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.footer-logo span { color: var(--teal); }

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.footer-nav a {
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted-dim);
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--teal); }

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

/* ============================================
   UTILITIES — Skip Nav, Focus, Scroll-to-Top
   ============================================ */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 200;
    background: var(--teal);
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s;
}

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

.btn:focus-visible,
.nav-links a:focus-visible,
.footer-nav a:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

.form-input:focus-visible {
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(0, 214, 143, 0.25);
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--teal-border);
    color: var(--teal);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s, transform 0.2s;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--teal);
    color: var(--black);
    transform: translateY(-2px);
}

.scroll-top:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.08); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.12); }
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 0;
    }

    .process-track {
        display: none;
    }

    .process-node::after {
        content: '';
        position: absolute;
        bottom: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 1rem;
        background: linear-gradient(180deg, var(--teal), transparent);
    }

    .process-step:nth-child(4) .process-node::after,
    .process-step:nth-child(5) .process-node::after {
        display: none;
    }

    .project-card { grid-template-columns: 1fr; gap: 3rem; }
    .project-visual { order: -1; }
    .project-card--reverse .project-info { order: 0; }
    .project-card--reverse .project-visual { order: -1; }
    .project-card--reverse { margin-top: 2rem; }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
    nav { padding: 1.25rem 1.75rem; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(5, 12, 8, 0.98);
        border-bottom: 2px solid var(--teal);
        border-top: 1px solid var(--teal-border);
        z-index: 99;
    }

    .nav-links.nav-open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 1rem 1.75rem;
        border-bottom: 1px solid var(--teal-border);
        font-size: 0.75rem;
    }

    .hero { padding: 7rem 2rem 4rem; }

    .work-section,
    .services-bg,
    .about-section,
    .process-section,
    .stats-section,
    .reviews-section,
    .contact-bg { padding: 5rem 2rem; }

    .team-grid { grid-template-columns: 1fr; }
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-step {
        flex-direction: row;
        text-align: left;
        gap: 1.25rem;
        padding: 1.5rem 0;
        border-left: 2px solid var(--teal-border);
        margin-left: 1.4rem;
        padding-left: 1.75rem;
        align-items: flex-start;
    }

    .process-step:last-child {
        border-left-color: transparent;
    }

    .process-node {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
        margin-bottom: 0;
        margin-left: -2.95rem;
        box-shadow:
            0 0 15px rgba(0, 214, 143, 0.15),
            0 0 30px rgba(201, 149, 42, 0.08);
    }

    .process-node::after {
        display: none;
    }

    .process-desc {
        max-width: none;
    }

    .reviews-grid { grid-template-columns: 1fr; }


    .stats-hero-row { grid-template-columns: 1fr; }

    .stats-compare {
        grid-template-columns: 1fr;
    }

    .stats-compare-col {
        padding: 2rem 1.5rem;
    }

    .stats-compare-divider {
        width: 100%;
        height: 1px;
        flex-direction: row;
    }

    .stats-callout {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        border-left: 1px solid rgba(201, 149, 42, 0.22);
        border-top: 4px solid var(--gold);
    }

    .stats-hero-card {
        padding: 2rem 1.5rem 1.75rem;
    }

    .stats-sources {
        gap: 0.4rem 0.75rem;
    }

    .reviews-overall {
        flex-wrap: wrap;
        gap: 0.5rem 0.85rem;
    }

    .reviews-badge {
        font-size: 0.62rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .about-inner { grid-template-columns: 1fr; gap: 3rem; }

    .form-row { grid-template-columns: 1fr; }

    footer { padding: 2rem 2rem; }

    .footer-nav { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }

    .btn { padding: 1rem 2rem; font-size: 0.68rem; }

    .scroll-top { bottom: 1.25rem; right: 1.25rem; }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
    .hero { padding: 6.5rem 1.5rem 3.5rem; }

    .work-section,
    .services-bg,
    .about-section,
    .process-section,
    .stats-section,
    .reviews-section,
    .contact-bg { padding: 4rem 1.5rem; }

    .stats-section {
        padding: 4rem 1.25rem;
    }

    .stats-section::before {
        width: 500px;
        height: 500px;
    }

    .stats-section::after {
        width: 650px;
        height: 650px;
    }

    .stats-hero-num { font-size: 3rem; }
    .stats-hero-pct { font-size: 1.8rem; }
    .stats-hero-label { font-size: 0.78rem; }

    .stats-hero-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .stats-compare-col {
        padding: 1.5rem 1.25rem;
    }

    .stats-compare-title {
        font-size: 0.95rem;
    }

    .stats-compare-list li {
        font-size: 0.78rem;
    }

    .stats-callout {
        padding: 1.25rem;
    }

    .stats-callout-num { font-size: 2.5rem; }

    .stats-callout-text {
        font-size: 0.82rem;
    }

    .stats-sources a {
        font-size: 0.5rem;
    }

    .reviews-section {
        padding: 4rem 1.25rem;
    }

    .reviews-overall {
        margin: 1.5rem 0 2.5rem;
    }

    .reviews-overall-stars {
        font-size: 1.25rem;
    }

    .reviews-overall-num {
        font-size: 1.6rem;
    }

    .reviews-badge {
        font-size: 0.56rem;
        padding: 0.2rem 0.6rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .review-text {
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .review-avatar {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

    .review-name {
        font-size: 0.75rem;
    }

    .review-date {
        font-size: 0.5rem;
    }

    .project-card { padding: 2rem 1.5rem; }

    .services-grid { grid-template-columns: 1fr; }

    .about-stats { grid-template-columns: 1fr 1fr; }

    .hero-cta { flex-direction: column; align-items: center; }

    footer { padding: 2rem 1.5rem; }
}
