:root {
  --ink: #18211b;
  --muted: #7c867d;
  --paper: #f5f6f2;
  --card: #ffffff;
  --leaf: #3f7d4a;
  --leaf-deep: #173d2b;
  --moss: #b7c879;
  --sun: #f2c35b;
  --line: rgba(24, 33, 27, 0.1);
  --shadow: 0 22px 55px rgba(31, 45, 35, 0.16);
  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;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(183, 200, 121, 0.28), transparent 24rem),
    linear-gradient(180deg, #eef0ec 0%, var(--paper) 38%, #e8ebe5 100%);
}

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

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

.page-shell {
  width: min(1150px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 40px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 0 auto -68px;
  width: min(1080px, calc(100% - 32px));
  padding: 12px 16px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.44);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand {
  padding-left: 2px;
  font-size: 16px;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.nav-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24);
}

.nav-pills a,
.nav-contact {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 17px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-pills a:hover {
  background: rgba(0, 0, 0, 0.42);
  transform: translateY(-1px);
}

.nav-contact {
  justify-self: end;
  color: var(--leaf-deep);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  text-shadow: none;
}

.nav-contact:hover {
  color: #fff;
  background: var(--leaf);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: 18px;
  background: #132118;
  box-shadow: var(--shadow);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 18, 13, 0.52), rgba(9, 18, 13, 0.12) 45%, rgba(9, 18, 13, 0.7)),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.25), transparent 36rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 92%);
  margin: 0 auto;
  padding-top: 190px;
  text-align: center;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--moss);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  width: min(650px, 100%);
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
  color: var(--leaf-deep);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.button-primary:hover {
  color: #fff;
  background: var(--leaf);
}

.intro-section,
.split-section,
.quality-section,
.contact-section {
  padding: 92px 92px 0;
}

.quality-section {
  position: relative;
  isolation: isolate;
}

.quality-section::before {
  content: "";
  position: absolute;
  inset: 48px 92px auto;
  z-index: -1;
  height: 420px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(245, 246, 242, 0.95), rgba(245, 246, 242, 0.84)),
    url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1600&q=80") center / cover;
  box-shadow: 0 24px 58px rgba(27, 39, 30, 0.12);
}

.quality-section .section-kicker,
.quality-section h2,
.quality-section .section-heading > p {
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.68);
}

.intro-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 68px;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-section > p,
.section-heading > p,
.contact-section p,
.service-list p,
.focus-card p {
  color: var(--muted);
  line-height: 1.8;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: 230px;
  gap: 22px;
  padding: 52px 92px 0;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 20px 38px rgba(25, 36, 28, 0.14);
}

.photo-card-large {
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.66));
}

.photo-card div {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
}

.photo-card span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.photo-card strong {
  font-size: 20px;
}

.photo-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1fr);
  gap: 58px;
  align-items: stretch;
}

.framed-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 520px;
  max-height: 640px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.framed-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.work-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.service-list article,
.focus-card,
.email-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(27, 39, 30, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-list article {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 12px;
}

.service-list article:hover,
.focus-card:hover,
.email-card:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 125, 74, 0.36);
  box-shadow: 0 22px 46px rgba(27, 39, 30, 0.14);
}

.icon {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--leaf-deep);
  background: #eef4e7;
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.service-list p,
.focus-card p {
  margin: 0;
  font-size: 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: center;
  padding: 42px 48px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
    url("https://images.unsplash.com/photo-1523348837708-15d4a09cfac2?auto=format&fit=crop&w=1500&q=82") center / cover;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(27, 39, 30, 0.07);
}

.section-heading h2 {
  max-width: 520px;
  font-size: clamp(38px, 4.6vw, 60px);
}

.section-heading > p:last-child {
  max-width: 410px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.focus-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 12px;
}

.focus-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf-deep);
  font-size: 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 76px;
}

.email-card {
  display: grid;
  gap: 12px;
  padding: 34px;
  border-radius: 14px;
}

.email-card span {
  color: var(--muted);
  font-weight: 800;
}

.email-card strong {
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  padding: 52px 92px 34px;
  border-radius: 0 0 18px 18px;
  color: rgba(255, 255, 255, 0.74);
  background: #151712;
}

.footer-brand {
  color: #fff;
}

.site-footer p {
  max-width: 460px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 12px 26px;
}

.footer-links a {
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.copyright {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 12px 0 0;
  font-size: 13px;
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100% - 22px, 760px);
    padding-top: 18px;
  }

  .site-header {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: -144px;
  }

  .nav-contact {
    justify-self: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 240px;
  }

  .intro-section,
  .split-section,
  .quality-section,
  .contact-section,
  .image-grid,
  .site-footer,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .split-section,
  .quality-section,
  .contact-section {
    padding-inline: 28px;
  }

  .quality-section::before {
    inset: 42px 28px auto;
    height: 500px;
  }

  .image-grid {
    padding-inline: 28px;
    grid-auto-rows: 250px;
  }

  .photo-card-large {
    grid-row: span 1;
  }

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

  .site-footer {
    padding-inline: 28px;
  }
}

@media (max-width: 620px) {
  .nav-pills {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .split-section {
    gap: 34px;
  }

  .framed-image,
  .framed-image img {
    min-height: 430px;
  }
}
