@font-face {
    font-family: 'Antique Book';
    src: url('/fonts/AntiquBook.woff2') format('woff2'),
         url('/fonts/AntiquBook.woff') format('woff'),
         url('/fonts/AntiquBook.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg-paper: #F2EDE0;
    --bg-card: #EAE3D0;
    --bg-card-alt: #F8F4EC;
    --bg-dark: #3A1D0E;
    --text-dark: #3A1D0E;
    --text-medium: #72532C;
    --text-muted: #8A7060;
    --gold: #CC903C;
    --fawn: #E3AB6D;
    --ecru: #C4AE84;
    --red: #8A090E;
    --coffee: #72532C;
    --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--bg-paper);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: var(--grain);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Antique Book', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

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

a:hover {
    color: var(--red);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-divider {
    width: 60px;
    height: 2px;
    margin-bottom: 40px;
    background: var(--gold);
}

.section-title {
    margin-bottom: 20px;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(242, 237, 224, 0);
    transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(242, 237, 224, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(114, 83, 44, 0.12);
}

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

.nav-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    clip-path: inset(0 0 24% 0);
}

.nav-logo-text {
    font-family: 'Antique Book', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--red);
    transition: color 0.4s;
}

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

.nav-links a {
    position: relative;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.4s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: var(--red);
}

.nav-book-btn {
    padding: 9px 22px;
    background: var(--red) !important;
    color: var(--bg-paper) !important;
    font-weight: 500;
    letter-spacing: 0.06em;
    border: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.nav-book-btn::after {
    display: none !important;
}

.nav-book-btn:hover {
    background: var(--coffee) !important;
    color: var(--bg-paper) !important;
    transform: translateY(-1px);
}

body.page-home .home-hero {
    min-height: auto;
    margin-block-end: 0;
    padding-block-end: 48px;
}

body.page-home .home-first-content {
    margin-block-start: 0;
    padding-block-start: 48px;
}

.mobile-toggle {
    display: none;
    padding: 8px;
    background: none;
    border: 0;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text-dark);
    transition: transform 0.3s, opacity 0.3s, background 0.4s;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

footer {
    padding: 56px 0 28px;
    background: #2A1208;
    border-top: 2px solid rgba(196, 174, 132, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 44px;
}

.footer-brand .nav-logo-text {
    color: var(--fawn);
    font-size: 1.3rem;
}

.footer-brand p {
    max-width: 260px;
    margin: 12px 0 20px;
    color: var(--ecru);
    font-size: 0.88rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 174, 132, 0.2);
    transition: border-color 0.3s, background 0.3s;
}

.footer-social a:hover {
    border-color: var(--gold);
    background: rgba(204, 144, 60, 0.1);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: var(--ecru);
}

.footer-col h5 {
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul a {
    color: var(--ecru);
    font-size: 0.88rem;
}

.footer-col ul a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(196, 174, 132, 0.1);
}

.footer-bottom p {
    color: rgba(196, 174, 132, 0.5);
    font-size: 0.78rem;
}

.blog-page {
    min-width: 0;
    overflow-x: hidden;
    background-color: var(--bg-paper);
    background-image: linear-gradient(rgba(242,237,224,0.58), rgba(242,237,224,0.58)), url('/paperboard-texture.jpg');
    background-size: cover;
    color: var(--text-dark);
}

.blog-hero,
.blog-section {
    padding: 100px 0;
}

.blog-hero {
    text-align: center;
    border-bottom: 1px solid var(--ecru);
}

.blog-hero-inner,
.blog-article {
    width: min(100% - 48px, 760px);
    margin-inline: auto;
}

.blog-index {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
}

.blog-eyebrow,
.blog-card-meta,
.blog-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
}

.blog-eyebrow {
    margin-bottom: 14px;
}

.blog-title {
    max-width: 18ch;
    margin: 0 auto 20px;
    font-family: 'Antique Book', serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-dark);
}

.blog-intro {
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Cormorant', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    color: var(--text-medium);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-top: 24px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.blog-card {
    min-width: 0;
    padding: 36px 32px;
    background: var(--bg-card-alt);
    border: 1px solid var(--ecru);
}

.blog-card-meta {
    margin-bottom: 16px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
}

.blog-card-title {
    margin-bottom: 14px;
    font-family: 'Cormorant', serif;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-dark);
}

.blog-card-copy {
    margin-bottom: 24px;
    color: var(--text-medium);
    line-height: 1.7;
}

.blog-card-link,
.blog-cta-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-card-link {
    border-bottom: 1px solid var(--coffee);
    color: var(--coffee);
}

.blog-card-link:hover {
    border-color: var(--red);
    color: var(--red);
}

.blog-article {
    padding: 100px 0;
    font-size: 1.02rem;
    line-height: 1.75;
}

.blog-article > * {
    max-width: 100%;
}

.blog-article h2,
.blog-article h3 {
    font-family: 'Antique Book', serif;
    font-weight: 500;
    color: var(--text-dark);
}

.blog-article h2 {
    margin: 64px 0 20px;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.2;
}

.blog-article h3 {
    margin: 36px 0 14px;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    line-height: 1.3;
}

.blog-article p,
.blog-article ul,
.blog-article ol {
    margin-bottom: 22px;
    color: var(--text-medium);
    line-height: 1.75;
}

.blog-article ul,
.blog-article ol {
    padding-left: 24px;
}

.blog-article li + li {
    margin-top: 10px;
}

.blog-article a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: var(--ecru);
    text-underline-offset: 4px;
}

.blog-article a:hover {
    color: var(--coffee);
    text-decoration-color: var(--gold);
}

.article-faq {
    margin: 4rem 0 0;
    padding: 1.5rem 0;
}

.article-faq > h2 {
    margin: 0 0 2rem;
}

.article-faq__item {
    padding: 1.5rem 0;
    border-top: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 22%, transparent);
}

.article-faq__item:last-child {
    border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.article-faq__item h3 {
    margin: 0 0 .75rem;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.25;
}

.article-faq__item p {
    margin: 0;
}

.blog-cta {
    margin-top: 72px;
    padding: 44px 36px;
    text-align: center;
    background: var(--bg-dark);
    border: 1px solid var(--coffee);
}

.blog-article .blog-cta-title {
    margin-bottom: 12px;
    font-family: 'Antique Book', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--bg-paper);
}

.blog-article .blog-cta-copy {
    max-width: 520px;
    margin: 0 auto 24px;
    color: var(--ecru);
    line-height: 1.7;
}

.blog-cta-link {
    padding: 14px 36px;
    background: var(--gold);
    color: var(--bg-dark);
}

.blog-cta-link:hover {
    background: var(--fawn);
    color: var(--bg-dark);
}

@media (max-width: 767px) {
    body.page-home .home-hero {
        padding-block-end: 32px;
    }

    body.page-home .home-first-content {
        padding-block-start: 32px;
    }

    body.page-contact .contact-header-row {
        flex-wrap: nowrap;
        column-gap: 12px;
    }

    body.page-contact .header-session-cta {
        display: inline-flex;
        flex: 0 0 auto;
        width: max-content;
        max-width: none;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
        font-size: 10px;
        line-height: 1;
        letter-spacing: 0.12em;
        padding: 12px 10px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.open {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
        background: rgba(242, 237, 224, 0.97);
        backdrop-filter: blur(16px);
    }

    .nav-links.open a {
        font-size: 1.05rem;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .blog-hero,
    .blog-section {
        padding: 72px 0;
    }

    .blog-hero-inner,
    .blog-index,
    .blog-article {
        width: min(100% - 48px, 760px);
    }

    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-card {
        padding: 28px 24px;
    }

    .blog-meta {
        gap: 8px 16px;
    }

    .blog-article {
        padding: 72px 0;
        font-size: 1rem;
    }

    .blog-article h2 {
        margin-top: 48px;
    }

    .article-faq {
        margin-top: 3rem;
    }

    .article-faq__item {
        padding: 1.25rem 0;
    }

    .blog-cta {
        margin-top: 56px;
        padding: 36px 24px;
    }

    .blog-card-link,
    .blog-cta-link {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
        background: rgba(242, 237, 224, 0.97);
        backdrop-filter: blur(16px);
    }

    .nav-links.open a {
        font-size: 1.05rem;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-content::before,
    .hero-content::after {
        content: none;
    }

    .hero-content .eyebrow,
    .hero-content .hero-label,
    .hero-content h1,
    .hero-content .hero-tagline,
    .hero-content .hero-sub {
        text-shadow: 0 2px 12px rgba(18, 7, 3, 0.9);
    }
}
