:root {
    --red: #d42a35;
    --red-dark: #b01f2a;
    --wine: #6e1f35;
    --wine-dark: #4a1424;
    --cream: #fbf7f3;
    --beige: #f2e6dc;
    --tan: #c99a7c;
    --text: #3a2a2e;
    --muted: #76666b;
    --white: #fff;
    --line: #e8dbd1;

    --font-head: 'Josefin Sans', system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, sans-serif;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(74, 20, 36, .08);
    --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 400;
    line-height: 1.2;
    color: var(--wine-dark);
    margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--wine); color: var(--white); padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Buttons */
.btn {
    display: inline-block;
    padding: .8em 1.6em;
    border: 2px solid var(--red);
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn-outline:hover { background: var(--wine); border-color: var(--wine); }
.btn-small { padding: .5em 1.2em; font-size: .95rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { font-family: var(--font-head); font-size: 1.45rem; letter-spacing: .06em; color: var(--wine); }

.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
    display: block; padding: 8px 12px; border-radius: 999px;
    color: var(--text); font-weight: 600; text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--red); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--red); background: var(--beige); }
.site-nav li:last-child { margin-left: 8px; }

.nav-toggle { display: none; }

@media (max-width: 880px) {
    .nav-toggle {
        display: grid; place-items: center;
        width: 46px; height: 46px; border: 0; border-radius: 12px;
        background: var(--beige); cursor: pointer;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        display: block; width: 22px; height: 2px; background: var(--wine);
        position: relative; transition: transform .2s;
    }
    .nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; }
    .nav-toggle-bar::before { top: -7px; }
    .nav-toggle-bar::after { top: 7px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

    .site-nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--white); border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
    .site-nav a:not(.btn) { padding: 12px 14px; }
    .site-nav li:last-child { margin: 10px 0 0; }
    .site-nav .btn { display: block; text-align: center; }
}

/* Hero */
.hero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
    margin: 0 0 12px; color: var(--red); font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
}
.hero-questions { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hero-questions li { position: relative; padding-left: 30px; color: var(--text); }
.hero-questions li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--beige); border: 3px solid var(--tan);
}
.hero-answer { margin: 24px 0 0; font-family: var(--font-head); font-size: 1.6rem; color: var(--red); }
.hero-media { position: relative; }
.hero-media::before {
    content: ''; position: absolute; inset: -24px -24px 24px 24px;
    background: var(--beige); border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    z-index: 0;
}
.hero-media img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 880px) {
    .hero { padding: 40px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-media::before { inset: -14px -10px 14px 10px; }
}

/* Sections */
.section { padding: 80px 0; }
.section-tinted { background: var(--beige); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .section-title { margin: 0; text-align: left; }
.section-cta { text-align: center; margin-top: 40px; }
.link-arrow { font-weight: 700; text-decoration: none; }

.page-hero { padding: 64px 0 40px; background: var(--white); border-bottom: 1px solid var(--line); text-align: center; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.page-hero .button-row { justify-content: center; }

@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .page-hero { padding: 44px 0 28px; }
}

/* Services */
.services-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 18px;
}
.service-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    min-height: 150px; padding: 24px 18px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    text-align: center; font-family: var(--font-head); font-size: 1.2rem; color: var(--wine-dark);
    transition: transform .2s;
}
.service-card:hover { transform: translateY(-3px); }
.service-icon { width: 52px; height: 26px; fill: none; stroke-linecap: round; stroke-width: 3; }
.service-icon path:first-child { stroke: var(--red); }
.service-icon path:last-child { stroke: var(--wine); }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 28px; }
.post-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; }
.post-card:hover { transform: translateY(-4px); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-media { aspect-ratio: 16 / 10; background: var(--beige); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-media .post-card-placeholder { object-fit: contain; padding: 18%; mix-blend-mode: multiply; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.post-card time { font-size: .875rem; color: var(--muted); }
.category-tag {
    display: inline-block; padding: 3px 12px; border-radius: 999px;
    background: var(--beige); color: var(--wine); font-size: .8rem; font-weight: 700; text-decoration: none;
}
a.category-tag:hover { background: var(--wine); color: var(--white); }

.blog-search { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 24px; }
.blog-search input {
    flex: 1; min-width: 0; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
    font: inherit; background: var(--white); color: var(--text);
}
.blog-search input:focus { outline: 2px solid var(--wine); outline-offset: 1px; border-color: transparent; }
.search-summary { text-align: center; color: var(--muted); margin: -16px 0 32px; }

.category-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.category-filter a {
    padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--white); color: var(--wine-dark); font-weight: 700; text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.category-filter a:hover { border-color: var(--wine); }
.category-filter a[aria-current="page"] { background: var(--wine); border-color: var(--wine); color: var(--white); }
.post-card h3 { margin: 6px 0 10px; }
.post-card p { margin: 0 0 16px; color: var(--muted); }
.read-more { margin-top: auto; font-weight: 700; color: var(--red); }

.empty-state { text-align: center; color: var(--muted); font-size: 1.15rem; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; font-weight: 700; }
.pagination a { text-decoration: none; }

/* Single post */
.post { padding-bottom: 72px; background: var(--white); }
.post-header { padding-top: 48px; padding-bottom: 28px; }
.post-header time { color: var(--muted); }
.link-back { display: inline-block; margin-bottom: 20px; font-weight: 700; text-decoration: none; }
.post-cover { margin: 0 auto 40px; max-width: 960px; }
.post-cover img { width: 100%; border-radius: var(--radius); max-height: 520px; object-fit: cover; }
.post-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.preview-banner { background: #fff3cd; color: #6b5200; text-align: center; padding: 10px 20px; font-weight: 600; }

.prose { font-size: 1.125rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; }
.prose img { border-radius: 12px; margin: 1.6em auto; }
.prose blockquote {
    margin-left: 0; margin-right: 0; padding: 16px 24px;
    border-left: 4px solid var(--red); background: var(--cream); border-radius: 0 12px 12px 0;
    font-style: italic;
}
.prose li + li { margin-top: .35em; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose pre { background: var(--cream); padding: 16px; border-radius: 12px; overflow-x: auto; }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(30, 10, 16, .85); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox-close {
    position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: var(--white); color: var(--wine-dark);
    font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; text-align: center; }
.contact-card h2 { font-size: 1.35rem; }
.contact-card p { margin: .3em 0; font-size: 1.1rem; }
.contact-card a { font-weight: 700; text-decoration: none; }

.contact-band { background: var(--wine); color: var(--white); padding: 56px 0; }
.contact-band h2 { color: var(--white); margin-bottom: .3em; }
.contact-band p { margin: 0; opacity: .85; }
.contact-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact-band-links { display: flex; flex-direction: column; gap: 4px; font-size: 1.15rem; }
.contact-band-links a { color: var(--white); font-weight: 700; text-decoration: none; }
.contact-band-links a:hover { color: var(--beige); text-decoration: underline; }

.form-embed { width: 100%; height: 1400px; border: 0; margin-top: 32px; border-radius: var(--radius); background: var(--white); }

/* Footer */
.site-footer { background: var(--wine-dark); color: rgba(255, 255, 255, .8); padding-top: 56px; font-size: .975rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.footer-brand { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .06em; color: var(--white); margin: 0 0 8px; }
.footer-heading { font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tan); margin-bottom: 12px; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 520px) {
    .service-card { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 18px 20px; text-align: left; }
}
