:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e5e1d8;
  --paper: #faf8f4;
  --accent: #1a1a1a;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 32px 128px;
}

header.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 120px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
header.masthead .name { color: var(--ink); }
header.masthead a.name {
  color: var(--ink);
  text-decoration: none;
}
header.masthead a.name:hover { color: var(--muted); }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}
h1 em { font-style: italic; color: var(--muted); font-weight: 400; }

.lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}

.dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 16px;
}

section { margin-top: 96px; }

h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
}

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

a.inline {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
a.inline:hover { border-color: var(--ink); }

ul.offer {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.offer li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}
ul.offer li:last-child { border-bottom: none; }
ul.offer .label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
ul.offer .body { font-size: 19px; line-height: 1.5; }

.case {
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.case:last-child { border-bottom: none; }
.case .meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.case .result {
  font-style: italic;
  color: var(--muted);
  border-left: 2px solid var(--rule);
  padding-left: 18px;
  margin-top: 18px;
}
.case .more {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
}
.case .more:hover { border-color: var(--ink); }

.placeholder {
  background: rgba(0,0,0,0.04);
  padding: 2px 6px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}

.article p { font-size: 21px; line-height: 1.6; margin: 0 0 22px; }

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.contact a:hover { color: var(--muted); border-color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 24px;
  font-size: 19px;
}
.contact-grid dt {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: baseline;
  padding-top: 4px;
}
.contact-grid dd { margin: 0; }

.cta {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.cta p { font-size: 21px; }
.cta a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.cta a:hover { color: var(--muted); border-color: var(--muted); }

footer {
  margin-top: 128px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .wrap { padding: 56px 22px 80px; }
  header.masthead { margin-bottom: 72px; flex-direction: column; gap: 6px; }
  h1 { font-size: 38px; }
  .lede, .dek { font-size: 20px; }
  section { margin-top: 72px; }
  ul.offer li { grid-template-columns: 1fr; gap: 6px; }
  .contact-grid { grid-template-columns: 1fr; gap: 4px 0; }
  .contact-grid dt { padding-top: 14px; }
  .contact-grid dt:first-of-type { padding-top: 0; }
  footer { flex-direction: column; gap: 8px; }
  .article p { font-size: 19px; }
}
