/* ---------------------------------------------------------------
   Tokens. Black field, warm off-white for reading, gold for the
   logo, headings, rules and actions only. Gold is never body text.
   ---------------------------------------------------------------*/
:root {
  --black:    #000000;
  --raised:   #0f0e0c;
  --paper:    #000000;
  --ink:      #ece7dd;
  --muted:    #9a948a;
  --rule:     #2b2722;
  --gold:     #c8a951;
  --gold-lo:  #8c6d28;
  --gold-hi:  #e8d28a;
  --accent:   #c8a951;
  --accent-d: #e8d28a;

  --measure: 66ch;
  --rail: 13rem;
  --gap: clamp(1.5rem, 4vw, 4rem);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--gold-hi);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-d); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  line-height: 1.45;
  max-width: 38ch;
}

.note { color: var(--muted); font-size: 0.9375rem; }

.shell { max-width: 68rem; margin: 0 auto; padding: 0 var(--gap); }

.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.masthead {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 1rem 2rem;
  padding: 2.25rem 0 1.5rem; border-bottom: 1px solid var(--gold-lo);
}
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark img { height: 34px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.nav a:hover { color: var(--gold-hi); }
.nav a[aria-current='page'] { color: var(--gold); box-shadow: inset 0 -1px 0 0 var(--gold); }

main { padding: clamp(3rem, 7vw, 5.5rem) 0 0; }

/* A section's name sits in the margin beside its content rather than
   stacked above it as a label. */
.band {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 var(--gap);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--rule);
}
.band > h2 {
  font-size: 1rem; font-family: var(--sans); font-weight: 500;
  color: var(--muted); letter-spacing: 0; margin: 0.35rem 0 0;
}
.band > h2 { color: var(--muted); }
.band-body > :first-child { margin-top: 0; }

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

.opening { padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.opening h1 { max-width: 22ch; }
.opening .lede { margin-top: 1.5rem; color: var(--muted); }

.signature {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  max-width: var(--measure); font-size: 0.9375rem; color: var(--muted);
}
.signature strong { color: var(--gold-hi); font-weight: 500; }

.services { margin: 0; }
.services > div { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.services > div:first-child { border-top: 0; padding-top: 0; }
.services dt { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.4rem; }
.services dd { margin: 0; color: var(--muted); max-width: var(--measure); }
.services ul { margin: 0.75rem 0 0; padding-left: 1.1rem; }
.services li { margin-bottom: 0.3rem; }

.engagements { list-style: none; margin: 0; padding: 0; }
.engagements li { padding: 1.35rem 0; border-top: 1px solid var(--rule); max-width: var(--measure); }
.engagements li:first-child { border-top: 0; padding-top: 0; }
.engagements h3 { margin-bottom: 0.3rem; }

.action {
  display: inline-block; background: var(--gold); color: #000;
  text-decoration: none; padding: 0.7rem 1.4rem; font-size: 0.9375rem;
  border: 0; cursor: pointer; font-family: inherit;
}
.action:hover { background: var(--gold-hi); color: #000; }

.form { max-width: 34rem; display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.9375rem; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: 0.6rem 0.7rem;
  border: 1px solid var(--rule); background: var(--raised); color: var(--ink); border-radius: 0;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: 1px solid var(--accent); }

.foot {
  margin-top: clamp(3rem, 7vw, 5rem); padding: 2rem 0 3rem;
  border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap;
  gap: 0.75rem 2rem; justify-content: space-between; color: var(--muted); font-size: 0.875rem;
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--gold-hi); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
