:root {
  --juniper: #2f5638;
  --juniper-deep: #1d3b27;
  --sage: #eef7ec;
  --mist: #fbfcf6;
  --olive: #b99d27;
  --cream: #fffdf4;
  --ink: #17251b;
  --shadow: 0 24px 70px rgba(18, 47, 28, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px clamp(20px, 5vw, 72px);
  color: var(--juniper);
  background: #fff;
}

.site-header::after,
.floating-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--olive);
}

.brand {
  display: grid;
  place-items: center;
  width: clamp(160px, 18vw, 245px);
  min-width: 160px;
}

.brand img {
  width: 100%;
  height: auto;
}

.brand span {
  display: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 42px);
  padding: 0;
  border: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  position: relative;
  opacity: 0.94;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 28px;
  height: 3px;
  background: var(--olive);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--juniper);
  background: transparent;
  border: 1px solid rgba(32, 56, 38, 0.22);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--juniper);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(18, 35, 23, 0.14);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-header.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-brand {
  color: var(--juniper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 700;
  white-space: nowrap;
}

.floating-nav {
  gap: clamp(16px, 2.4vw, 34px);
  width: auto;
  font-size: 0.74rem;
}

.floating-nav a::after {
  bottom: -7px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 86px) clamp(48px, 7vw, 96px);
  color: var(--cream);
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background:
    radial-gradient(circle at 82% 18%, rgba(185, 157, 39, 0.42), transparent 30%),
    radial-gradient(circle at 14% 78%, rgba(238, 247, 236, 0.2), transparent 28%),
    linear-gradient(118deg, #244930 0%, var(--juniper) 52%, #5f7232 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 244, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 253, 244, 0.06) 0 1px, transparent 1px 100%);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 82%);
}

.hero-shade {
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(29, 59, 39, 0) 0%, rgba(29, 59, 39, 0.42) 100%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: #d9c565;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 253, 244, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 253, 244, 0.56);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-primary {
  color: var(--juniper-deep);
  background: var(--cream);
  border-color: var(--cream);
}

.button-secondary {
  color: var(--cream);
  background: rgba(255, 253, 244, 0.06);
  backdrop-filter: blur(12px);
}

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

.scroll-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 20;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--cream);
  background: var(--juniper);
  border: 1px solid rgba(255, 253, 244, 0.42);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(18, 35, 23, 0.24);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--olive);
  transform: translateY(8px);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top.is-visible:hover,
.scroll-top.is-visible:focus-visible {
  transform: translateY(-2px);
}

.services {
  background: var(--cream);
  border-bottom: 1px solid rgba(32, 56, 38, 0.16);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  padding: clamp(54px, 7vw, 92px) clamp(20px, 6vw, 86px) clamp(34px, 4vw, 52px);
}

.section-heading h2 {
  max-width: 720px;
  color: var(--juniper);
  font-size: clamp(2.4rem, 5vw, 5.3rem);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(32, 56, 38, 0.16);
}

.service-strip div {
  min-height: 136px;
  padding: 28px clamp(18px, 3vw, 36px);
  border-right: 1px solid rgba(32, 56, 38, 0.16);
}

.service-strip div:last-child {
  border-right: 0;
}

.service-strip span {
  display: block;
  margin-bottom: 18px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-strip strong {
  display: block;
  max-width: 280px;
  color: var(--juniper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.78rem);
  line-height: 1.08;
}

.proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 86px);
  background: var(--sage);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  padding: clamp(58px, 8vw, 106px) clamp(20px, 6vw, 86px);
  background: var(--mist);
  border-bottom: 1px solid rgba(32, 56, 38, 0.12);
}

.about h2 {
  max-width: 780px;
  color: var(--juniper);
  font-size: clamp(2.4rem, 5vw, 5.1rem);
}

.about p:last-child {
  max-width: 560px;
  margin: clamp(8px, 1.8vw, 18px) 0 0;
  color: rgba(23, 37, 27, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.78;
}

.proof h2 {
  max-width: 560px;
  color: var(--juniper);
  font-size: clamp(2.6rem, 5.8vw, 5.8rem);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.proof-list div {
  min-height: 220px;
  padding: 28px;
  background: var(--cream);
  border-top: 4px solid var(--olive);
  box-shadow: 0 18px 46px rgba(32, 56, 38, 0.12);
}

.proof-list span {
  display: block;
  margin-bottom: 22px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-list strong {
  display: block;
  color: var(--juniper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.14;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 0.75fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding: clamp(58px, 8vw, 106px) clamp(20px, 6vw, 86px);
  color: var(--cream);
  background:
    radial-gradient(circle at 88% 10%, rgba(185, 157, 39, 0.26), transparent 30%),
    linear-gradient(118deg, var(--juniper) 0%, #3f6a44 100%);
}

.contact h2 {
  max-width: 720px;
  color: var(--cream);
  font-size: clamp(2.5rem, 5.2vw, 5.4rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 24px 0 0;
  color: rgba(255, 253, 244, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.contact-details a {
  display: grid;
  gap: 6px;
  max-width: 420px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 244, 0.24);
  color: var(--cream);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.contact-details span {
  color: #d9c565;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 253, 244, 0.95);
  color: var(--juniper);
  box-shadow: 0 22px 58px rgba(9, 22, 12, 0.22);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 56, 38, 0.22);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: 0;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(168, 142, 36, 0.16);
}

.contact-form .button {
  justify-self: start;
  color: var(--cream);
  background: var(--juniper);
  border-color: var(--juniper);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 0.8fr) minmax(240px, 0.9fr);
  gap: 28px;
  padding: 36px clamp(20px, 6vw, 86px) 26px;
  color: var(--juniper);
  background: #fff;
  border-top: 1px solid rgba(32, 56, 38, 0.12);
}

.footer-brand,
.footer-contact,
.footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.footer-brand span,
.footer-contact a,
.copyright {
  color: rgba(23, 37, 27, 0.72);
}

.footer-nav {
  justify-content: start;
  width: auto;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.footer-nav a::after {
  display: none;
}

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.5;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(32, 56, 38, 0.12);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: 88vh;
  }

  .section-heading,
  .service-strip,
  .about,
  .contact,
  .proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .about p:last-child,
  .proof-copy {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .floating-header {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 14px;
    transition: padding 180ms ease, box-shadow 180ms ease;
  }

  .brand {
    justify-self: start;
    width: clamp(118px, 34vw, 155px);
    min-width: 118px;
  }

  .brand span {
    color: var(--juniper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
  }

  .site-header.is-compact {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 12px 32px rgba(18, 35, 23, 0.1);
  }

  .site-header.is-compact .brand {
    width: auto;
    min-width: 0;
  }

  .site-header.is-compact .brand img {
    display: none;
  }

  .site-header.is-compact .brand span {
    display: block;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
    margin-left: auto;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px clamp(20px, 5vw, 72px) 18px;
    font-size: 0.76rem;
    background: #fff;
    border-bottom: 1px solid rgba(32, 56, 38, 0.12);
    box-shadow: 0 18px 36px rgba(18, 35, 23, 0.12);
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(32, 56, 38, 0.1);
  }

  nav a::after {
    left: 0;
    bottom: 8px;
    transform: scaleX(0);
  }

  nav a:hover::after,
  nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .hero {
    min-height: 86vh;
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 190px;
  }

  .section-heading,
  .service-strip,
  .about,
  .contact,
  .proof,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .service-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(32, 56, 38, 0.16);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-column: auto;
  }

}
