/* ============================================================
   Ezekiel Kevin Annan — Main Stylesheet
   ============================================================ */

:root {
    --navy:      #0d1b2a;
    --navy-mid:  #1a2f45;
    --orange:    #f5a623;
    --orange-dk: #d4891a;
    --white:     #ffffff;
    --light:     #f7f8fa;
    --text:      #2d2d2d;
    --muted:     #6b7280;
    --border:    #e5e7eb;
    --radius:    8px;
    --shadow:    0 4px 24px rgba(0,0,0,.10);
    --trans:     all .25s ease;
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { margin-bottom: 1rem; }

/* ── Utilities ──────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-light { background: var(--light); }

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-desc { color: var(--muted); font-size: 1.05rem; max-width: 600px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--trans);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--orange);
    color: var(--navy);
    border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.site-logo img, .custom-logo { height: 52px; width: auto; }
.site-logo span {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--navy);
    transition: var(--trans);
    position: relative;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: var(--trans);
}
.site-nav a:hover::after, .site-nav a.current-menu-item::after { width: 100%; }
.site-nav a:hover { color: var(--orange); }
.nav-cta { margin-left: .5rem; }

.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.cart-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--navy);
    transition: var(--trans);
    border: 1px solid var(--border);
}
.cart-icon-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(245,166,35,.06); }
.cart-count {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--orange);
    color: var(--navy);
    font-size: .62rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy);
    transition: var(--trans);
    border-radius: 2px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(245,166,35,.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245,166,35,.15);
    border: 1px solid rgba(245,166,35,.3);
    color: var(--orange);
    padding: .35rem .9rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title {
    color: var(--white);
    margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--orange); }
.hero-desc {
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}
.hero-social-proof strong { color: var(--white); }
.hero-social-proof .sep { opacity: .3; }
.hero-book {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-book img {
    max-height: 500px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
    transform: perspective(800px) rotateY(-8deg);
    transition: var(--trans);
}
.hero-book img:hover { transform: perspective(800px) rotateY(0deg) scale(1.02); }
.hero-glow {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.25) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

/* ── Featured On ────────────────────────────────────────────── */
.featured-on { padding: 2.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.featured-on-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.featured-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.featured-logos {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.featured-logos img { height: 32px; width: auto; filter: grayscale(1) opacity(.5); transition: var(--trans); }
.featured-logos img:hover { filter: grayscale(0) opacity(1); }
.featured-logos .feat-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d4891a;
    opacity: .5;
    transition: var(--trans);
    font-family: var(--font-head);
}
.featured-logos .feat-text:hover { opacity: 1; }

/* ── About ──────────────────────────────────────────────────── */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
}
.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--orange);
    color: var(--navy);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .9rem;
    text-align: center;
    box-shadow: var(--shadow);
    line-height: 1.3;
}
.about-badge strong { display: block; font-size: 1.8rem; }
.about-content { padding-bottom: 1rem; }
.about-content p { color: #444; }
.about-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.about-tag {
    background: var(--light);
    border: 1px solid var(--border);
    padding: .3rem .8rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--navy);
}

/* ── Books ──────────────────────────────────────────────────── */
.books-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}
.book-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}
.book-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.book-cover {
    background: var(--navy);
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: var(--trans); }
.book-card:hover .book-cover img { transform: scale(1.04); }
.book-badge {
    position: absolute;
    top: .75rem; left: .75rem;
    background: var(--orange);
    color: var(--navy);
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.book-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.book-title { font-size: 1.05rem; margin-bottom: .4rem; color: var(--navy); }
.book-genre { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.book-price { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.book-price .original { font-size: .85rem; color: var(--muted); text-decoration: line-through; margin-left: .4rem; font-weight: 400; }
.book-actions { display: flex; gap: .5rem; margin-top: auto; }
.book-actions .btn { flex: 1; justify-content: center; padding: .65rem 1rem; font-size: .85rem; }

/* ── Quote ──────────────────────────────────────────────────── */
.quote-section {
    background: var(--navy);
    color: var(--white);
    text-align: center;
}
.quote-inner { max-width: 800px; margin: 0 auto; }
.quote-mark { font-size: 6rem; line-height: .5; color: var(--orange); font-family: Georgia, serif; opacity: .5; margin-bottom: 1rem; }
.quote-text {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.quote-author { color: var(--orange); font-weight: 600; font-size: .9rem; letter-spacing: .05em; }

/* ── Events ─────────────────────────────────────────────────── */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.event-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    transition: var(--trans);
}
.event-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(245,166,35,.12); }
.event-date {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    padding: .6rem .9rem;
    text-align: center;
    min-width: 56px;
    flex-shrink: 0;
}
.event-date .day { font-size: 1.6rem; font-weight: 700; line-height: 1; font-family: var(--font-head); }
.event-date .month { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-top: .2rem; }
.event-info h4 { color: var(--navy); margin-bottom: .3rem; font-size: 1rem; }
.event-info p { color: var(--muted); font-size: .85rem; margin: 0; }
.event-info .event-type { color: var(--orange); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }

/* ── Newsletter ─────────────────────────────────────────────── */
.newsletter-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); color: var(--white); }
.newsletter-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { color: var(--white); margin-bottom: .75rem; }
.newsletter-inner p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: .75rem; }
.newsletter-form input {
    flex: 1;
    padding: .85rem 1.2rem;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: var(--white);
    font-size: .95rem;
    outline: none;
    transition: var(--trans);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { border-color: var(--orange); background: rgba(255,255,255,.12); }
.newsletter-note { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 1rem; margin-bottom: 0; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: #070f17;
    color: rgba(255,255,255,.6);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; margin-top: 1rem; line-height: 1.7; max-width: 260px; }
.footer-brand .tagline { color: var(--orange); font-style: italic; font-size: .85rem; margin-top: .5rem; }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .88rem; transition: var(--trans); }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .82rem;
}
.footer-bottom a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: var(--trans);
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-logo img, .footer-logo .custom-logo { height: 40px; width: auto; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.footer-logo .name { color: var(--white); font-family: var(--font-head); font-size: 1.2rem; }

/* ── Single Book / Page ─────────────────────────────────────── */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0;
}
.page-hero h1 { color: var(--white); }
.page-content { padding: 4rem 0; }
.page-content .prose { max-width: 760px; }
.page-content .prose h2 { margin: 2rem 0 1rem; }
.page-content .prose p { color: #444; }

/* ── Page Hero (inner) ──────────────────────────────────────── */
.page-hero-inner { max-width: 680px; }
.page-hero-inner h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero-inner p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin: 0; }

/* ── Books Archive ──────────────────────────────────────────── */
.books-archive-hero { padding: 5rem 0; }
.books-grid-lg { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.book-excerpt { font-size: .88rem; color: var(--muted); margin-bottom: .75rem; line-height: 1.5; }
.book-title a { color: var(--navy); transition: var(--trans); }
.book-title a:hover { color: var(--orange); }
.empty-state { text-align: center; padding: 4rem 0; color: var(--muted); font-size: 1.1rem; }
.pagination-wrap { margin-top: 3rem; display: flex; justify-content: center; gap: .5rem; }
.pagination-wrap .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius);
    border: 1px solid var(--border); font-size: .9rem; transition: var(--trans);
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current { background: var(--orange); color: var(--navy); border-color: var(--orange); font-weight: 700; }
.pagination-wrap .page-numbers.prev,
.pagination-wrap .page-numbers.next { width: auto; padding: 0 1rem; }

/* ── Single Book ─────────────────────────────────────────────── */
.book-detail-section { background: var(--white); }
.book-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: flex-start;
}
.book-detail-cover { position: relative; }
.book-3d-img {
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.12);
    transform: perspective(800px) rotateY(-5deg);
    width: 100%;
    transition: var(--trans);
}
.book-3d-img:hover { transform: perspective(800px) rotateY(0deg) scale(1.02); }
.book-cover-placeholder {
    width: 100%; aspect-ratio: 3/4;
    background: var(--navy-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; border-radius: 10px;
}
.book-badge-lg { position: static; display: inline-flex; margin-bottom: 1rem; }
.book-detail-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .3rem; }
.book-detail-author { color: var(--muted); margin-bottom: 1.5rem; font-size: 1rem; }
.book-meta-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.meta-pill {
    background: var(--light); border: 1px solid var(--border);
    padding: .3rem .85rem; border-radius: 999px;
    font-size: .82rem; color: var(--navy); font-weight: 500;
}
.book-detail-price { margin-bottom: 2rem; }
.price-current { font-size: 2rem; font-weight: 800; color: var(--navy); }
.price-old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; margin-left: .75rem; }
.price-save {
    display: inline-block; margin-left: .5rem;
    background: #ecfdf5; color: #059669;
    padding: .15rem .5rem; border-radius: 999px;
    font-size: .8rem; font-weight: 600;
}
.book-detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.book-share { display: flex; align-items: center; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.share-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.share-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); display: flex;
    align-items: center; justify-content: center;
    font-size: .9rem; transition: var(--trans); color: var(--navy);
}
.share-btn:hover { border-color: var(--orange); color: var(--orange); }
.book-description { max-width: 760px; }
.book-prose p { color: #444; line-height: 1.8; margin-bottom: 1.25rem; }
.book-prose h2 { margin: 2rem 0 1rem; }
.book-author-card {
    display: flex; gap: 2.5rem; align-items: center;
    background: var(--light); border-radius: 16px;
    padding: 2.5rem; max-width: 860px;
}
.book-author-img img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.book-author-text h3 { margin-bottom: .5rem; }
.book-author-text p { color: var(--muted); margin-bottom: 1.25rem; }

/* ── About Page ──────────────────────────────────────────────── */
.about-page-hero { padding: 5rem 0; }
.about-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-hero-img { position: relative; }
.author-hero-photo { border-radius: 16px; box-shadow: var(--shadow); width: 100%; }
.about-hero-badge {
    position: absolute; bottom: -1.5rem; left: -1.5rem;
    background: var(--orange); color: var(--navy);
    padding: 1.2rem 1.5rem; border-radius: var(--radius);
    font-weight: 700; text-align: center; line-height: 1.3;
    box-shadow: var(--shadow);
}
.about-hero-badge strong { display: block; font-size: 2rem; }
.about-stats-row {
    display: flex; align-items: center;
    justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 1.5rem 3rem; }
.stat-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--orange); font-family: var(--font-head); line-height: 1; }
.stat-label { font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: .3rem; display: block; }
.stat-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }
.about-bio-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: flex-start;
}
.about-bio-photo { border-radius: 12px; box-shadow: var(--shadow); width: 100%; }
.author-signature { margin-top: 1.5rem; text-align: center; }
.author-signature img { height: 60px; width: auto; margin: 0 auto .5rem; }
.author-signature p { font-size: .85rem; color: var(--muted); font-style: italic; }
.about-bio-content h2 { margin-bottom: 1.5rem; }
.about-bio-content p { color: #444; margin-bottom: 1.1rem; line-height: 1.8; }

/* ── About Roles Grid ────────────────────────────────────────── */
.about-roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}
.role-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    transition: var(--trans);
}
.role-card:hover {
    border-color: var(--orange);
    background: rgba(245,166,35,.05);
}
.role-icon { font-size: 1.3rem; flex-shrink: 0; }
.role-title { font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.3; }

/* ── Events Archive ──────────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 1.25rem; }
.event-list-item {
    display: flex; gap: 2rem; align-items: center;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    transition: var(--trans);
}
.event-list-item:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(245,166,35,.12); }
.event-date-block {
    background: var(--navy); color: var(--white);
    border-radius: 10px; padding: .8rem 1.1rem;
    text-align: center; min-width: 70px; flex-shrink: 0;
}
.event-date-block .day { font-size: 2rem; font-weight: 800; line-height: 1; font-family: var(--font-head); }
.event-date-block .month { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.event-date-block .year { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: .2rem; }
.event-list-info { flex: 1; }
.event-list-info h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--navy); }
.event-datetime, .event-location { font-size: .9rem; color: var(--muted); margin: .2rem 0; }
.event-excerpt { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.event-list-action { flex-shrink: 0; }
.event-empty { padding: 2rem 0; }
.event-card-past { opacity: .7; }
.past-badge {
    display: inline-block; margin-top: .5rem;
    background: var(--light); border: 1px solid var(--border);
    padding: .2rem .6rem; border-radius: 999px;
    font-size: .72rem; color: var(--muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
}

/* ── Contact Page ────────────────────────────────────────────── */
.contact-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.contact-form-col h2 { margin-bottom: .5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: .8rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    transition: var(--trans);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,166,35,.12); }
.form-group textarea { resize: vertical; }
.form-response {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .95rem;
}
.form-response.success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.form-response.error   { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.contact-info-card {
    background: var(--light); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem; margin-bottom: 1.5rem;
}
.contact-info-card h3 { margin-bottom: 1.5rem; }
.contact-details-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-details-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.contact-details-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .15rem; }
.contact-details-list a, .contact-details-list span { font-size: .95rem; color: var(--navy); }
.contact-details-list a:hover { color: var(--orange); }
.contact-social-links { display: flex; flex-direction: column; gap: .5rem; }
.social-link-btn {
    display: flex; align-items: center; gap: .75rem;
    padding: .6rem 1rem; border-radius: var(--radius);
    border: 1px solid var(--border); font-size: .9rem;
    color: var(--navy); transition: var(--trans);
}
.social-link-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(245,166,35,.05); }
.social-link-btn span { font-size: 1.1rem; width: 20px; text-align: center; }
.contact-speaking-card {
    background: var(--navy); color: var(--white);
    border-radius: 16px; padding: 2rem;
}
.contact-speaking-card h4 { color: var(--white); margin-bottom: .75rem; font-size: 1.1rem; }
.contact-speaking-card p { color: rgba(255,255,255,.7); margin-bottom: .75rem; font-size: .9rem; }
.speaking-list { display: flex; flex-direction: column; gap: .5rem; }
.speaking-list li { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ── Blog ────────────────────────────────────────────────────── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: flex-start;
}
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.blog-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: var(--trans);
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.blog-card-img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: var(--trans); }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-category {
    display: inline-block; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; color: var(--orange);
    margin-bottom: .5rem;
}
.blog-title { font-size: 1.1rem; margin-bottom: .75rem; line-height: 1.4; }
.blog-title a { color: var(--navy); transition: var(--trans); }
.blog-title a:hover { color: var(--orange); }
.blog-excerpt { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 1rem; line-height: 1.6; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: .75rem; }
.blog-date { font-size: .8rem; color: var(--muted); }
.blog-read-more { font-size: .85rem; color: var(--orange); font-weight: 600; transition: var(--trans); }
.blog-read-more:hover { color: var(--orange-dk); }

/* ── Share Buttons ── */
.share-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem 1rem; border-radius: 8px; font-size: .82rem; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: opacity .2s, transform .15s;
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-facebook  { background: #1877f2; color: #fff; }
.share-twitter   { background: #000;    color: #fff; }
.share-whatsapp  { background: #25d366; color: #fff; }
.share-linkedin  { background: #0a66c2; color: #fff; }
.share-copy      { background: var(--navy, #0a0f1e); color: #fff; }

.blog-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
    background: var(--light); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.5rem;
}
.sidebar-widget h4 { color: var(--navy); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; font-family: var(--font-body); }
.sidebar-list { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-list a { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--navy); padding: .35rem 0; border-bottom: 1px solid var(--border); transition: var(--trans); }
.sidebar-list a:last-child { border-bottom: none; }
.sidebar-list a:hover { color: var(--orange); }
.cat-count { background: var(--border); color: var(--muted); padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; }
.sidebar-book-item { display: flex; gap: 1rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.sidebar-book-item:last-child { border-bottom: none; }
.sidebar-book-item img { width: 50px; height: 68px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar-book-title { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .25rem; line-height: 1.3; }
.sidebar-buy-link { font-size: .8rem; color: var(--orange); font-weight: 600; }
.sidebar-newsletter { background: var(--navy); border-color: var(--navy); }
.sidebar-newsletter h4 { color: var(--white); }
.sidebar-newsletter p { color: rgba(255,255,255,.65); }
.sidebar-newsletter-form input {
    width: 100%; padding: .75rem 1rem;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
    border-radius: var(--radius); color: var(--white);
    font-size: .9rem; outline: none;
}
.sidebar-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.sidebar-newsletter-form input:focus { border-color: var(--orange); }

/* ── Search Page ────────────────────────────────────────────── */
.search-form-wrap { max-width: 600px; margin: 0 auto 3rem; }
.search-input-row { display: flex; gap: .75rem; }
.search-input-field {
    flex: 1; padding: .75rem 1.1rem;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    font-size: .95rem; color: var(--navy); outline: none;
    transition: var(--trans);
}
.search-input-field:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,166,35,.12); }

.search-section-label {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--orange);
    margin-bottom: 1.25rem; padding-bottom: .5rem;
    border-bottom: 2px solid var(--border);
}

/* Book results grid */
.search-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1rem;
}
.search-book-card {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 12px; padding: 1rem;
    transition: var(--trans); text-decoration: none;
}
.search-book-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.search-book-cover { width: 64px; flex-shrink: 0; }
.search-book-cover img { width: 64px; height: 88px; object-fit: cover; border-radius: 6px; }
.search-book-cover-placeholder { width: 64px; height: 88px; background: var(--light); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.search-book-info h3 { font-size: .95rem; color: var(--navy); margin-bottom: .2rem; line-height: 1.3; }
.search-book-author { font-size: .78rem; color: var(--muted); margin-bottom: .35rem; }
.search-book-desc { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; line-height: 1.5; }
.search-book-price { font-size: .88rem; font-weight: 700; color: var(--orange); }

/* Post results list */
.search-posts-list { display: flex; flex-direction: column; gap: 1.25rem; }
.search-post-item {
    display: flex; gap: 1.25rem; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.25rem;
    transition: var(--trans);
}
.search-post-item:hover { border-color: var(--orange); box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.search-post-thumb { flex-shrink: 0; width: 90px; height: 68px; overflow: hidden; border-radius: 8px; }
.search-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-post-body { flex: 1; }
.search-post-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--orange); }
.search-post-body h3 { font-size: 1rem; margin: .25rem 0 .4rem; }
.search-post-body h3 a { color: var(--navy); transition: var(--trans); }
.search-post-body h3 a:hover { color: var(--orange); }
.search-post-body p { font-size: .88rem; color: var(--muted); margin-bottom: .5rem; line-height: 1.6; }
.search-post-meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.search-read-more { color: var(--orange); font-weight: 600; transition: var(--trans); }
.search-read-more:hover { color: var(--orange-dk); }

.search-no-results { text-align: center; padding: 4rem 2rem; }
.search-no-results h3 { color: var(--navy); margin-bottom: .75rem; }
.search-no-results p { color: var(--muted); }

/* ── Gallery Page ───────────────────────────────────────────── */

/* Collection thumbnail cards */
.gallery-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.gallery-collection-card {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: var(--trans);
}
.gallery-collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,.14);
}
.gallery-collection-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    width: 100%;
}
.gallery-collection-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.gallery-collection-card:hover .gallery-collection-img img {
    transform: scale(1.06);
}
.gallery-collection-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,27,42,.75) 0%, rgba(13,27,42,.1) 60%);
    display: flex; align-items: flex-end; justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-collection-card:hover .gallery-collection-overlay { opacity: 1; }
.gallery-collection-cta {
    background: var(--orange);
    color: var(--white);
    font-size: .8rem;
    font-weight: 700;
    padding: .4rem .9rem;
    border-radius: 999px;
    letter-spacing: .04em;
}
.gallery-collection-info {
    background: var(--white);
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 14px 14px;
}
.gallery-collection-info h3 {
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 .25rem;
    line-height: 1.3;
}
.gallery-collection-count {
    font-size: .8rem;
    color: var(--orange);
    font-weight: 600;
}

/* Section headings between event groups */
.gallery-section-heading {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--border);
}
.gallery-section-heading h2 {
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0;
}
.gallery-section-heading span {
    font-size: .82rem;
    color: var(--muted);
    font-weight: 500;
}

.gallery-filter-bar {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 2rem;
}
.gallery-filter-btn {
    padding: .45rem 1.1rem;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 999px;
    font-size: .85rem; font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: var(--trans);
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}
.speaking-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    background: var(--light);
}
.gallery-item a.gallery-lightbox {
    display: block;
    width: 100%; height: 100%;
    position: relative;
    overflow: hidden;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(13,27,42,.55);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: .5rem;
    opacity: 0;
    transition: opacity .3s ease;
    padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom { font-size: 1.75rem; line-height: 1; }

/* Gallery watermark */
.gallery-wm {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}
.gallery-wm img {
    height: 28px;
    width: auto;
    opacity: .72;
    filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,.65));
    display: block;
    transform: none !important; /* override the gallery-item img hover scale */
}
/* Protect all site images from selection */
img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}
.gallery-caption {
    color: #fff; font-size: .85rem; text-align: center;
    margin: 0; line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.gallery-content-wrap img { border-radius: 8px; }

/* Empty state */
.gallery-empty {
    text-align: center;
    padding: 5rem 2rem;
}
.gallery-empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.gallery-empty h3 { color: var(--navy); margin-bottom: .75rem; }
.gallery-empty p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* Responsive */
@media (max-width: 900px) {
    .speaking-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .speaking-gallery-grid { grid-template-columns: 1fr; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-inner { gap: 3rem; }
    .book-detail-inner { gap: 3rem; }
    .about-hero-inner { gap: 3rem; }
    .about-bio-inner { gap: 3rem; }
    .contact-inner { gap: 2.5rem; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section-pad { padding: 3.5rem 0; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-book { order: -1; }
    .hero-book img { max-height: 300px; transform: none; }
    .hero-glow { display: none; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-social-proof { justify-content: center; }
    .about-inner { grid-template-columns: 1fr; }
    .about-badge { right: 1rem; bottom: -1rem; }
    .books-header { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .newsletter-form { flex-direction: column; }
    .site-nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 1.5rem; border-bottom: 1px solid var(--border); gap: 1.25rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
    .site-nav.open { display: flex; }
    .menu-toggle { display: flex; }
    .header-inner { position: relative; }
    .featured-on-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    /* New pages mobile */
    .book-detail-inner { grid-template-columns: 1fr; }
    .book-3d-img { transform: none; }
    .book-detail-actions { flex-direction: column; }
    .about-hero-inner { grid-template-columns: 1fr; }
    .about-hero-badge { left: auto; right: 1rem; bottom: -1rem; }
    .about-bio-inner { grid-template-columns: 1fr; }
    .stat-item { padding: 1.2rem 1.5rem; }
    .stat-divider { display: none; }
    .contact-inner { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .event-list-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .event-list-action { width: 100%; }
    .event-list-action .btn { width: 100%; justify-content: center; }
    .book-author-card { flex-direction: column; text-align: center; }
    .blog-grid { grid-template-columns: 1fr; }
    .about-roles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .books-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .hero { min-height: auto; padding: 4rem 0; }
}

/* ── Additional Responsive Fixes ────────────────────────────── */

/* Stats bar: wrap to 2×2 grid on mobile */
@media (max-width: 640px) {
    .about-stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .stat-divider { display: none; }
    .stat-item {
        padding: 1.25rem 1rem;
        border: 1px solid var(--border);
    }
    .stat-num { font-size: 2rem; }
}

/* Gallery collection cards: single column on small phones */
@media (max-width: 480px) {
    .gallery-collections-grid {
        grid-template-columns: 1fr;
    }
    .gallery-collection-img { height: 200px; }
}

/* About page hero: tighten on mobile */
@media (max-width: 640px) {
    .about-page-hero .about-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-hero-img {
        order: -1;
        max-width: 280px;
        margin: 0 auto;
    }
    .about-hero-badge {
        right: 0 !important;
    }
    .about-hero-text > div {
        justify-content: center;
    }
}

/* Homepage hero book: smaller on very small phones */
@media (max-width: 400px) {
    .hero-book img { max-height: 240px; }
    .hero-title { font-size: 1.8rem; }
    .books-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .book-title { font-size: .85rem; }
    .book-price { font-size: .85rem; }
}

/* Book card actions: stack buttons on mobile so "Buy Now" doesn't wrap */
@media (max-width: 480px) {
    .book-actions { flex-direction: column; gap: .4rem; }
    .book-actions .btn { text-align: center; padding: .55rem .5rem; font-size: .8rem; }
}

/* Header: ensure cart/account icons don't overlap on tiny screens */
@media (max-width: 360px) {
    .cart-icon-btn svg { width: 18px; height: 18px; }
    .header-inner { gap: .5rem; }
}
