@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --landing-bg: #0a0b0d;
    --landing-text: #f5f5f1;
    --landing-muted: #a3a7ac;
    --landing-line: rgba(255, 255, 255, 0.13);
    --landing-panel: #16181c;
    --signal: #c8ff38;
    --signal-ink: #101507;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--landing-bg); }
body.landing-2026 {
    margin: 0;
    overflow-x: hidden;
    background: var(--landing-bg);
    color: var(--landing-text);
    font-family: 'Inter', system-ui, sans-serif;
}
body.landing-2026[data-world="1"] { --signal: #ffd424; --signal-ink: #1c1600; }
body.landing-2026[data-world="2"] { --signal: #d5ff18; --signal-ink: #121600; }
body.landing-2026[data-world="3"] { --signal: #9f8cff; --signal-ink: #0e0a1c; }
body.landing-2026 a { color: inherit; text-decoration: none; }
body.landing-2026 button,
body.landing-2026 textarea,
body.landing-2026 input { font: inherit; letter-spacing: 0; }
body.landing-2026 button { color: inherit; }

.landing-nav {
    position: fixed;
    z-index: 80;
    top: 0.75rem;
    left: 0.85rem;
    right: 0.85rem;
    height: 3.6rem;
    display: grid;
    grid-template-columns: minmax(11rem, 1fr) auto minmax(11rem, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0 0.65rem 0 0.85rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 0.5rem;
    background: rgba(9, 10, 12, 0.88);
    backdrop-filter: blur(16px);
    transition: background 180ms ease, transform 180ms ease;
}
.landing-nav.is-scrolled { background: rgba(9, 10, 12, 0.97); }
.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: max-content;
    font-size: 0.8rem;
    font-weight: 800;
}
.landing-brand img { width: 1.8rem; height: 1.8rem; object-fit: contain; }
.landing-nav-links { display: flex; align-items: center; gap: 1.65rem; }
.landing-nav-links a,
.landing-login {
    color: #c8cbd0;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 150ms ease;
}
.landing-nav-links a:hover,
.landing-login:hover { color: #fff; }
.landing-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.55rem; }
.landing-start {
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.9rem;
    border-radius: 0.4rem;
    background: var(--signal);
    color: var(--signal-ink) !important;
    font-size: 0.72rem;
    font-weight: 750;
    transition: background 240ms ease, color 240ms ease, transform 150ms ease;
}
.landing-start:hover { transform: translateY(-1px); }
.landing-lang .lang-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: transparent;
    color: #c8cbd0;
}
.landing-menu-btn {
    display: none;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 0.4rem;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
}
.landing-menu-btn svg { width: 1.1rem; height: 1.1rem; }
.landing-mobile-menu {
    position: fixed;
    z-index: 79;
    top: 4.55rem;
    left: 0.85rem;
    right: 0.85rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.5rem;
    border: 1px solid var(--landing-line);
    border-radius: 0.5rem;
    background: #111317;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.landing-mobile-menu[hidden] { display: none; }
.landing-mobile-menu a {
    padding: 0.75rem;
    border-radius: 0.35rem;
    color: #d4d6d9;
    font-size: 0.78rem;
}
.landing-mobile-menu a:hover { background: rgba(255,255,255,0.06); }

.landing-hero {
    position: relative;
    min-height: 92svh;
    height: 52rem;
    max-height: 62rem;
    overflow: hidden;
    background: #0a0b0d;
}
.world-stack {
    position: absolute;
    inset: 0;
    perspective: 1400px;
    pointer-events: none;
}
.world-frame {
    position: absolute;
    width: 64rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 0.45rem;
    background: #050607;
    box-shadow: 0 34px 90px rgba(0,0,0,0.52);
    opacity: 0.27;
    filter: saturate(0.72);
    transform-style: preserve-3d;
    transition: opacity 650ms ease, transform 900ms cubic-bezier(.2,.85,.2,1), filter 650ms ease;
    will-change: transform;
}
.world-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.world-frame--blackline { left: 50%; top: 12%; transform: translate(-74%, -5%) rotate(-7deg) scale(0.72); }
.world-frame--sundown { left: 50%; top: 11%; transform: translate(-15%, -8%) rotate(7deg) scale(0.68); }
.world-frame--forno { left: 50%; top: 44%; transform: translate(-80%, 0) rotate(5deg) scale(0.6); }
.world-frame--velvet { left: 50%; top: 44%; transform: translate(-8%, 0) rotate(-5deg) scale(0.6); }
.world-frame.is-active {
    z-index: 5;
    left: 50%;
    top: 8%;
    opacity: 0.78;
    filter: saturate(1);
    transform: translate(calc(-50% + var(--mx, 0px)), var(--my, 0px)) rotate(0deg) scale(0.92);
}
.hero-solid-scrim {
    position: absolute;
    z-index: 7;
    inset: 0;
    background: rgba(4, 5, 7, 0.42);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 10;
    width: min(64rem, calc(100% - 2rem));
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 7.3rem 0 6.6rem;
    text-align: center;
}
.hero-kicker {
    margin: 0 0 0.8rem;
    color: var(--signal);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 240ms ease;
}
.hero-content h1 {
    display: flex;
    justify-content: center;
    gap: 0.02em;
    margin: 0;
    font-size: 6.4rem;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 8px 34px rgba(0,0,0,0.65);
}
.hero-content h1 span {
    display: inline-block;
    animation: heroLetterIn 700ms both cubic-bezier(.2,.8,.2,1);
}
.hero-content h1 span:nth-child(2) { animation-delay: 45ms; }
.hero-content h1 span:nth-child(3) { animation-delay: 90ms; }
.hero-content h1 span:nth-child(4) { animation-delay: 135ms; }
.hero-content h1 span:nth-child(5) { animation-delay: 180ms; }
.hero-content h1 span:nth-child(6) { animation-delay: 225ms; }
.hero-content h1 span:nth-child(7) { animation-delay: 270ms; }
.hero-content h1 span:nth-child(8) { animation-delay: 315ms; }
@keyframes heroLetterIn {
    from { opacity: 0; transform: translateY(3rem) rotate(7deg); }
    to { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero-subtitle {
    max-width: 40rem;
    margin: 1.15rem auto 1.45rem;
    color: #d5d7d9;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 0 2px 14px rgba(0,0,0,0.8);
}
.landing-composer {
    position: relative;
    width: min(46rem, 100%);
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 1rem;
    background: rgba(15, 17, 20, 0.94);
    box-shadow: 0 24px 70px rgba(0,0,0,0.5);
    text-align: left;
    backdrop-filter: blur(16px);
    transition: border-color 180ms ease, transform 180ms ease;
}
.landing-composer:focus-within {
    border-color: color-mix(in srgb, var(--signal) 55%, #fff 10%);
    transform: translateY(-2px);
}
.landing-composer textarea {
    width: 100%;
    min-height: 4.1rem;
    max-height: 11rem;
    display: block;
    resize: none;
    overflow-y: auto;
    padding: 0.15rem 0.2rem 0.4rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f5f5f1;
    font-size: 0.9rem;
    line-height: 1.48;
}
.landing-composer textarea::placeholder { color: #747980; opacity: 1; }
.landing-composer input[type="file"] { display: none !important; }
.landing-composer-actions { display: flex; align-items: center; gap: 0.3rem; min-width: 0; }
.landing-icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.06);
    color: #b8bcc1;
    cursor: pointer;
}
.landing-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.landing-icon-btn svg { width: 1rem; height: 1rem; }
.landing-icon-btn.recording { color: #ff6c68; }
.landing-quality {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    margin-left: 0.2rem;
    color: #9da1a7;
    font-size: 0.66rem;
}
.landing-quality i {
    width: 0.4rem;
    height: 0.4rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--signal) 13%, transparent);
    transition: background 240ms ease;
}
.landing-send-btn {
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    padding: 0 0.8rem;
    border: 0;
    border-radius: 0.55rem;
    background: var(--signal);
    color: var(--signal-ink) !important;
    font-size: 0.7rem;
    font-weight: 750;
    cursor: pointer;
    transition: background 240ms ease, color 240ms ease, transform 150ms ease;
}
.landing-send-btn:hover { transform: translateY(-1px); }
.landing-send-btn svg { width: 0.9rem; height: 0.9rem; }
.landing-composer .chat-attachments-preview {
    padding: 0 0 0.5rem;
    background: transparent !important;
}
.landing-composer .chat-attach-chip {
    border-radius: 0.45rem;
    background: #21242a;
    border-color: rgba(255,255,255,0.12);
}
.landing-composer .chat-attach-menu {
    border-radius: 0.55rem;
    background: #181a1f;
}
.chat-card.is-file-drag::after {
    inset: 0.35rem !important;
    border-radius: 0.75rem !important;
    background: rgba(12,14,17,0.96) !important;
}
.world-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.05rem;
}
.world-switcher button {
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0 0.55rem;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 0.35rem;
    background: rgba(8,9,11,0.64);
    color: #a8abb0;
    font-size: 0.58rem;
    font-weight: 650;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.world-switcher button span { color: #6c7178; }
.world-switcher button:hover,
.world-switcher button.is-active {
    border-color: color-mix(in srgb, var(--signal) 48%, rgba(255,255,255,.2));
    background: rgba(8,9,11,0.9);
    color: #fff;
}
.world-switcher button.is-active span { color: var(--signal); }
.hero-scroll-cue {
    position: absolute;
    z-index: 12;
    left: 50%;
    bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d2d4d6;
    font-size: 0.65rem;
    transform: translateX(-50%);
}
.hero-scroll-cue svg { width: 0.9rem; height: 0.9rem; animation: scrollCue 1.5s ease-in-out infinite; }
@keyframes scrollCue { 50% { transform: translateY(0.3rem); } }

.kinetic-ribbon {
    overflow: hidden;
    min-height: 4.2rem;
    display: flex;
    align-items: center;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    background: var(--signal);
    color: var(--signal-ink);
    transition: background 240ms ease, color 240ms ease;
}
.kinetic-ribbon > div {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    white-space: nowrap;
    animation: ribbonMove 22s linear infinite;
}
.kinetic-ribbon span { font-size: 1.35rem; font-weight: 800; }
.kinetic-ribbon b { font-size: 1.4rem; font-weight: 400; }
@keyframes ribbonMove { to { transform: translateX(-50%); } }

.worlds-section { background: #f0efe9; color: #111215; }
.section-intro {
    min-height: 32rem;
    display: grid;
    grid-template-columns: minmax(8rem, 0.55fr) minmax(18rem, 1.25fr) minmax(16rem, 0.8fr);
    align-items: end;
    gap: 2rem;
    padding: 8rem max(2rem, calc((100vw - 82rem) / 2)) 5rem;
}
.section-intro > p,
.engine-heading > p {
    align-self: start;
    margin: 0;
    color: #5d6165;
    font-size: 0.67rem;
    font-weight: 700;
}
.section-intro h2,
.engine-heading h2 {
    margin: 0;
    font-size: 3.8rem;
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: 0;
}
.section-intro > span {
    max-width: 25rem;
    color: #55595d;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;
}
.world-story { position: relative; }
.story-chapter {
    position: sticky;
    top: 0;
    min-height: 100svh;
    overflow: hidden;
    background: #08090b;
    color: #fff;
}
.story-chapter img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
    transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter 500ms ease;
}
.story-chapter::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
    pointer-events: none;
}
.story-chapter.is-visible img { transform: scale(1); }
.story-caption {
    position: absolute;
    z-index: 2;
    left: 2rem;
    bottom: 2rem;
    width: min(30rem, calc(100% - 4rem));
    padding: 1rem 1.1rem;
    border-left: 0.28rem solid var(--chapter-signal, #c8ff38);
    background: rgba(8,9,11,0.9);
    backdrop-filter: blur(12px);
}
.story-caption span { color: var(--chapter-signal, #c8ff38); font-size: 0.62rem; font-weight: 750; }
.story-caption h3 { margin: 0.3rem 0 0.4rem; font-size: 2rem; line-height: 1; }
.story-caption p { margin: 0; color: #c4c7cb; font-size: 0.82rem; line-height: 1.5; }
.story-chapter--blackline { --chapter-signal: #c8ff38; }
.story-chapter--sundown { --chapter-signal: #ffd424; }
.story-chapter--forno { --chapter-signal: #d5ff18; }
.story-chapter--velvet { --chapter-signal: #9f8cff; }

.engine-section {
    min-height: 60rem;
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(30rem, 1.1fr);
    gap: 4rem;
    padding: 8rem max(2rem, calc((100vw - 78rem) / 2));
    background: #df482f;
    color: #17100e;
}
.engine-heading > p { color: rgba(23,16,14,0.62); }
.engine-heading h2 { margin-top: 5rem; font-size: 4rem; }
.engine-console {
    align-self: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 0.55rem;
    background: #111316;
    color: #eff1f2;
    box-shadow: 1.2rem 1.2rem 0 rgba(28,12,7,0.2);
    overflow: hidden;
}
.engine-console-top {
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #8e949c;
    font-size: 0.62rem;
    font-weight: 700;
}
.engine-console-top span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; }
.engine-console-top i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #c8ff38; box-shadow: 0 0 0 0.2rem rgba(200,255,56,0.12); }
.engine-request { display: grid; grid-template-columns: 3rem 1fr; gap: 0.8rem; padding: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.engine-request strong { color: #7d838b; font-size: 0.68rem; }
.engine-request p { margin: 0; font-size: 0.86rem; line-height: 1.55; }
.engine-steps { list-style: none; margin: 0; padding: 0.6rem 1.2rem; }
.engine-steps li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.65rem;
    padding: 0.75rem 0;
    color: #6f747b;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.engine-steps li > span { font-size: 0.62rem; font-weight: 700; }
.engine-steps strong { display: block; font-size: 0.75rem; font-weight: 600; }
.engine-steps small { display: block; margin-top: 0.2rem; color: #60656b; font-size: 0.61rem; }
.engine-steps li.is-done { color: #bdc1c6; }
.engine-steps li.is-done > span { color: #8daf3b; }
.engine-steps li.is-active { color: #fff; }
.engine-steps li.is-active > span { color: #c8ff38; }
.engine-steps li.is-active strong::after {
    content: '';
    width: 0.34rem;
    height: 0.34rem;
    display: inline-block;
    margin-left: 0.5rem;
    border-radius: 50%;
    background: #c8ff38;
    animation: activePulse 1.2s ease-in-out infinite;
}
@keyframes activePulse { 50% { opacity: 0.25; } }
.engine-result {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.55rem;
    padding: 0.9rem;
    border-radius: 0.4rem;
    background: #1b1e22;
}
.engine-result img { object-fit: contain; }
.engine-result p { margin: 0; color: #c9cdd1; font-size: 0.74rem; line-height: 1.55; }

.final-section {
    position: relative;
    min-height: 42rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #0a0b0d;
}
.final-photo { position: absolute; inset: 0; opacity: 0.24; }
.final-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.final-photo::after { content: ''; position: absolute; inset: 0; background: rgba(4,5,7,0.48); }
.final-content { position: relative; z-index: 2; max-width: 42rem; padding: 4rem 1rem; text-align: center; }
.final-content > img { object-fit: contain; }
.final-content h2 { margin: 0.8rem 0 0; font-size: 5rem; line-height: 1; }
.final-content p { max-width: 32rem; margin: 1rem auto 1.6rem; color: #c4c7ca; font-size: 0.95rem; line-height: 1.6; }
.final-content a {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 1rem;
    border-radius: 0.45rem;
    background: #f2f1ec;
    color: #111215;
    font-size: 0.76rem;
    font-weight: 750;
}
.final-content a svg { width: 1rem; height: 1rem; }
.landing-footer {
    min-height: 7rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    border-top: 1px solid var(--landing-line);
    background: #090a0c;
    color: #82878d;
    font-size: 0.66rem;
}
.landing-footer > a { color: #f2f3f4; font-weight: 800; }
.landing-footer > div { display: flex; gap: 1rem; }
.landing-footer > span { text-align: right; }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 700ms ease, transform 850ms cubic-bezier(.2,.8,.2,1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
    .landing-nav { grid-template-columns: 1fr auto; }
    .landing-nav-links { display: none; }
    .landing-menu-btn { display: inline-grid; place-items: center; }
    .landing-login, .landing-lang { display: none; }
    .hero-content h1 { font-size: 5rem; }
    .world-frame { width: 54rem; }
    .section-intro {
        grid-template-columns: 1fr 2fr;
        padding: 6rem 1.5rem 4rem;
    }
    .section-intro > span { grid-column: 2; }
    .engine-section { grid-template-columns: 1fr; min-height: 0; padding: 6rem 1.5rem; }
    .engine-heading h2 { margin-top: 2rem; }
}

@media (max-width: 700px) {
    .landing-nav {
        top: 0.45rem;
        left: 0.45rem;
        right: 0.45rem;
        height: 3.25rem;
    }
    .landing-brand span { font-size: 0.73rem; }
    .landing-start { min-height: 2.1rem; padding: 0 0.7rem; }
    .landing-hero { min-height: 94svh; height: 48rem; max-height: none; }
    .world-frame { width: 40rem; }
    .world-frame--blackline { transform: translate(-86%, 4%) rotate(-8deg) scale(0.62); }
    .world-frame--sundown { transform: translate(-16%, 1%) rotate(8deg) scale(0.58); }
    .world-frame--forno { top: 49%; transform: translate(-88%, 0) rotate(6deg) scale(0.52); }
    .world-frame--velvet { top: 49%; transform: translate(-8%, 0) rotate(-5deg) scale(0.52); }
    .world-frame.is-active { top: 11%; transform: translate(calc(-50% + var(--mx, 0px)), var(--my, 0px)) rotate(0) scale(0.72); opacity: 0.68; }
    .hero-solid-scrim { background: rgba(4,5,7,0.54); }
    .hero-content {
        width: calc(100% - 1rem);
        justify-content: flex-start;
        padding: 8.3rem 0 5rem;
    }
    .hero-content h1 { font-size: 3.55rem; }
    .hero-subtitle { max-width: 22rem; margin: 0.9rem auto 1.1rem; padding: 0 0.7rem; font-size: 0.8rem; }
    .landing-composer { width: 100%; padding: 0.65rem; border-radius: 0.85rem; }
    .landing-composer textarea { min-height: 5rem; font-size: 0.82rem; }
    .landing-quality { flex: 1; overflow: hidden; }
    .landing-quality span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .landing-send-btn span { display: none; }
    .landing-send-btn { width: 2.35rem; justify-content: center; padding: 0; }
    .world-switcher {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.22rem;
        margin-top: 0.75rem;
    }
    .world-switcher button { min-width: 0; justify-content: center; padding: 0; font-size: 0; }
    .world-switcher button span { font-size: 0.62rem; }
    .hero-scroll-cue { bottom: 0.8rem; width: max-content; }
    .kinetic-ribbon { min-height: 3.5rem; }
    .kinetic-ribbon span { font-size: 1rem; }
    .section-intro {
        min-height: 34rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 1.2rem;
        padding: 5rem 1rem 3rem;
    }
    .section-intro h2,
    .engine-heading h2 { font-size: 2.55rem; }
    .section-intro > span { max-width: 22rem; font-size: 0.82rem; }
    .story-chapter { min-height: 78svh; }
    .story-chapter img { object-position: center; }
    .story-caption { left: 0.7rem; right: 0.7rem; bottom: 0.7rem; width: auto; }
    .story-caption h3 { font-size: 1.55rem; }
    .engine-section { gap: 2.5rem; padding: 5rem 0.7rem; }
    .engine-heading { padding: 0 0.3rem; }
    .engine-console { box-shadow: 0.5rem 0.5rem 0 rgba(28,12,7,0.2); }
    .engine-request { grid-template-columns: 1fr; }
    .final-section { min-height: 36rem; }
    .final-content h2 { font-size: 3.5rem; }
    .landing-footer {
        grid-template-columns: 1fr auto;
        padding: 1.5rem 1rem;
    }
    .landing-footer > div { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-content h1 span,
    .kinetic-ribbon > div,
    .hero-scroll-cue svg,
    .engine-steps li.is-active strong::after { animation: none; }
    .world-frame,
    .reveal-on-scroll,
    .story-chapter img { transition: none; }
    .reveal-on-scroll { opacity: 1; transform: none; }
}
