:root {
  --ink: #223026;
  --muted: #5d6b60;
  --line: #d9dfd3;
  --paper: #fbfaf5;
  --leaf: #3f6b4f;
  --moss: #6f7d42;
  --clay: #b86535;
  --sun: #e7b94f;
  --sky: #dce9ea;
  --white: #fffef9;
}

* {
  box-sizing: border-box;
}

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

a {
  color: #2f684a;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(34, 48, 38, 0.12);
  background: rgba(251, 250, 245, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(20, 31, 22, 0.1), rgba(20, 31, 22, 0.72)),
    var(--hero-image) center / cover no-repeat;
  color: #fffdf4;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12vh 0 9vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sun);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.35rem, 4.8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: rgba(255, 253, 244, 0.92);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #fffdf4;
  background: rgba(63, 107, 79, 0.86);
  font-weight: 760;
  text-decoration: none;
}

.button.secondary {
  color: #fffdf4;
  background: rgba(34, 48, 38, 0.34);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.band {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.band h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
}

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

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e9efe2;
  color: #2d513d;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.quick-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quick-table th,
.quick-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.quick-table th {
  width: 34%;
  color: #36463b;
  background: #eef2e8;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 82px;
  border-left: 3px solid var(--leaf);
  padding: 14px 0 14px 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.toc a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  text-decoration: none;
}

.content h2 {
  margin-top: 40px;
}

.content h3 {
  margin-top: 28px;
}

.figure {
  margin: 26px 0;
}

.figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef2e8;
}

.figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.note {
  border-left: 4px solid var(--clay);
  background: #fff3e9;
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
}

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

.equipment .card {
  padding: 16px;
}

.site-footer {
  background: #223026;
  color: #edf2e8;
  margin-top: 54px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
}

.footer-inner a {
  color: #f5d37a;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 68vh;
  }

  .grid,
  .grid.two,
  .article,
  .equipment,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}
