:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --navy: #0e2438;
  --ink: #182231;
  --body: #3f4855;
  --muted: #5b6572;
  --faint: #8a919b;
  --line: #e3dfd6;
  --line-2: #d8d2c6;
  --brass: #a8783a;
  --brass-light: #c9a468;
  --on-dark: #f6f4ef;
  --on-dark-muted: #c5ccd6;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--brass); }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.12; text-wrap: pretty; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.serif { font-family: var(--serif); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--brass); }
.eyebrow.on-dark { color: var(--brass-light); }
.lead { font-size: 17px; line-height: 1.65; color: var(--body); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); white-space: nowrap; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #163554; color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: rgba(14,36,56,0.06); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--on-dark); color: var(--navy); }
.btn svg { flex-shrink: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name .big { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--navy); letter-spacing: 0.01em; }
.brand-name .sub { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav .btn { height: 42px; padding: 0 20px; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }

/* Sections */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-head { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); }
.section-head .stack { display: flex; flex-direction: column; gap: 14px; }
.section-head p { font-size: 16px; line-height: 1.65; color: var(--body); }

/* Hero */
.hero { padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -0.01em; }
.hero .stack { display: flex; flex-direction: column; gap: 26px; }
.hero p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--body); max-width: 560px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-diagram { display: flex; justify-content: flex-end; }
.hero-diagram svg { width: 100%; max-width: 460px; height: auto; }

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 40px 0; }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact strong { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--navy); line-height: 1.25; }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card:hover { border-color: var(--line-2); }
.card .icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--navy); }
.card h3 { font-size: 23px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--body); }
.card .more { font-size: 13px; font-weight: 600; color: var(--brass); margin-top: auto; }

/* Dark band */
.band { background: var(--navy); color: var(--on-dark); }
.band h2, .band h3 { color: #fff; }
.band .section-head p { color: var(--on-dark-muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--brass); padding-top: 24px; }
.step .num { font-family: var(--serif); font-size: 15px; color: var(--brass-light); }
.step h3 { font-size: 25px; }
.step p { font-size: 15px; line-height: 1.65; color: var(--on-dark-muted); }

/* Two-col feature list */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.split .stack { display: flex; flex-direction: column; gap: 16px; }
.split h2 { font-size: clamp(30px, 3.6vw, 40px); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* CTA */
.cta { background: var(--surface); border: 1px solid var(--line); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta.dark { background: var(--navy); border-color: var(--navy); }
.cta.dark h2 { color: #fff; }
.cta.dark p { color: var(--on-dark-muted); }
.cta .stack { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.cta p { font-size: 16px; line-height: 1.6; color: var(--body); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.site-footer .wrap { display: grid; grid-template-columns: 5fr 2fr 5fr; gap: 32px; padding: 56px 0 40px; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer .label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.site-footer .company { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--navy); }
.site-footer p, .site-footer address { font-size: 14px; line-height: 1.6; color: var(--body); font-style: normal; }
.site-footer .col a { font-size: 14px; }
.site-footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
.site-footer .legal, .site-footer .legal a { font-size: 12px; color: var(--faint); }

/* Services page */
.page-hero { padding: 88px 0 64px; }
.page-hero .grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.01em; }
.page-hero .stack { display: flex; flex-direction: column; gap: 18px; }
.svc-index { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-bottom: 64px; }
.svc-index a { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 2px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink); }
.svc-index a:hover { border-top-color: var(--navy); }
.num { font-size: 14px; color: var(--brass); font-weight: 400; }
.svc { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-of-type { border-bottom: 1px solid var(--line); }
.svc-head { display: flex; flex-direction: column; gap: 16px; }
.svc-head h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.15; }
.svc-head p { font-size: 16px; line-height: 1.65; color: var(--body); }
.svc-body { display: flex; flex-direction: column; gap: 28px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--body); }
.list svg { flex-shrink: 0; margin-top: 5px; width: 14px; height: 14px; }
.outcome { background: var(--surface); border: 1px solid var(--line); padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.outcome .label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.outcome span:last-child { font-size: 15px; line-height: 1.6; color: var(--ink); }

/* About page */
.prose { display: flex; flex-direction: column; gap: 20px; }
.prose h2 { font-size: 32px; line-height: 1.2; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--body); }
.principles { display: flex; flex-direction: column; gap: 28px; }
.principle { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 18px; }
.principle h3 { font-size: 22px; }
.principle p { font-size: 15px; line-height: 1.6; color: var(--body); }
.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.team-grid div { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.team-grid strong { font-size: 15px; color: var(--navy); }
.team-grid span { font-size: 14px; line-height: 1.55; color: var(--body); }
.kv-card { background: var(--surface); border: 1px solid var(--line); padding: 32px; }
.kv { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px 24px; font-size: 15px; line-height: 1.5; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { color: var(--ink); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info h2 { font-size: clamp(30px, 3.6vw, 40px); }
.contact-info p { font-size: 16px; line-height: 1.65; color: var(--body); }
.contact-info .item { display: flex; flex-direction: column; gap: 6px; }
.contact-info .item span { font-size: 16px; line-height: 1.5; color: var(--navy); }
.label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.form { background: var(--surface); border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea { height: 48px; border: 1px solid var(--line-2); background: #fff; padding: 0 14px; font-size: 15px; font-family: var(--sans); color: var(--ink); width: 100%; }
.field textarea { height: 130px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.form .note { font-size: 12px; color: var(--faint); line-height: 1.5; }
.form-status { font-size: 14px; line-height: 1.5; padding: 12px 14px; border: 1px solid var(--line-2); display: none; }
.form-status.ok { display: block; border-color: #7aa37a; color: #2f5d2f; background: #f1f7f1; }
.form-status.err { display: block; border-color: #c98383; color: #7a2e2e; background: #fbf1f1; }
.hp { position: absolute; left: -9999px; }

/* Legal page */
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.legal-page .updated { font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.legal-page h2 { font-size: 24px; margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.7; color: var(--body); }
.legal-page ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-grid, .section-head, .split, .about-grid, .contact-grid, .svc, .page-hero .grid { grid-template-columns: 1fr; }
  .hero-diagram { justify-content: flex-start; }
  .cards, .steps, .facts .wrap { grid-template-columns: 1fr 1fr; }
  .svc-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px; }
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 640px) {
  .cards, .steps, .facts .wrap, .features, .team-grid, .form .row, .site-footer .wrap { grid-template-columns: 1fr; }
  .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv { grid-template-columns: 1fr; gap: 4px 0; }
  .kv dt { margin-top: 10px; }
  .form { padding: 24px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px var(--gutter); }
  .nav .btn { margin: 8px var(--gutter) 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .brand-name .sub { display: none; }
}
