:root {
  --ink:   #000000;
  --paper: #ffffff;
  --muted: #666666;
  --rule:  #d8d8d8;

  --measure: 34rem;
  --pad: clamp(1.5rem, 6vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  font-variant-numeric: oldstyle-num;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(4rem, 14vh, 9rem) var(--pad) clamp(3rem, 8vh, 5rem);
}

/* ---------- opening ---------- */

.name {
  font-size: clamp(3.25rem, 14vw, 8.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
}

.lead {
  max-width: 32rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.42;
  font-weight: 300;
  letter-spacing: -0.011em;
  text-wrap: balance;
}

.statement {
  max-width: 32rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--rule);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.opening {
  padding-bottom: clamp(4rem, 12vh, 8rem);
}

/* ---------- sections ---------- */

.band {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 3rem;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--rule);
}

.band-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.band-body {
  max-width: var(--measure);
}

.band-body > :first-child { margin-top: 0; }
.band-body > :last-child  { margin-bottom: 0; }

/* ---------- services ---------- */

.service {
  margin: 0 0 2.25rem;
}

.service:last-child { margin-bottom: 0; }

.service h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.008em;
}

.service p {
  margin: 0;
  color: #1a1a1a;
}

/* ---------- stages ---------- */

.stages {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}

.stage {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
  counter-increment: stage;
}

.stages .stage:first-child {
  padding-top: 0;
  border-top: 0;
}

.stages .stage:last-child { padding-bottom: 0; }

.stage::before {
  content: counter(stage);
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.4;
}

.stage h2 {
  margin: 0 0 0.3rem;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.006em;
}

.stage p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #1a1a1a;
}

/* ---------- domains ---------- */

.domains {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.domains li {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.domains li:last-child { padding-bottom: 0; }

.domains b {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.domains p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #1a1a1a;
}

/* ---------- contact ---------- */

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.05em;
  transition: border-color 120ms ease, color 120ms ease;
}

a:hover {
  color: var(--muted);
  border-color: var(--muted);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-color: transparent;
}

.icon-link {
  border-bottom: none;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.icon-link svg {
  display: block;
  transition: opacity 120ms ease;
}

.icon-link:hover svg { opacity: 0.6; }

/* ---------- foot ---------- */

.foot {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--muted);
}

.foot p { margin: 0; }

.foot-mark {
  display: block;
  height: 30px;
  width: auto;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

/* ---------- narrow ---------- */

@media (max-width: 46rem) {
  .band {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
