:root {
  --ink: #151817;
  --muted: #5d6963;
  --paper: #fbfbf8;
  --soft: #edf2ed;
  --pine: #3f6457;
  --pine-dark: #29443c;
  --brick: #ad5d3e;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(12, 22, 18, 0.2);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 4vw;
  color: var(--ink);
  background: rgba(251, 251, 248, 0.96);
  border-bottom: 1px solid rgba(63, 100, 87, 0.16);
  backdrop-filter: blur(14px);
}

.brand,
.header-phone,
.primary-action,
.phone-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  flex: 0 0 auto;
  background: var(--pine);
  color: var(--white);
  font-size: 0.78rem;
  border-radius: 50%;
}

.header-phone {
  flex: 0 0 auto;
  padding-bottom: 0.18rem;
  color: var(--pine-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--pine);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100svh - 4.25rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) 4vw;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 52%, var(--soft) 52%, var(--soft) 100%);
}

.hero-content {
  width: min(100%, 43rem);
}

.hero-media {
  width: 100%;
  height: clamp(330px, 45vh, 430px);
  overflow: hidden;
  border: 1px solid rgba(63, 100, 87, 0.16);
  box-shadow: 0 18px 50px rgba(12, 22, 18, 0.12);
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(0.96) contrast(1.03);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--pine);
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 6.2vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.22rem;
  font-weight: 600;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.1rem;
  background: var(--pine);
  color: var(--white);
  font-weight: 800;
  border-radius: 6px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-2px);
  background: var(--brick);
  color: var(--white);
}

.intro {
  padding: 5.5rem 4vw;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(18rem, 1.25fr);
  gap: 4rem;
  width: min(100%, 68rem);
  margin: 0 auto;
}

.section-kicker {
  color: var(--pine);
}

h2 {
  margin-bottom: 0;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.12rem;
}

.intro-copy p {
  margin-bottom: 1.1rem;
}

.intro-copy p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

.contact {
  padding: 0 4vw 5.5rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--soft) 100%);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(63, 100, 87, 0.22);
  border-bottom: 1px solid rgba(63, 100, 87, 0.22);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.15rem;
  flex: 0 0 auto;
  background: var(--pine);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 6px;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.phone-link:hover,
.phone-link:focus-visible {
  transform: translateY(-2px);
  background: var(--brick);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 4vw;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.18em;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: settleImage 900ms ease-out both;
  }

  .hero-content > * {
    animation: riseIn 680ms ease-out both;
  }

  .hero-content > :nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-content > :nth-child(3) {
    animation-delay: 160ms;
  }

  .hero-content > :nth-child(4) {
    animation-delay: 230ms;
  }
}

@keyframes settleImage {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

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

@media (max-width: 760px) {
  .site-header {
    padding: 1rem 1.1rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
  }

  .header-phone {
    font-size: 0.92rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    padding: 3.5rem 1.1rem 4rem;
    background: var(--paper);
  }

  .hero-media {
    height: 260px;
  }

  h1 {
    max-width: 10ch;
    font-size: 3.1rem;
  }

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

  .intro,
  .contact {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .intro {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-link,
  .primary-action {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem 1.1rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}
