:root {
  --ink: #1b2430;
  --soft: #586173;
  --paper: #ede8df;
  --card: #faf7f1;
  --brick: #a8462e;
  --brick-dark: #8a3722;
  --brass: #b08d57;
  --line: rgba(27, 36, 48, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "IBM Plex Sans", sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(237, 232, 223, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { width: 190px; height: auto; max-width: 48vw; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.86rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.nav-cta { padding: 10px 16px; background: #1f5e4c; color: #fff; border-radius: 2px; }
.nav-links .nav-cta:hover { background: #174a3c; text-decoration: none; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; padding-top: 24px; color: var(--soft); font-size: 0.75rem; white-space: nowrap; overflow: hidden; }
.breadcrumbs a { color: var(--brick); font-weight: 700; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.article-header { max-width: 980px; padding-top: 66px; padding-bottom: 46px; }
.article-kicker { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--brick); font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Fraunces", serif; letter-spacing: -0.025em; }
h1 { max-width: 14ch; margin: 18px 0 24px; font-size: clamp(3rem, 6.8vw, 6rem); font-weight: 400; line-height: 1.02; }
.article-deck { max-width: 760px; margin: 0; color: var(--soft); font-size: clamp(1.08rem, 2vw, 1.34rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; color: var(--soft); font-size: 0.78rem; }
.article-meta span + span::before { content: "\2022"; margin-right: 18px; color: var(--brass); }
.article-hero { margin-bottom: 72px; }
.article-hero img { width: 100%; max-height: 660px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.article-hero figcaption { margin-top: 10px; color: var(--soft); font-size: 0.74rem; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: clamp(42px, 8vw, 96px); align-items: start; }
.article-toc { position: sticky; top: 110px; padding: 22px 0; border-top: 3px solid var(--brick); border-bottom: 1px solid var(--line); }
.article-toc strong { font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.article-toc ol { margin: 16px 0 0; padding-left: 20px; color: var(--soft); font-size: 0.83rem; }
.article-toc li { margin: 9px 0; }
.article-toc a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body { min-width: 0; }
.article-body p, .article-body li { color: #3f4858; }
.article-intro { margin-bottom: 54px; padding-bottom: 34px; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
.article-section { scroll-margin-top: 108px; margin: 0 0 68px; }
.article-section h2, .property-cta h2 { margin: 0 0 22px; font-size: clamp(2.2rem, 4vw, 3.45rem); font-weight: 400; line-height: 1.08; }
.article-section p { margin: 0 0 20px; }
.article-section ul { margin: 22px 0; padding-left: 24px; }
.article-section li { margin: 11px 0; padding-left: 5px; }
.article-checklist { list-style: none; padding: 0 !important; }
.article-checklist li { position: relative; margin: 0; padding: 15px 16px 15px 48px; border-top: 1px solid var(--line); }
.article-checklist li:last-child { border-bottom: 1px solid var(--line); }
.article-checklist li::before { content: "\2713"; position: absolute; left: 16px; top: 14px; color: #1f5e4c; font-weight: 800; }
.article-callout { margin: 30px 0; padding: 24px 26px; background: var(--card); border-left: 4px solid var(--brass); }
.article-callout strong { font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.article-callout p { margin: 8px 0 0; }
.related-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.related-content-card { display: block; padding: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.related-content-card:hover { border-color: var(--brick); }
.related-content-card span { color: var(--brick); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.related-content-card strong { display: block; margin-top: 8px; font-family: "Fraunces", serif; font-size: 1.35rem; line-height: 1.18; }
.related-content-card p { margin: 10px 0 0; font-size: 0.82rem; line-height: 1.55; }
.property-cta { margin: 78px 0; padding: clamp(32px, 7vw, 62px); background: var(--ink); color: #fff; }
.property-cta .eyebrow { color: #d9bd8e; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.property-cta h2 { margin-top: 12px; }
.property-cta p { color: #c8cdd5; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; background: var(--brick); color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 700; border: 1px solid var(--brick); border-radius: 2px; }
.button:hover { background: var(--brick-dark); border-color: var(--brick-dark); }
.button-secondary { background: transparent; border-color: rgba(255, 255, 255, 0.42); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 36px 18px 0; cursor: pointer; font-weight: 700; }
.faq details p { padding: 0 34px 20px 0; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin: 72px 0 34px; padding: 24px; background: var(--card); border: 1px solid var(--line); }
.author-initials { display: grid; place-items: center; width: 54px; height: 54px; background: var(--ink); color: #fff; font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; border-radius: 50%; }
.author-box strong { font-family: "Fraunces", serif; font-size: 1.45rem; font-weight: 600; }
.author-box p { margin: 3px 0; font-size: 0.84rem; }
.article-return { margin-bottom: 90px; font-size: 0.88rem; font-weight: 700; }
.article-return a { color: var(--brick); }
footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.78rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-row img { width: 160px; height: auto; }
.footer-meta { text-align: right; }
.footer-meta strong { display: block; color: var(--ink); }
.cookie-banner { position: fixed; z-index: 50; right: 22px; bottom: 22px; width: min(430px, calc(100% - 44px)); padding: 20px; background: var(--ink); color: #fff; box-shadow: 0 20px 60px rgba(27, 36, 48, 0.3); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 14px; color: #d9dde4; font-size: 0.82rem; }
.cookie-banner a { color: #fff; }
.cookie-banner > div { display: flex; justify-content: flex-end; gap: 9px; }
.cookie-banner button { padding: 9px 14px; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.cookie-secondary { background: transparent; }
.cookie-primary { background: var(--brick); border-color: var(--brick) !important; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

@media (max-width: 860px) {
  .article-grid { grid-template-columns: 1fr; gap: 30px; }
  .article-toc { position: static; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 34px, 1120px); }
  .nav-links > a:first-child { display: none; }
  .article-header { padding-top: 44px; padding-bottom: 34px; }
  .article-meta { display: grid; gap: 4px; }
  .article-meta span + span::before { content: none; }
  .article-hero { width: 100%; margin-bottom: 48px; }
  .article-hero img { aspect-ratio: 4 / 3; }
  .article-hero figcaption { padding: 0 17px; }
  .property-cta { margin-inline: -17px; }
  .cta-actions { flex-direction: column; }
  .related-content-grid { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
