/* ===================================================
   RESET & THEME VARIABLES
   =================================================== */
:root {
    --header-bg: #e4ddcd;        /* Exact header background color */
    --site-bg: #ffffff;          /* Pure white body background */
    --nav-text-color: #000000;   /* Black menu text & icon */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    color: var(--nav-text-color);
    background-color: var(--site-bg); /* White background */
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* ===================================================
   DESKTOP HEADER LAYOUT
   =================================================== */
.site-header {
    background-color: var(--header-bg); /* #e4ddcd background */
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo & Branding */
.site-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.pumpkin-emoji {
    font-size: 1.85rem;
    line-height: 1;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000000;
    white-space: nowrap;
}

/* Desktop Navigation */
.site-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nav-text-color);
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #000000;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hide Mobile Toggle on Desktop */
.mobile-toggle-wrap {
    display: none;
}

/* Main Container */
.site-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    background-color: var(--site-bg);
}

/* ===================================================
   RESPONSIVE: MOBILE & TABLET (max-width: 1024px)
   =================================================== */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 1rem;
        flex-wrap: wrap;
        height: auto;
        min-height: 70px;
    }

    /* 75% for Logo */
    .site-brand {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .brand-text {
        font-size: 1.35rem;
    }

    .pumpkin-emoji {
        font-size: 1.5rem;
    }

    /* 25% for Hamburger Icon */
    .mobile-toggle-wrap {
        flex: 0 0 25%;
        max-width: 25%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    /* Hamburger Menu Button */
    .mobile-menu-btn {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 44px;
        height: 38px;
    }

    .mobile-menu-btn .bar {
        width: 100%;
        height: 3.5px;
        background-color: #000000; /* Black color */
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Hamburger Animation to 'X' */
    .mobile-menu-btn.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Full-width Dropdown */
    .site-navigation {
        flex: 0 0 100%;
        max-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        background-color: var(--header-bg); /* Matches header color on mobile drop */
    }

    .site-navigation.is-open {
        max-height: 500px;
        padding-bottom: 1.25rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
        padding-top: 0.5rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.85rem 0.5rem;
        font-size: 1.15rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }
}

/* ===================================================
   SITE HEADER & FLUID RESPONSIVE NAVIGATION
   =================================================== */
:root {
    --header-height: 86px;
    --header-bg: #faf5ed;
    --header-border: #ebdcc5;
    --color-text-main: #1a1a1a;
    --color-terracotta: #cf5638;
    --color-forest: #274737;
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Header Container */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg);
    border-bottom: 1.5px solid var(--header-border);
    z-index: 1000;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Link */
.site-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--color-text-main);
}

.pumpkin-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.brand-link:hover .brand-logo-img {
    transform: scale(1.05) rotate(-3deg);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    display: flex;
    flex-direction: column;
}

.brand-author {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: #6a645d;
    letter-spacing: 0.01em;
    margin-top: 2px;
}

/* Desktop Navigation */
.site-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: #383431;
    text-decoration: none;
    padding: 0.55rem 0.95rem;
    border-radius: 50px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-terracotta);
    background-color: rgba(207, 86, 56, 0.08);
}

.nav-link.active {
    color: var(--color-terracotta);
    background-color: rgba(207, 86, 56, 0.12);
}

/* Hide Hamburger Button on Large Screens */
.mobile-toggle-wrap {
    display: none;
}

.nav-overlay {
    display: none;
}

/* ===================================================
   MOBILE & TABLET RESPONSIVE DRAWER (Max 1024px)
   =================================================== */
@media (max-width: 1024px) {
    :root {
        --header-height: 74px;
    }

    .header-inner {
        padding: 0 1.25rem;
    }

    .brand-logo-img {
        width: 48px;
        height: 48px;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .brand-author {
        font-size: 0.72rem;
    }

    /* Show Mobile Hamburger Toggle */
    .mobile-toggle-wrap {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-menu-btn {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        z-index: 1002;
    }

    .mobile-menu-btn:focus-visible {
        outline: 2px solid var(--color-terracotta);
    }

    .mobile-menu-btn .bar {
        display: block;
        width: 24px;
        height: 2.5px;
        background-color: #1a1a1a;
        border-radius: 3px;
        transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
                    opacity 0.2s ease,
                    background-color 0.3s ease;
    }

    /* Transform Burger to 'X' When Active */
    .mobile-menu-btn.is-active .bar-1 {
        transform: translateY(7.5px) rotate(45deg);
        background-color: var(--color-terracotta);
    }

    .mobile-menu-btn.is-active .bar-2 {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-btn.is-active .bar-3 {
        transform: translateY(-7.5px) rotate(-45deg);
        background-color: var(--color-terracotta);
    }

    /* Dimmed Backdrop Overlay */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background-color: rgba(18, 22, 18, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
    }

    .nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* Slide-out Mobile Menu Drawer */
    .site-navigation {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background-color: #fdfaf4;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem;
        flex-direction: column;
        align-items: stretch;
        z-index: 1001;
        transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
        overflow-y: auto;
    }

    .site-navigation.is-open {
        transform: translateX(-320px);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.85rem 1.25rem;
        border-radius: 14px;
        background-color: #f6efe1;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-link::after {
        content: '→';
        font-size: 0.95rem;
        opacity: 0.4;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        opacity: 1;
        transform: translateX(3px);
    }

    .nav-link.active {
        background-color: rgba(207, 86, 56, 0.12);
        color: var(--color-terracotta);
        font-weight: 800;
    }
}

/* Extra Compact Phones */
@media (max-width: 400px) {
    .site-navigation {
        width: 270px;
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .brand-logo-img {
        width: 40px;
        height: 40px;
    }
}

/* ===================================================
   HERO BANNER - 100% FULL-SCREEN WIDTH FIX
   =================================================== */

/* Prevent any horizontal page scroll while forcing 100vw */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

/* Force section to span 100% of the entire viewport */
.hero-banner-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 720px;
    height: 90vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #ffffff;
}

/* Background container locked to all 4 corners */
.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Force image to cover all width & height without distortion */
.banner-img {
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block;
}

/* Gradient fade at bottom into white */
.banner-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        rgba(255, 255, 255, 0.95) 92%,
        #ffffff 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Floating content container aligned neatly to content grid */
.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
}

/* Card */
.hero-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 440px;
    padding: 2.5rem 2.25rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #c84e31;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

/* Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}

/* Description */
.hero-description {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 1.75rem;
}

/* Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #be4d32;
    color: #ffffff;
    border: 1px solid #be4d32;
}

.btn-primary:hover {
    background-color: #a83f26;
}

.btn-outline {
    background-color: #ffffff;
    color: #2b2b2b;
    border: 1px solid #767676;
}

.btn-outline:hover {
    background-color: #f7f7f7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-banner-section {
        min-height: 560px;
        height: auto;
    }
    .hero-container {
        padding: 2rem 1.5rem;
    }
    .hero-card {
        max-width: 380px;
        padding: 2rem 1.5rem;
    }
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-banner-section {
        min-height: auto;
        padding: 3rem 0;
    }
    .hero-container {
        padding: 0 1rem;
    }
    .hero-card {
        max-width: 100%;
        padding: 1.75rem 1.25rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
    }
}






/* ===================================================
   MEET THE FRIENDS SECTION
   =================================================== */
.friends-section {
    background-color: #ffffff;
    padding: 5rem 1.5rem 6rem;
    width: 100%;
}

.friends-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Header Area */
.friends-header {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.friends-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 1.1rem;
}

.friends-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.18;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.friends-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    max-width: 620px;
}

/* 4-Column Responsive Grid */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

/* Individual Card */
.friend-card {
    background-color: #fbf2e3; /* Soft warm peach/cream background */
    border-radius: 24px;
    padding: 1.6rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(220, 205, 185, 0.4);
    /* Smooth transition for mouseover animation */
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                background-color 0.3s ease;
}

/* Hover Animation: subtle float lift & soft shadow */
.friend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(180, 140, 100, 0.18);
    background-color: #fbf0dc;
}

/* Circular Avatar Frame */
.friend-avatar-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.friend-circle-bg {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: #fdf5e8;
    border: 2px solid #5d381c; /* Soft dark outline like illustrations */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.friend-avatar-img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Extra hover animation on the character icon inside */
.friend-card:hover .friend-circle-bg {
    transform: scale(1.04);
}

.friend-card:hover .friend-avatar-img {
    transform: scale(1.06) rotate(1.5deg);
}

/* Card Content Details */
.friend-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.friend-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.friend-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #555555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* "Meet [Name] ->" Link */
.friend-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a4a4a;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-top: auto;
}

.friend-card:hover .friend-link {
    color: #1a1a1a;
    transform: translateX(4px);
}

/* Bottom CTA button ("Meet all eight friends ->") */
.friends-cta-wrap {
    text-align: center;
    margin-top: 1rem;
}

.btn-all-friends {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    background-color: #ffffff;
    border: 1px solid #dcd3c4;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2b2b2b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.btn-all-friends:hover {
    background-color: #fcfaf6;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===================================================
   RESPONSIVE BREAKPOINTS (Tablets & Mobile)
   =================================================== */

/* Tablet (2x2 Grid) */
@media (max-width: 1024px) {
    .friends-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .friends-title {
        font-size: 2.2rem;
    }
}

/* Mobile Screens (Stacked Single Column or Compact Grid) */
@media (max-width: 600px) {
    .friends-section {
        padding: 3.5rem 1rem 4rem;
    }

    .friends-header {
        margin-bottom: 2rem;
    }

    .friends-title {
        font-size: 1.85rem;
    }

    .friends-subtitle {
        font-size: 0.92rem;
    }

    .friends-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .friend-card {
        min-height: auto;
        padding: 1.5rem;
    }

    .friend-avatar-wrap {
        max-width: 200px;
        margin: 0 auto 1.25rem;
    }
}


/* ===================================================
   BOOK ONE SPOTLIGHT SECTION
   =================================================== */
.book-spotlight-section {
    background-color: #ebe4d5; /* Warm sand/cream background matching screenshot */
    padding: 6rem 2rem;
    width: 100%;
}

.book-spotlight-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}

/* Left Column Styling */
.book-info-col {
    display: flex;
    flex-direction: column;
}

.book-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c45b38; /* Terracotta orange */
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.book-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4a4a4a;
    margin-bottom: 2rem;
    max-width: 580px;
}

/* Rounded Pill Tags */
.book-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
    max-width: 540px;
}

.book-tag {
    background-color: #ffffff;
    color: #274737; /* Forest green text */
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Age Indicator */
.book-age-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2f3e32;
    margin-bottom: 2.2rem;
}

/* Discover More Button */
.btn-book-discover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #9d5d5b; /* Muted rose/mauve-brown button */
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(157, 93, 91, 0.25);
}

.btn-book-discover:hover {
    background-color: #884b49;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(157, 93, 91, 0.35);
}

/* Right Artwork Card */
.book-cover-col {
    display: flex;
    justify-content: center;
}

.book-cover-card {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.book-cover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.16);
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .book-spotlight-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .book-cover-col {
        order: -1; /* Display artwork above text on smaller screens */
    }

    .book-cover-card {
        max-width: 360px;
    }

    .book-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 600px) {
    .book-spotlight-section {
        padding: 4rem 1.25rem;
    }

    .book-title {
        font-size: 1.85rem;
    }

    .book-description {
        font-size: 0.9rem;
    }

    .book-cover-card {
        max-width: 100%;
        border-radius: 16px;
    }

    .btn-book-discover {
        width: 100%;
        text-align: center;
    }
}



/* ===================================================
   SERVICES / ACTIVITY SECTION
   =================================================== */
.services-activity-section {
    background-color: #ffffff;
    padding: 6.5rem 1.5rem 7rem;
    width: 100%;
}

.services-activity-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Section Header */
.services-activity-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4.5rem;
}

.services-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-style: italic;
    font-family: var(--font-heading);
    letter-spacing: 0.16em;
    color: #c9795f; /* Soft faded terracotta / rose */
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.services-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    max-width: 640px;
    margin: 0 auto;
}

/* 2-Column Dual Cards Grid */
.activity-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* Base Card Style */
.activity-card {
    border-radius: 28px;
    padding: 3rem 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.activity-card:hover {
    transform: translateY(-6px);
}

/* Card 1: Warm Soft Pastel Yellow */
.card-play {
    background-color: #fef8dd;
    border: 1px solid #faeec1;
}

.card-play:hover {
    box-shadow: 0 16px 36px rgba(230, 205, 120, 0.22);
}

/* Card 2: White Card with Soft Light Blue Border */
.card-explore {
    background-color: #ffffff;
    border: 2px solid #cedfed;
}

.card-explore:hover {
    box-shadow: 0 16px 36px rgba(180, 205, 225, 0.28);
}

/* Icons */
.activity-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 1.6rem;
}

.activity-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.icon-spark {
    color: #d89635; /* Gold/Amber */
}

.icon-map {
    color: #5d7890; /* Steel Slate Blue */
}

/* Card Typography */
.activity-card-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.9rem;
}

.activity-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4f4f4f;
    margin-bottom: 2rem;
    max-width: 420px;
    flex-grow: 1;
}

/* Links with Smooth Arrow Slide */
.activity-card-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #cf4f1e; /* Bold Pumpkin Orange */
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-top: auto;
}

.activity-card:hover .activity-card-link {
    color: #aa3d13;
    transform: translateX(4px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 900px) {
    .services-title {
        font-size: 2.25rem;
    }

    .activity-cards-grid {
        gap: 1.75rem;
    }

    .activity-card {
        padding: 2.2rem 1.8rem;
        min-height: auto;
    }

    .activity-card-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 650px) {
    .services-activity-section {
        padding: 4.5rem 1.25rem;
    }

    .services-activity-header {
        margin-bottom: 2.5rem;
    }

    .services-title {
        font-size: 1.85rem;
    }

    .services-subtitle {
        font-size: 0.92rem;
    }

    .activity-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .activity-card {
        border-radius: 20px;
        padding: 2rem 1.5rem;
    }
}

/* ===================================================
   PHILOSOPHY / GROWN-UPS SECTION
   =================================================== */
.philosophy-section {
    background-color: #faedd7; /* Warm peach-cream background */
    width: 100%;
    padding: 6.5rem 1.5rem 7.5rem;
    text-align: center;
    position: relative;
}

.philosophy-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Heart Icon */
.philosophy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #cb5325; /* Terracotta orange outline */
}

.philosophy-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

/* Serif Heading */
.philosophy-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

/* Description Text */
.philosophy-description {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #444444;
    max-width: 680px;
    margin: 0 auto 2.75rem;
}

/* Pill Button */
.btn-grown-ups {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #f7e6ca; /* Slightly lighter tone filling the pill */
    border: 1.5px solid #cb5325; /* Terracotta orange border */
    color: #cb5325; /* Terracotta orange text */
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-grown-ups span {
    transition: transform 0.2s ease;
}

.btn-grown-ups:hover {
    background-color: #f2dec0;
    border-color: #b0441c;
    color: #b0441c;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(203, 83, 37, 0.15);
}

.btn-grown-ups:hover span {
    transform: translateX(4px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 900px) {
    .philosophy-section {
        padding: 5rem 1.5rem 6rem;
    }

    .philosophy-title {
        font-size: 2.6rem;
    }

    .philosophy-description {
        font-size: 1rem;
        margin-bottom: 2.25rem;
    }

    .philosophy-icon svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 600px) {
    .philosophy-section {
        padding: 4rem 1.25rem 4.5rem;
    }

    .philosophy-title {
        font-size: 2rem;
        margin-bottom: 1.15rem;
    }

    .philosophy-description {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .btn-grown-ups {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 1.5rem;
    }
}





/* ===================================================
   EXPLORE THE PATCH PAGE
   =================================================== */
.explore-hero-section {
    background-color: #faf5ed; /* Warm cream/ivory background matching screenshot */
    width: 100%;
    padding: 6.5rem 2rem 5.5rem;
}

.explore-hero-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Eyebrow Label */
.explore-eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4b6a8a; /* Slate / denim blue */
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

/* Page Headline */
.explore-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.8rem;
    max-width: 900px;
}

/* Subtitle Description */
.explore-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #424242;
    max-width: 760px;
    margin: 0;
}

/* Optional Map Container Section below the intro */
.explore-map-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 6rem;
}

.explore-map-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .explore-hero-section {
        padding: 5rem 1.5rem 4rem;
    }

    .explore-title {
        font-size: 3.1rem;
    }

    .explore-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .explore-hero-section {
        padding: 3.5rem 1.25rem 3rem;
    }

    .explore-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .explore-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    .explore-title br {
        display: none; /* Allows natural wrapping on small phones */
    }

    .explore-description {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .explore-map-section {
        padding: 0 1.25rem 4rem;
    }
}



/* ===================================================
   INTERACTIVE MAP & POPUP MODAL STYLES
   =================================================== */
.explore-map-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 6.5rem;
}

.explore-map-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.map-scroll-notice {
    display: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8c7659;
    margin-bottom: 0.75rem;
}

/* Map Frame */
.interactive-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
    border: 3px solid #e2d2ba;
    background-color: #7bb56f;
    line-height: 0;
}

.map-bg-image {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Interactive Pins */
.map-pin-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

/* Pulse radar ring */
.pin-pulse {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(228, 77, 46, 0.45);
    animation: pinRadar 2s infinite ease-out;
    pointer-events: none;
}

@keyframes pinRadar {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

/* Pin icon badge */
.pin-marker {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    background-color: #e44d2e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    border: 2px solid #ffffff;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.pin-marker svg {
    width: 18px;
    height: 18px;
}

.map-pin-btn:hover .pin-marker,
.map-pin-btn:focus .pin-marker {
    transform: scale(1.22);
    background-color: #c93b1e;
}

/* Modal Backdrop */
.map-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Modal Dialog Box */
.map-modal-dialog {
    position: relative;
    background-color: #ffffff;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.map-modal-backdrop.is-visible .map-modal-dialog {
    transform: translateY(0) scale(1);
}

/* Close button */
.map-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.5rem;
    color: #222;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, transform 0.15s;
}

.map-modal-close:hover {
    background-color: #ffffff;
    transform: scale(1.08);
}

/* Modal Body */
.map-modal-body {
    display: flex;
    flex-direction: column;
}

.modal-image-wrap {
    width: 100%;
    height: 220px;
    background-color: #f2e9dc;
    overflow: hidden;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-text-wrap {
    padding: 1.8rem 2rem 2.2rem;
}

.modal-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #c9512c;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* ===================================================
   RESPONSIVE: MOBILE & TABLETS
   =================================================== */
@media (max-width: 900px) {
    .explore-map-section {
        padding: 0 1rem 4rem;
    }

    .map-scroll-notice {
        display: block;
    }

    .explore-map-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Keep proportional map bounds on small viewports so pins stay aligned */
    .interactive-map-wrapper {
        min-width: 800px;
    }

    .modal-image-wrap {
        height: 180px;
    }

    .modal-text-wrap {
        padding: 1.5rem 1.5rem 1.8rem;
    }

    .modal-title {
        font-size: 1.45rem;
    }
}





/* ===================================================
   CHARACTER TRADING CARD POPUP MODAL
   =================================================== */
.map-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 25, 20, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Outer Card Container */
.character-card-modal {
    position: relative;
    background-color: #fdf6ec; /* Warm ivory/cream card tone */
    border-radius: 36px;
    border: 3.5px solid #2e1d0f; /* Dark card border */
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(25px) scale(0.92);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.15);
    display: flex;
    flex-direction: column;
}

.map-modal-backdrop.is-visible .character-card-modal {
    transform: translateY(0) scale(1);
}

/* Close button positioned top right */
.character-card-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #2e1d0f;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: #2e1d0f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.character-card-close:hover {
    transform: scale(1.1);
    background-color: #f5ece0;
}

/* Top Illustration Area */
.card-hero-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(to bottom, #7fc8f8 0%, #b8e2f2 50%, #7dbb58 50%, #52983b 100%);
    overflow: hidden;
    border-bottom: 3px solid #2e1d0f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Name Badge overlapping bottom of illustration */
.character-name-badge {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #f68928 0%, #ea6313 100%);
    border: 3.5px solid #8e390c;
    border-radius: 20px;
    padding: 0.45rem 2.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    white-space: nowrap;
}

.character-name-badge span {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.02em;
}

/* Card Content Area */
.card-details-wrap {
    padding: 2.5rem 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-character-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #b54a17; /* Rust pumpkin title */
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.card-character-story {
    font-size: 0.96rem;
    line-height: 1.58;
    color: #2b2b2b;
    margin-bottom: 1.6rem;
    text-align: left;
}

/* Loves / Special Skill Pill Rows */
.card-pill-row {
    width: 100%;
    background-color: #ffffff;
    border: 1.8px solid #dfcfbe;
    border-radius: 50px;
    padding: 0.65rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.pill-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.pill-label {
    font-weight: 800;
    color: #923a10;
}

.pill-value {
    color: #2b2b2b;
    font-weight: 500;
    text-align: left;
}

/* Bottom Card Marker */
.card-bottom-brand {
    margin-top: 0.9rem;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #8c603b;
    text-transform: uppercase;
}

/* Mobile Responsiveness for Modal */
@media (max-width: 500px) {
    .character-card-modal {
        border-radius: 26px;
        max-width: 340px;
    }

    .card-hero-wrap {
        height: 220px;
    }

    .character-name-badge {
        bottom: -18px;
        padding: 0.35rem 1.6rem;
    }

    .character-name-badge span {
        font-size: 1.35rem;
    }

    .card-details-wrap {
        padding: 2.2rem 1.25rem 1.25rem;
    }

    .card-character-subtitle {
        font-size: 1.1rem;
    }

    .card-character-story {
        font-size: 0.86rem;
    }

    .card-pill-row {
        font-size: 0.8rem;
        padding: 0.55rem 0.9rem;
    }
}








/* ===================================================
   INTERACTIVE MAP PIN & CARD MODAL STYLES
   =================================================== */
.explore-map-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 6.5rem;
}

.explore-map-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.map-scroll-notice {
    display: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8c7659;
    margin-bottom: 0.75rem;
}

.interactive-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
    border: 3px solid #e2d2ba;
    background-color: #7bb56f;
    line-height: 0;
}

.map-bg-image {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Location Pins */
.map-pin-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.pin-pulse {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(228, 77, 46, 0.45);
    animation: pinRadar 2s infinite ease-out;
    pointer-events: none;
}

@keyframes pinRadar {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.85); opacity: 0; }
}

.pin-marker {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    background-color: #e44d2e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    border: 2px solid #ffffff;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.pin-marker svg {
    width: 18px;
    height: 18px;
}

.map-pin-btn:hover .pin-marker,
.map-pin-btn:focus .pin-marker {
    transform: scale(1.22);
    background-color: #c93b1e;
}

/* Modal Backdrop */
.map-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 25, 20, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Activity & Story Card Frame */
.character-card-modal {
    position: relative;
    background-color: #fdfaf3; /* Cream background matching original card */
    border-radius: 36px;
    border: 3.5px solid #2e1d0f;
    max-width: 440px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(25px) scale(0.92);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.15);
    display: flex;
    flex-direction: column;
}

.map-modal-backdrop.is-visible .character-card-modal {
    transform: translateY(0) scale(1);
}

/* Modal Close Button */
.character-card-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #2e1d0f;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #2e1d0f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.character-card-close:hover {
    transform: scale(1.1);
    background-color: #f5ece0;
}

/* Top Header Bar */
.card-activity-header {
    background-color: #a06e30;
    text-align: center;
    padding: 1.1rem 1.5rem;
    border-bottom: 3.5px solid #2e1d0f;
    transition: background-color 0.25s ease;
}

.card-activity-header h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    margin: 0;
}

/* Image Wrap */
.card-hero-wrap {
    position: relative;
    width: 100%;
    height: 270px;
    background-color: #bde4f5;
    overflow: hidden;
    border-bottom: 3px solid #2e1d0f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Body Area */
.card-activity-body {
    padding: 1.75rem 2.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Subtitle (Card X • with [Name]) */
.activity-subtitle {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #a06e30;
    margin-bottom: 1.4rem;
    text-align: center;
    letter-spacing: -0.01em;
}

/* Steps List */
.activity-steps-list {
    list-style: none;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 1.6rem;
    width: 100%;
}

.activity-steps-list li {
    counter-increment: step-counter;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #2b2b2b;
    font-weight: 500;
}

/* Circular Number Badge */
.activity-steps-list li::before {
    content: counter(step-counter);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: #a06e30;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    margin-top: 2px;
    transition: background-color 0.25s ease;
}

/* Dashed "Say it" Callout Box */
.activity-dashed-box {
    width: 100%;
    background-color: transparent;
    border: 3px dashed #a06e30;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 1.05rem;
    color: #2b2b2b;
    margin-bottom: 1.25rem;
    transition: border-color 0.25s ease;
}

.activity-dashed-box strong {
    color: #a06e30;
    font-weight: 800;
    transition: color 0.25s ease;
}

/* Story/Intro Card Typography (e.g. Zuki Slow-Down) */
.card-story-block {
    text-align: center;
    margin-bottom: 1.5rem;
}

.story-text-lead {
    font-size: 1.28rem;
    line-height: 1.45;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.story-text-body {
    font-size: 1.28rem;
    line-height: 1.5;
    color: #1a1a1a;
    font-weight: 500;
}

/* Card Bottom Brand Marker */
.card-bottom-brand {
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #8c603b;
    text-align: center;
    text-transform: uppercase;
    margin-top: auto;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .explore-map-section {
        padding: 0 1rem 4rem;
    }
    .map-scroll-notice {
        display: block;
    }
    .explore-map-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .interactive-map-wrapper {
        min-width: 800px;
    }
}

@media (max-width: 500px) {
    .character-card-modal {
        border-radius: 26px;
        max-width: 340px;
    }
    .card-activity-header {
        padding: 0.85rem 1rem;
    }
    .card-activity-header h2 {
        font-size: 1.35rem;
    }
    .card-hero-wrap {
        height: 200px;
    }
    .card-activity-body {
        padding: 1.25rem 1.2rem 1rem;
    }
    .activity-subtitle {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
    .activity-steps-list li {
        font-size: 0.92rem;
        gap: 0.65rem;
    }
    .activity-steps-list li::before {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
    .activity-dashed-box {
        font-size: 0.92rem;
        padding: 0.75rem 0.9rem;
    }
    .story-text-lead, .story-text-body {
        font-size: 1.05rem;
    }
}




/* ===================================================
   STORIES PAGE STYLES
   =================================================== */
.stories-hero-section {
    background-color: #faf5ed; /* Warm cream/ivory background matching screenshot */
    width: 100%;
    padding: 6.5rem 2rem 5rem;
}

.stories-hero-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Orange Eyebrow */
.stories-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c45b38; /* Terracotta orange matching design */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Large Serif Title */
.stories-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    max-width: 950px;
}

/* Subtitle Description */
.stories-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #424242;
    max-width: 780px;
    margin: 0;
}

/* Stories Catalog Section (for books/cards below intro) */
.stories-catalog-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 6.5rem;
}

.stories-catalog-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .stories-hero-section {
        padding: 5rem 1.5rem 4rem;
    }

    .stories-title {
        font-size: 3.2rem;
    }

    .stories-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .stories-hero-section {
        padding: 3.5rem 1.25rem 3rem;
    }

    .stories-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .stories-title {
        font-size: 2.3rem;
        line-height: 1.2;
        margin-bottom: 1.3rem;
    }

    .stories-title br {
        display: none; /* Allows natural text flow on narrow screens */
    }

    .stories-description {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .stories-catalog-section {
        padding: 0 1.25rem 4rem;
    }
}

/* ===================================================
   STORIES CATALOG & BOOK CARDS SECTION
   =================================================== */
.stories-catalog-section {
    background-color: #faf5ed; /* Soft warm ivory backdrop */
    width: 100%;
    padding: 0 2rem 7rem;
}

.stories-catalog-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* 3-Column Grid for Books */
.stories-books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Base Card Style */
.story-book-card {
    border-radius: 28px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------
   1. Published Active Card (Book 1)
   --------------------------------------------------- */
.published-card {
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(220, 205, 185, 0.4);
    overflow: hidden;
}

.published-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(180, 140, 100, 0.16);
}

.book-card-artwork {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #d6e8f4;
}

.book-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    transition: transform 0.4s ease;
}

.published-card:hover .book-card-img {
    transform: scale(1.03);
}

.book-card-details {
    padding: 2rem 1.8rem 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-card-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c45b38; /* Terracotta orange */
    margin-bottom: 0.75rem;
}

.book-card-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 0.85rem;
}

.book-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #666666;
    margin-bottom: 1.6rem;
    flex-grow: 1;
}

.book-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #274737; /* Forest green */
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-top: auto;
}

.book-card-link:hover {
    color: #c45b38;
    transform: translateX(4px);
}

/* ---------------------------------------------------
   2. Upcoming Cards (Books 2, 3, 4...)
   --------------------------------------------------- */
.upcoming-card {
    background-color: #f7f1e4; /* Very soft beige filling */
    border: 1.5px dashed #ded4c1; /* Fine dashed border matching screenshot */
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 2rem;
}

.upcoming-card:hover {
    transform: translateY(-4px);
    border-color: #cbbba1;
    background-color: #f5eedf;
}

.upcoming-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upcoming-book-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    color: #7a6e60; /* Muted brown */
    margin-bottom: 0.8rem;
}

.upcoming-teaser-text {
    font-size: 0.95rem;
    color: #8c8071; /* Faded neutral tone */
    line-height: 1.5;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE BREAKPOINTS
   =================================================== */

/* Tablet (2 Columns) */
@media (max-width: 1024px) {
    .stories-books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .book-card-artwork {
        height: 320px;
    }

    .upcoming-card {
        min-height: 480px;
    }
}

/* Mobile Screens (Stacked 1 Column) */
@media (max-width: 650px) {
    .stories-catalog-section {
        padding: 0 1.25rem 5rem;
    }

    .stories-books-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .book-card-artwork {
        height: 300px;
    }

    .book-card-details {
        padding: 1.5rem 1.35rem 1.75rem;
    }

    .book-card-title {
        font-size: 1.4rem;
    }

    .upcoming-card {
        min-height: 220px; /* Reduced vertical height so mobile doesn't scroll excessively */
        padding: 2rem 1.5rem;
    }

    .upcoming-book-num {
        font-size: 1.2rem;
    }

    .upcoming-teaser-text {
        font-size: 0.9rem;
    }
}




/* ===================================================
   GROWN-UPS PAGE STYLES
   =================================================== */
.grown-ups-hero-section {
    background-color: #faf5ed; /* Soft warm ivory background */
    width: 100%;
    padding: 6.5rem 2rem 7rem;
}

.grown-ups-container {
    max-width: 1120px;
    margin: 0 auto;
}

/* Eyebrow Label */
.grown-ups-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c45b38; /* Terracotta orange */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

/* Editorial Title */
.grown-ups-title {
    font-family: var(--font-heading);
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.8rem;
}

/* Intro Paragraph */
.grown-ups-description {
    font-size: 1.08rem;
    line-height: 1.68;
    color: #424242;
    max-width: 860px;
    margin-bottom: 3.5rem;
}

/* Soft Sage/Olive Topics Card */
.patch-talks-card {
    background-color: #e8ece1; /* Soft muted sage/olive green */
    border-radius: 28px;
    padding: 3rem 3.2rem 3.4rem;
    max-width: 960px;
}

.patch-talks-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.85rem;
}

.patch-talks-subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #555555;
    margin-bottom: 1.8rem;
}

/* Rounded Theme Pills */
.patch-themes-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.patch-theme-pill {
    background-color: #ffffff;
    color: #1d5b4a; /* Deep forest teal/green */
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    letter-spacing: -0.005em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.patch-theme-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .grown-ups-hero-section {
        padding: 5rem 1.5rem 5.5rem;
    }

    .grown-ups-title {
        font-size: 3.2rem;
    }

    .patch-talks-card {
        padding: 2.5rem 2.2rem;
    }
}

@media (max-width: 600px) {
    .grown-ups-hero-section {
        padding: 3.5rem 1.25rem 4rem;
    }

    .grown-ups-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .grown-ups-title {
        font-size: 2.3rem;
        line-height: 1.18;
        margin-bottom: 1.25rem;
    }

    .grown-ups-description {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 2.5rem;
    }

    .patch-talks-card {
        padding: 1.8rem 1.35rem 2rem;
        border-radius: 20px;
    }

    .patch-talks-title {
        font-size: 1.45rem;
    }

    .patch-talks-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.4rem;
    }

    .patch-themes-wrap {
        gap: 0.55rem;
    }

    .patch-theme-pill {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }
}

/* ===================================================
   GROWN-UPS PRINCIPLES CARDS SECTION
   =================================================== */
.grown-ups-principles-section {
    background-color: #faf5ed; /* Seamless cream background */
    width: 100%;
    padding: 0 2rem 7.5rem;
}

/* Stacked Cards Container */
.grown-ups-principles-section .grown-ups-container {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

/* Base Principle Card */
.principle-card {
    border-radius: 28px;
    padding: 3.2rem 3.4rem;
    max-width: 960px;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.principle-card:hover {
    transform: translateY(-3px);
}

/* Card 1: Warm Peach Card with Amber/Golden Border */
.card-characters-first {
    background-color: #fbf3e5;
    border: 2px solid #ecd8b3;
}

.card-characters-first:hover {
    box-shadow: 0 12px 28px rgba(220, 185, 130, 0.2);
}

/* Card 2: Soft White/Ice-Blue Card with Light Blue Border */
.card-accessibility {
    background-color: #f0f4f8;
    border: 2px solid #cbdde9;
}

.card-accessibility:hover {
    box-shadow: 0 12px 28px rgba(180, 205, 225, 0.25);
}

/* Card Icons */
.principle-icon {
    display: flex;
    align-items: center;
    margin-bottom: 1.6rem;
}

.principle-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.icon-heart {
    color: #d18a22; /* Warm amber-gold matching screenshot */
}

.icon-accessibility {
    color: #4b6f96; /* Soft slate/denim blue */
}

/* Titles & Text */
.principle-card-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 1.15rem;
}

.principle-card-text {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #444444;
    margin-bottom: 1.6rem;
}

/* Accessibility Checklist */
.accessibility-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin-top: 1rem;
}

.accessibility-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: #3b3b3b;
}

/* Shield Checkmark Icon */
.check-icon {
    flex-shrink: 0;
    color: #4b6f96;
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.check-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .grown-ups-principles-section {
        padding: 0 1.5rem 6rem;
    }

    .principle-card {
        padding: 2.5rem 2.2rem;
    }

    .principle-card-title {
        font-size: 1.85rem;
    }

    .principle-card-text {
        font-size: 1rem;
    }

    .accessibility-checklist li {
        font-size: 0.96rem;
    }
}

@media (max-width: 600px) {
    .grown-ups-principles-section {
        padding: 0 1.25rem 4.5rem;
    }

    .grown-ups-principles-section .grown-ups-container {
        gap: 1.5rem;
    }

    .principle-card {
        padding: 1.85rem 1.35rem 2rem;
        border-radius: 20px;
    }

    .principle-icon {
        margin-bottom: 1.2rem;
    }

    .principle-icon svg {
        width: 28px;
        height: 28px;
    }

    .principle-card-title {
        font-size: 1.55rem;
        line-height: 1.22;
        margin-bottom: 0.9rem;
    }

    .principle-card-text {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }

    .accessibility-checklist {
        gap: 0.85rem;
    }

    .accessibility-checklist li {
        font-size: 0.9rem;
        gap: 0.65rem;
    }

    .check-icon svg {
        width: 18px;
        height: 18px;
    }
}


/* ===================================================
   GROWN-UPS FINAL SECTION: MADE WITH PEOPLE WHO KNOW
   =================================================== */
.grown-ups-contribute-section {
    background-color: #faf5ed; /* Seamless cream backdrop */
    width: 100%;
    padding: 0 2rem 7rem;
}

/* Dark Card Frame */
.contribute-card {
    background-color: #2b2620; /* Deep charcoal warm-brown */
    color: #ffffff;
    border-radius: 32px;
    padding: 3.5rem 3.8rem;
    max-width: 960px;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* People Icon */
.contribute-icon {
    display: flex;
    align-items: center;
    color: #d18a22; /* Warm amber-gold */
    margin-bottom: 1.5rem;
}

.contribute-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

/* Title */
.contribute-card-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

/* Body Text */
.contribute-card-text {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #e5dfd7;
    max-width: 820px;
    margin-bottom: 2.5rem;
}

/* Button Group */
.contribute-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Terracotta Primary Pill Button */
.btn-contribute-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #d3552d; /* Terracotta orange */
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-contribute-primary span {
    transition: transform 0.2s ease;
}

.btn-contribute-primary:hover {
    background-color: #ba4722;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 85, 45, 0.3);
}

.btn-contribute-primary:hover span {
    transform: translateX(4px);
}

/* Dark Outlined Pill Button */
.btn-contribute-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid #6b6359;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-contribute-outline:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .grown-ups-contribute-section {
        padding: 0 1.5rem 5.5rem;
    }

    .contribute-card {
        padding: 2.8rem 2.4rem;
    }

    .contribute-card-title {
        font-size: 1.85rem;
    }

    .contribute-card-text {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .grown-ups-contribute-section {
        padding: 0 1.25rem 4rem;
    }

    .contribute-card {
        padding: 2rem 1.35rem 2.2rem;
        border-radius: 24px;
    }

    .contribute-icon svg {
        width: 28px;
        height: 28px;
    }

    .contribute-card-title {
        font-size: 1.55rem;
        line-height: 1.22;
        margin-bottom: 0.9rem;
    }

    .contribute-card-text {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.8rem;
    }

    .contribute-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .btn-contribute-primary,
    .btn-contribute-outline {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
    }
}








/* ===================================================
   SCHOOLS & EDUCATORS PAGE STYLES
   =================================================== */
.schools-hero-section {
    background-color: #faf5ed; /* Soft warm ivory background matching screenshot */
    width: 100%;
    padding: 6.5rem 2rem 5rem;
}

.schools-hero-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Green/Teal Eyebrow */
.schools-eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #427266; /* Muted forest teal/green */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

/* Large Serif Title */
.schools-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.8rem;
    max-width: 980px;
}

/* Subtitle Description */
.schools-description {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #444444;
    max-width: 790px;
    margin: 0;
}

/* Resources Container Section Below Intro */
.schools-resources-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7rem;
}

.schools-resources-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .schools-hero-section {
        padding: 5rem 1.5rem 4rem;
    }

    .schools-title {
        font-size: 3.2rem;
    }

    .schools-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .schools-hero-section {
        padding: 3.5rem 1.25rem 3rem;
    }

    .schools-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .schools-title {
        font-size: 2.25rem;
        line-height: 1.18;
        margin-bottom: 1.25rem;
    }

    .schools-title br {
        display: none; /* Let line wrap naturally on narrow screens */
    }

    .schools-description {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .schools-resources-section {
        padding: 0 1.25rem 4.5rem;
    }
}




/* ===================================================
   CLASSROOM RESOURCES & FILTER BAR STYLES
   =================================================== */
.schools-resources-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

.schools-resources-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Filter Box Container */
.resource-filter-box {
    background-color: #f1f4ec; /* Soft pale sage/olive box */
    border: 1.5px solid #dbe3d3;
    border-radius: 26px;
    padding: 2.2rem 2.8rem 2.5rem;
    margin-bottom: 3.5rem;
}

.filter-box-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #274538;
    margin-bottom: 1.5rem;
}

.filter-box-heading svg {
    width: 20px;
    height: 20px;
    color: #274538;
}

/* 3-Column Dropdown Selectors */
.filter-controls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 0.55rem;
}

.custom-select-wrap {
    position: relative;
    width: 100%;
}

.filter-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fdfcf9;
    border: 1.5px solid #d5cebf;
    border-radius: 12px;
    padding: 0.85rem 2.5rem 0.85rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 500;
    color: #2b2b2b;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-select:focus {
    border-color: #3f674d;
    box-shadow: 0 0 0 3px rgba(63, 103, 77, 0.15);
}

/* Custom Down Arrow Icon */
.custom-select-wrap::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555555;
    pointer-events: none;
}

/* 2-Column Resource Cards Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.85rem;
}

/* Resource Card */
.resource-card {
    background-color: #fdfbf7;
    border: 1.5px solid #ded5c5;
    border-radius: 24px;
    padding: 2.2rem 2.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(180, 150, 110, 0.14);
    border-color: #c9bea9;
}

/* Square Download Icon Badge */
.resource-icon-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.resource-icon-badge svg {
    width: 24px;
    height: 24px;
}

/* Card Content Details */
.resource-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resource-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.resource-title {
    font-family: var(--font-heading);
    font-size: 1.38rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
}

.resource-meta {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 1.25rem;
}

/* Download Link */
.resource-download-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: #cf5638; /* Terracotta orange */
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.resource-download-link span {
    transition: transform 0.2s ease;
}

.resource-card:hover .resource-download-link {
    color: #a83f26;
}

.resource-card:hover .resource-download-link span {
    transform: translateX(4px);
}

/* No Results Notice */
.no-resources-notice {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: #f6efe1;
    border-radius: 20px;
    margin-top: 1rem;
}

.no-resources-notice p {
    font-size: 1.15rem;
    color: #555555;
    margin-bottom: 1.25rem;
}

.btn-reset-filters {
    background-color: #3f674d;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.8rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-reset-filters:hover {
    background-color: #2e4d39;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .resource-filter-box {
        padding: 2rem 1.8rem;
    }

    .resources-grid {
        gap: 1.35rem;
    }

    .resource-card {
        padding: 1.8rem 1.5rem;
        gap: 1.25rem;
    }

    .resource-title {
        font-size: 1.22rem;
    }
}

@media (max-width: 768px) {
    .schools-resources-section {
        padding: 0 1.25rem 5rem;
    }

    .filter-controls-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        padding: 1.5rem 1.25rem;
        border-radius: 18px;
    }

    .resource-icon-badge {
        width: 44px;
        height: 44px;
    }

    .resource-icon-badge svg {
        width: 20px;
        height: 20px;
    }

    .resource-title {
        font-size: 1.15rem;
    }

    .resource-meta {
        font-size: 0.84rem;
    }
}





/* ===================================================
   MEET THE FRIENDS PAGE STYLES
   =================================================== */
.friends-page-hero {
    background-color: #faf5ed; /* Warm cream/ivory background */
    width: 100%;
    padding: 6.5rem 2rem 5rem;
}

.friends-page-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Green/Olive Eyebrow */
.friends-page-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4b6b55; /* Soft forest/sage green matching screenshot */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Editorial Serif Title */
.friends-page-title {
    font-family: var(--font-heading);
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.8rem;
    max-width: 950px;
}

/* Subtitle Description */
.friends-page-description {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #424242;
    max-width: 760px;
    margin: 0;
}

/* Section for the friends cards below the intro */
.friends-page-grid-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .friends-page-hero {
        padding: 5rem 1.5rem 4rem;
    }

    .friends-page-title {
        font-size: 3.3rem;
    }

    .friends-page-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .friends-page-hero {
        padding: 3.5rem 1.25rem 3rem;
    }

    .friends-page-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .friends-page-title {
        font-size: 2.3rem;
        line-height: 1.18;
        margin-bottom: 1.25rem;
    }

    .friends-page-title br {
        display: none; /* Allows natural wrapping on mobile */
    }

    .friends-page-description {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .friends-page-grid-section {
        padding: 0 1.25rem 5rem;
    }
}


/* ===================================================
   MEET THE FRIENDS ROSTER GRID SECTION
   =================================================== */
.friends-roster-section {
    background-color: #faf5ed; /* Ivory background */
    width: 100%;
    padding: 0 2rem 7.5rem;
}

/* 4-Column Grid for Desktop */
.friends-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.85rem;
    align-items: stretch;
}

/* Individual Clickable Card Anchor */
.friend-full-card {
    background-color: #fcf4e8; /* Soft warm peach-cream matching screenshots */
    border: 1.5px solid rgba(225, 210, 190, 0.6);
    border-radius: 26px;
    padding: 1.6rem 1.4rem 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 430px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                background-color 0.25s ease;
}

/* Card Hover Animation */
.friend-full-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 34px rgba(180, 140, 100, 0.18);
    background-color: #fbf0dc;
}

/* Circle Frame on Top */
.card-circle-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
}

.character-circle-border {
    width: 92%;
    height: 92%;
    border-radius: 50%;
    background: #fdf5e8;
    border: 2.5px solid #57371d; /* Solid dark rim matching illustrations */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.character-img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Micro-animations on circle inside card on hover */
.friend-full-card:hover .character-circle-border {
    transform: scale(1.04);
}

.friend-full-card:hover .character-img {
    transform: scale(1.06) rotate(1.5deg);
}

/* Card Text Container */
.card-text-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-character-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.card-character-bio {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #555555;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

/* Link Action: Meet [Name] -> */
.card-character-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a4a4a;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    transition: color 0.2s ease, transform 0.2s ease;
}

.friend-full-card:hover .card-character-action {
    color: #1a1a1a;
    transform: translateX(4px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */

/* Tablet & Smaller Desktops (2 Columns) */
@media (max-width: 1024px) {
    .friends-roster-section {
        padding: 0 1.5rem 6rem;
    }

    .friends-full-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .friend-full-card {
        min-height: 380px;
        padding: 1.5rem;
    }
}

/* Mobile Screens (Single Stacked Column) */
@media (max-width: 600px) {
    .friends-roster-section {
        padding: 0 1.25rem 4.5rem;
    }

    .friends-full-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .friend-full-card {
        min-height: auto;
        padding: 1.4rem 1.25rem 1.6rem;
        border-radius: 20px;
    }

    .card-circle-wrapper {
        max-width: 200px;
        margin: 0 auto 1.2rem;
    }

    .card-character-name {
        font-size: 1.25rem;
    }

    .card-character-bio {
        font-size: 0.85rem;
    }
}




/* ===================================================
   CHARACTER DETAIL PAGE: PUMPKIN.PHP
   =================================================== */

/* Container base for character page */
.character-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------------------------------------------------
   1. Character Hero Section
   --------------------------------------------------- */
.character-hero-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 3.5rem 2rem 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #4b6b55; /* Sage green matching screenshot */
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    color: #274737;
    transform: translateX(-4px);
}

.character-hero-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 4.5rem;
    align-items: center;
}

/* Large Art Card */
.character-hero-card {
    background-color: #fdfaf3;
    border: 1.5px solid #ded5c5;
    border-radius: 36px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.character-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info Column */
.character-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c45b38; /* Terracotta orange */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.character-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.08;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}

.character-tagline {
    font-size: 1.22rem;
    font-weight: 600;
    color: #555555;
    margin-bottom: 1.6rem;
}

.character-bio-text p {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #424242;
    max-width: 620px;
}

/* ---------------------------------------------------
   2. Three Trait Cards Section
   --------------------------------------------------- */
.character-traits-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 4.5rem;
}

.character-traits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.85rem;
}

.trait-card {
    border-radius: 26px;
    padding: 2.6rem 2.2rem;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* Trait Card 1: Green */
.trait-card-green {
    background-color: #f1f4ec;
    border: 1.5px solid #d5decb;
}

.trait-card-green .trait-icon {
    color: #476f52;
}

.trait-card-green .trait-list li::before {
    background-color: #476f52;
}

/* Trait Card 2: Blue */
.trait-card-blue {
    background-color: #edf3f7;
    border: 1.5px solid #c9dae6;
}

.trait-card-blue .trait-icon {
    color: #4d7a9b;
}

.trait-card-blue .trait-list li::before {
    background-color: #4d7a9b;
}

/* Trait Card 3: Yellow */
.trait-card-yellow {
    background-color: #fcf6e8;
    border: 1.5px solid #ede1bf;
}

.trait-card-yellow .trait-icon {
    color: #d19528;
}

.trait-card-yellow .trait-list li::before {
    background-color: #d19528;
}

.trait-icon {
    margin-bottom: 1.5rem;
}

.trait-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.trait-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
}

.trait-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.trait-list li {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #4a4a4a;
    position: relative;
    padding-left: 1.25rem;
}

.trait-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ---------------------------------------------------
   3. Try This Activity Banner
   --------------------------------------------------- */
.character-activity-banner-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 5rem;
}

.activity-promo-card {
    background-color: #fbf3e5;
    border: 1.5px solid #ecd8b3;
    border-radius: 28px;
    padding: 2.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.activity-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c45b38;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.activity-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin: 0;
}

.btn-activity-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #cf5638; /* Terracotta pill button */
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-activity-action:hover {
    background-color: #b5452a;
    transform: translateY(-2px);
}

.btn-activity-action span {
    transition: transform 0.2s ease;
}

.btn-activity-action:hover span {
    transform: translateX(4px);
}

/* ---------------------------------------------------
   4. Relations: Friends & Books Featuring Pumpkin
   --------------------------------------------------- */
.character-relations-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 5.5rem;
}

.character-relations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.relations-col-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 1.6rem;
}

.friends-mini-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.mini-friend-bubble {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fcf4e8;
    border: 2px solid #57371d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-friend-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.mini-friend-bubble img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* Book Pill Card */
.featured-book-pill {
    background-color: #fdfcf9;
    border: 1.5px solid #ded5c5;
    border-radius: 20px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-book-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.featured-book-thumb {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #476f52;
}

.featured-book-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-book-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.featured-book-meta {
    font-size: 0.86rem;
    color: #666666;
    margin: 0;
}

/* ---------------------------------------------------
   5. For Grown-Ups Dark Card
   --------------------------------------------------- */
.character-grownups-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

.character-grownups-card {
    background-color: #2b2620; /* Dark charcoal warm tone */
    color: #ffffff;
    border-radius: 32px;
    padding: 3.5rem 3.8rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.grownups-card-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #d89b25; /* Amber / golden label */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.grownups-card-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
    max-width: 900px;
    margin-bottom: 1.25rem;
}

.grownups-card-sub {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #b5aba1;
    max-width: 860px;
    margin-bottom: 2.2rem;
}

.btn-grownups-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid #6b6359;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-grownups-pill:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .character-hero-grid {
        grid-template-columns: 360px 1fr;
        gap: 3rem;
    }

    .character-title {
        font-size: 3.4rem;
    }

    .character-traits-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .character-relations-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .character-hero-section {
        padding: 2.5rem 1.25rem 3rem;
    }

    .character-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .character-hero-card {
        max-width: 340px;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .character-title {
        font-size: 2.6rem;
    }

    .character-traits-section,
    .character-activity-banner-section,
    .character-relations-section,
    .character-grownups-section {
        padding: 0 1.25rem 3.5rem;
    }

    .activity-promo-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.5rem;
        gap: 1.25rem;
    }

    .btn-activity-action {
        width: 100%;
        justify-content: center;
    }

    .character-grownups-card {
        padding: 2.2rem 1.5rem;
        border-radius: 24px;
    }

    .grownups-card-lead {
        font-size: 1.05rem;
    }

    .btn-grownups-pill {
        width: 100%;
        justify-content: center;
    }
}





/* ===================================================
   SAMMY SPAGHETTI SPECIFIC STYLES
   =================================================== */

/* Eyebrow in warm amber matching screenshot */
.eyebrow-sammy {
    color: #cb7b22 !important;
}

/* Outer Wrapper for Activity Section with Nested Game */
.activity-promo-card-outer {
    background-color: #fbf3e5;
    border: 1.5px solid #ecd8b3;
    border-radius: 36px;
    padding: 3rem 3.2rem 3.5rem;
    display: flex;
    flex-direction: column;
}

.activity-promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* Inner White Game Box */
.pattern-game-card {
    background-color: #ffffff;
    border: 1.5px solid #ebdcc5;
    border-radius: 28px;
    padding: 2.8rem 2.8rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pattern-game-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.pattern-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
}

.pattern-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555555;
    max-width: 680px;
    margin: 0;
}

/* Counter Badge ("0 found") */
.pattern-counter-badge {
    background-color: #fdf3d9;
    color: #4a4a4a;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

/* Soft Green/Sage Sequence Shelf */
.pattern-sequence-shelf {
    background-color: #e9eee4;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.2rem;
}

.shape-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
}

/* Shapes */
.shape-star-blue {
    width: 52px;
    height: 52px;
    color: #6a91be;
}

.shape-triangle-yellow {
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-bottom: 44px solid #dba92e;
}

.shape-square-green {
    width: 44px;
    height: 44px;
    background-color: #4f785b;
    border-radius: 8px;
}

.shape-circle-orange {
    width: 48px;
    height: 48px;
    background-color: #d15c38;
    border-radius: 50%;
}

/* Dashed Placeholder Slot (?) */
.placeholder-slot {
    width: 52px;
    height: 52px;
    border: 2px dashed #95a396;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b998d;
    font-size: 1.35rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Question Prompt */
.pattern-question-label {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* Choice Buttons Grid */
.pattern-choices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pattern-choice-btn {
    background-color: #ffffff;
    border: 1.5px solid #ebdcc5;
    border-radius: 20px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.pattern-choice-btn:hover {
    transform: translateY(-3px);
    border-color: #cbb89b;
    box-shadow: 0 8px 18px rgba(180, 150, 110, 0.12);
}

.pattern-choice-btn:active {
    transform: scale(0.97);
}

/* Feedback Box */
.pattern-feedback {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 14px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.pattern-feedback.success {
    background-color: #eaf6ed;
    color: #277242;
    border: 1px solid #bde6c6;
}

.pattern-feedback.retry {
    background-color: #fff3f0;
    color: #cf5638;
    border: 1px solid #ffd4cb;
}

/* Sammy's Friends Pill Chip */
.friends-pill-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.friend-character-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #fdfaf3;
    border: 1.5px solid #ebdcc5;
    border-radius: 50px;
    padding: 0.45rem 1.4rem 0.45rem 0.65rem;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.friend-character-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.chip-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcf4e8;
    border: 1.5px solid #6b401f;
}

.chip-avatar img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 900px) {
    .activity-promo-card-outer {
        padding: 2.2rem 1.8rem;
    }

    .activity-promo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .pattern-game-card {
        padding: 2rem 1.5rem;
    }

    .pattern-sequence-shelf {
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .activity-promo-card-outer {
        padding: 1.75rem 1.25rem;
        border-radius: 24px;
    }

    .pattern-game-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }

    .pattern-game-top {
        flex-direction: column;
        gap: 0.85rem;
    }

    .pattern-sequence-shelf {
        gap: 0.85rem;
        padding: 1.5rem 0.65rem;
    }

    .shape-item {
        width: 38px;
        height: 38px;
    }

    .shape-star-blue {
        width: 34px;
        height: 34px;
    }

    .shape-triangle-yellow {
        border-left-width: 16px;
        border-right-width: 16px;
        border-bottom-width: 30px;
    }

    .shape-square-green {
        width: 30px;
        height: 30px;
    }

    .shape-circle-orange {
        width: 32px;
        height: 32px;
    }

    .placeholder-slot {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .pattern-choices-grid {
        gap: 0.85rem;
    }

    .pattern-choice-btn {
        height: 85px;
        border-radius: 16px;
    }
}

/* ===================================================
   BEA BUTTERNUT SPECIFIC ACCENTS
   =================================================== */
.eyebrow-bea {
    color: #4b6b55 !important; /* Sage forest green eyebrow matching screenshot */
}

/* ===================================================
   DELLA DELICATA SPECIFIC ACCENTS
   =================================================== */
.eyebrow-della {
    color: #637356 !important; /* Soft muted sage/olive green matching screenshot */
}

/* ===================================================
   DOT DUMPLING SPECIFIC ACCENTS
   =================================================== */
.eyebrow-dot {
    color: #c45b38 !important; /* Warm terracotta/peach tone matching screenshot */
}

/* ===================================================
   TULLY TURBAN SPECIFIC ACCENTS
   =================================================== */
.eyebrow-tully {
    color: #cb7b22 !important; /* Golden amber eyebrow matching screenshot */
}
/* ===================================================
   ZUKI ZUCCHINI SPECIFIC ACCENTS
   =================================================== */
.eyebrow-zuki {
    color: #4b6b55 !important; /* Sage forest green eyebrow matching screenshot */
}
/* ===================================================
   HUBERT HUBBARD SPECIFIC ACCENTS
   =================================================== */
.eyebrow-hubert {
    color: #4a6d88 !important; /* Soft slate/denim blue matching screenshot */
}

/* ===================================================
   FRIENDS PAGE: "EVERY PEBBLE BELONGS" QUOTE BANNER
   =================================================== */
.friends-quote-section {
    background-color: #faf5ed; /* Seamless cream backdrop */
    width: 100%;
    padding: 0 2rem 7.5rem;
}

/* Green Quote Card Frame */
.pebble-quote-card {
    background-color: #496f52; /* Forest olive/sage green matching screenshot */
    border-radius: 34px;
    padding: 4.5rem 3.5rem;
    text-align: center;
    max-width: 1240px;
    margin: 0 auto;
    box-shadow: 0 16px 40px rgba(45, 75, 52, 0.12);
}

/* Quote Heading */
.pebble-quote-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0 0 1.25rem;
}

/* Subtitle Description */
.pebble-quote-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: #e5ede7; /* Soft light sage-white tint */
    max-width: 860px;
    margin: 0 auto;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .friends-quote-section {
        padding: 0 1.5rem 6rem;
    }

    .pebble-quote-card {
        padding: 3.5rem 2.2rem;
    }

    .pebble-quote-title {
        font-size: 2.3rem;
    }

    .pebble-quote-desc {
        font-size: 0.98rem;
    }
}

@media (max-width: 600px) {
    .friends-quote-section {
        padding: 0 1.25rem 4.5rem;
    }

    .pebble-quote-card {
        padding: 2.6rem 1.4rem;
        border-radius: 24px;
    }

    .pebble-quote-title {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .pebble-quote-desc {
        font-size: 0.92rem;
        line-height: 1.55;
    }
}



/* ===================================================
   STORY DETAIL PAGE (THE GREAT HARVEST MAZE)
   =================================================== */

.story-page-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ---------------------------------------------------
   1. Story Hero Section
   --------------------------------------------------- */
.story-hero-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 3.5rem 2rem 5rem;
}

.story-hero-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4.5rem;
    align-items: flex-start;
}

/* Left Sidebar Cover */
.story-cover-card {
    background-color: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(225, 210, 190, 0.5);
    aspect-ratio: 1 / 1.35;
    margin-bottom: 1.25rem;
}

.story-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-meta-badge {
    font-size: 0.88rem;
    font-weight: 700;
    color: #666666;
    margin-bottom: 1.2rem;
}

/* Buy Button Pills */
.story-buy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn-buy-pill {
    background-color: #d15634; /* Terracotta orange */
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-buy-pill:hover {
    background-color: #b34222;
    transform: translateY(-2px);
}

/* Right Content */
.story-main-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.6rem;
}

.story-synopsis {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 2rem;
}

/* Story Themes */
.story-themes-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.8rem;
}

.story-theme-chip {
    background-color: #f1f4ec;
    color: #274737;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Featured Friends Chips */
.featured-friends-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.1rem;
}

.featured-friends-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.friend-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #fdfaf3;
    border: 1.5px solid #ebdcc5;
    border-radius: 50px;
    padding: 0.35rem 1.1rem 0.35rem 0.5rem;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.friend-chip-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.friend-chip-link .chip-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcf4e8;
    border: 1px solid #754a26;
}

.friend-chip-link .chip-avatar img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* ---------------------------------------------------
   2. Look Inside Gallery Section
   --------------------------------------------------- */
.story-peek-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 2rem 2rem 5.5rem;
}

.peek-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #cb7b22;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.peek-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.85rem;
}

.peek-subtitle {
    font-size: 0.96rem;
    color: #555555;
    margin-bottom: 2.5rem;
}

/* 5 Columns Gallery Grid */
.peek-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.35rem;
}

.peek-page-item {
    cursor: pointer;
    text-align: center;
    transition: transform 0.25s ease;
}

.peek-page-item:hover {
    transform: translateY(-5px);
}

.peek-page-thumb {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(220, 205, 185, 0.6);
    aspect-ratio: 1 / 1.38;
    margin-bottom: 0.65rem;
}

.peek-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.peek-page-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #666666;
}

/* ---------------------------------------------------
   Lightbox Modal
   --------------------------------------------------- */
.story-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.story-lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 24, 20, 0.75);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image-wrap {
    text-align: center;
}

.lightbox-image-wrap img {
    max-width: 75vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: block;
}

.lightbox-page-counter {
    display: inline-block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.85rem;
}

.lightbox-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 0 1rem;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------------------------
   3. Four Cards Grid (Talk, Try, Play, Teachers)
   --------------------------------------------------- */
.story-actions-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

.story-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.action-card {
    border-radius: 28px;
    padding: 3rem 2.8rem;
    display: flex;
    flex-direction: column;
}

/* Card 1: Blue */
.card-talk {
    background-color: #f1f4f8;
    border: 1.5px solid #d1dfe9;
}
.card-talk .action-card-icon { color: #476e8c; }

/* Card 2: Green */
.card-try {
    background-color: #f2f5ee;
    border: 1.5px solid #d5decb;
}
.card-try .action-card-icon { color: #3d6a4c; }

/* Card 3: Yellow */
.card-play-story {
    background-color: #fcf7e9;
    border: 1.5px solid #eedeb9;
}
.card-play-story .action-card-icon { color: #c98822; }

/* Card 4: Peach */
.card-teachers {
    background-color: #fdf3eb;
    border: 1.5px solid #ecd5c3;
}
.card-teachers .action-card-icon { color: #c45b38; }

.action-card-icon {
    margin-bottom: 1.35rem;
}

.action-card-icon svg {
    width: 32px;
    height: 32px;
}

.action-card-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
}

.action-card-subtitle {
    font-size: 0.98rem;
    color: #555555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.action-card-bodytext {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #444444;
    margin-bottom: 1.75rem;
}

.action-card-quotes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}

.action-card-quotes li {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #3b3b3b;
}

.action-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #cf5638;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease, transform 0.2s ease;
}

.action-card-link:hover {
    color: #ab3e24;
    transform: translateX(4px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .story-hero-grid {
        grid-template-columns: 280px 1fr;
        gap: 2.5rem;
    }

    .story-main-title {
        font-size: 3rem;
    }

    .peek-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .story-hero-section {
        padding: 2.5rem 1.25rem 3.5rem;
    }

    .story-hero-grid {
        grid-template-columns: 1fr;
    }

    .story-cover-card {
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }

    .story-meta-badge {
        text-align: center;
    }

    .story-buy-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .story-main-title {
        font-size: 2.4rem;
    }

    .peek-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .story-actions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .action-card {
        padding: 2rem 1.5rem;
    }

    .lightbox-nav-btn {
        margin: 0 0.25rem;
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .lightbox-image-wrap img {
        max-width: 82vw;
    }
}

/* ===================================================
   STORY DETAIL PAGE STYLES
   =================================================== */

.story-page-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ---------------------------------------------------
   1. Story Hero Section
   --------------------------------------------------- */
.story-hero-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 3.5rem 2rem 5rem;
}

.story-hero-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4.5rem;
    align-items: flex-start;
}

/* Left Sidebar: Cover Card */
.story-cover-card {
    background-color: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(225, 210, 190, 0.5);
    aspect-ratio: 1 / 1.35;
    margin-bottom: 1.25rem;
}

.story-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-meta-badge {
    font-size: 0.88rem;
    font-weight: 700;
    color: #666666;
    margin-bottom: 1.2rem;
}

/* Buy Button Pills */
.story-buy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn-buy-pill {
    background-color: #d15634; /* Terracotta orange */
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-buy-pill:hover {
    background-color: #b34222;
    transform: translateY(-2px);
}

/* Right Main Content */
.story-main-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.6rem;
}

.story-synopsis {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 2rem;
}

/* Story Themes */
.story-themes-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.8rem;
}

.story-theme-chip {
    background-color: #f1f4ec;
    color: #274737;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Featured Friends Chips */
.featured-friends-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.1rem;
}

.featured-friends-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.friend-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #fdfaf3;
    border: 1.5px solid #ebdcc5;
    border-radius: 50px;
    padding: 0.35rem 1.1rem 0.35rem 0.5rem;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.friend-chip-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.friend-chip-link .chip-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcf4e8;
    border: 1px solid #754a26;
}

.friend-chip-link .chip-avatar img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* ---------------------------------------------------
   2. Look Inside 10-Page Gallery Section
   --------------------------------------------------- */
.story-peek-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 2.5rem 2rem 5.5rem;
}

.peek-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #cb7b22;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.peek-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.85rem;
}

.peek-subtitle {
    font-size: 0.96rem;
    color: #555555;
    margin-bottom: 2.5rem;
}

/* 5-Column Gallery Grid */
.story-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem 1.35rem;
}

.gallery-card {
    background-color: #ffffff;
    border: 1.5px solid #ded5c5;
    border-radius: 20px;
    padding: 0.6rem 0.6rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.2s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(180, 140, 100, 0.16);
    border-color: #cbb89b;
}

.gallery-image-box {
    width: 100%;
    aspect-ratio: 1 / 1.4;
    border-radius: 14px;
    overflow: hidden;
    background-color: #e5edf2;
    margin-bottom: 0.75rem;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-page-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #6a6157;
    text-align: center;
    letter-spacing: -0.01em;
}

/* Lightbox Modal */
.story-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.story-lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 24, 20, 0.75);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image-wrap {
    text-align: center;
}

.lightbox-image-wrap img {
    max-width: 75vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: block;
}

.lightbox-page-counter {
    display: inline-block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.85rem;
}

.lightbox-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 0 1rem;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------------------------
   3. Four Cards Grid Section
   --------------------------------------------------- */
.story-actions-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

.story-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.action-card {
    border-radius: 28px;
    padding: 3rem 2.8rem;
    display: flex;
    flex-direction: column;
}

/* Card 1: Blue */
.card-talk {
    background-color: #f1f4f8;
    border: 1.5px solid #d1dfe9;
}
.card-talk .action-card-icon { color: #476e8c; }

/* Card 2: Green */
.card-try {
    background-color: #f2f5ee;
    border: 1.5px solid #d5decb;
}
.card-try .action-card-icon { color: #3d6a4c; }

/* Card 3: Yellow */
.card-play-story {
    background-color: #fcf7e9;
    border: 1.5px solid #eedeb9;
}
.card-play-story .action-card-icon { color: #c98822; }

/* Card 4: Peach */
.card-teachers {
    background-color: #fdf3eb;
    border: 1.5px solid #ecd5c3;
}
.card-teachers .action-card-icon { color: #c45b38; }

.action-card-icon {
    margin-bottom: 1.35rem;
}

.action-card-icon svg {
    width: 32px;
    height: 32px;
}

.action-card-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
}

.action-card-subtitle {
    font-size: 0.98rem;
    color: #555555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.action-card-bodytext {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #444444;
    margin-bottom: 1.75rem;
}

.action-card-quotes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}

.action-card-quotes li {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #3b3b3b;
}

.action-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #cf5638;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease, transform 0.2s ease;
}

.action-card-link:hover {
    color: #ab3e24;
    transform: translateX(4px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .story-hero-grid {
        grid-template-columns: 280px 1fr;
        gap: 2.5rem;
    }

    .story-main-title {
        font-size: 3rem;
    }

    .story-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem 1rem;
    }

    .story-peek-section {
        padding: 2rem 1.5rem 4.5rem;
    }
}

@media (max-width: 768px) {
    .story-hero-section {
        padding: 2.5rem 1.25rem 3.5rem;
    }

    .story-hero-grid {
        grid-template-columns: 1fr;
    }

    .story-cover-card {
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }

    .story-meta-badge {
        text-align: center;
    }

    .story-buy-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .story-main-title {
        font-size: 2.4rem;
    }

    .story-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 0.85rem;
    }

    .gallery-card {
        border-radius: 16px;
        padding: 0.5rem 0.5rem 0.75rem;
    }

    .gallery-image-box {
        border-radius: 12px;
        margin-bottom: 0.55rem;
    }

    .gallery-page-label {
        font-size: 0.78rem;
    }

    .story-peek-section {
        padding: 1.5rem 1rem 3.5rem;
    }

    .story-actions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .action-card {
        padding: 2rem 1.5rem;
    }

    .lightbox-nav-btn {
        margin: 0 0.25rem;
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .lightbox-image-wrap img {
        max-width: 82vw;
    }
}



/* ===================================================
   PLAY & LEARN PAGE STYLES
   =================================================== */
.play-learn-hero-section {
    background-color: #faf5ed; /* Soft warm ivory background */
    width: 100%;
    padding: 6.5rem 2rem 5rem;
}

.play-learn-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Warm Golden-Amber Eyebrow */
.play-learn-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #cb7b22; /* Warm amber gold matching screenshot */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Large Serif Headline */
.play-learn-title {
    font-family: var(--font-heading);
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.8rem;
    max-width: 980px;
}

/* Subtitle Description */
.play-learn-description {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #424242;
    max-width: 790px;
    margin: 0;
}

/* Activities Container Section Below Intro */
.play-learn-content-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .play-learn-hero-section {
        padding: 5rem 1.5rem 4rem;
    }

    .play-learn-title {
        font-size: 3.3rem;
    }

    .play-learn-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .play-learn-hero-section {
        padding: 3.5rem 1.25rem 3rem;
    }

    .play-learn-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .play-learn-title {
        font-size: 2.3rem;
        line-height: 1.18;
        margin-bottom: 1.25rem;
    }

    .play-learn-title br {
        display: none; /* Allows natural line wrapping on smaller mobile screens */
    }

    .play-learn-description {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .play-learn-content-section {
        padding: 0 1.25rem 5rem;
    }
}

/* ===================================================
   STANDALONE PATTERN GAME STYLES
   =================================================== */
.pattern-game-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

.standalone-game-card {
    background-color: #fcf9f2;
    border: 1.5px solid #ebdcc5;
    border-radius: 28px;
    padding: 3rem 3.2rem 3.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Header & Counter */
.game-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.game-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
}

.game-subtext {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #555555;
    max-width: 720px;
    margin: 0;
}

.game-counter-chip {
    background-color: #fbeecd;
    color: #4a4a4a;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.counter-sparkle {
    color: #d18a22;
}

/* Pattern Shelf */
.game-sequence-shelf {
    background-color: #e8ede3; /* Pale muted green matching screenshot */
    border-radius: 20px;
    padding: 2.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    margin-bottom: 2rem;
    min-height: 120px;
}

.shape-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
}

/* Base Shape Definitions */
.shape-square-green {
    width: 46px;
    height: 46px;
    background-color: #4f785b;
    border-radius: 8px;
}

.shape-circle-orange {
    width: 48px;
    height: 48px;
    background-color: #d15c38;
    border-radius: 50%;
}

.shape-triangle-yellow {
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-bottom: 44px solid #dba92e;
}

.shape-star-blue {
    width: 50px;
    height: 50px;
    color: #6a91be;
}

/* Dashed Question Placeholder Slot */
.shape-missing-placeholder {
    width: 52px;
    height: 52px;
    border: 2px dashed #95a396;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b998d;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Question Label */
.game-prompt-text {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.4rem;
}

/* Choices Row */
.game-choices-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.game-choice-card {
    background-color: #ffffff;
    border: 1.5px solid #ded5c5;
    border-radius: 20px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    border-style: solid;
}

.game-choice-card:hover {
    transform: translateY(-3px);
    border-color: #baa78e;
    box-shadow: 0 8px 20px rgba(180, 150, 110, 0.12);
}

.game-choice-card:active {
    transform: scale(0.98);
}

/* Feedback Notice */
.game-feedback-msg {
    margin-top: 1.5rem;
    padding: 0.95rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    display: none;
}

.game-feedback-msg.feedback-correct {
    background-color: #eaf6ed;
    color: #277242;
    border: 1px solid #bde6c6;
    display: block;
}

.game-feedback-msg.feedback-gentle {
    background-color: #fdf5e6;
    color: #9c6c18;
    border: 1px solid #f6dfaf;
    display: block;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE
   =================================================== */
@media (max-width: 900px) {
    .standalone-game-card {
        padding: 2.2rem 1.8rem;
    }

    .game-sequence-shelf {
        gap: 1.4rem;
        padding: 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .standalone-game-card {
        padding: 1.6rem 1.15rem;
        border-radius: 20px;
    }

    .game-header-row {
        flex-direction: column;
        gap: 1rem;
    }

    .game-heading {
        font-size: 1.45rem;
    }

    .game-sequence-shelf {
        gap: 0.75rem;
        padding: 1.5rem 0.5rem;
    }

    .shape-slot {
        width: 36px;
        height: 36px;
    }

    .shape-square-green {
        width: 30px;
        height: 30px;
    }

    .shape-circle-orange {
        width: 32px;
        height: 32px;
    }

    .shape-triangle-yellow {
        border-left-width: 16px;
        border-right-width: 16px;
        border-bottom-width: 30px;
    }

    .shape-star-blue {
        width: 34px;
        height: 34px;
    }

    .shape-missing-placeholder {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .game-choices-row {
        gap: 0.75rem;
    }

    .game-choice-card {
        height: 85px;
        border-radius: 14px;
    }
}

/* ===================================================
   PLAY & LEARN: ACTIVITIES TEASER CARDS GRID
   =================================================== */
.activities-grid-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 7.5rem;
}

/* 3-Column Responsive Grid */
.activities-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.85rem;
    align-items: start;
}

/* Base Teaser Card */
.activity-teaser-card {
    background-color: #fdfaf4;
    border-radius: 26px;
    padding: 2.2rem 2.2rem 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 415px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

/* Dashed border for unreleased activities */
.activity-teaser-card.dashed-border {
    border: 1.8px dashed #cfc5b3;
}

/* Solid border for featured card */
.activity-teaser-card.solid-border {
    border: 1.5px solid #ded5c5;
    padding: 0;
    overflow: hidden;
}

/* Top Row: Gamepad Icon + Coming Soon Pill */
.activity-teaser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
}

.gamepad-icon {
    display: inline-flex;
    align-items: center;
}

.gamepad-icon svg {
    width: 26px;
    height: 26px;
}

/* Icon Palette Variants */
.gamepad-icon.icon-teal svg { color: #436d5a; }
.gamepad-icon.icon-slate svg { color: #576d63; }
.gamepad-icon.icon-amber svg { color: #cb7b22; }
.gamepad-icon.icon-terracotta svg { color: #cf5638; }

/* Coming Soon Pill Badge */
.badge-coming-soon {
    background-color: #f1ebd9;
    color: #7a7062;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.4rem 0.95rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: -0.01em;
}

.badge-coming-soon svg {
    width: 13px;
    height: 13px;
}

/* Card Typography */
.activity-teaser-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
}

.activity-teaser-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555555;
    margin: 0;
}

/* Featured Maze Card (6th Card with Picture) */
.activity-card-featured .activity-maze-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #d8e5d6;
}

.maze-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-card-featured .activity-featured-content {
    padding: 1.8rem 2.2rem 2.2rem;
}

/* ===================================================
   PLAY & LEARN: CARDS WITH EMBEDDED GALLERY
   =================================================== */
.activities-grid-section {
    background-color: #faf5ed;
    width: 100%;
    padding: 0 2rem 6.5rem;
}

.activities-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.85rem;
    align-items: stretch;
}

/* Base Card with Dashed Border */
.activity-teaser-card {
    background-color: #fdfaf4;
    border-radius: 28px;
    padding: 2.2rem 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    min-height: 480px; /* Accommodates text + gallery below */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-teaser-card.dashed-border {
    border: 1.8px dashed #cfc5b3;
}

.activity-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

/* Card Header: Icon + Coming Soon Badge */
.activity-teaser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
}

.gamepad-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.gamepad-icon.icon-teal svg { color: #43725e; }
.gamepad-icon.icon-slate svg { color: #516e62; }
.gamepad-icon.icon-amber svg { color: #c98027; }

.badge-coming-soon {
    background-color: #f1ebd9;
    color: #706657;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-coming-soon svg {
    width: 13px;
    height: 13px;
}

/* Card Headings and Text */
.activity-teaser-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
}

.activity-teaser-desc {
    font-size: 0.96rem;
    line-height: 1.55;
    color: #555555;
    margin-bottom: 1.75rem;
}

/* Gallery / Preview Placeholder Container */
.card-gallery-wrap {
    margin-top: auto;
    width: 100%;
}

.card-gallery-single {
    width: 100%;
/*     aspect-ratio: 16 / 10; */
    border-radius: 18px;
    overflow: hidden;
    background-color: #f2ede4;
    border: 1px solid rgba(207, 197, 179, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.gallery-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.activity-teaser-card:hover .gallery-preview-img {
    transform: scale(1.03);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE
   =================================================== */
@media (max-width: 1024px) {
    .activities-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .activity-teaser-card {
        min-height: 440px;
        padding: 1.8rem 1.6rem;
    }
}

@media (max-width: 650px) {
    .activities-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .activity-teaser-card {
        min-height: auto;
        padding: 1.5rem 1.25rem;
        border-radius: 22px;
    }

    .activity-teaser-title {
        font-size: 1.35rem;
    }

    .activity-teaser-desc {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .activities-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .activity-teaser-card {
        padding: 1.8rem 1.6rem 2rem;
        min-height: 210px;
    }
}

@media (max-width: 650px) {
    .activities-grid-section {
        padding: 0 1.25rem 5rem;
    }

    .activities-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .activity-teaser-card {
        padding: 1.5rem 1.35rem 1.75rem;
        border-radius: 20px;
        min-height: auto;
    }

    .activity-teaser-title {
        font-size: 1.25rem;
    }

    .activity-teaser-desc {
        font-size: 0.88rem;
    }

    .activity-card-featured .activity-featured-content {
        padding: 1.4rem 1.35rem 1.6rem;
    }
}




/* ===================================================
   PLAY & LEARN: TAKE A LITTLE SOMETHING HOME SECTION
   =================================================== */
.take-home-section {
    background-color: #faf5ed; /* Soft warm ivory background */
    width: 100%;
    padding: 0 2rem 7.5rem;
}

.take-home-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Pale Sage-Green Outer Box */
.take-home-card {
    background-color: #ebefe5; /* Soft muted sage/olive green tone */
    border: 1.5px solid #d9e2d3;
    border-radius: 36px;
    padding: 3.5rem 3.8rem 3.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Tray Download Icon */
.take-home-icon {
    display: inline-flex;
    align-items: center;
    color: #426b52; /* Deep forest sage green */
    margin-bottom: 1.5rem;
}

.take-home-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

/* Headings */
.take-home-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}

.take-home-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 2.8rem;
    max-width: 900px;
}

/* 3-Column Pill Download Buttons Grid */
.take-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1.4rem;
}

/* Individual Pill Button */
.take-home-pill-btn {
    background-color: #ffffff;
    border: 1.5px solid #d5ded0;
    border-radius: 50px;
    padding: 1rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.2s ease,
                background-color 0.2s ease;
}

.pill-btn-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pill-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #426b52;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pill-btn-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.take-home-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(66, 107, 82, 0.12);
    border-color: #b8cbb1;
    background-color: #fcfdfa;
}

.take-home-pill-btn:hover .pill-btn-icon {
    transform: translateY(2px);
}

/* Centered Bottom Link */
.take-home-bottom-link-wrap {
    text-align: center;
    margin-top: 4.5rem;
}

.take-home-friends-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #cf5638; /* Terracotta orange matching design */
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.take-home-friends-link span {
    transition: transform 0.2s ease;
}

.take-home-friends-link:hover {
    color: #b5452a;
    transform: translateX(4px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1080px) {
    .take-home-card {
        padding: 2.8rem 2.2rem 3rem;
    }

    .take-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.1rem;
    }
}

@media (max-width: 650px) {
    .take-home-section {
        padding: 0 1.25rem 4.5rem;
    }

    .take-home-card {
        padding: 2rem 1.35rem 2.2rem;
        border-radius: 24px;
    }

    .take-home-icon svg {
        width: 26px;
        height: 26px;
    }

    .take-home-title {
        font-size: 1.65rem;
    }

    .take-home-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .take-home-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .take-home-pill-btn {
        padding: 0.9rem 1.25rem;
    }

    .pill-btn-label {
        font-size: 0.88rem;
    }

    .take-home-bottom-link-wrap {
        margin-top: 3rem;
    }

    .take-home-friends-link {
        font-size: 0.95rem;
    }
}



/* ===================================================
   ABOUT US PAGE: CENTERED MINIMAL EDITORIAL LAYOUT
   =================================================== */
.about-page-wrapper {
    background-color: #faf5ed; /* Warm cream/ivory background */
    width: 100%;
    min-height: 75vh;
    padding: 6.5rem 2rem 8.5rem;
    display: flex;
    justify-content: center;
}

.about-centered-container {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Olive Green Eyebrow */
.about-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4b6b55;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

/* Large Editorial Headline */
.about-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.14;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.8rem;
}

/* Emphasized Sub-lead */
.about-lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #3b3b3b;
    font-weight: 500;
    max-width: 760px;
    margin-bottom: 2.2rem;
    text-align: justify;
}

/* Decorative Divider */
.about-accent-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 160px;
    margin: 1rem auto 2.8rem;
}

.about-accent-divider::before,
.about-accent-divider::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background-color: #dcd3c3;
}

.about-accent-divider .leaf-icon {
    padding: 0 1rem;
    font-size: 1.2rem;
}

/* Story Narrative Paragraphs */
.about-narrative-block {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 4rem;
}

.about-narrative-block p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4d4d4d;
    text-align: center;
}

/* 3-Column Values Grid */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 4rem;
    text-align: left;
}

.about-value-card {
    background-color: #fdfaf4;
    border: 1.5px solid #ebdcc5;
    border-radius: 22px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(180, 150, 110, 0.12);
}

.value-emoji {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
}

.value-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #5a5a5a;
    margin: 0;
}

/* Call to Action Buttons */
.about-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-about-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #cf5638; /* Terracotta orange */
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-about-primary:hover {
    background-color: #b5452a;
    transform: translateY(-2px);
}

.btn-about-primary span {
    transition: transform 0.2s ease;
}

.btn-about-primary:hover span {
    transform: translateX(4px);
}

.btn-about-outline {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: #274737;
    border: 1.5px solid #4b6b55;
    font-size: 0.96rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-about-outline:hover {
    background-color: #4b6b55;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE
   =================================================== */
@media (max-width: 900px) {
    .about-page-wrapper {
        padding: 5rem 1.5rem 6.5rem;
    }

    .about-title {
        font-size: 3rem;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-value-card {
        padding: 1.8rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .about-page-wrapper {
        padding: 3.5rem 1.25rem 5rem;
    }

    .about-title {
        font-size: 2.2rem;
        line-height: 1.18;
    }

    .about-lead-text {
        font-size: 1.05rem;
    }

    .about-narrative-block p {
        font-size: 0.96rem;
        text-align: left;
    }

    .about-actions-group {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .btn-about-primary,
    .btn-about-outline {
        width: 100%;
        justify-content: center;
    }
}
/* ===================================================
   CONTACT PAGE STYLES
   =================================================== */
.contact-page-section {
    background-color: #faf5ed; /* Soft warm ivory */
    width: 100%;
    padding: 6.5rem 2rem 8rem;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Section */
.contact-header {
    margin-bottom: 3.5rem;
    max-width: 760px;
}

.contact-eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4b6b55; /* Soft forest green */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #444444;
    margin: 0;
}

/* Main Two-Column Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.2rem;
    align-items: start;
}

/* Form Card */
.contact-form-card {
    background-color: #fcf9f2;
    border: 1.5px solid #ebdcc5;
    border-radius: 28px;
    padding: 3rem 2.8rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.form-row-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #444444;
    margin-bottom: 0.55rem;
}

/* Input & Select Controls */
.form-control {
    background-color: #faf5ec;
    border: 1.5px solid #ded5c5;
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #cf5638;
    box-shadow: 0 0 0 3px rgba(207, 86, 56, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 180px;
}

/* Custom Select Dropdown */
.custom-select-wrap {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
}

.custom-select-wrap::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555555;
    pointer-events: none;
}

/* Submit Button */
.btn-submit-patch {
    align-self: flex-start;
    background-color: #cf5638; /* Terracotta orange */
    color: #ffffff;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 0.5rem;
}

.btn-submit-patch:hover {
    background-color: #b5452a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(207, 86, 56, 0.25);
}

/* Sidebar Cards */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    border-radius: 22px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
}

/* Green Email Card */
.contact-info-card.card-email {
    background-color: #eaf0e6;
    border: 1px solid #d5decb;
}

.contact-info-card.card-email .info-card-icon {
    color: #426b52;
}

/* Slate Press Card */
.contact-info-card.card-press {
    background-color: #edf2f5;
    border: 1px solid #d1dce2;
}

.contact-info-card.card-press .info-card-icon {
    color: #4f748a;
}

.info-card-icon {
    margin-bottom: 1.2rem;
}

.info-card-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.info-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.info-card-text {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #555555;
    margin: 0 0 1.2rem;
}

.info-card-link {
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
    transition: opacity 0.2s ease;
}

.info-card-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.link-email {
    color: #2b613e;
}

.link-press {
    color: #467096;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1024px) {
    .contact-page-section {
        padding: 5rem 1.5rem 6.5rem;
    }

    .contact-title {
        font-size: 3.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 650px) {
    .contact-page-section {
        padding: 3.5rem 1.25rem 4.5rem;
    }

    .contact-title {
        font-size: 2.3rem;
    }

    .contact-form-card {
        padding: 2rem 1.35rem;
        border-radius: 20px;
    }

    .form-row-two-col {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .btn-submit-patch {
        width: 100%;
        text-align: center;
    }

    .contact-sidebar {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 1.8rem 1.5rem;
        border-radius: 18px;
    }
}



/* ===================================================
   LEGAL PAGES (PRIVACY POLICY & TERMS) STYLES
   =================================================== */
.legal-page-section {
    background-color: #faf5ed; /* Soft warm ivory */
    width: 100%;
    padding: 6.5rem 2rem 8.5rem;
}

.legal-container {
    max-width: 920px;
    margin: 0 auto;
}

/* Header */
.legal-header {
    margin-bottom: 3rem;
    text-align: left;
}

.legal-eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4b6b55; /* Muted forest green */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}

.legal-subtitle {
    font-size: 0.95rem;
    color: #70685e;
    margin: 0;
}

/* Document Container Card */
.legal-content-card {
    background-color: #fdfaf4;
    border: 1.5px solid #ebdcc5;
    border-radius: 28px;
    padding: 3.5rem 3.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

/* Block Section Details */
.legal-block h2 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.95rem;
}

.legal-block p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #444444;
    margin-bottom: 1rem;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legal-block ul li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #444444;
}

.legal-block ul li::before {
    content: "•";
    position: absolute;
    left: 0.35rem;
    color: #d15634; /* Terracotta dot */
    font-size: 1.3rem;
    line-height: 1;
    top: 0.15rem;
}

.legal-inline-link {
    color: #cf5638;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.legal-inline-link:hover {
    color: #a83f26;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE
   =================================================== */
@media (max-width: 900px) {
    .legal-page-section {
        padding: 5rem 1.5rem 6.5rem;
    }

    .legal-title {
        font-size: 3rem;
    }

    .legal-content-card {
        padding: 2.5rem 2rem;
        border-radius: 22px;
    }

    .legal-block h2 {
        font-size: 1.35rem;
    }

    .legal-block p, 
    .legal-block ul li {
        font-size: 0.96rem;
    }
}

@media (max-width: 600px) {
    .legal-page-section {
        padding: 3.5rem 1.25rem 4.5rem;
    }

    .legal-title {
        font-size: 2.25rem;
    }

    .legal-content-card {
        padding: 1.8rem 1.25rem;
        gap: 1.8rem;
    }

    .legal-block h2 {
        font-size: 1.22rem;
    }
}


/* ===================================================
   SHOP PAGE STYLES (MATCHING SCREENSHOTS)
   =================================================== */
.shop-page-wrapper {
    background-color: #faf5ed; /* Soft warm ivory */
    width: 100%;
    padding: 6.5rem 2rem 8.5rem;
}

.shop-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ---------------------------------------------------
   1. Hero Header
   --------------------------------------------------- */
.shop-hero-header {
    margin-bottom: 3.5rem;
    max-width: 860px;
}

.shop-eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #cf5638; /* Terracotta red/orange */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.shop-main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.shop-main-subtext {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0;
}

/* ---------------------------------------------------
   2. Products Grid (4 Columns)
   --------------------------------------------------- */
.shop-products-section {
    width: 100%;
    margin-bottom: 4.5rem;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Product Card Shell */
.product-card {
    background-color: #fdfaf4;
    border: 1.5px solid #ded5c5;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    border-color: #cbbaa0;
}

/* Product Thumbnail Cover (Item 1) */
.product-art-link {
    display: block;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
}

.product-cover-thumb {
    width: 100%;
    aspect-ratio: 1 / 1.35;
    background-color: #ffffff;
    overflow: hidden;
}

.product-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.product-card:hover .product-thumb-img {
    transform: scale(1.03);
}

/* Card Body */
.product-card-body {
    padding: 1.8rem 1.6rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Spacer for cards without top image so prices and buttons stay pinned */
.product-card-body.no-thumb-body {
    padding-top: 2rem;
}

.product-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: auto;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
    transition: color 0.2s ease;
}

.product-title-link:hover .product-title {
    color: #cf5638;
}

.product-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #555555;
    margin: 0 0 1.5rem;
}

/* Price Row */
.product-price-row {
    margin-top: 1.2rem;
    margin-bottom: 1.3rem;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #cf5638; /* Terracotta orange price */
}

/* Add to Basket Buttons */
.btn-basket {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Solid Button (Item 1) */
.btn-basket-solid {
    background-color: #cf5638;
    color: #ffffff;
    border: 1.5px solid #cf5638;
}

.btn-basket-solid:hover {
    background-color: #b5452a;
    border-color: #b5452a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(207, 86, 56, 0.25);
}

/* Outline Buttons (Items 2, 3, 4) */
.btn-basket-outline {
    background-color: transparent;
    color: #cf5638;
    border: 1.5px solid #cf5638;
}

.btn-basket-outline:hover {
    background-color: #cf5638;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ---------------------------------------------------
   3. Coming Soon Roadmap Card
   --------------------------------------------------- */
.shop-roadmap-section {
    width: 100%;
}

.roadmap-card {
    background-color: #fdfaf4;
    border-radius: 28px;
    padding: 3rem 3.2rem 3.5rem;
}

.roadmap-card.dashed-border {
    border: 1.8px dashed #cfc5b3;
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.roadmap-lock-icon svg {
    width: 22px;
    height: 22px;
    color: #3b3b3b;
    display: block;
}

.roadmap-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.015em;
    margin: 0;
}

.roadmap-subtext {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #555555;
    margin: 0 0 2rem;
}

/* 3-Column Chips Grid */
.roadmap-chips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem 1.4rem;
}

.roadmap-chip-pill {
    background-color: #ffffff;
    border: 1.2px solid #ded5c5;
    border-radius: 50px;
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.chip-checkmark {
    font-size: 1rem;
    font-weight: 800;
    color: #4b6b55; /* Soft forest green checkmark */
    line-height: 1;
}

.chip-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2b2b2b;
    letter-spacing: -0.01em;
}

/* ===================================================
   RESPONSIVE: TABLET & MOBILE VIEWPORTS
   =================================================== */
@media (max-width: 1100px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .roadmap-chips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-page-wrapper {
        padding: 4.5rem 1.5rem 6rem;
    }

    .shop-main-title {
        font-size: 2.8rem;
    }

    .roadmap-card {
        padding: 2.2rem 1.6rem 2.5rem;
        border-radius: 22px;
    }
}

@media (max-width: 600px) {
    .shop-page-wrapper {
        padding: 3.5rem 1.25rem 4.5rem;
    }

    .shop-main-title {
        font-size: 2.2rem;
    }

    .shop-products-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .roadmap-chips-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .roadmap-chip-pill {
        padding: 0.75rem 1.15rem;
    }
}

/* Solid Terracotta Download Button */
.coloring-download-btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    background-color: #cf5638;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(207, 86, 56, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.coloring-download-btn:hover {
    background-color: #b34327;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(207, 86, 56, 0.3);
}

.coloring-download-btn:active {
    transform: translateY(0);
}













/* ===================================================
   FOOTER STYLES (Based on design screen)
   =================================================== */
:root {
    --footer-bg: #476f52;          /* Forest green backdrop */
    --footer-card-bg: #3a5e44;     /* Darker green inner card */
    --footer-orange: #ea8a32;      /* Orange accents and button */
    --footer-text-light: #f4ede2;  /* Soft cream text */
    --footer-input-bg: #fdfaf3;    /* Cream input box */
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text-light);
    padding: 5rem 1.5rem 3rem;
    font-family: var(--font-body);
}

.footer-container {
    max-width: 1080px;
    margin: 0 auto;
}

/* 3-Column Top Grid */
.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Brand Column */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-pumpkin-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.footer-bio {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--footer-text-light);
    max-width: 380px;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    color: var(--footer-orange);
}

/* Link Columns */
.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--footer-orange);
    margin-bottom: 1.4rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-nav a {
    color: var(--footer-text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

/* Newsletter Card */
.footer-newsletter-card {
    background-color: var(--footer-card-bg);
    border-radius: 20px;
    padding: 3rem 3.5rem;
    margin-bottom: 3.5rem;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: var(--footer-text-light);
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 780px;
}

.input-pill-wrapper {
    position: relative;
    flex: 1;
}

.mail-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #8c857b;
    pointer-events: none;
}

.mail-icon svg {
    width: 20px;
    height: 20px;
}

.newsletter-input {
    width: 100%;
    background-color: var(--footer-input-bg);
    border: none;
    border-radius: 50px;
    padding: 0.95rem 1.25rem 0.95rem 3.1rem;
    font-size: 1rem;
    color: #333333;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(234, 138, 50, 0.4);
}

.newsletter-btn {
    background-color: var(--footer-orange);
    color: #1a1a1a;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 0.95rem 2rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.newsletter-btn:hover {
    background-color: #d87923;
}

.newsletter-btn:active {
    transform: scale(0.98);
}

/* Bottom Copyright */
.footer-bottom {
    font-size: 0.88rem;
    color: var(--footer-text-light);
    opacity: 0.9;
}

/* ===================================================
   RESPONSIVE FOOTER (Tablets & Mobile)
   =================================================== */
@media (max-width: 850px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-newsletter-card {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}