:root {
  --ink: #20211f;
  --muted: #63645e;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dedbd2;
  --sage: #6f8771;
  --sage-dark: #3f5948;
  --clay: #a7654f;
  --sand: #e9dfcf;
  --blue: #314f65;
  --focus: #0f6bba;
  --shadow: 0 18px 48px rgba(32, 33, 31, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.nav-toggle,
.button {
  min-height: 44px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--sand);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-weight: 700;
}

.hero,
.page-hero,
.section,
.feature-band,
.simple-page,
.article-layout {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 7vw, 6.1rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
}

h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.lede {
  max-width: 700px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.hero-media {
  margin: 0;
}

.hero-media img,
.article-card img,
.article-hero img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.article-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-card {
  min-width: 0;
}

.article-card a {
  display: block;
  height: 100%;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(32, 33, 31, 0.1);
}

.article-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: none;
}

.card-kicker {
  display: block;
  margin-top: 1rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card h2,
.article-card h3 {
  margin-top: 0.35rem;
  font-family: inherit;
  font-size: 1.13rem;
  line-height: 1.25;
}

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

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2ea;
}

.principles {
  display: grid;
  gap: 1rem;
}

.principles p {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(32, 33, 31, 0.16);
}

.principles p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-hero,
.simple-page {
  padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.page-hero h1,
.simple-page h1 {
  max-width: 920px;
}

.simple-page {
  max-width: 780px;
}

.simple-page p,
.simple-page li {
  color: var(--muted);
  font-size: 1.05rem;
}

.simple-page h2 {
  margin-top: 2rem;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 800;
}

.resource-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.resource-list a {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.resource-list a:hover {
  border-color: rgba(32, 33, 31, 0.4);
}

.resource-list span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.resource-list strong {
  color: var(--ink);
  font-size: 1.06rem;
}

.resource-list em {
  color: var(--muted);
  font-style: normal;
}

.resource-list.compact {
  margin-top: 1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem 0;
}

.stat-grid div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2ea;
}

.stat-grid strong,
.stat-grid span {
  display: block;
}

.stat-grid strong {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.stat-grid span {
  color: #4f504b;
}

.article-layout {
  max-width: 900px;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.article-hero img {
  width: 100%;
  max-height: 680px;
  margin-top: 2rem;
  object-fit: cover;
}

.article-body {
  max-width: 740px;
  margin: 2.5rem auto 0;
}

.article-body p,
.article-body li {
  color: #4f504b;
  font-size: 1.06rem;
}

.article-body h2 {
  margin-top: 2.25rem;
  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 850;
}

.notice {
  padding: 1rem;
  border-left: 4px solid var(--sage);
  background: #eef2ea;
}

.pin-save {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.pin-save h2 {
  margin-bottom: 0.55rem;
}

.pin-save p {
  color: var(--muted);
}

.pin-save img {
  width: 100%;
  border: 1px solid var(--line);
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.checklist {
  padding-left: 1.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--sand);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.site-footer a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 920px) {
  .hero-split,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 560px;
  }

  .article-grid,
  .article-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  h1 {
    font-size: 2.65rem;
  }

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

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .pin-save {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
