:root {
    --jungle-950: #0d2114;
    --jungle-900: #153421;
    --jungle-850: #1c4229;
    --jungle-800: #275433;
    --jungle-700: #3c6840;
    --jungle-600: #5f833f;
    --jungle-500: #789b4d;
    --moss-400: #9db66b;
    --moss-300: #bed18b;
    --moss-200: #dce8b0;
    --lime-100: #eef4d4;
    --cream: #f8f2db;
    --paper: #fffdf2;
    --bark-900: #402b1b;
    --bark-700: #69492e;
    --bark-500: #8b643d;
    --orange-600: #c97438;
    --orange-500: #dc8c48;
    --orange-300: #efb56c;
    --danger: #a63e2f;
    --ink: #1b2e20;
    --ink-soft: #45604a;
    --ink-muted: #6f846e;
    --white: #ffffff;
    --black: #07120b;

    --border: rgba(21, 52, 33, 0.14);
    --border-strong: rgba(21, 52, 33, 0.28);
    --glass: rgba(255, 253, 242, 0.72);
    --glass-strong: rgba(255, 253, 242, 0.92);

    --font-display: "Luckiest Guy", Impact, "Arial Black", sans-serif;
    --font-body: "Nunito Sans", Arial, Helvetica, sans-serif;

    --container: 1180px;
    --header-height: 84px;
    --radius-xs: 10px;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --radius-xl: 52px;
    --shadow-soft: 0 22px 70px rgba(13, 33, 20, 0.12);
    --shadow-card: 0 18px 46px rgba(13, 33, 20, 0.14);
    --shadow-strong: 0 34px 100px rgba(7, 18, 11, 0.28);
    --transition: 280ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 28px);
    background: var(--paper);
}

body {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(190, 209, 139, 0.28), transparent 26rem),
        radial-gradient(circle at 90% 35%, rgba(239, 181, 108, 0.14), transparent 25rem),
        var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

body.menu-open,
body.dialog-open {
    overflow: hidden;
}

body,
main,
.site-header,
.site-footer,
.hero,
.section,
.gallery,
.legal-main {
    max-width: 100%;
}

.project-page,
.legal-page {
    min-height: 100%;
    isolation: isolate;
}

::selection {
    background: var(--moss-300);
    color: var(--jungle-950);
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

button,
a,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(201, 116, 56, 0.52);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 12px 18px;
    transform: translateY(-150%);
    background: var(--jungle-900);
    border-radius: var(--radius-xs);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 800;
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2200;
    height: 4px;
    pointer-events: none;
}

.scroll-progress span {
    width: 100%;
    height: 100%;
    display: block;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--moss-300), var(--orange-500), var(--jungle-600));
    box-shadow: 0 0 14px rgba(220, 140, 72, 0.5);
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    transform: translate3d(-50%, -50%, 0);
    background: radial-gradient(circle, rgba(190, 209, 139, 0.18), rgba(220, 140, 72, 0.07) 44%, transparent 72%);
    pointer-events: none;
    opacity: 0;
    will-change: transform;
}

.section-shell,
.header-shell,
.footer-shell,
.hero-shell {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

/* Cabeçalho */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2000;
    padding-top: env(safe-area-inset-top);
    background: rgba(255, 253, 242, 0.86);
    border-bottom: 1px solid rgba(21, 52, 33, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
    background: rgba(255, 253, 242, 0.96);
    border-color: var(--border);
    box-shadow: 0 12px 36px rgba(13, 33, 20, 0.08);
}

.header-shell {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--jungle-900);
    transition: transform var(--transition), color var(--transition);
}

.brand:hover {
    transform: translateY(-2px);
    color: var(--orange-600);
}

.brand-leaf {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: var(--jungle-900);
    border-radius: 50%;
    color: var(--moss-200);
}

.brand-leaf svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.brand-leaf path:last-child {
    fill: none;
    stroke: var(--orange-300);
    stroke-width: 2;
    stroke-linecap: round;
}

.brand-name {
    min-width: 0;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.7vw, 1.55rem);
    line-height: 1;
    letter-spacing: 0.015em;
    white-space: nowrap;
}

.site-menu {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(20px, 3vw, 46px);
}

.global-navigation {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 28px);
}

.global-navigation a {
    position: relative;
    padding: 10px 0;
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.global-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--orange-500);
    border-radius: 999px;
    transition: transform var(--transition);
}

.global-navigation a:hover {
    color: var(--jungle-900);
}

.global-navigation a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(21, 52, 33, 0.2);
    border-radius: 50%;
    color: var(--ink-soft);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    pointer-events: none;
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-3px);
}

.social-link-linkedin:hover,
.social-link-linkedin:focus-visible {
    color: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.2);
}

.social-link-instagram:hover,
.social-link-instagram:focus-visible {
    color: #c13584;
    border-color: #c13584;
    box-shadow: 0 8px 20px rgba(193, 53, 132, 0.2);
}

.social-link-github:hover,
.social-link-github:focus-visible {
    color: #f97316;
    border-color: #f97316;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}

.social-link-whatsapp:hover,
.social-link-whatsapp:focus-visible {
    color: #25d366;
    border-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.social-link-share:hover,
.social-link-share:focus-visible {
    color: var(--orange-600);
    border-color: var(--orange-600);
    box-shadow: 0 8px 20px rgba(201, 116, 56, 0.2);
}

.header-back {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--jungle-900);
    border: 1px solid var(--jungle-900);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.header-back:hover {
    transform: translateY(-2px);
    background: var(--orange-600);
    border-color: var(--orange-600);
}

.header-back svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-toggle {
    display: none;
}

/* Navegação lateral */
.section-rail {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 1500;
    display: grid;
    gap: 8px;
    transform: translateY(-50%);
}

.section-rail a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    color: rgba(21, 52, 33, 0.5);
    font-size: 0.59rem;
    font-weight: 900;
    transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}

.section-rail a:hover,
.section-rail a.is-active {
    color: var(--jungle-900);
    border-color: var(--orange-500);
    background: rgba(255, 253, 242, 0.86);
    transform: scale(1.08);
}

/* Tipografia e elementos comuns */
.section {
    position: relative;
    padding-block: clamp(88px, 10vw, 148px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange-600);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.section-heading {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(44px, 6vw, 78px);
}

.section-heading h2,
.legal-hero h1,
.legal-content h2,
.closing-content h2 {
    color: var(--jungle-900);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.02;
}

.section-heading h2 {
    margin-top: 16px;
    font-size: clamp(2.6rem, 6.2vw, 5.4rem);
}

.section-heading h2 em,
.closing-content h2 em {
    color: var(--orange-600);
    font-style: normal;
}

.section-heading p {
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.3vw, 1.13rem);
    line-height: 1.85;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: end;
    gap: clamp(38px, 7vw, 92px);
}

.split-heading > * {
    min-width: 0;
}

.centered-heading {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}

.centered-heading .eyebrow {
    justify-content: center;
}

.centered-heading p {
    max-width: 650px;
    margin: 22px auto 0;
}

.button {
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-align: center;
    text-transform: uppercase;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-4px);
}

.button-primary {
    background: var(--orange-500);
    color: var(--jungle-950);
    box-shadow: 0 16px 34px rgba(201, 116, 56, 0.24);
}

.button-primary:hover {
    background: var(--orange-300);
    box-shadow: 0 20px 44px rgba(201, 116, 56, 0.32);
}

.button-secondary {
    background: rgba(255, 253, 242, 0.12);
    border-color: rgba(255, 255, 255, 0.36);
    color: var(--white);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.68);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top));
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--jungle-900);
    color: var(--white);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 18, 11, 0.9) 0%, rgba(13, 33, 20, 0.72) 42%, rgba(13, 33, 20, 0.2) 100%),
        linear-gradient(180deg, transparent 55%, rgba(7, 18, 11, 0.72) 100%),
        url("../assets/imagens/projetos/run-snack-run/jungle-background.webp") center / cover no-repeat;
    transform: scale(1.05);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 26%, rgba(238, 244, 212, 0.28), transparent 24rem),
        linear-gradient(180deg, rgba(13, 33, 20, 0.04), rgba(13, 33, 20, 0.72));
}

.hero-vines {
    position: absolute;
    z-index: 1;
    width: 420px;
    height: 420px;
    border: 2px solid rgba(190, 209, 139, 0.22);
    border-radius: 46% 54% 58% 42%;
    pointer-events: none;
}

.hero-vines::before,
.hero-vines::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(239, 181, 108, 0.22);
    border-radius: 50%;
}

.hero-vines::before {
    inset: 46px;
}

.hero-vines::after {
    inset: 94px;
}

.hero-vines-left {
    top: 10%;
    left: -260px;
    transform: rotate(32deg);
}

.hero-vines-right {
    right: -260px;
    bottom: -90px;
    transform: rotate(-18deg);
}

.hero-shell {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
    align-items: center;
    gap: clamp(44px, 7vw, 90px);
    padding-block: clamp(82px, 11vh, 130px);
}

.hero-copy,
.hero-visual {
    min-width: 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: var(--moss-200);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--orange-500);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(220, 140, 72, 0.12);
}

.hero-title {
    margin-top: 24px;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: clamp(4rem, 9.5vw, 8.4rem);
    font-weight: 400;
    letter-spacing: 0.015em;
    line-height: 0.76;
    text-shadow:
        0 6px 0 rgba(64, 43, 27, 0.9),
        0 12px 24px rgba(7, 18, 11, 0.38);
}

.hero-title span {
    display: block;
}

.hero-title-accent {
    color: var(--orange-300);
}

.hero-tagline {
    max-width: 650px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.08rem, 2.1vw, 1.45rem);
    line-height: 1.55;
}

.hero-tagline strong {
    color: var(--moss-200);
    font-weight: 900;
}

.hero-status {
    margin-top: 24px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cream);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.availability > span {
    width: 10px;
    height: 10px;
    background: #7fe16b;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(127, 225, 107, 0.12), 0 0 18px rgba(127, 225, 107, 0.6);
}

.download-links {
    width: 100%;
    max-width: 414px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.download-button {
    width: 130px;
    height: 40px;
    flex: 0 0 130px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    box-shadow: 0 10px 24px rgba(7, 18, 11, 0.14);
    transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(7, 18, 11, 0.20);
}

.download-button:active {
    transform: translateY(-1px);
}

.download-button img {
    width: 130px;
    height: 40px;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.hero-technologies {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-technologies span {
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.7rem;
    font-weight: 800;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: min(100%, 470px);
}

.poster-card {
    position: relative;
    width: min(100%, 410px);
    aspect-ratio: 410 / 580;
    margin-left: auto;
    padding: 12px;
    background: linear-gradient(145deg, rgba(238, 244, 212, 0.36), rgba(220, 140, 72, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 32px;
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
    transform-style: preserve-3d;
    will-change: transform;
}

.poster-art {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 23px;
}

.logo-badge {
    position: absolute;
    top: 26px;
    right: 22px;
    left: 22px;
    min-height: 86px;
    display: grid;
    place-items: center;
    padding: 10px 16px;
    background: rgba(238, 244, 212, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.logo-badge img {
    max-width: 90%;
    max-height: 80px;
    object-fit: contain;
}

.image-fallback {
    display: none;
}

.image-fallback.is-visible {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 18px;
    background:
        radial-gradient(circle at 50% 20%, rgba(190, 209, 139, 0.26), transparent 10rem),
        linear-gradient(145deg, var(--jungle-850), var(--jungle-950));
    color: var(--cream);
    text-align: center;
}

.image-fallback strong {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-weight: 400;
}

.image-fallback small {
    color: var(--moss-300);
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-mascot {
    position: absolute;
    right: -64px;
    bottom: -30px;
    z-index: 3;
    width: clamp(118px, 14vw, 190px);
    filter: drop-shadow(0 22px 24px rgba(7, 18, 11, 0.32));
    animation: mascotFloat 4.6s ease-in-out infinite;
}

.hero-score {
    position: absolute;
    top: 42%;
    left: -72px;
    z-index: 4;
    padding: 13px 15px;
    transform: rotate(-8deg);
    background: var(--cream);
    border: 3px solid var(--bark-700);
    border-radius: 14px;
    color: var(--jungle-900);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    box-shadow: 0 14px 34px rgba(7, 18, 11, 0.25);
}

.hero-score strong {
    display: block;
    margin-top: 2px;
    color: var(--orange-600);
    font-size: 1.08rem;
    letter-spacing: 0.04em;
}

.scroll-cue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 5;
    display: grid;
    justify-items: center;
    gap: 7px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.scroll-cue i {
    width: 1px;
    height: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
}

.scroll-cue i::after {
    content: "";
    width: 100%;
    height: 50%;
    display: block;
    background: var(--orange-300);
    animation: cueDrop 1.8s ease-in-out infinite;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes cueDrop {
    0% { transform: translateY(-110%); }
    100% { transform: translateY(220%); }
}

/* Sobre */
.about {
    background: var(--paper);
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.75fr));
    gap: 18px;
}

.story-feature,
.story-card,
.concept-card,
.audience-card,
.objective-card,
.resource-card,
.challenge-card {
    min-width: 0;
    overflow-wrap: anywhere;
}

.story-feature,
.story-card {
    position: relative;
    padding: clamp(26px, 3vw, 38px);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.story-feature {
    background:
        radial-gradient(circle at 85% 10%, rgba(190, 209, 139, 0.32), transparent 16rem),
        linear-gradient(145deg, var(--jungle-900), var(--jungle-800));
    color: var(--white);
}

.card-index {
    color: var(--orange-500);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.story-feature h3,
.story-card h3,
.concept-card h3,
.audience-card h3,
.objective-card h3,
.resource-card h3,
.privacy-card h3,
.challenge-card h3 {
    margin-top: 18px;
    color: var(--jungle-900);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.25;
}

.story-feature h3 {
    color: var(--cream);
}

.story-feature p,
.story-card p,
.concept-card p,
.audience-card p,
.objective-card p,
.resource-card p,
.privacy-card p,
.challenge-card p {
    margin-top: 15px;
    color: var(--ink-soft);
    line-height: 1.8;
}

.story-feature p {
    color: rgba(255, 255, 255, 0.76);
}

.concepts-block {
    margin-top: clamp(72px, 9vw, 120px);
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(40px, 7vw, 90px);
}

.concepts-intro h2 {
    margin-top: 16px;
    color: var(--jungle-900);
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 4.8vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.concept-card {
    padding: 26px;
    background: rgba(238, 244, 212, 0.52);
    border: 1px solid rgba(95, 131, 63, 0.2);
    border-radius: var(--radius-md);
}

.concept-card > span {
    color: var(--orange-600);
    font-size: 0.7rem;
    font-weight: 900;
}

/* Público e diferenciais */
.audience {
    overflow: hidden;
    background: var(--lime-100);
}

.leaf-noise {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(238, 244, 212, 0.82), rgba(238, 244, 212, 0.82)),
        url("../assets/imagens/projetos/run-snack-run/jungle-background.webp") center / cover fixed;
    opacity: 0.18;
}

.audience .section-shell {
    position: relative;
    z-index: 2;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.audience-card {
    padding: clamp(26px, 3vw, 38px);
    background: rgba(255, 253, 242, 0.86);
    border: 1px solid rgba(21, 52, 33, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.audience-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: var(--jungle-900);
    border-radius: 50% 42% 52% 46%;
    color: var(--moss-200);
    font-family: var(--font-display);
    font-size: 1rem;
}

.objective-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.objective-card {
    padding: clamp(30px, 4vw, 48px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.objective-card-accent {
    background: linear-gradient(145deg, var(--orange-500), var(--orange-300));
    border-color: transparent;
}

.objective-card-accent .eyebrow,
.objective-card-accent h3,
.objective-card-accent p {
    color: var(--jungle-950);
}

.objective-card-accent .eyebrow::before {
    background: var(--jungle-950);
}

.modes-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mode-card {
    position: relative;
    min-height: 285px;
    padding: clamp(28px, 3.5vw, 42px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.mode-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: transform 500ms ease;
}

.mode-card:hover::before {
    transform: scale(1.06);
}

.mode-standard::before {
    background: linear-gradient(180deg, rgba(21, 52, 33, 0.12), rgba(21, 52, 33, 0.9)), url("../assets/imagens/projetos/run-snack-run/stats.webp") center / cover;
}

.mode-infinite::before {
    background: linear-gradient(180deg, rgba(64, 43, 27, 0.12), rgba(64, 43, 27, 0.94)), url("../assets/imagens/projetos/run-snack-run/options.webp") center 58% / cover;
}

.mode-survival::before {
    background: linear-gradient(180deg, rgba(166, 62, 47, 0.08), rgba(87, 31, 24, 0.94)), url("../assets/imagens/projetos/run-snack-run/records.webp") center 35% / cover;
}

.mode-card > span {
    color: var(--orange-300);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mode-card h3 {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 400;
    line-height: 1;
}

.mode-card p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

/* Recursos */
.resources {
    background: var(--paper);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.resource-card {
    position: relative;
    min-height: 320px;
    padding: clamp(28px, 4vw, 44px);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 116, 56, 0.34);
    box-shadow: var(--shadow-card);
}

.resource-number {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(21, 52, 33, 0.1);
    font-family: var(--font-display);
    font-size: 4.8rem;
    line-height: 1;
}

.resource-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    background: var(--lime-100);
    border-radius: 18px;
    color: var(--jungle-700);
}

.resource-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.resource-card h3 {
    margin-top: 34px;
}

.stack-strip {
    margin-top: 20px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--jungle-900);
    border-radius: var(--radius-md);
    color: var(--white);
}

.stack-strip > span {
    color: var(--orange-300);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.stack-strip > div {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.stack-strip strong {
    font-size: 0.82rem;
}

/* Privacidade */
.privacy {
    min-height: 780px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--jungle-950);
    color: var(--white);
}

.privacy-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 18, 11, 0.96), rgba(7, 18, 11, 0.72)),
        url("../assets/imagens/projetos/run-snack-run/jungle-background.webp") center / cover;
    opacity: 0.72;
}

.privacy-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(44px, 8vw, 110px);
    align-items: center;
}

.privacy-copy h2 {
    margin-top: 16px;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 400;
    line-height: 1.02;
}

.privacy-copy h2 em {
    color: var(--orange-300);
    font-style: normal;
}

.privacy-copy > p {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.85;
}

.privacy-cards {
    display: grid;
    gap: 18px;
}

.privacy-card {
    padding: clamp(28px, 4vw, 44px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.privacy-card > span {
    color: var(--orange-300);
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.privacy-card h3 {
    color: var(--cream);
}

.privacy-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Galeria */
.gallery {
    background:
        radial-gradient(circle at 15% 12%, rgba(190, 209, 139, 0.24), transparent 24rem),
        var(--paper);
}

.gallery-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    align-items: end;
    gap: 42px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 26px);
    align-items: start;
}

.screen-card {
    min-width: 0;
    grid-column: span 2;
}

.screen-card-featured {
    grid-row: span 2;
}

.screen-card-wide {
    grid-column: 2 / span 4;
}

.screen-open {
    position: relative;
    width: 100%;
    padding: 10px;
    overflow: hidden;
    display: block;
    background: linear-gradient(145deg, var(--bark-900), var(--jungle-950));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: clamp(24px, 3vw, 38px);
    cursor: zoom-in;
    box-shadow: 0 24px 60px rgba(13, 33, 20, 0.18);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.screen-open:hover {
    transform: translateY(-8px) rotate(-0.6deg);
    border-color: rgba(220, 140, 72, 0.48);
    box-shadow: 0 32px 74px rgba(13, 33, 20, 0.25);
}

.screen-open > img,
.screen-open > .image-fallback {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    object-position: center;
    border-radius: clamp(18px, 2.4vw, 29px);
}

.screen-card-wide .screen-open > img,
.screen-card-wide .screen-open > .image-fallback {
    aspect-ratio: 16 / 9;
}

.screen-open .image-fallback {
    min-height: 320px;
}

.zoom-hint {
    position: absolute;
    right: 22px;
    bottom: 22px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transform: translateY(10px);
    background: rgba(7, 18, 11, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.66rem;
    font-weight: 900;
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
}

.zoom-hint svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.screen-open:hover .zoom-hint,
.screen-open:focus-visible .zoom-hint {
    transform: translateY(0);
    opacity: 1;
}

.screen-card figcaption {
    margin-top: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 0.74rem;
}

.screen-card figcaption span {
    color: var(--orange-600);
    font-weight: 900;
}

.screen-card figcaption strong {
    font-weight: 800;
}

/* Desafios */
.challenges {
    background: var(--lime-100);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.challenge-card {
    padding: clamp(28px, 4vw, 44px);
    background: rgba(255, 253, 242, 0.92);
    border: 1px solid rgba(21, 52, 33, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.challenge-card:hover {
    transform: translateY(-7px);
    border-color: rgba(95, 131, 63, 0.4);
    box-shadow: var(--shadow-card);
}

.challenge-card-accent {
    background: linear-gradient(145deg, var(--jungle-900), var(--jungle-700));
    border-color: transparent;
}

.challenge-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.challenge-topline > span {
    color: var(--orange-600);
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.challenge-topline svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--jungle-600);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.challenge-card-accent .challenge-topline > span,
.challenge-card-accent .challenge-topline svg {
    color: var(--orange-300);
    stroke: var(--orange-300);
}

.challenge-card-accent h3 {
    color: var(--cream);
}

.challenge-card-accent p {
    color: rgba(255, 255, 255, 0.72);
}

/* CTA final */
.closing-cta {
    position: relative;
    min-height: 650px;
    padding-block: clamp(100px, 14vw, 170px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--jungle-950);
    color: var(--white);
}

.closing-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 18, 11, 0.94), rgba(7, 18, 11, 0.62)),
        url("../assets/imagens/projetos/run-snack-run/jungle-background.webp") center / cover;
    opacity: 0.9;
}

.closing-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin-left: max(0px, calc((100vw - var(--container)) / 2));
}

.closing-content h2 {
    margin-top: 18px;
    color: var(--cream);
    font-size: clamp(3.1rem, 7vw, 6rem);
}

.closing-content p {
    max-width: 600px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.closing-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.closing-mascot {
    position: absolute;
    right: clamp(30px, 8vw, 130px);
    bottom: -22px;
    z-index: 2;
    width: clamp(190px, 24vw, 350px);
    filter: drop-shadow(0 28px 36px rgba(7, 18, 11, 0.48));
}

/* Rodapé */
.site-footer {
    background: #07120b;
    color: rgba(255, 255, 255, 0.72);
}

.footer-shell {
    padding-block: 46px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: start;
}

.footer-brand .brand-name {
    color: var(--cream);
}

.footer-brand p {
    margin-top: 8px;
    font-size: 0.84rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 22px;
}

.footer-links a {
    font-size: 0.76rem;
    font-weight: 800;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--orange-300);
}

.footer-copy {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.74rem;
}

/* Visualizador de imagens */
.screen-viewer {
    width: min(calc(100% - 28px), 1180px);
    max-width: none;
    height: min(94svh, 980px);
    max-height: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    color: var(--ink);
}

.screen-viewer::backdrop,
.share-dialog::backdrop {
    background: rgba(7, 18, 11, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.screen-viewer-panel {
    width: 100%;
    height: 100%;
    padding: 16px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: linear-gradient(145deg, var(--cream), var(--lime-100));
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    box-shadow: 0 42px 120px rgba(7, 18, 11, 0.55);
}

.screen-viewer-header {
    padding: 3px 4px 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.screen-viewer-header span,
.share-dialog-header span {
    color: var(--orange-600);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.screen-viewer-header h2,
.share-dialog-header h2 {
    margin-top: 4px;
    color: var(--jungle-900);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 4vw, 2.45rem);
    font-weight: 400;
    line-height: 1;
}

.screen-viewer-close,
.screen-viewer-toolbar button,
.share-dialog-header button {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.screen-viewer-close:hover,
.screen-viewer-toolbar button:hover:not(:disabled),
.share-dialog-header button:hover {
    transform: translateY(-2px);
    background: var(--white);
    border-color: var(--orange-500);
}

.screen-viewer-close svg,
.screen-viewer-toolbar svg,
.share-dialog-header svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.screen-viewer-toolbar {
    padding: 0 4px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.screen-viewer-toolbar button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.screen-viewer-toolbar output {
    min-width: 64px;
    color: var(--jungle-900);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.screen-viewer-toolbar .screen-viewer-reset {
    width: auto;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.screen-viewer-image-wrapper {
    position: relative;
    min-height: 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        linear-gradient(45deg, rgba(21, 52, 33, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(21, 52, 33, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(21, 52, 33, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(21, 52, 33, 0.05) 75%),
        rgba(255, 255, 255, 0.62);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    border: 1px solid var(--border);
    border-radius: 22px;
    touch-action: none;
    cursor: zoom-in;
}

.screen-viewer-image-wrapper.is-zoomed {
    cursor: grab;
}

.screen-viewer-image-wrapper.is-dragging {
    cursor: grabbing;
}

.screen-viewer-image-wrapper img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
}

.screen-viewer-caption {
    padding: 12px 4px 2px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 800;
}

.screen-viewer-caption small {
    color: var(--ink-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

/* Compartilhamento */
.share-dialog {
    width: min(calc(100% - 28px), 520px);
    max-width: none;
    padding: 22px;
    background: linear-gradient(145deg, var(--cream), var(--lime-100));
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: 0 40px 120px rgba(7, 18, 11, 0.5);
}

.share-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.share-options {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.share-options a,
.share-options button {
    min-height: 54px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--jungle-900);
    font-weight: 900;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.share-options a:hover,
.share-options button:hover {
    transform: translateX(4px);
    background: var(--white);
    border-color: var(--orange-500);
}

.share-options svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-feedback {
    min-height: 22px;
    margin-top: 12px;
    color: var(--jungle-700);
    font-size: 0.75rem;
    font-weight: 800;
}

/* Páginas legais */
.legal-page {
    background: var(--paper);
}

.legal-main {
    padding-top: calc(var(--header-height) + 48px);
}

.legal-hero {
    position: relative;
    padding-block: clamp(74px, 9vw, 120px);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 18, 11, 0.92), rgba(7, 18, 11, 0.6)),
        url("../assets/imagens/projetos/run-snack-run/jungle-background.webp") center / cover;
    color: var(--white);
}

.legal-hero .section-shell {
    position: relative;
    z-index: 2;
}

.legal-hero h1 {
    max-width: 800px;
    margin-top: 18px;
    color: var(--cream);
    font-size: clamp(3rem, 8vw, 6.2rem);
}

.legal-hero p {
    max-width: 720px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

.legal-content {
    width: min(calc(100% - 48px), 900px);
    margin-inline: auto;
    padding-block: clamp(70px, 9vw, 120px);
}

.legal-content section + section {
    margin-top: 46px;
}

.legal-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.legal-content p,
.legal-content li {
    color: var(--ink-soft);
    line-height: 1.85;
}

.legal-content p {
    margin-top: 14px;
}

.legal-content ul {
    margin-top: 14px;
    padding-left: 22px;
}

.legal-content li + li {
    margin-top: 9px;
}

.legal-updated {
    margin-top: 18px;
    color: var(--orange-600) !important;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Responsividade */
@media (max-width: 1160px) {
    .site-menu {
        gap: 18px;
    }

    .global-navigation {
        gap: 13px;
    }

    .global-navigation a {
        font-size: 0.68rem;
    }

    .social-link {
        width: 34px;
        height: 34px;
    }

    .header-back {
        padding-inline: 13px;
    }

    .section-rail {
        display: none;
    }

    .hero-mascot {
        right: -18px;
    }

    .hero-score {
        left: -34px;
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 76px;
    }

    .header-shell,
    .section-shell,
    .footer-shell,
    .hero-shell {
        width: min(calc(100% - 34px), var(--container));
    }

    .menu-toggle {
        position: relative;
        z-index: 4;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        background: var(--jungle-900);
        border-radius: 50%;
        cursor: pointer;
    }

    .menu-toggle span {
        position: absolute;
        width: 19px;
        height: 2px;
        background: var(--cream);
        border-radius: 999px;
        transition: transform var(--transition), opacity var(--transition);
    }

    .menu-toggle span:first-child {
        transform: translateY(-4px);
    }

    .menu-toggle span:last-child {
        transform: translateY(4px);
    }

    .menu-toggle.is-open span:first-child {
        transform: rotate(45deg);
    }

    .menu-toggle.is-open span:last-child {
        transform: rotate(-45deg);
    }

    .site-menu {
        position: fixed;
        top: calc(var(--header-height) + env(safe-area-inset-top));
        right: 12px;
        left: 12px;
        max-height: calc(100svh - var(--header-height) - env(safe-area-inset-top) - 24px);
        padding: 22px;
        overflow-y: auto;
        display: grid;
        align-content: start;
        gap: 20px;
        transform: translateY(-16px) scale(0.98);
        transform-origin: top center;
        background: rgba(255, 253, 242, 0.98);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--shadow-strong);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    }

    .site-menu.is-open {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .global-navigation {
        display: grid;
        gap: 2px;
    }

    .global-navigation a {
        padding: 13px 4px;
        border-bottom: 1px solid var(--border);
        font-size: 0.78rem;
    }

    .global-navigation a::after {
        display: none;
    }

    .header-actions {
        display: grid;
        gap: 16px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .header-back {
        width: 100%;
        justify-content: center;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-block: 110px 90px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-title {
        font-size: clamp(4rem, 15vw, 7rem);
    }

    .hero-visual {
        justify-self: center;
        width: min(78vw, 450px);
    }

    .poster-card {
        margin-inline: auto;
    }

    .hero-score {
        left: -20px;
    }

    .hero-mascot {
        right: -20px;
    }

    .scroll-cue {
        display: none;
    }

    .split-heading,
    .gallery-heading,
    .concepts-block,
    .privacy-shell {
        grid-template-columns: 1fr;
    }

    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-feature {
        grid-column: 1 / -1;
    }

    .concepts-block {
        gap: 34px;
    }

    .audience-grid,
    .modes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audience-grid > :last-child,
    .modes-grid > :last-child {
        grid-column: 1 / -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .screen-card {
        grid-column: span 2;
    }

    .screen-card-wide {
        grid-column: 1 / -1;
    }

    .privacy {
        min-height: auto;
    }

    .privacy-shell {
        gap: 36px;
    }

    .closing-mascot {
        right: -30px;
        width: 240px;
        opacity: 0.82;
    }

    .closing-content {
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .section-shell,
    .header-shell,
    .footer-shell,
    .hero-shell,
    .legal-content {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-name {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero {
        min-height: auto;
    }

    .hero-shell {
        padding-top: 92px;
    }

    .hero-title {
        font-size: clamp(3.65rem, 19vw, 6.2rem);
        line-height: 0.8;
    }

    .hero-tagline br {
        display: none;
    }

    .hero-actions,
    .closing-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        width: min(92vw, 430px);
    }

    .hero-mascot {
        right: -4px;
        width: 130px;
    }

    .hero-score {
        top: auto;
        bottom: 25%;
        left: -4px;
    }

    .story-grid,
    .concepts-grid,
    .audience-grid,
    .objective-grid,
    .modes-grid,
    .resources-grid,
    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid > :last-child,
    .modes-grid > :last-child {
        grid-column: auto;
    }

    .mode-card {
        min-height: 250px;
    }

    .stack-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .stack-strip > div {
        justify-content: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screen-card,
    .screen-card-wide {
        grid-column: span 1;
    }

    .screen-card-wide {
        grid-column: 1 / -1;
    }

    .screen-card-wide .screen-open > img,
    .screen-card-wide .screen-open > .image-fallback {
        aspect-ratio: 9 / 19.5;
    }

    .screen-open {
        padding: 7px;
        border-radius: 24px;
    }

    .screen-open > img,
    .screen-open > .image-fallback {
        border-radius: 18px;
    }

    .zoom-hint {
        right: 14px;
        bottom: 14px;
        opacity: 1;
        transform: none;
    }

    .closing-cta {
        min-height: 700px;
        align-items: flex-start;
    }

    .closing-content {
        padding-bottom: 210px;
    }

    .closing-mascot {
        right: 50%;
        bottom: -24px;
        width: 230px;
        transform: translateX(50%);
    }

    .footer-shell {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .screen-viewer {
        width: calc(100% - 14px);
        height: 96svh;
    }

    .screen-viewer-panel {
        padding: 10px;
        border-radius: 22px;
    }

    .screen-viewer-header {
        padding-bottom: 9px;
    }

    .screen-viewer-header h2 {
        font-size: 1.45rem;
    }

    .screen-viewer-close,
    .screen-viewer-toolbar button {
        width: 38px;
        height: 38px;
    }

    .screen-viewer-toolbar {
        padding-bottom: 9px;
    }

    .screen-viewer-toolbar .screen-viewer-reset {
        padding-inline: 12px;
    }

    .screen-viewer-caption {
        display: grid;
        gap: 2px;
        text-align: center;
    }

    .legal-main {
        padding-top: var(--header-height);
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }

    .header-shell,
    .section-shell,
    .footer-shell,
    .hero-shell,
    .legal-content {
        width: min(calc(100% - 22px), var(--container));
    }

    .brand {
        gap: 7px;
    }

    .brand-leaf {
        width: 34px;
        height: 34px;
    }

    .brand-name {
        max-width: 150px;
        font-size: 1rem;
    }

    .site-menu {
        right: 8px;
        left: 8px;
        padding: 18px;
    }

    .social-links {
        gap: 7px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .section {
        padding-block: 76px;
    }

    .section-heading h2 {
        font-size: clamp(2.35rem, 13vw, 3.5rem);
    }

    .hero-shell {
        padding-top: 76px;
    }

    .hero-title {
        font-size: clamp(3.35rem, 20vw, 5rem);
    }

    .hero-visual {
        width: min(88vw, 370px);
    }

    .poster-card {
        padding: 8px;
        border-radius: 25px;
    }

    .poster-art {
        border-radius: 18px;
    }

    .logo-badge {
        top: 18px;
        right: 16px;
        left: 16px;
    }

    .hero-mascot {
        width: 108px;
    }

    .hero-score {
        display: none;
    }

    .story-feature,
    .story-card,
    .concept-card,
    .audience-card,
    .objective-card,
    .resource-card,
    .privacy-card,
    .challenge-card {
        padding: 24px;
        border-radius: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .screen-card,
    .screen-card-wide {
        width: min(86vw, 330px);
        margin-inline: auto;
        grid-column: auto;
    }

    .screen-card-wide .screen-open > img,
    .screen-card-wide .screen-open > .image-fallback {
        aspect-ratio: 9 / 19.5;
    }

    .screen-card figcaption {
        justify-content: center;
    }

    .challenge-card:hover,
    .resource-card:hover,
    .screen-open:hover {
        transform: none;
    }

    .closing-content h2 {
        font-size: clamp(2.8rem, 15vw, 4.2rem);
    }

    .share-dialog {
        width: calc(100% - 14px);
        padding: 16px;
        border-radius: 22px;
    }
}

@media (hover: none), (pointer: coarse) {
    .cursor-glow {
        display: none;
    }

    .magnetic {
        transform: none !important;
    }

    .poster-card {
        transform: rotate(1deg) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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