/* ══════════════════════════════════════════════════════════════════════════
   SPARKLE TREE PRESS — 2026 redesign ("Midnight Storybook")
   From the Stitch project "Sparkle Tree Press Redesign". Loaded after style.css on every page:
   the first half is the new design system (pt- classes), the second half restyles the older
   shared classes (page-header, act-card, book-card…) so every page matches.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
    --pt-midnight: #110e2e;
    --pt-twilight: #16123b;
    --pt-card: #1e184a;
    --pt-card-hover: #261f5b;
    --pt-plum: #2d1b4e;
    --pt-border: #3b3272;
    --pt-glow: #7c3aed;
    --pt-amber: #fbbf24;
    --pt-amber-core: #f59e0b;
    --pt-amber-deep: #d97706;
    --pt-mint: #10b981;
    --pt-mint-bright: #34d399;
    --pt-white: #fefefe;
    --pt-cream: #e2e0f4;
    --pt-mist: #9890c7;
    --pt-pink: #f472b6;
    --pt-headline: 'Epilogue', 'Outfit', system-ui, sans-serif;
    --pt-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --pt-radius: 1.75rem;
    --pt-radius-lg: 2.25rem;
    --pt-shadow: 0 24px 50px rgba(5, 3, 20, .45);

    /* Older pages read these tokens from style.css; point them at the new palette */
    --color-deep-nebula: var(--pt-twilight);
    --color-dark-panels: var(--pt-card);
    --color-mid-bg: var(--pt-midnight);
    --color-stardust-gold: var(--pt-amber);
    --color-magical-teal: var(--pt-mint-bright);
    --color-cosmic-purple: #c4b5fd;
    --font-playful: var(--pt-headline);
    --font-primary: var(--pt-body);
}

html { background: var(--pt-midnight); }
body {
    background: var(--pt-midnight) !important;
    color: var(--pt-cream);
    font-family: var(--pt-body);
}
body::before { display: none !important; }
h1, h2, h3, h4 { font-family: var(--pt-headline); color: var(--pt-white); letter-spacing: -0.02em; }
a { color: var(--pt-amber); }
::selection { background: rgba(251, 191, 36, .35); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pt-midnight); }
::-webkit-scrollbar-thumb { background: var(--pt-plum); border-radius: 4px; }

.pt-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.pt-gold { color: var(--pt-amber); text-shadow: 0 0 22px rgba(245, 158, 11, .4); }
.pt-mint, .pt-author p.pt-mint { color: var(--pt-mint-bright); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Buttons, badges, chips ── */
.pt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
    font-family: var(--pt-headline); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
    color: #231300; background: linear-gradient(135deg, var(--pt-amber), var(--pt-amber-core));
    box-shadow: 0 10px 26px rgba(245, 158, 11, .3); transition: transform .2s, box-shadow .2s, background-color .2s;
}
.pt-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245, 158, 11, .42); color: #1a0e00; }
.pt-btn-ghost { color: var(--pt-white); background: var(--pt-twilight); border: 1px solid var(--pt-border); box-shadow: none; }
.pt-btn-ghost:hover { color: #fff; background: var(--pt-card-hover); box-shadow: none; }
.pt-btn-mint { color: #022c22; background: linear-gradient(135deg, var(--pt-mint-bright), var(--pt-mint)); box-shadow: 0 10px 26px rgba(16, 185, 129, .25); }
.pt-btn-sm { padding: 9px 18px; font-size: .88rem; }
.pt-btn:focus-visible, .pt-chip:focus-visible, .pt-nav a:focus-visible { outline: 3px solid var(--pt-amber); outline-offset: 3px; }

.pt-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
    background: rgba(30, 24, 74, .85); border: 1px solid var(--pt-border); color: var(--pt-white);
    font-family: var(--pt-headline); font-weight: 600; font-size: .82rem;
}
.pt-badge-mint { color: var(--pt-mint-bright); border-color: rgba(52, 211, 153, .3); background: rgba(16, 185, 129, .1); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.pt-badge-amber { color: var(--pt-amber); border-color: rgba(251, 191, 36, .3); background: rgba(245, 158, 11, .1); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pt-amber); font-family: var(--pt-headline); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
    background: var(--pt-twilight); border: 1px solid var(--pt-border); color: var(--pt-cream); text-decoration: none;
    font-family: var(--pt-headline); font-weight: 600; font-size: .85rem; transition: background-color .2s, color .2s;
}
.pt-chip:hover { background: var(--pt-card-hover); color: #fff; }
.pt-chip.active, .pt-chip[aria-pressed="true"] { background: var(--pt-amber); border-color: var(--pt-amber); color: #231300; }
.pt-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; font-family: var(--pt-headline); font-weight: 700; font-size: .72rem; }
.pt-tag-amber { background: var(--pt-amber); color: #231300; }
.pt-tag-plum { background: rgba(45, 27, 78, .92); color: var(--pt-amber); border: 1px solid rgba(251, 191, 36, .3); }
.pt-tag-dark { background: rgba(17, 14, 46, .85); color: var(--pt-cream); border: 1px solid var(--pt-border); }
.pt-stars { text-align: center; color: var(--pt-amber); letter-spacing: 12px; font-size: 1.1rem; padding: 34px 0 6px; }

/* ── Announcement bar + header ── */
.pt-topbar { background: #1a1446; border-bottom: 1px solid rgba(59, 50, 114, .6); text-align: center; padding: 8px 16px; font-size: .86rem; color: var(--pt-cream); }
.pt-topbar a { color: inherit; text-decoration: none; }
.pt-topbar strong { color: var(--pt-white); font-weight: 600; }
.pt-topbar .pt-pill { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35); color: var(--pt-amber); font-size: .74rem; font-weight: 600; }

.pt-header {
    position: sticky; top: 0; z-index: 1000; background: rgba(17, 14, 46, .86); backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(59, 50, 114, .55);
    transition: box-shadow .3s, background-color .3s;
}
.pt-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); background: rgba(17, 14, 46, .95); }
.pt-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.pt-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.pt-logo-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #2a2163, #16123b); border: 1px solid var(--pt-border); box-shadow: 0 0 18px rgba(251, 191, 36, .25); }
.pt-logo-mark svg { width: 30px; height: 30px; }
.pt-logo-text { display: flex; flex-direction: column; line-height: 1; }
.pt-logo-name { font-family: var(--pt-headline); font-weight: 800; font-size: 1.2rem; color: var(--pt-white); letter-spacing: -0.02em; }
.pt-logo-sub { margin-top: 5px; font-family: var(--pt-headline); font-weight: 700; font-size: .62rem; letter-spacing: .2em; color: var(--pt-amber); }
.pt-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 5px; border-radius: 999px; background: rgba(22, 18, 59, .9); border: 1px solid rgba(59, 50, 114, .7); }
.pt-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--pt-cream); text-decoration: none; font-family: var(--pt-headline); font-weight: 600; font-size: .88rem; white-space: nowrap; transition: color .2s, background-color .2s; }
.pt-nav a:hover { color: #fff; background: rgba(124, 58, 237, .18); }
.pt-nav a.active { color: var(--pt-amber); background: rgba(245, 158, 11, .12); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); }
.pt-header-cta { flex-shrink: 0; }
.pt-menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--pt-border); background: var(--pt-twilight); color: var(--pt-white); cursor: pointer; align-items: center; justify-content: center; }
.pt-menu-toggle svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 1180px) {
    .pt-menu-toggle { display: inline-flex; order: 3; }
    .pt-nav { order: 4; }
    .pt-nav ul { display: none; }
    .pt-nav.toggled ul {
        display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 16px; right: 16px; top: 82px;
        padding: 12px; border-radius: 24px; background: #16123b; box-shadow: var(--pt-shadow); z-index: 5;
    }
    .pt-nav.toggled a { padding: 12px 16px; font-size: 1rem; }
    .pt-header-cta { margin-left: auto; }
}
@media (max-width: 520px) {
    .pt-header-cta { display: none; }
    .pt-logo-name { font-size: 1.05rem; }
    .pt-topbar .pt-pill { display: none; }
}

/* ── Sections & cards ── */
.pt-section { padding: 80px 0; }
.pt-section-tight { padding: 48px 0; }
.pt-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.pt-section-head.center { flex-direction: column; align-items: center; text-align: center; }
.pt-h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; margin: 10px 0 12px; }
.pt-lede { color: var(--pt-mist); font-size: 1.06rem; line-height: 1.65; max-width: 640px; }
.pt-card { background: var(--pt-card); border: 1px solid var(--pt-border); border-radius: var(--pt-radius); }
.pt-panel { background: linear-gradient(160deg, #1d1650, #16123b); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-lg); box-shadow: var(--pt-shadow); }
.pt-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pt-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pt-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1024px) { .pt-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pt-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .pt-grid-2, .pt-grid-3, .pt-grid-4 { grid-template-columns: 1fr; } .pt-section { padding: 56px 0; } }

/* ── Home hero ── */
.pt-hero { position: relative; overflow: hidden; padding: 64px 0 84px; }
.pt-hero-bg { position: absolute; inset: 0; z-index: 0; }
.pt-hero-bg picture, .pt-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, rgba(124, 58, 237, .25), rgba(245, 158, 11, .08) 35%, transparent 70%), linear-gradient(90deg, rgba(17, 14, 46, .95) 0%, rgba(17, 14, 46, .7) 50%, rgba(17, 14, 46, .55) 100%), linear-gradient(0deg, var(--pt-midnight) 0%, transparent 30%); }
.pt-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pt-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; margin: 22px 0 22px; font-weight: 800; }
.pt-hero h1 .pt-gold { display: block; }
.pt-hero p { color: var(--pt-cream); font-size: 1.15rem; line-height: 1.65; max-width: 560px; opacity: .92; }
.pt-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.pt-trust { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pt-trust li { padding: 6px 13px; border-radius: 999px; background: rgba(22, 18, 59, .8); border: 1px solid rgba(59, 50, 114, .8); font-size: .8rem; color: var(--pt-cream); }

.pt-stage { padding: 22px; border-radius: var(--pt-radius-lg); background: rgba(22, 18, 59, .82); border: 1px solid var(--pt-border); box-shadow: var(--pt-shadow), 0 0 60px rgba(124, 58, 237, .18); backdrop-filter: blur(8px); }
.pt-stage-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(59, 50, 114, .7); }
.pt-dot { width: 11px; height: 11px; border-radius: 50%; }
.pt-stage-title { margin-left: 8px; font-family: var(--pt-headline); font-weight: 600; font-size: .95rem; color: var(--pt-white); }
.pt-stage-pill { margin-left: auto; padding: 4px 12px; border-radius: 999px; font-size: .74rem; color: var(--pt-mint-bright); background: rgba(16, 185, 129, .1); border: 1px solid rgba(52, 211, 153, .3); }
.pt-stage-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: stretch; }
.pt-stage-poppy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px; border-radius: 20px; background: #fff; }
.pt-stage-poppy img { width: 100%; height: auto; max-width: 220px; }
.pt-stage-poppy span { padding: 5px 12px; border-radius: 999px; background: var(--pt-plum); color: var(--pt-amber); font-size: .76rem; font-weight: 600; }
.pt-stage-book { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 20px; background: var(--pt-midnight); border: 1px solid var(--pt-border); text-decoration: none; color: inherit; }
.pt-stage-cover { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.pt-stage-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.pt-stage-cover .pt-tag { position: absolute; top: 10px; left: 10px; }
.pt-stage-voice { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--pt-twilight); font-size: .78rem; color: var(--pt-white); }
.pt-stage-voice b { color: var(--pt-mint-bright); font-weight: 600; }
.pt-stage-foot { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: var(--pt-mist); padding: 2px 4px; }
.pt-stage-foot b { color: var(--pt-amber); }
kbd { padding: 2px 6px; border-radius: 6px; background: var(--pt-plum); border: 1px solid var(--pt-border); font-family: inherit; font-size: .72rem; color: var(--pt-white); }
@media (max-width: 960px) { .pt-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .pt-stage-body { grid-template-columns: 1fr; } }

/* ── Feature cards ── */
.pt-feature { padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, border-color .25s; }
.pt-feature:hover { transform: translateY(-4px); border-color: #4d4294; }
.pt-feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; border: 1px solid var(--pt-border); }
.pt-feature h3 { font-size: 1.25rem; margin: 4px 0 0; }
.pt-feature p { color: var(--pt-mist); font-size: .93rem; line-height: 1.6; margin: 0; flex: 1; }
.pt-feature p strong { color: var(--pt-amber); font-weight: 600; }
.pt-feature-foot { padding-top: 14px; border-top: 1px solid rgba(59, 50, 114, .7); font-size: .78rem; font-weight: 600; color: var(--pt-mint-bright); }
.pt-i-amber { background: rgba(245, 158, 11, .12); }
.pt-i-blue { background: rgba(59, 130, 246, .14); }
.pt-i-plum { background: rgba(124, 58, 237, .18); }
.pt-i-mint { background: rgba(16, 185, 129, .14); }

/* ── Story cards ── */
.pt-story { display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, border-color .25s; }
.pt-story:hover { transform: translateY(-5px); border-color: #4d4294; }
.pt-story-media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--pt-twilight); }
.pt-story-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; transition: transform .6s; }
.pt-story:hover .pt-story-media img { transform: scale(1.04); }
.pt-story-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.pt-story-ages { position: absolute; bottom: 12px; right: 12px; }
.pt-story-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pt-story-kicker { font-size: .74rem; font-weight: 600; color: var(--pt-amber); }
.pt-story h3 { font-size: 1.3rem; line-height: 1.2; margin: 0; }
.pt-story p { color: var(--pt-mist); font-size: .9rem; line-height: 1.55; margin: 0; flex: 1; }
.pt-story-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid rgba(59, 50, 114, .7); font-size: .78rem; color: var(--pt-mint-bright); font-weight: 600; }

/* ── Peek panel, play cards, author, newsletter ── */
.pt-peek { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px; background: radial-gradient(circle at 85% 20%, rgba(124, 58, 237, .3), transparent 50%), linear-gradient(150deg, #241a5a, #1b1448 60%, #2d1b4e); }
.pt-peek-art { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--pt-shadow); border: 1px solid var(--pt-border); background: var(--pt-midnight); display: flex; gap: 12px; padding: 16px; justify-content: center; }
.pt-peek-art img { width: 30%; height: auto; border-radius: 10px; box-shadow: 0 12px 24px rgba(0, 0, 0, .45); }
.pt-peek-art img:nth-child(2) { transform: translateY(-10px) scale(1.06); z-index: 1; }
.pt-small { font-size: .78rem; color: var(--pt-mist); }
@media (max-width: 860px) { .pt-peek { grid-template-columns: 1fr; padding: 32px 24px; } }

.pt-play { padding: 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: transform .25s, border-color .25s; }
.pt-play:hover { transform: translateY(-4px); border-color: #4d4294; }
.pt-play-top { display: flex; justify-content: space-between; align-items: center; }
.pt-play h3 { font-size: 1.2rem; margin: 6px 0 0; }
.pt-play p { color: var(--pt-mist); font-size: .9rem; line-height: 1.55; margin: 0; flex: 1; }
.pt-play-link { color: var(--pt-amber); font-weight: 700; font-size: .86rem; font-family: var(--pt-headline); }
.pt-guide { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.pt-guide-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .78rem; color: var(--pt-mist); }
.pt-guide h3 { font-size: 1.4rem; margin: 0; }
.pt-guide p { color: var(--pt-mist); font-size: .93rem; line-height: 1.6; margin: 0; }
.pt-guide-art { border-radius: 18px; background: var(--pt-midnight); border: 1px solid var(--pt-border); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px; }
.pt-guide-art svg, .pt-guide-art img { width: 100%; height: auto; color: var(--pt-cream); }
.pt-guide-art .dp-new { color: var(--pt-pink); }
.pt-guide-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid rgba(59, 50, 114, .7); font-size: .8rem; color: var(--pt-mist); }

.pt-author { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; padding: 48px; }
.pt-author-photo { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--pt-border); box-shadow: var(--pt-shadow); }
.pt-author-photo img { width: 100%; height: auto; display: block; }
.pt-author-photo .pt-tag { position: absolute; left: 12px; bottom: 12px; }
.pt-author h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin: 10px 0 6px; }
.pt-author p { color: var(--pt-cream); line-height: 1.7; }
.pt-quote { margin: 20px 0 26px; padding: 18px 22px; border-left: 3px solid var(--pt-amber); border-radius: 0 16px 16px 0; background: rgba(17, 14, 46, .7); color: var(--pt-cream); font-style: italic; line-height: 1.6; }
@media (max-width: 860px) { .pt-author { grid-template-columns: 1fr; padding: 28px; } .pt-author-photo { max-width: 340px; } }

.pt-news { max-width: 740px; margin: 0 auto; padding: 48px 40px; text-align: center; position: relative; overflow: hidden; background: radial-gradient(circle at 85% 10%, rgba(244, 114, 182, .18), transparent 40%), linear-gradient(170deg, #241a5a, #16123b); }
.pt-news h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin: 10px 0 12px; }
.pt-news p { color: var(--pt-cream); opacity: .85; line-height: 1.6; }
.pt-news-form { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 24px 0 12px; }
.pt-news-form input { flex: 1; min-width: 220px; max-width: 320px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--pt-border); background: var(--pt-midnight); color: var(--pt-white); font: inherit; }
.pt-news-form input::placeholder { color: var(--pt-mist); }

/* ── Inner page hero ── */
.pt-page-hero { position: relative; overflow: hidden; text-align: center; padding: 56px 0 40px; }
.pt-page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(124, 58, 237, .22), transparent 70%), radial-gradient(circle at 85% 30%, rgba(245, 158, 11, .08), transparent 40%); pointer-events: none; }
.pt-page-hero > .pt-container { position: relative; }
.pt-page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.05; margin: 20px auto 18px; max-width: 900px; font-weight: 800; }
.pt-page-hero p { color: var(--pt-cream); opacity: .9; font-size: 1.1rem; line-height: 1.65; max-width: 700px; margin: 0 auto; }
.pt-page-hero .pt-chips { justify-content: center; margin-top: 28px; }
.pt-page-hero.left { text-align: left; }
.pt-page-hero.left h1, .pt-page-hero.left p { margin-left: 0; }
.pt-page-hero.left .pt-chips { justify-content: flex-start; }

/* ── Footer ── */
.pt-footer { margin-top: 60px; padding: 10px 0 34px; background: #0d0b26; border-top: 1px solid rgba(59, 50, 114, .5); }
.pt-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 30px 0 40px; }
.pt-footer-brand p { color: var(--pt-mist); line-height: 1.65; font-size: .92rem; margin: 18px 0 14px; max-width: 340px; }
.pt-footer-safe { color: var(--pt-mint-bright); font-size: .8rem; font-weight: 600; }
.pt-footer h3 { font-family: var(--pt-headline); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pt-amber); margin: 6px 0 16px; }
.pt-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pt-footer ul a { color: var(--pt-cream); text-decoration: none; font-size: .93rem; opacity: .85; }
.pt-footer ul a:hover { color: var(--pt-amber); opacity: 1; }
.pt-footer-note { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--pt-twilight); border: 1px solid var(--pt-border); font-size: .82rem; color: var(--pt-mist); line-height: 1.5; }
.pt-footer-note strong { display: block; color: var(--pt-white); margin-bottom: 4px; }
.pt-footer-note a { color: var(--pt-amber); }
.pt-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(59, 50, 114, .5); font-size: .82rem; color: var(--pt-mist); }
.pt-footer-bottom a { color: var(--pt-mist); text-decoration: none; margin-left: 18px; }
.pt-footer-bottom a:hover { color: var(--pt-amber); }
@media (max-width: 900px) { .pt-footer-grid { grid-template-columns: 1fr 1fr; } .pt-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pt-footer-grid { grid-template-columns: 1fr; } .pt-footer-bottom a { margin: 0 18px 0 0; } }

/* ══════════════════════════════════════════════════════════════════════════
   Older shared classes, restyled to the new look
   ══════════════════════════════════════════════════════════════════════════ */
.preloader { background: var(--pt-midnight) !important; }
.wave-divider { display: none !important; }
.section-container { max-width: 1280px; padding-left: 24px; padding-right: 24px; }
.page-header {
    position: relative; background: none !important; text-align: center; padding: 64px 0 36px !important; min-height: 0 !important; overflow: hidden;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(124, 58, 237, .22), transparent 70%) !important; pointer-events: none; opacity: 1 !important; }
.page-header > * { position: relative; }
.page-header h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; margin: 18px 0 14px; }
.page-header p { color: var(--pt-cream); opacity: .9; max-width: 700px; margin: 0 auto; font-size: 1.08rem; }
.text-glow { text-shadow: none !important; }
.highlight-gold { color: var(--pt-amber) !important; text-shadow: 0 0 22px rgba(245, 158, 11, .4); background: none !important; -webkit-text-fill-color: currentColor !important; }
.highlight-teal { color: var(--pt-mint-bright) !important; }
.section-badge {
    display: inline-flex !important; align-items: center; gap: 8px; padding: 7px 16px !important; border-radius: 999px !important;
    background: rgba(245, 158, 11, .1) !important; border: 1px solid rgba(251, 191, 36, .3) !important; color: var(--pt-amber) !important;
    font-family: var(--pt-headline); font-weight: 700; font-size: .74rem !important; letter-spacing: .1em; box-shadow: none !important;
}
.section-badge.teal { background: rgba(16, 185, 129, .1) !important; border-color: rgba(52, 211, 153, .3) !important; color: var(--pt-mint-bright) !important; }
.section-badge.pink { background: rgba(244, 114, 182, .1) !important; border-color: rgba(244, 114, 182, .3) !important; color: #f9a8d4 !important; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-subtitle { color: var(--pt-mist); }
.featured-section, .act-section, .act-section-alt, .news-section, .guides-section, .contact-section, .act-more, .newsletter-section { background: transparent !important; }
.featured-section, .act-section, .news-section, .guides-section, .contact-section { padding: 36px 0 !important; }

.btn {
    border-radius: 999px !important; font-family: var(--pt-headline) !important; font-weight: 700 !important; letter-spacing: 0;
    box-shadow: none; transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--pt-amber), var(--pt-amber-core)) !important; color: #231300 !important; border: 0 !important; box-shadow: 0 8px 22px rgba(245, 158, 11, .28) !important; }
.btn-primary:hover { color: #1a0e00 !important; }
.btn-secondary, .btn-teal-border, .btn-pink-border { background: var(--pt-twilight) !important; color: var(--pt-white) !important; border: 1px solid var(--pt-border) !important; }
.btn-secondary:hover, .btn-teal-border:hover, .btn-pink-border:hover { background: var(--pt-card-hover) !important; color: #fff !important; box-shadow: none !important; }
.btn-amazon { border-radius: 999px !important; }

/* Activity cards (colouring, puzzles, art guides) */
.act-card {
    background: linear-gradient(160deg, #1d1650, #16123b) !important; border: 1px solid var(--pt-border) !important;
    border-radius: var(--pt-radius-lg) !important; box-shadow: var(--pt-shadow) !important; padding: 34px !important;
}
.act-card-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.act-card-head p, .act-hint { color: var(--pt-mist) !important; }
.act-toggle { background: var(--pt-midnight) !important; border: 1px solid var(--pt-border) !important; border-radius: 999px !important; padding: 4px !important; }
.act-toggle button { border-radius: 999px !important; color: var(--pt-cream) !important; font-family: var(--pt-headline) !important; font-weight: 600 !important; background: transparent !important; }
.act-toggle button.active, .act-toggle button[aria-pressed="true"] { background: var(--pt-mint) !important; color: #022c22 !important; }
.act-status { color: var(--pt-amber) !important; }
.act-jump a, .colour-page-btn { background: var(--pt-twilight) !important; border: 1px solid var(--pt-border) !important; color: var(--pt-cream) !important; border-radius: 999px !important; font-family: var(--pt-headline); font-weight: 600; }
.colour-page-btn { border-radius: 20px !important; }
.colour-page-btn.active { border-color: var(--pt-amber) !important; box-shadow: 0 0 0 2px rgba(251, 191, 36, .35) !important; color: var(--pt-amber) !important; }
.colour-workspace, .colour-palette { background: var(--pt-midnight) !important; border-color: var(--pt-border) !important; }
.colour-workspace { border-radius: var(--pt-radius-lg) !important; border: 1px solid var(--pt-border) !important; }
.act-tips, .guide-box, .guide-card, .resource-card, .contact-info-card, .contact-form-card, .stat-item, .news-card, .book-card {
    background: var(--pt-card) !important; border: 1px solid var(--pt-border) !important; border-radius: var(--pt-radius) !important; box-shadow: none !important;
    backdrop-filter: none !important;
}
.guide-card:hover, .resource-card:hover, .news-card:hover, .book-card:hover { border-color: #4d4294 !important; }
.guide-badge { background: rgba(245, 158, 11, .12) !important; color: var(--pt-amber) !important; border-radius: 999px !important; }
.guide-card p, .resource-card p, .news-card-excerpt, .book-card-desc, .contact-item-text p, .stat-label { color: var(--pt-mist) !important; }
.guide-tab-btn, .filter-btn { background: var(--pt-twilight) !important; border: 1px solid var(--pt-border) !important; color: var(--pt-cream) !important; border-radius: 999px !important; font-family: var(--pt-headline) !important; font-weight: 600 !important; }
.guide-tab-btn.active, .filter-btn.active { background: var(--pt-amber) !important; border-color: var(--pt-amber) !important; color: #231300 !important; }
.book-card-series, .news-card-date { color: var(--pt-amber) !important; }
.stat-number { color: var(--pt-amber) !important; font-family: var(--pt-headline) !important; }
.dm-play-card { background: var(--pt-card) !important; border: 1px solid var(--pt-border) !important; border-radius: var(--pt-radius) !important; box-shadow: none !important; color: var(--pt-cream) !important; }
.dm-play-card p { color: var(--pt-mist) !important; }
.dm-play-link { color: var(--pt-amber) !important; }
.form-group input, .form-group select, .form-group textarea { background: var(--pt-midnight) !important; border: 1px solid var(--pt-border) !important; border-radius: 16px !important; color: var(--pt-white) !important; }
.newsletter-box { background: linear-gradient(170deg, #241a5a, #16123b) !important; border: 1px solid var(--pt-border) !important; border-radius: var(--pt-radius-lg) !important; box-shadow: var(--pt-shadow) !important; }
.newsletter-form input { background: var(--pt-midnight) !important; border: 1px solid var(--pt-border) !important; color: #fff !important; border-radius: 999px !important; }

/* Blog posts */
.blog-post-hero { border-radius: var(--pt-radius-lg); overflow: hidden; }
.blog-post-body { color: var(--pt-cream); }
.blog-post-body h2, .blog-post-body h3 { color: var(--pt-white); }
.blog-post-meta { color: var(--pt-mist) !important; }
.back-link { color: var(--pt-amber) !important; }

/* ── News page ── */
.pt-story-media.pt-story-wide { aspect-ratio: 1200 / 630; }
.pt-story-media.pt-story-wide img { object-position: center; }
.pt-story-link { color: inherit; text-decoration: none; }
.pt-story-link:hover { color: var(--pt-amber); }
.pt-feature-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 28px; }
.pt-feature-post-media { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 1200 / 630; }
.pt-feature-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-feature-post h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 12px 0 14px; }
.pt-feature-post p { color: var(--pt-cream); opacity: .9; line-height: 1.65; }
.pt-byline { display: flex; align-items: center; gap: 12px; margin: 22px 0 24px; font-size: .86rem; color: var(--pt-mist); line-height: 1.4; }
.pt-byline strong { color: var(--pt-white); }
.pt-byline-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--pt-plum); border: 1px solid var(--pt-border); }
.pt-empty { text-align: center; color: var(--pt-mist); padding: 30px 0; }
[data-cat][hidden] { display: none !important; }
@media (max-width: 860px) { .pt-feature-post { grid-template-columns: 1fr; padding: 20px; gap: 24px; } }

/* Guide cards on Resources: download + open buttons */
.guide-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
