:root {
  color-scheme: light;
  --fg: #111;
  --muted: #444;
  --line: #111;
  --bg: #fff;
  --max: 42rem;
  --pad: 1.25rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

a {
  color: var(--fg);
  text-underline-offset: 0.12em;
}

a:hover {
  text-decoration-thickness: 0.08em;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: 2.25rem;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.4rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg);
  color: var(--fg);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  z-index: 10;
}

.skip-link:focus {
  left: var(--pad);
  top: var(--pad);
}

.site-header,
.site-footer,
.main {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

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

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-mark {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.site-mark:hover {
  text-decoration: underline;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--fg);
  text-decoration: underline;
}

.main {
  padding: 2rem 0 3rem;
}

.site-footer {
  padding: 1.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer a {
  color: inherit;
}

.hero {
  margin-bottom: 2.25rem;
}

.eyebrow,
.meta-line,
.job-meta,
.role-line {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 0.35rem;
  text-transform: none;
  letter-spacing: 0.04em;
}

.lede {
  font-size: 1.15rem;
  max-width: 36rem;
}

.actions {
  margin-top: 1.25rem;
}

.text-link {
  font-weight: 500;
}

.panel + .panel {
  margin-top: 2rem;
}

.page-header {
  margin-bottom: 2rem;
}

.role-line {
  font-style: italic;
  margin-bottom: 1rem;
}

.plain-list {
  list-style: disc;
}

.job {
  padding: 1.25rem 0;
}

.job + .job {
  border-top: 1px solid var(--line);
}

.job-role {
  margin: 0 0 0.15rem;
  font-style: italic;
}

.job-meta {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.contact-form {
  max-width: 28rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font: inherit;
  padding: 0.55rem 0.65rem;
  border-radius: 0;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.field textarea {
  resize: vertical;
  min-height: 10rem;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-top: 1.25rem;
}

.button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--fg);
  color: var(--bg);
  font: inherit;
  font-weight: 500;
  padding: 0.55rem 1rem;
  cursor: pointer;
}

.button:hover {
  background: var(--bg);
  color: var(--fg);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-status {
  min-height: 1.4em;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.form-status.is-error {
  color: var(--fg);
  font-weight: 500;
}

.form-status.is-success {
  color: var(--fg);
  font-weight: 500;
}

.cf-turnstile {
  margin-top: 0.25rem;
}

@media (max-width: 40rem) {
  html {
    font-size: 106%;
  }

  h1 {
    font-size: 1.9rem;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .contact-form {
    display: none;
  }

  body {
    font-size: 11pt;
  }

  a {
    text-decoration: none;
  }

  .main {
    width: 100%;
    padding: 0;
  }
}
