:root {
  --ink: #0f3f3f;
  --bg: #ffffff;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #f7f9f7;
  --line: rgba(15, 63, 63, 0.16);
  --shadow: 0 24px 60px rgba(15, 63, 63, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 72px 0 48px;
}

.hero-inner {
  display: grid;
  gap: 42px;
}

.brand-image {
  width: min(720px, 100%);
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-copy {
  width: min(850px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(50px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 790px;
  margin-bottom: 30px;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.38;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.button,
.text-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.button {
  padding: 0 24px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 63, 63, 0.18);
}

.text-link {
  padding: 0 4px;
}

.section {
  padding: 68px 0;
}

.section-head {
  margin-bottom: 28px;
  display: grid;
  gap: 4px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

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

.project-card,
.capability-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.project-card {
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 63, 63, 0.12);
}

.project-card img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.domain {
  display: block;
  padding: 18px 4px 2px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.capability-card {
  padding: 24px;
}

.capability-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.12;
}

.capability-card p {
  margin-bottom: 0;
  color: rgba(15, 63, 63, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 26px;
  display: grid;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
}

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: rgba(15, 63, 63, 0.76);
}

@media (max-width: 900px) {
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 34px 0 38px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 70px);
  }

  .project-grid,
  .capability-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }

  .project-card,
  .capability-card,
  .contact-card {
    border-radius: 18px;
  }

  .contact-card {
    font-size: 19px;
  }

  footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .brand-image,
  .project-card img {
    border-radius: 14px;
  }

  .lead {
    font-size: 20px;
  }

  .hero-actions,
  .button,
  .text-link {
    width: 100%;
  }

  .project-card {
    padding: 12px;
  }

  .domain {
    font-size: 25px;
  }
}
