:root {
  --ink: #102323;
  --muted: #5e6a66;
  --paper: #fbfaf7;
  --line: #d9d3c8;
  --accent: #0f3f3a;
  --accent-2: #17324d;
  --soft: #ede8df;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 35, 35, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(15, 63, 58, 0.08), transparent 36rem),
    var(--paper);
  line-height: 1.55;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
}

.mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.brand-text {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 72px auto 40px;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.button.secondary {
  background: transparent;
}

.hero-card {
  justify-self: end;
  width: 100%;
  min-height: 420px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(237, 232, 223, 0.72)),
    var(--soft);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(15, 63, 58, 0.18);
  border-radius: 26px;
  pointer-events: none;
}

.card-label {
  margin: 0 0 96px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.45rem;
  line-height: 1.15;
}

.hero-card li {
  padding-top: 18px;
  border-top: 1px solid rgba(16, 35, 35, 0.16);
}

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

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
}

.number {
  display: inline-block;
  margin-bottom: 64px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h3 {
  margin: 0 0 16px;
  font-size: 1.56rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.service-card p,
.prose p,
.contact p,
.credential-list p {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.service-card p + p,
.prose p + p,
.credential-list p + p {
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
}

.prose {
  max-width: 620px;
  font-size: 1.06rem;
}

.credentials {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.quote {
  padding: 48px;
  border-radius: 34px;
  background: var(--ink);
  color: var(--paper);
}

.quote p {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.credential-list {
  display: grid;
  gap: 24px;
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact h2 {
  margin-bottom: 22px;
}

.email-link {
  display: inline-flex;
  width: fit-content;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  border-bottom: 2px solid var(--accent);
}

.email-link:hover {
  color: var(--accent);
}

.small-note {
  font-size: 0.9rem;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .section-heading,
  .split,
  .credentials {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 42px;
    min-height: auto;
  }

  .hero-card {
    justify-self: stretch;
    min-height: 340px;
  }

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

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

  .number {
    margin-bottom: 42px;
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    margin-top: 28px;
    gap: 32px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .quote {
    padding: 30px;
  }

  .footer {
    flex-direction: column;
  }
}
