/* DOOMED. PRODUCTIONS — black, dirty white, one violent red. Nothing else. */

:root {
  --ink: #0a0908;
  --ink2: #121110;
  --ink3: #1b1917;
  --paper: #e4ded1;
  --paper-dim: #9a948a;
  --paper-faint: #6a655d;
  --red: #e01b17;
  --red-dim: #8d100e;
  --rule: #26231f;
  --gut: clamp(18px, 4vw, 64px);
  --max: 1360px;
  --disp: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

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

a { color: inherit; }

/* ── grain + gate, over everything, cheap ───────────────────────────────── */

.grain, .vig {
  position: fixed; inset: -60px; pointer-events: none; z-index: 900;
}
.grain {
  opacity: .34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: jitter .6s steps(3) infinite;
}
.vig {
  z-index: 899;
  background: radial-gradient(130% 100% at 50% 45%, transparent 42%, rgba(0,0,0,.55) 100%);
}
@keyframes jitter {
  0% { transform: translate3d(0,0,0); }
  33% { transform: translate3d(-12px, 8px, 0); }
  66% { transform: translate3d(9px, -11px, 0); }
  100% { transform: translate3d(0,0,0); }
}

/* a scratch or two, drifting */
.scratch {
  position: fixed; top: -10%; bottom: -10%; width: 1px; z-index: 901;
  background: linear-gradient(to bottom, transparent, rgba(228,222,209,.5) 18%, transparent 30%, rgba(228,222,209,.28) 62%, transparent);
  pointer-events: none; opacity: .5;
  animation: drift 7.3s linear infinite;
}
.scratch.b { animation-duration: 11.1s; animation-delay: -4s; opacity: .3; }
@keyframes drift {
  0% { left: 12%; opacity: 0; }
  6% { opacity: .5; }
  48% { opacity: .1; }
  55% { left: 73%; opacity: .45; }
  92% { opacity: .35; }
  100% { left: 26%; opacity: 0; }
}

/* ── layout scaffolding ─────────────────────────────────────────────────── */

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

.lab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
}
.lab.pale { color: var(--paper-faint); }

.tc { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--paper-faint); font-variant-numeric: tabular-nums; }

h1, h2, h3, .disp {
  font-family: var(--disp);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: .005em;
  margin: 0;
}

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

/* handwritten grease-pencil notes */
.pencil {
  font-family: var(--hand);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.12;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.pencil u { text-decoration: none; display: block; }
.pencil::after {
  content: ''; display: block; height: 2px; width: 74%; margin-top: 5px;
  background: var(--red); transform: rotate(-1.2deg); border-radius: 2px;
}

/* ── ribbon ─────────────────────────────────────────────────────────────── */

.ribbon {
  background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px var(--gut); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap;
}
.ribbon b { letter-spacing: .24em; }
.ribbon span { opacity: .85; letter-spacing: .08em; }

/* ── masthead ───────────────────────────────────────────────────────────── */

.mast { position: relative; z-index: 300; padding: 22px 0 14px; }
.mast .wrap { display: flex; align-items: flex-start; gap: 28px; }

.logo { text-decoration: none; display: block; flex: none; }
.logo b {
  display: block; font-family: var(--disp); font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -.01em; line-height: .84; text-transform: uppercase;
}
.logo small {
  display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .58em;
  color: var(--paper-dim); margin-top: 6px; padding-left: 2px;
}

nav { margin-left: auto; }
nav ul { list-style: none; display: flex; gap: clamp(14px, 2vw, 34px); margin: 6px 0 0; padding: 0; }
nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; color: var(--paper-dim); padding: 4px 0; display: block; position: relative;
}
nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red);
  transition: right .18s ease;
}
nav a:hover { color: var(--paper); }
nav a:hover::after { right: 0; }

.mast .pencil { margin-left: auto; text-align: right; transform: rotate(-3deg); flex: none; max-width: 150px; }
.mast .pencil::after { margin-left: auto; width: 86%; }
@media (max-width: 1080px) { .mast .pencil { display: none; } }
@media (max-width: 820px) { nav { display: none; } }

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .96; }
/* Keeps the headline legible over whatever the shot is doing, without flattening
   the right-hand side where the subject sits. */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(97deg, rgba(10,9,8,.92) 4%, rgba(10,9,8,.6) 34%, rgba(10,9,8,.08) 62%, rgba(10,9,8,.45) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 70px; padding-bottom: clamp(38px, 6vw, 84px); width: 100%; }

.hero h1 {
  font-size: clamp(52px, 11.2vw, 168px);
  margin: 10px 0 0;
  max-width: 13ch;
}
.hero h1 .l2 { display: block; }
.hero h1 em { font-style: normal; position: relative; display: inline-block; }
/* the grease-pencil underline sits just BELOW the baseline — the em's inline box
   bottom is only ~2px under it, so this has to be negative or it strikes through. */
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 6%; bottom: -.085em; height: .05em; background: var(--red);
  transform: rotate(-.6deg);
}

.sub {
  font-family: var(--disp); text-transform: uppercase; font-size: clamp(19px, 2.5vw, 34px);
  letter-spacing: .13em; line-height: 1.16; margin: clamp(16px, 2.2vw, 26px) 0 0; color: var(--paper);
  max-width: 17ch;
}
.sub span { color: var(--paper-dim); }

.hero .beat {
  display: block; font-family: var(--mono); font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin-top: 18px; min-height: 1.2em;
}
.hero .beat i { font-style: normal; opacity: 0; }
.hero .beat.on i { opacity: 1; }

.heroactions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }

.play {
  display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; cursor: pointer;
  color: var(--paper); padding: 0; font: inherit;
}
.play i {
  width: 52px; height: 52px; border: 1px solid var(--paper-dim); border-radius: 50%;
  display: grid; place-items: center; flex: none; transition: border-color .2s, background .2s, transform .2s;
}
.play i::before { content: ''; border-left: 11px solid var(--paper); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; transition: border-left-color .2s; }
.play b { font-family: var(--mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }
.play:hover i { border-color: var(--red); background: var(--red); transform: scale(1.06); }
.play:hover i::before { border-left-color: #fff; }

.hero .pencil.right {
  position: absolute; right: var(--gut); bottom: clamp(52px, 9vw, 130px); z-index: 3;
  transform: rotate(6deg); max-width: 130px; text-align: left;
}
@media (max-width: 900px) { .hero .pencil.right { display: none; } }

/* ── the strip ──────────────────────────────────────────────────────────── */

.strip { position: relative; background: #000; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.strip .perf {
  height: 15px; display: flex; gap: 12px; padding: 4px 10px; overflow: hidden;
}
.strip .perf span { width: 20px; height: 100%; background: #15130f; border-radius: 2px; flex: none; }

.frames { display: flex; overflow-x: auto; scrollbar-width: none; }
.frames::-webkit-scrollbar { display: none; }

.frame {
  position: relative; flex: 1 0 clamp(150px, 14.2vw, 210px); border-left: 1px solid #000;
  background: #0d0c0b; cursor: pointer; text-align: left; padding: 0; border-top: 0; border-right: 0; border-bottom: 0;
  color: inherit; font: inherit;
}
.frame:first-child { border-left: 0; }
.frame canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; filter: grayscale(1) contrast(1.05) brightness(1.06); transition: filter .3s ease; }
.frame .cap {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px 11px; border-top: 1px solid var(--rule);
}
.frame .cap b {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper-dim); transition: color .2s;
}
.frame .cap::before {
  content: ''; border-left: 6px solid var(--red); border-top: 4px solid transparent; border-bottom: 4px solid transparent; flex: none;
  opacity: .5; transition: opacity .2s;
}
.frame .tcmark {
  position: absolute; top: 7px; left: 8px; z-index: 2; font-family: var(--mono); font-size: 9px;
  letter-spacing: .08em; color: rgba(228,222,209,.55); background: rgba(0,0,0,.42); padding: 1px 4px;
  font-variant-numeric: tabular-nums;
}
/* A thin caption strip, not a panel — the whole point of the hover is to watch
   the frame scrub, so it must not cover the picture. */
.frame .note {
  position: absolute; left: 0; right: 0; bottom: 42px; padding: 5px 9px; background: rgba(224,27,23,.92); color: #fff;
  font-family: var(--mono); font-size: 9.5px; line-height: 1.35; letter-spacing: .03em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.frame:hover canvas, .frame:focus-visible canvas { filter: grayscale(0) contrast(1.02) brightness(1.18); }
.frame:hover .cap b, .frame:focus-visible .cap b { color: var(--paper); }
.frame:hover .cap::before, .frame:focus-visible .cap::before { opacity: 1; }
.frame:hover .note, .frame:focus-visible .note { opacity: 1; transform: none; }
.frame:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

/* ── generic section ────────────────────────────────────────────────────── */

section { position: relative; }

.sec { padding: clamp(66px, 9vw, 132px) 0; }
.sec.tight { padding-block: clamp(52px, 6vw, 90px); }

.sechead { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.4vw, 48px); }
.sechead h2 { font-size: clamp(26px, 3.4vw, 46px); letter-spacing: .01em; }
.sechead .rule { flex: 1 1 60px; height: 1px; background: var(--rule); align-self: center; }
.sechead a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-dim); text-decoration: none;
}
.sechead a:hover { color: var(--red); }

/* frame number in the margin */
.fnum {
  position: absolute; left: 10px; top: 26px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: var(--red-dim); writing-mode: vertical-rl; font-variant-numeric: tabular-nums;
}
@media (max-width: 1180px) { .fnum { display: none; } }

/* develop-from-negative reveal */
.dev { filter: invert(1) grayscale(1) contrast(2.2); opacity: .18; transition: filter 1.15s cubic-bezier(.2,.7,.2,1), opacity .7s ease; }
.dev.in { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .dev { filter: none; opacity: 1; } }

/* ── manifesto ──────────────────────────────────────────────────────────── */

.mani { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: center; }
@media (max-width: 900px) { .mani { grid-template-columns: 1fr; } }

.mani h2 { font-size: clamp(38px, 6.4vw, 92px); }
.mani h2 .save { color: var(--red); display: block; }
.mani p { color: var(--paper-dim); max-width: 46ch; margin: clamp(20px, 2.4vw, 30px) 0 0; font-size: 15.5px; }
.mani p b { color: var(--paper); font-weight: 600; }

.stage { position: relative; transform: rotate(-.7deg); }
.stage canvas { width: 100%; aspect-ratio: 4 / 3; background: #000; }
.stage .slate {
  position: absolute; left: -14px; bottom: -18px; background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; padding: 7px 11px; transform: rotate(1.6deg);
  text-transform: uppercase; line-height: 1.5;
}
.stage .slate b { display: block; letter-spacing: .2em; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(24px, 3vw, 34px);
  border: 1px solid var(--paper-dim); background: none; color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  padding: 15px 24px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.solid:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ── services ───────────────────────────────────────────────────────────── */

.svcs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
@media (max-width: 1000px) { .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svcs { grid-template-columns: 1fr; } }

.svc { padding: 26px 22px 30px 0; border-right: 1px solid var(--rule); position: relative; }
.svc:last-child { border-right: 0; }
@media (max-width: 1000px) { .svc { padding-right: 22px; border-bottom: 1px solid var(--rule); } .svc:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .svc { border-right: 0; } }
.svc b { display: block; font-family: var(--disp); text-transform: uppercase; font-size: clamp(19px, 1.9vw, 25px); margin: 14px 0 9px; }
.svc p { margin: 0; color: var(--paper-dim); font-size: 13.5px; line-height: 1.62; max-width: 30ch; }
.svc .n { font-family: var(--mono); font-size: 10px; letter-spacing: .24em; color: var(--red); }
.svc::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .4s ease;
}
.svc:hover::after { width: 46px; }

/* ── work ───────────────────────────────────────────────────────────────── */

.workhead h2 { font-size: clamp(32px, 5.6vw, 80px); max-width: 15ch; }

.empty {
  border: 1px solid var(--rule); padding: clamp(28px, 4vw, 54px); position: relative; margin-top: 10px;
  background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255,255,255,.012) 22px 44px);
}
.empty .lab { display: block; margin-bottom: 16px; }
.empty p { margin: 0 0 14px; max-width: 58ch; color: var(--paper-dim); font-size: 15.5px; }
.empty p.big {
  font-family: var(--disp); text-transform: uppercase; color: var(--paper); font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.1; max-width: 22ch; margin-bottom: 18px;
}
.empty .stamp {
  position: absolute; right: clamp(14px, 3vw, 46px); top: clamp(14px, 3vw, 38px);
  border: 2px solid var(--red-dim); color: var(--red-dim); font-family: var(--mono); font-weight: 500;
  font-size: clamp(10px, 1.1vw, 13px); letter-spacing: .2em; padding: 8px 12px; transform: rotate(-9deg);
  text-transform: uppercase; opacity: .75;
}
@media (max-width: 680px) { .empty .stamp { position: static; display: inline-block; transform: rotate(-2deg); margin-top: 6px; } }

.prods { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.prod { background: var(--ink); padding: 0; position: relative; display: block; text-decoration: none; }
.prod canvas, .prod img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.prod .meta { padding: 20px 22px 26px; }
.prod .meta h3 { font-size: clamp(24px, 3.4vw, 44px); }
.prod .meta p { color: var(--paper-dim); margin: 10px 0 0; max-width: 60ch; font-size: 14.5px; }

/* ── about ──────────────────────────────────────────────────────────────── */

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(26px, 4vw, 64px); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about h2 { font-size: clamp(30px, 4vw, 54px); }
.about p { color: var(--paper-dim); font-size: 16px; max-width: 52ch; }
.about p:first-of-type { color: var(--paper); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; }

.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; border: 1px solid var(--rule);
  padding: 10px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper-dim);
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ── torn edge ──────────────────────────────────────────────────────────── */

.torn { height: 26px; background: var(--paper); position: relative; }
.torn::before, .torn::after { content: ''; position: absolute; left: 0; right: 0; height: 13px; background: var(--ink); }
.torn::before {
  top: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='13' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v5L1140 8 1080 4 1020 9 960 5 900 10 840 6 780 11 720 6 660 10 600 5 540 9 480 4 420 9 360 5 300 10 240 6 180 10 120 5 60 9 0 4z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='13' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v5L1140 8 1080 4 1020 9 960 5 900 10 840 6 780 11 720 6 660 10 600 5 540 9 480 4 420 9 360 5 300 10 240 6 180 10 120 5 60 9 0 4z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.torn::after { bottom: 0; transform: scaleY(-1); -webkit-mask-image: inherit; mask-image: inherit; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }

/* ── contact ────────────────────────────────────────────────────────────── */

.contact { background: var(--paper); color: var(--ink); }
.contact .lab { color: var(--red); }
.contact h2 { font-size: clamp(42px, 8vw, 118px); text-align: center; }
.contact .say { text-align: center; font-family: var(--mono); font-size: clamp(11px, 1.2vw, 14px); letter-spacing: .14em; text-transform: uppercase; color: #5b5750; margin: 16px 0 0; }
.contact .mail { display: block; text-align: center; margin-top: 8px; font-family: var(--mono); font-size: clamp(13px, 1.5vw, 17px); letter-spacing: .06em; color: var(--ink); }
.contact .mail:hover { color: var(--red); }
.contact .head { text-align: center; }
.contact .head .lab { display: block; margin-bottom: 14px; }

form { max-width: 760px; margin: clamp(34px, 4.6vw, 60px) auto 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }

.f { margin-bottom: 16px; }
.f > label {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: #6b675f; margin-bottom: 7px;
}
.f input, .f select, .f textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #b5afa2; color: var(--ink);
  font-family: var(--mono); font-size: 14px; padding: 10px 2px; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M0 0h10L5 7z' fill='%23e01b17'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.f textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-bottom-color: var(--red); }
.f .err { display: block; font-family: var(--mono); font-size: 11px; color: var(--red); margin-top: 6px; min-height: 0; }
.f.bad input, .f.bad select, .f.bad textarea { border-bottom-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.send { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.send .btn { border-color: var(--ink); color: var(--ink); margin-top: 0; }
.send .btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.send .btn[disabled] { opacity: .45; cursor: default; }
.send small { font-family: var(--mono); font-size: 11px; color: #6b675f; letter-spacing: .04em; }

.sent {
  border: 1px solid var(--ink); padding: 26px; text-align: center; max-width: 760px; margin: clamp(34px, 4.6vw, 60px) auto 0;
}
.sent b { display: block; font-family: var(--disp); text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); }
.sent p { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #5b5750; }

/* taped note */
.taped {
  position: absolute; right: clamp(10px, 4vw, 70px); bottom: clamp(12px, 3vw, 46px);
  background: #ded7c6; color: var(--ink); padding: 22px 20px 26px; transform: rotate(5deg);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: 168px;
}
.taped .pencil { color: var(--ink); }
.taped .pencil::after { background: var(--red); }
.taped::before {
  content: ''; position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 74px; height: 22px; background: rgba(228,222,209,.55); border-left: 1px dashed rgba(0,0,0,.14); border-right: 1px dashed rgba(0,0,0,.14);
}
@media (max-width: 960px) { .taped { display: none; } }

/* ── footer ─────────────────────────────────────────────────────────────── */

footer { border-top: 1px solid var(--rule); padding: 26px 0 34px; }
footer .wrap { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; }
footer .fl { font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--paper-faint); }
footer .fl b { color: var(--paper-dim); font-weight: 500; letter-spacing: .3em; }
footer .creed { color: var(--paper-dim); }

/* ── projector takeover ─────────────────────────────────────────────────── */

.projector {
  position: fixed; inset: 0; z-index: 1000; background: #000; display: none;
  place-items: center; padding: 0;
}
.projector[open] { display: grid; }
.projector canvas { width: 100%; height: 100%; object-fit: cover; }
.projector .hud {
  position: absolute; inset: 0; pointer-events: none; padding: clamp(14px, 3vw, 34px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.projector .hud .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.projector .hud .tc { color: rgba(228,222,209,.72); font-size: clamp(10px, 1.1vw, 13px); }
.projector .close {
  pointer-events: auto; background: none; border: 1px solid rgba(228,222,209,.4); color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; padding: 9px 14px; cursor: pointer;
}
.projector .close:hover { border-color: var(--red); background: var(--red); color: #fff; }
.projector .flap {
  position: absolute; inset: 0; background: #000; transform-origin: 50% 0;
  animation: rip .5s cubic-bezier(.5,0,.3,1) forwards;
}
@keyframes rip { to { transform: translateY(-100%); } }

/* ── margin notes that follow the cursor ────────────────────────────────── */

.ghost {
  position: fixed; z-index: 880; pointer-events: none; opacity: 0;
  font-family: var(--hand); text-transform: uppercase; font-size: 20px; color: var(--red);
  transition: opacity .45s ease; text-shadow: 0 0 22px rgba(0,0,0,.9); max-width: 210px; line-height: 1.1;
}
.ghost.on { opacity: .92; }

/* ── burger ─────────────────────────────────────────────────────────────── */

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px 0 8px 10px; margin-left: auto; }
.burger i { display: block; width: 26px; height: 2px; background: var(--paper); margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .burger { display: block; }
  nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink2); border-top: 1px solid var(--rule); z-index: 400; }
  nav.open ul { flex-direction: column; gap: 0; margin: 0; }
  nav.open li { border-bottom: 1px solid var(--rule); }
  nav.open a { padding: 15px var(--gut); font-size: 12px; }
  .mast .wrap { position: relative; align-items: center; }
}

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
