:root {
  --forest: #082c26;
  --green: #155446;
  --gold: #d5ad62;
  --cream: #f4efe5;
  --paper: #fffdf8;
  --ink: #14221e;
  --muted: #66746f;
  --line: rgba(8, 44, 38, 0.14);
  --serif: "Iowan Old Style", Charter, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1120px, 90vw);
  margin: auto;
}
.nav {
  border-bottom: 1px solid var(--line);
  background: #fffdf8ee;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav .wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  font: 700 18px var(--serif);
  letter-spacing: 0.08em;
  color: var(--forest);
  margin-inline-end: auto;
}
.nav a:not(.brand) {
  font-size: 13px;
  font-weight: 700;
}
.main {
  color: var(--green);
}
.language-menu {
  position: relative;
}
.language-menu summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.language-menu div {
  position: absolute;
  inset-inline-end: 0;
  top: 32px;
  min-width: 150px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 14px 40px rgba(8, 44, 38, 0.14);
  display: grid;
  gap: 4px;
  z-index: 20;
}
.language-menu div a {
  padding: 8px 10px;
  border-radius: 8px;
}
.language-menu div a:hover {
  background: var(--cream);
}
.hero {
  padding: 64px 0;
}
.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.eyebrow {
  color: #9a6c1d;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 800;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.12;
}
h1 {
  font-size: clamp(40px, 5vw, 66px);
  margin: 14px 0 22px;
}
h2 {
  font-size: clamp(30px, 3vw, 44px);
  margin: 10px 0 18px;
}
h3 {
  font-size: 22px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
}
.disclosure {
  color: var(--muted);
  font-size: 12px;
  margin: -8px 0 22px;
}
.hero img,
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}
.hero figure {
  height: 520px;
  margin: 0;
}
.hero figcaption,
.split figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 750;
  background: var(--gold);
  color: var(--forest);
}
.btn.alt {
  background: transparent;
  border: 1px solid var(--line);
}
section {
  padding: 68px 0;
}
.soft {
  background: var(--cream);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cards > *,
.project-grid > *,
.hero-grid > *,
.split > * {
  min-width: 0;
}
.card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.card span {
  color: var(--muted);
  font-size: 14px;
}
.media-card {
  overflow: hidden;
  padding: 0;
}
.media-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.media-card div {
  padding: 22px;
}
.media-card p {
  color: var(--muted);
  font-size: 14px;
}
.text-link {
  color: var(--green);
  font-weight: 800;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.project-feature,
.project-stack article {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: white;
}
.project-feature img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.project-feature div,
.project-stack article {
  padding: 22px;
}
.project-stack {
  display: grid;
  gap: 18px;
}
.project-stack article {
  min-height: calc(50% - 9px);
}
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.guide-list a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.guide-list strong {
  display: block;
  color: var(--forest);
}
.guide-list span {
  color: var(--muted);
  font-size: 13px;
}
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.checklist div {
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cta {
  background: var(--forest);
  color: white;
}
.cta h2 {
  color: white;
}
.cta .lead {
  color: #ffffffb8;
}
footer {
  padding: 34px 0;
  background: #061f1b;
  color: #ffffffa6;
  font-size: 13px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero figure {
    height: 380px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .project-grid,
  .guide-list {
    grid-template-columns: 1fr;
  }
  .project-feature img {
    height: 280px;
  }
  .checklist {
    grid-template-columns: 1fr;
  }
  .nav .wrap {
    padding: 12px 0;
  }
}
