/* ==========================================================================
   KAIYU ZHENG — PAPER PORTFOLIO
   A scrapbook of game worlds, moving images & little experiments.
   ========================================================================== */

:root {
  --paper: #f3eee3;
  --paper-deep: #e9e1d2;
  --paper-light: #fcf8ef;
  --ink: #25211b;
  --muted: #746c60;
  --line: rgba(37, 33, 27, .17);
  --line-strong: rgba(37, 33, 27, .42);
  --red: #cf4b32;
  --red-deep: #b73c26;
  --jade: #3e6b53;
  --mustard: #c39230;
  --blue: #496f97;
  --pink: #e7b8b0;
  --butter: #f0d78b;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --cn-serif: "Songti SC", "STZhongsong", "STSong", "SimSun", serif;
  --hand: "KaiTi", "STKaiti", "Kaiti SC", "Segoe Print", cursive;
  --mono: "Courier New", "Cascadia Mono", "Consolas", monospace;
  --sans: "Helvetica Neue", "Arial", "Microsoft YaHei", "PingFang SC", sans-serif;
  --shadow: 7px 8px 0 rgba(37, 33, 27, .08);
  --shadow-lift: 12px 15px 0 rgba(37, 33, 27, .1);
  --pad: clamp(20px, 4.2vw, 66px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  scrollbar-color: var(--muted) var(--paper);
  scrollbar-gutter: stable;
}

[id] {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading,
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--red);
  color: var(--paper-light);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border: 2px solid var(--paper);
  border-radius: 10px;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
figure,
blockquote,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px dashed var(--red);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus {
  top: 18px;
}

/* Paper texture ---------------------------------------------------------- */

.paper-grain {
  position: fixed;
  z-index: 1500;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .33;
  background-image: radial-gradient(var(--line) .55px, transparent .55px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 22%, transparent 78%, #000);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 22%, transparent 78%, #000);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Custom cursor ---------------------------------------------------------- */

.cursor,
.cursor-tag {
  display: none;
}

@media (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2300;
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .22s var(--ease), height .22s var(--ease), opacity .2s;
  }

  .cursor i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border: 1px solid var(--red);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(.7);
    opacity: 0;
    transition: transform .35s var(--ease), opacity .25s;
  }

  .cursor-tag {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2299;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--red);
    color: var(--paper-light);
    font-family: var(--hand);
    font-size: 15px;
    letter-spacing: .05em;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-8deg) scale(.5);
    transition: opacity .22s, transform .35s var(--ease);
  }

  body.cursor-hover .cursor {
    width: 15px;
    height: 15px;
  }

  body.cursor-hover .cursor i {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }

  body.cursor-view .cursor {
    opacity: 0;
  }

  body.cursor-view .cursor-tag {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-8deg) scale(1);
  }
}

/* Loader ----------------------------------------------------------------- */

.loader {
  position: fixed;
  z-index: 2500;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad) 26px;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: transform .9s var(--ease) .1s, visibility 0s linear 1s;
}

.loader.is-done {
  transform: translateY(-101%);
  visibility: hidden;
  pointer-events: none;
}

.loader.is-ready {
  cursor: pointer;
}

.loader-enter {
  position: absolute;
  z-index: 6;
  bottom: clamp(104px, 15vh, 164px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid rgba(242, 231, 216, .6);
  background: var(--red);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transform: translate(-50%, 12px);
  transition: opacity .35s, transform .5s var(--ease), background .2s, color .2s, border-color .2s;
}

.loader.is-ready .loader-enter {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.loader-enter:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--red);
}

.loader-enter:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 4px;
}

.loader-enter-cn {
  font-family: var(--hand);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1;
}

.loader-enter-en {
  color: currentColor;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .12em;
  line-height: 1.5;
  opacity: .7;
  white-space: nowrap;
}

.loader-enter i {
  font-family: var(--sans);
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  transition: transform .3s;
}

.loader-enter:hover i {
  transform: translate(2px, -2px);
}

.loader.is-done .loader-enter {
  opacity: 0;
  transition: opacity .2s;
}

.loader-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.loader-bg img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  transform: scale(1.015);
}

.loader-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 7% 9%;
  background: var(--paper);
}

.lf-year {
  font-family: var(--serif);
  font-size: clamp(20px, 3.2vw, 44px);
  line-height: 1;
  color: var(--red);
}

.lf-name {
  font-family: var(--cn-serif);
  font-size: clamp(19px, 2.3vw, 32px);
  line-height: 1.3;
}

.lf-quote {
  font-family: var(--cn-serif);
  font-size: clamp(24px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.lf-script {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 62px);
  font-style: italic;
  line-height: .9;
  color: var(--red);
  transform: rotate(-3deg);
  transform-origin: left center;
}

.lf-en {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.8;
  letter-spacing: .04em;
  color: var(--muted);
}

.loader::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(243, 238, 227, .94) 0%, rgba(243, 238, 227, .17) 17%, rgba(243, 238, 227, .1) 66%, rgba(243, 238, 227, .95) 100%),
    linear-gradient(to right, rgba(243, 238, 227, .4), transparent 22%, transparent 78%, rgba(243, 238, 227, .35));
}

.loader::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 12px;
  border: 1px solid rgba(207, 75, 50, .36);
  pointer-events: none;
}

.loader-top {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(37, 33, 27, .28);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.loader-center {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(14px, 4vh, 42px);
}

.loader-status {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--hand);
  font-size: clamp(24px, 3.2vw, 43px);
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(243, 238, 227, .55);
}

.loader-status em {
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: .1em;
  color: var(--red);
  text-shadow: none;
}

.loader-seal {
  display: grid;
  place-items: center;
  width: clamp(56px, 7vw, 92px);
  height: clamp(56px, 7vw, 92px);
  flex: 0 0 auto;
  border: 1.5px solid var(--red);
  background: rgba(243, 238, 227, .74);
  color: var(--red);
  font-family: var(--cn-serif);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  transform: rotate(-5deg);
}

.loader-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 26px;
  padding-top: 10px;
  border-top: 1px solid rgba(37, 33, 27, .28);
}

.loader-progress {
  flex: 1;
  min-width: 0;
}

.loader-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

.loader-meta span:first-child {
  color: var(--red);
}

.loader-line {
  flex: 1;
  height: 1px;
  background: rgba(37, 33, 27, .2);
  overflow: hidden;
}

.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.loader-count {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(44px, 6.7vw, 94px);
  line-height: .75;
  letter-spacing: -.06em;
  text-shadow: 0 1px 0 rgba(243, 238, 227, .5);
}

.loader-count sup {
  font-family: var(--mono);
  font-size: .22em;
  vertical-align: top;
  color: var(--red);
}

@media (max-width: 900px) {
  .loader {
    padding: 18px var(--pad) 20px;
  }

  .loader::after {
    inset: 8px;
  }

  .loader::before {
    background: linear-gradient(to bottom, rgba(243, 238, 227, .96) 0%, rgba(243, 238, 227, 0) 10%, rgba(243, 238, 227, 0) 82%, rgba(243, 238, 227, .96) 100%);
  }

  .loader-bg {
    inset: auto;
    top: clamp(78px, 10vh, 104px);
    left: var(--pad);
    right: var(--pad);
    height: clamp(230px, 36vh, 390px);
    overflow: visible;
    background: #fffaf0;
    border: 1px solid var(--line-strong);
    box-shadow: 7px 8px 0 rgba(37, 33, 27, .08);
    transform: rotate(-.55deg);
  }

  .loader-bg::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 68px;
    height: 18px;
    background: rgba(224, 207, 174, .8);
    transform: translateX(-50%) rotate(-2deg);
    clip-path: polygon(2% 5%, 98% 0, 96% 95%, 3% 100%);
    pointer-events: none;
  }

  .loader-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 38% center;
    transform: none;
    border: 1px solid rgba(37, 33, 27, .1);
  }

  .loader-top {
    gap: 10px;
    font-size: 7px;
  }

  .loader-top span:nth-child(2) {
    display: none;
  }

  .loader-status {
    font-size: clamp(24px, 4.5vw, 34px);
  }

  .loader-seal {
    width: clamp(50px, 8vw, 66px);
    height: clamp(50px, 8vw, 66px);
    font-size: clamp(26px, 4.4vw, 34px);
  }

  .loader-count {
    font-size: clamp(42px, 7vw, 62px);
  }

  .loader-meta span:last-child {
    display: none;
  }
}

@media (max-width: 600px) {
  .loader {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
    gap: 12px;
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  }

  .loader::before {
    background: linear-gradient(to bottom, rgba(11, 8, 7, .97) 0%, rgba(11, 8, 7, 0) 8%, rgba(11, 8, 7, 0) 82%, rgba(11, 8, 7, .97) 100%);
  }

  .loader-top {
    grid-row: 1;
  }

  .loader-bg {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    transform: rotate(-.55deg);
  }

  .loader-bg img {
    height: 100%;
    min-height: 0;
    display: none;
  }

  .loader-fallback {
    gap: 4px;
    justify-content: center;
    padding: clamp(26px, 8vw, 38px);
    background: var(--paper);
  }

  .lf-year {
    font-size: 18px;
  }

  .lf-name {
    font-size: 20px;
  }

  .lf-quote {
    margin-top: 10px;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.22;
  }

  .lf-script {
    margin-top: 6px;
    font-size: clamp(42px, 12vw, 54px);
  }

  .lf-en {
    margin-top: 12px;
    font-size: 6px;
  }

  .loader-center {
    grid-row: 3;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  .loader-top span:last-child {
    display: none;
  }

  .loader-status {
    gap: 2px;
    font-size: clamp(20px, 5.8vw, 25px);
    line-height: 1.15;
  }

  .loader-status em {
    font-size: 6px;
  }

  .loader-seal {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .loader-enter {
    position: relative;
    inset: auto;
    grid-row: 4;
    justify-self: center;
    width: 100%;
    max-width: 340px;
    justify-content: center;
    padding: 14px 18px;
    transform: none;
  }

  .loader.is-ready .loader-enter {
    transform: none;
  }

  .loader-count {
    font-size: 42px;
  }

  .loader-bottom {
    grid-row: 5;
    gap: 12px;
    padding-top: 8px;
  }

  .loader-meta {
    margin-bottom: 7px;
    font-size: 5.5px;
  }
}

@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .loader-bg img {
    animation: loaderDrift 9s ease-in-out infinite alternate;
  }

  .loader.is-ready .loader-enter {
    animation: enterPulse 1.8s ease-in-out infinite;
  }
}

@keyframes loaderDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-6px); }
}

@keyframes enterPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207, 75, 50, 0); }
  50% { box-shadow: 0 0 0 7px rgba(207, 75, 50, .14); }
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: fixed;
  z-index: 500;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 var(--pad);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 20px rgba(37, 33, 27, .035);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--cn-serif);
  font-size: 18px;
  line-height: 1;
  transform: rotate(-3deg);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-type b {
  font-family: var(--cn-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
}

.brand-type em {
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: .15em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 44px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 0;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink);
}

.site-nav a span {
  font-size: 7px;
  color: var(--red);
  opacity: .7;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1) rotate(-1deg);
}

.header-side {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  margin-left: 20px;
}

.header-time {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.header-time b {
  font-weight: 400;
  color: var(--ink);
}

.header-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--hand);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}

.header-note span {
  font-family: var(--sans);
  font-size: 13px;
  transition: transform .3s;
}

.header-note:hover {
  color: var(--red);
  border-color: var(--red);
}

.header-note:hover span {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  font-family: var(--hand);
  font-size: 14px;
}

.menu-toggle i {
  position: relative;
  width: 19px;
  height: 8px;
}

.menu-toggle i::before,
.menu-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
}

.menu-toggle i::before { top: 1px; }
.menu-toggle i::after { bottom: 1px; }

/* Mobile menu ------------------------------------------------------------ */

.menu-overlay {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px var(--pad) 26px;
  background: var(--paper);
  color: var(--ink);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .35s, transform .5s var(--ease), visibility 0s linear .5s;
}

.menu-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: none;
  transition: opacity .35s, transform .5s var(--ease), visibility 0s;
}

.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.menu-mark {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: .1em;
  color: var(--red);
}

.menu-close {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--hand);
  font-size: 14px;
}

.menu-close span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 17px;
}

.menu-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  max-width: 850px;
  width: 100%;
  margin: 3vh auto;
}

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--cn-serif);
  font-size: clamp(38px, 8vw, 72px);
  line-height: 1;
  transition: color .2s, padding-left .3s var(--ease);
}

.menu-links a span {
  width: 24px;
  flex: 0 0 24px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--red);
}

.menu-links a em {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .08em;
  color: var(--muted);
}

.menu-links a:hover {
  color: var(--red);
  padding-left: 8px;
}

.menu-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.8;
  color: var(--muted);
}

.menu-bottom a {
  color: var(--ink);
  text-decoration: none;
}

.menu-bottom span {
  color: var(--ink);
}

.menu-clock {
  text-align: right;
}

/* Shared type / labels --------------------------------------------------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hand {
  font-family: var(--hand);
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label span:first-child {
  color: var(--ink);
}

.section-label span:last-child {
  text-align: right;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 24px) var(--pad) 24px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -8vw;
  top: 7%;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: #eed8c8;
  opacity: .65;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 7vw;
  bottom: 8vh;
  width: 22vw;
  height: 12vw;
  border-radius: 50%;
  background: #e7e8d5;
  filter: blur(3px);
  opacity: .55;
  pointer-events: none;
}

.hero-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 120px);
  padding: 4vh 0 2vh;
}

.hero-copy {
  max-width: 760px;
  padding: 2vh 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
}

.hero-kicker i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  margin-left: -.04em;
  font-family: var(--cn-serif);
  font-size: clamp(78px, 11.2vw, 180px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.09em;
}

.hero h1 .cut {
  position: relative;
  color: var(--red);
}

.hero h1 .cut::after {
  content: "";
  position: absolute;
  left: .06em;
  right: -.02em;
  bottom: .04em;
  height: .07em;
  background: var(--red);
  border-radius: 50%;
  transform: rotate(-3deg);
  opacity: .75;
}

.hero h1 .full-stop {
  color: var(--red);
}

.hero-desc {
  max-width: 42ch;
  margin-top: 26px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 27px;
}

.paper-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 11px 17px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 4px 5px 0 var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.paper-btn span {
  font-size: 14px;
}

.paper-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 3px 0 var(--ink);
  background: var(--butter);
}

.hand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-family: var(--hand);
  font-size: 15px;
  transition: color .2s, border-color .2s;
}

.hand-link span {
  font-family: var(--sans);
  font-size: 13px;
  transition: transform .3s;
}

.hand-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.hand-link:hover span {
  transform: translate(2px, -2px);
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  max-width: 600px;
  margin-top: clamp(30px, 5vh, 58px);
  padding-top: 13px;
  border-top: 1px dashed var(--line-strong);
}

.hero-foot > p:first-child {
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.9;
  letter-spacing: .07em;
  color: var(--muted);
}

.hero-foot .hand {
  font-family: var(--hand);
  font-size: 15px;
  line-height: 1.5;
  color: var(--red);
  transform: rotate(-2deg);
}

/* Collage ---------------------------------------------------------------- */

.hero-collage {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 620px;
  min-height: clamp(470px, 43vw, 620px);
  justify-self: end;
  margin-top: 10px;
  isolation: isolate;
}

.collage-title {
  position: absolute;
  z-index: 0;
  top: -20px;
  left: 5%;
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: .08em;
  transform: rotate(-3deg);
  opacity: .75;
}

.collage-card {
  position: absolute;
  z-index: 2;
  padding: 7px 7px 25px;
  border: 0;
  background: var(--paper-light);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow);
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg));
  transition: transform .45s var(--ease), box-shadow .3s, filter .3s;
  touch-action: pan-y;
}

.collage-card:hover {
  z-index: 20 !important;
  transform: translate(var(--dx, 0), calc(var(--dy, 0px) - 5px)) rotate(calc(var(--rot, 0deg) * .3)) scale(1.025);
  box-shadow: var(--shadow-lift);
}

.collage-card.is-dragging {
  z-index: 30 !important;
  transition: none;
  box-shadow: 15px 17px 0 rgba(37, 33, 27, .12);
  filter: drop-shadow(0 8px 10px rgba(37, 33, 27, .1));
}

.collage-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(37, 33, 27, .12);
}

.collage-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.collage-caption em {
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collage-caption b {
  order: -1;
  font-family: var(--cn-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

.card-portrait {
  top: 5%;
  left: 1%;
  width: 36%;
  --rot: -4.2deg;
}

.card-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center 18%;
}

.card-game {
  top: 2%;
  right: 1%;
  width: 48%;
  --rot: 2.8deg;
}

.card-game img {
  aspect-ratio: 3 / 2;
}

.card-aigc {
  left: 6%;
  bottom: 5%;
  width: 30%;
  --rot: -2deg;
}

.card-aigc img {
  aspect-ratio: 4 / 5;
}

.card-ip {
  right: 3%;
  bottom: 1%;
  width: 47%;
  --rot: 1.8deg;
}

.card-ip img {
  aspect-ratio: 3 / 2;
}

.tape {
  position: absolute;
  z-index: 5;
  display: block;
  width: 64px;
  height: 18px;
  background: rgba(224, 207, 174, .8);
  box-shadow: 0 1px 1px rgba(37, 33, 27, .06);
  opacity: .9;
  pointer-events: none;
  clip-path: polygon(1% 7%, 99% 0, 97% 93%, 3% 100%);
}

.tape-tl {
  top: -7px;
  left: -12px;
  transform: rotate(-7deg);
}

.tape-tr {
  top: -6px;
  right: -12px;
  transform: rotate(6deg);
}

.collage-seal {
  position: absolute;
  z-index: 4;
  right: 10%;
  bottom: 30%;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: .07em;
  text-align: center;
  transform: rotate(9deg);
  background: rgba(243, 238, 227, .6);
}

.collage-seal i {
  font-style: normal;
  font-size: 13px;
  line-height: .8;
}

.doodle {
  position: absolute;
  z-index: 4;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.doodle-star {
  top: 1%;
  left: 44%;
  width: 35px;
  height: 35px;
  transform: rotate(12deg);
}

.doodle-flower {
  right: -3%;
  top: 39%;
  width: 56px;
  height: 56px;
  stroke: var(--jade);
  transform: rotate(-10deg);
}

.doodle-arrow {
  left: 35%;
  bottom: -2%;
  width: 100px;
  height: 64px;
  stroke: var(--ink);
  stroke-width: 1.6;
  transform: rotate(7deg);
}

.collage-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -39px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.collage-controls p {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .06em;
  color: var(--muted);
}

.shuffle-btn {
  padding: 6px 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--hand);
  font-size: 13px;
  transition: background .2s, color .2s, transform .2s;
  white-space: nowrap;
}

.shuffle-btn:hover {
  background: var(--red);
  color: var(--paper-light);
  transform: rotate(-2deg);
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
  color: var(--muted);
}

.hero-bottom-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hero-bottom span:last-child {
  color: var(--ink);
}

/* Ribbon ----------------------------------------------------------------- */

.paper-ribbon {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 8px 0;
  background: var(--paper-deep);
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
  transform: rotate(-.35deg) scale(1.01);
}

.ribbon-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ribbon-run 34s linear infinite;
  will-change: transform;
}

.paper-ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-track span {
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .13em;
  color: var(--red);
  white-space: nowrap;
}

.ribbon-track i {
  font-style: normal;
  color: var(--red);
  animation: spin 9s linear infinite;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Index ------------------------------------------------------------------ */

.index-section {
  position: relative;
  padding: clamp(70px, 9vw, 130px) var(--pad) clamp(80px, 10vw, 150px);
}

.index-head {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(250px, .9fr) 150px;
  gap: clamp(28px, 6vw, 100px);
  align-items: end;
  margin-top: clamp(40px, 5vw, 72px);
}

.index-head h2 {
  margin-top: 15px;
  font-family: var(--cn-serif);
  font-size: clamp(66px, 9vw, 150px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.1em;
}

.index-head h2 em {
  color: var(--red);
  font-style: normal;
}

.index-intro {
  max-width: 34ch;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.index-stamp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 126px;
  justify-self: end;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  transform: rotate(7deg);
}

.index-stamp b {
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 400;
  line-height: .8;
}

.index-stamp span {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .1em;
}

.index-stamp i {
  position: absolute;
  top: -14px;
  right: 4px;
  font-style: normal;
  font-size: 18px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px 24px;
  margin-top: clamp(48px, 6vw, 84px);
  align-items: start;
}

.chapter-card {
  position: relative;
  display: block;
  padding: 8px 8px 15px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .45s var(--ease), box-shadow .4s, background .3s;
}

.chapter-card:nth-child(1) { grid-column: span 5; --tilt: -1.1deg; }
.chapter-card:nth-child(2) { grid-column: span 4; --tilt: .8deg; margin-top: 28px; }
.chapter-card:nth-child(3) { grid-column: span 3; --tilt: 1.4deg; }
.chapter-card:nth-child(4) { grid-column: span 4; --tilt: -.8deg; }
.chapter-card:nth-child(5) { grid-column: span 5; --tilt: .9deg; margin-top: 24px; }
.chapter-card:nth-child(6) { grid-column: span 3; --tilt: -1.4deg; }

.chapter-card:hover {
  z-index: 5;
  transform: rotate(0) translateY(-7px);
  box-shadow: var(--shadow-lift);
  background: #fffdf8;
}

.card-tape {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: 50%;
  width: 66px;
  height: 19px;
  background: rgba(224, 207, 174, .8);
  transform: translateX(-50%) rotate(-2deg);
  clip-path: polygon(2% 5%, 98% 0, 96% 95%, 3% 100%);
  pointer-events: none;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 2px 2px 7px;
}

.card-num {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 36px;
  line-height: .8;
  letter-spacing: -.06em;
}

.card-count {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-photo {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.card-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.chapter-card:hover .card-photo img {
  transform: scale(1.035);
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 2px 0;
}

.card-title b {
  font-family: var(--cn-serif);
  font-size: clamp(19px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.card-title em {
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--muted);
}

.card-open {
  position: absolute;
  right: 13px;
  bottom: 14px;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--hand);
  font-size: 12px;
  opacity: 0;
  transform: rotate(-9deg) scale(.6);
  transition: opacity .25s, transform .4s var(--ease);
}

.chapter-card:hover .card-open {
  opacity: 1;
  transform: rotate(-9deg) scale(1);
}

/* Chapters --------------------------------------------------------------- */

.chapter {
  position: relative;
  padding-bottom: clamp(70px, 8vw, 120px);
  background: var(--paper);
}

.chapter-head {
  position: relative;
  display: grid;
  grid-template-columns: .26fr 1.02fr .72fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  padding: clamp(44px, 6vw, 92px) var(--pad) clamp(34px, 4.5vw, 66px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chapter-head::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 9%;
  width: 78px;
  height: 18px;
  background: rgba(224, 207, 174, .82);
  transform: rotate(-2deg);
  clip-path: polygon(2% 5%, 98% 0, 95% 95%, 3% 100%);
}

.chapter-no {
  color: var(--accent);
}

.chapter-no span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(64px, 8.8vw, 140px);
  font-style: italic;
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.08em;
}

.chapter-no em {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: .15em;
  color: var(--muted);
}

.chapter-title h2 {
  margin-top: 12px;
  font-family: var(--cn-serif);
  font-size: clamp(46px, 7vw, 108px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.08em;
}

.chapter-title .eyebrow {
  color: var(--accent);
}

.chapter-hand {
  margin-top: 15px;
  font-family: var(--hand);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--accent);
  transform: rotate(-1deg);
}

.chapter-side p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.chapter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.chapter-tags li {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapter-gallery {
  padding: clamp(35px, 5vw, 70px) var(--pad) 0;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(19px, 2.8vw, 38px) clamp(16px, 2.5vw, 34px);
  align-items: start;
}

.work-card {
  position: relative;
  display: block;
  padding: 8px 8px 12px;
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .45s var(--ease), box-shadow .35s, background .3s;
}

.work-card:hover {
  z-index: 10;
  transform: rotate(0) translateY(-5px);
  box-shadow: var(--shadow-lift);
  background: #fffdf8;
}

.work-card.wc-1 { grid-column: span 12; --tilt: -.3deg; }
.work-card.wc-2 { grid-column: span 7; --tilt: .8deg; margin-top: 28px; }
.work-card.wc-3 { grid-column: span 5; --tilt: -1deg; }
.work-card.wc-4 { grid-column: span 5; --tilt: -.6deg; margin-top: 24px; }
.work-card.wc-5 { grid-column: span 7; --tilt: .7deg; }
.work-card.wc-6 { grid-column: span 6; --tilt: .5deg; }
.work-card.wc-7 { grid-column: span 6; --tilt: -1deg; margin-top: 22px; }
.work-card.wc-8 { grid-column: span 8; --tilt: -.5deg; }
.work-card.wc-9 { grid-column: span 4; --tilt: 1.2deg; margin-top: 35px; }

.work-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -7px;
  left: 38px;
  width: 54px;
  height: 15px;
  background: rgba(224, 207, 174, .72);
  transform: rotate(-4deg);
  clip-path: polygon(2% 5%, 98% 0, 96% 95%, 3% 100%);
  pointer-events: none;
}

.work-photo {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid rgba(37, 33, 27, .12);
}

.work-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 7073 / 2500;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.work-card:hover .work-photo img {
  transform: scale(1.018);
}

.work-caption {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  gap: 8px;
  align-items: start;
  padding: 11px 2px 0;
}

.work-num {
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .03em;
  white-space: nowrap;
}

.work-title b {
  display: block;
  font-family: var(--cn-serif);
  font-size: clamp(14px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.work-title em {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  line-height: 1.55;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-open {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  transition: background .25s, color .25s, border-color .25s;
}

.work-card:hover .work-open {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper-light);
}

.chapter-note {
  position: relative;
  width: min(560px, 58%);
  margin: clamp(38px, 5vw, 66px) 8% 0 auto;
  padding: 21px 24px 20px;
  background: #fff9ea;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-1.1deg);
}

.chapter-note .card-tape {
  left: 34px;
  transform: rotate(-5deg);
}

.note-kicker {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapter-note h3 {
  margin-top: 9px;
  font-family: var(--hand);
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--accent);
}

.chapter-note > p:not(.note-kicker) {
  margin-top: 7px;
  font-family: var(--hand);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.note-sign {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-family: var(--hand);
  font-size: 13px;
  color: var(--muted);
}

.chapter-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: clamp(34px, 5vw, 60px);
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .06em;
  color: var(--muted);
}

.chapter-foot a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.chapter-foot a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* About ------------------------------------------------------------------ */

.about-section {
  position: relative;
  padding: clamp(62px, 7vw, 110px) var(--pad) 0;
  background: #eef0e6;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  right: -14vw;
  top: 15%;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: #e3e6d5;
  opacity: .9;
  pointer-events: none;
}

.about-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 5vw;
  align-items: end;
  margin-top: clamp(28px, 3.6vw, 48px);
}

.about-head .eyebrow {
  grid-column: 1 / -1;
}

.about-head h2 {
  font-family: var(--cn-serif);
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.about-head h2 em {
  color: var(--jade);
  font-style: normal;
}

.about-hand {
  padding-bottom: 4px;
  font-family: var(--hand);
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.35;
  color: var(--red);
  transform: rotate(-1.5deg);
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 8vw, 130px);
  align-items: start;
  margin-top: clamp(42px, 6vw, 80px);
}

.about-left {
  position: relative;
}

.about-portrait {
  position: relative;
  width: 88%;
  margin: 0 auto;
  padding: 8px 8px 28px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  transition: transform .5s var(--ease);
}

.about-portrait:hover {
  transform: rotate(-.5deg) translateY(-4px);
}

.about-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 17%;
  border: 1px solid rgba(37, 33, 27, .12);
}

.about-portrait figcaption {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 7px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .03em;
  color: var(--muted);
}

.sticky-note {
  position: relative;
  width: 73%;
  margin: 28px 0 0 12%;
  padding: 18px 18px 15px;
  background: #f0d78b;
  box-shadow: 4px 5px 0 rgba(37, 33, 27, .08);
  transform: rotate(2.3deg);
}

.sticky-note::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(37,33,27,.1));
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.note-pin {
  position: absolute;
  top: -7px;
  left: 42%;
  width: 42px;
  height: 15px;
  background: rgba(218, 198, 159, .8);
  transform: rotate(-4deg);
  clip-path: polygon(2% 6%, 98% 0, 96% 95%, 3% 100%);
}

.sticky-note ul {
  margin-top: 7px;
  padding-left: 3px;
}

.sticky-note li {
  position: relative;
  padding: 2px 0 2px 13px;
  font-family: var(--hand);
  font-size: 16px;
  line-height: 1.5;
}

.sticky-note li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--red);
}

.note-sign {
  display: block;
  margin-top: 7px;
  text-align: right;
  font-family: var(--hand);
  font-size: 13px;
  color: rgba(37, 33, 27, .6);
}

/* The CV note becomes a sealed envelope */
.resume-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 73%;
  min-height: 216px;
  margin: clamp(52px, 6vw, 84px) 0 0 12%;
  padding: 18px 18px 15px;
  overflow: hidden;
  border: 1px solid rgba(242, 231, 216, .26);
  background: linear-gradient(155deg, #721611, var(--red-deep) 58%, #560e0b);
  color: var(--ink);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, .38);
  text-decoration: none;
  transform: rotate(2.3deg);
  transform-style: preserve-3d;
  perspective: 700px;
  transition: background .3s, transform .45s var(--ease), border-color .3s, box-shadow .45s;
}

.resume-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .5px), rgba(242, 231, 216, .13) 50%, transparent calc(50% + .5px)) left top / 50% 100% no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .5px), rgba(242, 231, 216, .13) 50%, transparent calc(50% + .5px)) right top / 50% 100% no-repeat;
  pointer-events: none;
}

.resume-envelope {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.resume-flap {
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(180deg, #842019, #65120e);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-bottom: 1px solid rgba(242, 231, 216, .18);
  transform-origin: top center;
  transition: transform .55s var(--ease), opacity .38s;
}

.resume-wax {
  position: absolute;
  z-index: 4;
  top: 63%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--red-deep);
  font-family: var(--hand);
  font-size: 23px;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(37, 33, 27, .2);
  transform: translate(-50%, -50%) rotate(-8deg);
  transition: transform .45s var(--ease), opacity .3s;
}

.resume-wax::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(109, 20, 16, .55);
  border-radius: 50%;
}

.resume-postmark {
  position: absolute;
  z-index: 3;
  top: 39px;
  right: 18px;
  padding: 7px 8px;
  border: 1px dashed rgba(242, 231, 216, .38);
  border-radius: 50%;
  color: rgba(242, 231, 216, .48);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .08em;
  line-height: 1.5;
  text-align: center;
  transform: rotate(8deg);
}

.resume-title,
.resume-top,
.resume-bottom {
  position: relative;
  z-index: 3;
  transition: opacity .3s, transform .4s var(--ease);
}

.resume-card:hover {
  border-color: rgba(242, 231, 216, .64);
  background: linear-gradient(155deg, #7e1c16, var(--red) 58%, #5c100c);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, .42);
  transform: rotate(.8deg) translateY(-5px);
}

.resume-card:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 3px;
}

.resume-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(242, 231, 216, .62);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .07em;
  line-height: 1.4;
}

.resume-top span:last-child {
  color: var(--ink);
  white-space: nowrap;
}

.resume-title {
  margin: auto 0 15px;
  font-family: var(--cn-serif);
  font-size: clamp(29px, 3.1vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.06em;
}

.resume-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(242, 231, 216, .58);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .04em;
}

.resume-card:hover .resume-wax {
  transform: translate(-50%, -50%) rotate(-2deg) scale(1.06);
}

.resume-card.is-opening {
  pointer-events: none;
  animation: envelopeLift .6s var(--ease);
}

.resume-card.is-opening .resume-flap {
  opacity: 0;
  transform: rotateX(-168deg);
}

.resume-card.is-opening .resume-wax {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(25deg) scale(.6);
}

.resume-card.is-opening .resume-postmark {
  opacity: 0;
  transform: rotate(20deg) translate(10px, -8px);
}

.resume-card.is-opening .resume-title,
.resume-card.is-opening .resume-top,
.resume-card.is-opening .resume-bottom {
  opacity: 0;
  transform: translateY(-10px);
}

@keyframes envelopeLift {
  0% {
    transform: rotate(2.3deg) translateY(0);
  }
  45% {
    transform: rotate(-.5deg) translateY(-7px);
  }
  100% {
    transform: rotate(-.5deg) translateY(-2px);
  }
}

.resume-modal {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 40px);
  opacity: 0;
  transition: opacity .3s ease;
}

.resume-modal[hidden] {
  display: none;
}

.resume-modal.is-open {
  opacity: 1;
}

.resume-modal-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 4, 3, .86);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.resume-sheet {
  position: relative;
  z-index: 1;
  width: min(880px, 94vw);
  max-height: 92vh;
  overflow: auto;
  padding: clamp(16px, 2.4vw, 26px);
  border-left: 9px solid var(--red-deep);
  background: #f0e4d2;
  color: #251f18;
  box-shadow: 18px 22px 0 rgba(0, 0, 0, .24), 0 30px 90px rgba(0, 0, 0, .45);
  overscroll-behavior: contain;
  transform: rotate(-0.4deg);
}

.resume-modal.is-open .resume-sheet {
  animation: resumeSheetIn .68s var(--ease) both;
}

.resume-sheet-preview {
  margin: 0;
}

.resume-sheet-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(37, 33, 27, .18);
  background: #fff;
}

.resume-sheet-close {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 26px;
  padding: 7px 10px;
  border: 1px solid rgba(37, 33, 27, .22);
  background: rgba(240, 228, 210, .92);
  color: rgba(37, 33, 27, .72);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.resume-sheet-close:hover {
  background: #251f18;
  color: #f0e4d2;
}

.resume-sheet-kicker {
  padding-right: 50px;
  color: #8e241c;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  line-height: 1.6;
}

.resume-sheet h3 {
  margin-top: 22px;
  font-family: var(--cn-serif);
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: 1;
}

.resume-sheet h3 em {
  display: block;
  margin-top: 9px;
  color: rgba(37, 33, 27, .48);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .18em;
}

.resume-sheet-role {
  margin-top: 16px;
  color: #8e241c;
  font-family: var(--hand);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.35;
}

.resume-sheet-note {
  max-width: 54ch;
  margin-top: 22px;
  color: rgba(37, 33, 27, .68);
  font-size: 12px;
  line-height: 1.95;
}

.resume-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(37, 33, 27, .2);
  border-bottom: 1px solid rgba(37, 33, 27, .2);
}

.resume-sheet-grid > div {
  min-width: 0;
  padding: 15px 16px 15px 0;
  border-right: 1px solid rgba(37, 33, 27, .14);
}

.resume-sheet-grid > div:last-child {
  border-right: 0;
}

.resume-sheet-grid span {
  display: block;
  color: rgba(37, 33, 27, .46);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .08em;
}

.resume-sheet-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.resume-sheet-grid p {
  margin-top: 4px;
  color: rgba(37, 33, 27, .58);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.7;
}

.resume-sheet-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(37, 33, 27, .18);
  color: rgba(37, 33, 27, .6);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
}

.resume-sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
}

.resume-sheet-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #251f18;
  color: #f0e4d2;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .25s, transform .35s var(--ease);
}

.resume-sheet-link span {
  color: #c7563e;
  font-size: 13px;
}

.resume-sheet-link:hover {
  background: #8e241c;
  transform: translateY(-2px);
}

.resume-sheet-esc {
  color: rgba(37, 33, 27, .38);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .08em;
}

body.resume-open {
  overflow: hidden;
}

body.resume-open .cursor,
body.resume-open .cursor-tag {
  opacity: 0 !important;
  visibility: hidden;
}

@keyframes resumeSheetIn {
  0% {
    opacity: 0;
    transform: translateY(26px) rotate(-2deg) scale(.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(-0.4deg) scale(1);
  }
}

@media (max-width: 680px) {
  .resume-sheet {
    width: 100%;
    max-height: 94vh;
    padding: 54px 12px 14px;
    border-left-width: 6px;
  }

  .resume-sheet-close {
    top: 12px;
    left: 14px;
  }

  .resume-sheet-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .resume-card {
    width: calc(100% - 24px);
    margin-left: 12px;
  }

  .resume-wax {
    top: 78px;
    right: 16px;
    left: auto;
    width: 42px;
    height: 42px;
    font-size: 21px;
    transform: rotate(-8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .resume-card,
  .resume-flap,
  .resume-wax,
  .resume-postmark,
  .resume-title,
  .resume-top,
  .resume-bottom {
    transition: none;
  }

  .resume-card.is-opening {
    animation: none;
  }

  .resume-modal.is-open .resume-sheet {
    animation: none;
  }
}


.about-right {
  min-width: 0;
}

.about-intro {
  max-width: 52ch;
}

.about-lead {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--cn-serif);
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.65;
  letter-spacing: -.01em;
}

.about-intro > p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.about-intro .hand-link {
  margin-top: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-stats > div {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.about-stats > div:last-child {
  border-right: 0;
}

.about-stats b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 50px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.05em;
}

.about-stats b sup {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0;
  color: var(--muted);
}

.about-stats span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--muted);
}

.about-block {
  margin-top: 30px;
}

.about-block h3 {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .06em;
}

.about-block h3 span {
  font-family: var(--hand);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}

.cap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 22px;
}

.cap-list li {
  position: relative;
  padding: 9px 0 9px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cap-list li::before {
  content: "↳";
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--red);
}

.fact-list {
  display: flex;
  flex-direction: column;
}

.fact {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line-strong);
}

.fact-label {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .03em;
  color: var(--muted);
}

.fact-value {
  display: block;
  min-width: 0;
}

.fact-value b {
  display: block;
  font-family: var(--cn-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.fact-value span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.6;
  color: var(--muted);
}

.honor-note {
  position: relative;
  margin-top: 34px;
  padding: 18px 20px;
  background: #fff9e8;
  border: 1px solid var(--line);
  box-shadow: 4px 5px 0 rgba(37, 33, 27, .06);
  transform: rotate(.7deg);
}

.honor-note .tape-tl {
  left: 22px;
  top: -7px;
  transform: rotate(-4deg);
}

.honor-note p:last-child {
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.9;
  color: var(--muted);
}

.manifesto {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 160px;
  gap: 22px;
  align-items: start;
  margin: clamp(54px, 7vw, 100px) calc(-1 * var(--pad)) 0;
  padding: clamp(30px, 4vw, 54px) var(--pad);
  background: var(--red);
  color: var(--paper-light);
}

.manifesto-mark {
  font-family: var(--serif);
  font-size: clamp(80px, 9vw, 150px);
  line-height: .55;
  opacity: .7;
}

.manifesto p {
  font-family: var(--cn-serif);
  font-size: clamp(28px, 4.2vw, 64px);
  line-height: 1.22;
  letter-spacing: -.05em;
}

.manifesto cite {
  align-self: end;
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  line-height: 1.7;
  color: rgba(252, 248, 239, .7);
}

/* Contact ---------------------------------------------------------------- */

.contact-section {
  position: relative;
  padding: clamp(40px, 5vw, 62px) var(--pad) 24px;
  background: var(--red);
  color: var(--paper-light);
  overflow: hidden;
}

.contact-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid rgba(252, 248, 239, .35);
  border-bottom: 1px solid rgba(252, 248, 239, .35);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(360px, .82fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 78px);
}

.contact-copy .eyebrow {
  color: rgba(252, 248, 239, .7);
}

.contact-copy h2 {
  margin-top: 17px;
  font-family: var(--cn-serif);
  font-size: clamp(68px, 10.5vw, 170px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.1em;
}

.contact-copy h2 em {
  color: #f4d989;
  font-style: normal;
}

.contact-lead {
  margin-top: 23px;
  font-family: var(--hand);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.6;
  color: rgba(252, 248, 239, .85);
}

.contact-arrow {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-top: 26px;
  border: 1px solid rgba(252, 248, 239, .7);
  border-radius: 50%;
  color: var(--paper-light);
  text-decoration: none;
  font-size: 26px;
  transition: background .3s, color .3s, transform .4s var(--ease);
}

.contact-arrow:hover {
  background: var(--paper-light);
  color: var(--red);
  transform: rotate(45deg);
}

.postcard {
  position: relative;
  padding: 30px 27px 25px;
  background: var(--paper-light);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 10px 12px 0 rgba(37, 33, 27, .18);
  transform: rotate(2.2deg);
}

.postcard::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 37%;
  width: 74px;
  height: 19px;
  background: rgba(224, 207, 174, .82);
  transform: rotate(-3deg);
  clip-path: polygon(2% 5%, 98% 0, 96% 95%, 3% 100%);
}

.postcard-stamp {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 77px;
  height: 91px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px dashed var(--red);
  background: #f7e9ce;
  color: var(--red);
  transform: rotate(3deg);
}

.postcard-stamp span {
  font-family: var(--cn-serif);
  font-size: 29px;
  line-height: 1;
}

.postcard-stamp svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.postcard-stamp em {
  font-family: var(--mono);
  font-size: 5px;
  font-style: normal;
  letter-spacing: .03em;
}

.postcard-kicker {
  padding-right: 90px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .06em;
  color: var(--muted);
}

.postcard-hand {
  margin-top: 34px;
  font-family: var(--hand);
  font-size: 20px;
  color: var(--red);
}

.email-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 11px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: var(--ink);
}

.email-copy span {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 29px);
  line-height: 1.2;
  letter-spacing: -.035em;
  border-bottom: 1px solid var(--ink);
}

.email-copy em {
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: .03em;
  color: var(--muted);
}

.email-copy:hover span {
  color: var(--red);
  border-color: var(--red);
}

.contact-more {
  margin: 15px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .07em;
  color: var(--muted);
}

.contact-methods {
  display: flex;
  flex-direction: column;
}

.contact-method {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  transition: color .2s, border-color .2s;
}

.contact-method:focus-visible {
  outline: 2px dashed var(--red);
  outline-offset: 2px;
}

.cm-label {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .08em;
  color: var(--red);
}

.cm-value {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  line-height: 1.4;
  transition: color .2s;
}

.cm-action {
  justify-self: end;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .03em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}

.contact-method:hover .cm-value,
.contact-method:hover .cm-action {
  color: var(--red);
}

.postcard-send {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  text-decoration: none;
  font-family: var(--hand);
  font-size: 16px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

.postcard-send span {
  font-family: var(--sans);
  font-size: 13px;
}

.postcard-send:hover {
  color: var(--red);
  border-color: var(--red);
}

@media (max-width: 480px) {
  .postmark {
    display: none;
  }

  .cm-action {
    font-size: 7px;
  }
}

.postmark {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(210, 75, 51, .45);
  border-radius: 50%;
  color: rgba(210, 75, 51, .65);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.5;
  text-align: center;
  transform: rotate(-11deg);
}

.postmark i {
  font-style: normal;
  font-size: 10px;
}

.postcard-lines {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: .35;
}

.postcard-lines span {
  display: block;
  height: 1px;
  background: var(--line-strong);
}

.contact-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-top: clamp(50px, 7vw, 90px);
  padding-top: 12px;
  border-top: 1px solid rgba(252, 248, 239, .35);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.8;
}

.contact-bottom p span {
  opacity: .6;
}

.contact-links {
  display: flex;
  gap: clamp(16px, 3vw, 38px);
}

.contact-links a {
  color: var(--paper-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.contact-links a:hover {
  border-color: currentColor;
}

.contact-time {
  text-align: right;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 21px var(--pad);
  background: var(--paper);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.8;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-left .brand-seal {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
  font-size: 15px;
}

.footer-left p span,
.footer-note span {
  opacity: .65;
}

.footer-note {
  text-align: center;
}

.footer-right {
  display: flex;
  gap: 17px;
  text-align: right;
}

.footer-right a {
  color: var(--ink);
  text-decoration: none;
}

/* Reveal ----------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .75s var(--ease), translate .75s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* Intro ------------------------------------------------------------------ */

.js .hero-topline,
.js .hero-copy,
.js .hero-collage,
.js .hero-bottom {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
}

.js body.is-ready .hero-topline,
.js body.is-ready .hero-copy,
.js body.is-ready .hero-collage,
.js body.is-ready .hero-bottom {
  opacity: 1;
  translate: 0 0;
}

.js body.is-ready .hero-copy { transition-delay: .08s; }
.js body.is-ready .hero-collage { transition-delay: .2s; }
.js body.is-ready .hero-bottom { transition-delay: .3s; }

/* Lightbox --------------------------------------------------------------- */

.lightbox {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(35, 31, 25, .74);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s, visibility 0s;
}

.lightbox-sheet {
  position: relative;
  width: min(1280px, 96vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  padding: 14px 17px 12px;
  background: var(--paper-light);
  border: 1px solid var(--ink);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
  transform: translateY(18px) scale(.985);
  transition: transform .45s var(--ease);
}

.lightbox.is-open .lightbox-sheet {
  transform: translateY(0) scale(1);
}

.lightbox-sheet::before {
  display: none;
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.lightbox-top > div {
  display: flex;
  gap: 18px;
}

.lightbox-kicker {
  color: var(--red);
}

.lightbox-close {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--hand);
  font-size: 13px;
}

.lightbox-close span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 16px;
}

.lightbox-close:focus-visible {
  outline: none;
}

.lightbox-close:focus-visible span {
  outline: 2px dashed var(--red);
  outline-offset: 3px;
}

.lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  overflow: hidden;
  background: #e9e0d0;
  border: 1px solid rgba(37, 33, 27, .12);
  touch-action: none;
  cursor: zoom-in;
}

.lightbox-stage.is-zoomed {
  cursor: grab;
}

.lightbox-stage.is-dragging {
  cursor: grabbing;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: calc(94vh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate3d(var(--pan-x, 0), var(--pan-y, 0), 0) scale(var(--zoom, 1));
  transition: transform .25s var(--ease), opacity .2s;
  will-change: transform;
}

.lightbox-stage.is-dragging img {
  transition: opacity .2s;
  will-change: auto;
}

.lightbox-stage.is-loading img {
  opacity: 0;
}

.lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 1px solid var(--line-strong);
  border-top-color: var(--red);
  border-radius: 50%;
  opacity: 0;
  animation: spin 1s linear infinite;
  transition: opacity .2s;
}

.lightbox-stage.is-loading .lightbox-loader {
  opacity: 1;
}

/* Video mode inside the work sheet */
.lightbox-stage video {
  display: none;
  width: 100%;
  height: 100%;
  max-height: calc(94vh - 190px);
  object-fit: contain;
  background: #15120e;
}

.lightbox-stage.is-film {
  background: #15120e;
  cursor: default;
  touch-action: auto;
}

.lightbox-stage.is-film img {
  display: none;
}

.lightbox-stage.is-film video {
  display: block;
}

.lightbox-stage.is-film .lightbox-loader {
  display: none;
}

.lightbox-sheet.is-film .lightbox-zoom {
  display: none;
}

.lightbox-film {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  width: auto !important;
  min-width: 0;
  padding: 0 10px !important;
  border-color: var(--red) !important;
  color: var(--red);
  font-size: 8px !important;
  letter-spacing: .03em;
}

.lightbox-film span {
  font-size: 8px;
}

.lightbox-film:hover {
  border-color: var(--red) !important;
  background: var(--red) !important;
  color: var(--paper-light) !important;
}

.lightbox-film.is-playing {
  background: var(--red);
  color: var(--paper-light);
}

.lightbox-film[hidden] {
  display: none !important;
}

.lightbox-film-strip {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lightbox-film-strip[hidden] {
  display: none;
}

.lightbox-film-chip {
  padding: 6px 9px;
  border: 1px solid rgba(243, 238, 227, .45);
  background: rgba(21, 18, 14, .72);
  color: var(--paper-light);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
}

.lightbox-film-chip:hover,
.lightbox-film-chip.is-active {
  border-color: var(--red);
  background: var(--red);
}

.work-photo {
  position: relative;
}

.work-film-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 250, 240, .42);
  background: rgba(21, 18, 14, .72);
  color: var(--paper-light);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .06em;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.work-film-badge i {
  color: #e8674a;
  font-size: 6px;
  font-style: normal;
}

.lightbox-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-top: 10px;
}

.lightbox-caption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.lightbox-caption > span {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--red);
  white-space: nowrap;
}

.lightbox-caption h3 {
  font-family: var(--cn-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.lightbox-caption p {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.lightbox-controls > button,
.lightbox-zoom button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  transition: background .2s, color .2s, border-color .2s;
}

.lightbox-controls > button:hover,
.lightbox-zoom button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-light);
}

.lightbox-zoom {
  display: flex;
  gap: 4px;
  margin: 0 4px;
}

.lightbox-zoom button {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  font-size: 10px;
}

.lightbox-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .02em;
  color: var(--muted);
}

.lightbox-foot a {
  color: var(--red);
  text-decoration: none;
}

/* Toast ------------------------------------------------------------------ */

.toast {
  position: fixed;
  z-index: 2400;
  left: 50%;
  bottom: 23px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 3px 4px 0 rgba(37, 33, 27, .12);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .03em;
  opacity: 0;
  transform: translate(-50%, 9px) rotate(-1deg);
  pointer-events: none;
  transition: opacity .25s, transform .35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-1deg);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 30px;
  }

  .hero-collage {
    min-height: 500px;
  }

  .header-time {
    display: none;
  }

  .index-head {
    grid-template-columns: 1fr .85fr 120px;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .site-nav {
    display: none;
  }

  .header-note {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-side {
    margin-left: auto;
  }

  .hero {
    padding-top: calc(var(--header-h) + 18px);
  }

  .hero-topline span:nth-child(2) {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-top: 26px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(76px, 16.8vw, 140px);
  }

  .hero-desc {
    max-width: 38ch;
    margin-top: 20px;
  }

  .hero-foot {
    margin-top: 30px;
  }

  .hero-collage {
    justify-self: center;
    width: min(100%, 620px);
    min-height: 520px;
    margin: 30px 0 54px;
  }

  .hero-bottom {
    margin-top: 8px;
  }

  .index-head {
    grid-template-columns: 1fr auto;
    gap: 22px;
  }

  .index-head > div:first-child {
    grid-column: 1;
  }

  .index-intro {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 43ch;
  }

  .index-stamp {
    grid-column: 2;
    grid-row: 1;
    width: 105px;
    height: 105px;
    align-self: start;
  }

  .index-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .chapter-card {
    grid-column: span 1 !important;
    margin-top: 0 !important;
    transform: rotate(var(--tilt, 0deg));
  }

  .chapter-card:nth-child(3),
  .chapter-card:nth-child(6) {
    margin-top: 20px !important;
  }

  .chapter-card:nth-child(1) {
    grid-column: span 2 !important;
  }

  .chapter-head {
    grid-template-columns: .45fr 1fr;
    align-items: start;
  }

  .chapter-side {
    grid-column: 1 / -1;
  }

  .chapter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .work-card {
    grid-column: span 1 !important;
    margin-top: 0 !important;
    transform: rotate(var(--tilt, 0deg));
  }

  .work-card.wc-1 {
    grid-column: 1 / -1 !important;
  }

  .work-card:nth-child(even) {
    margin-top: 22px !important;
  }

  .chapter-note {
    width: 76%;
    margin-right: 2%;
  }

  .about-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-hand {
    padding-bottom: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-left {
    display: grid;
    grid-template-columns: minmax(220px, .9fr) minmax(200px, 1.1fr);
    gap: 25px;
    align-items: start;
    max-width: 660px;
  }

  .about-portrait {
    width: 100%;
  }

  .sticky-note {
    width: 100%;
    margin: 38px 0 0;
  }

  .about-stats {
    max-width: 600px;
  }

  .manifesto {
    grid-template-columns: 55px minmax(0, 1fr);
  }

  .manifesto cite {
    grid-column: 2;
    margin-top: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .postcard {
    width: min(100%, 600px);
    margin: 0 auto;
  }

  .contact-bottom {
    flex-wrap: wrap;
  }

  .contact-time {
    text-align: left;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 13px;
  }

  .footer-note {
    order: 3;
    width: 100%;
    text-align: left;
  }

  .footer-right {
    margin-left: auto;
  }

  .lightbox {
    padding: 9px;
  }

  .lightbox-sheet {
    width: 100%;
    max-height: 96vh;
    padding: 10px 10px 9px;
  }

  .lightbox-stage img {
    max-height: calc(96vh - 180px);
  }

  .lightbox-foot span {
    display: none;
  }
}

@media (max-width: 600px) {
  .brand-type b {
    font-size: 14px;
  }

  .brand-type em {
    font-size: 6px;
  }

  .hero {
    padding-bottom: 18px;
  }

  .hero-topline span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(68px, 19.5vw, 100px);
    line-height: .96;
  }

  .hero-kicker {
    margin-bottom: 12px;
  }

  .hero-actions {
    gap: 16px;
  }

  .hero-foot .hand {
    font-size: 13px;
  }

  .hero-collage {
    min-height: 420px;
    margin-bottom: 48px;
  }

  .collage-title {
    left: 2%;
    font-size: 7px;
  }

  .collage-card {
    padding: 5px 5px 21px;
  }

  .collage-caption b {
    font-size: 9px;
  }

  .collage-caption em {
    display: none;
  }

  .collage-seal {
    width: 62px;
    height: 62px;
    right: 4%;
    bottom: 31%;
    font-size: 6px;
  }

  .collage-controls {
    bottom: -38px;
  }

  .doodle-flower {
    display: none;
  }

  .doodle-arrow {
    left: 28%;
    width: 78px;
  }

  .hero-bottom {
    font-size: 6.5px;
  }

  .hero-bottom span:last-child {
    display: none;
  }

  .paper-ribbon {
    padding: 7px 0;
  }

  .ribbon-track span {
    padding: 0 13px;
    font-size: 8px;
  }

  .section-label span:nth-child(2) {
    display: none;
  }

  .index-section {
    padding-top: 54px;
    padding-bottom: 80px;
  }

  .index-head {
    grid-template-columns: 1fr;
  }

  .index-stamp {
    display: none;
  }

  .index-head h2 {
    font-size: clamp(64px, 19vw, 110px);
  }

  .index-intro {
    grid-column: 1;
    grid-row: auto;
    font-size: 12px;
  }

  .index-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 38px;
  }

  .chapter-card {
    grid-column: span 1 !important;
    margin-top: 0 !important;
  }

  .chapter-card:nth-child(3),
  .chapter-card:nth-child(6) {
    margin-top: 0 !important;
  }

  .chapter-card:nth-child(1) {
    grid-column: span 1 !important;
  }

  .chapter-head {
    grid-template-columns: 1fr;
    padding-top: 38px;
    padding-bottom: 33px;
  }

  .chapter-no span {
    font-size: 72px;
  }

  .chapter-no em {
    margin-top: 4px;
  }

  .chapter-title h2 {
    font-size: clamp(48px, 14vw, 82px);
    margin-top: 8px;
  }

  .chapter-hand {
    font-size: 15px;
  }

  .chapter-side p {
    max-width: 42ch;
    font-size: 11.5px;
  }

  .chapter-tags {
    margin-top: 13px;
  }

  .chapter-gallery {
    padding-top: 28px;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .work-card,
  .work-card.wc-1 {
    grid-column: span 1 !important;
    margin-top: 0 !important;
  }

  .work-card:nth-child(even) {
    margin-top: 0 !important;
  }

  .work-title b {
    font-size: 16px;
  }

  .chapter-note {
    width: 100%;
    margin: 30px 0 0;
    transform: rotate(-.5deg);
  }

  .chapter-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .about-section {
    padding-top: 50px;
  }

  .about-head h2 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .about-left {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .about-portrait {
    width: min(82vw, 340px);
    margin-left: 3%;
  }

  .sticky-note {
    width: min(75vw, 300px);
    margin: 10px 0 0 auto;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .about-stats > div:nth-child(2) {
    border-right: 0;
  }

  .about-stats > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    border-right: 0;
  }

  .about-stats b {
    font-size: 38px;
  }

  .cap-list {
    grid-template-columns: 1fr;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 55px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .manifesto-mark {
    font-size: 70px;
  }

  .manifesto p {
    font-size: 29px;
  }

  .manifesto cite {
    grid-column: 1;
    margin-top: 8px;
  }

  .contact-section {
    padding-top: 34px;
  }

  .contact-head {
    font-size: 7px;
  }

  .contact-head span:last-child {
    display: none;
  }

  .contact-grid {
    gap: 35px;
    margin-top: 38px;
  }

  .contact-copy h2 {
    font-size: clamp(70px, 20vw, 110px);
  }

  .contact-lead {
    font-size: 17px;
  }

  .contact-arrow {
    width: 58px;
    height: 58px;
    margin-top: 21px;
    font-size: 22px;
  }

  .postcard {
    padding: 24px 19px 20px;
  }

  .postcard-stamp {
    width: 63px;
    height: 76px;
    top: 13px;
    right: 14px;
  }

  .postcard-stamp span {
    font-size: 23px;
  }

  .postcard-stamp svg {
    width: 21px;
    height: 21px;
  }

  .postcard-kicker {
    padding-right: 70px;
    font-size: 6px;
  }

  .email-copy span {
    font-size: clamp(17px, 5.1vw, 23px);
  }

  .postmark {
    width: 68px;
    height: 68px;
    right: 18px;
    bottom: 18px;
    font-size: 5px;
  }

  .postcard-lines {
    left: 19px;
    right: 19px;
  }

  .contact-bottom {
    gap: 15px;
    margin-top: 45px;
  }

  .contact-links {
    gap: 15px;
  }

  .contact-time {
    flex-basis: 100%;
  }

  .site-footer {
    font-size: 6.5px;
  }

  .footer-left p span {
    display: none;
  }

  .footer-right {
    display: none;
  }

  .lightbox {
    padding: 6px;
  }

  .lightbox-sheet {
    padding: 8px;
  }

  .lightbox-top > div {
    gap: 8px;
    flex-direction: column;
  }

  .lightbox-stage {
    margin-top: 7px;
  }

  .lightbox-stage img {
    max-height: calc(96vh - 210px);
  }

  .lightbox-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lightbox-caption h3 {
    font-size: 15px;
  }

  .lightbox-controls {
    width: 100%;
    justify-content: space-between;
  }

  .lightbox-controls > button {
    width: 34px;
    height: 34px;
  }

  .lightbox-zoom {
    margin: 0;
  }

  .lightbox-foot {
    font-size: 5.5px;
  }

  .lightbox-foot a {
    white-space: nowrap;
  }
}

/* Work fragment game ----------------------------------------------------- */

.game-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(242, 231, 216, .34);
  background: rgba(11, 8, 7, .76);
  color: var(--ink);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .3);
  font-family: var(--hand);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
  transform: rotate(-1deg);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.game-tab:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--ink);
  transform: rotate(0) translateY(-1px);
}

.game-tab:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper-light);
  transform: rotate(0) translateY(-1px);
}

.game-tab-star {
  color: var(--red);
  font-size: 10px;
  line-height: 1;
  transition: color .2s;
}

.game-tab:hover .game-tab-star {
  color: var(--paper-light);
}

.fragment-game {
  position: fixed;
  z-index: 2250;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(35, 31, 25, .76);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}

.fragment-game[hidden] {
  display: none;
}

.fragment-game [hidden] {
  display: none !important;
}

.fragment-game.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s, visibility 0s;
}

body.game-open {
  overflow: hidden;
}

.game-sheet {
  position: relative;
  width: min(740px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 13px 15px 11px;
  background: var(--paper-light);
  border: 1px solid var(--ink);
  box-shadow: 15px 17px 0 rgba(0, 0, 0, .15);
  transform: translateY(18px) rotate(.25deg) scale(.985);
  transition: transform .45s var(--ease);
}

.fragment-game.is-open .game-sheet {
  transform: translateY(0) rotate(.25deg) scale(1);
}

.game-sheet::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 45%;
  width: 86px;
  height: 20px;
  background: rgba(224, 207, 174, .9);
  transform: rotate(-2deg);
  clip-path: polygon(2% 5%, 98% 0, 96% 95%, 3% 100%);
}

.game-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.game-top > div {
  display: flex;
  gap: 18px;
}

.game-kicker {
  color: var(--red);
}

.game-sub {
  color: var(--muted);
}

.game-close {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--hand);
  font-size: 13px;
}

.game-close span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 16px;
}

.game-close:focus-visible {
  outline: none;
}

.game-close:focus-visible span {
  outline: 2px dashed var(--red);
  outline-offset: 3px;
}

.game-body {
  display: grid;
  grid-template-columns: minmax(210px, .82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: center;
  min-height: 0;
  padding: 15px 0 8px;
  overflow-y: auto;
}

.game-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.game-fragment {
  position: relative;
  width: min(100%, 290px);
  padding: 8px 8px 25px;
  background: #fffaf0;
  border: 1px solid var(--line);
  box-shadow: 7px 8px 0 rgba(37, 33, 27, .09);
  transform: rotate(-1.2deg);
}

.game-crop {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #e8dfcf;
  background-repeat: no-repeat;
  border: 1px solid rgba(37, 33, 27, .16);
  transition: background-size .55s var(--ease), background-position .55s var(--ease);
}

.game-crop.is-revealed {
  background-color: #f1eadc;
}

.game-fragment-num {
  position: absolute;
  left: 12px;
  bottom: 8px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .08em;
  color: var(--muted);
}

.game-fragment-stamp {
  position: absolute;
  right: 18px;
  bottom: 38px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(210, 75, 51, .7);
  border-radius: 50%;
  color: rgba(210, 75, 51, .78);
  font-family: var(--mono);
  font-size: 5px;
  line-height: 1.5;
  text-align: center;
  transform: rotate(-10deg);
  pointer-events: none;
  background: rgba(252, 248, 239, .72);
}

.game-micro {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .06em;
  color: var(--muted);
  text-align: center;
}

.game-right {
  min-width: 0;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
  color: var(--muted);
}

.game-meta span:first-child {
  color: var(--red);
}

.game-title {
  margin-top: 13px;
  font-family: var(--cn-serif);
  font-size: clamp(34px, 3.9vw, 48px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.07em;
}

.game-title em {
  color: var(--red);
  font-style: normal;
}

.game-prompt {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.game-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 15px;
}

.game-choice {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 7px;
  align-items: center;
  min-height: 49px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
  transition: background .22s, border-color .22s, transform .22s, color .22s;
}

.game-choice:hover:not(:disabled) {
  border-color: var(--choice);
  background: #fffdf8;
  transform: translateY(-2px);
}

.game-choice:disabled {
  opacity: .62;
}

.game-choice-num {
  grid-row: 1 / 3;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
  color: var(--choice);
}

.game-choice b {
  overflow: hidden;
  font-family: var(--cn-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-choice em {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 5.5px;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-choice.is-correct {
  border-color: var(--jade);
  background: #e5efe3;
  opacity: 1;
}

.game-choice.is-correct::after {
  content: "✓";
  position: absolute;
  top: 7px;
  right: 8px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--jade);
}

.game-choice.is-wrong {
  border-color: var(--red);
  background: #f6ded8;
  opacity: 1;
}

.game-choice.is-wrong::after {
  content: "×";
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--red);
}

.game-result {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fff9ea;
  border: 1px dashed var(--line-strong);
}

.game-result[hidden] {
  display: none;
}

.game-verdict {
  font-family: var(--hand);
  font-size: 18px;
  line-height: 1.4;
  color: var(--red);
}

.game-work {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 3px;
}

.game-work b {
  font-family: var(--cn-serif);
  font-size: 14px;
  font-weight: 600;
}

.game-work em {
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--muted);
}

.game-work-link {
  margin-top: 7px;
  padding: 0 0 1px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--hand);
  font-size: 14px;
}

.game-work-link span {
  font-family: var(--sans);
  font-size: 12px;
}

.game-work-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.game-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.game-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .03em;
  box-shadow: 3px 4px 0 rgba(37, 33, 27, .18);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.game-next[hidden] {
  display: none;
}

.game-next span {
  font-family: var(--sans);
  font-size: 13px;
}

.game-next:hover {
  background: var(--red-deep);
  transform: translate(1px, 1px);
  box-shadow: 1px 2px 0 rgba(37, 33, 27, .18);
}

.game-key {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 6px;
  color: var(--muted);
  text-align: right;
}

.game-summary {
  margin-top: 17px;
  padding: 14px 16px;
  background: #f0d78b;
  border: 1px solid rgba(37, 33, 27, .18);
  box-shadow: 4px 5px 0 rgba(37, 33, 27, .08);
  transform: rotate(-.4deg);
}

.game-summary[hidden] {
  display: none;
}

.game-summary-kicker {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .07em;
  color: rgba(37, 33, 27, .6);
}

.game-summary-score {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  line-height: .9;
  letter-spacing: -.05em;
}

.game-summary-text {
  max-width: 40ch;
  margin-top: 7px;
  font-family: var(--hand);
  font-size: 16px;
  line-height: 1.6;
}

.game-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.game-replay,
.game-back {
  padding: 6px 9px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  font-family: var(--mono);
  font-size: 7px;
  transition: background .2s, color .2s;
}

.game-replay:hover,
.game-back:hover {
  background: var(--ink);
  color: var(--paper-light);
}

.game-back {
  border-color: transparent;
  background: transparent;
  border-bottom-color: var(--ink);
}

.game-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .02em;
  color: var(--muted);
}

@media (max-width: 900px) {
  .game-body {
    grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr);
    gap: 20px;
  }

  .game-title {
    font-size: clamp(34px, 5vw, 44px);
  }
}

@media (max-width: 680px) {
  .fragment-game {
    padding: 8px;
  }

  .game-sheet {
    width: 100%;
    max-height: 96vh;
    padding: 10px 10px 9px;
  }

  .game-top > div {
    flex-direction: column;
    gap: 2px;
  }

  .game-sub {
    font-size: 6px;
  }

  .game-body {
    display: block;
    padding-top: 12px;
    overflow-y: auto;
  }

  .game-left {
    margin-bottom: 12px;
  }

  .game-fragment {
    width: min(55vw, 240px);
    padding: 6px 6px 22px;
  }

  .game-fragment-stamp {
    right: 11px;
    bottom: 31px;
    width: 47px;
    height: 47px;
    font-size: 4.5px;
  }

  .game-micro {
    display: none;
  }

  .game-title {
    margin-top: 11px;
    font-size: clamp(35px, 10vw, 47px);
  }

  .game-prompt {
    margin-top: 6px;
    font-size: 10.5px;
  }

  .game-choices {
    gap: 5px;
    margin-top: 11px;
  }

  .game-choice {
    min-height: 44px;
    padding: 6px 7px;
    grid-template-columns: 17px minmax(0, 1fr);
    column-gap: 5px;
  }

  .game-choice-num {
    font-size: 15px;
  }

  .game-choice b {
    font-size: 12px;
  }

  .game-choice em {
    display: none;
  }

  .game-result {
    margin-top: 10px;
    padding: 8px 9px;
  }

  .game-verdict {
    font-size: 16px;
  }

  .game-work {
    margin-top: 1px;
  }

  .game-work b {
    font-size: 13px;
  }

  .game-work em {
    font-size: 5.5px;
  }

  .game-actions {
    margin-top: 10px;
  }

  .game-key {
    font-size: 5.5px;
  }

  .game-summary {
    margin-top: 12px;
    padding: 11px 12px;
  }

  .game-summary-text {
    font-size: 14px;
  }

  .game-foot {
    font-size: 5.5px;
  }
}

@media (max-width: 600px) {
  .game-tab {
    gap: 3px;
    padding: 5px 6px;
    font-size: 11px;
  }

  .game-tab-star {
    font-size: 9px;
  }
}

/* Editorial refresh ------------------------------------------------------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: calc(var(--header-h) + 22px) var(--pad) 22px;
  overflow: visible;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-topline {
  flex: 0 0 auto;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(320px, .73fr);
  gap: clamp(34px, 5vw, 88px);
  align-items: center;
  flex: 1;
  min-height: calc(100svh - var(--header-h) - 142px);
  padding: clamp(42px, 7vh, 92px) 0 clamp(32px, 5vh, 58px);
}

.hero-statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(20px, 3.4vh, 36px);
  color: var(--muted);
  font-size: 8px;
}

.hero h1 {
  margin: 0;
  font-family: var(--cn-serif);
  font-size: clamp(82px, 11.5vw, 176px);
  font-weight: 600;
  line-height: .84;
  letter-spacing: -.095em;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero h1 .full-stop {
  color: var(--red);
}

.hero h1 .cut::after {
  display: none;
}

.hero-intro-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: clamp(30px, 5vh, 62px);
  padding-top: 17px;
  border-top: 1px solid var(--line-strong);
}

.hero-portfolio-note {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  color: var(--red);
  font-family: var(--hand);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.3;
  letter-spacing: .01em;
}

.hero-portfolio-note em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: .08em;
  line-height: 1.5;
}

.hero-desc {
  max-width: 38ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-entry {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}

.hero-entry i {
  font-family: var(--sans);
  font-size: 16px;
  font-style: normal;
  transition: transform .3s;
}

.hero-entry:hover {
  color: var(--red);
  border-color: var(--red);
}

.hero-entry:hover i {
  transform: translateY(3px);
}

.hero-art {
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 480px;
  margin: 0;
}

.hero-art-frame {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line-strong);
  text-decoration: none;
}

.hero-art-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 9px;
  border: 1px solid rgba(243, 238, 227, .6);
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease), filter .4s;
}

.hero-art-frame:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.hero-art-tag {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  padding: 5px 7px;
  border: 1px solid rgba(37, 33, 27, .25);
  background: rgba(255, 250, 240, .88);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .06em;
}

.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .05em;
}

.hero-art figcaption span:first-child {
  color: var(--ink);
}

.hero-bottom {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 7px;
}

.hero-bottom-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hero-bottom span:last-child {
  text-align: right;
}

/* Index: a quiet two-column contact sheet */
.index-section {
  padding: clamp(80px, 10vw, 140px) var(--pad) clamp(90px, 11vw, 160px);
}

.index-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(40px, 10vw, 160px);
  align-items: end;
  margin-top: clamp(48px, 7vw, 92px);
}

.index-heading {
  min-width: 0;
}

.index-heading .eyebrow {
  margin-bottom: 15px;
}

.index-head h2 {
  margin: 0;
  font-size: clamp(72px, 9.5vw, 150px);
  line-height: .9;
  letter-spacing: -.1em;
}

.index-aside {
  max-width: 430px;
  justify-self: end;
  padding-bottom: 7px;
}

.index-intro {
  max-width: 35ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.index-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .05em;
}

.index-facts span:first-child {
  color: var(--red);
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 6vw, 82px) clamp(24px, 4vw, 52px);
  margin-top: clamp(50px, 7vw, 90px);
  align-items: start;
}

.index-grid .chapter-card {
  display: block;
  grid-column: auto !important;
  margin-top: 0 !important;
  padding: 0 0 12px;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
  box-shadow: none;
  transform: none !important;
  transition: none;
}

.index-grid .chapter-card:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.index-grid .chapter-card .card-tape {
  display: none;
}

.index-grid .chapter-card .card-head {
  padding: 11px 0 9px;
  align-items: baseline;
}

.index-grid .chapter-card .card-num {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -.06em;
  transition: color .2s;
}

.index-grid .chapter-card .card-count {
  font-size: 6.5px;
  color: var(--muted);
}

.index-grid .chapter-card .card-photo {
  aspect-ratio: 3 / 2;
  border: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.index-grid .chapter-card .card-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.index-grid .chapter-card .card-title {
  padding: 12px 0 0;
  border: 0;
}

.index-grid .chapter-card .card-title b {
  font-size: clamp(21px, 2.1vw, 30px);
  transition: color .2s;
}

.index-grid .chapter-card .card-title em {
  font-size: 6.5px;
  color: var(--muted);
}

.index-grid .chapter-card .card-title::after {
  content: "↗";
  margin-left: auto;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  transition: color .2s, transform .25s;
}

.index-grid .chapter-card:hover .card-title::after {
  color: var(--red);
  transform: translate(2px, -2px);
}

.index-grid .chapter-card .card-open {
  display: none;
}

.index-grid .chapter-card:hover .card-photo img {
  transform: scale(1.025);
}

.index-grid .chapter-card:hover .card-num,
.index-grid .chapter-card:hover .card-title b {
  color: var(--red);
}

/* Chapter works: one featured plate, then a calm two-up sequence */
.chapter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 64px) clamp(24px, 3.4vw, 46px);
  align-items: start;
}

.chapter-grid .work-card {
  grid-column: auto !important;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none !important;
}

.chapter-grid .work-card.wc-1 {
  grid-column: 1 / -1 !important;
}

.chapter-grid .work-card:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.chapter-grid .work-card::before {
  display: none !important;
}

.chapter-grid .work-photo {
  border: 0;
}

.chapter-grid .work-caption {
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.chapter-grid .work-num {
  color: var(--red);
}

.chapter-grid .work-title b {
  font-size: clamp(15px, 1.5vw, 21px);
  transition: color .2s;
}

.chapter-grid .work-card:hover .work-title b {
  color: var(--red);
}

.chapter-grid .work-open {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.chapter-grid .work-card:hover .work-open {
  background: transparent;
  color: var(--red);
}

@media (max-width: 620px) {
  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .chapter-grid .work-card.wc-1 {
    grid-column: auto !important;
  }
}

/* Remove the paper scraps and tilt from the rest of the book. */
.tape,
.card-tape,
.note-pin,
.chapter-head::after {
  display: none !important;
}

.about-portrait {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}

.about-portrait:hover {
  transform: none;
}

.about-portrait img {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
}

.about-portrait figcaption {
  position: static;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.sticky-note {
  width: 100%;
  margin: 24px 0 0;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(76px, 11.8vw, 142px);
  }

  .hero-art {
    max-width: 420px;
  }

  .index-head {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--header-h) + 18px);
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
    min-height: auto;
    padding: 34px 0 28px;
  }

  .hero-statement {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(70px, 16vw, 120px);
  }

  .hero-intro-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .hero-entry {
    justify-self: start;
  }

  .hero-art {
    justify-self: start;
    width: min(100%, 520px);
    max-width: none;
  }

  .hero-art-frame {
    aspect-ratio: 1 / 1;
  }

  .index-head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 42px;
  }

  .index-aside {
    justify-self: start;
    max-width: 470px;
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 22px;
    margin-top: 46px;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(62px, 18.5vw, 96px);
  }

  .hero-intro-row {
    margin-top: 26px;
  }

  .hero-art {
    width: 100%;
  }

  .hero-bottom {
    font-size: 6px;
  }

  .hero-bottom span:last-child {
    display: none;
  }

  .index-section {
    padding-top: 62px;
    padding-bottom: 90px;
  }

  .index-head h2 {
    font-size: clamp(68px, 20vw, 100px);
  }

  .index-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 38px;
  }

  .index-grid .chapter-card .card-photo {
    aspect-ratio: 3 / 2;
  }
}

/* Compact catalogue and chapter reader -------------------------------- */

.index-section {
  padding-top: clamp(70px, 8vw, 112px);
}

.index-head {
  margin-top: clamp(34px, 5vw, 58px);
  gap: clamp(36px, 8vw, 120px);
}

.index-head h2 {
  font-size: clamp(62px, 7.4vw, 108px);
}

.index-aside {
  padding-bottom: 2px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 54px);
  row-gap: 0;
  margin-top: clamp(30px, 3.6vw, 44px);
  border-top: 1px solid var(--ink);
}

.index-grid .chapter-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 120px minmax(0, 1fr) 24px;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform: none !important;
  transition: background .2s;
}

.index-grid .chapter-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
  pointer-events: none;
}

.index-grid .chapter-card:hover::after,
.index-grid .chapter-card:focus-visible::after {
  transform: scaleX(1);
}

.index-grid .chapter-card:hover {
  background: rgba(207, 75, 50, .035);
}

.index-grid .chapter-card .card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0;
}

.index-grid .chapter-card .card-num {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: .9;
}

.index-grid .chapter-card .card-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .03em;
  white-space: nowrap;
}

.index-grid .chapter-card .card-photo {
  position: relative;
  width: 120px;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 0;
  background: var(--paper-deep);
  perspective: 800px;
}

.card-flip {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .75, .2, 1);
}

.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--paper-deep);
}

.card-face--back {
  transform: rotateY(180deg);
}

.index-grid .chapter-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

@media (hover: hover) {
  .index-grid .chapter-card:hover .card-flip {
    transform: rotateY(180deg);
  }
}

.index-grid .chapter-card:focus-visible .card-flip {
  transform: rotateY(180deg);
}

.index-grid .chapter-card .card-photo::after {
  content: "↻";
  position: absolute;
  z-index: 2;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  background: rgba(255, 250, 240, .86);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1;
  pointer-events: none;
  transition: opacity .2s;
}

@media (hover: none) {
  .index-grid .chapter-card .card-photo::after {
    display: none;
  }
}

@media (hover: hover) {
  .index-grid .chapter-card:hover .card-photo::after {
    opacity: 0;
  }
}

.index-grid .chapter-card .card-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
}

.index-grid .chapter-card .card-title b {
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1.08;
}

.index-grid .chapter-card .card-title em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: .05em;
}

.index-grid .chapter-card .card-title::after {
  display: none;
}

.index-grid .chapter-card .card-open {
  display: grid;
  place-items: center;
  position: static;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}

.index-grid .chapter-card:hover .card-photo img {
  transform: none;
}

.index-grid .chapter-card:hover .card-num,
.index-grid .chapter-card:hover .card-title b,
.index-grid .chapter-card:hover .card-open {
  color: var(--red);
}

/* Chapter reader: only one chapter occupies the page at a time */
.chapter-reader {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 3vw 3vw;
  background: rgba(21, 18, 14, .58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility 0s .28s;
}

.chapter-reader[hidden] {
  display: none;
}

.chapter-reader.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .28s, visibility 0s;
}

.reader-sheet {
  width: min(1180px, 94vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--paper-light);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
  clip-path: inset(0 0 100% 0);
  transform: translateY(18px) scale(.987);
  transition: transform .4s var(--ease), clip-path .68s cubic-bezier(.2, .8, .2, 1);
}

.chapter-reader.is-open .reader-sheet {
  clip-path: inset(0 0 0 0);
  transform: translateY(0) scale(1);
}

.chapter-reader.is-open .reader-head,
.chapter-reader.is-open .reader-grid {
  animation: reader-content-in .62s cubic-bezier(.2, .8, .2, 1) .18s both;
}

@keyframes reader-content-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reader-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .05em;
}

.reader-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
  cursor: pointer;
}

.reader-close span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 15px;
  transition: transform .2s;
}

.reader-close:hover span {
  transform: rotate(90deg);
}

.reader-scroll {
  overflow: auto;
  padding: clamp(24px, 3.6vw, 44px) clamp(20px, 3.4vw, 42px) 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.reader-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(230px, .68fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.reader-num {
  color: var(--accent, var(--red));
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 62px);
  line-height: .8;
  letter-spacing: -.06em;
}

.reader-heading h2 {
  margin-top: 6px;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: .95;
  letter-spacing: -.07em;
}

.reader-hand {
  margin-top: 9px;
  color: var(--red);
  font-family: var(--hand);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.35;
}

.reader-side > p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.reader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
  list-style: none;
}

.reader-tags li {
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reader-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: clamp(20px, 2.6vw, 30px);
}

.reader-grid .work-card.wc-1 {
  grid-column: auto !important;
}

.reader-grid .work-title b {
  font-size: clamp(14px, 1.35vw, 18px);
}

.reader-grid .work-title em {
  font-size: 6px;
}

.reader-grid .work-caption {
  grid-template-columns: 30px minmax(0, 1fr) 20px;
  padding-top: 9px;
}

.reader-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}

.reader-foot button {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s;
}

.reader-foot button:hover {
  color: var(--red);
}

body.chapter-reader-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .index-grid .chapter-card {
    grid-template-columns: 48px 120px minmax(0, 1fr) 24px;
    gap: 20px;
    padding: 13px 0;
  }

  .index-grid .chapter-card .card-photo {
    width: 120px;
  }

  .reader-head {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px 24px;
  }

  .reader-side {
    grid-column: 1 / -1;
  }

  .reader-side > p {
    max-width: 60ch;
  }

  .reader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .index-section {
    padding-top: 56px;
  }

  .index-head {
    margin-top: 30px;
  }

  .index-head h2 {
    font-size: clamp(56px, 17vw, 78px);
  }

  .index-intro {
    font-size: 13px;
  }

  .index-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .index-grid .chapter-card {
    grid-template-columns: 36px 84px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 11px 0;
  }

  .index-grid .chapter-card .card-num {
    font-size: 24px;
  }

  .index-grid .chapter-card .card-count {
    display: none;
  }

  .index-grid .chapter-card .card-photo {
    width: 84px;
  }

  .index-grid .chapter-card .card-title b {
    font-size: 18px;
  }

  .index-grid .chapter-card .card-title em {
    font-size: 5.5px;
  }

  .index-grid .chapter-card .card-open {
    width: 20px;
    font-size: 13px;
  }

  .chapter-reader {
    padding: 0;
  }

  .reader-sheet {
    width: 100%;
    max-height: 100svh;
    height: 100svh;
    border: 0;
    box-shadow: none;
  }

  .reader-scroll {
    padding: 22px 20px 20px;
  }

  .reader-head {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px 18px;
    padding-bottom: 18px;
  }

  .reader-num {
    font-size: 38px;
  }

  .reader-heading h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .reader-hand {
    font-size: 14px;
  }

  .reader-side {
    grid-column: 1 / -1;
  }

  .reader-side > p {
    font-size: 12px;
  }

  .reader-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reader-grid .work-card.wc-1 {
    grid-column: auto;
  }

  .reader-foot {
    margin-top: 24px;
  }
}

/* About artist card: one deliberate flip, not a hover trick */
.about-card {
  perspective: 1200px;
}

.about-flip {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.2, .75, .2, 1);
}

.about-flip.is-flipped {
  transform: rotateY(180deg);
}

.about-flip:focus-visible {
  outline: 2px dashed var(--red);
  outline-offset: 4px;
}

.about-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.about-face--front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.about-face--front img {
  display: block;
  width: min(68%, 270px);
  height: auto;
  max-height: 78%;
  margin: auto auto 0;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .6)) drop-shadow(0 0 1px rgba(242, 231, 216, .28));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 87%, transparent 100%);
}

.about-face-caption {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .04em;
}

.about-face--back {
  justify-content: space-between;
  padding: 24px 22px;
  background: var(--ink);
  color: var(--paper);
  transform: rotateY(180deg);
}

.about-back-kicker {
  color: var(--red);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .08em;
}

.about-back-quote {
  font-family: var(--cn-serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.45;
  letter-spacing: -.04em;
}

.about-back-meta {
  color: rgba(243, 238, 227, .68);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.8;
  letter-spacing: .04em;
}

.about-back-hint {
  color: var(--red);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}

.about-flip-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
}

.about-flip-hint span {
  color: var(--red);
}

/* A single headline reveal when the exhibition opens */
body.is-loading .hero h1 {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(22px);
}

body.is-ready .hero h1 {
  animation: hero-headline-in .9s cubic-bezier(.2, .8, .2, 1) 1s both;
}

@keyframes hero-headline-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

/* Nocturne gallery palette ----------------------------------------------- */

:root {
  --paper: #0b0807;
  --paper-deep: #120d0b;
  --paper-light: #17110f;
  --ink: #f2e7d8;
  --muted: #b3a28f;
  --line: rgba(242, 231, 216, .15);
  --line-strong: rgba(242, 231, 216, .38);
  --red: #9e211b;
  --red-deep: #6d1410;
  --jade: #b49a7d;
  --mustard: #b98e55;
  --blue: #8494a2;
  --pink: #b66a5f;
  --butter: #b98e55;
  --shadow: 7px 8px 0 rgba(0, 0, 0, .38);
  --shadow-lift: 12px 15px 0 rgba(0, 0, 0, .5);
}

html,
body {
  background: var(--paper);
  color: var(--ink);
}

html {
  color-scheme: dark;
}

::selection {
  background: var(--red);
  color: var(--ink);
}

.site-header {
  background: rgba(11, 8, 7, .9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}

.site-header.is-stuck {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

.brand-seal {
  color: var(--ink);
}

/* Loader becomes a darkroom print instead of a paper cover */
.loader::before {
  background:
    linear-gradient(to bottom, rgba(11, 8, 7, .96) 0%, rgba(11, 8, 7, .14) 20%, rgba(11, 8, 7, .08) 66%, rgba(11, 8, 7, .97) 100%),
    linear-gradient(to right, rgba(11, 8, 7, .72), transparent 24%, transparent 76%, rgba(11, 8, 7, .7));
}

.loader::after {
  border-color: rgba(158, 33, 27, .58);
}

.loader-top,
.loader-bottom {
  border-color: rgba(242, 231, 216, .18);
}

.loader-bg {
  background: var(--paper-light);
}

.loader-bg img {
  filter: none;
  border-color: rgba(242, 231, 216, .14);
}

.loader-bg::after {
  background: rgba(109, 20, 16, .72);
}

.loader-seal {
  background: rgba(11, 8, 7, .72);
  color: var(--red);
}

.loader-status,
.loader-count {
  text-shadow: none;
}

.loader-line {
  background: rgba(242, 231, 216, .17);
}

.loader-fallback {
  background: var(--paper);
}

/* The key-art print sits on a black matte */
.hero-art-frame {
  border-color: rgba(242, 231, 216, .26);
}

.hero-art-frame::after {
  border-color: rgba(242, 231, 216, .42);
}

.hero-art-tag {
  border-color: rgba(242, 231, 216, .3);
  background: rgba(11, 8, 7, .88);
  color: var(--ink);
}

.hero-art img {
  filter: brightness(1.05) contrast(1.03);
}

/* Catalogue */
.index-grid .chapter-card:hover {
  background: rgba(158, 33, 27, .12);
}

.index-grid .chapter-card .card-photo::after {
  background: rgba(11, 8, 7, .86);
  color: var(--ink);
}

.card-face {
  background: var(--paper-deep);
}

/* About */
.about-section {
  background: var(--paper);
}

.about-section::before {
  background: radial-gradient(circle at 55% 50%, rgba(158, 33, 27, .27), rgba(158, 33, 27, 0) 68%);
  opacity: 1;
}

.about-head h2 em {
  color: var(--red);
}

.about-face--front {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.about-face--front .about-face-caption {
  color: var(--muted);
}

.about-face--back {
  border-color: rgba(242, 231, 216, .2);
  background: #080605;
  color: var(--ink);
}

.about-flip-hint {
  color: var(--muted);
}

.sticky-note {
  border: 1px solid rgba(158, 33, 27, .55);
  background: #1d0f0c;
  color: var(--ink);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .35);
}

.sticky-note::after {
  background: linear-gradient(135deg, rgba(158, 33, 27, .2), rgba(0, 0, 0, .35));
}

.sticky-note .note-sign {
  color: var(--muted);
}

.honor-note {
  border-color: var(--line);
  background: var(--paper-light);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .32);
}

.manifesto {
  background: var(--red-deep);
  color: var(--ink);
}

.manifesto cite {
  color: rgba(242, 231, 216, .68);
}

/* Contact room and the one paper object left in it */
.contact-section {
  background: var(--red-deep);
  color: var(--ink);
}

.contact-head {
  border-color: rgba(242, 231, 216, .3);
}

.contact-copy .eyebrow {
  color: rgba(242, 231, 216, .68);
}

.contact-copy h2 em {
  color: var(--ink);
}

.contact-lead {
  color: rgba(242, 231, 216, .82);
}

.contact-arrow {
  border-color: rgba(242, 231, 216, .65);
  color: var(--ink);
}

.contact-arrow:hover {
  background: var(--ink);
  color: var(--red);
}

.postcard {
  --ink: #17110d;
  --muted: #6f5f50;
  --line: rgba(23, 17, 13, .18);
  --line-strong: rgba(23, 17, 13, .38);
  --red: #8f1b16;
  border-color: #17110d;
  background: #f0e5d4;
  color: var(--ink);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, .38);
}

.postcard::before {
  background: rgba(109, 20, 16, .72);
}

.postcard-stamp {
  border-color: var(--red);
  background: #e4cfa8;
  color: var(--red);
}

.postcard-kicker,
.postcard-hand {
  color: var(--muted);
}

.postcard-send {
  color: var(--ink);
}

.postcard-lines span {
  background: var(--line-strong);
}

/* Reader */
.reader-sheet {
  border-color: var(--line-strong);
  background: var(--paper-light);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .62);
}

.reader-num {
  color: var(--red);
}

.reader-tags li {
  border-color: var(--line);
  color: var(--muted);
}

.reader-close span {
  color: var(--ink);
}

/* Lightbox */
.lightbox {
  background: rgba(0, 0, 0, .84);
}

.lightbox-sheet {
  border-color: var(--line-strong);
  background: var(--paper-light);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .65);
}

.lightbox-stage {
  border-color: var(--line);
  background: #070605;
}

.lightbox-stage.is-film {
  background: #050403;
}

.lightbox-close span {
  color: var(--ink);
}

.lightbox-caption h3 {
  color: var(--ink);
}

.lightbox-film.is-playing,
.lightbox-film:hover {
  color: var(--ink) !important;
}

.lightbox-controls > button,
.lightbox-zoom button {
  border-color: var(--line-strong);
  color: var(--ink);
}

.lightbox-controls > button:hover,
.lightbox-zoom button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* Game */
.game-sheet {
  border-color: var(--line-strong);
  background: var(--paper-light);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.game-sheet::before {
  background: rgba(109, 20, 16, .76);
}

.game-fragment {
  border-color: var(--line);
  background: var(--paper-deep);
  box-shadow: 7px 8px 0 rgba(0, 0, 0, .35);
}

.game-crop {
  border-color: var(--line);
  background-color: #0b0807;
}

.game-crop.is-revealed {
  background-color: #1a110e;
}

.game-fragment-stamp {
  border-color: rgba(158, 33, 27, .7);
  background: rgba(11, 8, 7, .7);
  color: rgba(242, 231, 216, .7);
}

.game-choice {
  border-color: var(--line);
  background: var(--paper-deep);
  color: var(--ink);
}

.game-choice:hover:not(:disabled) {
  background: #24120f;
}

.game-choice.is-correct {
  border-color: var(--jade);
  background: rgba(180, 154, 125, .12);
}

.game-choice.is-wrong {
  border-color: var(--red);
  background: rgba(158, 33, 27, .14);
}

.game-result {
  border-color: var(--line-strong);
  background: #1b100d;
}

.game-next {
  color: var(--ink);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .28);
}

.game-next:hover {
  box-shadow: 1px 2px 0 rgba(0, 0, 0, .28);
}

.game-summary {
  border-color: var(--line);
  background: #1d0f0c;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .32);
}

.game-summary-kicker {
  color: var(--muted);
}

.game-close span {
  color: var(--ink);
}

.game-tab:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--ink);
}

.game-tab:hover .game-tab-star {
  color: var(--ink);
}

.toast {
  border-color: var(--line-strong);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

/* Keep the few coloured labels on the red/black axis */
.eyebrow,
.section-label,
.hero-kicker em,
.hero-kicker span {
  color: var(--muted);
}

.hero h1,
.contact-copy h2,
.about-head h2 {
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}

/* Keep the narrow postcard legible */
@media (max-width: 480px) {
  .postmark,
  .postcard-lines {
    display: none;
  }

  .cm-action {
    font-size: 7px;
  }
}

/* Work pages — chapter detail and all-films index ----------------------- */

.work-page {
  background: var(--paper);
  color: var(--ink);
}

.work-page [hidden] {
  display: none !important;
}

.work-header {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  min-height: var(--header-h);
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 8, 7, .94);
  backdrop-filter: blur(14px);
}

.work-header .brand {
  flex: 0 0 auto;
}

.work-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  margin-left: auto;
}

.work-nav a {
  position: relative;
  padding: 5px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

.work-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.work-nav a:hover,
.work-nav a.is-active {
  color: var(--ink);
}

.work-nav a:hover::after,
.work-nav a.is-active::after {
  transform: scaleX(1);
}

.work-back {
  flex: 0 0 auto;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.work-back span {
  color: var(--red);
  font-family: var(--sans);
}

.work-back:hover {
  border-color: var(--red);
  color: var(--red);
}

.work-main {
  position: relative;
  z-index: 1;
}

.chapter-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 94px) var(--pad) 0;
}

.chapter-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.chapter-hero {
  border-bottom: 1px solid var(--line);
}

.chapter-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, .72fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  padding: clamp(28px, 4vw, 52px) 0 clamp(34px, 5vw, 58px);
}

.chapter-num {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 86px);
  letter-spacing: -.06em;
  line-height: .75;
}

.chapter-title-wrap h1 {
  margin-top: clamp(16px, 3vw, 28px);
  font-family: var(--cn-serif);
  font-size: clamp(56px, 8vw, 126px);
  font-weight: 600;
  letter-spacing: -.09em;
  line-height: .95;
}

[data-chapter="ip"] .chapter-title-wrap h1 {
  font-size: clamp(44px, 6.2vw, 104px);
  letter-spacing: -.08em;
  white-space: nowrap;
}

.chapter-hand {
  margin-top: 15px;
  color: var(--red);
  font-family: var(--hand);
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.45;
}

.chapter-copy > p {
  max-width: 43ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.chapter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 19px;
  padding: 0;
  list-style: none;
}

.chapter-tags li {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .04em;
}

.chapter-section {
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.work-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.work-section-head span:last-child {
  color: var(--red);
}

.chapter-films {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 44px) clamp(18px, 2.5vw, 30px);
}

.film-card {
  min-width: 0;
}

.film-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050403;
}

.film-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.film-meta {
  padding-top: 12px;
}

.film-label {
  color: var(--red);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.film-meta h3 {
  margin-top: 5px;
  font-family: var(--cn-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.4;
}

.film-meta h3 small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--hand);
  font-size: 13px;
  font-weight: 400;
}

.film-meta p {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.6;
}

.chapter-works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 46px) clamp(18px, 2.5vw, 28px);
}

.chapter-site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-experience-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 176px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}

.site-experience-card:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bone);
}

.site-experience-index {
  flex: 0 0 auto;
  padding-top: 3px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
}

.site-experience-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.site-experience-kicker {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
}

.site-experience-body strong {
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 600;
  line-height: 1.10;
}

.site-experience-body em {
  color: var(--muted);
  font-family: var(--hand);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.site-experience-url {
  overflow: hidden;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-experience-card:hover .site-experience-kicker,
.site-experience-card:hover .site-experience-body em,
.site-experience-card:hover .site-experience-url {
  color: rgba(242, 231, 216, .62);
}

.site-experience-card:hover .site-experience-url {
  border-color: rgba(242, 231, 216, .22);
}

.site-experience-card:hover .site-experience-index {
  color: #e0786c;
}

.site-experience-arrow {
  flex: 0 0 auto;
  align-self: center;
  padding-bottom: 3px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.chapter-work {
  display: block;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.chapter-work:first-child {
  grid-column: 1 / -1;
}

.chapter-work:nth-child(2):last-child {
  grid-column: 1 / -1;
}

.chapter-works.is-even-grid .chapter-work:first-child {
  grid-column: auto;
}

.chapter-work-photo {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.chapter-work-photo img {
  width: 100%;
  height: auto;
  transition: transform .7s var(--ease);
}

.chapter-work:hover .chapter-work-photo img {
  transform: scale(1.012);
}

.chapter-work--site .chapter-work-photo {
  position: relative;
  aspect-ratio: 1800 / 636;
}

.chapter-work--site .chapter-work-photo img {
  height: 100%;
  object-fit: cover;
}

.site-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(242, 231, 216, .36);
  background: rgba(11, 8, 7, .82);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .35s var(--ease);
  backdrop-filter: blur(6px);
}

.chapter-work--site:hover .site-badge {
  border-color: var(--red);
  background: var(--red-deep);
  transform: translateY(-2px);
}

.chapter-work figcaption {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.work-index {
  padding-top: 3px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}

.chapter-work .work-title {
  display: block;
  min-width: 0;
}

.chapter-work .work-title b {
  display: block;
  font-family: var(--cn-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.chapter-work .work-title em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  line-height: 1.6;
}

.chapter-work .work-open {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  transition: color .2s;
}

.chapter-work:hover .work-open {
  color: var(--red);
}

.chapter-quote {
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 44px);
  border: 1px solid rgba(242, 231, 216, .2);
  background: var(--red-deep);
}

.chapter-quote-kicker {
  color: rgba(242, 231, 216, .62);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chapter-quote blockquote {
  margin: 13px 0 0;
  font-family: var(--cn-serif);
  font-size: clamp(24px, 3.4vw, 44px);
  letter-spacing: -.04em;
  line-height: 1.45;
}

.chapter-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(36px, 5vw, 60px);
  padding: 22px 0 clamp(50px, 7vw, 88px);
  border-top: 1px solid var(--line);
}

.chapter-pager-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.chapter-pager-link span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .06em;
}

.chapter-pager-link strong {
  font-family: var(--cn-serif);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.chapter-pager-link:hover strong {
  color: var(--red);
}

.chapter-pager-link--next {
  align-items: flex-end;
  text-align: right;
}

.work-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 22px var(--pad);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}

.work-footer a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.work-footer a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* All films */
.films-hero {
  padding-bottom: clamp(34px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.films-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .7fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  padding-top: clamp(28px, 4vw, 52px);
}

.films-hero h1 {
  font-family: var(--cn-serif);
  font-size: clamp(56px, 8vw, 126px);
  font-weight: 600;
  letter-spacing: -.09em;
  line-height: .95;
}

.films-hero h1 em {
  display: block;
  color: var(--red);
  font-size: .76em;
  font-style: normal;
  line-height: 1.05;
}

.films-hero-copy p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.films-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
}

.films-hero-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  text-decoration: none;
}

.films-hero-links a span {
  color: var(--red);
}

.films-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4.5vw, 58px) clamp(18px, 2.5vw, 30px);
  padding: clamp(34px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--line);
}

.films-entry {
  min-width: 0;
}

.films-entry-meta {
  padding-top: 12px;
}

.films-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.films-entry-chapter {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}

.films-entry h2 {
  margin-top: 6px;
  font-family: var(--cn-serif);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.35;
}

.films-entry h2 small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--hand);
  font-size: 14px;
  font-weight: 400;
}

.films-entry p {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.7;
}

.films-entry-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
  color: var(--red);
  font-family: var(--mono);
  font-size: 6.5px;
  text-decoration: none;
}

.films-entry-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.films-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 clamp(42px, 6vw, 70px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
}

.films-foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* Chapter lightbox */
.chapter-lightbox {
  position: fixed;
  z-index: 2300;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  overflow: hidden;
  background: rgba(0, 0, 0, .93);
}

.chapter-lightbox-close {
  position: fixed;
  z-index: 3;
  top: 18px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 231, 216, .34);
  background: var(--red);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 13px;
  cursor: pointer;
}

.chapter-lightbox-close span {
  font-family: var(--sans);
  font-size: 16px;
}

.chapter-lightbox-sheet {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(1400px, 94vw);
  max-height: 90vh;
}

.chapter-lightbox img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  background: #050403;
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform .16s ease-out;
  will-change: transform;
}

.chapter-lightbox.is-zoomed img {
  cursor: zoom-out;
}

.chapter-lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
}

.chapter-lightbox-meta .chapter-lightbox-zoom {
  margin-left: auto;
  color: var(--muted);
  font-size: 6px;
  letter-spacing: .04em;
}

.chapter-lightbox-meta span {
  color: var(--red);
}

.chapter-lightbox-meta p {
  color: var(--muted);
}

.work-noscript {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2500;
  padding: 14px 18px;
  border: 1px solid var(--red);
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}

.work-noscript a {
  color: var(--red);
}

/* Compact chapter index */
.index-films-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.index-films-link a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .06em;
  text-decoration: none;
}

.index-films-link a span {
  color: var(--red);
}

.index-films-link a:hover {
  color: var(--red);
  border-color: var(--red);
}

.index-grid .chapter-card {
  text-decoration: none;
}

/* Work pages on small screens */
@media (max-width: 760px) {
  .work-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 11px var(--pad) 0;
  }

  .work-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 8px 0 10px;
    border-top: 1px solid var(--line);
    justify-content: space-between;
    gap: 8px;
  }

  .work-nav a {
    font-size: 7.5px;
    letter-spacing: .06em;
  }

  .work-back {
    margin-left: auto;
    font-size: 11px;
  }

  .chapter-shell {
    padding-top: 34px;
  }

  .chapter-topline {
    font-size: 6.5px;
  }

  .chapter-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 26px;
  }

  .chapter-num {
    font-size: 48px;
  }

  .chapter-title-wrap h1 {
    font-size: clamp(52px, 14vw, 86px);
    margin-top: 16px;
  }

  .chapter-hand {
    font-size: 21px;
  }

  .chapter-copy > p {
    font-size: 12px;
    line-height: 1.9;
  }

  .chapter-films,
  .chapter-works,
  .chapter-site-grid,
  .films-list {
    grid-template-columns: 1fr;
  }

  .chapter-work:first-child {
    grid-column: auto;
  }

  .chapter-works {
    gap: 28px;
  }

  .chapter-work figcaption {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .chapter-quote {
    margin-top: 42px;
  }

  .chapter-quote blockquote {
    font-size: clamp(24px, 7vw, 34px);
  }

  .chapter-pager strong {
    font-size: 20px;
  }

  .films-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .films-list {
    gap: 32px;
  }

  .work-footer {
    font-size: 6px;
    padding-top: 18px;
    padding-bottom: 26px;
  }
}

/* Catalogue flip cards: back side first, hover reveals the cover */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 24px;
  border-top: 0;
}

.catalogue-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 2 / 1;
  color: var(--ink);
  text-decoration: none;
  perspective: 1200px;
  outline: none;
}

.catalogue-card:focus-visible {
  outline: 2px dashed var(--red);
  outline-offset: 4px;
}

.catalogue-inner {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.2, .75, .2, 1);
}

.catalogue-card:hover .catalogue-inner,
.catalogue-card:focus-visible .catalogue-inner {
  transform: rotateY(180deg);
}

.catalogue-face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(242, 231, 216, .2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.catalogue-face--back {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 14px 12px;
  background: var(--red-deep);
  color: var(--ink);
}

.catalogue-top,
.catalogue-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(242, 231, 216, .72);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .06em;
  line-height: 1.5;
}

.catalogue-top,
.catalogue-bottom,
.catalogue-back-main {
  position: relative;
  z-index: 1;
}

.catalogue-watermark {
  position: absolute;
  top: 50%;
  right: 10px;
  left: 14px;
  overflow: hidden;
  color: rgba(242, 231, 216, .065);
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 37px);
  letter-spacing: -.04em;
  line-height: .8;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
}

.catalogue-top {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(242, 231, 216, .18);
}

.catalogue-bottom {
  padding-top: 8px;
  border-top: 1px solid rgba(242, 231, 216, .18);
}

.catalogue-bottom span:last-child {
  color: var(--ink);
  font-size: 11px;
  line-height: 1;
}

.catalogue-back-main {
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  padding: 7px 0;
}

.catalogue-num {
  color: rgba(242, 231, 216, .18);
  font-family: var(--serif);
  font-size: clamp(44px, 4.7vw, 70px);
  letter-spacing: -.08em;
  line-height: .7;
}

.catalogue-name {
  min-width: 0;
  text-align: right;
}

.catalogue-name b {
  display: block;
  font-family: var(--cn-serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.1;
}

.catalogue-name em {
  display: block;
  margin-top: 6px;
  color: rgba(242, 231, 216, .58);
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: .08em;
  line-height: 1.5;
}

.catalogue-face--front {
  background: #070605;
  transform: rotateY(180deg);
}

.catalogue-face--front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: transform .9s var(--ease);
}

.catalogue-card:hover .catalogue-face--front img {
  transform: scale(1.03);
}

.catalogue-front-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 8, 7, .96) 0%, rgba(11, 8, 7, .42) 34%, rgba(11, 8, 7, 0) 72%);
}

.catalogue-front-meta {
  position: absolute;
  right: 14px;
  bottom: 13px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.catalogue-front-meta > span:first-child {
  color: rgba(242, 231, 216, .66);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .06em;
}

.catalogue-front-meta b {
  font-family: var(--cn-serif);
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.15;
}

.catalogue-front-meta em {
  color: rgba(242, 231, 216, .66);
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  line-height: 1.5;
}

.catalogue-open {
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(242, 231, 216, .45);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .04em;
}

.catalogue-card:hover .catalogue-open {
  color: var(--red);
  border-color: var(--red);
}

@media (max-width: 900px) {
  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .index-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalogue-card {
    aspect-ratio: 16 / 10;
  }

  .catalogue-inner,
  .catalogue-card:hover .catalogue-inner,
  .catalogue-card:focus-visible .catalogue-inner {
    transform: none;
  }

  .catalogue-face--back {
    display: none;
  }

  .catalogue-face--front {
    transform: none;
  }

  .catalogue-face--back {
    padding: 13px 14px 11px;
  }

  .catalogue-num {
    font-size: 48px;
  }

  .catalogue-name b {
    font-size: 28px;
  }
}

@media (hover: none) {
  .catalogue-inner,
  .catalogue-card:hover .catalogue-inner,
  .catalogue-card:focus-visible .catalogue-inner {
    transform: none;
  }

  .catalogue-face--back {
    display: none;
  }

  .catalogue-face--front {
    transform: none;
  }

  .catalogue-card:hover .catalogue-face--front img {
    transform: none;
  }
}

/* Hero poke board: six chapter covers hidden under numbered tickets */
.hero-gallery {
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 480px;
  margin: 0;
}

.hero-board {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: #0d0a08;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
}

.hero-board::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 5px;
  border: 1px solid rgba(242, 231, 216, .12);
  pointer-events: none;
}

.hero-board-head,
.hero-board-grid,
.hero-board-foot {
  position: relative;
  z-index: 1;
}

.hero-board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .05em;
  line-height: 1.5;
}

.hero-board-head span:last-child {
  color: var(--red);
}

.hero-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
}

.hero-cell {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(242, 231, 216, .22);
  background: var(--red-deep);
  color: var(--ink);
  text-decoration: none;
  outline: none;
}

.hero-cell:focus-visible {
  outline: 2px dashed var(--red);
  outline-offset: 3px;
}

.hero-cell-back {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px 10px;
  background: var(--red-deep);
  transition: opacity .35s, transform .45s var(--ease), background .2s;
}

.hero-cell:hover .hero-cell-back {
  background: #7b1a15;
}

.hero-cell-top {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: rgba(242, 231, 216, .62);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .04em;
  line-height: 1.4;
}

.hero-cell-name {
  font-family: var(--cn-serif);
  font-size: clamp(16px, 1.55vw, 23px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.1;
}

.hero-cell-poke {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: rgba(242, 231, 216, .86);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}

.hero-cell-poke i {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  line-height: 1;
}

.hero-cell-front {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .45s, transform .7s var(--ease);
}

.hero-cell-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: transform .8s var(--ease);
}

.hero-cell-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 6, 5, .95), rgba(8, 6, 5, .04) 70%);
}

.hero-cell-meta {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 8px;
  left: 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-cell-meta b {
  font-family: var(--cn-serif);
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.hero-cell-meta em {
  color: rgba(242, 231, 216, .66);
  font-family: var(--mono);
  font-size: 5.5px;
  font-style: normal;
  line-height: 1.4;
}

.hero-cell-meta > span {
  align-self: flex-start;
  margin-top: 2px;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(242, 231, 216, .5);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .03em;
}

.hero-cell.is-revealed .hero-cell-back {
  opacity: 0;
  pointer-events: none;
  transform: scale(.98);
}

.hero-cell.is-revealed .hero-cell-front {
  opacity: 1;
  transform: scale(1);
}

.hero-cell.is-opening {
  box-shadow: inset 0 0 0 1px rgba(242, 231, 216, .4), 0 0 28px rgba(158, 33, 27, .38);
}

.hero-cell.is-opening .hero-cell-back {
  animation: heroTicketOut .42s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-cell.is-opening .hero-cell-front {
  animation: heroCoverIn .58s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-cell.is-opening::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(242, 231, 216, .2) 47%, transparent 62%);
  pointer-events: none;
  transform: translateX(-120%);
  animation: heroGlint .62s ease-out both;
}

.hero-cell.is-opening::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(158, 33, 27, .95);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.4);
  animation: heroRing .55s ease-out both;
}

@keyframes heroTicketOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

@keyframes heroCoverIn {
  0% {
    opacity: 0;
    transform: scale(1.075);
    filter: saturate(.65);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1);
  }
}

@keyframes heroGlint {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes heroRing {
  0% {
    opacity: .9;
    transform: translate(-50%, -50%) scale(.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5);
  }
}

.hero-cell.is-revealed:hover .hero-cell-front img {
  transform: scale(1.035);
}

.hero-board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .04em;
  line-height: 1.5;
}

.hero-board-reset {
  flex: 0 0 auto;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(242, 231, 216, .45);
  background: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .04em;
  cursor: pointer;
}

.hero-board-reset:disabled {
  opacity: .25;
  cursor: default;
}

.hero-board-reset:not(:disabled):hover {
  color: var(--red);
  border-color: var(--red);
}

.hero-board.is-pair .hero-board-head span:last-child {
  color: var(--ink);
}

.hero-gallery figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .05em;
}

.hero-gallery figcaption span:first-child {
  color: var(--ink);
}

@media (max-width: 620px) {
  .hero-board {
    padding: 8px;
  }

  .hero-board-grid {
    gap: 5px;
  }

  .hero-cell {
    aspect-ratio: 16 / 10;
  }

  .hero-cell-back {
    padding: 7px 8px;
  }

  .hero-cell-name {
    font-size: 17px;
  }

  .hero-cell-top,
  .hero-cell-poke {
    font-size: 5.5px;
  }

  .hero-board-head {
    font-size: 5.5px;
  }

  .hero-board-foot {
    font-size: 5.5px;
  }

  .hero-board-reset {
    font-size: 5.5px;
  }
}

/* Balance the about spread: shorter portrait card, tighter right column */
.about-grid {
  margin-top: clamp(32px, 4.5vw, 64px);
}

.about-flip {
  aspect-ratio: 1 / .62;
}

.about-face--front img {
  max-height: calc(100% - 22px);
}

.about-intro {
  max-width: 60ch;
}

.about-stats,
.about-block {
  margin-top: 24px;
}

@media (min-width: 1200px) {
  .fact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .fact {
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .about-flip {
    aspect-ratio: 1 / 1;
  }
}

/* Chapter cursor: a drawn arrow, a trailing ring and a click ripple */
.chapter-cursor {
  display: none;
}

@media (pointer: fine) {
  body.work-page:not(.chapter-cursor-ready),
  body.work-page:not(.chapter-cursor-ready) a,
  body.work-page:not(.chapter-cursor-ready) button {
    cursor: auto;
  }

  .chapter-cursor {
    position: fixed;
    z-index: 2400;
    top: 0;
    left: 0;
    display: block;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s;
  }

  .chapter-cursor.is-visible {
    opacity: 1;
  }

  .chapter-cursor-arrow {
    position: absolute;
    top: -2px;
    left: -2px;
    display: block;
    width: 24px;
    height: 31px;
    transform-origin: 1px 1px;
    transition: transform .15s var(--ease), opacity .15s;
  }

  .chapter-cursor-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55)) drop-shadow(0 0 5px rgba(158, 33, 27, .35));
  }

  .chapter-cursor-arrow path {
    fill: var(--ink);
    stroke: var(--red);
    stroke-width: 1.4;
    stroke-linejoin: round;
    transition: fill .18s, stroke .18s;
  }

  .chapter-cursor.is-hover .chapter-cursor-arrow path {
    fill: var(--red);
    stroke: var(--ink);
  }

  .chapter-cursor.is-pressing .chapter-cursor-arrow {
    transform: scale(.82);
  }

  .chapter-cursor-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(158, 33, 27, .72);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.65);
    transition: opacity .18s, transform .28s var(--ease);
  }

  .chapter-cursor.is-hover .chapter-cursor-ring {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .chapter-cursor.is-pressing .chapter-cursor-ring {
    transform: translate(-50%, -50%) scale(.78);
  }

  .chapter-cursor-burst {
    position: fixed;
    z-index: 2390;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(158, 33, 27, .92);
    border-radius: 50%;
    background: rgba(158, 33, 27, .08);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.35);
    animation: chapterCursorBurst .52s cubic-bezier(.2, .7, .2, 1) forwards;
  }

  @keyframes chapterCursorBurst {
    0% {
      opacity: .9;
      transform: translate(-50%, -50%) scale(.35);
    }
    70% {
      opacity: .35;
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(4.2);
    }
  }
}

/* Reduced motion --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }

  .js .hero-topline,
  .js .hero-copy,
  .js .hero-collage,
  .js .hero-bottom {
    opacity: 1 !important;
    translate: none !important;
  }

  .ribbon-track,
  .paper-ribbon i {
    animation: none !important;
  }

  body.is-loading .hero h1,
  body.is-ready .hero h1 {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    animation-delay: 0s !important;
  }
}

/* Touch-specific feedback ------------------------------------------------- */
a,
button,
[role="button"] {
  touch-action: manipulation;
}

.tap-ring {
  position: fixed;
  z-index: 2147483646;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1px solid rgba(207, 75, 50, .9);
  border-radius: 50%;
  pointer-events: none;
  animation: tapRing .52s ease-out forwards;
}

@keyframes tapRing {
  from { opacity: .9; transform: scale(.4); }
  to { opacity: 0; transform: scale(3.2); }
}

@media (hover: none) {
  .resume-card:hover {
    border-color: rgba(242, 231, 216, .26);
    background: linear-gradient(155deg, #721611, var(--red-deep) 58%, #560e0b);
    box-shadow: 6px 8px 0 rgba(0, 0, 0, .38);
    transform: rotate(2.3deg);
  }

  .resume-card:hover .resume-wax {
    transform: rotate(-8deg);
  }

  .site-experience-card:hover {
    border-color: var(--line-strong);
    background: var(--paper-light);
    color: var(--ink);
  }

  .site-experience-card:hover .site-experience-kicker,
  .site-experience-card:hover .site-experience-body em,
  .site-experience-card:hover .site-experience-url {
    color: var(--muted);
  }

  .site-experience-card:hover .site-experience-url {
    border-color: var(--line);
  }

  .site-experience-card:hover .site-experience-index {
    color: var(--red);
  }

  .loader-enter:hover {
    border-color: rgba(242, 231, 216, .6);
    background: var(--red);
    color: var(--ink);
  }

  .chapter-work:hover .chapter-work-photo img {
    transform: none;
  }

  .catalogue-card:active,
  .hero-cell:active,
  .chapter-work:active,
  .resume-card:active,
  .site-experience-card:active,
  .contact-card:active {
    filter: brightness(1.14);
  }

  .loader-enter:active {
    transform: scale(.97) !important;
  }
}

@media (hover: none) {
  .catalogue-card,
  .hero-cell,
  .chapter-work,
  .site-experience-card {
    transition: transform .16s ease, filter .16s ease;
  }

  .catalogue-card:active,
  .hero-cell:active,
  .chapter-work:active,
  .site-experience-card:active {
    transform: scale(.985);
  }
}
