/* =====================================================================
   Mr Ratsy — watercolor picture-book marketing site
   ===================================================================== */

:root {
    --bg:        #FFF7EC;
    --bg-alt:    #FBEEDB;
    --bg-sky:    #DEF1F8;
    --bg-sky-2:  #BFE3F0;
    --bg-peach:  #FBE0D2;
    --bg-peach-2:#F8C9B7;
    --bg-mint:   #DEEFE2;
    --bg-mint-2: #BFE4CC;
    --bg-rose:   #FBDCE3;
    --bg-rose-2: #F4B3C2;
    --bg-butter: #FBEEA8;
    --bg-butter-2:#F7DC8A;

    --ink:       #3D2E55;
    --ink-soft:  #6B5B83;
    --ink-mute:  #9889A8;
    --rule:      #E8DCC6;

    --accent:    #F26A5A;
    --accent-hi: #D04A38;
    --accent-soft:#F8B7AB;

    --serif:  "Fraunces", "Cormorant Garamond", Georgia, serif;
    --sans:   "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --hand:   "Caveat", "Bradley Hand", cursive;

    --col:        720px;
    --col-wide:   980px;
    --col-shell:  1100px;

    --r-pill:   999px;
    --r-card:   24px;
    --r-soft:   14px;

    --shadow-soft: 0 18px 48px -22px rgba(61, 46, 85, .25),
                   0 6px 18px -10px rgba(242, 106, 90, .18);
    --shadow-cover: 0 30px 60px -30px rgba(61, 46, 85, .35),
                    0 18px 30px -18px rgba(242, 106, 90, .25),
                    0 4px 12px -6px rgba(61, 46, 85, .18);
    --shadow-btn:  0 6px 14px -6px rgba(242, 106, 90, .55),
                   0 2px 4px -2px rgba(61, 46, 85, .25);
}

/* ---------------------------------------------------------------------
   Reset-ish + base
   --------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 12% 8%,  rgba(191, 227, 240, .55) 0%, transparent 32%),
        radial-gradient(ellipse at 88% 22%, rgba(248, 201, 183, .55) 0%, transparent 30%),
        radial-gradient(ellipse at 4% 88%,  rgba(191, 228, 204, .45) 0%, transparent 28%),
        radial-gradient(ellipse at 96% 92%, rgba(247, 220, 138, .45) 0%, transparent 26%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .06;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.18 0 0 0 0 0.33 0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    z-index: 0;
}

main { position: relative; z-index: 1; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: underline;
    text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------------------------------------------------------------------
   Decorative sky layer (clouds + sparkles drifting in the background)
   --------------------------------------------------------------------- */

.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.sky .cloud { position: absolute; color: var(--bg-sky-2); opacity: .55; }
.sky .cloud-1 { top: 8vh;  left: -4vw;  width: 200px; height: 92px;
    animation: drift-r 60s ease-in-out infinite; }
.sky .cloud-2 { top: 32vh; right: -3vw; width: 150px; height: 70px;
    color: var(--bg-rose-2); opacity: .45;
    animation: drift-l 70s ease-in-out infinite; }
.sky .cloud-3 { bottom: 14vh; left: 6vw; width: 180px; height: 84px;
    color: var(--bg-mint-2); opacity: .5;
    animation: drift-r 90s ease-in-out infinite; }

.sky .sparkle { position: absolute; color: var(--bg-butter-2); opacity: .8; }
.sky .sparkle-1 { top: 18vh; left: 18vw; width: 22px; height: 22px;
    animation: twinkle 4.5s ease-in-out infinite; }
.sky .sparkle-2 { top: 44vh; right: 12vw; width: 18px; height: 18px;
    animation: twinkle 5.5s ease-in-out infinite .6s; }
.sky .sparkle-3 { bottom: 22vh; right: 28vw; width: 26px; height: 26px;
    animation: twinkle 7s ease-in-out infinite 1.2s; }

@keyframes drift-r {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(60px); }
}
@keyframes drift-l {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(-50px); }
}
@keyframes twinkle {
    0%, 100% { opacity: .25; transform: scale(.9) rotate(0); }
    50%      { opacity: .95; transform: scale(1.15) rotate(15deg); }
}
@keyframes bob {
    0%, 100% { transform: rotate(-1.5deg) translateY(0); }
    50%      { transform: rotate(-1.2deg) translateY(-8px); }
}

/* ---------------------------------------------------------------------
   Header / navigation
   --------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 247, 236, .85);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--rule);
}

.header-inner {
    max-width: var(--col-shell);
    margin: 0 auto;
    padding: .9rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -.01em;
    line-height: 1;
}
.brand-mark { color: var(--accent); }
.brand-tail {
    width: 32px;
    height: 18px;
    color: var(--bg-rose-2);
    margin-left: .15rem;
    transform: translateY(2px);
}
.brand:hover .brand-tail { color: var(--accent); }

.primary-nav {
    margin-left: auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.primary-nav a {
    color: var(--ink-soft);
    font-family: var(--sans);
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
    padding: .3rem .1rem;
    position: relative;
    transition: color .2s ease;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -.25rem;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.primary-nav a:hover::after { transform: scaleX(.8); }

.page-home    .primary-nav a[data-nav="home"]::after,
.page-inside  .primary-nav a[data-nav="inside"]::after,
.page-grownups .primary-nav a[data-nav="grownups"]::after { transform: scaleX(1); }

.header-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.lang-toggle {
    font-family: var(--sans);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-soft);
    background: var(--bg-alt);
    border: 1.5px dashed var(--rule);
    border-radius: var(--r-pill);
    padding: .35rem .8rem;
    text-decoration: none;
    transition: all .2s ease;
}
.lang-toggle:hover {
    color: var(--accent);
    border-color: var(--accent-soft);
    background: #fff;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.nav-toggle span {
    position: absolute;
    left: 8px; right: 8px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------------
   Eyebrow / handwritten labels
   --------------------------------------------------------------------- */

.eyebrow {
    margin: 0 0 .8rem;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink-mute);
}
.eyebrow-hand {
    font-family: var(--hand);
    font-weight: 600;
    font-size: 1.45rem;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--accent);
    line-height: 1;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */

.hero {
    position: relative;
    max-width: var(--col-shell);
    margin: 0 auto;
    padding: 3rem 1.4rem 3.5rem;
    overflow: visible;
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-cloud { position: absolute; }
.hero-cloud-a { top: 0; left: 4%; width: 140px; height: 64px;
    color: var(--bg-sky-2); opacity: .8;
    animation: drift-r 28s ease-in-out infinite; }
.hero-cloud-b { top: 28%; right: 6%; width: 110px; height: 50px;
    color: var(--bg-rose-2); opacity: .7;
    animation: drift-l 32s ease-in-out infinite; }
.hero-sparkle { position: absolute; color: var(--bg-butter-2); }
.hero-sparkle-a { top: 14%; right: 18%; width: 24px; height: 24px;
    animation: twinkle 3.5s ease-in-out infinite; }
.hero-sparkle-b { top: 60%; left: 8%; width: 18px; height: 18px;
    color: var(--accent-soft);
    animation: twinkle 4.5s ease-in-out infinite .8s; }
.hero-sparkle-c { top: 8%; left: 42%; width: 16px; height: 16px;
    animation: twinkle 5s ease-in-out infinite 1.4s; }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: center;
}

.hero-cover {
    display: flex;
    justify-content: center;
}
.hero-cover-frame {
    max-width: 440px;
    width: 100%;
    transform: rotate(-1.5deg);
    animation: bob 5.5s ease-in-out infinite;
    filter: drop-shadow(0 30px 36px rgba(61, 46, 85, .25));
}
.hero-cover-frame img {
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow-cover);
}

.hero-text { position: relative; }

.hero-title {
    margin: 0 0 .5rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: .95;
    letter-spacing: -.02em;
    color: var(--ink);
}

.hero-tagline {
    margin: 0 0 1.4rem;
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.45;
    max-width: 32ch;
}

.hero-logline {
    margin: 0 0 1.1rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.35;
    color: var(--ink);
    padding-left: 1.1rem;
    border-left: 3px solid var(--accent);
    border-radius: 1px;
}

.hero-pitch {
    margin: 0 0 1.6rem;
    font-size: 1.02rem;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 52ch;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem .7rem;
    align-items: center;
    margin-top: .4rem;
}

.cta-trail {
    display: block;
    width: 240px;
    max-width: 80%;
    height: 12px;
    color: var(--bg-peach-2);
    opacity: .9;
    margin: 1rem 0 .4rem;
}

.wip-note {
    margin: 1rem 0 0;
    font-family: var(--hand);
    font-size: 1.15rem;
    color: var(--ink-mute);
    line-height: 1.2;
}
.wip-note a { color: var(--accent); text-decoration: underline wavy; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--sans);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    padding: .85rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: transform .15s ease, background .2s ease,
                color .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
    background: var(--accent);
    color: #FFF7EC;
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
    background: var(--accent-hi);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(242, 106, 90, .65),
                0 4px 8px -3px rgba(61, 46, 85, .3);
}

.btn-secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--accent);
    border-style: dashed;
}
.btn-secondary:hover {
    background: var(--bg-rose);
    color: var(--accent-hi);
    border-style: solid;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    border-color: var(--rule);
    border-style: solid;
}
.btn-ghost:hover {
    color: var(--accent);
    border-color: var(--accent-soft);
    background: var(--bg-alt);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------------
   Section bands ("what's it about?")
   --------------------------------------------------------------------- */

.band {
    position: relative;
    padding: 4rem 1.4rem 4.5rem;
    margin: 3rem 0 0;
}
.band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 48px 48px 0 0;
}
.band-sky::before {
    background:
        radial-gradient(ellipse at 14% 28%, rgba(248, 201, 183, .8) 0, transparent 38%),
        radial-gradient(ellipse at 90% 18%, rgba(247, 220, 138, .7) 0, transparent 32%),
        radial-gradient(ellipse at 50% 86%, rgba(191, 228, 204, .7) 0, transparent 38%),
        var(--bg-sky);
}
.band-inner {
    position: relative;
    z-index: 1;
    max-width: var(--col-wide);
    margin: 0 auto;
    text-align: center;
}
.band-title {
    margin: .2rem 0 2.4rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -.015em;
    color: var(--ink);
}

.feature-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}
.feature-card {
    background: #fff;
    border-radius: var(--r-card);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transform: rotate(-.6deg);
    transition: transform .25s ease;
    position: relative;
}
.feature-card:nth-child(2) { transform: rotate(.8deg); }
.feature-card:nth-child(3) { transform: rotate(-.4deg) translateY(8px); }
.feature-card:hover { transform: rotate(0) translateY(-4px); }

.feature-card h3 {
    margin: .6rem 0 .5rem;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--ink);
}
.feature-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: .98rem;
    line-height: 1.55;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: .4rem;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-icon-arch { background: var(--bg-mint); color: var(--ink); }
.feature-icon-moon { background: var(--bg-butter); color: var(--accent); }
.feature-icon-bundle { background: var(--bg-rose); color: var(--ink); }

/* ---------------------------------------------------------------------
   Newsletter
   --------------------------------------------------------------------- */

.newsletter {
    position: relative;
    padding: 3.5rem 1.4rem 4rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(191, 227, 240, .55) 0, transparent 34%),
        radial-gradient(ellipse at 82% 70%, rgba(248, 201, 183, .55) 0, transparent 32%),
        var(--bg-alt);
    border-top: 1px solid var(--rule);
}
.newsletter-inline {
    background: transparent;
    border-top: 0;
    padding: 2.5rem 0 1rem;
}

.newsletter-squiggle {
    display: block;
    width: 200px;
    height: 16px;
    color: var(--accent-soft);
    margin: 0 auto 1.2rem;
}

.newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
}

.newsletter-title {
    margin: .2rem 0 .6rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.6vw, 2.3rem);
    line-height: 1.1;
    color: var(--ink);
}
.newsletter-lead {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
    max-width: 460px;
    margin: 0 auto;
}
.newsletter-form input[type="email"] {
    flex: 1 1 220px;
    min-width: 220px;
    font-family: var(--sans);
    font-size: 1rem;
    padding: .85rem 1.1rem;
    background: #fff;
    border: 2px solid var(--rule);
    border-radius: var(--r-pill);
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--bg-rose);
}
.newsletter-status {
    margin: .8rem 0 0;
    min-height: 1.2em;
    font-family: var(--hand);
    font-size: 1.15rem;
    color: var(--accent);
}

/* ---------------------------------------------------------------------
   Prose pages (inside, grownups)
   --------------------------------------------------------------------- */

.prose-page {
    max-width: var(--col-wide);
    margin: 0 auto;
    padding: 3rem 1.4rem 4rem;
    position: relative;
}

.prose-header {
    max-width: var(--col);
    margin: 0 auto 2.4rem;
    text-align: center;
}
.prose-title {
    margin: .2rem 0 .6rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--ink);
}
.prose-intro {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.section-h2 {
    margin: 2.6rem 0 .2rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.15;
    color: var(--ink);
    text-align: center;
}
.section-squiggle {
    display: block;
    width: 160px;
    height: 14px;
    color: var(--accent-soft);
    margin: .4rem auto 1.6rem;
}

.prose {
    max-width: var(--col);
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink);
}
.prose p { margin: 0 0 1.15em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { color: var(--accent-hi); font-style: italic; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: 0 0 .35em; }

.prose h2 {
    margin: 2.4rem 0 .9rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--ink);
}
.prose h3 {
    margin: 2rem 0 .5rem;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--ink);
}

.prose blockquote {
    margin: 1.5rem 0;
    padding: 1.4rem 1.6rem;
    background: #fff;
    border-radius: var(--r-card);
    border: 1.5px dashed var(--bg-peach-2);
    box-shadow: var(--shadow-soft);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--ink);
    position: relative;
    transform: rotate(-.3deg);
}
.prose blockquote:nth-of-type(2) { transform: rotate(.4deg); }
.prose blockquote:nth-of-type(3) { transform: rotate(-.2deg); }
.prose blockquote::before {
    content: "\201C";
    position: absolute;
    top: -.4rem;
    left: 1rem;
    font-family: var(--serif);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-soft);
}
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: .8em; }

.prose hr {
    border: 0;
    margin: 2.5rem auto;
    width: 200px;
    height: 16px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16'><path d='M2 8c10-8 22 8 32 0s22-8 32 0 22 8 32 0 22-8 32 0 22 8 32 0 22-8 36 0' fill='none' stroke='%23F26A5A' stroke-width='2.5' stroke-linecap='round'/></svg>") center/contain no-repeat;
}

.cta-row-after {
    justify-content: center;
    margin: 2rem 0 .6rem;
}

/* Cast grid */
.cast {
    max-width: var(--col-wide);
    margin: 0 auto;
    padding: 1rem 0 .5rem;
}
.cast-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.cast-card {
    background: #fff;
    border-radius: var(--r-card);
    padding: 1.6rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transform: rotate(-.5deg);
    transition: transform .2s ease;
}
.cast-card:nth-child(2) { transform: rotate(.6deg); }
.cast-card:nth-child(3) { transform: rotate(-.3deg); }
.cast-card:hover { transform: rotate(0) translateY(-4px); }
.cast-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-alt);
    margin-bottom: .8rem;
}
.cast-mouse .cast-mark { background: var(--bg-sky); color: var(--ink-soft); }
.cast-mouse .cast-mark svg { width: 56px; height: 56px; }
.cast-moon .cast-mark { background: var(--bg-butter); color: var(--accent); }
.cast-moon .cast-mark svg { width: 36px; height: 36px; }
.cast-cloud .cast-mark { background: var(--bg-rose); color: #fff; }
.cast-cloud .cast-mark svg { width: 56px; height: 26px; }
.cast-card h3 {
    margin: .2rem 0 .4rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
}
.cast-card p {
    margin: 0;
    font-size: .98rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.behind {
    max-width: var(--col);
    margin: 0 auto;
    padding-top: 1rem;
}
.behind p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 1.1em;
}

.grownups-actions {
    max-width: var(--col);
    margin: 2.5rem auto 1rem;
    text-align: center;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.site-footer {
    position: relative;
    padding: 2.5rem 1.4rem 2.2rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--rule);
    margin-top: 3rem;
}
.footer-divider {
    display: block;
    width: 200px;
    height: 16px;
    color: var(--accent-soft);
    margin: -3.4rem auto 1.6rem;
    background: var(--bg);
    padding: 0 1rem;
    border-radius: 999px;
}
.footer-inner {
    max-width: var(--col-shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.footer-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink);
    line-height: 1;
}
.footer-caption {
    margin-top: .35rem;
    font-family: var(--hand);
    font-size: 1.1rem;
    color: var(--ink-mute);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.footer-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .98rem;
}
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .9rem;
    color: var(--ink-mute);
}
.footer-meta a { color: var(--accent); }
.footer-meta .sep { display: none; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */

@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-text { text-align: center; }
    .hero-tagline, .hero-pitch { margin-left: auto; margin-right: auto; }
    .hero-logline {
        border-left: 0;
        border-top: 3px solid var(--accent);
        padding: .9rem 0 0;
        max-width: 28ch;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-row { justify-content: center; }
    .cta-trail { margin-left: auto; margin-right: auto; }

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

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

@media (max-width: 760px) {
    .site-header { position: sticky; }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--rule);
        padding: 1rem 1.4rem 1.6rem;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .25s ease,
                    transform .25s ease,
                    visibility 0s linear .25s;
        box-shadow: 0 18px 30px -20px rgba(61, 46, 85, .25);
    }
    .primary-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity .25s ease,
                    transform .25s ease,
                    visibility 0s linear 0s;
    }
    .primary-nav a {
        padding: .9rem .2rem;
        border-bottom: 1px solid var(--rule);
        font-size: 1.05rem;
    }
    .primary-nav a:last-child { border-bottom: 0; }
    .primary-nav a::after { display: none; }
    .nav-toggle { display: block; margin-left: auto; }
    .header-inner { gap: .8rem; position: relative; }
    .header-meta { margin-left: auto; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .hero { padding: 2rem 1.1rem 2.5rem; }
    .band { padding: 3rem 1.1rem 3.4rem; }
    .band::before { border-radius: 30px 30px 0 0; }
    .prose-page { padding: 2rem 1.1rem 3rem; }
    .feature-card, .cast-card { transform: none; }
    .hero-cover-frame { max-width: 280px; }
}

/* ---------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .hero-cover-frame,
    .sky .cloud,
    .sky .sparkle,
    .hero-cloud,
    .hero-sparkle {
        animation: none !important;
    }
    .feature-card, .cast-card,
    .feature-card:hover, .cast-card:hover {
        transform: none !important;
    }
    * { transition-duration: .01ms !important; }
}
