:root {
  --ink: #151515;
  --ink-soft: #30302d;
  --cedar: #9b4f1f;
  --cedar-dark: #6f3516;
  --moss: #32483f;
  --stone: #f5f3ee;
  --paper: #ffffff;
  --line: #ded8cf;
  --shadow: 0 22px 60px rgba(21, 21, 21, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 4vw, 42px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(21, 21, 21, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  overflow: hidden;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled nav a {
  text-shadow: none;
}

.nav-cta {
  padding: 10px 14px;
  color: var(--paper);
  background: var(--cedar);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  padding: 132px 0 72px;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.46) 37%, rgba(0, 0, 0, 0.16) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
}

.hero-logo {
  width: clamp(118px, 18vw, 210px);
  height: clamp(118px, 18vw, 210px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cedar);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c3a1;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 1.02;
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.12;
  font-weight: 500;
  max-width: 900px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.field-row {
  display: flex;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button-primary {
  color: var(--paper);
  background: var(--cedar);
  box-shadow: 0 14px 34px rgba(111, 53, 22, 0.26);
}

.button-primary:hover {
  background: var(--cedar-dark);
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
}

.band {
  background: var(--stone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro {
  padding: clamp(46px, 7vw, 78px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.intro h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.intro p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section {
  padding: clamp(64px, 9vw, 116px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(21, 21, 21, 0.06);
}

.service-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--cedar);
  font-weight: 900;
}

.service-card p,
.promise-list p,
.request-copy p,
.site-footer p {
  color: var(--ink-soft);
}

.service-area {
  padding: clamp(54px, 8vw, 92px) 0;
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.area-list li {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 110px;
}

.promise-list {
  display: grid;
  gap: 14px;
}

.promise-list article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.promise-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.request-section {
  padding: clamp(64px, 9vw, 118px) 0;
  color: var(--paper);
  background: var(--ink);
}

.request-section .section-kicker {
  color: #f0c3a1;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.request-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
}

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

.field-row > label {
  flex: 1;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  outline: none;
}

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

select option {
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f0c3a1;
  box-shadow: 0 0 0 4px rgba(155, 79, 31, 0.28);
}

::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-button {
  justify-self: start;
}

.form-button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 22px;
  color: #f0c3a1;
  font-weight: 800;
}

.form-status.is-success {
  color: #9fddb3;
}

.form-status.is-error {
  color: #ffb4aa;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  padding: 32px 0;
  background: var(--stone);
}

.footer-grid {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-grid img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 8px;
}

.footer-grid p {
  margin-bottom: 4px;
}

.footer-grid p:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 320px;
  }

  .hero {
    min-height: 78vh;
    padding-top: 126px;
  }

  .intro-grid,
  .area-grid,
  .approach-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

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

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: absolute;
    color: var(--paper);
    padding: 14px;
  }

  .site-header.is-scrolled {
    position: fixed;
  }

  .brand {
    width: 54px;
    height: 54px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  nav {
    gap: 9px;
    font-size: 0.82rem;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .hero {
    min-height: 82vh;
    padding: 112px 0 48px;
  }

  .hero-media img {
    object-position: 68% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.12) 42%);
  }

  .hero-content {
    width: min(100% - 28px, 720px);
    margin-left: 14px;
  }

  .hero-actions,
  .field-row,
  .footer-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .area-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }
}
