:root {
  --paper: #fbfaf6;
  --card: #ffffff;
  --mist: #e9efe6;
  --line: #d5ddd0;
  --green: #1f5b3f;
  --green-deep: #164530;
  --brown: #6b3f22;
  --ochre: #c9a25e;
  --ink: #2a1c14;
  --ink-soft: #4a3b30;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.band { background: var(--mist); }
.head { max-width: 720px; margin-bottom: 44px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.head h2 { font-size: clamp(32px, 4.4vw, 44px); }
.head .lede { margin-top: 12px; font-size: 18px; color: var(--ink-soft); }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(251 250 246 / .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 25px/1 var(--serif); }
.brand img { width: 36px; height: 36px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink-soft); font-weight: 500; text-decoration: none; transition: background-color .14s, color .14s; }
.nav a:hover { background: var(--mist); color: var(--green); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 68px 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav[data-open] { display: block; }
  .nav ul { flex-direction: column; padding: 8px 12px 16px; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 104px 0 96px; color: var(--paper); text-align: center;
  background: radial-gradient(60% 70% at 85% 0%, rgb(201 162 94 / .28), transparent 70%), radial-gradient(55% 60% at 0% 100%, rgb(107 63 34 / .55), transparent 70%), var(--green-deep); }
.hero h1 { font-size: clamp(60px, 10vw, 112px); letter-spacing: -.01em; }
.hero .tagline { margin-top: 14px; font-size: clamp(19px, 2.4vw, 24px); color: rgb(251 250 246 / .85); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; text-align: left; }
.pillar { padding: 28px 24px; border-radius: 18px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); }
.pillar h3 { font-size: 26px; color: #fff; }
.pillar h3 span { color: var(--ochre); }
.pillar p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: rgb(251 250 246 / .8); }
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hero { padding: 72px 0 64px; } .pillars { grid-template-columns: 1fr; margin-top: 44px; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about-grid .lead { font: 600 24px/1.4 var(--serif); }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; font-size: 17px; color: var(--ink-soft); }
.checks .icon { color: var(--green); margin-top: 2px; }
.about-grid .body { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Stats and clients */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.stat { padding: 28px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat dd { margin: 0; font: 600 clamp(36px, 4.4vw, 48px)/1.1 var(--serif); color: var(--green); }
.stat dt { margin-top: 6px; font-weight: 500; color: var(--ink-soft); }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; list-style: none; padding: 0; }
.clients li { display: flex; align-items: center; justify-content: center; padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.clients img { max-height: 56px; width: auto; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .clients { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 30px 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.service .chip { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--green); }
.service:nth-child(even) .chip { background: #f2e8dc; color: var(--brown); }
.service h3 { margin-top: 20px; font-size: 23px; }
.service p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { overflow: hidden; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 20%; }
.member .info { padding: 24px 24px 28px; }
.member h3 { font-size: 24px; }
.member .role { margin-top: 4px; font-weight: 600; color: var(--green); }
.member .bio { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { padding: 34px 30px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.plan h3 { font-size: 24px; }
.price { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price strong { font: 600 46px/1 var(--serif); }
.price span { font-weight: 500; color: var(--ink-soft); }
.plan ul { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li .icon { width: 18px; height: 18px; color: var(--green); }
.plan.featured { background: var(--green); border-color: var(--green); color: #fff; }
.plan.featured .price span { color: rgb(255 255 255 / .8); }
.plan.featured ul { border-color: rgb(255 255 255 / .22); }
.plan.featured li .icon { color: var(--ochre); }
.tag { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--ochre); color: var(--ink); font: 600 12px/1.5 var(--sans); letter-spacing: .04em; vertical-align: middle; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }

/* Contact */
.map { display: block; width: 100%; height: 300px; border: 0; border-radius: 18px; background: var(--mist); }
.contact-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.contact-item { display: flex; gap: 16px; padding: 26px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.contact-item .chip { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--mist); color: var(--green); }
.contact-item h3 { font-size: 20px; }
.contact-item p { margin-top: 6px; color: var(--ink-soft); overflow-wrap: anywhere; }
.contact-item a { font-weight: 600; }
@media (max-width: 860px) { .contact-items { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: rgb(251 250 246 / .8); padding: 64px 0 0; }
.site-footer a { color: var(--paper); }
.site-footer a:focus-visible { outline-color: var(--paper); }
.foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 48px; }
.foot .brand { color: var(--paper); font-size: 34px; gap: 14px; }
.foot .brand img { width: 64px; height: 64px; }
.foot h2 { font: 600 13px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgb(251 250 246 / .55); margin-bottom: 14px; }
.foot address { font-style: normal; line-height: 1.8; }
.foot address p + p { margin-top: 2px; }
.foot .gap { margin-top: 16px; }
.legal-links { list-style: none; margin: 0; padding: 0; line-height: 1.8; }
.legal-links a { display: inline-block; padding: 4px 0; }
.copyright { border-top: 1px solid rgb(251 250 246 / .14); padding: 22px 0; font-size: 14px; color: rgb(251 250 246 / .55); }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 20px 96px; }
.legal .eyebrow { margin-bottom: 10px; }
.legal h1 { font-size: clamp(36px, 5.4vw, 52px); }
.legal h2 { margin: 48px 0 14px; font-size: 25px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal p + p { margin-top: 14px; }
.legal .intro { margin-top: 28px; }
.legal ul { margin: 12px 0 16px; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .table { margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.legal th, .legal td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal th { background: var(--mist); color: var(--ink); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
