/* Ninad Sree — "the desk" theme
   Dark worktable, paper objects on top: sleeves, binder sheets, postcards, tape. */
:root {
  --table: #1c1a17;
  --table-2: #24211d;
  --paper: #e9e4d8;
  --paper-2: #f3efe4;
  --cream: #ede6c8;
  --ink: #1a1814;
  --ink-soft: #4a463e;
  --muted: #9a9387;
  --tape: rgba(214, 198, 160, 0.82);
  --label: #f1d54a;
  --stamp: #c8402a;
  --cond: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --type: "Special Elite", "Courier New", Courier, monospace;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --wrap: 1180px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 70px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--table);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 60;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--label); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 99; background: var(--label); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.fallback { max-width: 760px; margin: 120px auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; gap: 24px;
  height: calc(64px + env(safe-area-inset-top, 0px));
  padding-left: clamp(18px, 4vw, 40px); padding-right: clamp(18px, 4vw, 40px);
  background: linear-gradient(var(--table) 55%, rgba(28,26,23,0));
}
.nav-brand { font-family: var(--cond); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; }
.nav-brand sup { font-size: 9px; font-weight: 600; }
.nav nav { display: flex; flex: 1; justify-content: space-around; max-width: 900px; margin-left: auto; }
.nav nav a { font-family: var(--cond); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; color: #cfc9bd; padding: 6px 4px; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 720px) {
  .nav nav { gap: 2px; justify-content: flex-end; }
  .nav nav a:nth-child(2), .nav nav a:nth-child(3), .nav nav a:nth-child(5) { display: none; }
}

/* ---------- shared paper objects ---------- */
.tape {
  position: absolute; width: 96px; height: 26px;
  background: var(--tape);
  clip-path: polygon(3% 0, 97% 4%, 100% 30%, 96% 55%, 100% 82%, 97% 100%, 2% 96%, 0 70%, 4% 45%, 0 18%);
  mix-blend-mode: multiply; z-index: 3;
}
.label {
  display: inline; background: var(--label); color: var(--ink);
  font-family: var(--sans); font-weight: 500;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 2px 8px;
}
.holes { position: relative; }
.holes::before {
  content: ""; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 12px;
  background: radial-gradient(circle at 6px 6px, var(--table) 5px, transparent 5.5px) 0 0 / 12px 46px repeat-y;
}
.barcode {
  width: 92px; height: 26px;
  background: repeating-linear-gradient(90deg, #f5f1e6 0 2px, transparent 2px 3px, #f5f1e6 3px 4px, transparent 4px 7px, #f5f1e6 7px 10px, transparent 10px 11px);
  border-top: 4px solid transparent;
}

/* ---------- hero ---------- */
.hero { overflow-x: clip; padding: calc(110px + env(safe-area-inset-top, 0px)) 0 40px; min-height: min(100vh, 900px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  font-size: clamp(52px, 6.2vw, 94px); line-height: .86; letter-spacing: -.005em;
  margin: 0 0 26px; max-width: 11ch;
}
.hero-lede { max-width: 30em; color: #d9d3c6; margin: 0 0 22px; }
.hero-lede strong { color: var(--paper); font-weight: 600; }
.alumni { font-family: var(--cond); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 0 0 8px; }
.alumni-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-family: var(--cond); font-weight: 700; font-size: 21px; text-transform: uppercase; }
.alumni-list a { text-decoration: none; }
.alumni-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* the collage */
.collage { position: relative; aspect-ratio: 1 / .92; min-height: 420px; }
.folder {
  position: absolute; left: 14%; top: 2%; width: 78%; height: 86%;
  background: linear-gradient(170deg, #c79c62, #a9793f);
  border-radius: 10px 10px 4px 4px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.folder::before { content: ""; position: absolute; left: 10%; top: -16px; width: 30%; height: 22px; background: #c79c62; border-radius: 8px 8px 0 0; }
.sheet {
  position: absolute; left: 10%; top: 8%; width: 66%; height: 84%;
  background: var(--paper-2); color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  padding: 30px 26px 26px 48px;
  display: flex; flex-direction: column;
}
.sheet-grid { display: grid; grid-template-columns: 1fr; max-width: 55%; gap: 10px 18px; font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(14px, 1.45vw, 20px); line-height: 1; }
.sheet-mark { margin: auto 0 0; font-family: var(--type); font-size: 12px; color: var(--ink-soft); line-height: 1.5; max-width: 22em; }
.sheet-big { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.2vw, 46px); line-height: .9; margin: 0 0 18px; max-width: 7ch; }
.polaroid {
  position: absolute; background: #f6f3ea; padding: 10px 10px 34px; box-shadow: 0 18px 40px rgba(0,0,0,.45);
  text-decoration: none; color: var(--ink);
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid span { position: absolute; left: 12px; bottom: 8px; font-family: var(--script); font-size: 22px; line-height: 1; }
.pol-a { right: 0; top: 0; width: 38%; transform: rotate(6deg); }
.pol-b { right: 8%; bottom: 0; width: 34%; transform: rotate(-5deg); }
.note {
  position: absolute; left: 0; bottom: 6%; width: 44%;
  background: #f2efe7; color: var(--ink);
  padding: 18px 18px 18px 30px;
  font-family: var(--type); font-size: clamp(13px, 1.25vw, 16px); line-height: 1.55;
  transform: rotate(-4deg);
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
  clip-path: polygon(0 0, 100% 2%, 99% 98%, 92% 100%, 84% 97%, 76% 100%, 66% 97%, 55% 100%, 45% 97%, 34% 100%, 24% 97%, 14% 100%, 5% 97%, 0 100%);
}
.note::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: rgba(200,64,42,.45); }
.note small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }
.note mark { background: var(--label); color: var(--ink); padding: 0 3px; }
.hero .collage > * { transition: transform .25s ease; }
.collage .polaroid:hover { transform: rotate(0deg) translateY(-6px); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 10ch; }
  .collage { min-height: 0; aspect-ratio: 1 / 1; }
}

/* ---------- ticker tape ---------- */
.ticker {
  overflow: hidden; background: var(--label); color: var(--ink);
  transform: rotate(-1.2deg); margin: 30px -20px 0;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker-track span { padding: 10px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ticker-track img { width: 26px; height: 26px; image-rendering: pixelated; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec { padding: clamp(80px, 11vw, 140px) 0 0; }
.sec-head { margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4vw, 52px); line-height: .95; margin: 0 0 8px; }
.sec-head p { margin: 0; color: #cfc9bd; max-width: 36em; }

/* ---------- record shelf ---------- */
.shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 380px);
  gap: clamp(40px, 6vw, 90px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  --edge: calc((100vw - min(var(--wrap), 100vw)) / 2 + clamp(18px, 4vw, 40px));
  padding: 10px 140px 30px var(--edge); scroll-padding-inline-start: var(--edge);
  scrollbar-width: thin; scrollbar-color: #4a463e transparent;
}
.record { scroll-snap-align: start; text-decoration: none; display: block; }
.sleeve-wrap { position: relative; }
.disc {
  position: absolute; top: 4%; right: 0; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, #d8cfbd 0 7%, #111 7.4% 8%, var(--disc, #c8402a) 8.4% 21%, #0d0c0b 21.5% 22%, transparent 22.2%),
    conic-gradient(from 20deg, rgba(255,255,255,0) 0 10%, rgba(255,255,255,.09) 14%, rgba(255,255,255,0) 20% 60%, rgba(255,255,255,.07) 64%, rgba(255,255,255,0) 70%),
    repeating-radial-gradient(circle, #151412 0 2px, #2b2926 2px 3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  transform: translateX(14%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.record:hover .disc, .record:focus-visible .disc { transform: translateX(34%) rotate(40deg); }
.sleeve {
  position: relative; aspect-ratio: 1; overflow: hidden; background: #2a2622;
  box-shadow: 0 16px 34px rgba(0,0,0,.55);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .3s ease;
}
.record:hover .sleeve { transform: rotate(0deg); }
.sleeve > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.sleeve::after { /* worn edges + scrim for the script name */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 40px rgba(0,0,0,.35);
  background: linear-gradient(180deg, transparent 38%, rgba(10,9,8,.72) 82%);
}
.sleeve-name {
  position: absolute; left: 7%; right: 6%; bottom: 17%;
  font-family: var(--script); font-size: clamp(46px, 5vw, 70px); line-height: .9; color: #fbf8f0;
  text-shadow: 0 2px 14px rgba(0,0,0,.55); transform: rotate(-8deg);
  pointer-events: none; z-index: 2; overflow-wrap: anywhere;
}
.sleeve-meta {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2;
  display: flex; justify-content: space-between; padding: 12px 14px;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 14px; line-height: 1.05;
  color: #fbf8f0; text-shadow: 0 1px 6px rgba(0,0,0,.6);
  background: linear-gradient(rgba(0,0,0,.45), transparent);
}
.sleeve-foot { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: end; z-index: 2; }
.sleeve-foot .tag { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 11px; color: var(--ink); background: #f5f1e6; padding: 3px 6px; letter-spacing: .03em; }
.record-cap { margin-top: 18px; max-width: 32ch; }
.record-cap p { margin: 0 0 6px; color: #d9d3c6; font-size: 15.5px; line-height: 1.5; }
.record-cap span { font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.shelf-hint { font-family: var(--type); font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- postcard (about) ---------- */
.postcard {
  position: relative; background: var(--paper); color: var(--ink);
  display: grid; grid-template-columns: 1.25fr 1fr;
  max-width: 1040px; margin: 0 auto;
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  transform: rotate(-.6deg);
}
.postcard::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; background: #d6d0c2; transform: rotate(.8deg); z-index: -1; }
.pc-left { padding-right: clamp(18px, 3vw, 40px); border-right: 2px dashed #b8b1a3; }
.pc-left h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 4.6vw, 64px); line-height: .88; margin: 0 0 14px; }
.pc-left .pc-sub { display: flex; justify-content: space-between; gap: 12px; font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: 16px; line-height: 1.1; margin-bottom: 20px; }
.pc-left p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: #2b2823; max-width: 34em; }
.pc-right { padding-left: clamp(18px, 3vw, 40px); display: flex; flex-direction: column; }
.stamp {
  align-self: flex-end; width: 116px; padding: 8px; background: #fff;
  transform: rotate(3deg);
  -webkit-mask: radial-gradient(circle at 4px 4px, transparent 3px, #000 3.5px) -4px -4px / 12px 12px;
          mask: radial-gradient(circle at 4px 4px, transparent 3px, #000 3.5px) -4px -4px / 12px 12px;
}
.stamp div { background: var(--stamp); aspect-ratio: 4/5; display: grid; place-items: end center; overflow: hidden; }
.stamp img { width: 86%; image-rendering: pixelated; }
.pc-lines { margin-top: auto; }
.pc-sign { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid #b8b1a3; padding-bottom: 4px; margin-bottom: 14px; }
.pc-sign small { font-size: 13px; }
.pc-sign span { font-family: var(--script); font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.pc-lines a, .pc-lines p { display: block; border-bottom: 1px solid #b8b1a3; padding: 8px 0; margin: 0; font-size: 15px; text-decoration: none; }
.pc-lines a:hover { text-decoration: underline; }
.skills { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.skills li { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 14px; border: 1.5px solid var(--ink); padding: 3px 8px; }
@media (max-width: 820px) {
  .postcard { grid-template-columns: 1fr; transform: none; }
  .pc-left { border-right: 0; border-bottom: 2px dashed #b8b1a3; padding: 0 0 22px; }
  .pc-right { padding: 22px 0 0; }
  .stamp { position: absolute; top: 18px; right: 18px; width: 84px; }
  .pc-left h2 { padding-right: 90px; }
}

/* ---------- footer ---------- */
.foot { margin-top: clamp(90px, 12vw, 150px); border-top: 1px solid #3a3631; padding: 36px 0 120px; }
.foot .wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px; }
.foot h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 15px; margin: 0 0 10px; color: var(--muted); }
.foot a, .foot p { display: block; margin: 0 0 6px; font-size: 14.5px; text-decoration: none; color: #d9d3c6; }
.foot a:hover { color: var(--paper); text-decoration: underline; }
.foot .big { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 6vw, 80px); line-height: .85; color: var(--paper); }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- hire card (sticky) ---------- */
.hire {
  position: fixed; right: clamp(12px, 2vw, 28px); bottom: calc(clamp(12px, 2vw, 28px) + env(safe-area-inset-bottom, 0px));
  z-index: 50; width: 280px;
  background: var(--cream); color: var(--ink);
  padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.5);
  font-family: var(--sans);
}
.hire-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; border-bottom: 1px solid #b9b293; padding-bottom: 8px; margin-bottom: 8px; }
.hire-title { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 26px; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.hire-plan { width: 100%; color: #3c382f; }
.hire-mail { width: 100%; text-align: left; font: inherit; font-size: 13.5px; color: var(--ink-soft); background: transparent; border: 1px solid #b9b293; padding: 7px 8px; margin-bottom: 6px; cursor: copy; }
.hire-mail.done { color: var(--ink); border-color: var(--ink); }
.hire-go { display: block; text-align: center; background: var(--ink); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px; }
.hire-go:hover { background: #000; }
@media (max-width: 720px) {
  .hire { width: auto; left: 12px; right: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px; }
  .hire-top { display: none; }
  .hire-mail { margin: 0; }
}

/* ---------- case page ---------- */
.case { padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
.back { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 15px; text-decoration: none; color: #cfc9bd; }
.back:hover { color: var(--paper); text-decoration: underline; }
.case-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: start; margin-top: 26px; }
.case-top .record { pointer-events: none; }
.case-top .disc { transform: translateX(16%) rotate(20deg); }
.case-title { position: relative; z-index: 2; }
.case-title h1 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(54px, 8vw, 116px); line-height: .85; margin: 0 0 12px; overflow-wrap: anywhere; }
.case-where { font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: 17px; color: #cfc9bd; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.case-intro { font-size: 18px; line-height: 1.6; color: #e2ddd1; margin: 0 0 22px; max-width: 38em; }
.scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.scope li { background: var(--label); color: var(--ink); font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 14px; padding: 4px 9px; transform: rotate(var(--r, 0deg)); }
.pull {
  position: relative; margin: clamp(40px, 6vw, 70px) auto 0; max-width: 760px;
  background: #f2efe7; color: var(--ink); padding: 26px 30px 26px 46px;
  font-family: var(--type); font-size: clamp(18px, 2vw, 24px); line-height: 1.45;
  transform: rotate(-1deg); box-shadow: 0 16px 36px rgba(0,0,0,.4);
}
.pull .tape { top: -12px; left: 40%; transform: rotate(-3deg); }

.binder {
  position: relative; background: var(--paper-2); color: var(--ink);
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 40px) clamp(24px, 3vw, 38px) clamp(46px, 5vw, 70px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.binder::before {
  content: ""; position: absolute; left: clamp(16px, 2vw, 24px); top: 20px; bottom: 20px; width: 14px;
  background: radial-gradient(circle at 7px 7px, var(--table) 6px, transparent 6.5px) 0 0 / 14px 54px repeat-y;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.facts h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 14px; margin: 0 0 4px; color: #6b665c; }
.facts p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.facts .wide { grid-column: span 2; }
.facts .result { grid-column: 1 / -1; border-top: 1.5px solid var(--ink); padding-top: 14px; }
.facts .result p { font-size: 17px; }
@media (max-width: 760px) { .case-top { grid-template-columns: 1fr; } .case-top .sleeve-wrap { max-width: 320px; } .facts { grid-template-columns: 1fr; } .facts .wide { grid-column: auto; } }

.chapter { margin-top: clamp(70px, 9vw, 110px); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); margin-bottom: 28px; }
.chapter h2 { grid-column: 1 / -1; font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4vw, 54px); line-height: .92; margin: 0; max-width: 18ch; }
.chapter h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.chapter p { margin: 0; color: #e2ddd1; max-width: 34em; }
.chapter p a { color: var(--label); }
@media (max-width: 760px) { .chapter-head { grid-template-columns: 1fr; } }

.prints { columns: 3 260px; column-gap: 26px; }
.print {
  break-inside: avoid; margin: 0 0 30px; position: relative;
  background: #f6f3ea; padding: 8px 8px 0; box-shadow: 0 14px 30px rgba(0,0,0,.45);
  transform: rotate(var(--r, 0deg)); transition: transform .2s ease;
}
.print button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.print button:focus-visible { outline: 2px solid var(--label); outline-offset: 4px; }
.print img { width: 100%; height: auto; background: #ddd; }
.print figcaption { font-size: 12.5px; line-height: 1.35; color: #4a463e; padding: 7px 2px 9px; }
.print:hover { transform: rotate(0deg) scale(1.01); }
.print .tape { top: -10px; left: 50%; margin-left: -48px; transform: rotate(var(--tr, -2deg)); }
.prints.wide { columns: 2 380px; }

.next-case {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
  margin-top: clamp(80px, 10vw, 130px); text-decoration: none;
  background: var(--paper); color: var(--ink); padding: 22px 26px; max-width: 760px;
  transform: rotate(.8deg); box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.next-case img { width: 120px; aspect-ratio: 1; object-fit: cover; }
.next-case small { font-family: var(--type); font-size: 13px; color: var(--ink-soft); }
.next-case strong { display: block; font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 60px); line-height: .9; }
.next-case:hover { transform: rotate(0); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 94vh; width: 100%; color: var(--paper); }
.lightbox::backdrop { background: rgba(16,15,13,.94); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; background: #f6f3ea; padding: 8px; }
.lightbox figcaption { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.lightbox figcaption span { flex: 1; text-align: center; }
.lightbox button { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 15px; background: var(--paper); color: var(--ink); border: 0; padding: 9px 14px; cursor: pointer; min-height: 40px; }
.lightbox button:hover { background: var(--label); }
