@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/display.woff2') format('woff2');
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/body.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #f6f4ec;
  --ink: #23231f;
  --muted: #54554c;
  --accent: #b03e24;
  --line: #b9b9aa;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.frame { max-width: 1376px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 5rem); }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; left: .5rem; top: -5rem; background: var(--paper); padding: .75rem; z-index: 1; }
.skip:focus { top: .5rem; }
.topbar, nav, .brand, footer, .rule-label, figcaption { display: flex; align-items: center; }
.topbar, footer, figcaption { justify-content: space-between; }
.topbar { border-bottom: 1px solid var(--ink); min-height: 4.5rem; }
.brand { text-decoration: none; gap: .82rem; font: italic 800 1.75rem/1 'Barlow Condensed', sans-serif; }
.orbit { display: inline-block; position: relative; width: 1.08em; height: 1.08em; border-radius: 50%; background: var(--accent); transform: rotate(-23deg); }
.orbit::after { content: ''; position: absolute; inset: 32% -22%; border: 2px solid var(--accent); border-top-color: var(--paper); border-radius: 50%; }
nav { gap: clamp(1rem, 3.2vw, 2.6rem); }
nav a, footer a { text-decoration: none; font-size: .93rem; font-weight: 570; }
nav a { padding: .7rem 0; }
nav [aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(7rem, 14vw, 12rem);
  column-gap: clamp(1rem, 3vw, 3rem);
  align-content: center;
  padding: clamp(1.6rem, 3.7vw, 3.2rem) 0 clamp(2.2rem, 4vw, 3.6rem);
}
.portrait-link img { display: block; width: 100%; height: auto; }
.masthead .portrait-link { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.masthead .portrait-link img { border: 1px solid var(--ink); }
.entry-header .portrait-link {
  position: absolute;
  border-radius: 50%;
  right: 0;
  inset-block: 0;
  margin-block: auto;
  height: min(100%, clamp(7rem, 22vw, 18rem));
  aspect-ratio: 1;
}
.entry-header .portrait-link img {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .25;
  mask-image: radial-gradient(ellipse closest-side, #000 58%, transparent 100%);
}
.masthead h1 { align-self: end; margin: 0 0 .13em; font: italic 800 clamp(3.35rem, 9.45vw, 8.2rem)/.93 'Barlow Condensed', Impact, sans-serif; letter-spacing: -.043em; text-transform: uppercase; }
.masthead h1 span, .entry h1 span, .meta i { color: var(--accent); }
.masthead p { margin: 1.1rem 0 0; font-size: clamp(1rem, 1.65vw, 1.32rem); color: var(--muted); line-height: 1.5; }
.rule-label { gap: 1rem; }
.rule-label h2, .meta, figcaption, .back { font-family: 'DM Sans', sans-serif; letter-spacing: .085em; font-size: .73rem; font-weight: 700; text-transform: uppercase; }
.rule-label h2 { white-space: nowrap; margin: 0; }
.rule-label h2::before { content: ''; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); margin-right: .6rem; }
.rule-label > span { flex: 1; height: 1px; background: var(--line); }
.feature { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(2rem, 5.5vw, 5rem); align-items: center; padding: 1.45rem 0 2.5rem; }
.feature.text-only { grid-template-columns: 1fr; }
.feature.text-only h3 { max-width: 24ch; }
.feature h3, .entry h1, .earlier h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.feature h3 { font-size: clamp(3.3rem, 5.65vw, 6rem); line-height: .96; letter-spacing: -.066em; margin: .25em 0; max-width: 13ch; overflow-wrap: break-word; }
.feature h3 a, .earlier h3 a { text-decoration: none; }
.meta { color: var(--muted); line-height: 1.8; }
.meta i { padding: 0 .3em; font-style: normal; }
.dek { font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 40ch; margin: 0; }
.read { display: inline-flex; align-items: center; gap: 1.2em; font-weight: 700; margin-top: 1.7rem; padding: .2em 0 .35em; text-decoration: none; border-bottom: 2px solid var(--accent); }
.read span { color: var(--accent); }
figure { margin: 0; min-width: 0; }
.cover { display: block; width: 100%; aspect-ratio: 1.72; height: auto; object-fit: cover; object-position: center 92%; background: #08090b; }
figcaption { font-size: .61rem; line-height: 1.6; color: var(--muted); padding: .65rem 0; gap: .75em; flex-wrap: wrap; }
figcaption a { text-decoration-color: var(--line); }
footer { border-top: 1px solid var(--ink); padding: 1.25rem 0 2rem; gap: 1rem; }
footer .footer-name { font: italic 800 1.25rem 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.earlier { margin: 0 0 3rem; }
.earlier article { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.earlier h3 { font-size: 2.2rem; letter-spacing: -.045em; margin: .25em 0; }
.entry { max-width: clamp(48rem, 68vw, 76rem); margin: 0 auto; padding: clamp(2rem, 4vw, 4.5rem) 0; }
.entry.narrow { max-width: 43rem; min-height: 57vh; }
.entry-header { position: relative; isolation: isolate; --muted: #474840; margin-top: clamp(1.25rem, 2vw, 2rem); }
.entry-header .dek { max-width: 68ch; text-wrap: balance; }
.entry h1 { font-size: clamp(2.8rem, 5.2vw, 5.25rem); line-height: 1.04; letter-spacing: -.045em; margin: .28em 0; text-wrap: balance; overflow-wrap: break-word; }
.entry figure { margin: 2rem 0; }
.back { text-decoration: none; }
.prose { max-width: min(82ch, 58rem); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.12rem, 1rem + .45vw, 1.375rem); line-height: 1.65; }
.prose p { margin: 1.3em 0; }
.prose a { text-decoration-color: var(--accent); }
.prose img { max-width: 100%; height: auto; }
.prose pre { overflow-x: auto; padding: 1rem; background: #e9e7df; }
@media (max-width: 680px) {
  .topbar { min-height: 3.9rem; }
  .masthead { grid-template-columns: minmax(0, 1fr) clamp(5rem, 22vw, 8rem); padding-bottom: 2rem; }
  .masthead .portrait-link { grid-row: 1; }
  .masthead p { grid-column: 1 / -1; }
  .entry-header .portrait-link { margin-block: 0; }
  .entry-header .portrait-link img { opacity: .18; }
  .masthead h1 { align-self: center; margin: 0; font-size: clamp(2.6rem, 10.9vw, 4.6rem); text-wrap: balance; }
  .feature { display: flex; flex-direction: column; align-items: stretch; gap: 1.4rem; padding-bottom: 1.5rem; }
  .feature figure { order: -1; }
  .feature h3 { max-width: none; }
  .feature-copy .meta { margin-top: 0; }
  .read { margin-top: 1rem; }
  nav a { font-size: .85rem; }
}
