:root {
  --ink: #1c252b;
  --muted: #59656e;
  --paper: #fbfcfb;
  --surface: #eef3f1;
  --surface-strong: #dbe8e3;
  --line: #d7dedb;
  --green: #2c6e5b;
  --green-dark: #1e4d42;
  --blue: #365c7d;
  --gold: #c2873f;
  --coral: #b35b51;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 37, 43, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 252, 251, 0.9);
  border-bottom: 1px solid rgba(215, 222, 219, 0.75);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 740;
  letter-spacing: 0;
}

.brand span {
  white-space: nowrap;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 620;
}

.site-menu a {
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.site-menu a:hover,
.site-menu a:focus {
  color: var(--green-dark);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(78svh - 72px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 0.7rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 10vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lead {
  max-width: 600px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(44, 110, 91, 0.22);
}

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

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus {
  border-color: var(--green);
  color: var(--green-dark);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2.4rem 0 0;
}

.metrics div {
  min-width: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.metrics dt {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 780;
  line-height: 1;
}

.metrics dd {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 12% 5% 4% 0;
  background: linear-gradient(135deg, rgba(44, 110, 91, 0.18), rgba(194, 135, 63, 0.16));
  border-radius: 8px;
  transform: rotate(-2deg);
}

.hero-media img {
  position: relative;
  width: 100%;
  filter: drop-shadow(var(--shadow));
}

.section {
  padding: clamp(3.8rem, 8vw, 6.5rem) 0;
}

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

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.case-card,
.notes-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.case-card {
  padding: 1.35rem;
}

.case-card p:not(.tag),
.service-list p,
.notes-list p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.service-list article {
  min-width: 0;
  padding-top: 1.15rem;
  border-top: 3px solid var(--surface-strong);
}

.service-list article:nth-child(2) {
  border-top-color: var(--blue);
}

.service-list article:nth-child(3) {
  border-top-color: var(--gold);
}

.service-list article:nth-child(4) {
  border-top-color: var(--coral);
}

.text-link {
  justify-self: end;
  color: var(--green-dark);
  font-weight: 740;
  border-bottom: 2px solid rgba(194, 135, 63, 0.7);
}

.text-link:hover,
.text-link:focus {
  color: var(--ink);
}

.notes-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.notes-list article {
  padding: 1.35rem;
}

.notes-list time {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 720;
}

.contact-section {
  background: linear-gradient(180deg, var(--paper), #f5f8f7);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 0.72rem;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.contact-points li {
  position: relative;
  padding-left: 1.5rem;
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 50%;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fcfdfc;
  color: var(--ink);
  padding: 0.78rem 0.85rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(44, 110, 91, 0.16);
  border-color: var(--green);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 720;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 0.9rem;
    border-bottom: 0;
    border-radius: 6px;
  }

  .site-menu a:hover,
  .site-menu a:focus {
    background: var(--surface);
  }

  .hero,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-media {
    max-width: 640px;
  }

  .card-grid,
  .notes-list {
    grid-template-columns: 1fr;
  }

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

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .section-inner,
  .hero {
    width: min(100% - 24px, 1120px);
  }

  .brand span {
    white-space: normal;
  }

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

  .button {
    width: 100%;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
