:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #1f2933;
  --muted: #667085;
  --line: #d9ded8;
  --accent: #0f766e;
  --accent-dark: #0b4f49;
  --warm: #c2410c;
  --shadow: 0 14px 38px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
}

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

.site-header,
.site-footer,
.page-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: #e9efec;
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 40px;
  align-items: center;
  padding: 48px 0 36px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 18px;
  max-width: 780px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
  max-width: 680px;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: clamp(280px, 38vw, 460px);
  object-fit: cover;
  width: 100%;
}

.hero-figure figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}

.section-note {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card time,
.meta {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.card p,
.rich-text p,
.rich-text li {
  color: var(--muted);
}

.card p {
  margin: 0;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.plain-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-title {
  padding: 42px 0 28px;
}

.page-title h1 {
  font-size: clamp(34px, 4.8vw, 54px);
}

.rich-text {
  max-width: 780px;
}

.rich-text h2 {
  margin-top: 30px;
}

.contact-panel {
  align-items: start;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.secondary {
  background: #e9efec;
  color: var(--accent-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px 0 34px;
}

.site-footer a {
  color: var(--muted);
  margin-left: 14px;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .site-nav a {
    padding-left: 0;
  }

  .hero,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 30px;
  }
}
