/* ==========================================================================
   Qayyim Books - "Ustaadha's Tajweed Adventures" Book Landing Page Stylesheet
   ========================================================================== */

:root {
    /* Core Storybook Palette */
    --color-navy: #153e5b;
    --color-navy-dark: #0f2c41;
    --color-navy-light: #20557c;

    --color-yellow-gold: #e8a838;
    --color-yellow-gold-hover: #d29427;
    --color-yellow-gold-light: #fdf5e2;
    --color-yellow-gold-border: #f0c36b;

    --color-bg-page: #fbf8f1;
    --color-bg-cream: #faecd6;
    --color-bg-card: #ffffff;
    --color-bg-bubble: #fdf6e7;

    --color-text-dark: #153e5b;
    --color-text-body: #2d453d;
    --color-text-muted: #5e726b;
    --color-text-light: #fefefe;
    --color-text-light-muted: #b0c4de;

    /* 5 Makhraj Specific Colors */
    --color-jawf: #9fb34b;
    --color-jawf-bg: #f3f7e6;
    --color-halq: #318f91;
    --color-halq-bg: #e6f4f4;
    --color-lisaan: #db7936;
    --color-lisaan-bg: #faefe6;
    --color-shafataan: #d86175;
    --color-shafataan-bg: #fbedf0;
    --color-khayshoom: #f2c744;
    --color-khayshoom-bg: #fdf8e6;

    --color-border: #ebdcc9;
    --color-border-light: rgba(255, 255, 255, 0.12);

    --font-heading: 'Cinzel', serif;
    --font-title: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(21, 62, 91, 0.05);
    --shadow-md: 0 8px 24px rgba(21, 62, 91, 0.08);
    --shadow-lg: 0 20px 40px rgba(21, 62, 91, 0.12);
    --shadow-book: 0 20px 45px rgba(21, 62, 91, 0.22), 0 6px 16px rgba(0, 0, 0, 0.12);

    --nav-height: 80px;
}

/* Reset & Global Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
    background-color: var(--color-bg-page);
    color: var(--color-text-body);
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.text-center { text-align: center; }

/* Sticky Site Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(15, 44, 65, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 168, 56, 0.25);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: #ffffff;
    padding: 3px;
    object-fit: contain;
    border-radius: 50%;
    border: 1.5px solid var(--color-yellow-gold);
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
}

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

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-light-muted);
    letter-spacing: 0.03em;
    padding: 6px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-light);
}

.nav-highlight {
    color: var(--color-yellow-gold);
    font-weight: 700;
}
.nav-highlight:hover {
    color: #f7ca72;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 15px 34px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--color-yellow-gold);
    color: var(--color-navy-dark);
    border-color: var(--color-yellow-gold);
    box-shadow: 0 4px 14px rgba(232, 168, 56, 0.3);
}

.btn-primary:hover {
    background: var(--color-yellow-gold-hover);
    border-color: var(--color-yellow-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-navy);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-bg-page);
    border-color: var(--color-navy);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-download {
    background: var(--color-yellow-gold);
    color: var(--color-navy-dark);
    border-color: var(--color-yellow-gold);
    font-size: 1.05rem;
    padding: 16px 36px;
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.35);
}

.btn-download:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--color-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

/* Badges */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.category-badge {
    background: var(--color-yellow-gold-light);
    color: var(--color-navy);
    border: 1.5px solid var(--color-yellow-gold-border);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.age-badge {
    background: var(--color-halq-bg);
    color: var(--color-halq);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-yellow-gold-hover);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Section Common */
section {
    padding: 90px 0;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-yellow-gold);
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.divider-icon {
    font-size: 0.8rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 60px 0 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-page) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 50px;
    align-items: center;
}

/* Book Front Cover Presentation */
.book-cover-showcase {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-book);
    border: 2px solid var(--color-border);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    background: #ffffff;
}

.book-cover-showcase:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(21, 62, 91, 0.28);
    border-color: var(--color-yellow-gold);
}

.front-cover-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Content */
.hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-navy);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.hero-book-subtitle {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-yellow-gold-hover);
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-lead-hook {
    font-size: 1.18rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}

.book-meta-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 28px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 700;
}

.meta-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

/* Character Teaser Card */
.hero-character-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--color-bg-bubble);
    border: 2px solid var(--color-yellow-gold-border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
}

.character-preview-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-yellow-gold);
    flex-shrink: 0;
    background: #ffffff;
}

.avatar-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.character-name {
    display: block;
    font-size: 0.95rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 2px;
}

.character-desc {
    font-size: 0.85rem;
    color: var(--color-text-body);
    font-style: italic;
}

/* ==========================================================================
   Story & Summary Section
   ========================================================================== */
.story-section {
    background: var(--color-bg-page);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: flex-start;
}

.summary-card {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.summary-paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-body);
    margin-bottom: 18px;
}

.summary-paragraph:last-child {
    margin-bottom: 0;
}

.lead-summary {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.55;
}

.speech-bubble-callout {
    background: var(--color-bg-bubble);
    border: 2.5px solid var(--color-yellow-gold);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.15);
    position: relative;
}

.speech-bubble-callout::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 40px;
    width: 24px;
    height: 14px;
    background: var(--color-bg-bubble);
    border-left: 2.5px solid var(--color-yellow-gold);
    border-bottom: 2.5px solid var(--color-yellow-gold);
    transform: skewX(-20deg);
}

.bubble-content {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--color-navy-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.bubble-speaker {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.speaker-name {
    font-weight: 800;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.speaker-context {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.illustration-frame {
    background: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.framed-illustration {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.frame-caption {
    padding: 12px 18px;
    background: #ffffff;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-align: center;
    border-top: 1px solid var(--color-border);
    font-weight: 600;
}

/* ==========================================================================
   The 5 Homes Section
   ========================================================================== */
.homes-section {
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.homes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-card {
    background: var(--color-bg-page);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.home-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.home-jawf:hover { border-color: var(--color-jawf); }
.home-halq:hover { border-color: var(--color-halq); }
.home-lisaan:hover { border-color: var(--color-lisaan); }
.home-shafataan:hover { border-color: var(--color-shafataan); }
.home-khayshoom:hover { border-color: var(--color-khayshoom); }

.featured-home {
    background: #fffcf5;
    border: 2.5px solid var(--color-yellow-gold);
}

.featured-tag {
    position: absolute;
    top: -13px;
    right: 20px;
    background: var(--color-yellow-gold);
    color: var(--color-navy-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    border-radius: var(--radius-full);
}

.home-card-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.home-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-yellow-gold-hover);
    line-height: 1;
}

.home-titles {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.home-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
}

.home-arabic {
    font-family: var(--font-arabic);
    font-size: 1.4rem;
    color: var(--color-navy-light);
    direction: rtl;
}

.home-meaning {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.home-illustration-wrap {
    width: 100%;
    height: 160px;
    background: #faecd6;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.home-jawf .home-illustration-wrap { background: var(--color-jawf-bg); }
.home-halq .home-illustration-wrap { background: var(--color-halq-bg); }
.home-lisaan .home-illustration-wrap { background: var(--color-lisaan-bg); }
.home-shafataan .home-illustration-wrap { background: var(--color-shafataan-bg); }
.home-khayshoom .home-illustration-wrap { background: var(--color-khayshoom-bg); }

.home-char-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.home-card:hover .home-char-img {
    transform: scale(1.04);
}

.home-letters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.letter-pill {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-arabic);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pill-jawf { border-color: var(--color-jawf); color: #627225; }
.pill-halq { border-color: var(--color-halq); color: var(--color-halq); }
.pill-lisaan { border-color: var(--color-lisaan); color: var(--color-lisaan); }
.pill-shafataan { border-color: var(--color-shafataan); color: var(--color-shafataan); }
.pill-khayshoom { border-color: var(--color-khayshoom); color: #9c760a; }

.letter-highlight {
    background: var(--color-yellow-gold);
    border-color: var(--color-yellow-gold);
    color: var(--color-navy-dark);
    font-weight: 800;
}

.home-description {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--color-text-body);
}

/* ==========================================================================
   ⭐ Resources Section (#resources)
   ========================================================================== */
.resources-section {
    background: linear-gradient(180deg, var(--color-bg-page) 0%, #faecd6 100%);
}

.resource-spotlight-box {
    background: #ffffff;
    border: 3px solid var(--color-yellow-gold);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-lg);
}

.resource-badge {
    display: inline-block;
    background: var(--color-navy);
    color: var(--color-yellow-gold);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
    font-weight: 800;
}

.resource-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 14px;
}

.resource-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 740px;
    margin: 0 auto 42px auto;
}

.resource-showcase-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 42px;
}

.map-card-frame {
    background: #faecd6;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.map-graphic-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.map-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--color-navy);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

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

.activity-card-container {
    perspective: 1000px;
    height: 200px;
    cursor: pointer;
}

.activity-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.activity-card-container:hover .activity-card-inner,
.activity-card-container:focus-within .activity-card-inner,
.activity-card-container.is-flipped .activity-card-inner {
    transform: rotateY(180deg);
}

.activity-card {
    background: var(--color-bg-page);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.activity-card-front,
.activity-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.activity-card-front {
    z-index: 2;
    transform: rotateY(0deg);
    background: #ffffff;
}

.activity-card-back {
    transform: rotateY(180deg);
    padding: 6px;
    background: #faecd6;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-yellow-gold);
    box-shadow: var(--shadow-md);
    position: relative;
}

.activity-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.preview-badge {
    position: absolute;
    bottom: 10px;
    background: rgba(15, 44, 65, 0.9);
    color: var(--color-yellow-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.activity-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-yellow-gold-hover);
    margin-bottom: 4px;
}

.activity-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 4px;
    line-height: 1.25;
}

.activity-text {
    font-size: 0.84rem;
    color: var(--color-text-body);
    line-height: 1.45;
    margin-bottom: 8px;
}

.activity-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.activity-tag {
    align-self: flex-start;
    background: var(--color-bg-page);
    border: 1px solid var(--color-border);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    color: var(--color-navy);
}

.flip-hint {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-yellow-gold-hover);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    opacity: 0.9;
}

.download-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-navy);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px 36px;
    margin-bottom: 28px;
    gap: 24px;
    box-shadow: var(--shadow-md);
}

.download-heading {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.download-meta {
    font-size: 0.88rem;
    color: var(--color-text-light-muted);
}

.scroll-companion-note {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-bg-bubble);
    border: 1.5px solid var(--color-yellow-gold-border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    max-width: 780px;
    margin: 0 auto;
}

.scroll-note-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-yellow-gold);
    flex-shrink: 0;
    background: #ffffff;
}

.avatar-sm {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.scroll-note-text {
    font-size: 0.9rem;
    color: var(--color-navy-dark);
}

/* ==========================================================================
   Meet the Creators Section
   ========================================================================== */
.creators-section {
    background: #ffffff;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-bottom: 48px;
}

.creator-card {
    background: var(--color-bg-page);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.creator-avatar-wrap {
    flex-shrink: 0;
}

.creator-avatar-frame {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-yellow-gold);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.creator-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.illustrator-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-cream);
}

.illustrator-icon {
    font-size: 2.2rem;
}

.creator-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.creator-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-yellow-gold-hover);
    margin-bottom: 12px;
}

.creator-bio-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.creator-bio {
    font-size: 0.94rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

.editorial-credit {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

/* ==========================================================================
   Orders & Inquiries Section
   ========================================================================== */
.inquiries-section {
    background: var(--color-navy-dark);
    color: #ffffff;
    padding: 100px 0;
}

.inquiry-card {
    max-width: 780px;
    margin: 0 auto;
}

.inquiry-badge {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--color-yellow-gold);
    margin-bottom: 16px;
    font-weight: 800;
}

.inquiry-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
}

.inquiry-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light-muted);
    line-height: 1.6;
    margin-bottom: 36px;
}

.inquiry-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.inquiry-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
}

/* ==========================================================================
   Publisher Footer
   ========================================================================== */
.site-footer {
    background: #091a27;
    border-top: 1px solid rgba(232, 168, 56, 0.2);
    color: var(--color-text-light-muted);
    padding: 50px 0 30px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.footer-logo-link:hover {
    transform: scale(1.03);
}

.footer-logo {
    width: 44px;
    height: 44px;
    background: #ffffff;
    padding: 4px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--color-yellow-gold);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: #ffffff;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-link {
    font-size: 0.88rem;
    color: var(--color-text-light-muted);
    font-weight: 600;
}

.footer-link:hover {
    color: var(--color-yellow-gold);
}

.footer-bottom {
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    width: 100%;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 400px 1fr;
        gap: 36px;
    }
    
    .homes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resource-showcase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 840px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .book-cover-showcase {
        max-width: 360px;
        margin: 0 auto;
    }
    
    .badge-row, .hero-actions, .book-meta-list {
        justify-content: center;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .creators-grid {
        grid-template-columns: 1fr;
    }
    
    .download-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-list {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-book-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .resource-spotlight-box {
        padding: 32px 20px;
    }
    
    .resource-title {
        font-size: 1.85rem;
    }
    
    .homes-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .book-meta-list {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .creator-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
