:root {
  --bg: #f3f1ec;
  --paper: #ffffff;
  --warm: #ded6c9;
  --ink: #111111;
  --muted: #565149;
  --soft: #777167;
  --olive: #6b7465;
  --olive-dark: #3e403a;
  --line: rgba(17,17,17,.12);
  --line-strong: rgba(17,17,17,.2);
  --panel: rgba(255,255,255,.72);
  --shadow: 0 22px 70px rgba(17,17,17,.08);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, rgba(255,255,255,.54), rgba(243,241,236,0) 280px), var(--bg);
  line-height: 1.55;
  letter-spacing: 0;
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  border-bottom: 1px solid rgba(17,17,17,.07);
  background: rgba(243,241,236,.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-links a {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.36);
}

.btn {
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: 600 13px/1 "Inter", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn.secondary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}

.hero {
  padding: clamp(34px, 5vw, 58px) 0 24px;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: .98;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(38px, 5.8vw, 72px);
  max-width: 760px;
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  margin-top: 44px;
}

h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-top: 24px;
}

p, li {
  color: var(--muted);
  font-size: 16px;
}

.lead {
  margin: 18px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.58;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 70px;
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
  text-decoration: none;
  display: grid;
  grid-template-rows: auto 1fr;
}

.card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.card-content {
  padding: 20px 18px 22px;
}

.card h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
}

.card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.article {
  padding: 40px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  gap: 48px;
  align-items: start;
}

.article h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  max-width: 760px;
}

.article img.hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
  margin: 28px 0 36px;
}

.article p {
  margin: 16px 0;
}

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

.article blockquote {
  margin: 28px 0;
  padding: 24px;
  border-left: 4px solid var(--ink);
  background: rgba(255,255,255,.58);
  color: var(--muted);
}

.aside {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
  padding: 22px;
}

.aside p {
  font-size: 14px;
}

.legal-note {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 30px;
}

footer {
  padding: 32px 0 70px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.cookie-banner[hidden],
.cookie-modal[hidden] { display: none !important; }

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
}

.cookie-box {
  width: min(980px,100%);
  margin: 0 auto;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(17,17,17,.18);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: end;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}

.cookie-btn {
  min-height: 46px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn.primary {
  background: var(--ink);
  color: #fff;
}

.cookie-btn.secondary {
  background: rgba(255,255,255,.42);
}

@media (max-width: 900px) {
  .grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .aside {
    position: static;
  }

  .cookie-box,
  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .nav-links a {
    min-height: 38px;
    padding: 0 14px;
  }

  .btn {
    min-height: 44px;
    padding: 0 16px;
  }
}
