:root {
  --background: #f5f3ee;
  --surface: #ffffff;
  --text: #17211f;
  --muted: #596560;
  --accent: #116466;
  --accent-dark: #0a4648;
  --border: #d8ddd9;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--text);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

main {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: 72vh;
  padding: 110px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  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: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.intro {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  background: var(--accent);
  color: #ffffff;
}

.primary:hover,
.primary:focus-visible {
  background: var(--accent-dark);
}

.secondary {
  color: var(--accent);
}

.secondary:hover,
.secondary:focus-visible {
  background: var(--surface);
}

.content-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.work-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.cards {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 265px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.card-number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.card p:last-child {
  color: var(--muted);
}

footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 75px 0;
  }

  .work-section {
    padding: 75px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}