:root {
  --bg: #f7f2ea;
  --surface: #fffaf2;
  --ink: #20201d;
  --muted: #68645d;
  --line: #ded4c5;
  --accent: #0f766e;
  --accent-dark: #104f4b;
  --sun: #e7a83b;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(44, 35, 23, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(32, 32, 29, 0.08);
  background: rgba(247, 242, 234, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover,
.mobile-menu a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.section {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary {
  background: var(--ink);
  color: white;
}

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

.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.metric {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-weight: 700;
}

.intro {
  padding-top: 0;
}

.intro p {
  max-width: 840px;
  color: var(--muted);
  font-size: 1.35rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-media {
  min-height: 220px;
  border-bottom: 1px solid var(--line);
  background-size: cover;
}

.media-one {
  background:
    linear-gradient(140deg, rgba(15, 118, 110, 0.94), rgba(16, 79, 75, 0.78)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80");
}

.media-two {
  background:
    linear-gradient(140deg, rgba(32, 32, 29, 0.58), rgba(231, 168, 59, 0.38)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=900&q=80");
}

.media-three {
  background:
    linear-gradient(140deg, rgba(16, 79, 75, 0.4), rgba(32, 32, 29, 0.62)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80");
}

.project-content {
  padding: 22px;
}

.project-content p:last-child,
.service-list p,
.about-copy p,
.contact p {
  color: var(--muted);
}

.tag {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-list article {
  min-height: 260px;
  padding: 24px;
  background: var(--surface);
}

.service-list span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--sun);
  font-weight: 800;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.about-copy,
.contact-card {
  font-size: 1.08rem;
}

.contact {
  align-items: center;
  padding-bottom: 110px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.contact-card a:last-child {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

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

  .menu-button {
    display: inline-block;
  }

  .mobile-menu {
    position: fixed;
    inset: 72px 0 auto;
    z-index: 9;
    display: none;
    padding: 14px 6vw 22px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 12px;
  }

  .mobile-menu a {
    padding: 10px 0;
    color: var(--muted);
    font-weight: 800;
  }

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

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

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

@media (max-width: 620px) {
  .section {
    width: min(100% - 32px, 1120px);
    padding: 64px 0;
  }

  .site-header,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 3rem;
  }

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

  .service-list article {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
