:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5c6b63;
  --line: #dce4de;
  --paper: #f7faf7;
  --surface: #ffffff;
  --accent: #0d7c66;
  --accent-dark: #075747;
  --gold: #c58d2d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 32, 27, 0.08);
  background: rgba(247, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 0.88rem;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 9vw, 104px) clamp(20px, 5vw, 72px) clamp(34px, 6vw, 72px);
  background:
    linear-gradient(120deg, rgba(13, 124, 102, 0.14), rgba(197, 141, 45, 0.12)),
    radial-gradient(circle at 80% 20%, rgba(13, 124, 102, 0.12), transparent 28%),
    var(--paper);
}

.hero-content {
  max-width: 840px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 7vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div,
.service-grid article,
.work-list article,
.proof-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.06);
}

.hero-panel div {
  padding: 22px;
}

.hero-panel span,
.proof-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid,
.work-list,
.proof-grid {
  display: grid;
  gap: 16px;
}

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

.service-grid article,
.work-list article {
  padding: 24px;
}

.service-grid p,
.work-list p,
.contact p {
  color: var(--muted);
}

.proof {
  background: #10231f;
  color: #fff;
}

.proof .section-label {
  color: #8be0ce;
}

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

.proof-grid div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.74);
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(54px, 8vw, 94px) clamp(20px, 5vw, 72px);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 760px;
}

.contact p {
  max-width: 720px;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
