:root {
  --bg: #0303ab;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.28);
  --quote-bg: rgba(255, 255, 255, 0.08);
  --max: 720px;
  --max-wide: 1000px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PT Serif", Georgia, serif;
  line-height: 1.6;
  font-size: 18px;
}

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

.wrap-wide { max-width: var(--max-wide); }

/* Header */

header.site {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-family: "Gilda Display", "PT Serif", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav.site {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

nav.site a:hover,
nav.site a.active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Typography */

main { padding: 56px 0 40px; }

h1 {
  font-family: "Gilda Display", "PT Serif", Georgia, serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

h2 {
  font-family: "Gilda Display", "PT Serif", Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  margin: 40px 0 8px;
  color: var(--ink);
}

p { margin: 0 0 18px; color: var(--ink); }

.lead { font-size: 20px; }

/* Home hero */

.hero {
  font-family: "Gilda Display", "PT Serif", Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
}

h1.hero { margin-bottom: 36px; }

.hero a {
  color: var(--ink);
  text-decoration: none;
}

.hero a.underline-link {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.hero a.circle {
  position: relative;
  display: inline-block;
  padding: 0 0.35em;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.hero a.circle.strong { font-weight: 700; }

.hero a.circle::before {
  content: "";
  position: absolute;
  inset: 0.06em -0.05em 0.1em;
  border: 1.5px solid var(--ink);
  border-radius: 50% / 58%;
  transform: rotate(-1.5deg);
  pointer-events: none;
}

.hero-cta { margin: 48px 0 0; }

.cta {
  display: inline-block;
  font-family: "Gilda Display", "PT Serif", Georgia, serif;
  font-size: 34px;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.cta-small { font-size: 24px; }

.page-cta { margin-top: 40px; }

/* Services */

.service {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.service:last-of-type { border-bottom: 1px solid var(--line); }

.service h3 {
  font-family: "Gilda Display", "PT Serif", Georgia, serif;
  font-weight: 400;
  margin: 0 0 4px;
  font-size: 20px;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Clients */

.clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.clients li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

/* Quotes */

.quotes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

blockquote {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--ink);
  background: var(--quote-bg);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
}

/* Footer */

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

footer.site a { color: var(--muted); }

/* Responsive */

@media (max-width: 900px) {
  .hero { font-size: 28px; }
  .cta { font-size: 28px; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 30px; }
  .hero { font-size: 23px; line-height: 1.45; }
  .cta { font-size: 23px; }
  .cta-small { font-size: 21px; }
  .clients { grid-template-columns: 1fr; }
  main { padding: 40px 0 32px; }
}
