:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-alt: #ebe5da;
  --text: #1f262c;
  --muted: #5f6971;
  --line: #d6cec2;
  --accent: #647985;
  --accent-strong: #24313a;
  --accent-soft: #eef2f3;
  --shadow: 0 10px 30px rgba(21, 28, 34, 0.06);
  --shadow-soft: 0 4px 16px rgba(21, 28, 34, 0.04);
  --radius: 18px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 760px);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.border-top {
  border-top: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 206, 194, 0.92);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  padding-top: 5.5rem;
}

.hero-grid,
.split,
.footer-row,
.cta-strip {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
}

.split,
.footer-row,
.cta-strip {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.feature-split {
  align-items: start;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.7rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1rem;
}

.lead,
.section-lead {
  color: var(--muted);
  max-width: 62ch;
}

.lead {
  font-size: 1.12rem;
}

.section-lead {
  font-size: 1.02rem;
}

.eyebrow,
.meta,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points li {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.12rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

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

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

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: var(--surface);
}

.text-link {
  color: var(--accent-strong);
  font-weight: 600;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.card-grid,
.service-grid,
.steps-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.card,
.panel,
.service-card,
.step-card,
.preview-item {
  background: var(--surface);
  border: 1px solid rgba(214, 206, 194, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
}

.panel {
  box-shadow: var(--shadow);
}

.panel-stack {
  display: grid;
  gap: 1rem;
}

.panel-item h2 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.panel-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.work-preview-list {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.preview-item p:last-child,
.service-card p:last-child,
.step-card p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.cta-panel {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.58));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.tiny-note {
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-text,
.footer-links a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .footer-row,
  .cta-strip,
  .card-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(214, 206, 194, 0.7);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

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

  .cta-actions {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.8rem 0;
  }

  .hero {
    padding-top: 4.6rem;
  }

  h1 {
    max-width: 12ch;
  }
}
