/* ==========================================================
   FRED — Resume & Work With Me
   $100K Visual Standard | 2026 Spec
   ========================================================== */

:root {
    /* Surfaces — Warm Charcoal (OKLCH hue 60) */
    --bg-dark: oklch(10% 0.01 60);
    --bg-surface: oklch(14% 0.008 60);
    --bg-elevated: oklch(18% 0.006 60);

    /* Text — Warm tones */
    --text-pure: oklch(93% 0.01 80);
    --text-dim: oklch(55% 0.01 60);

    /* Brand — Amber Gold */
    --accent: oklch(72% 0.13 60);
    --accent-glow: oklch(72% 0.13 60 / 0.15);
    --success: oklch(70% 0.14 145);
    --success-glow: oklch(70% 0.14 145 / 0.15);

    /* Borders — Warm-tinted */
    --border-light: oklch(100% 0 80 / 0.05);
    --border-med: oklch(100% 0 80 / 0.10);

    /* Typography */
    --font-display: 'Bricolage Grotesque', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Shadows (5-layer physical drop shadow) */
    --shadow-physics: 
        0 1px 1px hsl(0deg 0% 0% / 0.3),
        0 2px 2px hsl(0deg 0% 0% / 0.3),
        0 4px 4px hsl(0deg 0% 0% / 0.3),
        0 8px 8px hsl(0deg 0% 0% / 0.3),
        0 16px 16px hsl(0deg 0% 0% / 0.3);
    
    --shadow-physics-hover: 
        0 2px 2px hsl(0deg 0% 0% / 0.4),
        0 4px 4px hsl(0deg 0% 0% / 0.4),
        0 8px 8px hsl(0deg 0% 0% / 0.4),
        0 16px 16px hsl(0deg 0% 0% / 0.5),
        0 32px 32px hsl(0deg 0% 0% / 0.6);

    /* Fluid Typography Variables */
    --fluid-min-width: 320;
    --fluid-max-width: 1920;
    --fluid-screen: 100vw;
    --fluid-bp: calc(
      (var(--fluid-screen) - var(--fluid-min-width) / 16 * 1rem)
      / (var(--fluid-max-width) - var(--fluid-min-width))
    );

    /* Spacing (8px base grid) */
    --space-2: 0.5rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-30: 7.5rem;
}

@media screen and (min-width: 1920px) {
    :root { --fluid-screen: calc(var(--fluid-max-width) * 1px); }
}

/* ==========================================================
   RESET & BASE
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(ellipse at 80% -20%, oklch(25% 0.04 60) 0%, var(--bg-dark) 60%);
    color: var(--text-pure);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Film Grain Overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}
@media (max-width: 768px) {
    .noise-overlay {
        opacity: 0.04;
    }
}

/* Utility classes */
.accent-text { 
    background: linear-gradient(135deg, oklch(78% 0.13 50) 0%, oklch(65% 0.14 65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.accent-label { color: var(--accent); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.font-sm { font-size: 0.8rem; }
.text-muted { color: var(--text-dim); }
.text-center { text-align: center; }
.icon-20 { width: 20px; height: 20px; }

/* Film Grain Overlay extracted to SVG element in DOM */

/* Titanium Letter Masking */
.titanium-text {
    background: linear-gradient(180deg, #FFFFFF 0%, #708090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
.mono-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    display: block;
}

.hero-body {
    font-size: clamp(1.1rem, 0.5rem + 1.2vw, 1.35rem);
    color: var(--text-dim);
    max-width: 55ch;
    line-height: 1.7;
    margin-bottom: var(--space-16);
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-6);
    display: block;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.top-nav {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(10, 10, 10, 0.6);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1.25rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-8);
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* brand-mark removed — wordmark is pure typography */

.brand h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    font-variation-settings: "wght" 700;
}

.brand-accent { color: var(--accent); }

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-top: 2px;
    letter-spacing: 0.01em;
}

.pulse-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
}

.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-btn:hover {
    color: var(--text-pure);
}

.nav-btn:hover::after {
    width: 100%;
}

.nav-btn--cta {
    color: var(--accent);
    font-weight: 600;
}

.nav-btn:active {
    transform: translateY(1px);
    background: rgba(226, 140, 110, 0.05);
}

/* H1 warm white (replaces titanium gradient) */
.massive-title .hero-line {
    color: var(--text-pure);
}

/* .proof-preview removed — component replaced by marquee testimonials */

/* ==========================================================
   LAYOUT
   ========================================================== */
.full-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-30) 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    width: 100%;
}

.dark-bg { background-color: var(--bg-surface); }

/* ==========================================================
   HERO — Split Screen 55/45
   ========================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-30) 0;
    position: relative;
    overflow: hidden;
}

/* SVG Film Grain Noise Overlay */
.noise-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.06;
    pointer-events: none;
}

/* CSS Constellation Canvas Background */
.constellation-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.hero-split {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 5rem;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
}

.massive-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 1.5rem + 4vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.08;
    margin-bottom: var(--space-8);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-line {
    display: block;
}

.hero-body {
    font-size: clamp(1.05rem, 0.5rem + 1vw, 1.25rem);
    color: var(--text-dim);
    max-width: 50ch;
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

/* Bento Stats — Inception Counter Pattern */
.bento-stats {
    display: flex;
    gap: 32px;
    margin-bottom: var(--space-10);
}

.stat-card {
    border-left: 2px solid var(--accent);
    padding-left: 16px;
    box-shadow: -4px 0 12px var(--accent-glow);
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1rem + 2vw, 2.2rem);
    color: var(--text-pure);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-num span {
    color: var(--accent);
    opacity: 0.8;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

/* Proof Bar — Stakeholder Oath Pull-Quote */
.proof-bar {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-8);
    border-left: 3px solid var(--accent);
    background: linear-gradient(135deg, oklch(14% 0.015 60 / 0.8) 0%, oklch(12% 0.01 60 / 0.6) 100%);
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 0 20px oklch(72% 0.13 60 / 0.03),
                0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.stakeholder-oath {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 0.5rem + 0.8vw, 1.1rem);
    font-style: italic;
    color: oklch(70% 0.015 60);
    line-height: 1.65;
    max-width: 55ch;
    letter-spacing: 0.005em;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proof-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.proof-dot--blue, .proof-dot--amber { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.proof-dot--green { background: var(--success); box-shadow: 0 0 8px var(--success-glow); }

.proof-divider {
    color: var(--border-med);
    font-size: 0.6rem;
}

/* ==========================================================
   HERO VISUAL COL — Animated Phone Stage
   ========================================================== */
.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

/* The phone-stage provides the 3D tilt container */
.phone-stage {
    transform: rotateY(-5deg) rotateX(2deg);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-stage:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

/* iPhone 15 Pro-accurate shell */
.phone-shell {
    position: relative;
    width: 290px;
    height: 590px;
    border-radius: 44px;
    background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 40%, #111 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.12),  /* inner rim */
        inset 0 0 0 9px #0a0a0a,                  /* bezel */
        0 40px 80px rgba(0,0,0,0.7),
        0 0 80px rgba(217, 119, 6, 0.12);          /* amber aura */
}

/* Titanium side-catch highlight */
.phone-shell::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 44px;
    background: linear-gradient(
        125deg,
        rgba(255,255,255,0.06) 0%,
        transparent 40%,
        rgba(255,255,255,0.02) 100%
    );
    pointer-events: none;
}

/* Dynamic Island */
.island {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

/* Screen area */
.phone-screen-inner {
    position: absolute;
    inset: 8px;
    border-radius: 36px;
    background: #000;
    overflow: hidden;
}

/* Ambient screen glow when active */
.phone-screen-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background: radial-gradient(ellipse at 50% 30%, rgba(217,119,6,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================
   BEAT 0 — Lock Screen
   ========================================================== */
.beat-0 {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 70px;
    background: radial-gradient(ellipse at 50% 0%, #1a1010 0%, #000 70%);
    z-index: 1;
    transition: opacity 0.8s ease;
}

.lockscreen-time {
    font-size: 64px;
    font-weight: 200;
    letter-spacing: -2px;
    color: rgba(255,255,255,0.92);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    line-height: 1;
}

.lockscreen-date {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    margin-top: 8px;
    font-weight: 400;
}

/* ==========================================================
   BEAT 1 & 2 — Notification Stack
   ========================================================== */
.notif-stack {
    position: absolute;
    top: 50px;
    left: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ios-notif {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(30, 30, 30, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.07);
    /* Initial state — invisible, translated up */
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
}

/* State revealed by JS */
.ios-notif.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.notif-app-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon-mail { background: linear-gradient(135deg, #e2720c, #f59e0b); }
.notif-icon-reply { background: linear-gradient(135deg, #22c55e, #16a34a); }

.notif-body { flex: 1; min-width: 0; }

.notif-app {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-family: -apple-system, 'SF Pro Display', sans-serif;
}

.notif-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-msg {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-time {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    flex-shrink: 0;
    padding-top: 1px;
}

/* ==========================================================
   BEAT 3 — Calendar Confirmation (the outcome)
   ========================================================== */
.cal-confirmation {
    position: absolute;
    bottom: 24px;
    left: 10px;
    right: 10px;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 20px;
    padding: 16px;
    border: 1px solid rgba(52, 199, 89, 0.25);
    box-shadow:
        0 0 0 1px rgba(52, 199, 89, 0.1),
        0 8px 32px rgba(0,0,0,0.5);
    z-index: 10;
    /* Initial state */
    opacity: 0;
    transform: translateY(20px) scale(0.96);
}

/* State revealed by JS */
.cal-confirmation.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cal-conf-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cal-conf-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #e2720c, #f59e0b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-conf-header span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cal-conf-dot-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.cal-conf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34C759;
    box-shadow: 0 0 8px rgba(52, 199, 89, 0.7);
    flex-shrink: 0;
}

.cal-conf-label {
    font-size: 12px;
    color: #34C759;
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.cal-conf-event {
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 10px 12px;
    border-left: 3px solid var(--accent);
}

.cal-conf-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    margin-bottom: 3px;
}

.cal-conf-time {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    margin-bottom: 6px;
}

.cal-conf-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #34C759;
    font-family: -apple-system, 'SF Pro Display', sans-serif;
}

/* ==========================================================
   SECTION HEADERS
   ========================================================== */
.section-header { margin-bottom: var(--space-16); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* ==========================================================
   ACCORDION (Pipeline)
   ========================================================== */
.accordion-wrapper { border-top: 1px solid var(--border-med); }
.accordion-item { border-bottom: 1px solid var(--border-med); overflow: hidden; }

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    padding: var(--space-8) 0;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-header:hover { background: var(--bg-surface); }

.step-num {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-dim);
    margin-right: var(--space-8);
    min-width: 3rem;
}

.accordion-header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 2rem);
    letter-spacing: -0.02em;
    flex-grow: 1;
}

.role-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: var(--bg-elevated);
    padding: 0.4rem 1rem;
    border-radius: 2px;
    margin-right: var(--space-8);
    color: var(--text-dim);
    border: 1px solid var(--border-light);
}

.chevron {
    width: 24px; height: 24px;
    color: var(--text-dim);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content { height: 0; opacity: 0; overflow: hidden; }

.content-inner {
    padding: 0 0 var(--space-12) 3.5rem;
    color: var(--text-dim);
    font-size: 1.125rem;
}

/* Expanded State */
.accordion-item.active .chevron { transform: rotate(180deg); color: var(--text-pure); }
.accordion-item.active .accordion-header h3 { color: var(--accent); }

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.data-terminal {
    background: linear-gradient(180deg, oklch(16% 0.01 60) 0%, oklch(12% 0.01 60) 100%);
    padding: var(--space-6);
    border-radius: 6px;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--accent);
    margin-top: var(--space-8);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-pure);
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.abstract-render {
    width: 100%;
    border-radius: 2px;
    border: 1px solid var(--border-med);
    object-fit: cover;
    aspect-ratio: 16/9;
    opacity: 0.85;
    mix-blend-mode: screen;
    filter: grayscale(30%) contrast(120%);
    display: block;
}

/* HUD Wrapper */
.hud-wrapper { position: relative; display: inline-block; width: 100%; }
.hud-wrapper::before, .hud-wrapper::after {
    content: ''; position: absolute; width: 16px; height: 16px;
    border: 2px solid var(--border-light); z-index: 10;
    transition: border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hud-wrapper::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hud-wrapper::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.accordion-item:hover .hud-wrapper::before,
.accordion-item:hover .hud-wrapper::after { border-color: var(--accent); }

.hud-status {
    position: absolute; bottom: 8px; left: 8px;
    font-family: var(--font-mono); font-size: 0.65rem;
    color: var(--text-dim); background: #000;
    padding: 2px 6px; z-index: 10;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
}

/* Highlight end step */
.highlight-item { border-bottom: 1px solid rgba(226, 140, 110, 0.3); }
.highlight-text { color: var(--text-pure); font-size: 1.5rem; }

/* ==========================================================
   METRICS / LIVE RESULTS
   ========================================================== */
.metrics-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-med);
    border: 1px solid var(--border-med);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--space-16);
}

.metric-card {
    background: var(--bg-dark);
    padding: var(--space-16) var(--space-12);
    position: relative;
    text-align: center;
}

.metric-big {
    font-family: var(--font-display);
    font-size: clamp(3rem, 2rem + 3vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-pure);
    margin-bottom: var(--space-4);
}

.metric-big .accent { color: var(--accent); }
.metric-big .success { color: var(--success); }

.metric-card p {
    color: var(--text-dim);
    font-size: 1.125rem;
    max-width: 30ch;
    margin: 0 auto;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-4);
    display: block;
}

/* ==========================================================
   TESTIMONIAL MARQUEE (Conveyor Belt)
   ========================================================== */
.testimonials-section {
    padding: var(--space-30) 0;
    overflow: hidden;
    background: var(--bg-dark);
}

.testimonials-section .section-header {
    max-width: 1200px;
    margin: 0 auto var(--space-16);
    padding: 0 var(--space-8);
}

.marquee {
    --gap: 1.5rem;
    display: flex;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    gap: var(--gap);
    margin-bottom: var(--gap);
}

.marquee__inner {
    display: flex;
    gap: var(--gap);
    flex-shrink: 0;
    animation: marquee-scroll 40s linear infinite;
    align-items: center;
}

.marquee--reverse .marquee__inner {
    animation-direction: reverse;
}

.marquee:hover .marquee__inner {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - var(--gap))); }
}

/* .testimonial-card removed — replaced by .ss-card variants */

/* Scrapbook Base */
.ss-card {
    flex-shrink: 0;
    width: 320px;
    padding: var(--space-4);
    position: relative;
    box-shadow: var(--shadow-physics);
    border-radius: 12px;
}

/* Blur Redaction */
.redacted-blur {
    color: transparent;
    text-shadow: 0 0 8px rgba(100, 100, 100, 0.5);
    background: rgba(100, 100, 100, 0.1);
    border-radius: 4px;
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
}

/* Messy Rotations */
.marquee__inner > :nth-child(3n) { transform: rotate(1.5deg); }
.marquee__inner > :nth-child(3n+1) { transform: rotate(-1.5deg); }
.marquee__inner > :nth-child(3n+2) { transform: rotate(0.5deg); }

/* Variant 1: iMessage */
.ss-imessage {
    background: transparent;
    box-shadow: none; 
    width: 300px;
    padding: 0;
}
.imessage-bubble {
    background: #E5E5EA; /* iOS Gray */
    color: #000;
    padding: 12px 16px;
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
}
.imessage-meta {
    text-align: center;
    font-family: -apple-system, sans-serif;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 8px;
    font-weight: 500;
}
.imessage-sender {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 12px;
}
.imessage-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: #999; color: white; display: flex; align-items: center; justify-content: center;
    font-family: -apple-system, sans-serif; font-size: 1.2rem; margin-bottom: 4px;
}

/* Variant 2: Dirty Email */
.ss-email {
    background: #FFF;
    color: #222;
    border-radius: 0; 
    border: 1px solid #CCC;
    font-family: Arial, sans-serif;
    overflow: hidden;
    padding: 16px;
}
.ss-email-meta {
    border-bottom: 1px solid #EEE;
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}
.ss-email-body {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Variant 3: LinkedIn DM */
.ss-linkedin {
    background: #FFF;
    color: #000;
    font-family: -apple-system, sans-serif;
    border-radius: 8px;
    border: 1px solid #EBEBEB;
    padding: 16px;
}
.li-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.li-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: #F3F2EF; flex-shrink:0;
}
.li-badge {
    color: #666666; font-size: 0.75rem; margin-left: 4px; border: 1px solid #666; padding: 1px 4px; border-radius: 4px;
}
.li-bubble {
    background: #F3F2EF;
    padding: 12px;
    border-radius: 0 8px 8px 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Variant 4: WhatsApp */
.ss-whatsapp {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.wa-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
    background: #075E54; color: white; padding: 8px 12px; border-radius: 8px 8px 0 0;
    font-family: Helvetica, Arial, sans-serif; font-size: 0.85rem;
}
.wa-avatar { width: 32px; height: 32px; border-radius: 50%; background: #FFF; opacity: 0.3; }
.wa-bubble {
    background: #DCF8C6; /* Classic WA green */
    color: #303030;
    padding: 8px 12px;
    border-radius: 0 8px 8px 8px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15);
}
.wa-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: #99A1A4;
    margin-top: 4px;
}

/* ==========================================================
   VSL SECTION (The Bridge)
   ========================================================== */
.vsl-section {
    padding: var(--space-24) 0 var(--space-16);
    position: relative;
    background: var(--bg-dark);
}

.vsl-container {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.vsl-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-12);
}

.vsl-header .mono-label {
    margin-bottom: var(--space-4);
    color: oklch(72% 0.13 60); /* Amber emphasis */
}

.vsl-header .section-title {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.vsl-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                0 0 40px oklch(72% 0.13 60 / 0.12); /* Amber glow */
    border: 1px solid var(--border-light);
    transform: translateZ(0); /* Hardware accel for composite layer */
}

.vsl-player-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ==========================================================
   CTA SECTION
   ========================================================== */
.cta-section {
    padding: var(--space-20) 0 var(--space-30);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 600px;
    background: radial-gradient(circle, rgba(226, 140, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating Dashboard Visual */
.cta-visual {
    max-width: 800px;
    margin: 0 auto var(--space-12);
    perspective: 1200px;
}

.cta-dashboard-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-med);
    transform: rotateX(4deg) scale(0.98);
    box-shadow: var(--shadow-physics);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-dashboard-img:hover {
    transform: rotateX(0deg) scale(1);
    box-shadow: var(--shadow-physics-hover);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.cta-sub {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 50ch;
    margin: 0 auto var(--space-12);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    min-height: 56px;
    min-width: 200px;
    padding: 0 var(--space-12);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    font-variation-settings: "wght" 650;
    color: var(--bg-dark);
    background: linear-gradient(135deg, oklch(78% 0.13 50) 0%, oklch(65% 0.14 65) 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 8px 30px rgba(226, 140, 110, 0.3);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: scale(0.98);
}

.cta-reassurance {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: var(--space-6);
    letter-spacing: 0.05em;
}

/* Lead Capture Form */
.lead-form {
    max-width: 720px;
    margin: 0 auto var(--space-6);
}

.form-row {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
    text-align: left;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 2px;
}

.form-input {
    width: 100%;
    min-height: 52px;
    padding: 0 var(--space-6);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: oklch(0.16 0.008 60);
    border: 1px solid var(--border-med);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input::placeholder {
    color: var(--text-dim);
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px oklch(0.72 0.13 60 / 0.15);
}

.cta-alt {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-top: var(--space-4);
}

.cta-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cta-link:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* Responsive: stack form on mobile */
@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
    }
}

/* ==========================================================
   MOBILE HAMBURGER MENU
   ========================================================== */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-pure);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

/* Active state — X morphing */
.mobile-menu-btn.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-light);
        flex-direction: column;
        padding: var(--space-6) var(--space-8);
        gap: 0;
        display: none;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links .nav-btn {
        display: block;
        width: 100%;
        text-align: left;
        padding: var(--space-4) 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links li:last-child .nav-btn {
        border-bottom: none;
    }
}

/* .about-section removed — About Fred section cut from current scope */

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    padding: var(--space-16) 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: var(--space-8); }
    .hero-visual-col { justify-content: center; transform: none; }
    .hero-phone-img { max-width: 340px; transform: none; }
    .phone-glow-wrapper::before { filter: blur(40px); }
    .split-content { grid-template-columns: 1fr; gap: var(--space-8); }
    .metrics-flex { grid-template-columns: 1fr; }
    .testimonial-card { width: 320px; }
    .bento-stats { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 768px) {
    .hero-split { padding-top: 4rem; }
    .proof-bar { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
    .proof-divider { display: none; }
    .metrics-flex { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .accordion-header h3 { font-size: 1.25rem; }
    .role-tag { display: none; }
    .content-inner { padding-left: var(--space-8); }
    .testimonial-card { width: 280px; }
    .brand-mark { display: none; }
    .bento-stats { gap: 16px; }
    .stat-num { font-size: 1.6rem; }
    .hero-phone-img { max-width: 280px; }
    .phone-glow-wrapper::before { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .marquee__inner { animation: none; }
    .pulse-dot { animation: none; }
}


/* ==========================================================
   PRODUCTION ACCESSIBILITY & MOTION (2026 SPEC)
   ========================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--accent);
    color: #000;
    padding: 12px 24px;
    z-index: 9999;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.skip-link:focus {
    top: 20px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee__inner {
        animation: none !important;
    }
}
