/* ============================================================
   WORLD LINE TWO STUDIO — Landing Page Redesign
   Color scheme: Crimson #70191D + Accent #D1601F + Gold #FECD6D
   ============================================================ */

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

:root {
    --black: #181614;
    --white: #ffffff;
    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #44403c;
    --gray-700: #1c1917;
    --crimson: #70191D;
    --crimson-light: #8b2327;
    --crimson-dark: #5a1318;
    --crimson-glow: rgba(112, 25, 29, 0.25);
    --accent: #D1601F;
    --accent-light: #e07a3a;
    --accent-dark: #b3511a;
    --accent-glow: rgba(209, 96, 31, 0.25);
    --gold: #FECD6D;
    --gold-light: #fee8a0;
    --gold-dark: #e5b44e;
    --gold-glow: rgba(254, 205, 109, 0.2);
    --green: #4ade80;
    --red: #ef4444;
    --gradient-dark: linear-gradient(180deg, #1e1b18 0%, #262320 100%);
    --gradient-accent: linear-gradient(135deg, var(--crimson) 0%, var(--accent) 50%, var(--gold) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    --font-heading: 'DM Serif Display', 'Noto Sans SC', Georgia, serif;
    --font-body: 'Source Sans 3', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-padding: clamp(80px, 12vh, 140px);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: #1a1510;
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Heading font */
h1, h2, h3, .hero-line, .problem-title, .timeline-title, .start-title,
.characters-title, .tutorial-title, .big-quote {
    font-family: var(--font-heading);
}

::selection {
    background: var(--crimson);
    color: var(--gold);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(30, 20, 14, 0.88);
    border-bottom: 1px solid rgba(209, 96, 31, 0.1);
    transition: transform 0.4s var(--ease-out-expo), background 0.3s;
}

.nav-bar.hidden { transform: translateY(-100%); }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 52px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--accent);
    transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a,
.nav-links .nav-more-btn {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    transition: color 0.2s;
    letter-spacing: 0.01em;
    line-height: 1;
}
.nav-links a:hover { color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-600);
    color: var(--gray-400);
    transition: all 0.2s;
    text-decoration: none;
}
.nav-profile-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(209, 96, 31, 0.08);
}
.nav-profile-link svg {
    width: 16px;
    height: 16px;
}

.nav-pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.nav-pfp-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}
.nav-pfp {
    border-color: var(--accent);
    overflow: hidden;
}

/* --- Profile dropdown --- */
.nav-profile-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(30, 20, 14, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(209, 96, 31, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 170px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    z-index: 1001;
}
.nav-profile-wrap.open .nav-profile-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.nav-profile-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    transition: all 0.15s;
    text-decoration: none;
}
.nav-profile-dropdown a:hover {
    color: var(--accent);
    background: rgba(209, 96, 31, 0.08);
}
.nav-profile-dropdown .profile-dd-divider {
    height: 1px;
    background: rgba(209, 96, 31, 0.1);
    margin: 4px 0;
}
.nav-profile-dropdown .profile-dd-logout {
    color: var(--gray-500);
}
.nav-profile-dropdown .profile-dd-logout:hover {
    color: var(--red);
    background: rgba(239, 68, 68, 0.08);
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: var(--font-body);
    text-decoration: none;
}
.lang-btn.active {
    color: var(--accent);
    background: rgba(209, 96, 31, 0.1);
}
.lang-btn:hover { color: var(--accent); }
.lang-divider { color: var(--gray-600); font-size: 13px; }

/* --- More dropdown --- */
.nav-more {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-more-btn {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-body);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}
.nav-more-btn:hover { color: var(--accent); }

.nav-more-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}
.nav-more.open .nav-more-btn svg {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(30, 20, 14, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(209, 96, 31, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.nav-more.open .nav-dropdown {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    transition: all 0.15s;
}
.nav-dropdown a:hover {
    color: var(--accent);
    background: rgba(209, 96, 31, 0.08);
}

/* ============================================================
   SECTION — SHARED
   ============================================================ */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--section-padding) 24px;
}

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
    background: linear-gradient(160deg, #2a1008 0%, var(--crimson-dark) 40%, #1e1410 100%);
    overflow: hidden;
    padding-top: 52px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(209, 96, 31, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(209, 96, 31, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(209, 96, 31, 0.35);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    background: rgba(209, 96, 31, 0.08);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-line {
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--white);
    will-change: transform, opacity;
}

.hero-line-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-mission {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 400;
    color: var(--gray-400);
    max-width: 680px;
    margin: 32px auto 0;
    line-height: 1.6;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--accent-light);
    transform: scale(1.04);
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(209, 96, 31, 0.4);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}
.btn-secondary:hover {
    background: rgba(209, 96, 31, 0.08);
    border-color: var(--accent);
    transform: scale(1.04);
}

/* (scroll indicator removed) */

/* ============================================================
   PROBLEM / SOLUTION — Three Column
   ============================================================ */
.section-problem {
    background: #f7f4f0;
    color: var(--gray-700);
    min-height: 100vh;
}

.problem-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    max-width: 1300px;
    width: 100%;
    align-items: center;
}

/* Chat windows */
.chat-window {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}
.chat-window:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.04);
}

.chat-bad { background: var(--white); border: 1px solid var(--gray-200); }
.chat-good { background: var(--white); border: 1px solid rgba(209, 96, 31, 0.15); }

.chat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.chat-good .chat-header {
    background: linear-gradient(135deg, rgba(209,96,31,0.03), rgba(254,205,109,0.03));
    border-bottom-color: rgba(209,96,31,0.08);
}

.chat-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.chat-dot.red { background: #ff5f57; }
.chat-dot.yellow { background: #febc2e; }
.chat-dot.green { background: #28c840; }

.chat-title {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.chat-body { padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; }

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.chat-msg.ai {
    align-self: flex-start;
    background: var(--gray-100);
    color: var(--gray-700);
    border-bottom-left-radius: 4px;
}
.chat-msg.user {
    align-self: flex-end;
    background: var(--accent);
    color: var(--white);
    border-bottom-right-radius: 4px;
    flex-direction: row-reverse;
}

/* Chat avatars */
.chat-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    margin-top: 1px;
}
.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Glitch effect on bad AI response */
.chat-msg.glitch {
    position: relative;
}
.chat-msg.glitch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(239, 68, 68, 0.04) 2px,
        rgba(239, 68, 68, 0.04) 4px
    );
    border-radius: inherit;
    pointer-events: none;
}

.chat-verdict {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.chat-verdict.bad {
    background: rgba(239, 68, 68, 0.05);
    color: var(--red);
    border-top: 1px solid rgba(239, 68, 68, 0.1);
}
.chat-verdict.good {
    background: rgba(209, 96, 31, 0.06);
    color: var(--accent-dark);
    border-top: 1px solid rgba(209, 96, 31, 0.15);
}

/* Center column */
.problem-col.problem-center {
    text-align: center;
    max-width: 340px;
    padding: 48px 24px;
}

.problem-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.problem-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-500);
}

.problem-divider {
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 28px auto;
}

.solution-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.problem-arrow-top, .problem-arrow-bottom {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}
.problem-arrow-top svg, .problem-arrow-bottom svg {
    width: 28px;
    height: 28px;
    color: var(--gray-300);
}

/* ============================================================
   VERTICAL TIMELINE — Hand-drawn meandering dotted line
   ============================================================ */
.section-timeline {
    background: linear-gradient(180deg, #1f1812 0%, #261c14 50%, #1f1812 100%);
    color: var(--white);
    padding: var(--section-padding) 24px;
    min-height: auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.timeline-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    margin-top: 12px;
}

.timeline-track {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* SVG meandering path replaces the straight line */
.timeline-svg {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 400px;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.timeline-path-bg {
    fill: none;
    stroke: var(--gray-600);
    stroke-width: 2;
    stroke-dasharray: 8 8;
    stroke-linecap: round;
}

.timeline-path-fill {
    fill: none;
    stroke: url(#timeline-gradient);
    stroke-width: 2.5;
    stroke-dasharray: 8 8;
    stroke-linecap: round;
}

/* Hide the old straight line */
.timeline-line { display: none; }

/* Timeline items */
.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(40px);
}

.timeline-item[data-side="left"] {
    justify-content: flex-start;
    padding-right: calc(50% + 80px);
    text-align: right;
}

.timeline-item[data-side="right"] {
    justify-content: flex-end;
    padding-left: calc(50% + 80px);
    text-align: left;
}

/* (timeline dots removed) */

/* Cards */
.timeline-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out-expo);
}

.timeline-item.active .timeline-card {
    background: rgba(209, 96, 31, 0.06);
    border-color: rgba(209, 96, 31, 0.18);
    box-shadow: 0 8px 40px rgba(209, 96, 31, 0.08);
}

.timeline-date {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.timeline-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================================
   MEET THE CHARACTERS — Carousel + Crime Tape
   ============================================================ */
.section-characters {
    background: #fffaf3;
    color: var(--gray-700);
    min-height: auto;
    padding: var(--section-padding) 24px;
    overflow: hidden;
    position: relative;
}

/* --- Crime Tape — vertical along left & right borders --- */
.crime-tape {
    position: absolute;
    height: 44px;
    background: var(--gold);
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(254, 205, 109, 0.35);
    border-top: 3.5px solid var(--crimson);
    border-bottom: 3.5px solid var(--crimson);
    opacity: 0;
    pointer-events: none;
}

/* Left border tape — nearly vertical (80deg), hugs the left edge */
.crime-tape-tl {
    top: -10%;
    left: 24px;
    width: 120%;
    transform-origin: top left;
    transform: rotate(80deg);
}

/* Top horizontal tape — sits just above the header text */
.crime-tape-tr {
    top: 40px;
    left: -10%;
    width: 120%;
    transform: rotate(-1.5deg);
}

/* Bottom tape — hidden, not needed */
.crime-tape-bl {
    display: none;
}

.crime-tape-inner {
    display: flex;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--crimson);
    line-height: 37px;
    will-change: transform;
}

.crime-tape-scroll-left .crime-tape-inner {
    animation: tape-scroll-left 10s linear infinite;
}
.crime-tape-scroll-right .crime-tape-inner {
    animation: tape-scroll-right 10s linear infinite;
}

@keyframes tape-scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes tape-scroll-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.characters-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.characters-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--gray-700);
}

.characters-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    margin-top: 12px;
}

/* --- Carousel wrapper --- */
.character-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 540px;
}

/* --- Individual slide --- */
.character-slide {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 20px;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s var(--ease-out-expo);
}
.character-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* --- Art column --- */
.character-art-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 500px;
    margin-left: -40px;
}

.character-art {
    max-height: 620px;
    width: auto;
    max-width: 110%;
    object-fit: contain;
    filter: drop-shadow(0 24px 50px rgba(0,0,0,0.15));
    transition: transform 0.6s var(--ease-out-expo);
}
.character-slide.active .character-art {
    animation: art-entrance 0.8s var(--ease-out-expo) both;
}
@keyframes art-entrance {
    from { opacity: 0; transform: translateX(-30px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* --- Detail column --- */
.character-detail-col {
    padding: 20px 0 20px 20px;
}

.character-name-zh-big {
    display: block;
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 6px;
    letter-spacing: 0.1em;
}

.character-name-big {
    font-family: var(--font-heading);
    font-size: clamp(56px, 7vw, 96px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.character-role-line {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.character-blurb {
    font-size: 19px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 480px;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--accent);
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    letter-spacing: 0.02em;
}
.btn-view-more:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateX(4px);
}
.btn-view-more::after {
    content: '\2192';
    font-size: 18px;
    transition: transform 0.3s var(--ease-out-expo);
}
.btn-view-more:hover::after {
    transform: translateX(4px);
}

/* --- Mystery character placeholder --- */
.mystery-art {
    width: 280px;
    height: 360px;
    border-radius: 24px;
    border: 3px dashed var(--gray-300);
    background: linear-gradient(135deg, rgba(254,205,109,0.06) 0%, rgba(112,25,29,0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.4s var(--ease-out-expo);
}
.character-slide:hover .mystery-art {
    border-color: var(--accent);
}

.mystery-question {
    font-family: var(--font-heading);
    font-size: 120px;
    color: var(--gray-300);
    user-select: none;
    transition: color 0.4s var(--ease-out-expo);
}
.character-slide:hover .mystery-question {
    color: var(--accent);
}

/* --- Carousel nav --- */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    position: relative;
    z-index: 2;
}

.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
    color: var(--gray-500);
}
.carousel-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(209, 96, 31, 0.06);
}
.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease-out-expo);
}
.carousel-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
}

/* ============================================================
   TUTORIAL PREVIEW
   ============================================================ */
.section-tutorial {
    background: linear-gradient(160deg, #261c14 0%, #2a1008 50%, #1e1410 100%);
    color: var(--white);
    min-height: auto;
    padding: var(--section-padding) 24px;
}

.tutorial-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
    align-items: center;
}

.tutorial-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.tutorial-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.tutorial-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.tutorial-steps {
    list-style: none;
    margin-bottom: 32px;
}

.tutorial-steps li {
    font-size: 15px;
    color: var(--gray-300);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.tutorial-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.tutorial-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.tutorial-avatar-frame {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(209, 96, 31, 0.3);
    box-shadow: 0 20px 60px rgba(209, 96, 31, 0.15);
    transition: transform 0.4s var(--ease-out-expo);
}
.tutorial-avatar-frame:hover {
    transform: scale(1.05);
}

.tutorial-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutorial-speech-bubble {
    background: rgba(209, 96, 31, 0.1);
    border: 1px solid rgba(209, 96, 31, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    max-width: 280px;
    text-align: center;
    position: relative;
}

.tutorial-speech-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(209, 96, 31, 0.2);
}

.tutorial-speech-bubble p {
    font-size: 15px;
    font-style: italic;
    color: var(--gold);
    line-height: 1.5;
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.section-quote {
    background: linear-gradient(135deg, var(--crimson-dark) 0%, #2a1a12 100%);
    min-height: 70vh;
}

.quote-content {
    text-align: center;
    max-width: 800px;
}

.big-quote {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.big-quote strong {
    font-weight: 700;
    color: var(--accent-light);
}

.studio-quote {
    color: var(--white);
    font-weight: 400;
}

cite {
    display: block;
    margin-top: 16px;
    font-size: 15px;
    font-style: normal;
    color: var(--accent);
    font-weight: 500;
}

.quote-separator {
    width: 60px;
    height: 1px;
    background: rgba(209, 96, 31, 0.4);
    margin: 40px auto;
}

/* ============================================================
   GET STARTED
   ============================================================ */
.section-start {
    background: #f5f0eb;
    color: var(--gray-700);
    min-height: auto;
    padding: var(--section-padding) 24px;
}

.start-header {
    text-align: center;
    margin-bottom: 60px;
}

.start-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gray-700);
}

.start-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    margin-top: 12px;
}

.start-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    width: 100%;
}

.start-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.start-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.start-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: rgba(209, 96, 31, 0.2);
}
.start-card:hover::before { transform: scaleX(1); }

.start-card-accent {
    background: var(--accent);
    border-color: transparent;
    color: var(--white);
}
.start-card-accent:hover {
    background: var(--accent-dark);
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(209, 96, 31, 0.2);
}

.start-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.start-card-accent .start-card-icon {
    background: rgba(255,255,255,0.15);
}
.start-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--gray-600);
}
.start-card-accent .start-card-icon svg { stroke: var(--white); }

.start-card-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.start-card-accent .start-card-num { color: rgba(255,255,255,0.7); }

.start-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.start-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-500);
    flex: 1;
}
.start-card-accent p { color: rgba(255,255,255,0.7); }

.start-card-arrow {
    display: inline-block;
    margin-top: 20px;
    font-size: 20px;
    color: var(--accent);
    transition: transform 0.3s var(--ease-out-expo);
}
.start-card-accent .start-card-arrow { color: rgba(255,255,255,0.8); }
.start-card:hover .start-card-arrow { transform: translateX(8px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #1a1510;
    border-top: 1px solid rgba(209, 96, 31, 0.1);
    padding: 40px 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
}

.footer-tagline {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 13px;
    color: var(--gray-400);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
    font-size: 12px;
    color: var(--gray-600);
    width: 100%;
    text-align: center;
    margin-top: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .problem-container {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
    }
    .problem-col.problem-center { max-width: none; }
    .problem-col.problem-center { order: -1; }
    .problem-arrow-top, .problem-arrow-bottom { display: none; }

    .timeline-item[data-side="left"],
    .timeline-item[data-side="right"] {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
        justify-content: flex-start;
    }
    .timeline-svg { left: 20px; transform: none; width: 200px; }
    /* dots reposition via JS on resize */
}

/* Mobile nav toggle & dropdown */
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}
.nav-mobile-toggle:hover { color: var(--accent); }

.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 52px;
    left: 0; right: 0;
    background: rgba(30, 20, 14, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(209, 96, 31, 0.15);
    padding: 8px 0;
    z-index: 999;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
    padding: 12px 24px;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.nav-mobile-menu a:hover {
    color: var(--accent);
    background: rgba(209, 96, 31, 0.08);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }

    .start-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .character-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .character-art-col { min-height: 340px; margin-left: 0; }
    .character-art { max-height: 380px; }
    .character-blurb { max-width: 100%; }
    .character-detail-col { padding: 0 16px; }
    .crime-tape-tr { display: none; }
    .mystery-art { width: 200px; height: 260px; }
    .mystery-question { font-size: 80px; }

    .tutorial-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tutorial-steps li { text-align: left; }
    .tutorial-avatar-col { order: -1; }
    .tutorial-avatar-frame { width: 180px; height: 180px; }

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

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

/* ============================================================
   ANIMATIONS — initial states (GSAP animates these in)
   ============================================================ */
.hero-badge,
.hero-line,
.hero-mission,
.hero-cta-row {
    opacity: 0;
    transform: translateY(30px);
}

.problem-left,
.problem-center,
.problem-right {
    opacity: 0;
}
.problem-left { transform: translateX(-60px); }
.problem-center { transform: translateY(40px); }
.problem-right { transform: translateX(60px); }

.start-card {
    opacity: 0;
    transform: translateY(40px);
}

.big-quote, cite, .quote-separator {
    opacity: 0;
    transform: translateY(20px);
}

/* character carousel initial states handled by .active class */

.tutorial-text-col,
.tutorial-avatar-col {
    opacity: 0;
}
.tutorial-text-col { transform: translateX(-40px); }
.tutorial-avatar-col { transform: translateX(40px); }

/* ============================================================
   SMOOTH SCROLL SNAP HINT
   ============================================================ */
@media (min-height: 700px) {
    .section-hero,
    .section-problem {
        min-height: 100vh;
        min-height: 100dvh;
    }
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1510; }
::-webkit-scrollbar-thumb {
    background: var(--accent-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
