:root {
  --ink: #10201b;
  --forest: #1b3a2f;
  --forest-deep: #0d1f19;
  --sage: #4f7a68;
  --brass: #c4a574;
  --paper: #f3f6f4;
  --mist: #d9e3de;
  --white: #ffffff;
  --text: #1a2a24;
  --muted: #5a6f66;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Figtree, system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--forest);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 0.4rem;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--forest) 12%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.brand img {
  border-radius: 0.55rem;
}

.nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 165, 116, 0.22), transparent 55%),
    linear-gradient(160deg, #16362c 0%, #0d1f19 48%, #1a4336 100%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 31, 25, 0.15) 0%, rgba(13, 31, 25, 0.55) 55%, rgba(13, 31, 25, 0.92) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-ridge {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(105deg, transparent 0%, transparent 35%, rgba(79, 122, 104, 0.25) 35%, rgba(79, 122, 104, 0.25) 36%, transparent 36%),
    linear-gradient(180deg, transparent, rgba(8, 18, 14, 0.65));
  clip-path: polygon(0 48%, 18% 34%, 34% 52%, 52% 28%, 71% 46%, 86% 22%, 100% 38%, 100% 100%, 0 100%);
  animation: ridge-drift 18s var(--ease) infinite alternate;
}

@keyframes ridge-drift {
  from {
    transform: translateX(-1.5%) scale(1.02);
  }
  to {
    transform: translateX(1.5%) scale(1.04);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6rem);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  font-family: Syne, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-lockup img {
  border-radius: 0.7rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.lede {
  margin: 0 0 2rem;
  max-width: 38ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: color-mix(in srgb, var(--white) 82%, var(--mist));
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--brass);
  color: var(--forest-deep);
}

.btn-primary:hover {
  background: #d2b68a;
}

.btn-ghost {
  border: 1px solid color-mix(in srgb, var(--white) 35%, transparent);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: color-mix(in srgb, var(--white) 8%, transparent);
}

.section {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-label {
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: Syne, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--forest);
  max-width: 16ch;
}

.section p {
  margin: 0 0 1.1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro {
  margin-bottom: 2.5rem !important;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.75rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--mist);
}

.facts dt {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.facts dd {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.services {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mist) 45%, transparent) 12%, transparent 88%);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.service-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--mist);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--mist);
}

.service-list h3 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.service-list p {
  margin: 0;
}

.contact {
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

.contact-single {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mist);
}

.contact-single h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.contact-single a {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.4;
}

.contact-single a:hover {
  color: var(--sage);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
  background: var(--forest-deep);
  color: color-mix(in srgb, var(--white) 78%, transparent);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  border-radius: 0.45rem;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: Syne, sans-serif;
  letter-spacing: -0.02em;
}

.footer-brand span,
.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

.hero-content[data-animate] {
  transition-delay: 0.08s;
}

@media (max-width: 760px) {
  .nav a:nth-child(2) {
    display: none;
  }

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

  .service-list li {
    gap: 0.55rem;
    padding: 1.4rem 0;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-ridge,
  [data-animate] {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
