:root {
  color-scheme: light;
  --bg: #eef0ec;
  --surface: #ffffff;
  --surface-soft: #f8f8f5;
  --ink: #101312;
  --muted: #606761;
  --line: #d2d7d0;
  --dark: #111312;
  --accent: #147a4d;
  --accent-dark: #0d5937;
  --shadow: 0 22px 60px rgba(16, 19, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7f8f5 0, var(--bg) 420px),
    var(--bg);
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 14px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 19, 18, 0.97);
  color: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #ffffff;
  color: var(--dark);
  font-weight: 900;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 22px;
  line-height: 1.1;
}

.brand-text small {
  color: #cfd3cf;
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #e7e9e6;
  font-size: 15px;
  font-weight: 700;
}

nav a:hover {
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 900;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.secondary {
  border-color: var(--ink);
  background: transparent;
}

.btn.secondary:hover {
  background: var(--ink);
  color: #ffffff;
}

.badges {
  margin-top: 30px;
}

.badges span {
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #28302b;
  font-size: 14px;
  font-weight: 800;
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eceeea;
  object-fit: cover;
  object-position: center;
}

.hero-card-caption {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.hero-card-caption strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.hero-card-caption p {
  margin: 8px 0 0;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 76px);
  border: 1px solid var(--line);
  background: var(--line);
}

.process article {
  padding: 26px;
  background: var(--surface);
}

.process span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.process h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.process p {
  margin-bottom: 0;
  color: var(--muted);
}

.services,
.work-showcase,
.contact {
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 76px);
}

.section-title {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-title h2,
.contact h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.section-title p:not(.eyebrow),
.contact p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-select {
  position: relative;
  width: min(100%, 760px);
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(16, 19, 18, 0.09);
}

.service-select summary {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 17px 58px 17px 20px;
  cursor: pointer;
  list-style: none;
}

.service-select summary::-webkit-details-marker {
  display: none;
}

.service-select summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.service-select[open] summary::after,
.service-select:hover summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.service-select summary span {
  font-size: 22px;
  font-weight: 900;
}

.service-select summary small {
  color: var(--muted);
  font-size: 14px;
}

.service-options {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -1px;
  z-index: 5;
  width: calc(100% + 2px);
  max-height: 460px;
  overflow: auto;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 52px rgba(16, 19, 18, 0.18);
}

.service-select[open] .service-options,
.service-select:hover .service-options,
.service-select:focus-within .service-options {
  display: grid;
}

.service-options article {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.service-options article:last-child {
  border-bottom: 0;
}

.service-options article:hover {
  background: #eef5ef;
}

.service-options h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.service-options p {
  margin-bottom: 0;
  color: var(--muted);
}

.work-showcase {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.photo-row {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 16px;
}

.photo-row img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: #e7e8e4;
  object-fit: cover;
}

.photo-row img:nth-child(2) {
  margin-top: 34px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: #dfe2dc;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-panel a {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--surface);
}

.contact-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.contact-panel a:last-child {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.contact-panel a:last-child span {
  color: rgba(255, 255, 255, 0.78);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 76px);
  background: var(--dark);
  color: #dcdedb;
  font-size: 14px;
}

footer p {
  margin: 0;
}

footer a {
  font-weight: 900;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

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

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

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .btn {
    width: 100%;
  }

  .badges span {
    width: 100%;
  }

  .process,
  .photo-row {
    grid-template-columns: 1fr;
  }

  .service-select {
    width: 100%;
  }

  .service-options {
    position: static;
    width: 100%;
    max-height: none;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    box-shadow: none;
  }

  .photo-row img:nth-child(2) {
    margin-top: 0;
  }

  footer {
    flex-direction: column;
  }
}
