:root {
  --ink: #16201c;
  --muted: #5d6860;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --green: #286b4a;
  --moss: #9dbb73;
  --blue: #2e6f91;
  --clay: #bd6f3d;
  --gold: #e1b85e;
  --line: rgba(22, 32, 28, .16);
  --shadow: 0 24px 70px rgba(22, 32, 28, .12);
  --radius: 8px;
}

* { 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.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 237, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 253, 248, .94);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  letter-spacing: .03em;
}

.brand-text {
  font-size: .9rem;
  color: var(--muted);
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .94rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(40, 107, 74, .1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 960px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: .92;
  font-weight: 500;
}

h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: clamp(26px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  padding-top: clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #33413a;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  background: transparent;
}

.hero-search {
  align-self: start;
}

.hero-results {
  grid-column: 1 / -1;
}

.hero-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-strip article {
  display: flex;
  gap: 16px;
  min-height: 92px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.hero-strip article:last-child {
  border-right: 0;
}

.hero-strip strong {
  color: var(--clay);
}

.intro-grid {
  display: grid;
  grid-template-columns: .28fr 1fr .46fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: var(--white);
}

.wide-copy p {
  max-width: 780px;
  font-size: 1.18rem;
}

.side-note {
  padding-top: 10px;
}

.side-note svg {
  width: 54px;
  margin-bottom: 22px;
  fill: var(--clay);
}

.side-note p {
  color: var(--muted);
}

.search-panel {
  position: relative;
  padding: 0;
}

.search-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.search-lead {
  margin: 0 0 18px;
  color: #3f4c45;
  font-size: 1rem;
  line-height: 1.55;
}

.load-state {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.load-state.is-ready {
  color: var(--green);
}

.load-state.is-error {
  color: #b94f4f;
}

.file-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  background: #f3eadc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.file-fallback p {
  flex: 1 1 280px;
  margin: 0;
  color: #59493d;
}

.file-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.file-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.search-input-wrap {
  position: relative;
}

.search-box input {
  width: 100%;
  min-height: 62px;
  padding: 0 42px 0 4px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 1.08rem;
}

.search-box input:focus {
  outline: 0;
  border-color: var(--green);
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 22px;
  height: 22px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transform: translateY(-50%);
}

.suggestions {
  display: grid;
  gap: 0;
  max-height: 338px;
  margin-top: 12px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 32, 28, .28) transparent;
}

.suggestions.has-results {
  border-bottom: 1px solid var(--line);
}

.suggestions::-webkit-scrollbar {
  width: 8px;
}

.suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.suggestions::-webkit-scrollbar-thumb {
  background: rgba(22, 32, 28, .28);
  border-radius: 999px;
}

.suggestions::-webkit-scrollbar-button,
.suggestions::-webkit-scrollbar-corner {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.suggestion {
  display: grid;
  align-items: center;
  min-height: 58px;
  padding: 12px 4px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(22, 32, 28, .08);
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.suggestion:hover,
.suggestion:focus {
  outline: 0;
  color: var(--green);
  background: transparent;
}

.suggestion strong {
  display: block;
}

.suggestion span {
  color: var(--muted);
  font-size: .9rem;
}

.result-panel {
  background: rgba(255, 253, 248, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 34px);
}

.result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.result-head p {
  color: var(--muted);
}

.income-card {
  display: grid;
  align-content: space-between;
  min-height: 170px;
  padding: 22px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius);
}

.income-card span {
  color: rgba(255, 255, 255, .74);
  font-weight: 900;
}

.income-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 500;
}

.indicator-layout {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 4vw, 40px);
  align-items: start;
}

.indicator {
  --ring-color: var(--green);
  --ring-start: 0deg;
  --ring-value: 0deg;
  --bar-color: var(--green);
  --bar-left: 50%;
  --bar-width: 0%;
}

.indicator-title,
.indicator-caption {
  display: block;
  text-align: center;
}

.indicator-title {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 900;
}

.ring {
  display: grid;
  place-items: center;
  width: 248px;
  aspect-ratio: 1;
  margin: 18px auto 0;
  background:
    radial-gradient(circle at center, var(--paper) 0 64%, transparent 65%),
    conic-gradient(from 0deg, rgba(23, 33, 29, .13) 0deg var(--ring-start), var(--ring-color) var(--ring-start) var(--ring-value), rgba(23, 33, 29, .13) var(--ring-value) 360deg);
  border-radius: 50%;
}

.ring strong {
  width: 176px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.indicator.featured {
  padding: 6px 0;
}

.indicator-list {
  display: grid;
  gap: 22px;
  padding-top: 10px;
}

.indicator.metric {
  padding: 0;
}

.metric-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.metric-head span {
  color: var(--muted);
  font-size: .98rem;
  font-weight: 800;
}

.metric-head strong {
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.metric-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(22, 32, 28, .22) calc(50% - .5px), rgba(22, 32, 28, .22) calc(50% + .5px), transparent calc(50% + .5px)),
    rgba(22, 32, 28, .08);
  overflow: hidden;
}

.metric-bar i {
  position: absolute;
  top: 0;
  left: var(--bar-left);
  width: var(--bar-width);
  height: 100%;
  background: var(--bar-color);
  border-radius: 999px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.terrain {
  background: #e8f0ea;
}

.split-copy {
  max-width: 720px;
}

.split-copy p {
  color: #36463d;
  font-size: 1.08rem;
}

.staggered {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 0;
}

.photo-slot {
  width: min(100%, 560px);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-slot img {
  width: 100%;
  max-height: 620px;
  height: auto;
  object-fit: cover;
  display: block;
}

.photo-slot span {
  max-width: 260px;
  font-size: .88rem;
  font-weight: 800;
}

.slot-one {
  width: 78%;
}

.slot-two {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66%;
  min-height: 310px;
  background:
    linear-gradient(135deg, rgba(22, 32, 28, .1), rgba(22, 32, 28, .48)),
    repeating-linear-gradient(-30deg, #8b7757 0 15px, #b28f55 15px 30px);
}

.facts {
  color: #f6efe3;
  background: #16201c;
}

.fact-title {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: clamp(18px, 5vw, 60px);
  margin-bottom: 48px;
}

.fact-title span {
  color: var(--gold);
  font-weight: 900;
}

.facts h2 {
  max-width: 850px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}

.fact-grid article {
  min-height: 260px;
  padding: 26px;
  background: #1d2924;
}

.fact-grid svg {
  width: 50px;
  margin-bottom: 52px;
  fill: var(--gold);
}

.fact-grid svg.line-icon {
  fill: none;
  color: var(--gold);
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-grid p {
  font-size: 1.08rem;
}

.actions {
  background: var(--paper);
}

.actions-head {
  max-width: 910px;
  margin-left: auto;
  margin-bottom: 42px;
}

.action-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.action-board article {
  min-height: 330px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  margin-bottom: 44px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.action-board article:nth-child(2) .icon-badge { background: var(--clay); }
.action-board article:nth-child(3) .icon-badge { background: var(--green); }
.action-board article:nth-child(4) .icon-badge { background: #6a558f; }

.action-board p {
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: #f3eadc;
}

.method-visual img {
  width: min(100%, 520px);
}

.steps {
  display: grid;
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 64px 130px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: rgba(255, 253, 248, .62);
}

.step-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--green);
}

.steps li:nth-child(2) .step-number {
  color: var(--blue);
}

.steps li:nth-child(3) .step-number {
  color: var(--clay);
}

.steps li:nth-child(4) .step-number {
  color: var(--gold);
}

.steps li > span:not(.step-number) {
  color: var(--muted);
}

.finance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 8vw, 120px);
  align-items: center;
  background: var(--white);
}

.finance-copy {
  max-width: 850px;
}

.finance-copy p {
  max-width: 720px;
  font-size: 1.08rem;
}

.support-box {
  min-height: 320px;
  padding: 28px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius);
}

.support-box span {
  display: block;
  margin-bottom: 56px;
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.support-box strong {
  display: block;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: .9;
}

.support-box button {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.support-box button:disabled {
  cursor: default;
  opacity: .72;
}

.gallery {
  background: #eef2ef;
}

.gallery-head {
  max-width: 820px;
  margin-bottom: 44px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.gallery-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-grid img,
.gallery-grid .compact {
  width: 100%;
  min-height: 320px;
}

.compact {
  box-shadow: none;
  border-radius: 0;
}

.compact.alt {
  background:
    linear-gradient(135deg, rgba(22, 32, 28, .08), rgba(22, 32, 28, .44)),
    repeating-linear-gradient(90deg, #596d86 0 18px, #7d8ea6 18px 36px);
}

figcaption {
  padding: 18px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, .7fr);
  gap: clamp(28px, 7vw, 100px);
  color: #fff;
  background: #23342c;
}

.contact .eyebrow {
  color: var(--gold);
}

.contact p {
  max-width: 660px;
  color: rgba(255, 255, 255, .75);
  font-size: 1.12rem;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-cta {
  display: flex;
  align-items: flex-start;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .intro-grid,
  .method,
  .finance,
  .contact,
  .result-head,
  .indicator-layout {
    grid-template-columns: 1fr;
  }

  .hero-strip,
  .fact-title,
  .action-board,
  .fact-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .actions-head {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .section {
    padding: 62px 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-search {
    order: 2;
  }

  .hero-results {
    order: 3;
  }

  .hero-strip,
  .fact-title,
  .action-board,
  .fact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .staggered {
    min-height: 0;
  }

  .ring {
    width: 214px;
  }

  .ring strong {
    width: 154px;
    font-size: 2rem;
  }

  .steps li {
    grid-template-columns: 58px 1fr;
    gap: 6px;
  }

  .steps li > span:last-child {
    grid-column: 2;
  }

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