:root {
  color-scheme: light;
  --ink: #14202e;
  --text: #243243;
  --muted: #66758a;
  --line: #dbe3ec;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --amber: #b7791f;
  --shadow: 0 24px 60px rgba(20, 32, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(247, 249, 251, 0.88);
  border-bottom: 1px solid rgba(219, 227, 236, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--teal-dark);
}

.nav-contact {
  color: var(--teal-dark);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

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

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

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

h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.25;
}

.lede {
  max-width: 58ch;
  margin-bottom: 28px;
  color: #435267;
  font-size: 1.12rem;
}

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

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

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

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

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.intro,
.section,
.approach,
.contact-band {
  padding: clamp(52px, 8vw, 92px) clamp(18px, 5vw, 64px);
}

.intro {
  background: var(--ink);
  color: var(--white);
}

.intro p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1.7rem, 3.1vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-number {
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach p:last-child {
  max-width: 760px;
  margin: 0;
  color: #435267;
  font-size: 1.12rem;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.email-link {
  flex: 0 1 auto;
  padding: 16px 18px;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

footer a {
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .section-heading,
  .approach {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 24px;
  }

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

@media (max-width: 520px) {
  .brand span {
    white-space: normal;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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