:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #5a6472;
  --line: #d8dee7;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --teal: #0f766e;
  --blue: #3456d1;
  --coral: #bb4d37;
  --shadow: 0 24px 70px rgba(16, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(52, 86, 209, 0) 420px),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.footer-links a {
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 42px auto 0;
  min-height: calc(100svh - 136px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
}

.hero,
.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-copy {
  width: 100%;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 720;
  white-space: normal;
}

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

.button.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-media {
  margin: 0;
  width: 100%;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1040 / 760;
  object-fit: cover;
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.project-card {
  min-height: 230px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(16, 24, 39, 0.06);
}

.project-card p,
.principles p {
  margin: 14px 0 0;
  color: var(--muted);
}

.project-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.principles {
  display: grid;
  gap: 28px;
}

.principles > div {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.principles > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 54px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #eef7f5;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
}

.contact-band h2 {
  max-width: 680px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.legal-page {
  width: min(820px, calc(100% - 40px));
  margin: 52px auto 92px;
}

.legal-page h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page a {
  color: var(--blue);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 18px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 18px;
  }

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

  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .contact-band,
  .site-footer,
  .legal-page {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 18px;
    row-gap: 8px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.25rem);
  }

  .hero-text {
    max-width: 31ch;
  }

  .hero-media img {
    object-fit: contain;
    background: #fbfcf8;
  }

  .hero-media {
    width: min(100%, 340px);
    margin-inline: auto;
  }

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

  .project-card {
    min-height: 190px;
  }

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

  .section {
    padding: 58px 0;
  }

  .contact-band {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0;
  }
}
