:root {
    --color-cream: #FDF8F3;
    --color-sage: #B8C4B8;
    --color-sage-dark: #8FA38F;
    --color-blush: #E8D5D5;
    --color-blush-dark: #D4B8B8;
    --color-terracotta: #C4907C;
    --color-terracotta-dark: #A67460;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --max-width: 1200px;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 80%, var(--color-blush) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, var(--color-sage) 0%, transparent 40%);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-terracotta-dark);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.3;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(184, 196, 184, 0.3);
}

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-sm);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.hero h1 span {
    font-style: italic;
    color: var(--color-sage-dark);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--color-terracotta-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 144, 124, 0.3);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-image {
    position: relative;
    animation: fadeIn 1.2s ease;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--color-sage);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.5;
}

.hero-image img {
    width: 100%;
    height: 615px;
    object-fit: cover;
    display: block;
    object-position: center -15px;
}

.hero-image-placeholder {
    width: 100%;
    height: 615px;
    background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-sage) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Floating decorative elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    background: var(--color-blush);
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-decoration-2 {
    width: 200px;
    height: 200px;
    background: var(--color-sage);
    bottom: 10%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-sage), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-text);
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center -40px;
    display: block;
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(180deg, var(--color-sage) 0%, var(--color-blush) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.about-awards {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-blush);
}

.about-awards h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.award-list {
    list-style: none;
}

.award-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.award-list li::before {
    content: '✦';
    color: var(--color-terracotta);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Books Section */
.books {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.book-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.book-cover {
    position: relative;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 378px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-cover-placeholder {
    width: 100%;
    height: 378px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.book-card:nth-child(1) .book-cover-placeholder {
    background: linear-gradient(135deg, #E8D5D5 0%, #D4C4B0 100%);
}

.book-card:nth-child(2) .book-cover-placeholder {
    background: linear-gradient(135deg, #B8C4B8 0%, #A8B8A0 100%);
}

.book-card:nth-child(3) .book-cover-placeholder {
    background: linear-gradient(135deg, #C9D4E8 0%, #B0C4D4 100%);
}

.book-card:nth-child(4) .book-cover-placeholder {
    background: linear-gradient(135deg, #E8DDD5 0%, #D4C8B8 100%);
}

.book-age-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-white);
    color: var(--color-text);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-info {
    padding: var(--spacing-md);
    min-height: 535px;
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.book-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.book-more {
    display: inline-block;
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-terracotta);
}

/* Newsletter Section */
.newsletter {
    padding: var(--spacing-xl) 0;
    background: var(--color-sage);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.newsletter-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: var(--color-terracotta);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Newsletter Feedback Messages */
.newsletter-feedback {
    margin-top: var(--spacing-sm);
    padding: 1rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    display: none;
    animation: fadeInUp 0.3s ease;
    text-align: center;
}

.newsletter-feedback.show {
    display: block;
}

.newsletter-feedback.success {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-sage-dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.newsletter-feedback.error {
    background: rgba(196, 144, 124, 0.95);
    color: var(--color-white);
    border: 2px solid rgba(196, 144, 124, 0.3);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.contact-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: 50%;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.contact-form {
    background: var(--color-cream);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-sage);
    box-shadow: 0 0 0 3px rgba(184, 196, 184, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    background: var(--color-terracotta);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(196, 144, 124, 0.2);
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Feedback Messages */
.form-feedback {
    margin-top: var(--spacing-sm);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    animation: fadeInUp 0.3s ease;
}

.form-feedback.show {
    display: block;
}

.form-feedback.success {
    background: rgba(184, 196, 184, 0.2);
    color: var(--color-sage-dark);
    border: 2px solid var(--color-sage);
}

.form-feedback.error {
    background: rgba(196, 144, 124, 0.2);
    color: var(--color-terracotta-dark);
    border: 2px solid var(--color-terracotta);
}

.form-feedback-icon {
    display: inline-block;
    margin-right: 8px;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: var(--spacing-md) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    color: var(--color-white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== Book page ===== */
.book-page {
    padding-top: 80px;
}

.breadcrumbs {
    padding: var(--spacing-md) 0 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.breadcrumbs li + li::before {
    content: '›';
    margin-right: var(--spacing-xs);
    color: var(--color-sage-dark);
}

.breadcrumbs a {
    color: var(--color-text-light);
}

.breadcrumbs a:hover {
    color: var(--color-terracotta);
}

.book-hero {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.book-hero-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-template-areas:
        "cover text"
        "facts text";
    gap: var(--spacing-md) var(--spacing-lg);
    align-items: start;
}

.book-hero-cover {
    grid-area: cover;
}

.book-hero-text {
    grid-area: text;
}

.book-hero-cover-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.book-hero-cover-wrapper::before {
    content: '';
    position: absolute;
    top: -18px;
    right: -18px;
    width: 100%;
    height: 100%;
    background: var(--book-accent, var(--color-sage));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.35;
}

.book-hero-cover img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

.book-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-xs);
}

.book-hero-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin-bottom: var(--spacing-sm);
}

.book-lede {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--color-text);
    padding-left: var(--spacing-sm);
    border-left: 3px solid var(--book-accent, var(--color-terracotta));
    margin-bottom: var(--spacing-md);
}

.book-description p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.book-page-awards {
    background: var(--book-accent-soft, var(--color-cream));
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.book-page-awards h2 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
    margin-top: var(--spacing-md);
}

.book-actions .note {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.book-facts {
    grid-area: facts;
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.book-facts h2 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.book-facts dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px var(--spacing-sm);
    font-size: 0.95rem;
}

.book-facts dt {
    color: var(--color-text-light);
}

.book-facts dd {
    font-weight: 600;
}

/* Other books strip */
.other-books {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.other-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

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

.other-book img {
    width: 100%;
    max-width: 220px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.other-book:hover img {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
}

.other-book .other-book-title {
    display: block;
    margin-top: var(--spacing-sm);
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-text);
}

/* Simple content page (404) */
.simple-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.simple-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.simple-page p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Responsive */
@media (max-width: 1216px) {
    .book-info {
        min-height: unset;
    }
    .book-cover img,
    .book-cover-placeholder {
        height: 480px;
    }
}

@media (max-width: 924px) and (min-width: 701px) {
    .book-cover img,
    .book-cover-placeholder {
        height: 520px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-description {
        margin: 0 auto var(--spacing-md);
    }

    .hero-image img,
    .hero-image-placeholder {
        height: 1000px;
        object-position: unset;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }
    .about-image img {
        object-position: unset;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .book-hero-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cover"
            "text"
            "facts";
    }

    .book-hero-cover {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-cream);
        padding: var(--spacing-sm);
        gap: 0;
        border-bottom: 1px solid var(--color-sage);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: var(--spacing-xs) 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 var(--spacing-lg);
    }

    .hero-decoration {
        display: none;
    }

    .hero-image img,
    .hero-image-placeholder {
        height: 800px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 632px) {
    .book-cover img,
    .book-cover-placeholder {
        height: 820px;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }
    .book-cover img,
    .book-cover-placeholder {
        height: 480px;
    }
    .hero-image-placeholder {
        height: 420px;
    }
    .hero-image-placeholder img {
        height: 420px;
    }
}
