:root {
  --ink: #07151c;
  --ink-2: #0e2430;
  --teal: #1f8a7a;
  --teal-bright: #2bb59f;
  --paper: #f3efe6;
  --paper-2: #fffdf8;
  --line: rgba(7, 21, 28, 0.12);
  --muted: #5b6b72;
  --white: #fff;
  --shadow: 0 24px 60px rgba(7, 21, 28, 0.12);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.topbar {
  background: var(--ink);
  color: #d7e4e1;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--teal-bright); }

header.site {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.logo img { height: 46px; width: auto; }
nav.desk { display: flex; gap: 22px; align-items: center; font-weight: 600; }
nav.desk a { opacity: 0.72; }
nav.desk a:hover, nav.desk a.active { opacity: 1; color: var(--teal); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn:hover { transform: translateY(-1px); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(43, 181, 159, 0.22), transparent 50%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 62%, #16363d 100%);
  color: var(--white);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--teal-bright);
  font-weight: 700;
  margin: 0 0 14px;
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
  font-weight: 560;
  margin: 0 0 14px;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.lede { font-size: 1.12rem; max-width: 38rem; color: #d5e3e0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-frame {
  background: #d9f3ee;
  border-radius: 28px 8px 28px 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-frame img { border-radius: 16px; width: 100%; height: 420px; object-fit: cover; }

.section { padding: 80px 0; }
.section.alt { background: var(--paper-2); }
.intro-grid, .cards, .stats, .brand-grid, .project-grid, .two-col {
  display: grid;
  gap: 22px;
}
.intro-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.muted { color: var(--muted); }
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
}
.card h3 { font-size: 1.35rem; }
.stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}
.stat {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}
.stat strong { display: block; font-size: 2.4rem; font-family: "Fraunces", serif; color: var(--teal-bright); }

.brand-grid { grid-template-columns: repeat(3, 1fr); }
.brand {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.brand img { height: 36px; width: auto; margin-bottom: 14px; object-fit: contain; }

.project-grid { grid-template-columns: repeat(3, 1fr); }
.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
}
.project img { width: 100%; height: 280px; object-fit: cover; }
.project figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(7,21,28,.85));
  color: #fff;
  font-weight: 700;
}

.quotes { grid-template-columns: 1fr 1fr 1fr; display: grid; gap: 18px; }
.quote {
  background: #fff;
  border-left: 4px solid var(--teal);
  padding: 20px 22px;
  border-radius: 0 16px 16px 0;
}
.quote cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; font-size: 0.9rem; }

.cta-band {
  background: var(--teal);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

form.stack { display: grid; gap: 14px; max-width: 640px; }
label { font-weight: 700; font-size: 0.88rem; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }

footer.site {
  background: var(--ink);
  color: #c9d6d3;
  padding: 48px 0 28px;
  margin-top: 20px;
}
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer.site a:hover { color: var(--teal-bright); }
.legal { opacity: 0.6; font-size: 0.82rem; margin-top: 28px; }

.page-hero { padding: 56px 0 20px; }
.two-col { grid-template-columns: 1.1fr 0.9fr; align-items: start; }

@media (max-width: 860px) {
  nav.desk, .btn-nav { display: none; }
  nav.desk.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 78px 20px auto;
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .menu-toggle { display: block; }
  .hero .wrap, .intro-grid, .cards, .stats, .brand-grid, .project-grid, .quotes, footer.site .wrap, .two-col {
    grid-template-columns: 1fr;
  }
  .hero-frame img { height: 260px; }
}
