:root {
  color-scheme: light;
  --ink: #1f2225;
  --muted: #6c7177;
  --line: #e8e1d8;
  --paper: #fffdf9;
  --soft: #f7f1e9;
  --brand: #c91f24;
  --accent: #16685a;
  --gold: #d69b2d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 210px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
}

.intro,
.page-header {
  padding: clamp(48px, 8vw, 92px) clamp(18px, 4vw, 56px) clamp(28px, 5vw, 56px);
  background: linear-gradient(110deg, rgba(201, 31, 36, 0.08), rgba(22, 104, 90, 0.12));
}

.intro h1,
.page-header h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  line-height: 1;
}

.page-header p {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-band,
.listing,
.post,
.notice {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
}

.content-band.narrow {
  max-width: 760px;
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.section-heading a {
  color: var(--accent);
  font-weight: 800;
}

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

.article-card {
  display: grid;
  gap: 14px;
  align-content: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.article-card.featured {
  grid-column: span 2;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.article-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.18;
}

.article-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 0;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.listing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.notice {
  padding: 22px;
  margin-top: 32px;
  background: var(--soft);
  border-left: 4px solid var(--gold);
}

.notice h2,
.notice p {
  margin: 0;
}

.notice p {
  margin-top: 6px;
}

.post {
  max-width: 880px;
}

.post-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.post-image {
  width: 100%;
  margin: 28px 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-body {
  font-size: 1.08rem;
}

.post-body a {
  color: var(--brand);
  text-decoration: underline;
}

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote {
  margin: 0 0 1.2em;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin: 1.6em 0 0.45em;
  line-height: 1.2;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.post-tags a {
  color: var(--accent);
  font-weight: 800;
}

.empty {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 38px clamp(18px, 4vw, 56px);
  margin-top: 48px;
  color: white;
  background: #22272a;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
  color: #d7dbdd;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: start;
  justify-content: flex-end;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  width: min(460px, calc(100% - 36px));
  padding: 14px 16px;
  color: white;
  background: #22272a;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  flex: 1 1 230px;
  margin: 0;
  font-size: 0.92rem;
}

.cookie-notice a {
  color: #ffd26a;
  font-weight: 800;
}

.cookie-notice button {
  border: 0;
  padding: 8px 12px;
  color: white;
  background: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 21;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.scroll-top[hidden] {
  display: none;
}

.scroll-top span {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--brand);
}

.scroll-top:focus-visible {
  outline: 3px solid #ffd26a;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .main-nav,
  .site-footer nav {
    justify-content: flex-start;
  }

  .article-grid,
  .listing {
    grid-template-columns: 1fr;
  }

  .article-card.featured {
    grid-column: span 1;
  }

  .scroll-top {
    bottom: 118px;
  }
}
