:root {
  --paper: #f3eee4;
  --paper-strong: #fffdf8;
  --ink: #121811;
  --muted: #586154;
  --line: #d8cdbb;
  --line-dark: #273424;
  --green: #172218;
  --green-soft: #536c4d;
  --cream: #fbf8f1;
  --shadow: 0 28px 86px -62px rgba(40, 33, 25, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.88), transparent 22rem),
    radial-gradient(circle at 84% 4%, rgba(120, 135, 104, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(251, 248, 241, 0.92), rgba(232, 224, 210, 0.52)),
    var(--paper);
  color: var(--ink);
  font-family: Geist, "Avenir Next", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  pointer-events: none;
  position: fixed;
  inset: 0;
  content: "";
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(20, 24, 19, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 19, 0.8) 1px, transparent 1px);
  background-size: 56px 56px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
}

.nav-shell {
  position: sticky;
  top: 20px;
  z-index: 20;
  padding: 0 16px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1280px);
  margin: 20px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(213, 201, 183, 0.9);
  border-radius: 8px;
  background: rgba(248, 244, 236, 0.9);
  box-shadow: 0 22px 70px -46px rgba(38, 32, 22, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #2d3b2a;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand-name {
  display: block;
  letter-spacing: 0.16em;
  font-size: 14px;
  font-weight: 700;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  color: #65705f;
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #dfd6c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 6px;
  color: #4f594b;
  font-size: 14px;
  transition: background 500ms cubic-bezier(0.32, 0.72, 0, 1), color 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--green);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 500ms cubic-bezier(0.32, 0.72, 0, 1),
    background 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 40px -28px rgba(22, 34, 24, 0.9);
}

.button.secondary {
  border-color: #cfc4b1;
  background: rgba(251, 248, 241, 0.78);
  color: #1c241c;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button .arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid #c9bea9;
  background: rgba(248, 244, 235, 0.74);
  color: #68725f;
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Monaco, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100dvh - 96px);
  padding: 110px 0 72px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: 1.02fr 0.98fr;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero h1 {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(52px, 6.1vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-top: 28px;
  color: #3f493c;
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-points {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-top: 44px;
  padding-left: 20px;
  border-left: 1px solid #b9ad99;
  color: #3f493c;
  font-size: 14px;
  line-height: 1.7;
}

.check-row {
  display: flex;
  gap: 12px;
}

.check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #7c8a73;
  border-radius: 999px;
  color: var(--green-soft);
  font-size: 12px;
}

.image-shell {
  border: 1px solid #d4c8b6;
  border-radius: 8px;
  background: #eee6d9;
  padding: 8px;
  box-shadow: 0 38px 100px -66px rgba(41, 34, 24, 0.92);
}

.image-card {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 6px;
  background: #1a2118;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  opacity: 0.92;
}

.dossier {
  position: absolute;
  inset: auto 28px 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(16, 22, 16, 0.84);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dossier-top,
.dossier-grid {
  display: grid;
  gap: 10px;
}

.dossier-top {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.mono {
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Monaco, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dossier-grid {
  margin-top: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.dossier-cell {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 248, 241, 0.82);
  box-shadow: 0 24px 80px -58px rgba(40, 33, 25, 0.74);
}

.stat {
  padding: 26px;
  border-right: 1px solid #e1d7c7;
}

.stat:last-child {
  border-right: 0;
}

.stat small {
  color: #7a6f60;
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Monaco, monospace;
}

.stat strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
}

.section {
  padding: 104px 0;
}

.section.soft {
  border-top: 1px solid #ded4c4;
  border-bottom: 1px solid #ded4c4;
  background: rgba(251, 248, 241, 0.82);
}

.section.green {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--green);
  color: #fff;
}

.section-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 0.78fr 1.22fr;
}

.section h2 {
  margin-top: 20px;
  max-width: 720px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
}

.section-copy {
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, 1fr);
}

.card-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #efe7da;
  padding: 4px;
  box-shadow: var(--shadow);
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.card-shell:hover {
  transform: translateY(-4px);
}

.card-wide {
  grid-column: span 4;
}

.card-narrow {
  grid-column: span 2;
}

.card {
  height: 100%;
  padding: 28px;
  border-radius: 6px;
  background: var(--paper-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.card-icon {
  color: var(--green-soft);
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Monaco, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.card h3 {
  margin-top: 20px;
  font-size: 22px;
}

.card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.deliverable-panel {
  border: 1px solid #2c382c;
  border-radius: 8px;
  background: #273424;
  padding: 8px;
  box-shadow: 0 34px 96px -60px rgba(20, 28, 22, 0.96);
}

.deliverable-core {
  padding: 34px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.deliverable-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  grid-template-columns: repeat(2, 1fr);
}

.deliverable-grid div {
  display: flex;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.two-col {
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: 1.08fr 0.92fr;
}

.project-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.process-grid {
  display: grid;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 248, 241, 0.88);
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article {
  padding: 28px;
  border-right: 1px solid #ded4c4;
}

.process-grid article:last-child {
  border-right: 0;
}

.footer {
  padding: 34px 0;
  background: #10160f;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-hero {
  padding: 92px 0 110px;
}

.page-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 0.92fr 1.08fr;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-soft);
  font-size: 14px;
  font-weight: 700;
}

.page-hero h1 {
  margin-top: 24px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
}

.outcome-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #efe7da;
  padding: 8px;
  box-shadow: var(--shadow);
}

.outcome-core {
  padding: 34px;
  border-radius: 6px;
  background: var(--paper-strong);
}

.outcome-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.item-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .container {
    width: min(100% - 40px, 720px);
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid,
  .section-grid,
  .two-col,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 1.05;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .image-card {
    min-height: 350px;
  }

  .image-card img {
    min-height: 350px;
  }

  .dossier {
    inset: auto 14px 14px;
    padding: 14px;
  }

  .stats,
  .card-grid,
  .project-grid,
  .process-grid,
  .item-grid,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .process-grid article {
    border-right: 0;
    border-bottom: 1px solid #ded4c4;
  }

  .stat:last-child,
  .process-grid article:last-child {
    border-bottom: 0;
  }

  .card-wide,
  .card-narrow {
    grid-column: span 1;
  }

  .section,
  .page-hero {
    padding: 76px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 10px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .nav .button {
    width: auto;
    min-height: 44px;
    padding: 0 12px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    margin-top: 24px;
  }
}
