:root {
  --surface: #081640;
  --sea: #050e2c;
  --deep: #030a1f;
  --abyss: #01040e;
  --foam: #eaf4ff;
  --mist: #a9c6ee;
  --coral: #ff8566;
  --sun: #ffd166;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--abyss); }
body {
  margin: 0;
  min-height: 100svh;
  display: flex; flex-direction: column;
  color: var(--foam);
  background:
    radial-gradient(90rem 40rem at 85% -10rem, rgba(60, 110, 220, 0.22), transparent 70%),
    linear-gradient(180deg, var(--surface) 0, var(--sea) 28rem, var(--deep) 60rem, var(--abyss) 100%);
  font-family: var(--text);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-color: var(--coral); text-decoration-thickness: 0.09em; text-underline-offset: 0.22em; }
a:hover { color: var(--sun); text-decoration-color: var(--sun); }
a:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--coral); color: var(--abyss); }

.mast {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: clamp(1.1rem, 2.6vw, 2rem) var(--gutter);
}
.mast-name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em;
  text-decoration: none;
}
.mast a.mail { font-size: 0.95rem; font-weight: 500; }

.page {
  flex: 1;
  width: 100%; max-width: calc(38rem + 2 * var(--gutter));
  padding: clamp(2.5rem, 9vh, 6rem) var(--gutter) clamp(3rem, 10vh, 6rem);
}
.page h1 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 400; font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  line-height: 0.95; letter-spacing: -0.03em;
}
.page h2 {
  margin: 2.75rem 0 0.5rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em;
}
.page p { margin: 0 0 0.9rem; color: #d3e3f8; }
.page .lede { font-size: 1.2em; line-height: 1.45; color: var(--foam); }
.page .dated { font-size: 0.88rem; color: var(--mist); }
.page ul { margin: 0 0 0.9rem; padding-left: 1.1rem; color: #d3e3f8; }
.page li { margin: 0.3rem 0; padding-left: 0.2rem; }
.page li::marker { color: var(--coral); }

.foot-line {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem;
  padding: 1.4rem var(--gutter);
  font-size: 0.88rem; color: var(--mist);
  border-top: 1px solid rgba(169, 198, 238, 0.2);
}
.foot-line p { margin: 0; }
.foot-line a { margin-left: 1.25rem; }
.foot-line a:first-child { margin-left: 0; }
.foot-line a[aria-current] { color: var(--foam); }

@media (max-width: 760px) {
  .mast a.mail { font-size: 0.88rem; }
}
