:root {
  --ink: #14243b;
  --ink-soft: #3b4a60;
  --muted: #6b7686;
  --paper: #f8f5ef;
  --card: #ffffff;
  --line: #e4ddd0;
  --gold: #b08d4f;
  --gold-soft: #c9a96e;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
header.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 245, 239, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--serif); font-size: 21px; letter-spacing: .2px; white-space: nowrap; }
.brand span b { font-weight: 600; }
.nav nav { display: flex; gap: 28px; align-items: center; }
.nav nav a { text-decoration: none; font-size: 15px; color: var(--ink-soft); white-space: nowrap; }
.nav nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff !important;
  transition: background .2s;
}
.btn:hover { background: #22385a; }
.btn .short { display: none; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 96px; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; color: var(--gold); font-weight: 600; margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 68px); max-width: 15ch; letter-spacing: -.5px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 58ch; margin: 26px 0 38px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: absolute; right: -80px; top: 40px; width: 560px; opacity: .55; pointer-events: none; }

/* sections */
section { padding: 96px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 44px); max-width: 22ch; }
.section-lede { color: var(--ink-soft); max-width: 62ch; margin: 18px 0 0; }

.grid { display: grid; gap: 22px; margin-top: 48px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px;
}
section.alt .card { background: var(--paper); }
.card .num { font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: .1em; }
.card h3 { font-size: 23px; margin: 14px 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.principles h3 { font-size: 22px; margin: 0 0 8px; }
.principles h3::before { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-bottom: 18px; }
.principles p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.who { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tags span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--ink-soft); }
.who ul { margin: 22px 0 0; padding: 0; list-style: none; }
.who li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.who li b { color: var(--ink); font-weight: 600; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.steps div { counter-increment: s; padding-top: 22px; border-top: 1px solid var(--ink); }
.steps div::before { content: "0" counter(s); font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: .1em; }
.steps h3 { font-size: 22px; margin: 10px 0 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* contact */
.contact { background: var(--ink); color: #f4efe6; text-align: center; padding: 104px 0; }
.contact h2 { margin: 0 auto; color: #fff; }
.contact p { color: #c8cfda; max-width: 56ch; margin: 18px auto 34px; }
.contact .btn { background: var(--gold-soft); color: var(--ink) !important; }
.contact .btn:hover { background: #d8bd88; }
.contact .mail { display: block; margin-top: 18px; color: #c8cfda; font-size: 15px; }

footer { padding: 34px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* legal page */
.legal { max-width: 760px; padding: 72px 24px 96px; margin: 0 auto; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); max-width: none; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; max-width: none; }
.legal p, .legal li { color: var(--ink-soft); }

@media (max-width: 960px) {
  .nav nav a:not(.btn) { display: none; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three, .principles, .steps { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { opacity: .25; right: -220px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid.four { grid-template-columns: 1fr; }
  .btn { padding: 10px 16px; font-size: 14px; }
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
  .brand span { font-size: 19px; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .hero-art { display: none; }
}
