:root {
  color-scheme: light;
  --ink: #1f2a2e;
  --muted: #59686d;
  --paper: #fbf7ef;
  --surface: #ffffff;
  --line: #d8d0c3;
  --sage: #7f9275;
  --terracotta: #b86f47;
  --sky: #86b5c9;
  --steel: #33464d;
  --gold: #c79a43;
  --shadow: 0 20px 45px rgba(31, 42, 46, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 208, 195, 0.8);
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(216, 208, 195, 0.9);
}

.brand span {
  white-space: nowrap;
}

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

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--steel);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(31, 42, 46, 0.82), rgba(31, 42, 46, 0.45) 44%, rgba(31, 42, 46, 0.05)),
    linear-gradient(0deg, rgba(31, 42, 46, 0.62), rgba(31, 42, 46, 0.05) 44%);
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 132px 0 70px;
  color: #fffaf1;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f6dca9;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.55rem, 8vw, 5.65rem);
}

.hero-copy {
  max-width: 710px;
  margin: 22px 0 0;
  color: #fff2dd;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--terracotta);
  color: #fffaf1;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 250, 241, 0.68);
  background: rgba(255, 250, 241, 0.12);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section.alt {
  background: #efe7d9;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(31, 42, 46, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

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

.card p {
  margin: 0;
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 68px);
  align-items: center;
}

.feature-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-panel {
  display: grid;
  grid-template-columns: 184px 1fr;
  gap: 26px;
  align-items: center;
}

.profile-panel img {
  width: 184px;
  height: 184px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: inset 0 0 0 3px #dfe8d9;
}

.callout {
  padding: clamp(26px, 5vw, 42px);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(31, 42, 46, 0.08);
}

.callout h2 {
  margin-top: 0;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.source-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7ef;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fffaf1;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav-wrap {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    padding-inline: 10px;
  }

  .hero {
    min-height: 640px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(31, 42, 46, 0.38), rgba(31, 42, 46, 0.88)),
      linear-gradient(90deg, rgba(31, 42, 46, 0.72), rgba(31, 42, 46, 0.22));
  }

  .hero-inner {
    padding-top: 152px;
  }

  .grid,
  .grid.two,
  .split,
  .profile-panel {
    grid-template-columns: 1fr;
  }

  .profile-panel img {
    width: 152px;
    height: 152px;
  }
}

@media (max-width: 520px) {
  .brand span {
    white-space: normal;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }

  .hero-actions .button {
    width: 100%;
  }

  .card {
    padding: 20px;
  }
}
