:root {
  --bg: #f4f4f2;
  --ink: #0a0a0a;
  --muted: #8a8a8a;
  --line: #dcdcd8;
  --radius: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

h1, h2 { font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; }
h1 { font-size: clamp(48px, 8vw, 104px); max-width: 12ch; }
h2 { font-size: clamp(36px, 5.4vw, 68px); max-width: 20ch; }

/* ---------- Header ---------- */
.top { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; }
.brand { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.top__link { color: var(--ink); font-size: 15px; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 12vw, 140px) 0 clamp(72px, 10vw, 120px); }
.eyebrow { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.lead { color: var(--muted); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; max-width: 30ch; margin: 32px 0 40px; letter-spacing: -0.01em; }

.button {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg);
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1;
  padding: 18px 28px; border-radius: var(--radius);
  text-decoration: none;
}
.button:hover { opacity: 0.85; }

/* ---------- Steps ---------- */
.steps h2 { max-width: none; }
.steps { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.steps__grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 88px) clamp(32px, 6vw, 96px);
  margin-top: clamp(56px, 8vw, 96px);
}
.step { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 40px); }
.step__num {
  font-size: clamp(110px, 13vw, 168px); font-weight: 400;
  line-height: 0.72; letter-spacing: -0.06em;
  min-width: 0.62em;
}
.step h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 18px; line-height: 1.4; }

/* ---------- Services ---------- */
.services { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px);
}
.service h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 18px; line-height: 1.45; }

/* ---------- About ---------- */
.about { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.about p { color: var(--muted); font-size: clamp(19px, 2vw, 24px); line-height: 1.4; max-width: 40ch; margin-top: 24px; letter-spacing: -0.01em; }
.about p:first-of-type { margin-top: 28px; }
.about p.about__small { font-size: 17px; max-width: 52ch; margin-top: 32px; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px);
  padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line);
}
.contact h2 { font-size: clamp(32px, 4.4vw, 56px); }
.contact__intro p { color: var(--muted); font-size: 18px; line-height: 1.45; max-width: 38ch; margin-top: 24px; }
.contact__ways { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pill {
  display: inline-block; padding: 14px 20px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.pill:hover { background: var(--ink); color: var(--bg); }
.contact__form { display: grid; gap: 12px; align-content: start; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; width: 100%;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact__form .button { width: 100%; margin-top: 4px; }
.contact__status { color: var(--muted); min-height: 1.2em; }

/* ---------- Footer ---------- */
.foot { color: var(--muted); font-size: 14px; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.foot__row { display: flex; justify-content: space-between; gap: 16px; }
.foot__legal { font-size: 12px; margin-top: 16px; max-width: 80ch; line-height: 1.5; }
.about a { color: var(--ink); text-underline-offset: 4px; }

@media (max-width: 760px) {
  .steps__grid, .services__grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}

/* ---------- Kite pattern ----------
   Soft harlequin diamonds (like kite fabric) across the top of the page,
   fading out into the plain background. Repeated at the very bottom. */
.kite-pattern {
  position: absolute; z-index: 0; pointer-events: none;
  top: 0; left: 0; right: 0; height: 380px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2264%22%20height%3D%2296%22%3E%3Cpath%20d%3D%22M32%200%20L64%2048%20L32%2096%20L0%2048%20Z%22%20fill%3D%22%23efeee8%22/%3E%3Cpath%20d%3D%22M0%200%20L32%200%20L0%2048%20Z%20M64%200%20L32%200%20L64%2048%20Z%20M0%2096%20L32%2096%20L0%2048%20Z%20M64%2096%20L32%2096%20L64%2048%20Z%22%20fill%3D%22%23f6f5f1%22/%3E%3Cpath%20d%3D%22M32%200%20L64%2048%20L32%2096%20L0%2048%20Z%22%20fill%3D%22none%22%20stroke%3D%22%23e2e1da%22%20stroke-width%3D%22.8%22/%3E%3C/svg%3E");
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
/* Same pattern along the very bottom of the page, fading upwards. */
.kite-pattern--bottom {
  top: auto; bottom: 0;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}
body { position: relative; } /* lets the bottom pattern sit at the very end of the page */

/* Page content sits above the background pattern. */
.top, main, .foot { position: relative; z-index: 1; }
