/* Warren Publishing.
 *
 * Two surfaces, alternating: ink and paper. Ink sections are cinematic — full
 * bleed, grain, a single warm light — and paper sections are editorial, set on
 * a measured column with a running head like a book's. The whole thing is built
 * around the one asset this publisher has that nobody else does: 590 covers.
 *
 * The blue-black is not a neutral near-black. PipeVine Press is named for the
 * pipevine swallowtail, which is iridescent blue over black, and every dark
 * surface here is mixed towards that hue.
 *
 * Type: Instrument Serif for display (its italic is the accent, which is what
 * the <i> in a CMS heading field turns into), Archivo for reading, Martian Mono
 * for anything that is catalog data — prices, counts, formats, running heads.
 */

:root {
  --ink: oklch(17% 0.028 268);
  --deep: oklch(11.5% 0.024 268);
  --raise: oklch(23% 0.03 268);
  --paper: oklch(95.5% 0.013 84);
  --leaf: oklch(91.5% 0.017 82);
  --foil: oklch(80% 0.115 82);
  --iris: oklch(66% 0.15 278);
  --red: oklch(53% 0.19 27);
  --text: oklch(21% 0.02 268);
  --quiet: oklch(46% 0.015 268);
  --quietlight: oklch(72% 0.018 268);
  --rule: oklch(84% 0.014 84);
  --rulelight: oklch(100% 0 0 / 0.16);

  --display: "Instrument Serif", Georgia, serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 6vw, 118px);
  --headerh: 86px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
/* `height: auto` is load-bearing, not tidiness: every cover carries width and
 * height attributes so the browser can reserve its box before the file lands,
 * and without this the attribute height is treated as a real height while
 * max-width scales the width — which stretches the picture. */
img { display: block; max-width: 100%; height: auto; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(52px, 9vw, 158px); line-height: 0.87; }
h2 { font-size: clamp(36px, 4.8vw, 82px); line-height: 0.92; }
h3 { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.15; }

/* The italic is the only emphasis the display face needs, and it is what an
 * editor gets when they wrap a word in <i> in a heading field. */
h1 i, h2 i, h3 i { font-style: italic; color: var(--foil); }

p { margin: 0; }

/* Section heads are a running head, a heading, and a paragraph, in that order,
 * everywhere. The gap belongs to the pair rather than to every head's own rule. */
h2 + .body, h2 + .lede, h2 + .rostercount { margin-top: 22px; }
h3 + p { margin-top: 8px; }

.lede {
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  color: oklch(88% 0.014 268);
  max-width: 46ch;
  text-wrap: pretty;
}

.body {
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: var(--quiet);
  max-width: 62ch;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- devices */

/* A running head, like the one across the top of a book's page: the section's
 * name, then a rule that fades out the way a foil stamp catches light. */
.runninghead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(52% 0.06 82);
}

.runninghead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: 0.5;
}

.runninghead.light { color: var(--foil); }

.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(oklch(100% 0 0 / 0.7) 0.7px, transparent 0.8px),
    radial-gradient(oklch(100% 0 0 / 0.45) 0.5px, transparent 0.7px);
  background-position: 0 0, 17px 23px;
  background-size: 29px 29px, 41px 41px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 0;
  border-radius: 2px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.button i { font-style: normal; transition: transform 0.25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover i { transform: translateX(3px); }

.button.foil {
  background: linear-gradient(100deg, oklch(86% 0.1 88), var(--foil) 55%, oklch(73% 0.11 72));
  color: oklch(19% 0.04 60);
  box-shadow: 0 10px 30px oklch(60% 0.12 80 / 0.25);
}

.button.light { background: var(--paper); color: var(--ink); }
.button.ink { background: var(--ink); color: var(--paper); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--foil);
}

.textlink i { font-style: normal; font-size: 15px; transition: transform 0.2s ease; }
.textlink:hover i { transform: translateX(3px); }
.textlink.dark { color: var(--text); border-color: oklch(60% 0.02 268 / 0.4); }
.textlink.light { color: oklch(92% 0.01 268); border-color: oklch(92% 0.01 268 / 0.4); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].shown { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- chrome */

.notice {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 9px var(--gutter);
  background: var(--deep);
  color: oklch(88% 0.012 268);
  font-size: 12px;
}

.notice span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foil);
}

.notice a { color: var(--foil); border-bottom: 1px solid oklch(80% 0.11 82 / 0.4); padding-bottom: 1px; }
.notice i { font-style: normal; }

.headersentinel { position: absolute; top: 120px; height: 1px; width: 100%; }

.pageheader {
  position: sticky;
  top: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  height: var(--headerh);
  padding: 0 var(--gutter);
  color: oklch(96% 0.006 268);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.pageheader.settled {
  background: oklch(13% 0.024 268 / 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--rulelight);
}

.brand { display: block; flex: none; }
.brand img { width: clamp(108px, 11vw, 148px); height: auto; filter: brightness(0) invert(1); transition: width 0.3s ease; }
.pageheader.settled .brand img { width: clamp(96px, 9vw, 120px); }

#menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); margin-left: auto; }

#menu a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  padding-block: 4px;
}

#menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--foil);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

#menu a:hover::after, #menu a[aria-current="page"]::after { transform: scaleX(1); }
.menusubmit { display: none; }

.headercta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 19px;
  border: 1px solid oklch(80% 0.11 82 / 0.5);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--foil);
  transition: background 0.25s ease, color 0.25s ease;
}

.headercta i { font-style: normal; }
.headercta:hover { background: var(--foil); color: oklch(19% 0.04 60); }

.menubutton {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.menubutton span {
  width: 22px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

/* ---------------------------------------------------------------- the wall */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(1020px, 94svh);
  margin-top: calc(var(--headerh) * -1);
  padding: calc(var(--headerh) + 104px) var(--gutter) 0;
  background: var(--ink);
  color: oklch(97% 0.005 268);
  overflow: hidden;
}

.wall {
  position: absolute;
  inset: -16% -12%;
  z-index: -2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  transform: rotate(-4deg) scale(1.16);
}

.wallrow { display: flex; gap: clamp(16px, 2vw, 30px); width: max-content; animation: drift 120s linear infinite; }
.wallrow.back { animation-duration: 155s; animation-direction: reverse; }

.wallrow span {
  flex: none;
  width: clamp(118px, 11vw, 178px);
  aspect-ratio: 2 / 3;
  background-image: var(--jacket);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 44px oklch(8% 0.02 268 / 0.55);
}

@keyframes drift { to { transform: translateX(-50%); } }

.herowash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(78deg, oklch(13% 0.026 268 / 0.97) 0%, oklch(14% 0.026 268 / 0.9) 34%, oklch(16% 0.026 268 / 0.5) 68%, oklch(12% 0.02 268 / 0.72) 100%),
    radial-gradient(120% 80% at 8% 42%, oklch(30% 0.05 268 / 0.5), transparent 62%),
    linear-gradient(0deg, oklch(11% 0.02 268) 2%, transparent 34%);
}

.herocopy { position: relative; z-index: 2; max-width: 1000px; padding-bottom: clamp(48px, 7vw, 96px); }

.kicker {
  font-family: var(--mono);
  font-size: clamp(9px, 0.75vw, 10.5px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foil);
  margin-bottom: 26px;
}

.hero h1 { margin-bottom: 30px; }
.hero .lede { margin-bottom: 38px; }

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }

.figures {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--rulelight);
}

.figures div { padding: 22px 22px 26px 0; }
.figures div + div { border-left: 1px solid var(--rulelight); padding-left: clamp(16px, 2.5vw, 40px); }
.figures dt { font-family: var(--display); font-size: clamp(28px, 3.2vw, 46px); line-height: 1; color: var(--foil); }
.figures dd {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--quietlight);
}

/* ------------------------------------------------------------ paper sheets */

.sheet { padding: clamp(72px, 9vw, 148px) var(--gutter); background: var(--paper); }
.sheet + .sheet { padding-top: 0; }

.intro { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.intro .runninghead { margin-top: 12px; }
.intro h2 { margin-bottom: 30px; }
.intro .body { margin-bottom: 32px; }

/* ---------------------------------------------------------- the lead title */

.lead {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  padding: clamp(72px, 9vw, 150px) var(--gutter);
  background: var(--ink);
  color: oklch(96% 0.006 268);
  overflow: hidden;
}

/* The book's own cover, blown up and blurred, is the light source behind it. */
.leadfield {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background-image: var(--jacket);
  background-size: cover;
  background-position: center;
  filter: blur(70px) saturate(1.4);
  opacity: 0.42;
}

.lead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, oklch(14% 0.026 268 / 0.72), oklch(14% 0.026 268 / 0.93));
}

.leadjacket {
  position: relative;
  justify-self: end;
  display: block;
  width: min(100%, 400px);
  box-shadow: 0 40px 90px oklch(6% 0.02 268 / 0.65);
  transform: rotate(-2deg);
  transition: transform 0.6s var(--ease);
}

.leadjacket:hover { transform: rotate(0deg) translateY(-6px); }
.leadjacket img { width: 100%; height: auto; }
.leadjacket:has(.stamp) { aspect-ratio: 2 / 3; display: grid; place-items: center; padding: 30px; }
.leadnote {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foil);
  margin-bottom: 14px;
}

.lead h2 { margin-bottom: 12px; }
.leadby { font-family: var(--display); font-style: italic; font-size: clamp(19px, 1.7vw, 25px); color: oklch(85% 0.02 268); margin-bottom: 24px; }
.lead .body { color: oklch(80% 0.012 268); margin-bottom: 28px; }

.specrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--quietlight);
}

.specrow b { color: var(--foil); font-weight: 500; }

/* ------------------------------------------------------------- the process */

.steps { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.stepshead h2 { margin-bottom: 24px; }

.steplist { list-style: none; margin: 0; padding: 0; counter-reset: step; }

.steplist li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px clamp(18px, 3vw, 44px);
  padding: 30px 0;
  border-top: 1px solid var(--rule);
}

.steplist li:last-child { border-bottom: 1px solid var(--rule); }

.stepno {
  grid-row: span 3;
  font-family: var(--display);
  font-size: 46px;
  line-height: 0.8;
  color: var(--foil);
}

.steplist h3, .processlist h3 { margin-bottom: 6px; }
.stepsummary { font-family: var(--display); font-style: italic; font-size: clamp(17px, 1.5vw, 21px); color: var(--text); margin-bottom: 10px; }
.stepbody { font-size: 15.5px; line-height: 1.7; color: var(--quiet); max-width: 66ch; }

.process {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 150px) var(--gutter);
  background: var(--ink);
  color: oklch(96% 0.006 268);
}

.processhead { max-width: 780px; margin-bottom: clamp(40px, 5vw, 76px); }
.processhead h2 { margin-bottom: 22px; }

.processlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }

.processlist li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(26px, 3vw, 42px) 0;
  border-top: 1px solid var(--rulelight);
}

.processlist li:last-child { border-bottom: 1px solid var(--rulelight); }
.process .stepsummary { color: oklch(90% 0.01 268); }
.process .stepbody { color: oklch(72% 0.014 268); }
.process .stepno { font-size: clamp(46px, 5vw, 74px); }

/* --------------------------------------------------------- author in focus */

.focus {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 84px);
  padding: clamp(72px, 9vw, 150px) var(--gutter);
  background: var(--deep);
  color: oklch(96% 0.006 268);
}

.focusportrait { position: relative; overflow: hidden; background: var(--raise); align-self: start; }
.focusportrait img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; filter: saturate(0.85) contrast(1.05); }
.focusportrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, oklch(11% 0.02 268 / 0.55));
}

.focuscopy h2 { margin-bottom: 10px; }
.focusplace {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foil);
  margin-bottom: 24px;
}

.focusbooks { grid-column: 2; display: flex; flex-wrap: wrap; gap: 22px; margin-top: 8px; }
.focusbook { width: 116px; }
.focusbook b { display: block; margin-top: 12px; font-size: 12px; font-weight: 500; line-height: 1.35; color: oklch(82% 0.012 268); }
.focusbook .jacket { box-shadow: 0 16px 34px oklch(6% 0.02 268 / 0.5); transition: transform 0.4s var(--ease); }
.focusbook:hover .jacket { transform: translateY(-5px); }

/* ------------------------------------------------------------------ quotes */

.voices .voiceshead, .voicesdark .voiceshead { max-width: 700px; margin-bottom: clamp(34px, 4vw, 60px); }

.quotegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.4vw, 34px); margin-bottom: 40px; }

.quote { margin: 0; padding: 32px 30px 28px; background: var(--leaf); border-top: 2px solid var(--foil); }
.quote blockquote { margin: 0 0 22px; font-family: var(--display); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.35; }
.quote blockquote::before { content: "“"; color: var(--foil); }
.quote blockquote::after { content: "”"; color: var(--foil); }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 10px; font-weight: 300; letter-spacing: 0.08em; }
.quote figcaption b { font-weight: 500; text-transform: uppercase; letter-spacing: 0.13em; }
.quote figcaption span { color: var(--quiet); }

.voicesdark {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 148px) var(--gutter);
  background: var(--ink);
  color: oklch(96% 0.006 268);
}

/* A rail rather than a grid: the quotes are long, and scrolling them sideways
 * keeps the page from becoming a wall of testimonial. */
.quoterail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(400px, 78vw);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: thin;
}

.quoterail .quote { background: var(--raise); scroll-snap-align: start; }
.quoterail .quote figcaption span { color: var(--quietlight); }

/* ------------------------------------------------------------------ shelves */

.shelfgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(132px, 14vw, 182px), 1fr));
  align-items: end;
  gap: clamp(26px, 3vw, 46px) clamp(18px, 2vw, 30px);
}

.book a { display: block; }

.jacket {
  position: relative;
  display: block;
  background: var(--raise);
  box-shadow: 0 14px 30px oklch(20% 0.02 268 / 0.22);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.jacket img { width: 100%; height: auto; }
/* A title with no cover gets a cloth binding instead of an empty box. */
.jacket:has(.stamp) { aspect-ratio: 2 / 3; display: grid; place-items: center; padding: 18px; }

.book a:hover .jacket, .focusbook:hover .jacket { transform: translateY(-6px); box-shadow: 0 22px 44px oklch(20% 0.02 268 / 0.32); }

.stamp {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  color: oklch(84% 0.09 84 / 0.72);
  text-align: center;
  overflow-wrap: anywhere;
}

.oxblood { background: oklch(30% 0.085 25); }
.moss { background: oklch(33% 0.055 148); }
.navy { background: oklch(28% 0.065 262); }
.ochre { background: oklch(42% 0.085 76); }
.slate { background: oklch(33% 0.018 250); }
.plum { background: oklch(29% 0.075 330); }

.oxblood, .moss, .navy, .ochre, .slate, .plum {
  background-image: repeating-linear-gradient(
    0deg,
    oklch(100% 0 0 / 0.035) 0 1px,
    transparent 1px 3px
  );
}

.flag {
  position: absolute;
  left: 0;
  bottom: 12px;
  padding: 5px 10px;
  background: var(--foil);
  color: oklch(19% 0.04 60);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book h3 { margin: 16px 0 4px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.2; }
.book .by { font-size: 12.5px; color: var(--quiet); margin-bottom: 8px; }

.spec {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--quiet);
}

.spec b { font-weight: 500; color: var(--text); }
.lifthigh { margin-bottom: 30px; }
.liftlow { margin-bottom: -10px; }

/* ------------------------------------------------------------- the catalog */

.opening {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(600px, 70svh);
  margin-top: calc(var(--headerh) * -1);
  padding: calc(var(--headerh) + 84px) var(--gutter) clamp(52px, 6vw, 92px);
  background: var(--ink);
  color: oklch(97% 0.005 268);
  overflow: hidden;
}

.opening.tall { min-height: min(760px, 82svh); }

.openingart {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--jacket);
  background-size: cover;
  background-position: center 38%;
  filter: saturate(0.55) contrast(1.1) brightness(0.6);
  animation: breathe 24s ease-in-out infinite alternate;
}

.opening::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(20deg, oklch(13% 0.026 268 / 0.96) 12%, oklch(15% 0.026 268 / 0.72) 62%, oklch(13% 0.026 268 / 0.86));
}

@keyframes breathe { to { transform: scale(1.08); } }

.openingcopy { position: relative; z-index: 2; max-width: 1000px; }
.opening h1 { margin-bottom: 26px; }
.opening .actions { margin-top: 34px; }

.openingcount {
  position: relative;
  z-index: 2;
  margin-left: auto;
  align-self: flex-end;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quietlight);
}

.openingcount b { display: block; font-family: var(--display); font-size: 48px; font-weight: 400; letter-spacing: 0; color: var(--foil); }

.catalog { padding-top: clamp(34px, 4vw, 60px); }

.shelfbar {
  position: sticky;
  top: var(--headerh);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 20px;
  padding: 14px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.shelfsearch { flex: 1 1 300px; display: flex; align-items: baseline; gap: 14px; }
.shelfsearch label {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(52% 0.06 82);
  white-space: nowrap;
}

.shelfsearch input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 26px);
  color: var(--text);
}

.shelfsearch input::placeholder { color: oklch(70% 0.01 268); }
.shelfsearch input:focus { outline: none; border-bottom-color: var(--foil); }

.shelfcount { font-family: var(--mono); font-size: 10px; font-weight: 300; letter-spacing: 0.08em; color: var(--quiet); }
.shelfcount b { font-weight: 500; color: var(--text); }

.shelfpicks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(34px, 4vw, 58px); }

.shelfpick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: none;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shelfpick b { font-family: var(--mono); font-size: 9px; font-weight: 300; color: var(--quiet); }
.shelfpick:hover { border-color: var(--foil); }
.shelfpick.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shelfpick.active b { color: var(--foil); }

.shelfempty { padding: 60px 0; font-family: var(--display); font-size: 24px; color: var(--quiet); }

/* --------------------------------------------------------------- one title */

.title {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 90px);
  margin-top: calc(var(--headerh) * -1);
  padding: calc(var(--headerh) + 84px) var(--gutter) clamp(70px, 8vw, 120px);
  background: var(--ink);
  color: oklch(96% 0.006 268);
  overflow: hidden;
}

.titlefield {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background-image: var(--jacket);
  background-size: cover;
  background-position: center;
  filter: blur(80px) saturate(1.4);
  opacity: 0.45;
}

.title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, oklch(13% 0.026 268 / 0.78), oklch(13% 0.026 268 / 0.94));
}

.titlejacket {
  position: relative;
  justify-self: end;
  align-self: center;
  width: min(100%, 380px);
  box-shadow: 0 44px 96px oklch(6% 0.02 268 / 0.7);
}

.titlejacket:has(.stamp) { aspect-ratio: 2 / 3; display: grid; place-items: center; padding: 26px; }
.titlecopy { position: relative; z-index: 2; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--quietlight);
}

.backlink i { font-style: normal; }
.backlink:hover { color: var(--foil); }

.title h1 { font-size: clamp(38px, 4.6vw, 74px); margin-bottom: 14px; }
.titleby { font-family: var(--display); font-style: italic; font-size: clamp(20px, 1.8vw, 27px); color: oklch(86% 0.02 268); margin-bottom: 26px; }
.titleby a { border-bottom: 1px solid oklch(80% 0.11 82 / 0.45); }
.titleby a:hover { color: var(--foil); }
.title .lede { margin-bottom: 34px; max-width: 54ch; }

.titlespec { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 0 0 34px; background: var(--rulelight); border: 1px solid var(--rulelight); }
.titlespec div { padding: 14px 16px; background: oklch(15% 0.026 268 / 0.6); }
.titlespec dt { font-family: var(--mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: var(--quietlight); }
.titlespec dd { margin: 6px 0 0; font-size: 14px; font-weight: 500; }

.titlenote { margin-top: 20px; font-size: 12.5px; color: var(--quietlight); max-width: 46ch; }

.morehead, .strip .striphead, .archivehead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0 30px;
  margin-bottom: clamp(30px, 3.5vw, 52px);
}

.morehead .runninghead, .strip .striphead .runninghead, .archivehead .runninghead { grid-column: 1; max-width: 360px; }
.morehead h2, .strip .striphead h2, .archivehead h2 { grid-column: 1; }
.morehead .textlink, .strip .striphead .textlink { grid-column: 2; grid-row: 2; justify-self: end; }

/* ------------------------------------------------------------- the roster */

.roster { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.rostercount { margin-top: 20px; font-family: var(--mono); font-size: 10px; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }
.rostercount b { font-family: var(--display); font-size: 40px; font-weight: 400; letter-spacing: 0; color: var(--foil); display: block; }

.rosterlist {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: clamp(20px, 3vw, 48px);
}

.rosterlist li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.rosterlist a, .rosterlist span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 0; font-size: 14.5px; }
.rosterlist span { color: oklch(62% 0.012 268); }
.rosterlist a b { font-family: var(--mono); font-size: 9px; font-weight: 300; color: var(--quiet); }
.rosterlist a:hover { color: oklch(38% 0.09 40); }
.rosterlist a:hover b { color: var(--foil); }

.awards .awardshead, .onair .airhead, .shelves .shelveshead, .standing .standinghead,
.wanted .wantedhead, .rules .ruleshead, .story .storyhead, .channels .channelshead,
.services .serviceshead, .plans .planshead, .models .modelshead {
  max-width: 720px;
  margin-bottom: clamp(30px, 3.5vw, 52px);
}

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

.awardlist li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.4fr) 60px;
  gap: 8px 24px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.awardlist li:last-child { border-bottom: 1px solid var(--rule); }
.awardlist b { font-family: var(--display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; }
.awardby { font-size: 13.5px; color: var(--quiet); }
.awardprize { font-size: 13.5px; }
.awardyear { font-family: var(--mono); font-size: 10px; font-weight: 300; color: var(--foil); text-align: right; }

.airlist, .wantedlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.airlist li, .wantedlist li {
  padding: 9px 15px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
}

.wantedlist li { border-color: oklch(80% 0.11 82 / 0.55); }
.wantednot { margin-top: 26px; font-size: 13.5px; color: var(--quiet); max-width: 60ch; }

/* -------------------------------------------------------------- one author */

.personhero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  align-items: end;
  gap: clamp(28px, 4vw, 70px);
  margin-top: calc(var(--headerh) * -1);
  padding: calc(var(--headerh) + 84px) var(--gutter) clamp(52px, 6vw, 88px);
  background: var(--ink);
  color: oklch(97% 0.005 268);
  overflow: hidden;
}

.personcopy { position: relative; z-index: 2; }
.personhero h1 { font-size: clamp(44px, 6.5vw, 108px); margin-bottom: 18px; }
.personplace, .personcount {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quietlight);
}

.personplace { color: var(--foil); margin-bottom: 10px; }
.personcount b { color: var(--foil); font-weight: 500; }
.personlinks { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.personlinks a { font-size: 12.5px; font-weight: 600; color: var(--foil); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.personlinks i { font-style: normal; }
/* Most of the roster has no portrait. Rather than leave half the opening
 * empty, the copy takes the whole width when there is nothing beside it. */
.personhero:not(:has(.personportrait)) { grid-template-columns: minmax(0, 1fr); }
.personportrait { position: relative; z-index: 2; justify-self: end; width: min(100%, 320px); }
.personportrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.personbio { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }

/* ---------------------------------------------------------------- the prose */

.prose { max-width: 68ch; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.75; color: var(--text); }
.prose.small { font-size: 15.5px; line-height: 1.7; color: oklch(80% 0.012 268); max-width: 52ch; }
.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { border-bottom: 1px solid oklch(60% 0.02 268 / 0.4); }
.prose a:hover { color: oklch(38% 0.09 40); border-color: currentColor; }
.prose h2, .prose h3 { margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { font-weight: 600; }
.prose em { font-family: var(--display); font-style: italic; font-size: 1.08em; }

.reading { display: grid; justify-content: center; padding-top: clamp(48px, 6vw, 88px); }
.postfoot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); }

/* -------------------------------------------------------------- publishing */

.models { display: block; }
.modelgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }

.model { position: relative; padding: clamp(28px, 3vw, 42px); background: var(--paper); }
.model.ours { background: var(--ink); color: oklch(95% 0.006 268); }
.model.ours .modelbody { color: oklch(76% 0.014 268); }
.model.ours .modelfacts div { border-color: var(--rulelight); }
.model.ours .modelfacts dt { color: var(--quietlight); }

.ourflag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 10px;
  background: var(--foil);
  color: oklch(19% 0.04 60);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.model h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 8px; }
.modelsummary { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--foil); margin-bottom: 22px; }
.modelfacts { margin: 0 0 22px; }
.modelfacts div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); }
.modelfacts dt { font-family: var(--mono); font-size: 9px; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }
.modelfacts dd { margin: 0; font-size: 13.5px; font-weight: 600; }
.modelbody { font-size: 14.5px; line-height: 1.7; color: var(--quiet); }

.department { padding: clamp(26px, 3vw, 40px) 0; border-top: 1px solid var(--rule); }
.department:last-of-type { border-bottom: 1px solid var(--rule); }
.department h3 { font-style: italic; color: oklch(42% 0.07 60); margin-bottom: 18px; }
.department dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px clamp(24px, 3vw, 48px); margin: 0; }
.department dt { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.department dd { margin: 0; font-size: 14px; line-height: 1.65; color: var(--quiet); }

.plangrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.plan { padding: clamp(24px, 2.6vw, 34px); background: var(--leaf); border-top: 2px solid var(--rule); }
.planwide { grid-column: span 2; background: var(--ink); color: oklch(95% 0.006 268); border-top-color: var(--foil); }
.planwide .plansummary, .planwide ul { color: oklch(78% 0.014 268); }
.planwide li { border-color: var(--rulelight); }

.plan h3 { font-size: clamp(20px, 1.7vw, 25px); margin-bottom: 12px; }
.planprice { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.planprice b { font-family: var(--display); font-size: clamp(30px, 2.8vw, 44px); font-weight: 400; color: var(--foil); }
.planprice span { font-family: var(--mono); font-size: 9.5px; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }
.plansummary { font-size: 14px; line-height: 1.6; color: var(--quiet); margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.55; }
.plannote { margin-top: 30px; font-size: 13px; color: var(--quiet); }

/* ------------------------------------------------------------- submissions */

.ruleslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.ruleslist li { display: flex; align-items: baseline; gap: 18px; padding: 16px 20px; background: var(--paper); font-size: clamp(15px, 1.3vw, 18px); }
.ruleslist span { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--foil); }
.ainotice { margin-top: 28px; padding: 20px 22px; border-left: 2px solid var(--red); background: var(--leaf); font-size: 14px; line-height: 1.65; max-width: 68ch; }

.afterward {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 148px) var(--gutter);
  background: var(--ink);
  color: oklch(96% 0.006 268);
}

.afterhead { max-width: 700px; margin-bottom: clamp(34px, 4vw, 60px); }
.aftergrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--rulelight); border: 1px solid var(--rulelight); }
.aftergrid article { padding: clamp(24px, 2.6vw, 36px); background: oklch(15% 0.026 268 / 0.7); }
.aftergrid h3 { margin: 14px 0 10px; font-size: clamp(19px, 1.6vw, 24px); }
.aftergrid p { font-size: 14px; line-height: 1.65; color: oklch(76% 0.014 268); }

/* ------------------------------------------------------------------- forms */

.ask { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.askhead h2 { margin-bottom: 20px; }
.asknote { margin-top: 20px; font-size: 12.5px; color: var(--quiet); max-width: 44ch; }

.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.inquiry label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--quiet); }
.inquiry .wide, .inquiry .sent, .inquiry button { grid-column: 1 / -1; }

.inquiry input, .inquiry textarea, .inquiry select {
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}

.inquiry textarea { resize: vertical; }
.inquiry input:focus, .inquiry textarea:focus, .inquiry select:focus { outline: none; border-color: var(--foil); }

.inquiry button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}

.inquiry button i { font-style: normal; }
.inquiry button:hover { transform: translateY(-2px); }

.sent { padding: 14px 18px; border-left: 2px solid var(--foil); background: var(--leaf); font-size: 14px; }
.sent.bad { border-color: var(--red); }

.phonenote { margin-top: 28px; padding: 16px 20px; border-left: 2px solid var(--foil); background: var(--leaf); font-size: 13.5px; line-height: 1.6; max-width: 66ch; }

.channelgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.channel { padding: clamp(24px, 2.6vw, 34px); background: var(--paper); }
.channel h3 { font-size: clamp(19px, 1.6vw, 24px); margin-bottom: 10px; }
.channel p { font-size: 14px; line-height: 1.65; color: var(--quiet); margin-bottom: 16px; }

.visit {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding: clamp(72px, 9vw, 140px) var(--gutter);
  background: var(--deep);
  color: oklch(96% 0.006 268);
}

.visitcard { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--rulelight); background: oklch(16% 0.026 268 / 0.6); }
.visitcard address { font-style: normal; font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; margin-bottom: 20px; }
.visitphone { display: block; margin-bottom: 16px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--foil); }

/* -------------------------------------------------------------------- team */

.team {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 148px) var(--gutter);
  background: var(--ink);
  color: oklch(96% 0.006 268);
}

.teamhead { max-width: 720px; margin-bottom: clamp(34px, 4vw, 60px); }
.teamgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.personface { background: var(--raise); margin-bottom: 20px; overflow: hidden; }
.personface img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.8) contrast(1.05); transition: transform 0.6s var(--ease); }
.person:hover .personface img { transform: scale(1.04); }
.person h3 { margin-bottom: 4px; }
.personrole { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--foil); margin-bottom: 4px; }
.personsince { font-family: var(--mono); font-size: 9px; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quietlight); margin-bottom: 16px; }
.personbio { font-size: 14px; line-height: 1.7; color: oklch(76% 0.014 268); }

.imprint { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.imprint h2 { margin-bottom: 20px; }

.shelvesgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.shelfgroup h3 { font-size: 18px; font-style: italic; color: oklch(42% 0.07 60); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.shelfgroup ul { list-style: none; margin: 0; padding: 0; }
.shelfgroup li { padding: 7px 0; font-size: 13.5px; color: var(--quiet); border-bottom: 1px solid oklch(84% 0.014 84 / 0.5); }

.standinggrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.standinggrid h3 { font-size: 18px; font-style: italic; color: oklch(42% 0.07 60); margin-bottom: 14px; }
.standinggrid ul { list-style: none; margin: 0; padding: 0; }
.standinggrid li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--rule); }

/* ----------------------------------------------------------------- journal */

.leadpostcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.leadpostart, .postart {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  background-image: var(--jacket);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.leadpostart { aspect-ratio: 4 / 3; }
.leadpostcopy { display: block; }
.leadpostcopy .runninghead { display: flex; }
.leadpostcopy h2 { margin-bottom: 18px; }
.leadpostcopy .body { display: block; margin-bottom: 20px; }
.readon { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 12.5px; font-weight: 600; color: oklch(38% 0.09 40); }
.readon i { font-style: normal; transition: transform 0.2s ease; }
.leadpostcard:hover .readon i { transform: translateX(3px); }

.archivegrid, .stripgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.postcard .postart { margin-bottom: 20px; transition: transform 0.5s var(--ease); }
.postcard:hover .postart { transform: translateY(-5px); }
.postcard h3 { margin-bottom: 10px; }
.postcard p { font-size: 14.5px; line-height: 1.65; color: var(--quiet); }

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.byline b { font-weight: 500; color: var(--text); }



.posthero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(600px, 72svh);
  margin-top: calc(var(--headerh) * -1);
  padding: calc(var(--headerh) + 84px) var(--gutter) clamp(48px, 6vw, 84px);
  background-image: var(--jacket);
  background-size: cover;
  background-position: center;
  color: oklch(97% 0.005 268);
  overflow: hidden;
}

.posthero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(10deg, oklch(13% 0.026 268 / 0.96) 14%, oklch(14% 0.026 268 / 0.66) 70%, oklch(13% 0.026 268 / 0.84));
}

.postherocopy { position: relative; z-index: 2; max-width: 900px; }
.posthero h1 { font-size: clamp(38px, 5.4vw, 88px); margin-bottom: 22px; }
.standfirst { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: oklch(87% 0.014 268); max-width: 52ch; }
.byline.big { margin-top: 30px; font-size: 10px; color: var(--quietlight); }
.byline.big b { color: oklch(93% 0.008 268); }

.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--raise);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--foil);
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------- closing */

.closing {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(84px, 11vw, 190px) var(--gutter);
  background: var(--deep);
  color: oklch(96% 0.006 268);
  text-align: center;
  overflow: hidden;
}

/* A single warm light on an otherwise dark stage — the cinematic move, spent
 * once per page and only here. */
.closing::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 120%;
  z-index: -1;
  background: radial-gradient(52% 46% at 50% 62%, oklch(70% 0.1 80 / 0.24), transparent 70%);
}

.closingcopy { max-width: 860px; display: grid; justify-items: center; }
.closing .runninghead { justify-content: center; }
.closing .runninghead::after { display: none; }
.closing h2 { margin-bottom: 26px; }
.closing .lede { margin-bottom: 36px; text-align: center; max-width: 58ch; }
.closing .actions { justify-content: center; }

/* ------------------------------------------------------------------ footer */

.pagefooter {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(60px, 7vw, 110px) var(--gutter) 40px;
  background: var(--deep);
  color: oklch(78% 0.014 268);
  font-size: 13.5px;
}

.pagefooter .runninghead { color: var(--foil); margin-bottom: 16px; }
.pagefooter .brand img { width: 168px; }
.footline { margin-top: 20px; max-width: 34ch; font-family: var(--display); font-size: 19px; line-height: 1.35; color: oklch(88% 0.01 268); }
.pagefooter address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.footlink, .footnav a, .footsocial a { display: block; padding: 4px 0; }
.footlink:hover, .footnav a:hover, .footsocial a:hover { color: var(--foil); }
.footsocial i { font-style: normal; }

.colophon {
  grid-column: 1 / -1;
  margin-top: clamp(30px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--rulelight);
  font-size: 11.5px;
  line-height: 1.7;
  color: oklch(58% 0.014 268);
  max-width: 84ch;
}

/* ------------------------------------------------------------- narrow view */

@media (max-width: 1080px) {
  .rosterlist { columns: 2; }
  .planwide { grid-column: span 1; }
  .awardlist li { grid-template-columns: minmax(0, 1fr) 60px; }
  .awardby, .awardprize { grid-column: 1; }
}

@media (max-width: 900px) {
  .menubutton { display: inline-flex; }
  .headercta { display: none; }
  .menusubmit { display: inline-flex; }

  #menu {
    position: fixed;
    inset: 0;
    z-index: 20;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    margin: 0;
    padding: 40px;
    background: oklch(12% 0.024 268 / 0.98);
    backdrop-filter: blur(10px);
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  #menu.open { opacity: 1; pointer-events: auto; }
  #menu a { font-family: var(--display); font-size: 34px; }
  .menusubmit { margin-top: 14px; font-family: var(--body) !important; font-size: 13px !important; font-weight: 600; color: var(--foil); }

  .intro, .steps, .roster, .imprint, .ask, .personbio, .lead, .focus, .title,
  .personhero, .visit, .leadpostcard {
    grid-template-columns: minmax(0, 1fr);
  }

  .leadjacket, .titlejacket { justify-self: start; width: min(100%, 300px); }
  .focusbooks { grid-column: 1; }
  .pagefooter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures div:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures div:nth-child(n + 3) { border-top: 1px solid var(--rulelight); }
  .shelfbar { position: static; }
  .steplist li, .processlist li { grid-template-columns: 46px minmax(0, 1fr); }
  .processlist li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stepno { grid-row: auto; font-size: 34px; }
}

@media (max-width: 640px) {
  .rosterlist { columns: 1; }
  .hero { min-height: 780px; }
  .wall { transform: rotate(-6deg) scale(1.5); }
  .inquiry { grid-template-columns: minmax(0, 1fr); }
  .pagefooter { grid-template-columns: minmax(0, 1fr); }
  .quote { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wallrow, .openingart { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
