:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5e635f;
  --line: #d9ddd5;
  --paper: #faf9f4;
  --white: #ffffff;
  --olive: #53624a;
  --green: #193c34;
  --clay: #a7563b;
  --gold: #d9b45d;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
  --page: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(23, 23, 23, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 23, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px max(18px, calc((100vw - var(--page)) / 2));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 249, 244, 0.88);
  border-color: rgba(23, 23, 23, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  min-width: max-content;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
footer a {
  transition: color 160ms ease;
}

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

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid var(--ink);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

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

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

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

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  align-items: center;
  gap: 56px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 74px 18px 78px;
}

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

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: 5.2rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: 3.15rem;
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.hero-profile {
  display: grid;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.hero-profile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
}

.hero-profile p {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-name {
  color: var(--ink) !important;
  font-weight: 800;
}

.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: 78px 18px;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
}

.intro,
.split,
.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 62px;
  align-items: start;
}

.intro > p,
.text-stack p,
.cta p {
  color: var(--muted);
  font-size: 1.12rem;
}

.statement {
  position: relative;
}

.statement span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 7.4rem;
  font-weight: 900;
  line-height: 0.78;
}

.text-stack {
  display: grid;
  gap: 20px;
}

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

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

.service-grid article {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article:nth-child(2) {
  background: #f3f6ef;
}

.service-grid article:nth-child(3) {
  background: #fff7e4;
}

.service-grid article:nth-child(4) {
  background: #f8eeee;
}

.service-grid p,
.steps p {
  color: var(--muted);
}

.process {
  background: var(--green);
  color: var(--white);
}

.process .section-label,
.process .steps span {
  color: var(--gold);
}

.process .steps p {
  color: rgba(255, 255, 255, 0.74);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
}

.steps li {
  display: grid;
  align-content: start;
  gap: 34px;
  min-height: 270px;
  padding: 26px;
  background: var(--green);
}

.steps span {
  font-size: 0.85rem;
  font-weight: 900;
}

.cta {
  align-items: center;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel > a:not(.button) {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 28px 18px;
  color: var(--muted);
  border-top: 1px solid rgba(23, 23, 23, 0.1);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .intro,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .statement span {
    font-size: 5.8rem;
  }

  .hero-profile {
    max-width: 420px;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 42px;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-text,
  .intro > p,
  .text-stack p,
  .cta p {
    font-size: 1.05rem;
  }

  .statement span {
    font-size: 4.2rem;
  }

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

  .button,
  .header-action {
    width: 100%;
  }

  .hero-profile,
  .contact-panel {
    padding: 14px;
  }

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

  .service-grid article,
  .steps li {
    min-height: auto;
  }
}
