:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5b6662;
  --paper: #f7f4ec;
  --panel: #ffffff;
  --line: #d8d2c5;
  --green: #0f5f55;
  --green-dark: #0f3632;
  --gold: #c77f23;
  --rose: #a3483a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(23, 33, 31, 0.12);
  background: rgba(247, 244, 236, 0.92);
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(12px);
}

.brand,
nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
}

nav {
  gap: 0.25rem;
}

nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 0.8rem;
}

nav a:hover {
  background: rgba(15, 95, 85, 0.08);
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  min-height: calc(100vh - 68px);
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem) 2.5rem;
}

.hero-copy {
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 1.5rem;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
  max-width: 860px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.hero-copy > p:not(.eyebrow),
.contact p,
.service-list p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 630px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  min-height: 46px;
  padding: 0 1rem;
}

.button.primary {
  background: var(--green-dark);
  color: #fff;
}

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

.button.secondary {
  background: transparent;
  border-color: rgba(23, 33, 31, 0.22);
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.55);
}

.signal-visual {
  align-self: end;
  display: grid;
  gap: 1rem;
  min-height: 280px;
  position: relative;
}

.signal-visual::before {
  background:
    radial-gradient(circle at 15% 22%, rgba(199, 127, 35, 0.28), transparent 18rem),
    linear-gradient(135deg, rgba(15, 95, 85, 0.14), rgba(163, 72, 58, 0.12));
  content: "";
  inset: 0;
  position: absolute;
  transform: skewY(-4deg);
}

.signal-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(3.5rem, 1fr));
  position: relative;
  z-index: 1;
}

.signal-grid span {
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, rgba(15, 95, 85, 0.18), rgba(199, 127, 35, 0.18));
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
}

.signal-grid span:nth-child(2),
.signal-grid span:nth-child(7),
.signal-grid span:nth-child(11) {
  background: var(--green-dark);
}

.signal-grid span:nth-child(5),
.signal-grid span:nth-child(12) {
  background: var(--gold);
}

.signal-panel {
  align-self: start;
  background: var(--green-dark);
  border-radius: 8px;
  color: #fff;
  justify-self: end;
  max-width: 320px;
  padding: 1.2rem;
  position: relative;
  z-index: 2;
}

.signal-panel p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.signal-panel small {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.services,
.contact {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 5rem);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.service-list p {
  margin-bottom: 0;
}

.contact {
  align-items: center;
  background: #ece7dc;
}

.contact h2 {
  margin-bottom: 1rem;
}

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

footer {
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
}

footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  }

  .services {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  }

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

  .contact {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

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

  .brand span {
    font-size: 0.95rem;
  }

  nav a {
    padding-left: 0;
  }

  .hero {
    min-height: auto;
  }

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