/* ============================================================================
   Witherell TrueCrime — lot-film landing page ([witherell_chessman_body])
   Loaded only on pages that use the shortcode (inc/chessman.php).

   Noir documentary, restrained: near-black film sections, paper case-file
   sections, gold for the house, one red kept for the struck execution dates.
   Garamond carries the story, Courier Prime the documents, Scandia the UI.
   Everything is scoped under .tc; .tc-js is set by truecrime.js, so without
   script every section simply shows.
   ============================================================================ */

.tc {
  --tc-ink:     #0B0A08;
  --tc-ink-2:   #151209;
  --tc-paper:   var(--paper);
  --tc-paper-2: #EFE8DA;
  --tc-manila:  #E7D9B6;
  --tc-red:     #B3261E;
  --tc-gold:    var(--witherell-gold);
  --tc-foil:    var(--witherell-gold-foil);
  --tc-type:    "Courier Prime", "Courier New", ui-monospace, monospace;
  --tc-ease:    cubic-bezier(0.2, 0, 0, 1);
  --tc-top:     calc(var(--cmd-header-total-height, 76px) + 18px);
  background: var(--tc-ink);
  color: var(--tc-paper);
}
.tc cite { font-style: italic; }
.tc q { quotes: "“" "”" "‘" "’"; }

/* Shared type ------------------------------------------------------------- */
.tc-eyebrow {
  font-family: var(--tc-type); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--tc-gold); margin: 0; display: flex; align-items: center; gap: 14px;
}
.tc-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.tc-eyebrow--light { color: var(--tc-foil); }
.tc-h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.015em;
  margin: 18px 0 36px; color: var(--ink); text-wrap: balance;
}
.tc-h2--light { color: var(--tc-paper); }
.tc-h3 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1; margin: 36px 0 16px; color: var(--ink);
}
.tc-prose p {
  font-family: var(--font-display); font-size: clamp(19px, 1.45vw, 21px); line-height: 1.62;
  color: var(--ink-soft); margin: 0 0 1.05em; max-width: 64ch; text-wrap: pretty;
}
.tc-prose--sm p { font-size: 18px; }
.tc-dropcap::first-letter {
  float: left; font-family: var(--font-display); font-weight: 500;
  font-size: 5.4em; line-height: 0.8; padding: 0.07em 0.03em 0 0; color: var(--tc-gold);
}

/* Film grain: an animated noise tile over the dark sections ---------------- */
.tc-grain {
  position: absolute; inset: -100px; pointer-events: none; z-index: 2;
  opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: tc-grain 0.9s steps(6) infinite; animation-play-state: paused;
}
.tc:not(.tc-js) .tc-grain, .is-live > .tc-grain { animation-play-state: running; }
@keyframes tc-grain {
  0% { transform: translate(0, 0); }       20% { transform: translate(-38px, 22px); }
  40% { transform: translate(24px, -40px); } 60% { transform: translate(-16px, 36px); }
  80% { transform: translate(40px, 12px); } 100% { transform: translate(0, 0); }
}

/* Paper sections get a fine fibre instead */
.tc-paper { position: relative; background: var(--tc-paper); color: var(--ink); isolation: isolate; }
.tc-paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.28  0 0 0 0 0.16  0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
}

/* Scroll reveals ------------------------------------------------------------ */
.tc-js .tc-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s var(--tc-ease), transform 0.9s var(--tc-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.tc-js .tc-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================================
   Hero — the loop
   ============================================================================ */
.tc-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--tc-ink);
}
.tc-hero__loop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 42%;
  transform: scale(1.06); transform-origin: 62% 40%;
  animation: tc-drift 26s ease-in-out infinite alternate;
}
@keyframes tc-drift { from { transform: scale(1.06); } to { transform: scale(1.14) translate3d(-1%, -0.6%, 0); } }
.tc-hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,10,8,0.72) 0%, rgba(11,10,8,0) 22%),
    linear-gradient(90deg, rgba(11,10,8,0.94) 0%, rgba(11,10,8,0.78) 34%, rgba(11,10,8,0.18) 68%, rgba(11,10,8,0.42) 100%),
    linear-gradient(0deg, rgba(11,10,8,0.92) 0%, rgba(11,10,8,0) 48%),
    radial-gradient(130% 90% at 60% 45%, transparent 55%, rgba(0,0,0,0.55) 100%);
}
/* viewfinder corners */
.tc-hero__gate { position: absolute; inset: var(--tc-top) 28px 28px; z-index: 2; pointer-events: none; }
.tc-hero__gate span { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(246,242,234,0.42); }
.tc-hero__gate span:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.tc-hero__gate span:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.tc-hero__gate span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.tc-hero__gate span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.tc-hero__inner {
  position: relative; z-index: 3; width: 100%;
  padding-top: calc(var(--tc-top) + 64px); padding-bottom: clamp(96px, 13vh, 150px);
}
.tc-hero__mark { width: clamp(118px, 10vw, 172px); height: auto; display: block; margin: 0 0 30px; animation: tc-sting 2.4s var(--tc-ease) 0.1s both; }
@keyframes tc-sting {
  0%   { opacity: 0; filter: grayscale(1) brightness(5); }
  40%  { opacity: 1; filter: grayscale(1) brightness(5); }
  100% { opacity: 1; filter: none; }
}
.tc-kicker {
  font-family: var(--tc-type); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tc-foil); margin: 0; animation: tc-up 1s var(--tc-ease) 0.9s both;
}
.tc-hero__title {
  font-family: var(--font-display); font-weight: 500; color: var(--tc-paper);
  font-size: clamp(52px, min(7.6vw, 13vh), 132px); line-height: 0.92; letter-spacing: -0.022em;
  margin: 18px 0 24px;
}
.tc-line { display: block; animation: tc-rise 1.3s var(--tc-ease) 1s both; }
.tc-line + .tc-line { color: var(--tc-foil); animation-delay: 1.18s; }
@keyframes tc-rise {
  from { opacity: 0; transform: translateY(0.3em); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: none;              clip-path: inset(-0.2em 0 -0.2em 0); }
}
@keyframes tc-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tc-hero__deck {
  font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.38;
  color: rgba(246,242,234,0.86); max-width: 34ch; margin: 0 0 40px; text-wrap: balance;
  animation: tc-up 1s var(--tc-ease) 1.45s both;
}
.tc-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; animation: tc-up 1s var(--tc-ease) 1.65s both; }

/* the play button */
.tc-play {
  display: inline-flex; align-items: center; gap: 18px; padding: 0; border: 0; background: none;
  color: var(--tc-paper); font-family: var(--font-sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; text-align: left;
}
.tc-play__ring {
  position: relative; width: 68px; height: 68px; border-radius: 50%; flex: none;
  display: grid; place-items: center; border: 1px solid var(--tc-foil); color: var(--tc-foil);
  transition: background 0.3s var(--tc-ease), color 0.3s var(--tc-ease), transform 0.3s var(--tc-ease);
}
.tc-play__ring svg { width: 22px; height: 22px; margin-left: 3px; }
.tc-play__ring::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--tc-foil);
  animation: tc-ping 2.6s var(--tc-ease) 2.4s infinite;
}
@keyframes tc-ping { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.tc-play:hover .tc-play__ring, .tc-play:focus-visible .tc-play__ring { background: var(--tc-gold); border-color: var(--tc-gold); color: var(--tc-paper); transform: scale(1.05); }
.tc-play__txt { display: flex; flex-direction: column; gap: 6px; }
.tc-play__dur { font-family: var(--tc-type); font-size: 12px; letter-spacing: 0.08em; color: rgba(246,242,234,0.6); }

.tc-hero__slate {
  position: absolute; z-index: 3; right: 56px; bottom: 54px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  font-family: var(--tc-type); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246,242,234,0.52); animation: tc-up 1s var(--tc-ease) 2s both;
}
.tc-tc { color: var(--tc-foil); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.tc-tc::before { content: "● "; color: var(--tc-red); animation: tc-blink 1.2s steps(2) infinite; }
@keyframes tc-blink { 50% { opacity: 0; } }
.tc-hero__down {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 1px; height: 54px;
  background: rgba(246,242,234,0.25); overflow: hidden; transform: translateX(-50%);
}
.tc-hero__down span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--tc-foil); animation: tc-fall 2.2s var(--tc-ease) infinite; }
@keyframes tc-fall { to { top: 110%; } }

/* ============================================================================
   The film
   ============================================================================ */
.tc-film { position: relative; padding: clamp(96px, 12vw, 150px) 0 clamp(90px, 10vw, 130px); background: var(--tc-ink); }
.tc-film__head { text-align: center; max-width: 760px; margin: 0 auto; }
.tc-film__head .tc-eyebrow { justify-content: center; color: var(--tc-foil); }
.tc-film__head .tc-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.tc-film__head h2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1; letter-spacing: -0.015em; margin: 18px 0 16px; color: var(--tc-paper);
}
.tc-film__meta { font-family: var(--tc-type); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,242,234,0.5); margin: 0; }

.tc-screen { position: relative; max-width: 1200px; margin: clamp(40px, 5vw, 64px) auto 0; }
.tc-screen__frame {
  position: relative; aspect-ratio: 16 / 9; background: #000;
  box-shadow: 0 0 0 1px rgba(217,178,124,0.26), 0 50px 140px rgba(0,0,0,0.65);
}
.tc-screen__frame::before, .tc-screen__frame::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none; border: 0 solid var(--tc-foil); opacity: 0.75;
}
.tc-screen__frame::before { top: -14px; left: -14px; border-top-width: 1px; border-left-width: 1px; }
.tc-screen__frame::after { bottom: -14px; right: -14px; border-bottom-width: 1px; border-right-width: 1px; }
.tc-screen__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }
.tc-screen__cover {
  position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; width: 100%;
  display: grid; place-items: center; align-content: center; gap: 18px; color: var(--tc-paper);
  background:
    linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.35)),
    radial-gradient(60% 60% at 50% 50%, transparent, rgba(0,0,0,0.5));
  transition: opacity 0.6s var(--tc-ease), visibility 0.6s;
}
.tc-screen__mark { position: absolute; top: 26px; left: 28px; width: 112px; opacity: 0.9; }
.tc-screen__mark img { width: 100%; height: auto; display: block; }
.tc-screen__play {
  width: clamp(72px, 8vw, 104px); height: clamp(72px, 8vw, 104px); border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,10,8,0.35); border: 1px solid var(--tc-foil); color: var(--tc-foil);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: transform 0.4s var(--tc-ease), background 0.4s var(--tc-ease), color 0.4s var(--tc-ease);
}
.tc-screen__play svg { width: 34%; height: 34%; margin-left: 6%; }
.tc-screen__label { font-family: var(--tc-type); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.tc-screen__cover:hover .tc-screen__play, .tc-screen__cover:focus-visible .tc-screen__play { transform: scale(1.07); background: var(--tc-gold); border-color: var(--tc-gold); color: var(--tc-paper); }
.tc-screen.is-started .tc-screen__cover { opacity: 0; visibility: hidden; pointer-events: none; }
.tc:not(.tc-js) .tc-screen__cover { display: none; } /* no script: the native player is the player */

/* letterbox subtitles, under the picture */
.tc-screen__sub {
  min-height: 2.9em; margin: 26px auto 0; max-width: 46ch; text-align: center;
  font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35;
  color: var(--tc-paper); opacity: 0; transition: opacity 0.25s linear; text-wrap: balance;
}
.tc-screen__sub.is-on { opacity: 1; }

/* the chapter reel: a strip of film */
.tc-reel {
  list-style: none; margin: 18px auto 0; padding: 18px 0; max-width: 1200px; position: relative;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto;
  background:
    linear-gradient(90deg, rgba(246,242,234,0.14) 0 9px, transparent 9px 22px) 6px 5px / 22px 7px repeat-x,
    linear-gradient(90deg, rgba(246,242,234,0.14) 0 9px, transparent 9px 22px) 6px calc(100% - 5px) / 22px 7px repeat-x,
    #050504;
}
.tc-reel__cell { grid-row: 1; margin: 0; padding: 0 4px; }
.tc-reel__cell button {
  display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 0 0 4px; border: 0; background: none;
  color: rgba(246,242,234,0.6); text-align: left;
}
.tc-reel__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.tc-reel__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(246,242,234,0.08); transition: box-shadow 0.3s; }
.tc-reel__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.62); transition: filter 0.5s var(--tc-ease), transform 0.6s var(--tc-ease); }
.tc-reel__tc { font-family: var(--tc-type); font-size: 11px; letter-spacing: 0.08em; color: var(--tc-foil); padding: 0 2px; }
.tc-reel__nm { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; padding: 0 2px; margin-top: -4px; }
.tc-reel__cell button:hover .tc-reel__img img, .tc-reel__cell button:focus-visible .tc-reel__img img { filter: grayscale(0.2) brightness(0.95); transform: scale(1.04); }
.tc-reel__cell button:hover, .tc-reel__cell button:focus-visible { color: var(--tc-paper); }
.tc-reel__cell.is-on button { color: var(--tc-paper); }
.tc-reel__cell.is-on .tc-reel__img img { filter: none; }
.tc-reel__cell.is-on .tc-reel__img::after { box-shadow: inset 0 0 0 2px var(--tc-gold); }
.tc-reel__head { grid-row: 1; grid-column: 1 / -1; position: relative; pointer-events: none; margin: -18px 4px; z-index: 2; opacity: 0; transition: opacity 0.4s; }
.tc-reel__head span { position: absolute; top: 0; bottom: 0; left: calc(var(--p, 0) * 100%); width: 2px; margin-left: -1px; background: var(--tc-gold); box-shadow: 0 0 12px rgba(217,178,124,0.8); }
.tc-screen.is-started ~ .tc-reel .tc-reel__head { opacity: 1; }

/* lights down while the film plays */
.tc-dim {
  position: fixed; inset: 0; z-index: 30; pointer-events: none;
  background: #000; opacity: 0; transition: opacity 1.4s var(--tc-ease);
}
.tc.is-screening .tc-dim { opacity: 0.84; }
/* the screen and its reel rise over the dim (and the site header) only while it is dark */
.tc.is-screening .tc-screen, .tc.is-screening .tc-reel { z-index: 31; }

/* ============================================================================
   The case (paper)
   ============================================================================ */
.tc-case { padding: clamp(100px, 11vw, 150px) 0 clamp(90px, 10vw, 130px); }
.tc-case__grid { display: grid; grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.tc-case__body { max-width: 760px; }

/* the manila case file */
.tc-file {
  position: sticky; top: calc(var(--cmd-header-total-height, 76px) + 48px);
  margin-top: 30px; padding: 30px 26px 26px; background: var(--tc-manila); color: var(--ink);
  font-family: var(--tc-type); box-shadow: 0 1px 0 rgba(20,17,12,0.08), 0 18px 40px rgba(20,17,12,0.12);
  transform: rotate(-0.8deg);
}
.tc-file__tab {
  position: absolute; left: 0; top: -27px; height: 28px; padding: 7px 18px 0; background: var(--tc-manila);
  border-radius: 8px 8px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
}
.tc-file__caption {
  margin: 0 0 22px; padding: 0 0 20px; text-align: center; font-size: 17px; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px dashed rgba(20,17,12,0.3);
}
.tc-file__dl { margin: 0; display: grid; gap: 11px; }
.tc-file__dl div { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; border-bottom: 1px dotted rgba(20,17,12,0.22); padding-bottom: 8px; }
.tc-file__dl dt { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.tc-file__dl dd { margin: 0; font-size: 14px; font-weight: 700; text-align: right; }

/* the docket: nine execution dates, eight struck */
.tc-docket { margin: 52px 0 60px; padding: 34px 0 26px; border-top: 1px solid rgba(20,17,12,0.22); border-bottom: 1px solid rgba(20,17,12,0.22); }
.tc-tally { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 6px; }
.tc-tally li {
  position: relative; flex: 1; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; color: var(--ink);
  counter-increment: tc-n;
}
.tc-tally li span::before { content: counter(tc-n); }
.tc-tally { counter-reset: tc-n; }
.tc-tally li.is-stayed { color: rgba(20,17,12,0.55); }
.tc-tally li.is-stayed::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 52%; height: 3px; background: var(--tc-red);
  transform: scaleX(0) rotate(-14deg); transform-origin: left center;
}
.tc-tally li.is-final span { position: relative; }
.tc-tally li.is-final span::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -10px; height: 2px; background: var(--tc-gold); transform: scaleX(0); }
.tc-docket.is-in .tc-tally li.is-stayed::after { transition: transform 0.28s var(--tc-ease) calc(0.25s + var(--i) * 0.16s); transform: scaleX(1) rotate(-14deg); }
.tc-docket.is-in .tc-tally li.is-final span::after { transition: transform 0.8s var(--tc-ease) 1.9s; transform: scaleX(1); }
.tc-docket__cap {
  display: flex; justify-content: space-between; margin: 22px 0 0;
  font-family: var(--tc-type); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.tc-docket__cap span:first-child { color: var(--tc-red); }
.tc-docket__cap span:last-child { color: var(--ink); }
/* dated version: scheduled date struck in red, a stamp, and who stayed it */
.tc-docket--dates { list-style: none; padding-left: 0; display: grid; gap: 0; padding-top: 10px; padding-bottom: 10px; }
.tc-docket--dates li {
  display: grid; grid-template-columns: 2.2em minmax(10.5em, 13em) minmax(0, 1fr) 7.4em; gap: 0 18px; align-items: center;
  padding: 13px 0; border-bottom: 1px dotted rgba(20,17,12,0.22); font-family: var(--tc-type);
}
.tc-docket--dates li:last-child { border-bottom: 0; }
.tc-docket__n { color: var(--ink-faint); font-size: 12px; }
.tc-docket__d { position: relative; justify-self: start; font-size: 17px; color: var(--ink); }
.tc-docket__o { font-size: 12.5px; letter-spacing: 0.02em; color: var(--ink-mute); }
.tc-docket--dates li.is-stayed .tc-docket__d { color: rgba(20,17,12,0.62); }
.tc-docket--dates li.is-stayed .tc-docket__d::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 42%; height: 2px; background: var(--tc-red);
  transform: scaleX(0); transform-origin: left;
}
.tc-docket--dates.is-in li.is-stayed .tc-docket__d::after { transition: transform 0.3s var(--tc-ease) calc(0.2s + var(--i) * 0.16s); transform: scaleX(1); }
.tc-docket--dates li.is-final .tc-docket__d { font-weight: 700; }
.tc-docket--dates li.is-final .tc-docket__o { color: var(--ink); font-weight: 700; }
.tc-docket--dates li.is-final .tc-docket__d::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--tc-gold);
  transform: scaleX(0); transform-origin: left;
}
.tc-docket--dates.is-in li.is-final .tc-docket__d::after { transition: transform 0.8s var(--tc-ease) 1.9s; transform: scaleX(1); }
.tc-stamp {
  justify-self: end; font-family: var(--tc-type); font-weight: 700; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tc-red); border: 1.5px solid currentColor; padding: 3px 7px 2px; rotate: -6deg; opacity: 0; scale: 1.7;
}
.tc-docket--dates.is-in .tc-stamp { transition: opacity 0.12s linear calc(0.45s + var(--i) * 0.16s), scale 0.22s var(--tc-ease) calc(0.45s + var(--i) * 0.16s); opacity: 0.85; scale: 1; }

/* ============================================================================
   The call (dark)
   ============================================================================ */
.tc-call { position: relative; overflow: hidden; background: var(--tc-ink-2); padding: clamp(110px, 15vh, 180px) 0; }
.tc-call::before {
  content: "10:03"; position: absolute; right: -2vw; bottom: -6vw; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 500; font-size: 34vw; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(217,178,124,0.14);
}
.tc-call__inner { position: relative; z-index: 3; max-width: 1100px; }
.tc-typed { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0.8em; }
.tc-typed li {
  font-family: var(--tc-type); font-size: clamp(21px, 2.5vw, 34px); line-height: 1.4; color: var(--tc-paper);
  max-width: 44ch; min-height: 1.4em;
}
.tc-typed li.tc-typed__last { color: var(--tc-foil); }
.tc-typed li { position: relative; }
.tc-typed__ghost { color: transparent; }
.tc-typed__out { position: absolute; inset: 0; }
.tc-typed__out::after { content: "▌"; margin-left: 2px; color: var(--tc-foil); opacity: 0; }
.tc-typed li.is-typing .tc-typed__out::after { opacity: 1; animation: tc-blink 0.9s steps(2) infinite; }
.tc-call__foot {
  margin: 56px 0 0; padding-top: 22px; border-top: 1px solid rgba(217,178,124,0.25); max-width: 44ch;
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,242,234,0.55);
}

/* ============================================================================
   The attorney (paper)
   ============================================================================ */
.tc-attorney { padding: clamp(100px, 11vw, 150px) 0; background-color: var(--tc-paper-2); }
.tc-attorney__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.tc-print { position: relative; background: #fff; box-shadow: 0 1px 2px rgba(20,17,12,0.1), 0 30px 60px rgba(20,17,12,0.16); }
.tc-print img { width: 100%; height: auto; display: block; }
.tc-attorney__flyleaf { margin: 0; }
.tc-attorney__flyleaf .tc-print { transform: rotate(-1.4deg); }
.tc-attorney figcaption, .tc-letter figcaption, .tc-attorney__forum figcaption {
  font-family: var(--tc-type); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-mute); margin-top: 18px;
}
/* ink wipe: the inscription "writes" itself in */
.tc-js .tc-print--wipe::after {
  content: ""; position: absolute; inset: 0; background: #fbf8f1; transform-origin: right center;
  transition: transform 2.2s cubic-bezier(0.6, 0, 0.3, 1) 0.4s;
}
.tc-js .tc-reveal.is-in .tc-print--wipe::after { transform: scaleX(0); }
.tc-quote { margin: 22px 0 0; padding: 0; position: relative; }
.tc-quote p {
  font-family: var(--font-display); font-style: italic; font-size: clamp(30px, 3.3vw, 50px); line-height: 1.14;
  letter-spacing: -0.01em; color: var(--ink); margin: 0; text-indent: -0.42em; text-wrap: balance;
}
.tc-quote footer { margin-top: 18px; font-family: var(--tc-type); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tc-gold); }
.tc-quote footer::before { content: "— "; }
.tc-attorney__forum { display: flex; align-items: center; gap: 22px; margin: 34px 0 0; }
.tc-attorney__forum img { width: 118px; height: auto; flex: none; box-shadow: 0 10px 24px rgba(20,17,12,0.16); transform: rotate(2deg); background: #fff; }
.tc-attorney__forum figcaption { margin: 0; }

/* ============================================================================
   In his words (dark, lamplit)
   ============================================================================ */
.tc-letter {
  position: relative; padding: clamp(100px, 11vw, 150px) 0; overflow: hidden;
  background: radial-gradient(70% 80% at 72% 45%, #2c2518 0%, #16120c 45%, var(--tc-ink) 100%);
}
.tc-letter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.tc-letter__intro { font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; color: rgba(246,242,234,0.78); margin: 0 0 30px; max-width: 46ch; }
.tc-typequote { margin: 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--tc-gold); }
.tc-typequote p { font-family: var(--tc-type); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.75; color: var(--tc-paper); margin: 0; }
.tc-letter__doc { margin: 0; }
.tc-letter__doc .tc-print { transform: rotate(1.6deg); box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.2); }
.tc-letter__doc figcaption { color: rgba(246,242,234,0.5); }

/* ============================================================================
   The archive (paper) — exhibits
   ============================================================================ */
.tc-archive { padding: clamp(100px, 11vw, 150px) 0 clamp(100px, 11vw, 140px); }
.tc-archive__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 6vw, 84px); }
.tc-archive__head .tc-h2 { margin-bottom: 0; }
.tc-archive__lead { font-family: var(--font-display); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 52ch; }
.tc-exhibits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(44px, 4.4vw, 64px) clamp(20px, 2.4vw, 36px); }
.tc-ex { margin: 0; }
.tc-ex__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tc-ex__img {
  display: block; aspect-ratio: 1; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(20,17,12,0.08), 0 12px 28px rgba(20,17,12,0.1);
  transition: transform 0.5s var(--tc-ease), box-shadow 0.5s var(--tc-ease);
}
.tc-ex__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--tc-ease); }
.tc-ex__btn:hover .tc-ex__img, .tc-ex__btn:focus-visible .tc-ex__img { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(20,17,12,0.08), 0 24px 44px rgba(20,17,12,0.16); }
.tc-ex__btn:hover .tc-ex__img img { transform: scale(1.04); }
.tc-ex__tag {
  position: absolute; top: -11px; left: 14px; z-index: 2;
  padding: 5px 11px 4px 20px; background: var(--tc-manila); color: var(--ink);
  font-family: var(--tc-type); font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(20,17,12,0.16); transform: rotate(-3deg);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
}
.tc-ex__tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--tc-paper); box-shadow: inset 0 0 0 1px rgba(20,17,12,0.3); }
.tc-ex__t { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; margin: 18px 0 6px; color: var(--ink); }
.tc-ex__c { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); margin: 0; }

/* ============================================================================
   The lot (forest-deep, the house)
   ============================================================================ */
.tc-lot { position: relative; background: var(--witherell-forest-deep); color: var(--tc-paper); padding: clamp(100px, 11vw, 150px) 0; border-top: 1px solid rgba(217,178,124,0.3); }
.tc-lot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.tc-lot__art { margin: 0; position: relative; background: #fff; }
.tc-lot__art::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(172,116,42,0.45); pointer-events: none; }
.tc-lot__art img { width: 100%; height: auto; display: block; }
.tc-lot__no { font-family: var(--font-display); font-weight: 500; font-size: clamp(110px, 13vw, 190px); line-height: 0.8; color: var(--tc-foil); margin: 26px 0 22px; letter-spacing: -0.03em; }
.tc-lot__no span { font-family: var(--tc-type); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; vertical-align: top; margin-right: 6px; color: rgba(246,242,234,0.6); }
.tc-lot__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 33px); line-height: 1.22; margin: 0 0 16px; color: var(--tc-paper); max-width: 30ch; }
.tc-lot__est { font-family: var(--tc-type); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tc-foil); margin: 0 0 30px; }
.tc-lot__facts { margin: 0 0 36px; display: grid; gap: 14px; max-width: 520px; }
.tc-lot__facts div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(217,178,124,0.18); }
.tc-lot__facts dt { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tc-foil); padding-top: 3px; }
.tc-lot__facts dd { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(246,242,234,0.85); }
.tc-lot__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.tc-lot__alt { margin: 26px 0 0; font-size: 13px; letter-spacing: 0.04em; color: rgba(246,242,234,0.6); }
.tc-lot__alt a { color: var(--tc-paper); border-bottom: 1px solid rgba(217,178,124,0.5); padding-bottom: 1px; }
.tc-lot__alt a:hover { color: var(--tc-foil); }

.tc-inquiry { padding: clamp(80px, 9vw, 120px) 0; background-color: var(--tc-paper-2); }
.tc-inquiry .rfi-card { max-width: 880px; margin: 0 auto; }

/* ============================================================================
   Notes
   ============================================================================ */
.tc-notes { padding: 56px 0 72px; border-top: 1px solid rgba(20,17,12,0.1); }
.tc-notes .wrap > * { max-width: 88ch; }
.tc-notes__h { font-family: var(--tc-type); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 14px; }
.tc-notes p { font-size: 13px; line-height: 1.65; color: var(--ink-mute); margin: 0 0 10px; }
.tc-notes a { color: var(--ink-soft); border-bottom: 1px solid rgba(20,17,12,0.25); }
.tc-notes a:hover { color: var(--witherell-gold-deep); }

/* ============================================================================
   Lightbox
   ============================================================================ */
.tc-lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8,7,5,0.95); color: var(--tc-paper); overflow: hidden;
}
.tc-lightbox[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; }
.tc-lightbox::backdrop { background: rgba(0,0,0,0.6); }
.tc-lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 18px; padding: 48px 0 28px; max-height: 100%; }
.tc-lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 250px); width: auto; height: auto; object-fit: contain; background: #fff; }
.tc-lightbox__fig figcaption { max-width: 70ch; text-align: center; font-size: 14px; line-height: 1.55; color: rgba(246,242,234,0.75); }
.tc-lightbox__fig figcaption .tc-lb-tag { display: block; font-family: var(--tc-type); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tc-foil); margin-bottom: 6px; }
.tc-lightbox__fig figcaption .tc-ex__t { color: var(--tc-paper); font-size: 22px; margin: 0 0 4px; }
.tc-lightbox__fig figcaption .tc-ex__c { color: rgba(246,242,234,0.7); }
.tc-lightbox__x, .tc-lightbox__nav { border: 0; background: none; color: var(--tc-paper); opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.tc-lightbox__x:hover, .tc-lightbox__nav:hover { opacity: 1; color: var(--tc-foil); }
.tc-lightbox__x { position: absolute; top: 14px; right: 18px; font-size: 40px; line-height: 1; padding: 6px 10px; }
.tc-lightbox__nav { font-size: 56px; line-height: 1; height: 100%; font-family: var(--font-display); }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1100px) {
  .tc-exhibits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tc-hero__slate { display: none; }
}
@media (max-width: 920px) {
  .tc-case__grid, .tc-attorney__grid, .tc-letter__grid, .tc-lot__grid, .tc-archive__head { grid-template-columns: 1fr; }
  .tc-file { position: relative; top: 0; max-width: 420px; order: 2; margin-top: 56px; }
  .tc-attorney__flyleaf { max-width: 560px; }
  .tc-letter__doc { max-width: 560px; }
  .tc-lot__art { max-width: 560px; }
  .tc-reel {
    grid-template-columns: repeat(7, 38vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: -24px; margin-right: -24px; padding-left: 20px; padding-right: 20px;
  }
  .tc-reel::-webkit-scrollbar { display: none; }
  .tc-reel__cell { scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .tc-hero { align-items: flex-end; }
  .tc-hero__loop { object-position: 50% 38%; }
  .tc-hero__scrim {
    background:
      linear-gradient(180deg, rgba(11,10,8,0.7) 0%, rgba(11,10,8,0) 24%),
      linear-gradient(0deg, rgba(11,10,8,0.97) 0%, rgba(11,10,8,0.86) 42%, rgba(11,10,8,0.2) 78%);
  }
  .tc-hero__gate { inset: var(--tc-top) 14px 14px; }
  .tc-hero__inner { padding-bottom: 92px; }
  .tc-hero__title { max-width: none; }
  .tc-hero__cta .btn { width: 100%; justify-content: center; }
  .tc-exhibits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-ex__t { font-size: 17px; }
  .tc-ex__c { font-size: 12.5px; }
  .tc-screen__mark { display: none; }
  .tc-screen__cover { gap: 10px; }
  .tc-screen__play { width: 58px; height: 58px; }
  .tc-screen__label { font-size: 11px; }
  .tc-screen__frame::before, .tc-screen__frame::after { display: none; }
  .tc-docket--dates li { grid-template-columns: 1.6em minmax(0, 1fr) auto; row-gap: 4px; }
  .tc-docket__d { grid-column: 2; font-size: 15.5px; }
  .tc-stamp { grid-column: 3; grid-row: 1; }
  .tc-docket__o { grid-column: 2 / -1; font-size: 11.5px; }
  .tc-lot__facts div { grid-template-columns: 1fr; gap: 4px; }
  .tc-lot__cta .btn { width: 100%; justify-content: center; }
  .tc-lightbox[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .tc-lightbox__nav { font-size: 40px; }
}
@media (max-width: 480px) {
  .tc-exhibits { gap: 40px 14px; }
  .tc-ex__tag { left: 8px; font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .tc *, .tc *::before, .tc *::after { animation: none !important; transition: none !important; }
  .tc-hero__loop { transform: none; }
  .tc-js .tc-reveal { opacity: 1; transform: none; }
  .tc-docket .tc-tally li.is-stayed::after { transform: scaleX(1) rotate(-14deg); }
  .tc-docket .tc-tally li.is-final span::after, .tc-docket--dates li .tc-docket__d::after { transform: scaleX(1); }
  .tc-docket--dates .tc-stamp { opacity: 0.85; scale: 1; }
  .tc-js .tc-print--wipe::after { display: none; }
}
