:root {
  --bg: #f4f1ec;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #231f22;
  --muted: #716b6f;
  --line: rgba(35, 31, 34, 0.14);
  --line-strong: rgba(35, 31, 34, 0.28);
  --accent: #231f22;
  --accent-soft: #e7e1dc;
  --signal: #d84a37;
  --ink: #f4f1ec;
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-width: 320px;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 241, 236, 0.2), #f4f1ec 78%),
    radial-gradient(circle at 18% 18%, rgba(35, 31, 34, 0.07), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(216, 74, 55, 0.08), transparent 26%);
  z-index: -1;
}

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

.scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: #f4f1ec;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.nav-links,
.nav-cta {
  border: 1px solid var(--line);
  background: rgba(244, 241, 236, 0.76);
  box-shadow: 0 18px 50px rgba(35, 31, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: clamp(148px, 14vw, 206px);
  height: auto;
}

.hero-logo {
  display: block;
  width: min(860px, 100%);
  height: auto;
  max-width: 100%;
  margin-bottom: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover {
  background: rgba(35, 31, 34, 0.06);
  color: var(--text);
}

.nav-cta {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}

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

.hero {
  min-height: calc(100svh - 78px);
  position: relative;
  display: flex;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 6.1rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 660px;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.section,
.band,
.contact {
  padding: 112px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading p,
.split p,
.contact p {
  max-width: 680px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

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

.card {
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  margin-bottom: 48px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 900;
}

.band {
  margin: 0 calc(50% - 50vw);
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(90deg, rgba(35, 31, 34, 0.05), rgba(216, 74, 55, 0.08));
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline div {
  min-height: 250px;
  padding: 24px;
  background: rgba(244, 241, 236, 0.86);
}

.timeline span {
  display: block;
  margin-bottom: 42px;
  color: var(--signal);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 58px;
  align-items: start;
}

.scope-list {
  display: grid;
  gap: 12px;
}

.scope-list div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-left: 3px solid var(--text);
  background: rgba(255, 255, 255, 0.58);
}

.scope-list span {
  color: var(--muted);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 780px;
}

.contact-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.contact-actions span {
  color: var(--muted);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 960px) {
  .site-header {
    align-items: stretch;
  }

  .nav-links {
    display: none;
  }

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

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

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

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

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

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  main,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.2rem);
  }

  .hero {
    gap: 34px;
    padding-bottom: 48px;
  }


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

  .service-grid,
  .timeline,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .band,
  .contact {
    padding-block: 76px;
  }

  .card,
  .timeline div {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }

  .contact-actions {
    width: 100%;
    justify-items: stretch;
  }
}
