@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/fraunces-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/fraunces-latin-standard-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/newsreader-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/newsreader-latin-standard-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0a08;
  --bg-lift: #14120e;
  --ink: #f0e7d6;
  --ink-soft: #c9bfae;
  --ink-dim: #a49884;
  --line: #2d281f;
  --brass: #c4a36a;
  --brass-deep: #8d7344;
  --measure: 38rem;
  --page: min(42rem, calc(100% - 2.5rem));
  --serif-display: "Fraunces Variable", "Palatino Linotype", Palatino, serif;
  --serif-text: "Newsreader Variable", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(196, 163, 106, 0.07), transparent 55%),
    var(--bg);
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.045;
  background: url("assets/img/grain.png") repeat;
  mix-blend-mode: overlay;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--ink);
  text-decoration-color: var(--brass-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brass);
  text-decoration-color: var(--brass);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 92svh;
  width: var(--page);
  max-width: 48rem;
  margin: 0 auto;
  padding: 4.5rem 0 3.75rem;
}

.kicker {
  margin: 0 0 1.4rem;
  color: var(--ink);
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 340;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 11vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.when {
  margin: 0;
  color: var(--ink-dim);
  font-family: var(--serif-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede {
  margin: 1.35rem 0 0;
  max-width: 22rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.45;
}

.panel {
  width: var(--page);
  margin: 0 auto;
  padding: 4.25rem 0 0;
}

.panel + .panel {
  border-top: 1px solid var(--line);
  margin-top: 4.25rem;
}

h2 {
  margin: 0 0 1.5rem;
  color: var(--brass);
  font-family: var(--serif-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

p {
  margin: 0 0 1.15rem;
  max-width: var(--measure);
}

p:last-child {
  margin-bottom: 0;
}

.hint {
  margin: -0.85rem 0 1.6rem;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

.post {
  margin: 2rem 0 1.5rem;
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--bg-lift);
  border: 1px solid var(--line);
}

.post-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.avatar,
.portrait {
  display: block;
  object-fit: cover;
  background: #111;
}

.avatar {
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
}

.post-name {
  margin: 0.1rem 0 0.15rem;
  color: var(--ink);
  font-family: var(--serif-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.post-meta {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

blockquote {
  margin: 0;
}

blockquote p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

blockquote a {
  overflow-wrap: anywhere;
}

.snapshot {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--brass-deep);
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1.25rem;
}

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

.timeline li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: -0.29rem;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--bg);
  border: 1px solid var(--brass);
  border-radius: 50%;
}

.timeline time {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: var(--serif-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline p {
  margin: 0;
}

cite {
  font-style: italic;
  font-weight: 450;
}

code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace;
  font-size: 0.82em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.actions {
  padding-bottom: 1rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin: 0 0 2rem;
  max-width: none;
}

.cta-link {
  color: var(--ink);
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration-thickness: 1px;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links li {
  margin: 0 0 0.55rem;
}

.close {
  width: var(--page);
  margin: 0 auto;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
}

.portrait {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
}

.voice {
  margin: 0 auto 1rem;
  max-width: 20rem;
  color: var(--ink);
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  font-weight: 360;
  line-height: 1.25;
}

.credit,
.disclaimer {
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.88rem;
}

@media (min-width: 720px) {
  html {
    font-size: 118.75%;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 5.5rem;
  }

  .post {
    padding: 1.6rem 1.7rem 1.7rem;
  }

  .timeline {
    padding-left: 1.15rem;
  }

  .timeline li {
    padding-left: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.allow-motion) *,
  html:not(.allow-motion) *::before,
  html:not(.allow-motion) *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html.allow-motion .kicker,
html.allow-motion .when,
html.allow-motion .lede {
  animation: rise 1.15s ease both;
}

html.allow-motion .when {
  animation-delay: 0.12s;
}

html.allow-motion .lede {
  animation-delay: 0.22s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

::selection {
  background: rgba(196, 163, 106, 0.35);
  color: var(--ink);
}
