:root {
  --foyer-bg: #f7f2ea;
  --foyer-paper: #fffaf2;
  --foyer-ink: #181611;
  --foyer-muted: #6f675b;
  --foyer-rust: #a7654d;
  --foyer-olive: #46523c;
  --foyer-green: #2d3728;
  --foyer-line: #e4d8c9;
  --foyer-cream: #fffdf8;
  --foyer-gold: #c09a59;
  --foyer-serif: Georgia, "Times New Roman", serif;
  --foyer-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 86% -2%, rgba(192, 154, 89, 0.21), rgba(192, 154, 89, 0) 30%), var(--foyer-bg); color: var(--foyer-ink); font-family: var(--foyer-sans); font-size: 18px; line-height: 1.7; }
.foyer-editorial-main, .foyer-editorial-main * { box-sizing: border-box; }
.foyer-editorial-shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.foyer-editorial-reading-width { width: min(760px, calc(100% - 48px)); margin-inline: auto; }

.foyer-editorial-header { position: relative; z-index: 5; padding: 22px 0; background: rgba(247, 242, 234, 0.86); border-bottom: 1px solid rgba(228, 216, 201, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.foyer-editorial-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.foyer-editorial-logo { display: flex; align-items: baseline; gap: 10px; color: var(--foyer-ink); text-decoration: none; }
.foyer-editorial-logo-main { font: 500 clamp(28px, 3vw, 42px)/.95 var(--foyer-serif); letter-spacing: -.055em; }
.foyer-editorial-logo-mark { width: 9px; height: 9px; border-radius: 99px; background: var(--foyer-rust); transform: translateY(-2px); }
.foyer-editorial-nav-links { display: flex; align-items: center; gap: 24px; color: var(--foyer-muted); font-size: 13px; font-weight: 650; }
.foyer-editorial-nav-links a { color: inherit; text-decoration: none; }
.foyer-editorial-nav-links a:hover { color: var(--foyer-ink); }
.foyer-editorial-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 13px 20px; border: 1px solid transparent; border-radius: 999px; background: var(--foyer-green); color: var(--foyer-paper) !important; box-shadow: 0 16px 38px rgba(45, 55, 40, 0.22); text-decoration: none; font: 760 14px/1 var(--foyer-sans); letter-spacing: -.01em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.foyer-editorial-button:hover { transform: translateY(-2px); background: #1f281d; }
.foyer-editorial-button-small { min-height: 46px; padding: 13px 20px; }

.foyer-article-hero { padding: 112px 0 76px; text-align: center; }
.foyer-editorial-eyebrow { display: inline-block; margin-bottom: 20px; color: var(--foyer-rust); font-size: 12px; font-weight: 800; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; }
.foyer-article-hero h1, .foyer-archive-hero h1 { margin: 0; color: var(--foyer-ink); font-family: var(--foyer-serif); font-size: clamp(48px, 6vw, 82px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.foyer-article-dek { margin: 32px auto 0; max-width: 680px; color: var(--foyer-muted); font-size: 22px; line-height: 1.5; text-wrap: balance; }
.foyer-article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; color: var(--foyer-muted); font-size: 13px; font-weight: 600; }
.foyer-article-featured { margin-bottom: 80px; }
.foyer-article-featured img { display: block; width: 100%; max-height: 680px; object-fit: cover; border-radius: 28px; }

.foyer-article-body { padding-bottom: 96px; }
.foyer-article-body > :first-child { margin-top: 0; }
.foyer-article-body p, .foyer-article-body li { color: #302d27; }
.foyer-article-body p { margin: 0 0 1.45em; }
.foyer-article-body h2 { position: relative; margin: 1.8em 0 0.65em; padding-top: 30px; border-top: 1px solid rgba(228, 216, 201, 0.95); color: var(--foyer-green); font: 500 clamp(34px, 4vw, 48px)/1.08 var(--foyer-serif); letter-spacing: -0.035em; }
.foyer-article-body h2::before { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 99px; background: var(--foyer-rust); box-shadow: 0 0 0 6px var(--foyer-bg); content: ""; }
.foyer-article-body h2 + p { color: var(--foyer-muted); font-size: 1.06em; }
.foyer-article-body h3 { margin: 1.8em 0 0.55em; color: var(--foyer-ink); font: 600 26px/1.2 var(--foyer-serif); }
.foyer-article-body a { color: var(--foyer-rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.foyer-article-body blockquote { margin: 48px 0; padding: 8px 0 8px 32px; border-left: 3px solid var(--foyer-rust); color: var(--foyer-ink); font: 500 27px/1.35 var(--foyer-serif); }
.foyer-article-body ul, .foyer-article-body ol { margin: 1.1em 0 1.9em; padding: 22px 28px 22px 50px; border: 1px solid rgba(228, 216, 201, 0.95); border-radius: 24px; background: rgba(255, 250, 242, 0.72); box-shadow: 0 12px 34px rgba(24, 22, 17, 0.035); }
.foyer-article-body li + li { margin-top: 0.38em; }
.foyer-article-body li::marker { color: var(--foyer-rust); font-weight: 800; }
.foyer-article-body img { max-width: 100%; height: auto; border-radius: 18px; }
.foyer-article-body table { width: 100%; margin: 36px 0; border-collapse: collapse; font-size: 15px; }
.foyer-article-body th, .foyer-article-body td { padding: 14px 16px; border: 1px solid var(--foyer-line); text-align: left; }
.foyer-article-body th { background: rgba(255, 250, 242, 0.8); }

.foyer-article-cta { margin-bottom: 120px; padding: 54px; border: 1px solid rgba(70, 82, 60, 0.18); border-radius: 28px; background: rgba(255, 250, 242, 0.76); }
.foyer-article-cta .foyer-editorial-eyebrow { margin: 0 0 28px; }
.foyer-article-cta h2 { max-width: 620px; margin: 0; font: 500 clamp(36px, 5vw, 54px)/1.04 var(--foyer-serif); letter-spacing: -0.04em; }
.foyer-article-cta p:not(.foyer-editorial-eyebrow) { max-width: 590px; margin: 24px 0 0; color: var(--foyer-muted); }
.foyer-editorial-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.foyer-editorial-text-link { color: var(--foyer-ink); font-size: 15px; font-weight: 800; text-decoration-color: var(--foyer-rust); text-underline-offset: 4px; }

.foyer-related { padding: 0 0 120px; }
.foyer-related > h2 { margin: 0 0 34px; font: 500 clamp(38px, 5vw, 58px)/1 var(--foyer-serif); letter-spacing: -0.04em; }
.foyer-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foyer-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--foyer-line); border-radius: 22px; background: rgba(255, 250, 242, 0.76); color: var(--foyer-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.foyer-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(24, 22, 17, 0.08); }
.foyer-card-image { aspect-ratio: 16 / 10; overflow: hidden; background: #e4d8c9; }
.foyer-card-image img { width: 100%; height: 100%; object-fit: cover; }
.foyer-card-image-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #2d3728, #46523c); color: var(--foyer-paper); }
.foyer-card-image-placeholder span { font: 500 42px/1 var(--foyer-serif); }
.foyer-card-content { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.foyer-card-content .foyer-editorial-eyebrow { margin-bottom: 14px; }
.foyer-card h2, .foyer-card h3 { margin: 0; font: 500 30px/1.1 var(--foyer-serif); letter-spacing: -0.03em; }
.foyer-card p { color: var(--foyer-muted); font-size: 15px; line-height: 1.6; }
.foyer-card-meta { display: flex; gap: 12px; margin-top: auto; padding-top: 18px; color: var(--foyer-muted); font-size: 12px; font-weight: 700; }
.foyer-card-link { margin-top: 18px; color: var(--foyer-rust); font-size: 14px; font-weight: 800; }

.foyer-archive-hero { padding: 112px 0 88px; }
.foyer-archive-hero h1 { max-width: 960px; }
.foyer-archive-intro { max-width: 720px; margin-top: 30px; color: var(--foyer-muted); font-size: 21px; }
.foyer-archive-content { padding-bottom: 120px; }
.foyer-card-grid-archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foyer-pagination { margin-top: 64px; }
.foyer-pagination .nav-links { display: flex; justify-content: center; gap: 10px; }
.foyer-pagination a, .foyer-pagination span { display: grid; min-width: 44px; min-height: 44px; padding: 8px 12px; place-items: center; border: 1px solid var(--foyer-line); border-radius: 999px; color: var(--foyer-ink); text-decoration: none; }
.foyer-pagination .current { background: var(--foyer-green); color: var(--foyer-paper); }
.foyer-empty-state { padding: 72px; border: 1px solid var(--foyer-line); border-radius: 28px; background: var(--foyer-paper); text-align: center; }
.foyer-empty-state h2 { margin: 0; font: 500 clamp(38px, 5vw, 58px)/1 var(--foyer-serif); }
.foyer-empty-state p { max-width: 620px; margin: 22px auto 28px; color: var(--foyer-muted); }

.foyer-editorial-footer { padding: 30px 0; background: var(--foyer-bg); color: var(--foyer-muted); font-size: 13px; }
.foyer-editorial-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

@media (max-width: 900px) {
  .foyer-editorial-nav-links { display: none; }
  .foyer-card-grid, .foyer-card-grid-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foyer-article-hero, .foyer-archive-hero { padding-top: 80px; }
}

@media (max-width: 620px) {
  .foyer-editorial-shell { width: min(100% - 28px, 1180px); }
  .foyer-editorial-reading-width { width: min(100% - 30px, 760px); }
  .foyer-editorial-header { padding: 18px 0; }
  .foyer-article-hero { padding: 64px 0 52px; }
  .foyer-article-hero h1, .foyer-archive-hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .foyer-article-dek { font-size: 19px; }
  .foyer-article-featured { margin-bottom: 54px; }
  .foyer-article-featured img { border-radius: 18px; }
  .foyer-article-body { padding-bottom: 64px; }
  .foyer-article-body h2 { margin-top: 1.65em; padding-top: 24px; font-size: 34px; }
  .foyer-article-body ul, .foyer-article-body ol { padding: 20px 20px 20px 42px; border-radius: 20px; }
  .foyer-article-cta { margin-bottom: 84px; padding: 34px 26px; border-radius: 20px; }
  .foyer-article-cta .foyer-editorial-eyebrow { margin-bottom: 22px; }
  .foyer-article-cta p:not(.foyer-editorial-eyebrow) { margin-top: 20px; }
  .foyer-editorial-actions { margin-top: 28px; }
  .foyer-card-grid, .foyer-card-grid-archive { grid-template-columns: 1fr; }
  .foyer-archive-hero { padding: 70px 0 54px; }
  .foyer-archive-content { padding-bottom: 84px; }
  .foyer-empty-state { padding: 46px 24px; }
  .foyer-editorial-footer-inner { display: grid; }
}

