/* ─────────────────────────────────────────────
   LONE WOLVES — site.css
   Monochrome, cinematic, editorial. One warm accent (ember), used sparingly.
   ───────────────────────────────────────────── */

@font-face { font-family: "Lora"; src: url("/fonts/Lora-Variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/Lora-Italic-Variable.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0b0a;
  --bg-2: #131312;
  --ink: #ebe7df;
  --ink-2: #a39e95;
  --ink-3: #6f6b64;
  --line: rgba(235, 231, 223, .13);
  --line-2: rgba(235, 231, 223, .28);
  --ember: #c9a46a;
  --serif: "Lora", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.25rem);
  --max: 90rem;
  --mast: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--mast) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--ember); color: #0b0b0a; }
:focus-visible { outline: 1px solid var(--ember); outline-offset: 4px; }
em, i { font-style: italic; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: .6rem 1rem; font-size: .8rem; }
.skip:focus { top: .75rem; }

/* film grain — static texture, gently shifted */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ─── type ─── */
.meta { font-family: var(--sans); font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.meta a:hover { color: var(--ink); }
.title-xl, .title-l { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.02em; }
.title-l { font-size: clamp(2.6rem, 7.2vw, 6.25rem); line-height: .98; text-wrap: balance; }
.title-l em { color: var(--ink); }
.flag { display: inline-block; font-family: var(--sans); font-size: .5625rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); border: 1px solid rgba(201, 164, 106, .5); padding: .2em .55em .15em; line-height: 1.2; vertical-align: middle; }
.link-line { display: inline-flex; gap: .6em; align-items: center; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding-bottom: .4em; background: linear-gradient(var(--ember), var(--ember)) left bottom / 2.5rem 1px no-repeat; transition: background-size .5s var(--ease); }
.link-line:hover, a:hover .link-line { background-size: 100% 1px; }
.link-plain:hover { color: var(--ink); }

/* ─── masthead ─── */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--mast);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.masthead.is-solid, html:not(.js) .masthead { background: rgba(11, 11, 10, .86); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.wordmark { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; line-height: 1; }
.wordmark span + span { font-style: italic; }
.nav { display: none; align-items: center; gap: clamp(1rem, 1.8vw, 2rem); }
.nav a { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); padding: .5rem 0; position: relative; transition: color .25s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--ember); }
.nav__search { display: inline-flex; align-items: center; gap: .5rem; }
.nav__search svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle { display: inline-flex; align-items: center; gap: .8rem; background: none; border: 0; padding: .75rem 0 .75rem .75rem; cursor: pointer; font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.menu-toggle__icon { width: 22px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: transform .35s var(--ease), height .35s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { height: 0; border-bottom: 0; transform: rotate(0); }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
html:not(.js) .masthead { height: auto; min-height: var(--mast); flex-wrap: wrap; padding-block: .75rem; }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--mast) + 4vh) var(--gutter) 2rem; overflow-y: auto;
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__inner { max-width: var(--max); margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu__list a { display: block; font-family: var(--serif); font-size: clamp(2.1rem, 10vw, 3.75rem); line-height: 1.15; padding: .35rem 0; border-bottom: 1px solid var(--line); transform: translateY(12px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .2s; }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .03s; } .menu.is-open .menu__list li:nth-child(3) a { transition-delay: .06s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .09s; } .menu.is-open .menu__list li:nth-child(5) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .15s; } .menu.is-open .menu__list li:nth-child(7) a { transition-delay: .18s; }
.menu.is-open .menu__list li:nth-child(8) a { transition-delay: .21s; } .menu.is-open .menu__list li:nth-child(9) a { transition-delay: .24s; }
.menu__list a:hover { font-style: italic; color: var(--ember); }
.menu__foot { margin-top: auto; }
body.menu-open { overflow: hidden; }

/* ─── opening (home) ─── */
.opening {
  position: relative; height: 100vh; height: 100svh; min-height: 34rem; max-height: 72rem;
  display: grid; grid-template-rows: auto 1fr auto; background: #000; overflow: hidden; isolation: isolate;
}
.opening__frame { position: absolute; inset: var(--mast) 0 7.5rem; z-index: -1; overflow: hidden; background: #050505; }
.opening__img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; filter: grayscale(1) contrast(1.08) brightness(.82); transform-origin: 40% 55%; }
.opening__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,0) 55%),
  linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0) 25%),
  linear-gradient(to right, rgba(0,0,0,.4), rgba(0,0,0,0) 55%),
  radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%); }
.opening__credits { grid-row: 1; display: flex; justify-content: space-between; padding: calc(var(--mast) + 1.1rem) var(--gutter) 0; color: rgba(235, 231, 223, .72); }
.opening__title { grid-row: 2; align-self: end; padding: 0 var(--gutter) 1.25rem; }
.title-xl { font-size: clamp(4.4rem, 23vw, 15.5rem); line-height: .8; letter-spacing: -.035em; display: flex; flex-wrap: wrap; column-gap: .22em; }
.t-line { display: inline-block; }
.t-line--i { font-style: italic; }
.opening__lines { position: relative; height: 1.6em; margin: 1.4rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink-2); }
.opening__lines span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(.4em); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.opening__lines span { transition-duration: .7s; }
.opening__lines span.is-on { opacity: 1; transform: none; transition-duration: 1.1s; transition-delay: .75s; }
html:not(.js) .opening__lines { height: auto; } html:not(.js) .opening__lines span { position: static; display: block; opacity: 1; transform: none; }
.opening__foot { grid-row: 3; height: 7.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 0 var(--gutter); border-top: 1px solid var(--line); }
.opening__latest { display: grid; gap: .35rem; min-width: 0; }
.opening__latest-title { font-family: var(--serif); font-size: clamp(1.05rem, 2.2vw, 1.4rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.opening__latest:hover .opening__latest-title { color: var(--ember); }
.opening__enter { flex: none; color: var(--ink); display: inline-flex; gap: .75rem; align-items: center; padding: .75rem 0; }
.opening__enter span { display: inline-block; animation: nudge 2.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* entrance */
.js .opening__img { animation: emerge 3.4s var(--ease) both, drift 40s ease-in-out 3.4s infinite alternate; }
@keyframes emerge { from { opacity: 0; transform: scale(1.09); filter: grayscale(1) contrast(1.1) brightness(.2) blur(6px); } to { opacity: 1; transform: scale(1.02); } }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1.2%, -.8%, 0); } }
.js .opening .t-line { animation: rise 1.6s var(--ease) both; }
.js .opening .t-line--i { animation-delay: .25s; }
.js .opening__lines, .js .opening__credits, .js .opening__foot { animation: fade 1.6s var(--ease) .9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(.18em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 760px) {
  .opening__frame { inset: var(--mast) var(--gutter) 7.5rem; }
  .opening__title { padding-left: calc(var(--gutter) * 2); padding-bottom: 2rem; }
  .opening__credits { padding-left: calc(var(--gutter) * 2); padding-right: calc(var(--gutter) * 2); }
  .opening__img { object-position: 50% 45%; }
}

/* ─── encounter (manifesto) ─── */
.encounter { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 16vw, 13rem) var(--gutter) clamp(5rem, 12vw, 10rem); display: grid; gap: 2rem; }
.encounter__text { font-family: var(--serif); font-size: clamp(1.75rem, 4.4vw, 3.75rem); line-height: 1.14; letter-spacing: -.015em; margin: 0; max-width: 24ch; text-wrap: pretty; }
.encounter__text em { color: var(--ink-2); }
.encounter__text--b { justify-self: end; text-align: right; max-width: 18ch; }
.encounter__text--b em { color: var(--ember); }
.encounter .link-line { justify-self: end; margin-top: 1rem; }

/* ─── lead (home) ─── */
.lead { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 10vw, 8rem); }
.lead__link { display: grid; gap: 1.75rem; }
.lead__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.lead__img img, .story__img img, .article__hero img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform 1.6s var(--ease), filter .8s; }
.lead__link:hover .lead__img img, .story__link:hover .story__img img { transform: scale(1.035); filter: grayscale(.6) contrast(1.06); }
.lead__body { display: grid; gap: 1.1rem; align-content: end; }
.lead__title { font-family: var(--serif); font-size: clamp(2.3rem, 5.4vw, 4.9rem); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.lead__dek { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34ch; }
@media (min-width: 900px) {
  .lead__link { grid-template-columns: 7fr 5fr; gap: clamp(2rem, 4vw, 4.5rem); }
  .lead__img { aspect-ratio: 5 / 4; }
  .lead__body { padding-bottom: 1rem; }
}

/* ─── index rows ─── */
.index-block { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 10vw, 8rem); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.row { position: relative; border-bottom: 1px solid var(--line); }
.row__link { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num cat date" "title title title"; gap: .55rem 1rem; padding: 1.2rem 0 1.35rem; align-items: baseline; }
.row__num, .row__cat, .row__date { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.row__num { grid-area: num; } .row__cat { grid-area: cat; color: var(--ink-2); } .row__date { grid-area: date; font-variant-numeric: tabular-nums; }
.row__title { grid-area: title; font-family: var(--serif); font-size: clamp(1.45rem, 3.4vw, 2.5rem); line-height: 1.08; letter-spacing: -.01em; transition: transform .5s var(--ease), color .25s; text-wrap: balance; }
.row__thumb { display: none; }
.row__title .flag { margin-left: .6rem; transform: translateY(-.2em); }
.row__link:hover .row__title { transform: translateX(.6rem); color: var(--ember); }
@media (min-width: 900px) {
  .row__link { grid-template-columns: 6.5rem 1fr 9rem 6rem 8.5rem; grid-template-areas: "num title cat date thumb"; align-items: center; padding: 1.1rem 0; gap: 1.5rem; }
  .row__thumb { display: block; grid-area: thumb; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
  .row__thumb--none { background: none; }
  .row__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .5; transition: opacity .4s, transform 1s var(--ease); }
  .row__link:hover .row__thumb img { opacity: 1; transform: scale(1.05); }
  .row__date { text-align: right; }
}

/* ─── subjects ─── */
.subjects { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(5rem, 12vw, 10rem); }
.subjects > .meta { padding-bottom: 1rem; }
.subjects__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.subjects__list li { border-bottom: 1px solid var(--line); }
.subjects__list a { display: grid; grid-template-columns: 2.5rem 1fr auto; grid-template-areas: "n name count" ". desc desc"; gap: .3rem 1rem; padding: 1.4rem 0 1.5rem; align-items: baseline; }
.subjects__n { grid-area: n; color: var(--ink-3); }
.subjects__name { grid-area: name; font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 7.5rem); line-height: .95; letter-spacing: -.03em; transition: color .3s; }
.subjects__desc { grid-area: desc; color: var(--ink-2); font-size: .95rem; max-width: 36ch; line-height: 1.5; }
.subjects__count { grid-area: count; }
.subjects__list a:hover .subjects__name { font-style: italic; color: var(--ember); }
@media (min-width: 900px) {
  .subjects__list a { grid-template-columns: 4rem 1fr 22rem 7rem; grid-template-areas: "n name desc count"; align-items: center; }
  .subjects__count { text-align: right; }
}

/* ─── page head / filters ─── */
.page { min-height: 70vh; }
.page-head { max-width: var(--max); margin: 0 auto; padding: calc(var(--mast) + clamp(3.5rem, 9vw, 7rem)) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1.4rem; }
.page-head__dek { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--ink-2); max-width: 40ch; margin: 0; }
.filters { display: flex; gap: .4rem 1.6rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.filters a { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); padding: .55rem 0; position: relative; }
.filters a sup { font-size: .8em; color: var(--ink-3); letter-spacing: .05em; margin-left: .15em; }
.filters a:hover, .filters a[aria-current] { color: var(--ink); }
.filters a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--ember); }
.empty { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 6rem; color: var(--ink-2); font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.empty a { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: .2em; }

/* ─── spread (journal) ─── */
.spread { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 10vw, 8rem); display: grid; gap: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 3rem); }
.story__link { display: grid; gap: 1.2rem; }
.story__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.story__body { display: grid; gap: .7rem; }
.story__title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; transition: color .25s; }
.story__link:hover .story__title { color: var(--ember); }
.story__dek { color: var(--ink-2); font-family: var(--serif); font-style: italic; font-size: 1.05rem; max-width: 40ch; }
.story__img--type { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--line); background: radial-gradient(120% 120% at 100% 0%, #1b1a18, #0b0b0a 60%); }
.story__img--type span:not(.meta) { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: var(--ink-2); }
.story--l .story__title { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; }
@media (min-width: 900px) {
  .spread { grid-template-columns: repeat(12, 1fr); }
  .story--l { grid-column: 1 / -1; }
  .story--l .story__link { grid-template-columns: 8fr 4fr; gap: 3rem; align-items: end; }
  .story--l .story__img { aspect-ratio: 16 / 9; }
  .story--m { grid-column: span 6; }
  .story--m:nth-child(3n) { margin-top: 6rem; }
  .story--w { grid-column: 2 / -2; }
  .story--w .story__link { grid-template-columns: 7fr 4fr; gap: 3rem; align-items: center; }
  .story--w .story__img { aspect-ratio: 21 / 10; }
}

/* ─── article ─── */
.article__head { padding-top: var(--mast); }
.article__head--text { padding-top: calc(var(--mast) + clamp(4rem, 10vw, 8rem)); }
.article__hero { margin: 0; position: relative; overflow: hidden; }
.article__hero img { aspect-ratio: auto; height: min(75vw, 82svh); }
.article__hero figcaption { max-width: var(--max); margin: 0 auto; padding: .75rem var(--gutter) 0; font-size: .75rem; color: var(--ink-3); }
.js .article__hero img { animation: emerge 2.2s var(--ease) both; }
@media (min-width: 760px) { .article__hero img { height: min(42.86vw, 82svh); } }
.article__titles { max-width: 64rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.4rem; }
.meta-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.2rem; }
.meta-row a { color: var(--ink); }
.article__dek { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ink-2); margin: 0; max-width: 38ch; }
.article__by { color: var(--ink-3); }
.article__media { max-width: 48rem; margin: 0 auto 3rem; padding: 0 var(--gutter); }
.notice { max-width: 40rem; margin: 0 auto 3rem; padding: 1rem 1.2rem; border: 1px solid rgba(201, 164, 106, .35); border-left: 2px solid var(--ember); font-size: .875rem; line-height: 1.55; color: var(--ink-2); width: calc(100% - 2 * var(--gutter)); }
.notice strong { color: var(--ember); font-weight: 500; }
.notice code { font-size: .8rem; color: var(--ink); word-break: break-all; }

.prose { max-width: 40rem; margin: 0 auto; padding: 0 var(--gutter); font-family: var(--serif); font-size: 1.125rem; line-height: 1.75; color: #d9d4cb; }
@media (min-width: 760px) { .prose { font-size: 1.25rem; max-width: 43rem; } }
.prose > * { margin: 0 0 1.4em; }
.prose > p:first-child { font-size: 1.22em; line-height: 1.55; color: var(--ink); }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -.01em; margin: 2.2em 0 .7em; line-height: 1.2; }
.prose h2 { font-size: 1.75em; font-style: italic; }
.prose h3 { font-size: 1.3em; }
.prose h4 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.prose a:hover { color: var(--ember); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--ink-3); }
.prose hr { border: 0; height: 1px; width: 3rem; background: var(--ember); margin: 3em auto; }
.prose code { font-size: .85em; background: var(--bg-2); padding: .1em .35em; }
.prose blockquote { margin-left: 0; padding-left: 1.4em; border-left: 1px solid var(--line-2); color: var(--ink-2); font-style: italic; }
.prose blockquote.pull { border: 0; padding: 0; margin: 2.4em 0; text-align: left; }
.prose blockquote.pull p { font-size: clamp(1.7rem, 3.8vw, 2.6rem); line-height: 1.15; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .6em; text-wrap: balance; }
.prose blockquote.pull p::before { content: ""; display: block; width: 2.5rem; height: 1px; background: var(--ember); margin-bottom: 1.2rem; }
.prose blockquote.pull cite { font-family: var(--sans); font-style: normal; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.prose img { filter: grayscale(.15); }
.prose .fig, .prose .gallery, .prose .embed--video { width: min(62rem, 100vw - 2 * var(--gutter)); margin-left: 50%; transform: translateX(-50%); margin-top: 2.6em; margin-bottom: 2.6em; }
.prose .fig--wide { width: 100vw; }
.prose .fig img { width: 100%; }
.prose figcaption, .embed figcaption { font-family: var(--sans); font-size: .75rem; line-height: 1.5; color: var(--ink-3); margin-top: .8rem; max-width: 40rem; }
.prose .fig--wide figcaption { padding: 0 var(--gutter); }
.gallery { display: grid; gap: clamp(.5rem, 1.5vw, 1rem); grid-template-columns: 1fr 1fr; }
.gallery .fig { margin: 0; width: auto; transform: none; }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; height: 100%; }
.gallery--3 .fig:first-child { grid-column: 1 / -1; }
.gallery--3 .fig:first-child img { aspect-ratio: 16 / 9; }
@media (min-width: 760px) { .gallery--3 { grid-template-columns: 1fr 1fr 1fr; } .gallery--3 .fig:first-child { grid-column: auto; } .gallery--3 .fig:first-child img { aspect-ratio: 4 / 5; } }

.embed { margin: 2.4em 0; }
.embed__frame { position: relative; background: var(--bg-2); border: 1px solid var(--line); }
.embed--video .embed__frame { aspect-ratio: 16 / 9; }
.embed--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--audio .embed__frame { height: var(--h, 166px); border: 0; background: transparent; }
.embed--audio iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.embed video { width: 100%; background: #000; }
.embed audio { width: 100%; }
.article__media .embed { margin: 0; }

.article__foot { max-width: 40rem; margin: 3rem auto 0; padding: 0 var(--gutter) clamp(4rem, 10vw, 7rem); display: grid; gap: 1rem; }
.end-mark { color: var(--ember); font-family: var(--serif); font-size: 1.5rem; }
.article__foot a { color: var(--ink); }
.article--page { padding-bottom: clamp(4rem, 10vw, 8rem); }
.prose--about { max-width: 43rem; }

.pager { max-width: var(--max); margin: 0 auto clamp(4rem, 10vw, 7rem); padding: 0 var(--gutter); display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.pager__item { display: grid; gap: .6rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.pager__title { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.1; transition: color .25s; }
.pager__item:hover .pager__title { color: var(--ember); }
@media (min-width: 760px) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__item { border-bottom: 0; padding: 2rem 0; }
  .pager__item--next { text-align: right; padding-left: 2rem; border-left: 1px solid var(--line); }
  .pager > a:first-child { padding-right: 2rem; }
}

/* ─── search ─── */
.search { display: flex; gap: 0; border-bottom: 1px solid var(--line-2); margin-top: 1rem; max-width: 48rem; }
.search input { flex: 1; min-width: 0; background: none; border: 0; padding: .9rem 0; font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 2.2rem); outline: none; }
.search input::placeholder { color: var(--ink-3); font-style: italic; }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.search button { background: none; border: 0; cursor: pointer; font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); padding: 0 0 0 1rem; }
.search button:hover { color: var(--ink); }
.search:focus-within { border-bottom-color: var(--ember); }
.page > .rows { max-width: var(--max); margin: 0 auto 6rem; padding: 0 var(--gutter); border-top: 0; }
.page > .rows .row:first-child { border-top: 1px solid var(--line-2); }
.search__status { min-height: 1em; }
mark { background: none; color: var(--ember); }

/* ─── footer ─── */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 8vw, 6rem) var(--gutter) 2rem; max-width: 100%; display: grid; gap: 1.5rem; overflow: hidden; }
.footer__mark { font-family: var(--serif); font-size: clamp(3.4rem, 15.5vw, 15rem); line-height: .85; letter-spacing: -.04em; white-space: nowrap; color: var(--ink); }
.footer__line { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer__nav a { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); padding: .55rem 0; }
.footer__nav a:hover { color: var(--ink); }
.footer__legal { color: var(--ink-3); }

/* ─── reveal on scroll ─── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .opening__lines { height: auto; }
  .opening__lines span { position: static; display: block; opacity: 1; transform: none; }
}

@media print {
  body::after, .masthead, .menu, .footer, .pager, .opening__foot { display: none !important; }
  body { background: #fff; color: #000; }
}
