:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #596661;
  --paper: #fbfbf7;
  --line: #d9ded6;
  --moss: #345b43;
  --teal: #0f6b6d;
  --clay: #b85f3c;
  --sun: #f0c35a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 251, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--sun);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer nav a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 27, 24, 0.72), rgba(17, 27, 24, 0.22) 58%, rgba(17, 27, 24, 0.05));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px);
  color: var(--white);
}

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

.hero-copy .eyebrow {
  color: var(--sun);
}

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

.hero h1 {
  font-size: clamp(3.2rem, 12vw, 8.5rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 84px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 36px;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.page h1,
.article h1 {
  font-size: clamp(2rem, 5vw, 4.6rem);
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card a {
  text-decoration: none;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: clamp(18px, 4vw, 30px);
}

.card h2 {
  font-size: clamp(1.4rem, 3vw, 2.5rem);
}

.card p:last-child,
.editor-note p,
.editor-note dd,
.text-section p,
.article-body p,
.article-body li {
  color: var(--muted);
}

.editor-note {
  padding: 24px;
  border-top: 4px solid var(--teal);
  background: #eef5f1;
}

.editor-note h2 {
  font-size: 1.35rem;
}

.editor-note dl {
  margin: 22px 0 0;
}

.editor-note div {
  padding: 14px 0;
  border-top: 1px solid rgba(52, 91, 67, 0.2);
}

.editor-note dt {
  font-weight: 800;
}

.editor-note dd {
  margin: 3px 0 0;
}

.page,
.article {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) 0;
}

.page-header,
.article-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.page-header p,
.dek {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  font-weight: 700;
}

.byline a {
  color: var(--teal);
}

.lead-image {
  margin: 34px 0;
}

.lead-image img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lead-image picture {
  display: block;
}

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

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2,
.text-section h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.article-body ul {
  padding-left: 22px;
}

.content-note,
.text-section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.content-note {
  border-top: 4px solid var(--clay);
}

.content-note h2:first-child {
  margin-top: 0;
}

.reference-box {
  margin-top: 26px;
  padding: 16px 20px;
  background: #fff8e3;
  border-top-color: var(--sun);
}

.reference-box h2 {
  font-size: 1.35rem;
}

.reference-box p {
  margin-bottom: 0;
}

.reference-box a {
  color: var(--teal);
  font-weight: 800;
}

.spec-table {
  display: grid;
  gap: 0;
  margin: 24px 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table span {
  color: var(--muted);
}

.spec-table strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    min-height: auto;
    padding-block: 12px;
  }

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

  .site-header {
    position: static;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .site-header nav,
  .site-footer nav {
    gap: 10px 14px;
  }

  .site-header nav a {
    font-size: 0.92rem;
  }

  .hero {
    min-height: 540px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(17, 27, 24, 0.22), rgba(17, 27, 24, 0.78));
  }

  .hero-copy {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  .hero-copy p:not(.eyebrow) {
    margin: 14px 0 22px;
    font-size: 1.04rem;
  }

  .page,
  .article {
    width: min(100% - 28px, 920px);
    padding: 38px 0;
  }

  .article-header {
    padding-bottom: 24px;
  }

  .lead-image {
    margin: 26px 0;
  }

  .intro,
  .feature-grid,
  .spec-table div {
    grid-template-columns: 1fr;
  }
}
