@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&family=Dancing+Script:wght@600&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
    --bg: #F5F0E8;
    --bg-card: #FEFCF8;
    --text: #2C2416;
    --text-muted: #6B5A46;
    --accent: #8B5E3C;
    --accent-light: #C9893E;
    --header-bg: #1E1810;
    --footer-bg: #1E1810;
    --border: #DDD5C4;
    --shadow: rgba(44,36,22,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

#page-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--header-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    visibility: visible;
    opacity: 1;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-knot {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(201,137,62,0.25);
    border-top-color: var(--accent-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
    color: #6B5A46;
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    color: var(--text);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600; }

p { margin-bottom: 1.1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.site-header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 1px;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #F5F0E8;
    letter-spacing: 0.02em;
}

.logo-sub {
    font-family: 'Dancing Script', cursive;
    font-size: 0.82rem;
    color: var(--accent-light);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.site-nav a {
    color: #B8B0A4;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-nav a:hover { color: var(--accent-light); }

.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #F5F0E8;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    right: 0;
    width: 280px;
    height: calc(100vh - 68px);
    background: var(--header-bg);
    z-index: 99;
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.07);
    overflow-y: auto;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-list { list-style: none; display: flex; flex-direction: column; }

.mobile-nav-list li { border-bottom: 1px solid rgba(255,255,255,0.05); }

.mobile-nav-list a {
    display: block;
    padding: 13px 0;
    color: #B8B0A4;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.mobile-nav-list a:hover { color: var(--accent-light); }

.mobile-nav-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-section h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 56px 64px max(24px, calc((100vw - 1200px) / 2 + 24px));
    background: var(--bg);
}

.hero-tag {
    font-family: 'Dancing Script', cursive;
    font-size: 1.05rem;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 30px;
    line-height: 1.75;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
    width: fit-content;
}

.hero-link:hover { color: var(--accent-light); border-color: var(--accent-light); }

.hero-image { position: relative; overflow: hidden; }

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.section-header {
    margin-bottom: 36px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 14px;
}

.section-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-light);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 5px;
}

.section-link {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.articles-section { padding: 64px 0; }

.articles-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.article-card:hover {
    box-shadow: 0 8px 28px var(--shadow);
    transform: translateY(-3px);
}

.article-card--featured {
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: 320px 1fr;
}

.article-card--small {
    display: grid;
    grid-template-columns: 130px 1fr;
}

.card-image { overflow: hidden; }

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.article-card:hover .card-image img { transform: scale(1.05); }

.card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-card--small .card-body { padding: 18px; }

.card-category {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.article-card--featured .card-title { font-size: 1.4rem; }
.article-card--small .card-title { font-size: 0.95rem; }

.card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.article-card--small .card-excerpt {
    font-size: 0.83rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta { margin-top: auto; font-size: 0.78rem; color: var(--text-muted); }

.card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-top: 10px;
    width: fit-content;
}

.about-teaser {
    background: var(--header-bg);
    color: #F5F0E8;
    padding: 72px 0;
}

.about-teaser-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-teaser-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-teaser-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,94,60,0.35) 0%, transparent 55%);
}

.about-tag {
    font-family: 'Dancing Script', cursive;
    font-size: 1.05rem;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.about-teaser h2 { color: #F5F0E8; margin-bottom: 18px; }

.about-teaser p {
    color: #A8A098;
    margin-bottom: 28px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(201,137,62,0.6);
    color: var(--accent-light);
    padding: 11px 26px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-outline:hover {
    background: var(--accent-light);
    color: var(--header-bg);
    border-color: var(--accent-light);
}

.article-hero {
    background: var(--header-bg);
    padding: 56px 0 0;
}

.article-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: end;
}

.article-meta-block { padding: 0 48px 48px 0; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #7A7068;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.breadcrumb a { color: #7A7068; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: #4A4440; }

.article-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    border: 1px solid rgba(201,137,62,0.5);
    padding: 3px 10px;
    margin-bottom: 14px;
}

.article-hero h1 {
    color: #F5F0E8;
    margin-bottom: 14px;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}

.article-hero-desc {
    color: #A8A098;
    font-size: 0.97rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-hero-meta { font-size: 0.8rem; color: #6A6058; }

.article-hero-image {
    overflow: hidden;
    aspect-ratio: 16/10;
    align-self: stretch;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content { padding: 56px 0 80px; }

.article-body {
    font-family: 'Source Serif 4', serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    margin: 40px 0 14px;
    color: var(--text);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.article-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin: 26px 0 10px;
    color: var(--accent);
}

.article-body p { margin-bottom: 1.3em; }

.article-body ul, .article-body ol {
    margin: 0 0 1.3em 1.6em;
}

.article-body li { margin-bottom: 0.5em; }

.article-body blockquote {
    border-left: 4px solid var(--accent-light);
    padding: 14px 22px;
    margin: 26px 0;
    background: rgba(139,94,60,0.05);
    font-style: italic;
    color: var(--text-muted);
}

.article-body a {
    color: var(--accent);
    border-bottom: 1px solid rgba(139,94,60,0.3);
    transition: border-color 0.2s;
}

.article-body a:hover { border-color: var(--accent-light); }

.inline-image { margin: 32px 0; overflow: hidden; }

.inline-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.image-caption {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'Lato', sans-serif;
    margin-top: 8px;
    font-style: italic;
}

.article-updated {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.article-sources {
    margin-top: 36px;
    padding: 22px;
    background: rgba(139,94,60,0.04);
    border: 1px solid var(--border);
}

.article-sources h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    margin-bottom: 10px;
    color: var(--text);
}

.article-sources ul { margin: 0; padding-left: 16px; font-size: 0.83rem; }
.article-sources li { margin-bottom: 5px; }
.article-sources a { color: var(--accent); }

.related-articles { padding: 56px 0; border-top: 1px solid var(--border); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.about-page { padding: 72px 0; }

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 64px;
}

.about-intro-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-intro-image img { width: 100%; height: 100%; object-fit: cover; }

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.value-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--accent); }
.value-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.contact-page { padding: 72px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    margin-top: 24px;
    color: var(--accent);
}

.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info address { font-size: 0.9rem; color: var(--text-muted); font-style: normal; }
.contact-info a { color: var(--accent); }

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form h2 { margin-bottom: 24px; font-size: 1.4rem; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: 'Lato', sans-serif;
    font-size: 0.93rem;
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { height: 110px; resize: vertical; }

.form-submit {
    background: var(--accent);
    color: #F5F0E8;
    border: none;
    padding: 13px 32px;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.form-submit:hover { background: var(--accent-light); }

.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }

.policy-page { padding: 72px 0 96px; }
.policy-page h1 { margin-bottom: 28px; }
.policy-page h2 { font-size: 1.25rem; margin: 32px 0 12px; }
.policy-page h3 { font-size: 1rem; margin: 22px 0 8px; }

.policy-page p, .policy-page li {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.policy-page ul { padding-left: 20px; margin-bottom: 14px; }
.policy-updated { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 36px; }

.page-header {
    background: var(--header-bg);
    padding: 48px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header h1 { color: #F5F0E8; margin-bottom: 8px; }
.page-header p { color: #7A7068; font-size: 0.97rem; max-width: 560px; margin: 0; }

.site-footer {
    background: var(--footer-bg);
    color: #C8BFB0;
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-main { font-size: 1.05rem; }

.footer-brand p {
    font-size: 0.85rem;
    color: #6A6058;
    margin-top: 10px;
    line-height: 1.65;
}

.footer-col h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-light);
    margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }

.footer-col a {
    font-size: 0.85rem;
    color: #6A6058;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent-light); }

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.footer-contact-label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4A4440;
}

.footer-contact-value { font-size: 0.85rem; color: #6A6058; }
.footer-contact-value a { color: #6A6058; }
.footer-contact-value a:hover { color: var(--accent-light); }

.footer-bottom {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.75rem; color: #3A3428; margin: 0; }
.footer-bottom a { color: #4A4440; font-size: 0.75rem; }
.footer-bottom a:hover { color: var(--accent-light); }

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1E1810;
    border-top: 1px solid rgba(255,255,255,0.07);
    z-index: 500;
    padding: 18px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

#cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text { font-size: 0.83rem; color: #8A8078; max-width: 680px; line-height: 1.5; }
.cookie-text a { color: var(--accent-light); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie-accept {
    background: var(--accent);
    color: #F5F0E8;
    border: none;
    padding: 9px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-accept:hover { background: var(--accent-light); }

.btn-cookie-reject {
    background: none;
    color: #5A5450;
    border: 1px solid #3A3428;
    padding: 9px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-cookie-reject:hover { border-color: #5A5049; color: #8A8078; }

.disclaimer-bar {
    background: #F0E8DA;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.disclaimer-bar p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 48px 24px; }
    .hero-image { height: 260px; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-card--featured { grid-row: auto; grid-template-rows: 240px 1fr; }
    .article-card--small { grid-template-columns: 120px 1fr; }
    .about-teaser-inner { grid-template-columns: 1fr; gap: 32px; }
    .article-hero-inner { grid-template-columns: 1fr; }
    .article-meta-block { padding: 32px 24px; }
    .article-hero-image { height: 240px; aspect-ratio: auto; }
    .about-intro { grid-template-columns: 1fr; gap: 32px; }
    .about-values { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .site-nav { display: none; }
    .burger-btn { display: flex; }
    .mobile-nav { display: block; }
    .section-header { flex-direction: column; gap: 6px; }
    .article-card--small { grid-template-columns: 1fr; }
    .article-card--small .card-image { height: 180px; }
    .about-values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .contact-form { padding: 22px; }
    .hero-content { padding: 36px 20px; }
}
