:root {
  --color-primary: #A04A2E;
  --color-secondary: #F0E0C0;
  --color-accent: #3D5A47;
  --color-neutral-dark: #2A1F18;
  --color-neutral-light: #FBF5E8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --maxw: 1120px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-neutral-dark); background: var(--color-neutral-light); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }

/* === Header === */
.site-header { background: var(--color-neutral-light); border-bottom: 1px solid rgba(42, 31, 24, 0.1); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; }
.logo { display: inline-block; text-decoration: none; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 1px solid rgba(42, 31, 24, 0.2); border-radius: 6px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; width: 100%; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.primary-nav a { text-decoration: none; color: var(--color-neutral-dark); font-weight: 500; padding: 0.35rem 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a:hover { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; width: auto; }
  .primary-nav ul { flex-direction: row; padding: 0; gap: 1.75rem; }
}

/* === Hero (stacked) === */
.hero { padding-block: 2.5rem; background: var(--color-neutral-light); }
.hero-inner { max-width: 780px; margin: 0 auto; }
.eyebrow { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent); margin: 0 0 1rem; font-weight: 500; }
.hero h1 { margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.hero-image { margin: 2rem 0; }
.hero-image img { aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); width: 100%; }
.hero-sub { font-size: 1.15rem; color: rgba(42, 31, 24, 0.75); max-width: 60ch; }
.hero-cta { margin-top: 1.75rem; }

@media (min-width: 768px) {
  .hero { padding-block: 4rem; }
  .hero-image { margin: 2.5rem 0; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: var(--radius); font-weight: 500; text-decoration: none; font-family: var(--font-body); font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(251, 245, 232, 0.4); }
.btn-ghost:hover { background: rgba(251, 245, 232, 0.1); }

/* === Sections === */
.section { padding-block: 3rem; }
.section.alt { background: var(--color-secondary); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.lede { font-size: 1.1rem; color: rgba(42, 31, 24, 0.75); font-style: italic; }

@media (min-width: 768px) {
  .section { padding-block: 4.5rem; }
}

/* === Intro === */
.intro h2 { margin-bottom: 0.5rem; }
.intro .lede { margin-bottom: 1.5rem; }

.split { display: grid; gap: 2rem; align-items: center; }
.split-image img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .split { grid-template-columns: 3fr 2fr; gap: 3.5rem; }
}

/* === Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--color-neutral-light); border: 1px solid rgba(42, 31, 24, 0.1); border-radius: var(--radius); padding: 1.75rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card h3 { margin-bottom: 0.6rem; }
.card p { margin: 0; color: rgba(42, 31, 24, 0.85); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--color-secondary); color: var(--color-primary); margin-bottom: 1rem; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(42, 31, 24, 0.3); border-color: rgba(160, 74, 46, 0.35); }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { text-align: center; background: var(--color-secondary); }
.testimonial blockquote { margin: 0 auto; max-width: 720px; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-style: italic; line-height: 1.5; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.95rem; color: var(--color-accent); font-weight: 500; }

/* === CTA Band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(251, 245, 232, 0.9); max-width: 55ch; margin-left: auto; margin-right: auto; }
.cta-inner { max-width: 720px; margin: 0 auto; }

/* === Contact === */
.contact-band { background: var(--color-secondary); }
.contact-form-section { background: var(--color-neutral-light); }
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid rgba(42, 31, 24, 0.2); border-radius: var(--radius); background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: rgba(42, 31, 24, 0.85); line-height: 1.45; }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.contact-form button[type="submit"] { align-self: flex-start; margin-top: 0.5rem; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 2.5rem 1rem 3rem; }
.article-detail > header { margin-bottom: 1.5rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article-sub { font-size: 1.2rem; color: rgba(42, 31, 24, 0.75); font-style: italic; }
.article-hero { margin-block: 2rem; }
.article-hero img { aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.article-detail p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article-foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(42, 31, 24, 0.1); }
.back-link { font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(251, 245, 232, 0.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-col h4 { color: var(--color-neutral-light); font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 1rem; }
.footer-logo img { height: 56px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 0.75rem; }
.footer-tag { color: rgba(251, 245, 232, 0.7); margin: 0; }
.footer-nav, .footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(251, 245, 232, 0.12); font-size: 0.9rem; }
.site-footer a { color: rgba(251, 245, 232, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-neutral-light); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(251, 245, 232, 0.12); font-size: 0.85rem; color: rgba(251, 245, 232, 0.6); }
.footer-bottom p { margin: 0; }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; color: rgba(251, 245, 232, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(251, 245, 232, 0.15); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: 0.5rem; }
