/* ============================================
   FEATURES-B PAGE - Custom Styles
   Dark theme with routing cards
   ============================================ */

/* Dark theme color overrides */
:root {
    --surface-foreground: hsl(257, 24%, 6%);
    --surface-background: hsl(256, 25%, 12%);
    --surface-variant: hsl(259, 21%, 15%);
    --surface-border: hsl(251, 16%, 20%);
    --text-inverse: hsl(0, 0%, 100%);
    --text-secondary: hsl(253, 10%, 74%);
    --text-tertiary: hsl(248, 6%, 50%);

    /* Additional spacing */
    --space-xxxl: 64px;

    /* Additional colors */
    --tertiary-gold-light: var(--tertiary-200); /* hsl(46, 97%, 65%) */
    --primary-soft: hsl(255, 92%, 76%);
}

/* Page-specific overrides using design system tokens */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    background: var(--surface-foreground);
    color: var(--text-inverse);
    line-height: 1.6;
    overflow-x: hidden;
    /* padding-top handled by header.js component */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-l);
}

/* Navigation - now handled by centralized header component */

/* =========================================
   HERO - RADIAL GRADIENT BACKGROUND
   ========================================= */

.hero {
    padding: calc(var(--space-section) * 2) var(--space-l) var(--space-section);
    background: var(--bg-primary);
    background-image: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Radial glow effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(
        ellipse at center top,
        hsl(275, 86%, 36%, 0.4) 0%,
        hsl(275, 86%, 36%, 0.15) 35%,
        hsl(258, 33%, 6%, 0) 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* Ensure content sits above gradient */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: hsl(262, 83%, 58%, 0.15);
    border: 1px solid hsl(262, 83%, 58%, 0.3);
    color: var(--primary-soft);
    font-size: 13px;
    font-weight: var(--weight-semibold);
    padding: var(--space-xs) var(--space-m);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-l);
    animation: fadeInDown 0.6s ease;
}

.eyebrow-icon {
    font-size: 14px;
}

.hero-headline {
    font-size: clamp(40px, 6vw, 56px);
    font-weight: var(--weight-black);
    line-height: var(--line-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-l);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-headline span {
    background: linear-gradient(135deg, var(--tertiary-400) 0%, var(--tertiary-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subhead {
    font-size: var(--type-body-lg);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto var(--space-xxl);
    line-height: var(--line-relaxed);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: var(--space-xxxl);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 42px;
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    background: linear-gradient(135deg, var(--tertiary-400) 0%, var(--tertiary-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: var(--space-xxs);
    font-weight: var(--weight-medium);
}

/* Hero Stat - Gold Glow Treatment */
.hero-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-xl) 0;
}

.hero-stat-value {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 900;
    color: hsl(51, 100%, 50%);
    text-shadow:
        0 0 20px hsl(51, 100%, 50%, 0.6),
        0 0 40px hsl(51, 100%, 50%, 0.4),
        0 0 60px hsl(51, 100%, 50%, 0.2);
}

.hero-stat-label {
    font-size: var(--text-base);
    color: var(--text-secondary);
    text-align: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    background: linear-gradient(135deg, var(--tertiary-400) 0%, var(--tertiary-gold-light) 100%);
    color: var(--surface-foreground);
    padding: var(--space-m) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: var(--type-body-lg);
    font-weight: var(--weight-bold);
    text-decoration: none;
    transition: all var(--timing-slow) var(--ease-default);
    box-shadow: 0 0 30px hsl(40, 90%, 60%, 0.3);
    margin-top: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px hsl(40, 90%, 60%, 0.4);
}

/* Routing Section */
.routing {
    padding: var(--space-section) var(--space-l);
    background: var(--surface-variant);
    position: relative;
}

.routing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--surface-border), transparent);
}

.routing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xxxl);
    font-size: clamp(32px, 4vw, 40px);
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
}

.routing-grid-primary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l);
    margin-bottom: var(--space-l);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.routing-grid-primary .routing-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =========================================
   ROUTING CARDS - HOVER STATES
   ========================================= */

.routing-card {
    background: var(--surface-background);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border: 1px solid hsl(271, 91%, 65%, 0.3);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Background image zoom */
.routing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 0;
}

.routing-card:hover {
    transform: translateY(-4px);
    border-color: hsl(51, 100%, 50%, 0.6);
    box-shadow:
        0 8px 24px hsl(0, 0%, 0%, 0.3),
        0 0 20px hsl(51, 100%, 50%, 0.15);
}

.routing-card:hover::before {
    transform: scale(1.05);
}

.routing-card-icon {
    font-size: 44px;
    margin-bottom: var(--space-m);
    display: block;
}

/* Card content stays above background */
.routing-card-title,
.routing-card-desc,
.routing-card-link {
    position: relative;
    z-index: 1;
}

.routing-card-title {
    font-size: 22px;
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-s);
    letter-spacing: -0.01em;
}

.routing-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: var(--line-normal);
    margin-bottom: var(--space-l);
}

/* Arrow slide on hover */
.routing-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-soft);
    font-size: 15px;
    font-weight: var(--weight-semibold);
    transition: gap 0.3s ease;
}

.routing-card-link::after {
    content: '';
    display: inline-block;
    width: 0;
    transition: width 0.3s ease;
}

.routing-card:hover .routing-card-link::after {
    width: 6px;
}

/* Text color changes on hover for better visibility against lighter background */
.routing-card:hover .routing-card-title {
    color: hsl(0, 0%, 100%);
}

.routing-card:hover .routing-card-desc {
    color: hsl(0, 0%, 100%, 0.9);
}

.routing-card:hover .routing-card-link {
    color: var(--tertiary-gold-light);
}

/* Martial Arts Card with background image */
.routing-card-martial-arts {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/3001fd25-70c7-45a2-9739-7d446b05d24a/martialartsschoolkidsclasskickdemonstration.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-martial-arts:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/3001fd25-70c7-45a2-9739-7d446b05d24a/martialartsschoolkidsclasskickdemonstration.png');
}

/* BJJ Card with background image */
.routing-card-bjj {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/dbe25a12-72fa-45cf-bb66-61858ad666fe/brazilianjiujitsuacademytrainingclass.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-bjj:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/dbe25a12-72fa-45cf-bb66-61858ad666fe/brazilianjiujitsuacademytrainingclass.png');
}

/* Kickboxing & Muay Thai Card with background image */
.routing-card-kickboxing {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/bb9455b3-a683-48e6-a5df-a9b6f14060f9/kickboxingmuaythaigymtrainingsession.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-kickboxing:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/bb9455b3-a683-48e6-a5df-a9b6f14060f9/kickboxingmuaythaigymtrainingsession.png');
}

/* Boxing Gym Card with background image */
.routing-card-boxing {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/9338962e-3ba0-4ae9-838d-d47f088b9ff5/boxinggymtrainingsession.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-boxing:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/9338962e-3ba0-4ae9-838d-d47f088b9ff5/boxinggymtrainingsession.png');
}

/* CrossFit Box Card with background image */
.routing-card-crossfit {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/d8c64fe6-9c77-4c20-92ca-c009210faf59/crossfitboxtrainingsession.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-crossfit:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/d8c64fe6-9c77-4c20-92ca-c009210faf59/crossfitboxtrainingsession.png');
}

/* Self-Defense Card with background image */
.routing-card-self-defense {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/5b523281-28db-4775-a3fe-2863d909a1fc/kravmagaselfdefensetraining.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-self-defense:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/5b523281-28db-4775-a3fe-2863d909a1fc/kravmagaselfdefensetraining.png');
}

/* Personal Trainers Card with background image */
.routing-card-personal-trainers {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/02b2323d-70c9-4f82-a4b5-f480ea9b745e/personaltrainingsession.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-personal-trainers:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/02b2323d-70c9-4f82-a4b5-f480ea9b745e/personaltrainingsession.png');
}

/* Fitness Bootcamps Card with background image */
.routing-card-fitness-bootcamps {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.85), hsl(256, 25%, 12%, 0.95)),
        url('https://ucarecdn.com/d14d90ab-8d8f-42d1-8012-a585debe6037/fitnessbootcampclasstraining.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.routing-card-fitness-bootcamps:hover {
    background-image:
        linear-gradient(to bottom, hsl(256, 25%, 12%, 0.35), hsl(256, 25%, 12%, 0.50)),
        url('https://ucarecdn.com/d14d90ab-8d8f-42d1-8012-a585debe6037/fitnessbootcampclasstraining.png');
}

.routing-grid-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-m);
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================================
   SECONDARY ROUTING CARDS
   ========================================= */

.routing-card.secondary {
    padding: var(--space-l);
    text-align: center;
    border: 1px solid hsl(271, 91%, 65%, 0.2);
}

.routing-card.secondary:hover {
    transform: translateY(-3px);
    border-color: hsl(51, 100%, 50%, 0.5);
    box-shadow:
        0 6px 16px hsl(0, 0%, 0%, 0.25),
        0 0 15px hsl(51, 100%, 50%, 0.1);
}

.routing-card.secondary .routing-card-icon {
    font-size: 32px;
    margin-bottom: var(--space-s);
}

.routing-card.secondary .routing-card-title {
    font-size: 15px;
    margin-bottom: var(--space-s);
}

.routing-card.secondary .routing-card-link {
    font-size: 13px;
    justify-content: center;
}

/* ==========================================================================
   TWO JOBS SECTION — Typography as Design

   The manifesto moment. No decoration needed.
   The restraint is the design.
   ========================================================================== */

.overview {
    padding: 6rem 0 7rem;
    /* Subtle background differentiation */
    background: linear-gradient(180deg,
        hsl(0, 0%, 0%, 0) 0%,
        hsl(0, 0%, 0%, 0.15) 50%,
        hsl(0, 0%, 0%, 0) 100%
    );
}

.two-jobs {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* "We do two things." — Small, quiet setup */
.two-jobs-intro {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(0, 0%, 100%, 0.5);
    margin-bottom: 2.5rem;
}

/* The two statements — Big, confident, poster-scale */
.two-jobs-statement {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: hsl(0, 0%, 100%);
    margin: 0 0 1rem 0;
}

.two-jobs-statement:last-of-type {
    margin-bottom: 0;
}

/* "That's it. That's the job." — Handwritten aside */
.two-jobs-close {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: normal;
    font-weight: 500;
    color: hsl(0, 0%, 100%, 0.7);
    margin-top: 3rem;
}

/* Differentiator Section */
.diff {
    padding: var(--space-section) var(--space-l);
    background: var(--surface-variant);
    position: relative;
}

.diff::before,
.diff::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--surface-border), transparent);
}

.diff::before { top: 0; }
.diff::after { bottom: 0; }

.diff-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.diff-content h2 {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-m);
}

.diff-content > p {
    font-size: var(--type-body-lg);
    color: var(--text-secondary);
    line-height: var(--line-relaxed);
    margin-bottom: var(--space-xxl);
}

.diff-quote {
    background: var(--surface-background);
    border-left: 4px solid var(--tertiary-400);
    padding: var(--space-xl) var(--space-xxl);
    text-align: left;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    position: relative;
}

.diff-quote::before {
    content: '"';
    position: absolute;
    top: var(--space-m);
    left: var(--space-l);
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--tertiary-400);
    opacity: 0.2;
    line-height: 1;
}

.diff-quote blockquote {
    font-size: 20px;
    font-weight: var(--weight-medium);
    line-height: var(--line-normal);
    margin-bottom: var(--space-m);
    position: relative;
    font-family: Georgia, serif;
}

.diff-quote cite {
    font-size: 15px;
    color: var(--text-tertiary);
    font-style: normal;
    font-weight: var(--weight-medium);
}

/* Proof Section */
.proof {
    padding: var(--space-section) var(--space-l);
    background: var(--surface-foreground);
}

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

.proof-header .eyebrow {
    background: hsl(160, 84%, 39%, 0.1);
    border-color: hsl(160, 84%, 39%, 0.3);
    color: var(--success-primary);
}

.proof-header h2 {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
}

.proof-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===========================================
   FEATURED TESTIMONIAL — 50/50 PORTRAIT LAYOUT
   =========================================== */

.testimonial-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: hsl(0, 0%, 100%, 0.03);
    border: 1px solid hsl(0, 0%, 100%, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 500px;
    margin-bottom: var(--space-l);
}

.testimonial-featured .testimonial-photo {
    position: relative;
    overflow: hidden;
    background: hsl(0, 0%, 0%);
    width: 100%;
    height: 100%;
}

.testimonial-featured .testimonial-photo img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin-top: -10%;
}

.testimonial-featured .testimonial-content {
    padding: var(--space-xxl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-l);
}

/* Testimonial Grid Photos - Standard Size */
.testimonial-photo {
    width: 140px;
    height: 140px;
    background: var(--surface-variant);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 12px;
    border: 2px solid var(--surface-border);
    overflow: hidden;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================================
   WATSON TREATMENT: Iconic Image Quality
   =========================================== */

/* Brian Portrait - Sculptural Lighting */
.testimonial-featured .testimonial-photo {
    position: relative;
    overflow: hidden;
}

.testimonial-featured .testimonial-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        hsl(51, 100%, 50%, 0.03) 0%,
        transparent 30%,
        transparent 50%,
        hsl(0, 0%, 0%, 0.5) 100%
    );
    pointer-events: none;
}

/* Routing Cards - Cinematic Vignette */
.routing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 80% 80% at 50% 40%,
            transparent 0%,
            transparent 25%,
            hsl(258, 33%, 6%, 0.6) 70%,
            hsl(258, 33%, 6%, 0.85) 100%
        );
    pointer-events: none;
    z-index: 1;
}

.routing-card .routing-card-title,
.routing-card .routing-card-desc,
.routing-card .routing-card-link {
    position: relative;
    z-index: 2;
}

.routing-card::before {
    filter: contrast(1.15) brightness(0.85);
}

/* Testimonial Grid Photos - Subtle Sculpt */
.testimonial-card .testimonial-photo {
    position: relative;
    overflow: hidden;
}

.testimonial-card .testimonial-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        hsl(51, 100%, 50%, 0.02) 0%,
        transparent 35%,
        hsl(0, 0%, 0%, 0.4) 100%
    );
    pointer-events: none;
}

.testimonial-content blockquote {
    font-size: 20px;
    line-height: var(--line-normal);
    margin-bottom: var(--space-l);
    font-weight: var(--weight-medium);
    font-family: Georgia, serif;
}

.testimonial-meta {
    margin-top: var(--space-m);
}

.testimonial-author {
    font-family: 'Caveat', cursive;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-inverse);
}

.testimonial-business {
    font-size: 0.875rem;
    color: hsl(0, 0%, 100%, 0.5);
}

/* =========================================
   TESTIMONIAL RESULTS - BADGE STYLING
   ========================================= */

.testimonial-result {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-m) var(--space-l);
    background: hsl(258, 33%, 6%, 0.8);
    border: 1px solid hsl(51, 100%, 50%, 0.5);
    border-radius: 8px;
    box-shadow:
        0 0 20px hsl(51, 100%, 50%, 0.15),
        inset 0 0 12px hsl(51, 100%, 50%, 0.05);
}

.testimonial-result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: hsl(0, 0%, 100%);
    letter-spacing: -0.02em;
}

.testimonial-result-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: var(--space-2xs);
}

/* =========================================
   TESTIMONIAL STORY FORMAT - FITZLOFF EMOTIONAL TURN
   ========================================= */

.testimonial-story {
    margin-bottom: 0;
}

.story-setup {
    font-size: var(--type-body-lg);
    color: hsl(0, 0%, 100%, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-m);
}

.story-beats {
    margin-bottom: var(--space-m);
    padding-left: var(--space-m);
    border-left: 2px solid hsl(51, 100%, 50%, 0.3);
}

.story-beat {
    font-size: var(--type-body-md);
    color: hsl(0, 0%, 100%, 0.7);
    margin-bottom: var(--space-s);
    line-height: 1.5;
}

.beat-day {
    color: var(--tertiary-400);
    font-weight: 600;
}

.story-result {
    font-size: var(--type-body-lg);
    color: var(--text-inverse);
    margin-bottom: 0;
}

.story-result .result-value {
    color: var(--tertiary-400);
    font-size: var(--type-body-xl);
    font-weight: 700;
}

.story-reflection {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-style: italic;
    color: hsl(0, 0%, 100%, 0.8);
    margin: 0;
    padding-top: var(--space-s);
    border: none;
}

.story-reflection::before {
    content: none;
}

/* ===========================================
   TESTIMONIAL CARDS — LARGER PORTRAIT LAYOUT
   =========================================== */

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

.testimonial-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: hsl(0, 0%, 100%, 0.03);
    border: 1px solid hsl(0, 0%, 100%, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 280px;
}

.testimonial-card .testimonial-photo {
    position: relative;
    overflow: hidden;
    background: hsl(0, 0%, 0%);
    width: 100%;
    height: 100%;
}

.testimonial-card .testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.testimonial-card .testimonial-card-content {
    padding: var(--space-l);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card blockquote {
    font-size: var(--type-body-md);
    line-height: 1.6;
    color: hsl(0, 0%, 100%, 0.8);
    margin: 0 0 var(--space-m) 0;
    padding: 0;
    border: none;
    font-style: italic;
    font-family: Georgia, serif;
}

.testimonial-card .testimonial-author {
    font-family: 'Caveat', cursive;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-inverse);
}

.testimonial-card .testimonial-business {
    font-size: 0.875rem;
    color: hsl(0, 0%, 100%, 0.5);
    margin-bottom: var(--space-m);
}

.testimonial-card .testimonial-result {
    display: inline-flex;
    flex-direction: column;
    background: hsl(0, 0%, 0%, 0.3);
    padding: var(--space-s) var(--space-m);
    border-radius: var(--radius-md);
    width: fit-content;
}

.testimonial-card .testimonial-result-value {
    font-size: var(--type-body-xl);
    font-weight: 700;
    color: var(--text-inverse);
}

.testimonial-card .testimonial-result-label {
    font-size: 0.75rem;
    color: hsl(0, 0%, 100%, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proof-link {
    text-align: center;
    margin-top: var(--space-xxl);
}

.proof-link a {
    color: var(--primary-soft);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap var(--timing-base) var(--ease-default);
}

.proof-link a:hover {
    gap: var(--space-s);
}

/* Final CTA Section */
.cta {
    padding: var(--space-section) var(--space-l);
    background:
        radial-gradient(ellipse 60% 40% at 50% 100%, hsl(262, 83%, 58%, 0.15), transparent),
        linear-gradient(180deg, var(--surface-variant) 0%, var(--surface-foreground) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-s);
}

.cta-content > p {
    font-size: var(--type-body-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-routing {
    display: flex;
    justify-content: center;
    gap: var(--space-s);
    flex-wrap: wrap;
    margin-bottom: var(--space-xxl);
}

.cta-routing-btn {
    background: var(--surface-background);
    border: 1px solid var(--surface-border);
    padding: var(--space-s) var(--space-l);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: var(--weight-semibold);
    color: var(--text-inverse);
    cursor: pointer;
    transition: all var(--timing-base) var(--ease-default);
    font-family: inherit;
}

.cta-routing-btn:hover {
    border-color: var(--primary-600);
    background: var(--surface-variant);
    transform: translateY(-1px);
}

.cta-routing-btn:active {
    transform: translateY(0);
    background: var(--surface-background);
}

.cta-routing-btn:focus {
    outline: 2px solid var(--primary-600);
    outline-offset: 2px;
}

.cta-divider {
    display: flex;
    align-items: center;
    gap: var(--space-l);
    margin-bottom: var(--space-xxl);
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-divider::before,
.cta-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--surface-border);
}

.cta-alt h3 {
    font-size: 26px;
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-s);
}

.cta-alt p {
    font-size: var(--type-body-md);
    color: var(--text-secondary);
    margin-bottom: var(--space-l);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    background: linear-gradient(135deg, var(--tertiary-400) 0%, var(--tertiary-gold-light) 100%);
    color: var(--surface-foreground);
    padding: var(--space-m) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: var(--type-body-lg);
    font-weight: var(--weight-bold);
    text-decoration: none;
    transition: all var(--timing-slow) var(--ease-default);
    box-shadow: 0 0 30px hsl(40, 90%, 60%, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px hsl(40, 90%, 60%, 0.3);
}

/* =========================================
   SECTION DIVIDERS
   ========================================= */

.zivvy-divider {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 100;
}

/* Diamond Divider */
.divider-diamond {
    height: 60px;
    margin-top: -30px;
    margin-bottom: -30px;
}

.divider-diamond .diamond-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        hsl(271, 91%, 65%, 0.4) 30%,
        hsl(271, 91%, 65%, 0.4) 70%,
        transparent 100%
    );
}

.divider-diamond .diamond {
    position: relative;
    width: 12px;
    height: 12px;
    background: hsl(51, 100%, 50%);
    transform: rotate(45deg);
    box-shadow:
        0 0 10px hsl(51, 100%, 50%, 0.6),
        0 0 20px hsl(51, 100%, 50%, 0.3);
}

/* Spark Divider */
.divider-spark {
    height: 100px;
    margin-top: -60px;
    margin-bottom: -40px;
}

.divider-spark .spark-container {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-spark .spark-ray {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(
        to top,
        hsl(51, 100%, 50%, 0.8),
        transparent
    );
    transform-origin: center bottom;
}

.divider-spark .spark-ray:nth-child(1) { transform: rotate(0deg) translateY(-15px); }
.divider-spark .spark-ray:nth-child(2) { transform: rotate(45deg) translateY(-15px); }
.divider-spark .spark-ray:nth-child(3) { transform: rotate(90deg) translateY(-15px); }
.divider-spark .spark-ray:nth-child(4) { transform: rotate(135deg) translateY(-15px); }
.divider-spark .spark-ray:nth-child(5) { transform: rotate(180deg) translateY(-15px); }
.divider-spark .spark-ray:nth-child(6) { transform: rotate(225deg) translateY(-15px); }
.divider-spark .spark-ray:nth-child(7) { transform: rotate(270deg) translateY(-15px); }
.divider-spark .spark-ray:nth-child(8) { transform: rotate(315deg) translateY(-15px); }

.divider-spark .spark-center {
    position: relative;
    width: 8px;
    height: 8px;
    background: hsl(51, 100%, 50%);
    border-radius: 50%;
    box-shadow:
        0 0 10px hsl(51, 100%, 50%, 0.8),
        0 0 20px hsl(51, 100%, 50%, 0.5);
}

/* Footer */
.footer {
    background: var(--surface-foreground);
    border-top: 1px solid var(--surface-border);
    padding: var(--space-xxxl) var(--space-l) var(--space-xxl);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-xxxl);
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-m);
    display: inline-block;
}

.footer-brand .nav-logo img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: var(--line-relaxed);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-l);
    color: var(--text-secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-s);
}

.footer-col a {
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--timing-base) var(--ease-default);
}

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

.footer-bottom {
    max-width: 1100px;
    margin: var(--space-xxl) auto 0;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: var(--space-l);
}

.footer-legal a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--timing-base) var(--ease-default);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {

    .routing-grid-primary {
        grid-template-columns: 1fr;
    }

    .routing-grid-secondary {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-steps {
        grid-template-columns: 1fr;
    }

    .testimonial-featured {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .testimonial-featured .testimonial-photo {
        aspect-ratio: 4 / 5;
        max-height: 400px;
    }

    .testimonial-featured .testimonial-photo img {
        object-position: center 20%;
    }

    .testimonial-featured .testimonial-content {
        padding: var(--space-xl) var(--space-l);
    }

    .testimonial-photo {
        margin: 0 auto;
    }

    .testimonial-meta {
        flex-direction: column;
        align-items: center;
        gap: var(--space-m);
    }

    .testimonial-result {
        display: flex;
    }

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

    .overview {
        padding: 4rem 0 5rem;
    }

    .two-jobs-intro {
        font-size: 0.75rem;
        margin-bottom: 2rem;
    }

    .two-jobs-statement {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .two-jobs-close {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xxl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-m);
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-row {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .journey-flow {
        gap: var(--space-xs);
    }

    .journey-step {
        padding: var(--space-m) var(--space-m);
    }

    .journey-arrow {
        display: none;
    }

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

    .cta-routing-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 600px) {

    .hero {
        padding: calc(var(--space-xxxl) * 2) var(--space-m) var(--space-xxxl);
    }

    .routing,
    .overview,
    .diff,
    .proof,
    .cta {
        padding: var(--space-xxxl) var(--space-m);
    }

    .routing-grid-secondary {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .testimonial-card .testimonial-photo {
        aspect-ratio: 4 / 3;
        max-height: 250px;
    }

    .testimonial-card .testimonial-card-content {
        padding: var(--space-m);
    }
}

@media (max-width: 480px) {
    .overview {
        padding: 3rem 0 4rem;
    }

    .two-jobs-statement {
        font-size: 1.75rem;
    }
}
