/* Fonts */
@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/gilda-display-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/gilda-display-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Allura'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/allura-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Allura'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/allura-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Tokens */
:root {
    --color-bg: #f8efe5;
    --color-bg-soft: #f6ede4;
    --color-bg-offer: #f6eee4;
    --color-bg-footer: #f8f0e6;
    --color-card: #fbf6f0;
    --color-text: #2b1d16;
    --color-heading: #1f1510;
    --color-muted: #4a3a30;
    --color-brand: #a45839;
    --color-brand-dark: #8e4a2e;
    --color-brand-darker: #7e3f26;
    --color-line: #c89a7e;
    --color-divider: #eadccd;
    --color-separator: #b89a86;

    --font-display: 'Gilda Display', Georgia, serif;
    --font-script: 'Allura', cursive;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --container: 1120px;
    --gutter: clamp(16px, 5vw, 48px);
    --inset: max(var(--gutter), calc((100% - 1024px) / 2));
    --header-height: 94px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: var(--color-brand); text-decoration: none; }
a:hover { color: var(--color-brand-darker); }

:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; }

ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--color-brand); color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 14px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Shared */
.eyebrow {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
    margin: 0;
    font-size: 11px; letter-spacing: 1.4px; font-weight: 600; text-transform: uppercase;
    color: var(--color-brand);
}
.eyebrow::after { content: ''; width: 44px; height: 1px; background: var(--color-line); }

.section-title {
    margin: 16px 0 0;
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 4.2vw, 46px); line-height: 1.05; letter-spacing: -0.5px;
    color: var(--color-heading);
    overflow-wrap: break-word;
}

.button {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 10px 28px; border: 0; border-radius: 22px;
    background: var(--color-brand); color: #fff;
    font: 500 13.5px/1.2 var(--font-body);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.button:hover { background: var(--color-brand-dark); color: #fff; }
.button--small { min-height: 40px; padding: 9px 22px; border-radius: 20px; gap: 9px; font-size: 13px; font-weight: 600; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(248, 239, 229, 0.94);
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px 24px;
    padding-block: 14px;
}

.brand { display: flex; align-items: center; gap: 8px; color: #3a2a22; flex: 0 0 auto; }
.brand:hover { color: #3a2a22; }
.brand img { width: 40px; height: 66px; }
.brand__text { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.brand__name { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.6px; text-transform: uppercase; white-space: nowrap; }
.brand__tagline { font-size: 7px; letter-spacing: 2.4px; font-weight: 600; text-transform: uppercase; white-space: nowrap; }

.site-menu { display: flex; align-items: center; gap: 24px; flex: 1 1 auto; justify-content: space-between; }

.main-nav { flex: 1 1 auto; }
.main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(16px, 2.2vw, 28px); font-size: 13px; }
.main-nav a { color: var(--color-text); padding-bottom: 3px; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--color-brand); }
.main-nav a[aria-current='page'] { border-bottom-color: var(--color-brand); }

.site-menu__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.language-switcher { position: relative; font-size: 13px; }
.language-switcher summary {
    display: flex; align-items: center; gap: 6px;
    min-height: 40px; padding: 0 12px; border: 1px solid var(--color-divider); border-radius: 20px;
    cursor: pointer; list-style: none; font-weight: 600; letter-spacing: 0.8px; color: var(--color-text);
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after {
    content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease;
}
.language-switcher[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.language-switcher ul {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 160px;
    padding: 6px; background: var(--color-card); border-radius: 10px; box-shadow: 0 10px 30px rgba(120, 80, 50, 0.16);
}
.language-switcher a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--color-text); }
.language-switcher a:hover { background: var(--color-bg); color: var(--color-brand); }
.language-switcher a[aria-current='true'] { color: var(--color-brand); font-weight: 600; }

.menu-toggle {
    display: none;
    position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: var(--color-text); cursor: pointer;
}
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
    position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle__bar { top: 50%; }
.menu-toggle__bar::before, .menu-toggle__bar::after { content: ''; left: 0; }
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); background: var(--color-text); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); background: var(--color-text); }

@media (max-width: 1023px) {
    :root { --header-height: 82px; }

    .site-header__inner { padding-block: 8px; }
    .menu-toggle { display: block; }

    .site-menu {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 20px;
        padding: 8px var(--gutter) 28px;
        background: var(--color-bg);
        box-shadow: 0 18px 30px rgba(120, 80, 50, 0.12);
        max-height: calc(100dvh - var(--header-height)); overflow-y: auto;
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }
    .site-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

    .main-nav ul { flex-direction: column; gap: 0; font-size: 18px; }
    .main-nav li + li { border-top: 1px solid var(--color-divider); }
    .main-nav a { display: block; padding: 14px 0; border-bottom: 0; font-family: var(--font-display); }
    .main-nav a[aria-current='page'] { color: var(--color-brand); }

    .site-menu__actions { justify-content: space-between; flex-wrap: wrap; }
    .language-switcher ul { right: auto; left: 0; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; background: linear-gradient(90deg, #f3e5d6, #f0dfcc); }
.hero__content {
    flex: 1 1 360px;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px) var(--inset);
}
.hero__title {
    margin: 24px 0 0;
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(38px, 5.2vw, 58px); line-height: 1.02; letter-spacing: -1px;
    color: var(--color-heading);
}
.hero__script {
    display: block; margin-top: 4px;
    font-family: var(--font-script); font-size: clamp(40px, 5.4vw, 62px); line-height: 1; letter-spacing: 0;
    color: var(--color-brand);
}
.hero__lead { max-width: 420px; margin: 24px 0 0; font-size: clamp(15px, 1.4vw, 16px); line-height: 1.55; text-wrap: pretty; }
.hero__actions { margin: 32px 0 0; }
.hero__media { flex: 1 1 380px; position: relative; min-height: clamp(280px, 40vw, 480px); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }

@media (max-width: 759px) {
    .hero__content { padding-right: var(--gutter); }
}

/* Features */
.features { padding-block: clamp(56px, 7vw, 88px); }
.features__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.feature img { height: 42px; width: auto; }
.feature__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--color-heading); }
.feature__text { max-width: 230px; margin: 0; font-size: 14px; line-height: 1.5; }

@media (max-width: 899px) { .features__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 459px) { .features__list { grid-template-columns: 1fr; } }

/* About */
.about { position: relative; display: flex; flex-wrap: wrap; background: var(--color-bg-soft); }
.about__media { flex: 1 1 380px; position: relative; min-height: clamp(320px, 38vw, 500px); }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 25%; }
.about__content {
    flex: 1.3 1 440px; position: relative;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(48px, 7vw, 88px) var(--inset) clamp(48px, 7vw, 88px) clamp(16px, 5vw, 64px);
}
.about__content > :not(.about__silhouette) { position: relative; }
.about__silhouette {
    position: absolute; right: 0; bottom: 0;
    width: clamp(120px, 15vw, 190px); opacity: 0.55; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px);
    mask-image: linear-gradient(90deg, transparent 0, #000 40px);
}
.about .section-title { margin-top: 20px; }
.about__subtitle { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(19px, 2vw, 22px); color: var(--color-heading); }
.about__text { max-width: 500px; margin: 20px 0 0; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.about__actions { margin: 32px 0 0; }

@media (max-width: 859px) {
    .about__content { padding-inline: var(--gutter); }
}

/* Offer */
.offer { position: relative; background: var(--color-bg-offer); }
.offer__curve { position: absolute; left: 0; bottom: 0; width: 140px; height: 38px; pointer-events: none; }
.offer__inner { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); padding-block: clamp(64px, 8vw, 104px); }
.offer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 2.5vw, 28px); }

.card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--color-card); border-radius: 10px; box-shadow: 0 4px 18px rgba(120, 80, 50, 0.08);
    scroll-margin-top: calc(var(--header-height) + 16px);
}
.card__media { position: relative; }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__badge {
    position: absolute; top: 14px; left: 14px;
    padding: 6px 12px; border-radius: 14px;
    background: var(--color-brand); color: #fff;
    font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--color-heading); }
.card__text { margin: 10px 0 24px; font-size: 14px; line-height: 1.55; }
.card__actions { margin: auto 0 0; }

/* Newsletter */
.newsletter { position: relative; overflow: hidden; background: #3a2a1e; color: #fff; }
.newsletter__bg {
    position: absolute; left: -12px; top: -12px;
    width: calc(100% + 24px); height: calc(100% + 24px); max-width: none;
    object-fit: cover; filter: blur(7px);
}
.newsletter::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(40, 24, 14, 0.6), rgba(40, 24, 14, 0.3));
}
.newsletter__inner {
    position: relative; z-index: 2;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
    padding-block: clamp(56px, 7vw, 88px);
}
.newsletter__intro { flex: 1 1 320px; max-width: 460px; }
.newsletter__title {
    margin: 0;
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.3px;
}
.newsletter__intro p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.newsletter__form { flex: 1 1 440px; max-width: 540px; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__input {
    flex: 1 1 140px; min-width: 0; height: 44px;
    padding: 0 14px; border: 0; border-radius: 8px;
    background: #fff; color: var(--color-text);
    font: 16px var(--font-body);
}
.newsletter__input--email { flex: 1.4 1 180px; }
.newsletter__input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.newsletter__submit { flex: 0 0 auto; font-weight: 600; }
.newsletter__trap { position: absolute; left: -9999px; }
.newsletter__message { flex: 1 1 440px; max-width: 540px; margin: 0; font-family: var(--font-display); font-size: 22px; }
.newsletter__error { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: #ffd9c9; }

@media (max-width: 519px) {
    .newsletter__input, .newsletter__submit { flex-basis: 100%; justify-content: center; }
}

/* Footer */
.site-footer { position: relative; background: var(--color-bg-footer); }
.site-footer__leaf { position: absolute; right: 0; bottom: 0; width: 75px; height: 122px; pointer-events: none; }
.site-footer__inner { display: flex; flex-direction: column; gap: 40px; padding-block: clamp(48px, 6vw, 64px) 28px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.brand--footer { gap: 12px; }
.brand--footer img { width: 42px; height: 74px; }
.brand--footer .brand__name { font-size: 19px; }
.brand--footer .brand__tagline { font-size: 7.5px; letter-spacing: 2.5px; gap: 4px; }

.footer-nav ul, .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 13px; }
.footer-nav li + li::before, .legal-links li + li::before { content: '|'; margin: 0 12px; color: var(--color-separator); }
.footer-nav a { color: var(--color-text); }
.footer-nav a:hover { color: var(--color-brand); }

.site-footer__contact { display: flex; flex-direction: column; gap: 12px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    color: #6b3a24; transition: color 0.2s ease, background-color 0.2s ease;
}
.social-links a:hover { color: var(--color-brand); background: var(--color-divider); }
.mail-link { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text); }

.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
    padding: 22px 60px 0 0; border-top: 1px solid var(--color-divider);
    font-size: 12px; color: var(--color-muted);
}
.site-footer__bottom p { margin: 0; }
.legal-links { font-size: 12px; }
.legal-links a { color: var(--color-muted); }

@media (max-width: 639px) {
    .site-footer__top { flex-direction: column; align-items: flex-start; }
}

/* Pages and posts */
.page-shell { padding-block: clamp(48px, 7vw, 88px); min-height: 50vh; }
.page-header { margin-bottom: clamp(28px, 4vw, 44px); }
.entry-image { margin: 0 0 32px; }
.entry-image img { width: 100%; border-radius: 10px; }
.entry-content { font-size: 17px; line-height: 1.7; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); font-weight: 400; color: var(--color-heading); line-height: 1.2; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--color-brand); }
.entry-content blockquote p { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; color: var(--color-heading); }

.post-list { display: grid; gap: 32px; }
.post-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; background: var(--color-card); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(120, 80, 50, 0.08); }
.post-teaser:not(:has(.post-teaser__media)) { grid-template-columns: 1fr; }
.post-teaser__media img { width: 100%; height: 100%; object-fit: cover; }
.post-teaser__body { padding: 24px; }
.post-teaser__body time { font-size: 12px; color: var(--color-muted); }
.post-teaser__title { margin: 6px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.post-teaser__title a { color: var(--color-heading); }
.post-teaser__body p { font-size: 15px; line-height: 1.6; }
@media (max-width: 639px) { .post-teaser { grid-template-columns: 1fr; } }

.pagination .nav-links { display: flex; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 20px; background: var(--color-card); }
.pagination .current { background: var(--color-brand); color: #fff; }
.empty-state { font-size: 16px; }
