:root {
  color-scheme: light;
  --ink: #15231f;
  --ink-soft: #50615a;
  --paper: #f7f1e4;
  --paper-strong: #fffaf0;
  --line: rgba(32, 48, 42, 0.14);
  --moss: #456d52;
  --moss-deep: #284538;
  --clay: #c36c45;
  --amber: #e5b35e;
  --sky: #d8e8e4;
  --shadow: 0 24px 80px rgba(44, 54, 45, 0.16);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(229, 179, 94, 0.28), transparent 30rem),
    radial-gradient(circle at 92% 12%, rgba(69, 109, 82, 0.2), transparent 26rem),
    linear-gradient(135deg, #faf5e9 0%, #eef3e8 55%, #f8eadc 100%);
  color: var(--ink);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 35, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 35, 31, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 80%);
}

a {
  color: inherit;
}

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

.site-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 42px rgba(45, 54, 48, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-strong);
  background: conic-gradient(from 25deg, var(--moss), var(--clay), var(--amber), var(--moss));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand-name span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(69, 109, 82, 0.12);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--paper-strong);
  background: var(--moss-deep);
  font-family: var(--sans);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--paper-strong);
  background: var(--moss-deep);
  box-shadow: 0 14px 32px rgba(40, 69, 56, 0.22);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--moss-deep);
  background: rgba(255, 250, 240, 0.72);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 34px;
  align-items: stretch;
  padding: 82px 0 42px;
}

.hero-copy {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.74);
  box-shadow: var(--shadow);
}

.page-hero {
  max-width: 860px;
  padding: 78px 0 26px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.9;
}

.page-hero h1 {
  max-width: 13ch;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

h3 {
  font-size: 25px;
  line-height: 1.05;
}

p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.lead {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 21px);
}

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

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(40, 69, 56, 0.94), rgba(69, 109, 82, 0.88)),
    radial-gradient(circle at 70% 15%, rgba(229, 179, 94, 0.7), transparent 22rem);
  color: var(--paper-strong);
  box-shadow: var(--shadow);
}

.hero-card::after {
  position: absolute;
  right: -90px;
  bottom: -95px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 250, 240, 0.32);
  border-radius: 50%;
  content: "";
}

.hero-card p {
  color: rgba(255, 250, 240, 0.72);
}

.status-board {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.status-board header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dbf2c8;
  font-size: 13px;
  font-weight: 800;
}

.status-dot::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b6e878;
  box-shadow: 0 0 0 7px rgba(182, 232, 120, 0.18);
  content: "";
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.metric,
.project-card,
.note-card,
.info-card,
.step,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.68);
}

.metric {
  padding: 18px;
  color: var(--paper-strong);
  background: rgba(255, 250, 240, 0.09);
  border-color: rgba(255, 250, 240, 0.24);
}

.metric span,
.eyebrow {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.metric span {
  color: rgba(255, 250, 240, 0.68);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.section {
  padding: 46px 0;
}

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

.section-head p {
  max-width: 44ch;
  margin: 0;
}

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

.info-card,
.project-card,
.note-card,
.step {
  padding: 24px;
  box-shadow: 0 18px 48px rgba(44, 54, 45, 0.08);
}

.info-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--clay);
}

.project-card,
.note-card {
  display: grid;
  gap: 16px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.project-card[hidden],
.note-card[hidden] {
  display: none;
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tag,
.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--moss-deep);
  background: rgba(69, 109, 82, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.68);
  cursor: pointer;
}

.chip[aria-pressed="true"],
.chip:hover {
  color: var(--paper-strong);
  background: var(--moss-deep);
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.search {
  width: min(360px, 100%);
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 250, 240, 0.75);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 24px;
  align-items: start;
}

.process {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-strong);
  background: var(--clay);
  font-family: var(--serif);
  font-size: 20px;
}

.quote-panel {
  padding: clamp(30px, 6vw, 64px);
  border-radius: var(--radius-lg);
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--moss-deep), #172f27);
  box-shadow: var(--shadow);
}

.quote-panel p {
  color: rgba(255, 250, 240, 0.78);
}

.quote-panel blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.form-panel {
  padding: clamp(24px, 4vw, 38px);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
.checklist legend {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  outline: 0;
  background: rgba(255, 250, 240, 0.82);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
.search:focus {
  border-color: rgba(69, 109, 82, 0.62);
  box-shadow: 0 0 0 4px rgba(69, 109, 82, 0.12);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  border: 0;
}

.checklist label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 240, 0.54);
}

.checklist input {
  width: auto;
}

.form-status {
  min-height: 28px;
  color: var(--moss-deep);
  font-weight: 750;
}

.mini-estimate {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(216, 232, 228, 0.64);
}

.footer {
  margin-top: 64px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  animation: rise 520ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .topbar {
    align-items: stretch;
    border-radius: 26px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 250, 240, 0.96);
    box-shadow: var(--shadow);
  }

  .nav[data-open="true"] {
    display: flex;
  }

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

  .hero {
    padding-top: 42px;
  }

  .hero-card {
    min-height: auto;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, var(--max));
  }

  .brand-name span {
    display: none;
  }

  .hero-copy,
  .form-panel,
  .quote-panel {
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(44px, 18vw, 72px);
  }

  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
