:root {
  --paper: #f6f2e7;
  --paper-2: #ece6d4;
  --card: #fffdf7;
  --ink: #171614;
  --ink-2: #4b4842;
  --ink-3: #807b71;
  --rule: #d9d2bd;
  --chartreuse: #cfcf5a;
  --chartreuse-soft: #e4e49a;
  --olive: #626216;
  --ribbon: #e3121b;
  --ribbon-dark: #a90c13;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --type: "Courier Prime", "Courier New", ui-monospace, monospace;
  --script: "Ms Madi", "Brush Script MT", cursive;

  --wrap: 1180px;
  --read: 42rem;
  --gutter: clamp(20px, 4vw, 44px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4, p, blockquote, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--olive); }
::selection { background: var(--chartreuse); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type helpers ---------- */
.typed {
  font: 400 14px/1.4 var(--type); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.script { font-family: var(--script); font-weight: 400; }
.hl {
  background: linear-gradient(100deg, transparent .2em, var(--chartreuse) .2em, var(--chartreuse) calc(100% - .2em), transparent calc(100% - .2em)) no-repeat 0 82% / 0% 46%;
  transition: background-size 1s var(--ease) .15s;
  padding: 0 .08em; margin: 0 -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl.on, .no-js .hl { background-size: 100% 46%; }
.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.section-kicker::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: var(--ink-3); }
.section-title {
  font: 600 clamp(40px, 6vw, 76px)/.98 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -.02em;
}
.section-title em { font-style: italic; font-weight: 400; }
.series-head .section-title em { display: block; font-size: .56em; line-height: 1.08; margin-top: .2em; color: var(--chartreuse-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; padding-right: calc(var(--gutter) + 52px); }
.logo { display: block; width: clamp(150px, 18vw, 210px); }
.logo img { width: 100%; }
.primary-nav ul { display: flex; gap: clamp(16px, 2.6vw, 34px); list-style: none; }
.primary-nav a {
  font: 500 15px/1 var(--body); letter-spacing: .01em; text-decoration: none; padding: 8px 0; position: relative;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 7px; z-index: -1;
  background: var(--chartreuse); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- the bookmark ribbon (bridge to jaymeb.com) ---------- */
.bookmark {
  position: fixed; top: 0; right: clamp(16px, 4vw, 52px); z-index: 40;
  display: flex; flex-direction: row-reverse; align-items: flex-start;
  text-decoration: none; color: var(--paper);
}
.bookmark-tail {
  width: 30px; height: 70px;
  background: linear-gradient(90deg, var(--ribbon-dark), var(--ribbon) 30%, var(--ribbon) 70%, var(--ribbon-dark));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  display: grid; justify-items: center; align-content: end; padding-bottom: 18px;
  transition: height .45s var(--ease);
  font: 22px/1 var(--script); color: #fff;
}
.bookmark-label {
  margin: 62px 8px 0 0; padding: 8px 12px 8px 14px; border-radius: 3px;
  background: var(--ink); color: var(--paper);
  font: 400 13px/1.2 var(--type); letter-spacing: .06em; white-space: nowrap;
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.bookmark-label b { font-weight: 700; color: var(--chartreuse); }
.bookmark:hover .bookmark-tail, .bookmark:focus-visible .bookmark-tail { height: 104px; }
.bookmark:hover .bookmark-label, .bookmark:focus-visible .bookmark-label { opacity: 1; transform: none; }
.bookmark:focus-visible { outline: none; }
.bookmark:focus-visible .bookmark-label { outline: 3px solid var(--ribbon); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-weight: 400; }
.hero-line1 { display: block; margin-bottom: 10px; }
.typewriter { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--ink); width: 0; animation: type 1.4s steps(14) .3s forwards, caret .8s step-end 7; }
@keyframes type { to { width: calc(14 * (1ch + .14em)); } }
@keyframes caret { 50% { border-color: transparent; } }
.hero-name { display: block; line-height: .9; }
.hero-name .her {
  font: 400 clamp(96px, 15vw, 210px)/.8 var(--script); color: var(--ink);
  display: inline-block; transform: rotate(-4deg) translateY(.06em); margin-right: -.04em;
}
.hero-name .story {
  font: 700 clamp(82px, 12.5vw, 176px)/.9 var(--display); font-style: italic; letter-spacing: -.035em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.hero-name .story.hl { background-position: 0 86%; background-size: 0% 38%; }
.hero-name .story.hl.on, .no-js .hero-name .story.hl { background-size: 100% 38%; }
.hero-line3 { display: block; font: 400 clamp(40px, 5.6vw, 78px)/1 var(--display); font-style: italic; margin-top: 6px; padding-left: .2em; }
.hero-lede { margin-top: clamp(24px, 3vw, 36px); max-width: 33rem; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--body); text-decoration: none;
  padding: 16px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--chartreuse); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--card); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); }
.hero-art .photo {
  position: relative; transform: rotate(2.5deg);
  filter: drop-shadow(0 18px 30px rgba(40, 35, 20, .18));
}
.hero-art .photo img { width: 100%; }
.tape {
  position: absolute; width: 110px; height: 30px; background: rgba(236, 230, 212, .78);
  box-shadow: 0 1px 2px rgba(0,0,0,.08); z-index: 2;
}
.hero-art .tape { top: -10px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
.hero-art .note {
  position: absolute; left: -18%; bottom: 8%; z-index: 3; max-width: 210px;
  background: var(--card); padding: 14px 16px; transform: rotate(-5deg);
  box-shadow: 0 10px 24px rgba(40, 35, 20, .14);
  font: 400 14px/1.45 var(--type); color: var(--ink-2);
}
.hero-art .note strong { display: block; font: 400 30px/1 var(--script); color: var(--ink); margin-bottom: 4px; }


/* ---------- marquee ---------- */
.ticker { border-block: 1.5px solid var(--ink); background: var(--chartreuse); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: 400 clamp(26px, 3vw, 36px)/1 var(--display); font-style: italic; padding: 16px 0; white-space: nowrap; }
.ticker span::after { content: "✦"; font-style: normal; font-size: .6em; margin: 0 28px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { padding: clamp(80px, 10vw, 140px) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-story p + p { margin-top: 1.1em; }
.about-story p:first-of-type::first-letter {
  float: left; font: 600 4.6em/.8 var(--display); margin: .08em .1em 0 0; color: var(--ink);
}
.about-story { font-size: 19px; color: var(--ink-2); }
.about-story .dek { font: 400 italic clamp(24px, 2.4vw, 30px)/1.3 var(--display); color: var(--ink); margin-top: 1.4em; }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.index-card {
  background: var(--card); padding: 28px 28px 32px; border-radius: 4px;
  box-shadow: 0 1px 0 var(--rule), 0 14px 30px -18px rgba(40, 35, 20, .35);
  background-image: repeating-linear-gradient(var(--card) 0 35px, #e8e2cf 35px 36px);
  background-position: 0 85px;
  position: relative;
}
.index-card::before { content: ""; position: absolute; left: 0; right: 0; top: 56px; height: 1.5px; background: #e6a0a0; }
.index-card h3 { font: 600 24px/1 var(--display); height: 40px; }
.index-card ul { list-style: none; margin-top: 16px; }
.index-card li { font-size: 17px; line-height: 36px; padding-left: 32px; position: relative; }
.is li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 16px; height: 9px;
  border-left: 3px solid var(--olive); border-bottom: 3px solid var(--olive); transform: rotate(-45deg);
}
.isnt { transform: rotate(.8deg); }
.is { transform: rotate(-.6deg); }
.isnt li::before { content: "✕"; position: absolute; left: 3px; top: 10px; font: 700 16px/1 var(--body); color: var(--ribbon-dark); }
.isnt li span { position: relative; }
.isnt li span::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.isnt.on li span::after, .no-js .isnt li span::after { transform: scaleX(1); }
.isnt.on li:nth-child(2) span::after { transition-delay: .15s; }
.isnt.on li:nth-child(3) span::after { transition-delay: .3s; }
.isnt.on li:nth-child(4) span::after { transition-delay: .45s; }

/* ---------- series ---------- */
.series { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: var(--paper); position: relative; }
.series .typed { color: var(--chartreuse); }
.series .section-kicker::after { background: var(--chartreuse); }
.series-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.series-head p { max-width: 34rem; color: #cfc9b8; margin-top: 18px; }
.cw {
  border: 1.5px dashed currentColor; border-radius: 6px; padding: 14px 18px; max-width: 26rem;
  font: 400 14px/1.5 var(--type); color: #cfc9b8;
}
.cw strong { color: var(--chartreuse); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.files { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.file a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: #22211e; border: 1px solid #34322d; border-radius: 6px; overflow: hidden;
  transition: transform .35s var(--ease), border-color .25s, background .25s;
}
.file a:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--chartreuse); }
.file-img { aspect-ratio: 1; overflow: hidden; }
.file-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transition: filter .4s, transform .6s var(--ease); }
.file a:hover .file-img img { filter: none; transform: scale(1.04); }
.file-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.file-no { font: 400 13px/1 var(--type); letter-spacing: .14em; color: var(--chartreuse); text-transform: uppercase; }
.file-topic { font: 600 22px/1.1 var(--display); }
.file-secret { font-size: 15px; line-height: 1.45; color: #bdb7a6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.file-go { margin-top: auto; font: 400 13px/1 var(--type); letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.series-more { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.series .btn-line { color: var(--paper); border-color: var(--paper); }
.series .btn-line:hover { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--chartreuse); }

/* ---------- HBICs ---------- */
.hbics { position: relative; padding: clamp(90px, 11vw, 150px) 0; overflow: clip; }
.hbics::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--chartreuse);
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 30% 100%);
}
.hbics-head { max-width: 40rem; }
.hbics-head p { margin-top: 18px; color: var(--ink-2); }
.hbics-head abbr { text-decoration: underline dotted var(--ink-3); text-decoration-thickness: 3px; text-underline-offset: .12em; cursor: help; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.together { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.together figure { background: var(--card); padding: 12px 12px 18px; transform: rotate(-1.5deg); box-shadow: 0 20px 40px -20px rgba(40, 35, 20, .5); }
.together figcaption { font: 400 28px/1 var(--script); text-align: center; margin-top: 10px; }
.together blockquote { font: 400 italic clamp(24px, 2.6vw, 34px)/1.3 var(--display); }
.together blockquote cite { display: block; margin-top: 14px; font: 400 14px/1.4 var(--type); font-style: normal; letter-spacing: .08em; color: var(--ink-2); }
.person {
  background: var(--card); border-radius: 6px; padding: 26px;
  box-shadow: 0 18px 40px -26px rgba(40, 35, 20, .55);
  display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start;
}
.person img { width: 120px; height: 148px; object-fit: cover; border-radius: 3px; }
.person h3 { font: 600 26px/1.05 var(--display); }
.person .role { font: 400 13px/1.4 var(--type); letter-spacing: .06em; color: var(--ink-3); margin: 6px 0 12px; text-transform: uppercase; }
.person p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.person .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; }
.person-jayme .more { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-bottom: 1.5px solid var(--ribbon); padding-bottom: 2px; }
.person-jayme .more::before {
  content: ""; width: 10px; height: 16px; background: var(--ribbon);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.duo .person:nth-of-type(2) { margin-top: 32px; }
.duo-note { grid-column: 1 / -1; justify-self: end; max-width: 30rem; margin-top: 12px; align-self: center; font: 400 15px/1.55 var(--type); color: var(--ink); padding: 8px 0 0 8px; }
.duo-note .script { font-size: 34px; line-height: 1; display: block; margin-bottom: 6px; }

/* ---------- contact ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0; border-top: 1.5px solid var(--ink); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact-grid > div > p { margin-top: 18px; color: var(--ink-2); max-width: 26rem; }
.letter { background: var(--card); padding: clamp(24px, 4vw, 44px); border-radius: 6px; box-shadow: 0 24px 50px -30px rgba(40, 35, 20, .55); position: relative; }
.letter .postmark {
  position: absolute; top: -26px; right: 28px; width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid var(--olive); color: var(--olive); display: grid; place-items: center; text-align: center;
  font: 700 11px/1.25 var(--type); letter-spacing: .12em; text-transform: uppercase; transform: rotate(12deg); background: var(--paper);
}
.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font: 400 13px/1 var(--type); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  font: 400 18px/1.5 var(--body); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink-3); padding: 8px 2px; border-radius: 0;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; background-image: repeating-linear-gradient(transparent 0 34px, var(--rule) 34px 35px); line-height: 35px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); background-color: rgba(207, 207, 90, .16); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot small { font-size: 14px; color: var(--ink-3); max-width: 22rem; }
.form-status { font: 400 14px/1.4 var(--type); color: var(--olive); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc9b8; padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.footer-sign { font: 400 clamp(44px, 6vw, 72px)/1 var(--script); color: var(--paper); }
.footer-sign .story { color: var(--chartreuse); }
.chapter-link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; text-decoration: none;
  font: 400 15px/1.4 var(--type); letter-spacing: .04em; color: var(--paper);
}
.chapter-link .rib { width: 12px; height: 22px; background: var(--ribbon); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); flex: none; }
.chapter-link u { text-decoration: none; border-bottom: 1px solid var(--ribbon); }
.chapter-link:hover u { border-bottom-width: 2px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; font-size: 15px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--chartreuse); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #34322d; font: 400 13px/1.4 var(--type); letter-spacing: .06em; color: #8f8a7c; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.on, .no-js .reveal { opacity: 1; transform: none; }

/* ============ article + hub pages ============ */
.progress { position: fixed; left: 0; top: 0; height: 5px; width: 100%; z-index: 45; background: var(--chartreuse); transform-origin: left; transform: scaleX(0); }
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.crumbs { font: 400 13px/1.4 var(--type); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.post-head-grid { display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: clamp(28px, 5vw, 72px); align-items: end; margin-top: 22px; }
.stamp {
  display: inline-block; font: 700 13px/1 var(--type); letter-spacing: .2em; text-transform: uppercase;
  border: 2px solid var(--ribbon-dark); color: var(--ribbon-dark); padding: 8px 12px 7px; border-radius: 3px; transform: rotate(-3deg);
  margin-bottom: 18px; mix-blend-mode: multiply;
}
.post-title { font: 600 clamp(38px, 5.4vw, 70px)/1.02 var(--display); letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.post-title .sub { display: block; font-style: italic; font-weight: 400; font-size: .62em; margin-top: .25em; color: var(--ink-2); }
.post-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.post-cover { transform: rotate(2deg); box-shadow: 0 24px 50px -24px rgba(40, 35, 20, .6); border: 10px solid var(--card); }
.page-head .cw { color: var(--ink-2); margin-top: 26px; max-width: 34rem; }
.page-head .cw strong { color: var(--ribbon-dark); }

.secret-callout {
  margin: 1.6em 0; padding: 28px 30px; background: var(--chartreuse); border-radius: 4px; position: relative;
  box-shadow: 6px 6px 0 var(--ink);
}
.secret-callout .typed { color: var(--ink); }
.secret-callout p { font: 600 clamp(22px, 2.4vw, 28px)/1.3 var(--display) !important; margin-top: 8px !important; color: var(--ink) !important; }

.prose { max-width: var(--read); margin: 0 auto; font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font: 600 clamp(28px, 3vw, 38px)/1.15 var(--display); margin-top: 1.8em; letter-spacing: -.01em; }
.prose h3 { font: 600 24px/1.25 var(--display); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--olive); }
.prose a { text-decoration-color: var(--olive); text-decoration-thickness: 2px; }
.prose a:hover { background: var(--chartreuse-soft); }
.prose blockquote { border-left: 4px solid var(--chartreuse); padding-left: 1.1em; font-style: italic; }
.prose figure.pin { margin: 2em auto; max-width: 520px; background: var(--card); padding: 10px; box-shadow: 0 18px 40px -22px rgba(40, 35, 20, .6); transform: rotate(-1deg); }
.prose figure.pin:nth-of-type(even) { transform: rotate(1.1deg); }
.prose figure.pin.wide { max-width: 100%; }
.prose .media { margin: 1.6em 0; border-radius: 8px; overflow: hidden; background: var(--ink); }
.prose .media.audio { padding: 0; background: #e9e3cf; }
.prose .media.audio iframe { display: block; width: 100%; height: 90px; border: 0; }
.prose .media.video { aspect-ratio: 16 / 9; }
.prose .media.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.prose .media-label { display: block; font: 400 12px/1 var(--type); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 1.8em 0 -1.1em; }
.prose .disclaimer { font-size: 15px; color: var(--ink-3); line-height: 1.6; }

.post-section { padding: clamp(48px, 6vw, 80px) 0; }
.post-section + .post-section { border-top: 1px solid var(--rule); }
.post-section .section-head { max-width: var(--read); margin: 0 auto 28px; }
.post-section .section-title { font-size: clamp(32px, 4vw, 48px); }

.series-strip { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0; }
.series-strip .files { grid-template-columns: repeat(5, 1fr); margin-top: 28px; }
.series-strip .file a[aria-current="page"] { border-color: var(--chartreuse); }
.series-strip .typed { color: var(--chartreuse); }
.pager { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: var(--read); margin: 0 auto; }
.pager a { flex: 1 1 240px; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 6px; padding: 18px 20px; transition: background .2s, box-shadow .2s, transform .2s var(--ease); }
.pager a:hover { background: var(--chartreuse); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.pager .typed { display: block; margin-bottom: 6px; }
.pager strong { font: 600 20px/1.2 var(--display); }
.pager .next { text-align: right; }

.toc { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.toc a { display: inline-block; text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font: 500 15px/1 var(--body); }
.toc a:hover { background: var(--chartreuse); }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .her { font: 400 clamp(90px, 16vw, 180px)/.9 var(--script); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .files { grid-template-columns: repeat(3, 1fr); }
  .series-strip .files { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header-inner { height: 66px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--ink); border-radius: 999px;
    font: 600 14px/1 var(--body); padding: 10px 14px; color: var(--ink); cursor: pointer;
  }
  .primary-nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1.5px solid var(--ink); padding: 8px var(--gutter) 18px;
  }
  .primary-nav.open ul { display: flex; }
  .primary-nav li a { display: block; padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--rule); }
  .hero-grid, .about-grid, .contact-grid, .post-head-grid, .together { grid-template-columns: 1fr; }
  .hero-art { width: min(86%, 400px); margin-top: 12px; }
  .hero-art .note { left: -6%; bottom: -8%; max-width: 180px; }
  .hero-name .her { margin-right: .04em; }
  .manifesto { grid-template-columns: 1fr; }
  .series-head { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .duo .person:nth-of-type(2) { margin-top: 0; }
  .hbics::before { clip-path: polygon(70% 0, 100% 0, 100% 100%, 20% 100%); }
  .post-cover { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .files, .series-strip .files { grid-template-columns: 1fr 1fr; gap: 12px; }
  .file-secret { display: none; }
  .file-topic { font-size: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .bookmark-tail { width: 24px; height: 56px; font-size: 18px; padding-bottom: 14px; }
  .prose { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .typewriter { width: auto; border: 0; }
  .ticker-track { animation: none; }
}
