:root {
  --hd-sage: #5b5c4a;
  --hd-sage-deep: #353629;
  --hd-gold: #c6aa76;
  --hd-cream: #f9f8f4;
  --hd-cream-soft: #f1f0e8;
  --hd-ink: #36372c;
  --hd-muted: #727363;
  --hd-border: #dedccf;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.static-article-page {
  margin: 0;
  background: var(--hd-cream);
  color: var(--hd-ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

.static-article-page a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 248, 244, 0.98);
  border-bottom: 1px solid var(--hd-border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1280px, calc(100% - 2rem));
  min-height: 80px;
  margin: 0 auto;
}

.site-brand { display: inline-flex; flex-shrink: 0; }
.site-brand img { display: block; width: auto; height: 36px; }

.site-nav-links,
.site-locale {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--hd-sage);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a:hover { color: var(--hd-gold); }
.site-locale { gap: 0.5rem; }
.site-locale a { font-size: 0.82rem; }
.site-locale .inactive { opacity: 0.5; }
.site-locale .separator { color: var(--hd-gold); }

.static-article-page main { background: #fff; }
.static-blog-article { padding-bottom: 4.5rem; }

.static-blog-article > header {
  background: var(--hd-sage);
  color: var(--hd-cream);
  padding: 3.75rem max(1rem, calc((100vw - 1152px) / 2));
}

.static-blog-article > header > * {
  display: block;
  width: min(100%, 928px);
  margin-left: auto;
  margin-right: auto;
}

.static-blog-article header nav { margin-bottom: 1.75rem; }
.static-blog-article header nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  color: #e7e4d7;
  font-size: 0.78rem;
  list-style: none;
  opacity: 0.85;
}
.static-blog-article header nav li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--hd-gold);
}
.static-blog-article header nav a { text-decoration: none; }
.static-blog-article header nav a:hover { color: var(--hd-gold); }

.static-blog-article h1,
.static-blog-article h2,
.static-blog-article h3 {
  font-family: Syne, Arial, sans-serif;
  letter-spacing: -0.02em;
}

.static-blog-article h1 {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #fffdf8;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  line-height: 1.1;
}

.static-blog-article > header > p {
  margin-top: 0.4rem;
  margin-bottom: 0;
  color: #e7e4d7;
  font-size: 0.94rem;
}
.static-blog-article > header > p a { color: var(--hd-gold); }

.static-blog-article > figure,
.static-blog-article > p,
.static-blog-article > section {
  width: min(100% - 2rem, 768px);
  margin-left: auto;
  margin-right: auto;
}

.static-blog-article > figure {
  margin-top: 3.25rem;
  margin-bottom: 2.5rem;
}

.static-blog-article figure {
  overflow: hidden;
  border: 1px solid var(--hd-border);
  border-radius: 1rem;
  background: var(--hd-cream-soft);
}

.static-blog-article figure img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
}

.static-blog-article figcaption {
  padding: 0.85rem 1rem;
  color: var(--hd-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.static-blog-article > p {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.06rem;
  line-height: 1.8;
}

.static-blog-article > section {
  margin-top: 3.25rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--hd-border);
}

.static-blog-article > section h2 {
  margin: 0 0 1.25rem;
  color: var(--hd-sage);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.18;
}

.static-blog-article > section h3 {
  margin: 2rem 0 0.6rem;
  color: var(--hd-sage);
  font-size: 1.18rem;
  line-height: 1.35;
}

.static-blog-article > section p,
.static-blog-article > section li,
.static-blog-article > section td,
.static-blog-article > section th {
  font-size: 1rem;
  line-height: 1.8;
}

.static-blog-article > section p { margin: 0 0 1.1rem; }
.static-blog-article > section ul,
.static-blog-article > section ol { margin: 1.1rem 0; padding-left: 1.45rem; }
.static-blog-article > section li { margin-bottom: 0.55rem; }
.static-blog-article > section a {
  color: #756033;
  font-weight: 600;
  text-decoration-color: var(--hd-gold);
  text-underline-offset: 0.16em;
}
.static-blog-article > section a:hover { color: var(--hd-sage); }

.table-scroll { overflow-x: auto; margin: 1.5rem 0 0.4rem; }
.static-blog-article table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.92rem;
}
.static-blog-article caption {
  padding: 0 0 0.8rem;
  color: var(--hd-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}
.static-blog-article th,
.static-blog-article td {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--hd-border);
  vertical-align: top;
  text-align: left;
}
.static-blog-article thead th { background: var(--hd-sage); color: #fffdf8; }
.static-blog-article tbody th { background: var(--hd-cream-soft); color: var(--hd-sage); }
.static-blog-article small { color: var(--hd-muted); font-size: 0.82rem; }

.site-footer { background: var(--hd-sage); color: #e7e4d7; }
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 2.5rem;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.75rem 0;
}
.site-footer img { width: auto; height: 34px; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer p { margin: 0.9rem 0 0; color: #d4d2c5; font-size: 0.87rem; }
.site-footer h2 { margin: 0 0 1rem; color: var(--hd-gold); font: 700 0.72rem/1.3 Syne, Arial, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0.5rem 0; }
.site-footer a { color: #e7e4d7; font-size: 0.9rem; text-decoration: none; opacity: 0.88; }
.site-footer a:hover { color: var(--hd-gold); opacity: 1; }
.site-footer-bottom { border-top: 1px solid rgba(231, 228, 215, 0.2); }
.site-footer-bottom p { width: min(1280px, calc(100% - 2rem)); margin: 0 auto; padding: 1.1rem 0; color: #d4d2c5; font-size: 0.72rem; }

@media (max-width: 760px) {
  .site-nav { min-height: 66px; gap: 1rem; }
  .site-brand img { height: 28px; }
  .site-nav-links { display: none; }
  .site-locale { margin-left: auto; }
  .static-blog-article > header { padding-top: 2.8rem; padding-bottom: 2.8rem; }
  .static-blog-article > figure { margin-top: 2rem; }
  .static-blog-article > section { margin-top: 2.4rem; padding-top: 2.4rem; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
}
