:root {
    --blueberry: #326A8C;
    --sky-blue: #85C8F2;
    --bright-blue: #72B6F2;
    --lavender: #C4E1F2;
    --amethyst: #326A8C;
    --white: #FFFFFF;
    --off-white: #F0F6FA;
    --text-dark: #03080D;
    --text-light: #3D5468;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(50, 106, 140, 0.15);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--text-dark);
    transition: width 0.4s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-dark);
}

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

/* ============================================
   HERO
   ============================================ */

.hero-section {
    background: url('images/ocean.jpg') center bottom / cover no-repeat;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    padding: 2.5rem 2rem 2rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.author-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    letter-spacing: 0.1em;
    word-spacing: 0.12em;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 25px rgba(0, 0, 0, 0.12);
}

.author-name::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0.6rem auto 0;
}

.tagline {
    font-family: 'Shadows Into Light', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.hero-section-small .hero-content {
    padding: 0.625rem 2rem 0.5rem;
}

.hero-section-small .author-name {
    font-size: clamp(2.25rem, 6vw, 4rem);
}

.hero-section-small .tagline {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    margin-top: -1rem;
    padding-bottom: 1rem;
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */

/* Book Feature */
.book-feature {
    padding: 3rem 1.5rem;
    background: var(--white);
}

.book-feature-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.book-feature-cover {
    display: flex;
    justify-content: center;
}

.book-feature-cover img {
    width: 100%;
    max-width: 200px;
    transition: transform 0.5s ease;
}

.book-feature-cover:hover img {
    transform: translateY(-6px);
}

.book-feature-title {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 600;
    color: var(--blueberry);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.book-feature-subtitle {
    font-size: 0.95rem;
    color: var(--amethyst);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.book-feature-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Pull Quote Band */
.quote-band {
    padding: 8rem 1.5rem;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--sky-blue) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-band::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.quote-band-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.quote-band blockquote p {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 0;
}

.quote-band-cite {
    display: block;
    margin-top: 1.5rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--blueberry);
}

/* Author Feature */
.author-feature {
    padding: 3rem 1.5rem;
    background: var(--off-white);
}

.author-feature-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.author-feature-title {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--blueberry);
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.author-feature-info p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.author-feature-info p:last-child {
    margin-bottom: 0;
}

.author-feature-photo {
    display: flex;
    justify-content: center;
    order: -1;
}

.author-feature-photo img {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(50, 106, 140, 0.15);
    transition: transform 0.4s ease;
}

.author-feature-photo:hover img {
    transform: scale(1.02);
}

/* Utility: Section Label */
.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amethyst);
    margin-bottom: 1rem;
}

/* Explore Section */
.explore-section {
    padding: 3rem 1.5rem;
    background: var(--white);
}

.explore-inner {
    max-width: 960px;
    margin: 0 auto;
}

.explore-heading {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--blueberry);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.explore-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.explore-card {
    display: block;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    border-top: 4px solid var(--bright-blue);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 24px rgba(50, 106, 140, 0.08);
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(50, 106, 140, 0.15);
}

.explore-card--resources {
    border-top-color: var(--amethyst);
}

.explore-card--newsletter {
    border-top-color: var(--blueberry);
}

.explore-card h3 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.explore-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.explore-link {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bright-blue);
    transition: color 0.3s ease, transform 0.3s ease;
}

.explore-card--resources .explore-link {
    color: var(--amethyst);
}

.explore-card--newsletter .explore-link {
    color: var(--blueberry);
}

.explore-card:hover .explore-link {
    transform: translateX(4px);
}

/* Newsletter Band */
.newsletter-band {
    padding: 8rem 1.5rem;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--lavender) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-band::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-band-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-band-title {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.newsletter-band-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Newsletter band gradient flows directly into footer */
.newsletter-band + .site-footer {
    margin-top: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--bright-blue), var(--blueberry));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(50, 106, 140, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(50, 106, 140, 0.4);
    background: linear-gradient(135deg, var(--blueberry), var(--bright-blue));
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--blueberry);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    border: 2px solid var(--blueberry);
    box-shadow: 0 6px 20px rgba(50, 106, 140, 0.12);
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(50, 106, 140, 0.2);
    background: var(--blueberry);
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    background: var(--lavender);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-teaser {
    margin-bottom: 3rem;
}

.newsletter-teaser h3 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.newsletter-teaser p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    background: var(--white);
    color: var(--blueberry);
    border: 1px solid var(--sky-blue);
}

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

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid var(--sky-blue);
}

.copyright p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   INNER PAGE SHARED
   ============================================ */

.main-content {
    background: var(--white);
    padding: 6rem 1.5rem 4rem;
}

.page-content {
    min-height: 60vh;
}

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

.page-container-narrow {
    max-width: 700px;
    margin: 0 auto;
}

.page-container h1,
.page-container-narrow h1 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--blueberry);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ============================================
   BOOK PAGE
   ============================================ */

.book-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.book-cover-img {
    width: 100%;
    max-width: 300px;
    transition: transform 0.4s ease;
}

.book-cover-img:hover {
    transform: translateY(-5px);
}

.book-detail-info h1 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--blueberry);
    margin-bottom: 0.5rem;
}

.book-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.book-description p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.book-meta {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--off-white);
    border-radius: 8px;
    border-left: 4px solid var(--bright-blue);
}

.book-meta p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.book-meta p:last-child {
    margin-bottom: 0;
}

.book-extras {
    margin-top: 3.5rem;
}

.book-extra-section h2 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 2rem;
    color: var(--blueberry);
    margin-bottom: 1.5rem;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonials blockquote {
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--amethyst);
    font-style: italic;
    color: var(--text-dark);
}

.testimonials blockquote p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

cite {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}


/* ============================================
   RESOURCES PAGE
   ============================================ */

.resources-sections {
    margin-top: 3rem;
}

.resource-section {
    margin-bottom: 5rem;
}

.resource-section h2 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 2.5rem;
    color: var(--blueberry);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.resource-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.resource-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    border-top: 3px solid var(--bright-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(50, 106, 140, 0.15);
}

.resource-card h3 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.resource-author {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--amethyst);
    margin-bottom: 1rem;
}

.resource-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.resource-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bright-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: var(--amethyst);
}

.prompts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.prompt-card {
    background: linear-gradient(135deg, var(--lavender) 0%, var(--sky-blue) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(50, 106, 140, 0.15);
}

.prompt-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   FORMS (Newsletter & Contact)
   ============================================ */

.newsletter-form,
.contact-form {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(50, 106, 140, 0.1);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--lavender);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-blue);
    box-shadow: 0 0 0 3px rgba(50, 106, 140, 0.15);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    font-weight: 400;
}

.newsletter-form button,
.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
}

.newsletter-benefits {
    margin-top: 3rem;
}

.newsletter-benefits h2 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 2rem;
    color: var(--blueberry);
    margin-bottom: 1.5rem;
}

.newsletter-benefits ul {
    list-style: none;
    margin-bottom: 2rem;
}

.newsletter-benefits li {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.newsletter-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bright-blue);
    font-weight: bold;
    font-size: 1.25rem;
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1.5rem;
}

/* Contact Page */
.contact-info {
    margin-top: 4rem;
}

.contact-info h2 {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 2rem;
    color: var(--blueberry);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.social-link-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--bright-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link-text:hover {
    color: var(--amethyst);
}

.contact-note {
    padding: 1.5rem;
    background: var(--off-white);
    border-left: 4px solid var(--bright-blue);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
    .main-nav ul {
        gap: 3rem;
    }

    .hero-content {
        padding: 4rem 2rem 3rem;
    }

    .main-content {
        padding: 6rem 1.5rem 8rem;
    }

    .book-feature,
    .author-feature,
    .explore-section {
        padding: 4rem 2rem;
    }

    .book-feature-inner {
        grid-template-columns: 1fr 1.3fr;
        gap: 4rem;
    }

    .book-feature-cover img {
        max-width: 240px;
    }

    .author-feature-inner {
        grid-template-columns: 1.3fr 1fr;
        gap: 4rem;
    }

    .author-feature-photo {
        order: 0;
    }

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

    .quote-band,
    .newsletter-band {
        padding: 7rem 2rem;
    }

    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prompts-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form button,
    .contact-form button {
        width: auto;
    }
}

@media (min-width: 968px) {
    .book-detail-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (min-width: 1024px) {
    .resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

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

a:focus,
button:focus {
    outline: 2px solid var(--bright-blue);
    outline-offset: 3px;
}

/* =========================================================
   BLOG (Grav CMS — /blog/)
   These rules are served to the Grav theme via /styles.css
   ========================================================= */

/* ─── Shared tag chips ──────────────────────────────────── */

.tag-chip {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.7rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--blueberry);
    background: var(--lavender);
    border: 1px solid var(--bright-blue);
    border-radius: 20px;
    padding: 0.15em 0.75em;
    line-height: 1.6;
    white-space: nowrap;
}

.tag-chip--linked {
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.tag-chip--linked:hover {
    background: var(--bright-blue);
    color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
    .tag-chip--linked { transition: none; }
}

/* ─── Blog section header ───────────────────────────────── */

.blog-section-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.blog-section-header__eyebrow {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bright-blue);
    margin-bottom: 0.6rem;
}

.blog-section-header__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 300;
    color: var(--blueberry);
    margin: 0 0 1.2rem;
    line-height: 1.1;
}

.blog-section-header__title em {
    font-style: italic;
    color: var(--blueberry);
}

.blog-section-header__rule {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bright-blue), transparent);
    margin: 0 auto;
}

/* ─── Blog grid ─────────────────────────────────────────── */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 4rem;
}

/* ─── Blog card ─────────────────────────────────────────── */

.blog-card {
    background: var(--white);
    border: 1px solid var(--lavender);
    border-top: 3px solid transparent;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px -8px rgba(50, 106, 140, 0.18);
    border-top-color: var(--bright-blue);
}

@media (prefers-reduced-motion: reduce) {
    .blog-card { transition: none; }
    .blog-card:hover { transform: none; }
}

.blog-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .blog-card__img { transition: none; }
    .blog-card:hover .blog-card__img { transform: none; }
}

.blog-card__gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--sky-blue) 100%);
    position: relative;
}

.blog-card__gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.25) 0%, transparent 60%);
}

.blog-card__body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.2rem;
}

.blog-card__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.25;
    margin: 0;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title {
    color: var(--blueberry);
}

@media (prefers-reduced-motion: reduce) {
    .blog-card__title { transition: none; }
}

.blog-card__date {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-top: 0.1rem;
}

.blog-card__excerpt {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0.4rem 0 0;
    flex: 1;
}

/* ─── Empty state / clear tag ───────────────────────────── */

.blog-empty-state {
    padding: 4rem 0;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-light);
}

.blog-tag-clear {
    display: inline-block;
    margin-top: 0.8rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--bright-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.blog-tag-clear:hover {
    border-bottom-color: var(--bright-blue);
}

/* ─── Single post ───────────────────────────────────────── */

.blog-post {
    padding: 0 0 4rem;
}

.blog-post__back {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--bright-blue);
    text-decoration: none;
    margin: 2.5rem 0 2rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.blog-post__back:hover {
    border-bottom-color: var(--bright-blue);
}

@media (prefers-reduced-motion: reduce) {
    .blog-post__back { transition: none; }
}

.blog-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.2rem;
}

.blog-post__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 300;
    color: var(--blueberry);
    line-height: 1.1;
    margin: 0 0 0.6rem;
}

.blog-post__date {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--lavender);
}

.blog-post__content {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.78;
    color: var(--text-dark);
}

.blog-post__content > p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.4em;
    font-weight: 300;
    line-height: 0.78;
    float: left;
    margin-right: 0.1em;
    margin-top: 0.08em;
    color: var(--blueberry);
}

.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--blueberry);
    margin-top: 2.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.blog-post__content h2 { font-size: 1.65rem; }
.blog-post__content h3 { font-size: 1.35rem; }

.blog-post__content p { margin: 0 0 1.4rem; }

.blog-post__content a {
    color: var(--bright-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-post__content a:hover {
    color: var(--blueberry);
}

.blog-post__content blockquote {
    border-left: 2px solid var(--bright-blue);
    margin: 2rem 0;
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    color: var(--blueberry);
    line-height: 1.5;
}

.blog-post__content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    margin: 2rem auto;
}

.blog-post__content ul,
.blog-post__content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.blog-post__content li { margin-bottom: 0.4rem; }

/* ─── Prev / next navigation ─────────────────────────────  */

.blog-post__nav {
    border-top: 1px solid var(--lavender);
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.blog-post__nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.blog-post__nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-decoration: none;
    max-width: 45%;
}

.blog-post__nav-link--next {
    text-align: right;
    margin-left: auto;
}

.blog-post__nav-dir {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.blog-post__nav-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--blueberry);
    line-height: 1.3;
    transition: color 0.2s ease;
}

.blog-post__nav-link:hover .blog-post__nav-dir,
.blog-post__nav-link:hover .blog-post__nav-title {
    color: var(--bright-blue);
}

@media (prefers-reduced-motion: reduce) {
    .blog-post__nav-dir,
    .blog-post__nav-title { transition: none; }
}

/* ─── Tag cloud ─────────────────────────────────────────── */

.blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1rem 0 4rem;
    justify-content: center;
}

.blog-tag-cloud__item {
    font-size: 0.82rem;
    padding: 0.3em 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.blog-tag-cloud__count {
    font-style: normal;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.7em;
    font-weight: 500;
    opacity: 0.65;
}

/* ─── Blog responsive breakpoints ──────────────────────── */

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.2rem;
    }

    .blog-post__content img {
        max-width: calc(100% + 8rem);
        margin-left: -4rem;
        margin-right: -4rem;
    }
}

@media (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
