:root {
  --bg: #0b1727;
  --bg-deep: #07101c;
  --ink: #ebe7dc;
  --ink-muted: #a9b1bd;
  --rule: #2a3a50;
  --accent: #c2a566;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg-deep); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, rgba(11, 23, 39, 0) 58%),
    url("/molecule.svg") right -13vw center / auto min(118vh, 68vw) no-repeat,
    radial-gradient(ellipse at 75% 45%, #14283f 0%, var(--bg) 60%, var(--bg-deep) 100%);
}

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(194, 165, 102, 0.45); }
a:hover, a:focus-visible { border-bottom-color: var(--accent); }

header, main, footer { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 4rem); }

header { padding-top: 2.25rem; }

.wordmark {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  border: 0;
}

main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; padding-bottom: 4rem; }

.tag {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.75rem;
}

h1 {
  font-weight: 400;
  font-size: clamp(2rem, 3.9vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.75rem;
  max-width: 11.5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.lede { max-width: 28em; margin: 0 0 3rem; color: var(--ink-muted); }
.lede strong { color: var(--ink); font-weight: 400; }

.contact { border-top: 1px solid var(--rule); padding-top: 1.25rem; max-width: 22rem; }
.contact .label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.35rem;
}
.contact a { font-size: 1.15rem; }

footer {
  padding-bottom: 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #6f7b8c;
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
    background:
      linear-gradient(180deg, var(--bg) 0%, var(--bg) 45%, rgba(11, 23, 39, 0) 80%),
      url("/molecule.svg") center bottom -22vw / 150vw auto no-repeat,
      var(--bg);
  }
  main { justify-content: flex-start; padding-top: 3rem; }
  h1 { max-width: none; }
}

.nb { white-space: nowrap; }
