:root {
  --ink: #14231d;
  --ink-2: #2b3b34;
  --muted: #5f6d66;
  --bg: #faf8f3;
  --sand: #f1ebdf;
  --card: #ffffff;
  --line: #e4ded1;
  --accent: #2f6b55;
  --accent-deep: #1f4c3c;
  --accent-soft: #e4eee8;
  --gold: #b08848;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.2px; color: var(--ink); }

.topbar { background: var(--ink); color: #b9c7c0; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #e6ede9; text-decoration: none; }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 243, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
nav.main { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav.main a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent-deep); border-bottom-color: var(--gold); }
nav.main a.nav-cta { background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 999px; border: 0; }
nav.main a.nav-cta:hover { background: var(--accent-deep); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.hero { padding: 84px 0 76px; background: radial-gradient(1200px 500px at 85% 10%, var(--accent-soft), transparent 60%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.sub { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0; }
.actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.hero-art { position: relative; }
.hero-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(20, 35, 29, .12)); }

.facts-strip { background: var(--ink); color: #fff; }
.facts-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-strip div { padding: 30px 24px; border-left: 1px solid #2c3d35; }
.facts-strip div:first-child { border-left: 0; padding-left: 0; }
.facts-strip strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; }
.facts-strip span { font-size: 13px; color: #a8b8b0; letter-spacing: .3px; }

section.block { padding: 96px 0; }
section.alt { background: var(--sand); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin: 14px 0 0; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--card); padding: 36px 34px; display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.service .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.service .ic svg { width: 26px; height: 26px; stroke: var(--accent-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 2px 0 8px; font-size: 21px; }
.service p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 15px; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; margin: 14px 0 18px; }
.split p { color: var(--ink-2); }
.commit-list { list-style: none; padding: 0; margin: 24px 0 0; }
.commit-list li { padding: 16px 0 16px 36px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.commit-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent); }
.commit-list strong { color: var(--ink); }

.profile-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(20, 35, 29, .06); }
.profile-card header { background: var(--ink); color: #fff; padding: 22px 28px; }
.profile-card header h3 { color: #fff; margin: 0; font-size: 20px; }
.profile-card header span { font-size: 13px; color: #a8b8b0; }
.profile-card dl { margin: 0; display: grid; grid-template-columns: 42% 58%; }
.profile-card dt, .profile-card dd { margin: 0; padding: 15px 28px; border-top: 1px solid var(--line); }
.profile-card dt { color: var(--muted); font-size: 14px; font-weight: 500; }
.profile-card dd { color: var(--ink); }
.profile-card dl > :nth-child(1), .profile-card dl > :nth-child(2) { border-top: 0; }

.cta-band { background: var(--accent-deep); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: #cfe0d7; max-width: 560px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); }
.cta-band .btn-primary:hover { background: var(--sand); }

.page-hero { padding: 72px 0 56px; background: var(--sand); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.1; margin: 14px 0 14px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.contact-card .ic svg { width: 22px; height: 22px; stroke: var(--accent-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { margin: 0 0 6px; font-size: 20px; }
.contact-card p { margin: 0; color: var(--ink-2); }
.contact-card .note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 8px; }
.topics div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.topics h3 { font-size: 18px; margin: 0 0 4px; }
.topics p { margin: 0; color: var(--muted); font-size: 15px; }

footer.site { background: var(--ink); color: #b9c7c0; padding: 64px 0 28px; font-size: 14px; }
footer.site a { color: #e6ede9; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand svg { width: 36px; height: 36px; }
.foot-brand span { font-family: var(--serif); font-size: 20px; color: #fff; font-weight: 600; }
.foot-grid h4 { color: #fff; margin: 4px 0 14px; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; }
.foot-grid p { margin: 0; }
.foot-links a { display: block; margin-bottom: 8px; }
.copy { border-top: 1px solid #2c3d35; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8fa198; font-size: 13px; }

.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h2 { font-size: 23px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; margin-bottom: 8px; }
.legal .toc strong { display: block; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc a { text-decoration: none; }

@media (max-width: 900px) {
  .hero .wrap, .section-head, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 520px; }
  .facts-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .facts-strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-strip div { border-top: 1px solid #2c3d35; }
  .facts-strip div:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap span:last-child { display: none; }
  header.site { position: static; }
  header.site .wrap { padding-top: 14px; padding-bottom: 14px; }
  nav.main { gap: 18px; }
  nav.main a.nav-cta { padding: 7px 14px; }
  .hero { padding: 52px 0 56px; }
  section.block { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 22px; grid-template-columns: 44px 1fr; gap: 16px; }
  .service .ic { width: 44px; height: 44px; }
  .steps, .topics { grid-template-columns: 1fr; }
  .profile-card dl { grid-template-columns: 1fr; }
  .profile-card dt { border-top: 1px solid var(--line); padding-bottom: 2px; }
  .profile-card dd { border-top: 0; padding-top: 0; }
  .profile-card dt, .profile-card dd { padding-left: 20px; padding-right: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal .toc ol { columns: 1; }
}
