/* ============================================
   FOXGLOVE BOOKS — Stylesheet
   Independent Bookshop Since 1987
   ============================================ */

:root {
    /* Palette — foxglove-inspired */
    --plum: #3D2B3A;
    --plum-light: #5C4258;
    --plum-dark: #2A1D28;
    --ivory: #FAF6EE;
    --ivory-dark: #F0EADE;
    --sage: #5E7352;
    --sage-light: #7E9A6E;
    --gold: #BFA05A;
    --gold-dark: #9E833F;
    --burgundy: #7A3B3B;
    --warm-white: #FDFAF5;
    --text-dark: #2D2A26;
    --text-body: #4A4540;
    --text-muted: #7A746D;
    --border: #E2DAD0;
    --border-light: #EDEBE5;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --max-width: 1200px;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */

.announcement-bar {
    background-color: var(--gold);
    color: var(--plum-dark);
    text-align: center;
    padding: 0.6rem var(--space-sm);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    height: var(--announcement-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.announcement-bar p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.announcement-bar svg {
    color: var(--plum-dark);
}

/* ============================================
   MASTHEAD
   ============================================ */

.masthead {
    background-color: var(--plum-dark);
    padding: var(--space-lg) var(--space-md) var(--space-md);
    text-align: center;
}

.masthead-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.masthead-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.masthead-est {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
}

.masthead-name-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.masthead-rule {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(to var(--dir, right), var(--gold), transparent);
    opacity: 0.4;
}

.masthead-name-row .masthead-rule:first-child {
    --dir: right;
    background: linear-gradient(to right, transparent, var(--gold));
}

.masthead-name-row .masthead-rule:last-child {
    --dir: left;
    background: linear-gradient(to left, transparent, var(--gold));
}

.masthead-icon {
    color: var(--gold);
    opacity: 0.7;
    flex-shrink: 0;
}

.masthead-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--ivory);
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

.masthead-tagline {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 246, 238, 0.4);
    margin-top: 0.15rem;
}

/* ============================================
   NAV STRIP
   ============================================ */

.nav-strip {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--plum);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: box-shadow var(--transition-base);
}

.nav-strip.scrolled {
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
}

.nav-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: 0.75rem var(--space-md);
}

.nav-dot {
    color: rgba(250, 246, 238, 0.2);
    font-size: 0.9rem;
    user-select: none;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(250, 246, 238, 0.65);
    position: relative;
    padding: 0.2rem 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background-color: var(--gold);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1002;
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--ivory);
    transition: transform var(--transition-base), opacity var(--transition-base);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-md) var(--space-lg);
    background-color: var(--plum);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(250, 246, 238, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--gold);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
}

.btn-primary {
    background-color: var(--plum);
    color: var(--ivory);
}

.btn-primary:hover {
    background-color: var(--plum-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(74, 32, 64, 0.25);
}

.btn-outline {
    border: 1.5px solid var(--plum);
    color: var(--plum);
}

.btn-outline:hover {
    background-color: var(--plum);
    color: var(--ivory);
}

/* ============================================
   HERO — Split Layout
   ============================================ */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-md) var(--space-2xl);
    min-height: 70vh;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--plum-dark);
    margin-bottom: var(--space-md);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--plum);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.hero-image {
    position: relative;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(74, 32, 64, 0.15);
}

.hero-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 8px;
    z-index: 1;
}

/* ============================================
   QUOTE BAND
   ============================================ */

.quote-band {
    background-color: var(--ivory-dark);
    padding: var(--space-2xl) var(--space-md);
}

.quote-band-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: var(--space-sm);
}

.quote-band blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: var(--plum);
    margin-bottom: var(--space-sm);
}

.quote-band cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--plum-dark);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   FEATURED BOOKS — Horizontal Carousel
   ============================================ */

.featured-books {
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}

.featured-books .section-header {
    padding: 0 var(--space-md);
}

.books-carousel {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md) var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--space-md);
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
}

.books-carousel::-webkit-scrollbar {
    display: none;
}

.books-carousel:active {
    cursor: grabbing;
}

.book-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    background-color: var(--warm-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74, 32, 64, 0.1);
}

.book-cover {
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
}

.book-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    z-index: 1;
}

.book-cover-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

.book-info {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.book-genre {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0.25rem 0 0.15rem;
}

.book-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.book-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--plum);
    margin-bottom: 0.4rem;
}

.book-pick {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-dark);
    background-color: rgba(201, 169, 110, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum);
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background-color: var(--plum);
    color: var(--ivory);
    border-color: var(--plum);
}

/* ============================================
   OUR STORY — Alternating Timeline
   ============================================ */

.our-story {
    padding: var(--space-3xl) var(--space-md);
    background-color: var(--ivory);
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--sage));
    opacity: 0.3;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--gold);
    border: 3px solid var(--ivory);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item[data-side="right"] .timeline-image {
    order: 2;
}

.timeline-item[data-side="right"] .timeline-content {
    order: 1;
    text-align: right;
}

.timeline-image {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(74, 32, 64, 0.1);
}

.timeline-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--plum-dark);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ============================================
   EVENTS
   ============================================ */

.events {
    padding: var(--space-3xl) var(--space-md);
}

.events-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.events-info {
    position: sticky;
    top: calc(60px + var(--space-lg));
}

.events-info .section-tag,
.events-info .section-title,
.events-info .section-desc {
    text-align: left;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.event-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: var(--warm-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.event-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(74, 32, 64, 0.06);
}

.event-date {
    flex-shrink: 0;
    width: 64px;
    height: 72px;
    background-color: var(--plum);
    color: var(--ivory);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.event-month {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.event-day {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.event-type {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
}

.event-details h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0.25rem 0 0.4rem;
}

.event-details p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.event-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--plum);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    position: relative;
    padding: var(--space-3xl) var(--space-md);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonials-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(53, 21, 48, 0.92), rgba(74, 32, 64, 0.88));
}

.testimonials-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.testimonials .section-title {
    color: var(--ivory);
    margin-bottom: var(--space-xl);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: var(--space-lg) var(--space-md);
    text-align: left;
    transition: transform var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.testimonial-card p {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(253, 248, 240, 0.9);
    margin-bottom: var(--space-sm);
}

.testimonial-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
}

/* ============================================
   VISIT US
   ============================================ */

.visit {
    padding: var(--space-3xl) var(--space-md);
    background-color: var(--ivory);
}

.visit-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.visit-info .section-tag,
.visit-info .section-title {
    text-align: left;
}

.visit-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.visit-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.visit-detail svg {
    flex-shrink: 0;
    color: var(--plum);
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.visit-detail p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.visit-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(74, 32, 64, 0.12);
}

.visit-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter {
    padding: var(--space-2xl) var(--space-md);
    background-color: var(--plum-dark);
}

.newsletter-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.newsletter-text h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 0.3rem;
}

.newsletter-text p {
    font-size: 0.88rem;
    color: rgba(253, 248, 240, 0.65);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(253, 248, 240, 0.15);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 0.88rem;
    width: 240px;
    transition: border-color var(--transition-base);
}

.newsletter-form input::placeholder {
    color: rgba(253, 248, 240, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-form .btn-primary {
    white-space: nowrap;
    background-color: var(--gold);
    color: var(--plum-dark);
}

.newsletter-form .btn-primary:hover {
    background-color: var(--gold-dark);
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

.newsletter-success {
    color: var(--sage-light);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 0;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: var(--plum-dark);
    border-top: 1px solid rgba(253, 248, 240, 0.06);
    padding: var(--space-2xl) var(--space-md) 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(253, 248, 240, 0.08);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-sm);
}

.footer-logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ivory);
    letter-spacing: 0.02em;
}

.footer-logo-est {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(253, 248, 240, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: rgba(253, 248, 240, 0.5);
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-md) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(253, 248, 240, 0.35);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    color: rgba(253, 248, 240, 0.4);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--gold);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.anim-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        gap: var(--space-lg);
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
    }

    .hero-image-frame img {
        height: 400px;
    }

    .events-inner {
        grid-template-columns: 1fr;
    }

    .events-info {
        position: static;
        text-align: center;
    }

    .events-info .section-tag,
    .events-info .section-title,
    .events-info .section-desc {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 4rem;
    }

    .masthead {
        padding: var(--space-md) var(--space-sm);
    }

    .masthead-title {
        font-size: 1.8rem;
    }

    .masthead-rule {
        width: 30px;
    }

    .masthead-icon {
        width: 30px;
        height: 30px;
    }

    .nav-strip {
        position: sticky;
        top: 0;
    }

    .nav-strip-inner {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 0.4rem auto;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: var(--space-xl) var(--space-md);
    }

    .hero-desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: var(--space-lg);
    }

    .hero-image-accent {
        display: none;
    }

    .hero-image-frame img {
        height: 300px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding-left: 52px;
        margin-bottom: var(--space-2xl);
    }

    .timeline-item::after {
        left: 20px;
        top: 0;
        transform: translateX(-50%);
    }

    .timeline-item[data-side="right"] .timeline-image {
        order: 0;
    }

    .timeline-item[data-side="right"] .timeline-content {
        order: 0;
        text-align: left;
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
    }

    .visit-inner {
        grid-template-columns: 1fr;
    }

    .visit-image img {
        height: 300px;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        width: 100%;
        height: auto;
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .hero-stat {
        align-items: center;
    }

    .book-card {
        flex: 0 0 200px;
    }

    .book-cover {
        height: 180px;
    }

    .announcement-bar {
        font-size: 0.72rem;
    }
}
