/* ═══════════════════════════════════════════════════════════════
   ROONDA ANTIGRAVITY — CSS
   Recognition-first parallax scroll story
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
    /* Brand palette (kept) */
    --terracotta: #C2774A;
    --sage: #87A878;
    --warm-gray: #6B635B;
    --copper: #B87333;

    /* Surfaces */
    --bg: #FAF7F2;
    --bg-cool: #F4F3F0;
    /* problem half — slightly cooler */
    --bg-warm: #FAF7F2;
    /* solution half — warm cream */
    --bg-dark: #141414;

    /* Text */
    --text: #2C2926;
    --text-muted: #6B635B;
    --text-inv: #FAF7F2;

    /* Chat */
    --chat-sent: #DCF8C6;
    /* green-ish, like iMessage/WhatsApp */
    --chat-received: #EDEAE5;
    --chat-group-bg: #F0EBE3;

    /* Functional */
    --accent: var(--terracotta);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --shadow-card: 0 8px 24px rgba(70, 50, 30, 0.08);
    --shadow-tracker: 0 4px 20px rgba(70, 50, 30, 0.12);
}

/* ─── RESET & BASE ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.await-scroll-start .hud {
    display: none !important;
}

main {
    position: relative;
}

/* ─── HUD COUNTER ─── */
.hud {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    text-align: right;
    pointer-events: none;
    opacity: 0;
    /* starts hidden, revealed in scene 1 */
    transition: opacity 0.4s;
}

.hud-counter {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.3rem;
}

#counter-number {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    font-feature-settings: "tnum";
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--text-muted);
}

.hud-unit {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    opacity: 0.6;
}

/* When counter moves to center (scene 3) */
.hud.hud--center {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
}

.hud.hud--center #counter-number {
    font-size: clamp(5rem, 18vw, 14rem);
    color: var(--text);
}

.hud.hud--center .hud-unit {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    opacity: 0.5;
}

/* ─── SCENE LAYOUT DEFAULTS ─── */
.scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.6s ease, background 0.6s ease;
}

.scene-inner {
    max-width: 700px;
    width: 100%;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

/* ─── VISUAL ENHANCEMENTS ─── */
/* 1. Organic Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    /* Pushed below contents */
    overflow: hidden;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.35;
    mix-blend-mode: multiply;
}

@media (max-width: 768px) {
    .bg-blobs {
        display: none;
        /* Removed entirely on mobile for smooth 60fps scrolling */
    }
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    /* Default cool colors for problem half */
    background: rgba(160, 180, 200, 0.4);
    will-change: transform, background-color;
}

.bg-blob--1 {
    width: 60vw;
    height: 60vw;
    top: -10vw;
    left: -10vw;
}

.bg-blob--2 {
    width: 50vw;
    height: 50vw;
    bottom: -10vw;
    right: -10vw;
}

.bg-blob--3 {
    width: 40vw;
    height: 40vw;
    top: 20vh;
    left: 40vw;
}

/* 3. Typographic Textures */
.text-watermark {
    position: absolute;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(5.5rem, 20vw, 24rem);
    /* Kept scalable but lowered min-size so it doesn't break mobile */
    font-weight: 900;
    color: rgba(107, 99, 91, 0.04);
    /* Subtle warm gray */
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
    /* Increased slightly to sit above background blobs but behind inner */
    /* Behind scene-inner */
    pointer-events: none;
    user-select: none;
    text-align: center;
    width: 100%;
    left: 0;
    will-change: transform;
}

@media (max-width: 768px) {
    .text-watermark {
        display: none;
        /* Hide entirely on mobile to prevent layout breakage and intersection issues */
    }
}

.text-watermark--lost {
    top: 35%;
}

.text-watermark--hard {
    top: 20%;
}

/* 4. Science Data-Art Particles */
.science-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind scene-inner */
    pointer-events: none;
}

.science-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    will-change: transform, left, top;
}

/* ═══ SCENE 1: THE PROMISE ═══ */
.scene--promise {
    background:
        radial-gradient(circle at 12% 16%, rgba(194, 119, 74, 0.12) 0%, rgba(250, 247, 242, 0.96) 46%, rgba(250, 247, 242, 1) 100%),
        var(--bg-warm);
    text-align: center;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
}

.promise-hero-image {
    position: relative;
    width: min(38vw, 380px);
    height: min(35vh, 310px);
    margin-top: clamp(1.9rem, 7vh, 4rem);
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    z-index: 1;
    opacity: 1;
}

.promise-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promise-scroll-hint {
    z-index: 2;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0.85;
}

.promise-scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2.5px solid rgba(107, 99, 91, 0.65);
    border-bottom: 2.5px solid rgba(107, 99, 91, 0.65);
    transform: rotate(45deg);
    animation: promiseArrowFloat 1.6s ease-in-out infinite;
}

.promise-scroll-arrow--2 {
    animation-delay: 0.22s;
    opacity: 0.55;
}

@keyframes promiseArrowFloat {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) translate(5px, 5px);
        opacity: 1;
    }
}

.scene--promise .scene-inner {
    z-index: 2;
    padding: 0.35rem 2rem 0;
    max-width: 760px;
}

.promise-line {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    color: var(--text);
    text-shadow: none;
    opacity: 1;
    margin-left: auto;
    margin-right: auto;
}

.promise-line--1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.promise-line--2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* ═══ SCENE 2: THE DRIFT ═══ */
.scene--drift {
    background: var(--bg-cool);
}

.chat-thread {
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.chat-msg--sent {
    align-items: flex-end;
}

.chat-msg--received {
    align-items: flex-start;
}

.chat-bubble {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 85%;
}

.chat-msg--sent .chat-bubble {
    background: var(--chat-sent);
    color: #1a1a1a;
    border-bottom-right-radius: 4px;
}

.chat-msg--received .chat-bubble {
    background: var(--chat-received);
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
}

.chat-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 0.2rem;
    padding: 0 0.5rem;
}

.chat-seen {
    font-size: 0.7rem;
    color: var(--accent);
    opacity: 0.7;
    margin-top: 0.2rem;
    padding: 0 0.5rem;
    font-weight: 500;
}

/* Typing indicator */
.chat-bubble--typing {
    display: flex;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem;
    align-items: center;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ea766;
    opacity: 0.4;
    animation: typingPulse 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-bubble--typing.is-paused .typing-dot {
    animation-play-state: paused;
    transform: translateY(0);
    opacity: 0.45;
}

@keyframes typingPulse {

    0%,
    60%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* ═══ SCENE 3: THE SILENCE ═══ */
.scene--silence {
    background: var(--bg-cool);
    text-align: center;
}

.silence-line {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    opacity: 0;
    color: var(--text-muted);
    max-width: 32ch;
    margin: clamp(9rem, 26vh, 16rem) auto 0;
}

/* ═══ SCENE 4: THE REFRAME ═══ */
.scene--reframe {
    text-align: center;
    transition: background-color 1.5s ease;
    background: var(--bg-cool);
}

.scene--reframe.warm {
    background: var(--bg-warm);
}

.reframe-line {
    font-family: 'Nunito', sans-serif;
    opacity: 0;
}

.reframe-line--1 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.reframe-line--2 {
    font-size: clamp(1.8rem, 4.8vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1rem;
}

/* ═══ SCENE 5: ROONDA + SCIENCE ═══ */
.scene--reveal {
    background: var(--bg-warm);
    text-align: center;
}

.reveal-setup {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: var(--text-muted);
    opacity: 0;
    margin-bottom: 0.6rem;
}

.reveal-logo {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.8rem, 9vw, 5.8rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: var(--text);
    opacity: 0;
}

.reveal-desc {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 500;
    color: var(--text);
    opacity: 0;
    margin-top: 0.75rem;
}

.reveal-closer {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0;
    margin-top: 0.4rem;
}

/* ═══ SCENE 5.5: THE EVENTS ═══ */
.scene--events {
    background: var(--bg-warm);
    text-align: center;
}

.scene-inner--events {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.events-line {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0;
}

.events-line--2 {
    font-weight: 700;
    color: var(--text);
}

.events-stage {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 250px;
    margin: 0 auto;
}

.event-card {
    position: absolute;
    width: 100%;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 12px 32px rgba(70, 50, 30, 0.08), 0 0 0 1px rgba(194, 119, 74, 0.15) inset;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    will-change: transform, opacity;
}

.event-card--single {
    /* Translate will be handled exclusively by GSAP perfectly */
    top: 50%;
    left: 50%;
    z-index: 2;
    opacity: 0;
}

.event-card-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    opacity: 0;
    z-index: 1;
}

.event-card--stack-1,
.event-card--stack-2 {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    box-shadow: 0 8px 24px rgba(70, 50, 30, 0.06), 0 0 0 1px rgba(194, 119, 74, 0.15) inset;
}

.event-card--stack-1 {
    transform: translateY(-10px) rotate(-2deg);
    z-index: 2;
}

.event-card--stack-2 {
    transform: translateY(10px) rotate(3deg);
    z-index: 1;
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.event-card-status {
    background: rgba(194, 119, 74, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
}

.event-card-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.event-card-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-card-location {
    font-weight: 500;
}

/* ═══ SCENE 7: SCIENCE ═══ */
.scene--science {
    background:
        radial-gradient(circle at 15% 15%, rgba(194, 119, 74, 0.14) 0%, rgba(250, 247, 242, 0.9) 38%, rgba(250, 247, 242, 1) 100%),
        var(--bg-warm);
    text-align: center;
}

.science-copy {
    opacity: 0;
}

.science-kicker {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1rem;
}

.science-meter {
    opacity: 0;
    margin: 0 auto;
    max-width: 560px;
    border-radius: 26px;
    padding: clamp(1.3rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(194, 119, 74, 0.25);
    box-shadow:
        0 16px 44px rgba(70, 50, 30, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.science-counter {
    margin-bottom: 1rem;
}

.science-number {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(4rem, 12vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text);
}

.science-unit {
    font-size: clamp(1.1rem, 2.4vw, 1.8rem);
    color: var(--text-muted);
    opacity: 0.8;
    margin-left: 0.35rem;
}

.science-stages {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.science-pill {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--bg-cool);
    color: var(--text-muted);
    opacity: 0.45;
}

.science-source {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.5;
}

/* ═══ SCENE 7: THE EXPERIENCE ═══ */
.scene--experience {
    background: var(--bg-warm);
    text-align: center;
}

.experience-intro {
    margin-bottom: 3rem;
}

.experience-line {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    opacity: 0;
}

.experience-line--bold {
    font-weight: 700;
    color: var(--text);
}

.tracker-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 320px;
    margin: 0 auto 3rem;
}

.tracker-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-tracker);
    opacity: 0;
}

.tracker-person {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.tracker-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 34px;
    border: 2px solid rgba(194, 119, 74, 0.18);
    box-shadow: 0 4px 12px rgba(70, 50, 30, 0.12);
}

.tracker-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.tracker-hours {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tracker-num {
    font-weight: 700;
    color: var(--accent);
    font-feature-settings: "tnum";
}

.experience-continue {
    margin-bottom: 1.25rem;
}

/* ═══ SCENE 8: WEEKS JOURNEY ═══ */
.scene--weeks {
    background:
        radial-gradient(circle at 12% 18%, rgba(194, 119, 74, 0.14) 0%, rgba(250, 247, 242, 0.95) 38%, rgba(250, 247, 242, 1) 100%),
        var(--bg-warm);
    text-align: center;
}

.scene-inner--weeks {
    max-width: 980px;
}

.weeks-intro {
    margin-bottom: 2rem;
    position: relative;
    z-index: 20;
}

.weeks-line {
    font-size: clamp(1rem, 2vw, 1.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
}

.weeks-stage {
    position: relative;
    max-width: 940px;
    margin: 4rem auto 0;
    height: clamp(560px, 78vh, 740px);
    overflow: visible;
}

@media (max-width: 768px) {
    .weeks-stage {
        margin: 6rem auto 0;
        /* Huge clearance */
        height: 650px;
        /* Fixed height floor to prevent collapse on tiny screens */
    }
}

.week-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 10;
}

.week-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(194, 119, 74, 0.28);
    box-shadow: 0 0 0 1px rgba(194, 119, 74, 0.2);
}

.week-block {
    position: absolute;
    width: min(820px, 92%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.66fr);
    align-items: center;
    gap: clamp(0.9rem, 2vw, 1.35rem);
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 22px;
    border: 1px solid rgba(194, 119, 74, 0.25);
    background: #ffffff;
    box-shadow:
        0 16px 40px rgba(70, 50, 30, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.46) inset;
    opacity: 0;
}

.week-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.55rem;
}

.week-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    opacity: 0.5;
}

.week-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.55rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

.week-subtitle {
    font-size: clamp(0.92rem, 1.75vw, 1rem);
    color: var(--text-muted);
    max-width: 28ch;
}

.week-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow:
        0 8px 24px rgba(70, 50, 30, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.week-block--1 {
    z-index: 5;
}

.week-block--2 {
    z-index: 6;
}

.week-block--3 {
    z-index: 7;
}

.week-block--4 {
    z-index: 8;
}

.week-dot--1,
.week-dot--2,
.week-dot--3,
.week-dot--4 {
    transition: background-color 0.25s ease, transform 0.25s ease;
}

/* ═══ SCENE 9: THE PAYOFF ═══ */
.scene--payoff {
    background: var(--bg-warm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scene--payoff .scene-inner {
    max-width: 1000px;
    /* Allow huge text to fit and naturally center */
    position: relative;
    z-index: 10;
}

.payoff-polaroids {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 5;
    pointer-events: none;
}

.payoff-polaroid {
    position: absolute;
    width: clamp(140px, 18vw, 240px);
    aspect-ratio: 1;
    background: #fff;
    padding: clamp(0.4rem, 0.8vw, 0.6rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(70, 50, 30, 0.15), 0 0 0 1px rgba(194, 119, 74, 0.1) inset;
    will-change: transform, opacity;
}

.payoff-polaroid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .payoff-polaroid {
        width: 120px;
    }
}

.payoff-brand {
    opacity: 0;
}

.payoff-logo {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(4rem, 14vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.payoff-next {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--accent);
    margin-top: 0;
}

/* ═══ SCENE 10: CTA ═══ */
.scene--cta {
    background: var(--bg-warm);
    text-align: center;
    padding: 6rem 2rem;
}

.cta-headline {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.cta-details {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.cta-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
}

@media (max-width: 768px) {
    .cta-fields {
        grid-template-columns: 1fr;
        /* Stack vertically on phones */
    }
}

.cta-fields input {
    min-width: 0;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(107, 99, 91, 0.2);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s;
}

.cta-fields input:focus {
    outline: none;
    border-color: var(--accent);
}


.btn-primary {
    width: 100%;
    max-width: 250px;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--copper);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.cta-privacy {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ═══ FOOTER ═══ */
.footer {
    background: var(--bg-dark);
    color: var(--text-inv);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.6;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-inv);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .weeks-stage {
        height: clamp(430px, 66vh, 570px);
    }

    .week-block {
        width: min(90vw, 360px);
        top: 56%;
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 1rem;
    }

    .week-copy {
        align-items: center;
        text-align: center;
    }

    .week-subtitle {
        max-width: 33ch;
    }

    .week-image {
        max-width: 208px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hud {
        top: 1.25rem;
        right: 1.25rem;
    }

    #counter-number {
        font-size: 2rem;
    }

    .scene-inner {
        padding: 3rem 1.5rem;
    }

    .scene--promise {
        justify-content: flex-start;
        padding-top: calc(env(safe-area-inset-top, 0px) + 3.4rem);
        gap: 0.35rem;
    }

    .scene--promise .scene-inner {
        padding: 0.45rem 1.15rem 0;
    }

    .chat-thread {
        max-width: 300px;
    }

    .tracker-cards {
        max-width: 280px;
    }

    .promise-hero-image {
        width: min(50vw, 190px);
        height: min(22vh, 165px);
        border-radius: 16px;
        margin-top: 0;
    }

    .promise-scroll-hint {
        margin-top: 1.2rem;
        opacity: 0.9;
    }

    .promise-scroll-arrow {
        width: 16px;
        height: 16px;
        border-right-color: rgba(107, 99, 91, 0.72);
        border-bottom-color: rgba(107, 99, 91, 0.72);
    }

    .promise-line--1 {
        font-size: clamp(1.15rem, 4.8vw, 1.45rem);
        margin-bottom: 0.3rem;
    }

    .promise-line--2 {
        font-size: clamp(1.75rem, 8.5vw, 2.45rem);
        max-width: 17ch;
    }

    .tracker-card {
        padding: 0.9rem 1.15rem;
    }

    .tracker-hours {
        font-size: 0.85rem;
    }

    .weeks-stage {
        height: clamp(390px, 60vh, 490px);
    }

    .week-block {
        width: min(84vw, 300px);
        top: 56%;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.8rem;
    }

    .week-copy {
        align-items: center;
        text-align: center;
    }

    .week-subtitle {
        font-size: clamp(0.84rem, 3.9vw, 0.95rem);
        max-width: 28ch;
    }

    .week-title {
        font-size: clamp(1.3rem, 7.5vw, 1.9rem);
    }

    .week-image {
        max-width: 156px;
        margin: 0 auto;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        justify-content: center;
    }

    .cta-fields {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}