/* ============================================
   Ship With Studio — Deep Ocean Journey
   Full immersion scroll experience
   ============================================ */

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

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --color-bg: #050510;
    --color-bg-elevated: #0a0a1a;
    --color-bg-card: #0f0f20;
    --color-surface: #141428;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 255, 255, 0.12);

    --color-text: #e8e8f0;
    --color-text-secondary: rgba(255, 255, 255, 0.6);
    --color-text-muted: rgba(255, 255, 255, 0.5);
    --color-text-subtle: rgba(255, 255, 255, 0.35);

    --color-accent: #c8a97e;
    --color-accent-hover: #d4bb96;
    --color-ocean: #1a6b7a;
    --color-biolum: #4dd9e8;

    --color-success: #34d399;
    --color-error: #f87171;
    --color-warning: #fbbf24;

    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
    --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
    --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
    --space-32: 128px;

    --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
    --radius-xl: 16px; --radius-full: 9999px;

    --transition-fast: 150ms ease-out;
    --transition-normal: 200ms ease-out;
    --transition-slow: 300ms ease-out;
    --transition-slower: 500ms ease-out;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.35);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.4);
    --shadow-glow: 0 8px 32px rgba(77, 217, 232, 0.15);
}

html {
    font-family: var(--font-sans);
    font-size: 16px;
    background: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--color-bg);
    overflow-x: hidden;
}

::selection {
    background: rgba(77, 217, 232, 0.3);
    color: var(--color-text);
}

/* ---- Skip to Content ---- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-biolum);
    color: var(--color-bg);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10001;
    text-decoration: none;
    transition: top var(--transition-normal);
}

.skip-to-content:focus { top: var(--space-4); }

/* ---- Loading Sequence: Submarine powering on ---- */
#loading-bar-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    transition: opacity 1s ease;
}

#loading-bar-container.hidden {
    opacity: 0;
    pointer-events: none;
}

#loading-cockpit {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.loading-gauge {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(77, 217, 232, 0.2);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-gauge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(77, 217, 232, 0.3);
    transition: all 0.5s ease;
}

.loading-gauge.active {
    border-color: var(--color-biolum);
    box-shadow: 0 0 20px rgba(77, 217, 232, 0.2);
}

.loading-gauge.active span {
    background: var(--color-biolum);
    box-shadow: 0 0 12px var(--color-biolum);
}

#loading-bar {
    width: 200px;
    height: 2px;
    background: var(--color-biolum);
    border-radius: var(--radius-full);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
}

#loading-text {
    font-size: 0.6875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.5s ease;
}

#loading-percent {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-biolum);
    letter-spacing: 0.05em;
    opacity: 0.6;
}

/* ---- Custom Cursor ---- */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--color-biolum);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid rgba(77, 217, 232, 0.3);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow), border-color var(--transition-slow);
}

.cursor-ring.hover {
    width: 64px; height: 64px;
    border-color: var(--color-biolum);
}

/* ---- Navigation ---- */
#navbar {
    position: fixed;
    top: var(--space-4);
    left: var(--space-4);
    right: var(--space-4);
    width: auto;
    z-index: 100;
    border-radius: var(--radius-xl);
    transition: background var(--transition-slow), backdrop-filter var(--transition-slow);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbar.scrolled {
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.nav-logo {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-dot { color: var(--color-biolum); }

.nav-links { display: none; }

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color var(--transition-normal);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--color-biolum);
    transition: width var(--transition-slow);
}

.nav-links a:hover, .nav-links a.active { color: var(--color-text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-bg);
    background: var(--color-biolum);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.nav-cta:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 101;
}

.nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--color-text);
    transition: all var(--transition-normal);
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu open state */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
    z-index: 100;
}

.nav-links.open a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
}

/* ---- Scroll Progress ---- */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%; height: 2px;
    background: var(--color-biolum);
    z-index: 9999;
}

/* ---- THE JOURNEY: Full-screen immersive canvas ---- */
#the-journey {
    position: relative;
    width: 100%;
    height: 3600vh; /* 4 videos x 900vh each */
}

#journey-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: #000000;
}

/* ---- Vignette: dark edges, intensifies with depth ---- */
#vignette-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 40%, rgba(0,0,0,0.6) 100%);
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

/* ---- Floating Particles: bubbles and light motes ---- */
#particles-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

@keyframes float-up {
    0% { transform: translateY(100vh) translateX(0) scale(0.5); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-20vh) translateX(30px) scale(1); opacity: 0; }
}

@keyframes float-up-slow {
    0% { transform: translateY(100vh) translateX(0) scale(0.3); opacity: 0; }
    15% { opacity: 0.4; }
    85% { opacity: 0.3; }
    100% { transform: translateY(-10vh) translateX(-20px) scale(0.8); opacity: 0; }
}

@keyframes drift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(77, 217, 232, 0.4);
    box-shadow: 0 0 6px rgba(77, 217, 232, 0.3);
}

.particle-bubble {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 -2px 4px rgba(255, 255, 255, 0.05);
}

/* ---- Water Ripple: subtle distortion ---- */
#water-ripple {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 4;
    pointer-events: none;
    opacity: 0.03;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(77, 217, 232, 0.15) 2px,
            rgba(77, 217, 232, 0.15) 4px
        );
    animation: ripple-shift 8s ease-in-out infinite;
}

@keyframes ripple-shift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ---- Depth Meter ---- */
#depth-meter {
    position: fixed;
    right: var(--space-6);
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0;
    transition: opacity 0.8s ease;
}

#depth-meter.visible {
    opacity: 1;
}

#depth-label {
    font-size: 0.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: var(--space-2);
}

#depth-bar {
    width: 2px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

#depth-fill {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 0%;
    background: var(--color-biolum);
    border-radius: var(--radius-full);
    transition: height 0.3s ease;
    box-shadow: 0 0 8px rgba(77, 217, 232, 0.4);
}

#depth-value {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-biolum);
    letter-spacing: 0.05em;
    margin-top: var(--space-2);
}

/* ---- Sound Toggle ---- */
#sound-toggle {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 15;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: none; /* Hidden until real audio source added */
    align-items: center;
    justify-content: center;
    opacity: 0;
}

#sound-toggle.visible {
    opacity: 1;
}

#sound-toggle:hover {
    border-color: var(--color-biolum);
    color: var(--color-biolum);
}

#sound-toggle.active {
    background: rgba(77, 217, 232, 0.1);
    border-color: var(--color-biolum);
    color: var(--color-biolum);
}

/* ---- Journey Milestones: text floating IN the scene ---- */
.journey-milestone {
    position: fixed;
    z-index: 10;
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease, filter 1.2s ease;
    pointer-events: none;
    /* Centered by default (mobile) */
    top: 50%;
    left: var(--space-6);
    right: var(--space-6);
    transform: translateY(-50%) translateY(30px);
    text-align: center;
}

.journey-milestone.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-50%);
    pointer-events: auto;
}

#jm-intro {
    /* Centered intro */
}

.journey-milestone h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-shadow: 0 4px 40px rgba(0,0,0,0.8);
}

.journey-milestone h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 40px rgba(0,0,0,0.8);
}

.journey-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-biolum);
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.journey-sub {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-4);
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.journey-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-8);
    justify-content: center;
    align-items: center;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-biolum);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-large {
    padding: 18px 44px;
    font-size: 0.9375rem;
}

.btn:focus-visible, a:focus-visible {
    outline: 2px solid var(--color-biolum);
    outline-offset: 4px;
}

/* ---- Underwater ambient for content sections ---- */
.content-section {
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(77, 217, 232, 0.02), transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(77, 217, 232, 0.015), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section-inner {
    position: relative;
    z-index: 1;
}

/* ---- Ocean ambient: subtle particles in content sections ---- */
.content-section .ambient-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(77, 217, 232, 0.15);
    pointer-events: none;
    z-index: 0;
    animation: content-drift 20s ease-in-out infinite;
}

@keyframes content-drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.25; }
    50% { transform: translate(-10px, -60px) scale(0.8); opacity: 0.1; }
    75% { transform: translate(15px, -20px) scale(1.1); opacity: 0.2; }
}

/* ---- Sonar ping on stats ---- */
.stat {
    position: relative;
}

.sonar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--color-biolum);
    opacity: 0;
    pointer-events: none;
}

@keyframes sonar-expand {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.sonar-ring.ping {
    animation: sonar-expand 1.5s ease-out forwards;
}

.sonar-ring.ping-delay {
    animation: sonar-expand 1.5s ease-out 0.3s forwards;
}

/* ---- Bioluminescent glow on FAQ hover ---- */
.faq-item {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow), border-color var(--transition-slow);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(77, 217, 232, 0.04), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.faq-item:hover {
    border-color: rgba(77, 217, 232, 0.15);
}

.faq-item:hover::before {
    left: 100%;
}

/* ---- Wavy section dividers ---- */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    z-index: 10;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
}

.wave-divider .wave-path {
    fill: none;
    stroke: rgba(77, 217, 232, 0.08);
    stroke-width: 1;
    animation: wave-flow 6s ease-in-out infinite;
}

@keyframes wave-flow {
    0%, 100% { d: path('M0,30 Q180,10 360,30 Q540,50 720,30 Q900,10 1080,30 Q1260,50 1440,30'); }
    50% { d: path('M0,30 Q180,50 360,30 Q540,10 720,30 Q900,50 1080,30 Q1260,10 1440,30'); }
}

/* ---- Caustic light on section headlines ---- */
.section-headline {
    position: relative;
}

.section-headline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(77, 217, 232, 0.06), transparent);
    animation: caustic-sweep 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes caustic-sweep {
    0%, 100% { left: -20%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

/* Word-by-word reveal animation */
.word-reveal {
    display: inline-block;
    opacity: 0;
    filter: blur(4px);
    transform: translateY(10px);
}

/* Stat counter glow pulse */
@keyframes stat-glow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 20px rgba(77, 217, 232, 0.3); }
}

.stat-number.counted {
    animation: stat-glow 2s ease-in-out;
}

/* Content Sections (original styles below) */
.content-section {
    position: relative;
    z-index: 10;
    background: var(--color-bg);
    padding: var(--space-24) 0;
}

.content-section.section-dark {
    background: var(--color-bg-elevated);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-biolum);
    margin-bottom: var(--space-6);
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: var(--space-20);
}

/* ---- Work Grid ---- */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.work-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-slow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
}

.work-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.work-card:hover .work-card-image img { transform: scale(1.05); }

.work-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-card);
}

.work-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.work-card-info { padding: var(--space-8); }

.work-card-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-biolum);
    margin-bottom: var(--space-3);
}

.work-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.work-card-desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

.work-card-quote {
    font-size: 0.8125rem;
    color: var(--color-biolum);
    font-style: italic;
    font-family: var(--font-display);
    margin-top: var(--space-3);
    line-height: 1.5;
    opacity: 0.8;
}

/* ---- Services ---- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.service-card {
    padding: var(--space-12);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.glow-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(77, 217, 232, 0.06), transparent 70%);
}

.service-card:hover .glow-overlay { opacity: 1; }

.service-number {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-biolum);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: var(--space-8);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    line-height: 1.25;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.service-line {
    margin-top: var(--space-8);
    height: 1px;
    background: linear-gradient(90deg, var(--color-biolum), transparent);
    opacity: 0.3;
}

/* ---- About ---- */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: start;
}

.about-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-8);
    font-weight: 300;
}

.about-lead em {
    color: var(--color-biolum);
    font-style: italic;
    font-family: var(--font-display);
}

.about-text p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.about-stats {
    display: flex;
    flex-direction: row;
    gap: var(--space-12);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-12);
}

.stat {
    opacity: 0;
    transform: translateY(20px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ---- FAQ ---- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.faq-item {
    padding: var(--space-8) var(--space-10);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: translateY(30px);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ---- CTA ---- */
.section-cta {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

#contact {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(77, 217, 232, 0.05), transparent 70%), var(--color-bg);
}

.section-cta .section-headline { margin-bottom: var(--space-8); }

.cta-subtext {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-guarantee {
    font-size: 0.875rem;
    color: var(--color-biolum);
    font-style: italic;
    font-family: var(--font-display);
    line-height: 1.7;
    margin-bottom: var(--space-12);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* cta-buttons removed — replaced by audit-form */
}

.last-updated {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
    margin-top: var(--space-12);
}

/* ---- Value Stack ---- */
.value-stack {
    max-width: 500px;
    margin: 0 auto var(--space-8);
    text-align: left;
}

.value-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
}

.value-item.bonus {
    border-bottom: none;
    padding-top: var(--space-4);
}

.value-check {
    color: var(--color-biolum);
    font-size: 1rem;
    margin-right: var(--space-3);
    flex-shrink: 0;
}

.value-item.bonus .value-check {
    color: var(--color-accent);
}

.value-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--color-text);
}

.value-price {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: var(--space-4);
    white-space: nowrap;
}

.value-total {
    text-align: center;
    padding: var(--space-6) 0 var(--space-4);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.pricing-anchor {
    font-size: 0.9375rem;
    color: var(--color-biolum);
    text-align: center;
    margin-bottom: var(--space-4);
    font-weight: 500;
}

/* ---- Inline Audit Form ---- */
.audit-form {
    max-width: 500px;
    margin: var(--space-8) auto 0;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.form-input {
    width: 100%;
    padding: 14px var(--space-5);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: border-color var(--transition-normal);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-biolum);
    box-shadow: 0 0 0 3px rgba(77, 217, 232, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-submit {
    width: 100%;
    font-size: 1rem;
    padding: 16px;
}

.cta-divider {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    margin: var(--space-6) 0;
    text-align: center;
}

/* ---- Skip Journey Button ---- */
.skip-journey {
    position: fixed;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: var(--space-2) var(--space-5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    background: rgba(5, 5, 16, 0.6);
    backdrop-filter: blur(8px);
    transition: all var(--transition-normal);
    opacity: 0;
}

.skip-journey.visible {
    opacity: 1;
}

.skip-journey:hover {
    color: var(--color-biolum);
    border-color: var(--color-biolum);
}

/* ---- Footer ---- */
footer {
    position: relative;
    z-index: 10;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-12) 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    text-align: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-8);
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover { color: var(--color-text); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
}

/* ---- Responsive: Tablet+ ---- */
@media (min-width: 769px) {
    .nav-inner { padding: var(--space-6) var(--space-12); }

    .nav-links {
        display: flex;
        gap: var(--space-10);
    }

    .nav-cta { display: inline-block; }
    .nav-hamburger { display: none; }

    #depth-meter { display: flex; }

    .journey-milestone {
        text-align: left;
        left: 80px;
        right: auto;
        max-width: 550px;
    }

    #jm-intro {
        text-align: center;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) translateY(30px);
        right: auto;
    }

    #jm-intro.active {
        transform: translateX(-50%) translateY(-50%);
    }

    .journey-sub {
        margin-left: 0;
        margin-right: 0;
    }

    #jm-intro .journey-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .journey-buttons {
        flex-direction: row;
        align-items: flex-start;
    }

    #jm-intro .journey-buttons {
        justify-content: center;
    }

    .section-inner { padding: 0 var(--space-12); }
    .content-section { padding: var(--space-32) 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    /* cta-buttons removed */
    .form-row { flex-direction: row; }
    .nav-cta { font-size: 0.8125rem; }
    .footer-inner { flex-direction: row; text-align: left; }
    .footer-left { flex-direction: row; gap: var(--space-6); }

    .cursor-dot, .cursor-ring { display: block; }

    .journey-buttons {
        flex-direction: row;
        gap: var(--space-4);
    }
}

/* ---- Desktop ---- */
@media (min-width: 1025px) {
    .work-grid { grid-template-columns: repeat(2, 1fr); }

    .about-content {
        grid-template-columns: 1.618fr 1fr;
        gap: var(--space-24);
    }

    .about-stats {
        flex-direction: column;
        border-left: 1px solid var(--color-border);
        padding-left: var(--space-12);
        border-top: none;
        padding-top: 0;
        gap: var(--space-16);
    }
}

/* ---- Mobile: hide cursor ---- */
.cursor-dot, .cursor-ring { display: none; }

/* ---- Accessibility ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
