:root {
  --bg: #f2f4f3;
  --surface: #ffffff;
  --ink: #0f1b1a;
  --muted: #5f6b69;
  --line: #d7dfdc;
  --brand: #0d6b63;
  --brand-dark: #0a4e48;
  --accent: #d9a441;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(15, 27, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Segoe UI, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 420px at 100% -20%, #dbeee9, transparent 60%),
    linear-gradient(180deg, #f8f9f9 0%, var(--bg) 100%);
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 249, 249, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.site-nav {
  display: inline-flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--brand-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px 12px;
  font-weight: 700;
}

.hero {
  padding: 72px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
}

h3 {
  font-size: 1.1rem;
}

.lead {
  color: var(--muted);
  max-width: 68ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
}

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

.hero-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 54px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

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

.gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.project h3,
.project p {
  padding-inline: 14px;
}

.project p {
  color: var(--muted);
  margin-bottom: 16px;
}

.project-cover {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.project-cover-a {
  background:
    linear-gradient(130deg, rgba(10, 78, 72, 0.65), rgba(10, 78, 72, 0.15)),
    linear-gradient(45deg, #8ec5b6, #f4e0ba);
}

.project-cover-b {
  background:
    linear-gradient(130deg, rgba(18, 33, 61, 0.5), rgba(18, 33, 61, 0.12)),
    linear-gradient(45deg, #a4b4d4, #e8ecef);
}

.project-cover-c {
  background:
    linear-gradient(130deg, rgba(151, 84, 19, 0.4), rgba(151, 84, 19, 0.1)),
    linear-gradient(45deg, #ecc583, #f0f2f4);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}

.form-message {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--brand-dark);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 16px 0 28px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .cards,
  .gallery {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    right: 4vw;
    top: 64px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    min-width: 170px;
  }

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