/* ============================================================
   Sam Pierstorff — The #NinjaPoet
   Vintage analog paper collage · hand-cut clippings · scrapbook
   ============================================================ */

@font-face {
  font-family: 'Kingthings Extortion';
  src: url("assets/fonts/KingthingsExtortion.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper:   #e8dcc2;   /* aged base paper */
  --paper-2: #f4ecd9;   /* lighter card stock */
  --cream:   #f9f3e4;   /* clean cutout white */
  --kraft:   #b9905f;   /* kraft brown */
  --kraft-2: #a07c4e;   /* darker kraft board */
  --ink:     #2b2520;   /* soft printer's black */
  --red:     #b5402c;   /* faded print red */
  --mustard: #d9a62e;   /* old-ad yellow */
  --teal:    #2f6e62;   /* retro teal */
  --navy:    #33506e;   /* worn navy (ruled lines) */

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 70px);

  --disp: 'Anton', 'Arial Narrow', sans-serif;        /* cut headline letters */
  --type: 'Special Elite', 'Courier New', monospace;  /* typewriter */
  --mark: 'Permanent Marker', cursive;                /* handwriting */
  --body: 'Lora', Georgia, serif;                     /* old magazine body */

  --ease: cubic-bezier(.2,.75,.2,1);

  /* torn paper edge — irregular hand-rip polygon */
  --torn: polygon(0% 0%, 100% 0%, 100% 46%, 99.3% 51%, 98.1% 49%, 97.4% 62%, 96.2% 58%, 95.7% 41%, 94.1% 38%, 93.6% 55%, 92.2% 60%, 90.5% 57%, 89.7% 72%, 88.9% 68%, 87.2% 44%, 85.9% 47%, 85.1% 33%, 83.4% 36%, 82.8% 52%, 81.1% 56%, 80.3% 49%, 78.6% 53%, 77.4% 71%, 76.1% 66%, 75.4% 50%, 73.8% 46%, 72.6% 28%, 71.3% 32%, 70.7% 48%, 69.1% 54%, 67.8% 51%, 66.4% 63%, 65.2% 60%, 63.9% 42%, 62.1% 45%, 61.4% 58%, 59.8% 62%, 58.3% 56%, 57.6% 75%, 56.2% 70%, 54.9% 48%, 53.3% 44%, 52.1% 30%, 50.8% 35%, 49.6% 52%, 48.2% 57%, 46.9% 53%, 45.3% 65%, 44.1% 61%, 42.8% 39%, 41.2% 43%, 39.9% 59%, 38.4% 64%, 37.1% 58%, 35.8% 73%, 34.2% 67%, 33.1% 45%, 31.6% 41%, 30.4% 26%, 29.2% 31%, 27.9% 50%, 26.3% 55%, 25.1% 51%, 23.8% 68%, 22.4% 63%, 21.2% 40%, 19.7% 44%, 18.3% 60%, 17.1% 56%, 15.8% 71%, 14.4% 65%, 13.2% 46%, 11.7% 42%, 10.3% 29%, 9.1% 34%, 7.8% 54%, 6.4% 58%, 5.2% 52%, 3.9% 66%, 2.6% 61%, 1.3% 43%, 0% 49%);

  /* ruled notebook paper */
  --lines: repeating-linear-gradient(transparent 0 25px, rgba(51,80,110,.28) 25px 26px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body {
  font-family: var(--body);
  background-color: var(--paper);
  background-image:
    linear-gradient(color-mix(in srgb, var(--paper) 60%, transparent), color-mix(in srgb, var(--paper) 60%, transparent)),
    url("assets/img/paper-crumpled-2.jpg");
  background-size: auto, 1100px auto;
  background-blend-mode: normal, multiply;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* grainy speckle — thresholded inside the SVG (alpha from luminance),
   no blend modes or CSS filter crushing, so it's Safari-safe */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0.9 0.9 0.9 0 -1.6'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  opacity: .34;
}

/* light speckle on the dark/colored boards — pre-baked white specks at
   plain low opacity */
.lineup::after, .moments::after, .book::after, .foot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  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.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0.9 0.9 0.9 0 -1.6'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  opacity: .32;
}

/* dust & scratches — old film overlay
   (no blend mode: Safari drops element blends on composited pages) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 91; pointer-events: none; opacity: .26;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='430' height='430'><g stroke='%23fff8e7' stroke-width='1'><path d='M58 12v176' opacity='.34'/><path d='M214 120v290' opacity='.22'/><path d='M341 0v152' opacity='.30'/><path d='M395 230v200' opacity='.18'/></g><g fill='%23fff8e7'><circle cx='40' cy='300' r='1.3' opacity='.5'/><circle cx='120' cy='65' r='.9' opacity='.6'/><circle cx='187' cy='350' r='1.6' opacity='.4'/><circle cx='250' cy='200' r='1' opacity='.55'/><circle cx='310' cy='390' r='1.2' opacity='.45'/><circle cx='382' cy='90' r='.8' opacity='.6'/></g><g fill='%232b2520'><circle cx='80' cy='160' r='1.2' opacity='.5'/><circle cx='160' cy='255' r='.9' opacity='.55'/><circle cx='275' cy='40' r='1.4' opacity='.4'/><circle cx='350' cy='310' r='1' opacity='.5'/><path d='M130 380l9 4' stroke='%232b2520' stroke-width='1' opacity='.4'/><path d='M300 140l7 -5' stroke='%232b2520' stroke-width='1' opacity='.45'/></g></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='610' height='610'><g stroke='%23fff8e7'><path d='M101 60v240' stroke-width='1' opacity='.2'/><path d='M488 180v330' stroke-width='1.4' opacity='.16'/></g><g fill='%23fff8e7'><circle cx='220' cy='480' r='1.5' opacity='.45'/><circle cx='420' cy='100' r='1.1' opacity='.5'/><circle cx='555' cy='420' r='.9' opacity='.55'/><circle cx='60' cy='555' r='1.2' opacity='.4'/></g><g fill='%232b2520'><circle cx='330' cy='300' r='1.3' opacity='.45'/><circle cx='150' cy='150' r='1' opacity='.5'/><circle cx='510' cy='560' r='1.5' opacity='.35'/></g></svg>");
  background-size: 430px 430px, 610px 610px;
  background-position: 0 0, 187px 263px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: var(--cream); }

/* ---------- pencil cursor ---------- */
body, a, button, select, label, summary {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><g stroke='%232b2520' stroke-width='1.4' stroke-linejoin='round'><polygon points='3,29 6.5,20.5 11.5,25.5' fill='%23e8dcc2'/><polygon points='3,29 4.6,25.2 6.8,27.4' fill='%232b2520'/><polygon points='6.5,20.5 11.5,25.5 24,13 19,8' fill='%23d9a62e'/><polygon points='19,8 24,13 26.5,10.5 21.5,5.5' fill='%23b5402c'/><polygon points='21.5,5.5 26.5,10.5 29,8 24,3' fill='%23e8a0a8'/></g></svg>") 3 29, auto;
}
input, textarea { cursor: auto; }

/* ---------- red scrollbar, a touch wider ---------- */
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track { background: var(--paper-2); border-left: 1px solid rgba(43,37,32,.15); }
::-webkit-scrollbar-thumb { background: var(--red); border: 3px solid var(--paper-2); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #9c3525; }
@supports (-moz-appearance: none) {
  html { scrollbar-color: var(--red) var(--paper-2); scrollbar-width: auto; }
}

h1,h2,h3 { font-family: var(--disp); font-weight: 400; line-height: .95; letter-spacing: .01em; }

/* ---------- shared scraps & gizmos ---------- */

/* slight hand-placed rotations */
.r-l  { transform: rotate(-2.4deg); }
.r-r  { transform: rotate(2deg); }
.r-l2 { transform: rotate(-1.1deg); }
.r-r2 { transform: rotate(2.9deg); }

/* section label — typewriter on a torn strip */
.tag { display: block; width: fit-content; margin: 0 auto clamp(20px,3vw,32px);
  font-family: var(--type); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem;
  background: var(--cream); color: var(--ink); padding: .55em 1.2em; transform: rotate(-1.5deg);
  box-shadow: 2px 3px 6px rgba(43,37,32,.25);
  clip-path: polygon(1% 8%, 99% 0%, 100% 88%, 2% 100%); }
.tag--onkraft { background: var(--paper-2); }
.tag--onteal { margin-left: 0; background: var(--paper-2); }

/* big section heads */
.h2 { font-size: clamp(2.3rem,6vw,4.4rem); text-transform: uppercase; text-align: center; margin-bottom: clamp(34px,5vw,56px); transform: rotate(-1deg); }
.h2--cream { color: var(--cream); text-shadow: 3px 3px 0 rgba(43,37,32,.35); }
.mark { position: relative; font-family: var(--mark); text-transform: none; color: var(--red); display: inline-block; transform: rotate(-2deg); }
.mark--cream { color: var(--mustard); }
/* hand-drawn marker circle */
.mark::after { content: ""; position: absolute; inset: -12% -9% -18% -7%; border: 3px solid currentColor;
  border-radius: 48% 52% 46% 54% / 62% 44% 58% 40%; transform: rotate(-2.5deg); opacity: .75; pointer-events: none; }

/* handwritten scrawl */
.scrawl { font-family: var(--mark); font-size: clamp(1rem,2vw,1.4rem); display: inline-block; }
.scrawl--a { position: absolute; right: clamp(12px,8vw,120px); top: clamp(90px,12vw,150px); color: var(--paper-2); transform: rotate(6deg); }

/* masking tape */
.tape { position: absolute; width: 86px; height: 26px; background: rgba(229,213,167,.85);
  box-shadow: inset 0 0 6px rgba(43,37,32,.18), 1px 2px 3px rgba(43,37,32,.18); opacity: .95; z-index: 3; }
.tape--top { top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.tape--tl { top: -12px; left: -26px; transform: rotate(-40deg); }
.tape--tr { top: -12px; right: -26px; transform: rotate(40deg); }

/* paperclip */
.clip-fastener { position: absolute; top: -16px; left: 18px; width: 16px; height: 44px; z-index: 3;
  border: 3px solid #8b8478; border-radius: 8px / 12px; border-bottom: 0;
  box-shadow: 1px 1px 2px rgba(43,37,32,.3); background: transparent; }

/* paper-label buttons */
.lbl { display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--type); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem;
  padding: .95em 1.6em; cursor: pointer; border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(43,37,32,.8); transform: rotate(-1deg);
  transition: transform .18s var(--ease), box-shadow .18s;
  clip-path: polygon(0% 6%, 99% 0%, 100% 94%, 1% 100%); }
.lbl:hover { transform: rotate(-1deg) translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(43,37,32,.8); }
.lbl--red { background: var(--red); color: var(--cream); }
.lbl--paper { background: var(--cream); color: var(--ink); }
.lbl--block { width: 100%; }

/* round price-sticker badge */
.badge { display: inline-flex; align-items: center; justify-content: center; text-align: center;
  width: 110px; height: 110px; border-radius: 50%; background: var(--mustard); color: var(--ink);
  font-family: var(--mark); font-size: 1.05rem; line-height: 1.05; transform: rotate(12deg);
  box-shadow: 2px 4px 8px rgba(43,37,32,.35);
  border: 2px dashed rgba(43,37,32,.5); outline: 6px solid var(--mustard); outline-offset: -8px; }

/* ============================================================
   TORN PAPER DIVIDERS
   ============================================================ */
/* torn solid edge, no glow */
.rip { position: absolute; left: 0; right: 0; height: 44px; z-index: 4; pointer-events: none; }
.rip::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 44px;
  background: var(--ripc); clip-path: var(--torn); }
/* fades the section above into the divider color, so paper meets the
   torn edge smoothly instead of on a hard line */
.rip--fadeup::after { content: ""; position: absolute; bottom: calc(100% - 1px); left: 0; right: 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--ripc)); }
.rip--top { top: -1px; }
.rip--bottom { bottom: -1px; transform: scaleY(-1); }
.rip--paper  { --ripc: var(--paper); }
.rip--paper2 { --ripc: var(--paper-2); }
.rip--teal   { --ripc: var(--teal); }

/* ============================================================
   TICKER + NAV
   ============================================================ */
.annc { background: var(--ink); color: var(--paper); overflow: hidden; padding: 8px 0; position: relative; z-index: 30; }
.annc__track { display: inline-flex; white-space: nowrap; gap: 34px; animation: marq 30s linear infinite;
  font-family: var(--type); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
@keyframes marq { from{transform:translateX(0);} to{transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .annc__track{ animation:none; } }

.nav { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between;
  padding: 13px var(--pad); background: var(--paper-2); }
/* torn paper edge hanging under the menu */
.nav::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 22px; margin-top: -1px;
  background: var(--paper-2); clip-path: var(--torn); pointer-events: none; }
/* the brand slot stays small so the bar never grows — the large tag
   hangs out of it, over the torn edge below */
.nav__brand { position: relative; z-index: 2; display: block; height: 48px; width: clamp(120px, 14vw, 170px); }
.nav__brand img { position: absolute; top: 4px; left: 0; height: clamp(84px, 9vw, 116px); width: auto;
  transform: rotate(-2deg); transform-origin: top left;
  filter: drop-shadow(2px 3px 5px rgba(43,37,32,.35));
  transition: height .35s var(--ease), transform .2s var(--ease); }
.nav__brand:hover img { transform: rotate(0deg); }
/* shrinks back into the bar once the page scrolls */
.nav--small .nav__brand img { height: 48px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px,2vw,28px); }
.nav__links a { font-family: var(--type); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.nav__links a:not(.nav__cta):hover { color: var(--red); text-decoration: underline wavy rgba(181,64,44,.6) 2px; }
.nav__cta { background: var(--red); color: var(--cream); padding: .5em 1em; border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(43,37,32,.8); transform: rotate(-1deg);
  clip-path: polygon(0% 8%, 99% 0%, 100% 92%, 1% 100%); transition: transform .15s, box-shadow .15s; }
.nav__cta:hover { transform: rotate(-1deg) translate(-1px,-1px); box-shadow: 4px 4px 0 rgba(43,37,32,.8); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO — full-bleed video under paper cutouts
   ============================================================ */
.vhero { position: relative; overflow: clip; min-height: min(92vh, 880px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(50px,7vw,90px) var(--pad) clamp(90px,10vw,130px); }
.vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: sepia(.5) saturate(.62) contrast(1.18) brightness(.88);
  animation: videoGrade 1.6s ease 2s both; }
.vhero__shade { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, rgba(43,37,32,.18) 0%, rgba(43,37,32,.66) 100%);
  animation: shadeIn 1.6s ease 2s both; }
/* the video opens in full color, then grades to the sepia collage look
   while the name types in */
@keyframes videoGrade {
  from { filter: none; }
  to   { filter: sepia(.5) saturate(.62) contrast(1.18) brightness(.88); }
}
@keyframes shadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.vhero__content { position: relative; z-index: 2; text-align: center; max-width: 900px; }

.vhero__info { margin-bottom: clamp(18px,3vw,30px); }
.vhero__info span { font-family: var(--type); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem;
  background: var(--red); color: var(--cream); padding: .5em 1.1em; display: inline-block; transform: rotate(-.8deg);
  clip-path: polygon(0% 10%, 100% 0%, 99% 90%, 1% 100%); }

/* ransom-note headline */
.ransom { display: flex; flex-direction: column; align-items: center; gap: .12em; }
.ransom__row { display: inline-flex; flex-wrap: wrap; justify-content: center; }
.cut { font-family: 'Kingthings Extortion', var(--disp); font-size: clamp(2.6rem, 9vw, 6.2rem); line-height: 1.08; padding: .02em .12em; margin: .03em .02em;
  box-shadow: 2px 3px 7px rgba(43,37,32,.4); }
/* the long row runs smaller so PIERSTORFF stays on one line */
.ransom__row:nth-child(2) .cut { font-size: clamp(1.9rem, 6.2vw, 4.6rem); }
.cut:nth-child(5n+1) { background: var(--cream); color: var(--ink); transform: rotate(-2.4deg); }
.cut:nth-child(5n+2) { background: var(--red); color: var(--cream); transform: rotate(1.8deg) translateY(2px); }
.cut:nth-child(5n+3) { background: var(--ink); color: var(--paper); transform: rotate(-1.1deg); }
.cut:nth-child(5n+4) { background: var(--mustard); color: var(--ink); transform: rotate(2.6deg) translateY(-2px); }
.cut:nth-child(5n+5) { background: var(--teal); color: var(--cream); transform: rotate(-2deg) translateY(1px); }

.vhero__sub { font-family: var(--type); font-size: clamp(.95rem,1.8vw,1.2rem); max-width: 44ch;
  margin: clamp(22px,3vw,34px) auto 0; background: var(--paper-2); color: var(--ink); padding: .9em 1.3em;
  transform: rotate(-.6deg); box-shadow: 2px 4px 8px rgba(43,37,32,.35);
  clip-path: polygon(0% 6%, 99.5% 0%, 100% 92%, .5% 100%); }
.vhero__sub b { color: var(--red); }
.vhero__sub em { font-style: normal; background: var(--mustard); padding: 0 .25em; }

.badge--hero { position: absolute; top: clamp(-10px,1vw,10px); right: clamp(-6px,4vw,40px); z-index: 3; }

.vhero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: clamp(26px,4vw,40px); }

/* ---------- hero intro — video plays alone for 2s, then the name
   stamps in letter by letter like a typewriter, then the rest ---------- */
@keyframes heroFade {
  from { opacity: 0; translate: 0 16px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes badgeIn {
  0%   { opacity: 0; scale: 2.2; }
  70%  { opacity: 1; scale: .92; }
  100% { opacity: 1; scale: 1; }
}
@keyframes typeIn {
  0%   { opacity: 0; scale: 1.7; }
  60%  { opacity: 1; scale: .94; }
  100% { opacity: 1; scale: 1; }
}
.cut { animation: typeIn .26s ease-out both; }
.ransom__row:nth-child(1) .cut:nth-child(1) { animation-delay: 2s; }
.ransom__row:nth-child(1) .cut:nth-child(2) { animation-delay: 2.14s; }
.ransom__row:nth-child(1) .cut:nth-child(3) { animation-delay: 2.28s; }
.ransom__row:nth-child(2) .cut:nth-child(1)  { animation-delay: 2.56s; }
.ransom__row:nth-child(2) .cut:nth-child(2)  { animation-delay: 2.68s; }
.ransom__row:nth-child(2) .cut:nth-child(3)  { animation-delay: 2.80s; }
.ransom__row:nth-child(2) .cut:nth-child(4)  { animation-delay: 2.92s; }
.ransom__row:nth-child(2) .cut:nth-child(5)  { animation-delay: 3.04s; }
.ransom__row:nth-child(2) .cut:nth-child(6)  { animation-delay: 3.16s; }
.ransom__row:nth-child(2) .cut:nth-child(7)  { animation-delay: 3.28s; }
.ransom__row:nth-child(2) .cut:nth-child(8)  { animation-delay: 3.40s; }
.ransom__row:nth-child(2) .cut:nth-child(9)  { animation-delay: 3.52s; }
.ransom__row:nth-child(2) .cut:nth-child(10) { animation-delay: 3.64s; }
.vhero__info  { animation: heroFade .7s var(--ease) 4s both; }
.vhero__sub   { animation: heroFade .7s var(--ease) 4.3s both; }
.badge--hero  { animation: badgeIn .5s var(--ease) 4.7s both; }
.vhero__cta   { animation: heroFade .7s var(--ease) 4.9s both; }

@media (prefers-reduced-motion: reduce) {
  .cut, .vhero__info, .vhero__sub, .badge--hero, .vhero__cta { animation: none; opacity: 1; }
  .vhero__video, .vhero__shade { animation: none; }
}

/* ============================================================
   CUTOUT ELEMENTS — scattered paper clippings
   ============================================================ */
.ce { position: absolute; z-index: 6; pointer-events: none;
  filter: drop-shadow(3px 5px 7px rgba(43,37,32,.4));
  will-change: translate, rotate; }

/* cutout motion — individual translate/rotate compose on top of each
   piece's static transform, so every clipping keeps its hand-placed tilt */
@keyframes ce-bob {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -9px; rotate: 1.8deg; }
}
@keyframes ce-sway {
  0%, 100% { rotate: -3deg; }
  50% { rotate: 3.2deg; }
}
@keyframes ce-wobble {
  0%, 100% { rotate: -1.6deg; translate: 0 0; }
  50% { rotate: 1.6deg; translate: 0 -4px; }
}
@keyframes ce-drift {
  0%, 100% { translate: 0 0; }
  25% { translate: 5px -6px; }
  50% { translate: -3px -10px; }
  75% { translate: -6px -3px; }
}
@keyframes ce-flutter {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  20% { translate: 9px -11px; rotate: 4deg; }
  45% { translate: -6px -17px; rotate: -5deg; }
  70% { translate: -13px -5px; rotate: 3deg; }
}

.ce--samfull   { animation: ce-bob 8.2s ease-in-out 1.1s infinite; }
.ce--books     { animation: ce-wobble 6.4s ease-in-out .3s infinite; }
.ce--brain     { animation: ce-drift 9.5s ease-in-out infinite; }
.ce--bubbles   { animation: ce-sway 5.6s ease-in-out infinite; transform-origin: top center; }
.ce--obstacles { animation: ce-bob 7.6s ease-in-out .9s infinite; }
.ce--laurel    { animation: ce-sway 6.2s ease-in-out .4s infinite; transform-origin: top center; }
.ce--ribbon    { animation: ce-wobble 5s ease-in-out infinite; }
.ce--antenna   { animation: ce-sway 4.6s ease-in-out infinite; transform-origin: bottom center; }
.ce--crt       { animation: ce-bob 8.4s ease-in-out .5s infinite; }
.ce--polaroid  { animation: ce-wobble 5.8s ease-in-out 1.3s infinite; }
.ce--arch      { animation: ce-bob 11s ease-in-out infinite; }
.ce--marquee   { animation: ce-bob 8.8s ease-in-out 1.6s infinite; }
.ce--paperboy  { animation: ce-wobble 6.6s ease-in-out .2s infinite; }
.ce--scorecards{ animation: ce-sway 4.4s ease-in-out infinite; transform-origin: bottom center; }
.ce--bee       { animation: ce-flutter 7.5s ease-in-out infinite; }
.ce--shoes     { animation: ce-wobble 6.9s ease-in-out .8s infinite; }
.ce--sammic    { animation: ce-bob 7.3s ease-in-out .6s infinite; }
.ce--coffee    { animation: ce-drift 8.6s ease-in-out 1s infinite; }
.ce--sandwich  { animation: ce-wobble 5.2s ease-in-out 1.8s infinite; }
.ce--cassette  { animation: ce-bob 6.6s ease-in-out .4s infinite; }
.ce--vinyl     { animation: ce-drift 8.2s ease-in-out .9s infinite; }
.ce--chalkboard{ animation: ce-wobble 6.1s ease-in-out .5s infinite; }
.ce--theater   { animation: ce-bob 7.9s ease-in-out .3s infinite; }
.ce--pennant   { animation: ce-sway 5.9s ease-in-out infinite; transform-origin: top center; }
.ce--diploma   { animation: ce-wobble 6.3s ease-in-out 1.2s infinite; }
.ce--blocks    { animation: ce-bob 7.1s ease-in-out .8s infinite; }
.ce--msign     { animation: ce-wobble 6.7s ease-in-out .1s infinite; }
.ce--journals  { animation: ce-bob 7.7s ease-in-out 1.4s infinite; }
.ce--oak       { animation: ce-sway 6.5s ease-in-out .6s infinite; transform-origin: bottom center; }
.ce--valley    { animation: ce-drift 9.2s ease-in-out .7s infinite; }
.ce--tickets   { animation: ce-wobble 5.7s ease-in-out .4s infinite; }
.ce--sam04     { animation: ce-bob 7.8s ease-in-out 1.2s infinite; }
.ce--lion      { animation: ce-wobble 6.4s ease-in-out .9s infinite; }
.ce--micreel   { animation: ce-sway 5.3s ease-in-out .2s infinite; transform-origin: bottom center; }
.ce--statetheatre { animation: ce-wobble 6.8s ease-in-out 1.5s infinite; }
.ce--gallo     { animation: ce-bob 8.6s ease-in-out .3s infinite; }
.ce--soil      { animation: ce-bob 7.4s ease-in-out 1.7s infinite; }
.ce--mchenry   { animation: ce-wobble 6.2s ease-in-out .6s infinite; }
.ce--scraps    { animation: ce-drift 8.8s ease-in-out 1.1s infinite; }

@media (prefers-reduced-motion: reduce) {
  .ce { animation: none !important; }
}

/* the show */
.ce--samfull { right: clamp(-10px,1.5vw,30px); top: clamp(40px,8vw,90px); width: clamp(120px,15vw,210px); transform: rotate(4deg); }
.ce--books { left: clamp(-24px,.5vw,20px); bottom: -30px; width: clamp(110px,13vw,180px); transform: rotate(-8deg); }
.ce--chalkboard { left: clamp(-20px,1vw,30px); top: clamp(150px,20vw,250px); width: clamp(110px,13vw,190px); transform: rotate(-7deg); }
.ce--valley { left: clamp(-18px,1vw,40px); top: clamp(36px,5vw,80px); width: clamp(105px,12vw,170px); transform: rotate(-4deg); }
.ce--tickets { right: clamp(-20px,1vw,40px); bottom: -28px; width: clamp(105px,12vw,170px); transform: rotate(-7deg); }
.scrawl--show { position: absolute; right: clamp(120px,16vw,250px); top: clamp(30px,6vw,70px); color: var(--red); transform: rotate(-4deg); }

/* lineup */
.ce--brain { left: clamp(-20px,2vw,70px); top: clamp(90px,14vw,170px); width: clamp(120px,14vw,200px); transform: rotate(-6deg); }
.ce--bubbles { right: clamp(-16px,2vw,60px); bottom: clamp(60px,10vw,130px); width: clamp(130px,15vw,210px); transform: rotate(5deg); }
.ce--obstacles { left: clamp(-18px,3vw,90px); bottom: -34px; width: clamp(120px,14vw,200px); transform: rotate(-5deg); z-index: 6; }
.ce--theater { right: clamp(-20px,2vw,60px); top: clamp(70px,10vw,150px); width: clamp(110px,13vw,190px); transform: rotate(6deg); }
.ce--sam04 { right: 12%; bottom: -30px; width: clamp(100px,12vw,170px); transform: rotate(3deg); z-index: 6; }

/* stamps */
.ce--laurel { left: clamp(-18px,2vw,70px); top: -34px; width: clamp(100px,12vw,160px); transform: rotate(-10deg); }
.ce--ribbon { right: clamp(-14px,2vw,70px); bottom: -30px; width: clamp(90px,10vw,140px); transform: rotate(9deg); }
.ce--pennant { right: clamp(30px,9vw,170px); top: -26px; width: clamp(110px,13vw,180px); transform: rotate(8deg); }
.ce--diploma { left: clamp(30px,8vw,150px); bottom: -26px; width: clamp(90px,11vw,150px); transform: rotate(-7deg); }
.ce--lion { left: 24%; top: -34px; width: clamp(95px,11vw,150px); transform: rotate(-5deg); }

/* reel */
.ce--antenna { top: clamp(-72px,-6vw,-90px); right: 6%; width: clamp(110px,14vw,180px); transform: rotate(3deg); z-index: 1; }
.ce--crt { left: clamp(-26px,1vw,50px); bottom: -36px; width: clamp(130px,16vw,220px); transform: rotate(-5deg); }
.ce--polaroid { right: clamp(-20px,1.5vw,50px); bottom: 60px; width: clamp(100px,12vw,170px); transform: rotate(7deg); }
.ce--blocks { left: clamp(-16px,2vw,60px); top: clamp(70px,8vw,120px); width: clamp(110px,14vw,190px); transform: rotate(-6deg); }
.ce--micreel { right: clamp(-16px,1.5vw,50px); top: clamp(140px,17vw,240px); width: clamp(85px,10vw,140px); transform: rotate(6deg); }
.ce--statetheatre { left: clamp(-20px,1.5vw,50px); top: clamp(200px,26vw,360px); width: clamp(105px,12vw,180px); transform: rotate(-5deg); }

/* moments */
.ce--arch { left: 50%; top: -54px; width: clamp(220px,30vw,420px); transform: translateX(-50%) rotate(-1.5deg); z-index: 1; }
.ce--marquee { left: clamp(-26px,.5vw,30px); bottom: -40px; width: clamp(140px,17vw,240px); transform: rotate(-6deg); }
.ce--paperboy { right: clamp(-18px,1vw,40px); top: clamp(120px,18vw,220px); width: clamp(100px,12vw,170px); transform: rotate(5deg); }
.ce--msign { left: clamp(-14px,2vw,60px); top: clamp(46px,7vw,100px); width: clamp(100px,12vw,170px); transform: rotate(-8deg); }
.ce--gallo { right: clamp(-20px,1.5vw,50px); bottom: clamp(40px,6vw,90px); width: clamp(120px,14vw,200px); transform: rotate(4deg); }

/* says */
.ce--scorecards { right: clamp(-26px,.5vw,16px); top: clamp(24px,4vw,56px); width: clamp(105px,12vw,165px); transform: rotate(8deg); }
.ce--bee { left: clamp(-24px,.5vw,20px); bottom: -16px; width: clamp(100px,11vw,160px); transform: rotate(-7deg); }
.ce--shoes { right: clamp(-18px,2vw,70px); bottom: -28px; width: clamp(95px,10vw,140px); transform: rotate(6deg); }
.ce--journals { left: clamp(-18px,1vw,40px); top: clamp(40px,6vw,90px); width: clamp(100px,12vw,170px); transform: rotate(-6deg); }
.ce--soil { left: 46%; bottom: -34px; width: clamp(100px,12vw,170px); transform: rotate(4deg); z-index: 6; }

/* book */
.ce--sammic { left: clamp(-20px,1vw,40px); bottom: -30px; width: clamp(140px,17vw,240px); transform: rotate(-4deg); }
.ce--coffee { left: clamp(200px,26vw,420px); bottom: -26px; width: clamp(90px,10vw,140px); transform: rotate(8deg); }
.ce--sandwich { right: clamp(-22px,1vw,40px); top: -20px; width: clamp(110px,13vw,180px); transform: rotate(-9deg); }
.ce--oak { right: clamp(-16px,2vw,70px); bottom: -30px; width: clamp(110px,13vw,190px); transform: rotate(7deg); }
.ce--mchenry { left: 34%; bottom: -30px; width: clamp(95px,11vw,160px); transform: rotate(3deg); z-index: 6; }
.ce--scraps { left: 26%; top: -28px; width: clamp(95px,11vw,150px); transform: rotate(-6deg); z-index: 6; }

/* footer */
.ce--cassette { left: clamp(-20px,3vw,90px); top: clamp(70px,10vw,140px); width: clamp(110px,13vw,180px); transform: rotate(-8deg); }
.ce--vinyl { right: clamp(-20px,3vw,90px); top: clamp(60px,9vw,130px); width: clamp(120px,14vw,200px); transform: rotate(10deg); }

/* ============================================================
   CREDIBILITY STRIP — kraft tape band
   ============================================================ */
.cred { overflow: hidden; padding: 13px 0; background: var(--kraft); border-top: 2px solid rgba(43,37,32,.5); border-bottom: 2px solid rgba(43,37,32,.5);
  box-shadow: inset 0 0 18px rgba(43,37,32,.18); }
.cred__track { display: inline-flex; align-items: center; white-space: nowrap; gap: 26px; animation: marq 34s linear infinite;
  font-family: var(--type); text-transform: uppercase; letter-spacing: .1em; font-size: clamp(.85rem,1.6vw,1.05rem); color: var(--ink); }
.cred__track i { font-style: normal; color: var(--paper-2); }
@media (prefers-reduced-motion: reduce){ .cred__track{ animation:none; } }

/* ============================================================
   THE SHOW — taped scrap cards
   ============================================================ */
.show { position: relative; padding: clamp(60px,8vw,110px) var(--pad); text-align: center; }
/* halftone burst */
.show::before { content: ""; position: absolute; left: -90px; top: 40px; width: 360px; height: 360px; pointer-events: none;
  background-image: radial-gradient(var(--ink) 1.6px, transparent 1.8px); background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 66%); mask-image: radial-gradient(circle, #000 0%, transparent 66%);
  opacity: .22; }
.clips { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,2.5vw,28px); }
.clipcard { position: relative; text-align: left; padding: 30px 22px 52px; color: var(--ink);
  box-shadow: 3px 5px 12px rgba(43,37,32,.28);
  clip-path: polygon(.5% 1.5%, 99% 0%, 100% 98%, 1% 100%);
  transition: transform .2s var(--ease); }
.clipcard:hover { transform: rotate(0deg) translateY(-6px); }
.clipcard--lined { background: var(--cream); background-image: var(--lines); }
.clipcard--kraft { background: var(--kraft); }
.clipcard--cream { background: var(--paper-2); }
.clipcard__no { font-family: var(--mark); font-size: 2rem; color: var(--red); display: block; margin-bottom: 4px; }
.clipcard h3 { font-family: var(--disp); font-size: clamp(1.25rem,2vw,1.6rem); text-transform: uppercase; margin-bottom: .45em; }
.clipcard p { font-size: .95rem; }
.clipcard__tag { position: absolute; bottom: 16px; left: 22px; font-family: var(--type); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; opacity: .8; }

/* ============================================================
   THE LINEUP — headline clippings on kraft board
   ============================================================ */
.lineup { position: relative; background-color: var(--kraft-2);
  background-image:
    linear-gradient(color-mix(in srgb, var(--kraft-2) 58%, transparent), color-mix(in srgb, var(--kraft-2) 58%, transparent)),
    url("assets/img/paper-crumpled-1.jpg");
  background-size: auto, 1200px auto; background-blend-mode: normal, multiply;
  padding: clamp(80px,10vw,130px) var(--pad); text-align: center;
  box-shadow: inset 0 0 60px rgba(43,37,32,.25); }
.strips { max-width: 860px; margin: 0 auto; list-style: none; display: grid; gap: clamp(16px,2.4vw,24px); }
.strip a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .2em 1em;
  background: var(--cream); color: var(--ink); padding: clamp(14px,2.4vw,22px) clamp(16px,3vw,34px);
  box-shadow: 3px 5px 12px rgba(43,37,32,.35);
  clip-path: polygon(0% 10%, 99.6% 0%, 100% 86%, .4% 100%);
  transition: transform .18s var(--ease), background .18s; }
.strip:nth-child(even) a { clip-path: polygon(.4% 0%, 100% 8%, 99.6% 100%, 0% 92%); }
.strip a:hover { transform: scale(1.02) rotate(0deg); background: var(--mustard); }
.strip__name { font-family: var(--disp); text-transform: uppercase; font-size: clamp(1.5rem,4.6vw,2.9rem); }
.strip__meta { font-family: var(--type); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--red); }
.strips__more { max-width: 64ch; margin: clamp(26px,3.4vw,42px) auto 0; font-family: var(--mark);
  font-size: clamp(.95rem,1.8vw,1.15rem); color: var(--paper-2); transform: rotate(-.6deg); }

/* ============================================================
   STAMPS — by the numbers as postage stamps
   ============================================================ */
.stamps { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px,3vw,36px);
  padding: clamp(56px,8vw,100px) var(--pad); background-color: var(--paper);
  background-image:
    linear-gradient(color-mix(in srgb, var(--paper) 60%, transparent), color-mix(in srgb, var(--paper) 60%, transparent)),
    url("assets/img/paper-crumpled-2.jpg");
  background-size: auto, 900px auto; background-position: 0 0, 20% 60%; background-blend-mode: normal, multiply; }
.stamps::after { content: ""; position: absolute; right: -70px; top: -40px; width: 300px; height: 300px; pointer-events: none;
  background-image: radial-gradient(var(--red) 1.5px, transparent 1.7px); background-size: 10px 10px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 66%); mask-image: radial-gradient(circle, #000 0%, transparent 66%);
  opacity: .2; }
.stamp { background: radial-gradient(circle, transparent 5.5px, var(--cream) 6px); background-size: 19px 19px; background-position: -9.5px -9.5px;
  padding: 13px; filter: drop-shadow(2px 4px 5px rgba(43,37,32,.3)); }
.stamp__in { border: 2px solid var(--ink); padding: 20px 26px 14px; text-align: center; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; min-width: 170px; }
.stamp__in--red { background: #f3ddd5; }
.stamp__in--teal { background: #dcebe2; }
.stat__num { font-family: var(--disp); font-size: clamp(2.4rem,6vw,4rem); line-height: 1; color: var(--red); }
.stamp__in--teal .stat__num { color: var(--teal); }
.stamp__cap { font-family: var(--type); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; margin-top: 6px; }
.stamp__post { font-family: var(--type); font-size: .58rem; text-transform: uppercase; letter-spacing: .2em; opacity: .55; margin-top: 10px;
  border-top: 1px dashed rgba(43,37,32,.4); padding-top: 6px; width: 100%; }

/* ============================================================
   THE REEL — taped paper frame
   ============================================================ */
.reel { position: relative; padding: clamp(90px,10vw,130px) var(--pad) clamp(70px,9vw,120px); text-align: center; background-color: var(--paper-2);
  background-image:
    radial-gradient(rgba(43,37,32,.09) 1.5px, transparent 1.9px),
    linear-gradient(color-mix(in srgb, var(--paper-2) 60%, transparent), color-mix(in srgb, var(--paper-2) 60%, transparent)),
    url("assets/img/paper-crumpled-2.jpg");
  background-size: 14px 14px, auto, 1100px auto; background-blend-mode: normal, normal, multiply; }
.reel::before { content: ""; position: absolute; right: 4%; top: 60px; width: 320px; height: 320px; pointer-events: none;
  background-image: radial-gradient(var(--teal) 1.6px, transparent 1.8px); background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 66%); mask-image: radial-gradient(circle, #000 0%, transparent 66%);
  opacity: .3; }
.reel__frame { position: relative; max-width: 920px; margin: 0 auto; background: var(--cream); padding: clamp(12px,2vw,18px) clamp(12px,2vw,18px) 8px;
  box-shadow: 4px 7px 18px rgba(43,37,32,.35); }
.reel__frame iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #000; }
.reel__cap { font-family: var(--mark); font-size: 1.05rem; color: var(--red); padding: 10px 4px 6px; text-align: right; }

/* ============================================================
   MOMENTS — scrapbook wall on kraft
   ============================================================ */
.moments { position: relative; background-color: var(--kraft);
  background-image:
    linear-gradient(color-mix(in srgb, var(--kraft) 58%, transparent), color-mix(in srgb, var(--kraft) 58%, transparent)),
    url("assets/img/paper-crumpled-2.jpg");
  background-size: auto, 1300px auto; background-position: 0 0, 40% 20%; background-blend-mode: normal, multiply;
  padding: clamp(80px,10vw,130px) var(--pad); text-align: center;
  box-shadow: inset 0 0 60px rgba(43,37,32,.22); }
.wall { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,3vw,38px); }
.pic { position: relative; background: var(--cream); padding: 10px 10px 6px;
  box-shadow: 3px 6px 14px rgba(43,37,32,.4); transition: transform .25s var(--ease); }
/* duotone via filters only — element blend modes are unreliable in Safari */
.pic img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: filter .3s; }
.wall .pic:nth-child(4n+1) img { filter: grayscale(1) sepia(1) hue-rotate(120deg) saturate(.55) contrast(1.08) brightness(.95); }
.wall .pic:nth-child(4n+2) img { filter: grayscale(1) sepia(1) hue-rotate(-35deg) saturate(1.5) contrast(1.08) brightness(.92); }
.wall .pic:nth-child(4n+3) img { filter: grayscale(1) sepia(1) hue-rotate(165deg) saturate(.7) contrast(1.08) brightness(.9); }
.wall .pic:nth-child(4n+4) img { filter: grayscale(1) sepia(1) hue-rotate(-8deg) saturate(1.2) contrast(1.05); }
.pic figcaption { font-family: var(--mark); font-size: .98rem; color: var(--ink); padding: 8px 4px 4px; }
.pic:hover { transform: rotate(0deg) scale(1.05); z-index: 5; }
.pic:hover img { filter: none; }

/* ============================================================
   SAYS — quotes on scraps
   ============================================================ */
.says { position: relative; padding: clamp(56px,8vw,110px) var(--pad) clamp(70px,9vw,120px); text-align: center; background-color: var(--paper);
  background-image:
    linear-gradient(color-mix(in srgb, var(--paper) 60%, transparent), color-mix(in srgb, var(--paper) 60%, transparent)),
    url("assets/img/paper-crumpled-1.jpg");
  background-size: auto, 1000px auto; background-position: 0 0, 60% 30%; background-blend-mode: normal, multiply; }
.says::before { content: ""; position: absolute; left: -80px; bottom: 30px; width: 320px; height: 320px; pointer-events: none;
  background-image: radial-gradient(var(--mustard) 1.8px, transparent 2px); background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 66%); mask-image: radial-gradient(circle, #000 0%, transparent 66%);
  opacity: .35; }
.notes { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,30px); align-items: start; }
.note { position: relative; padding: 30px 26px 24px; text-align: left; color: var(--ink);
  box-shadow: 3px 5px 12px rgba(43,37,32,.28);
  clip-path: polygon(1% 2%, 99% 0%, 100% 97%, 0% 100%); }
.note--lined { background: var(--cream); background-image: var(--lines); }
.note--cream { background: var(--paper-2); }
.note--kraft { background: var(--kraft); }
.note p { font-family: var(--body); font-style: italic; font-size: 1.12rem; line-height: 1.5; }
.note cite { display: block; margin-top: 1.1em; font-family: var(--type); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-style: normal; color: var(--red); }
.note--kraft cite { color: var(--ink); }
.says__note { margin-top: 2.4em; font-style: italic; font-size: .85rem; opacity: .55; }

/* ============================================================
   BOOK — manila desk + clipboard form
   ============================================================ */
.book { position: relative; background-color: var(--teal); color: var(--paper-2);
  background-image:
    linear-gradient(color-mix(in srgb, var(--teal) 58%, transparent), color-mix(in srgb, var(--teal) 58%, transparent)),
    url("assets/img/paper-crumpled-1.jpg");
  background-size: auto, 1200px auto; background-position: 0 0, 70% 0; background-blend-mode: normal, multiply;
  padding: clamp(86px,11vw,140px) var(--pad) clamp(70px,9vw,120px);
  box-shadow: inset 0 0 70px rgba(43,37,32,.3); }
.book__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px,5vw,64px); align-items: start; }
.book__copy { text-align: left; }
.book__copy .h2 { text-align: left; }
.book__lead { font-size: 1.05rem; max-width: 42ch; }
.postmark { display: inline-flex; align-items: center; justify-content: center; width: 130px; height: 130px; margin-top: 26px;
  border: 2.5px solid rgba(244,236,217,.65); border-radius: 50%; transform: rotate(-8deg); padding: 14px; text-align: center;
  font-family: var(--type); text-transform: uppercase; font-size: .6rem; letter-spacing: .16em; line-height: 1.5; color: rgba(244,236,217,.75);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='0.18' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.85 0.15'/></filter><rect width='60' height='60' filter='url(%23r)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='0.18' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.85 0.15'/></filter><rect width='60' height='60' filter='url(%23r)'/></svg>"); }
.book__contact { list-style: none; margin-top: 1.6em; display: grid; gap: 12px; max-width: 420px; }
.book__contact li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; padding-bottom: 11px; border-bottom: 1px dashed rgba(244,236,217,.45); }
.book__contact span { font-family: var(--type); text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; opacity: .8; }
.book__contact a, .book__contact li { font-family: var(--type); font-size: .92rem; }
.book__contact a:hover { color: var(--mustard); }

/* clipboard form */
.ticket { position: relative; background: var(--cream); color: var(--ink); border: 0; padding: clamp(34px,4vw,44px) clamp(20px,3vw,32px) clamp(20px,3vw,28px);
  background-image: var(--lines); box-shadow: 5px 8px 20px rgba(43,37,32,.45); }
.ticket__clip { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px;
  background: #9a917f; border: 2px solid #6e6657; border-radius: 8px 8px 3px 3px; box-shadow: 0 3px 5px rgba(43,37,32,.4); }
.ticket__clip::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px;
  border-radius: 50%; border: 6px solid #6e6657; background: transparent; }
.ticket__head { font-family: var(--type); text-transform: uppercase; letter-spacing: .12em; text-align: center; font-size: 1rem;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px dashed rgba(43,37,32,.35); }
.field { display: flex; flex-direction: column; margin-bottom: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field label { font-family: var(--type); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { background: rgba(255,255,255,.72); border: 0; border-bottom: 2px solid var(--ink);
  padding: .7em .7em; font-family: var(--type); font-size: .95rem; color: var(--ink); border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-bottom-color: var(--red); }
.field textarea { resize: vertical; }
.ticket__note { text-align: center; margin-top: 1em; font-family: var(--type); font-size: .78rem; }
.ticket__note a { color: var(--red); }

/* ============================================================
   FOOTER — ink board with paper scraps
   ============================================================ */
.foot { position: relative; background-color: var(--ink); color: var(--paper);
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 45%, transparent), color-mix(in srgb, var(--ink) 45%, transparent)),
    url("assets/img/paper-crumpled-1.jpg");
  background-size: auto, 1200px auto; background-blend-mode: normal, soft-light;
  padding: clamp(86px,11vw,140px) var(--pad) 0; box-shadow: inset 0 0 80px rgba(0,0,0,.4); }

.foot__cta { text-align: center; max-width: var(--maxw); margin: 0 auto; padding-bottom: clamp(40px,6vw,70px); }
.foot__big { display: flex; flex-wrap: wrap; justify-content: center; gap: .35em; }
.cutw { font-family: var(--disp); text-transform: uppercase; font-size: clamp(1.7rem,4.6vw,3.4rem); padding: .06em .25em;
  box-shadow: 2px 3px 8px rgba(0,0,0,.45); }
.cutw--paper { background: var(--paper-2); color: var(--ink); transform: rotate(-2deg); }
.cutw--red { background: var(--red); color: var(--cream); transform: rotate(1.4deg); }
.cutw--kraft { background: var(--kraft); color: var(--ink); transform: rotate(-1deg); }
.foot__tag { font-family: var(--mark); font-size: clamp(1rem,2vw,1.4rem); color: var(--mustard); margin: 1em 0 1.5em; transform: rotate(-.6deg); }

.foot__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,56px);
  padding: clamp(36px,5vw,60px) 0; border-top: 2px dashed rgba(244,236,217,.25); text-align: left; }
.foot__brand p { font-family: var(--body); font-size: .92rem; opacity: .85; max-width: 32ch; }
.foot__logo { height: 140px; width: 140px; object-fit: contain; margin-bottom: 16px; }
.foot__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.foot__social a { font-family: var(--type); text-transform: uppercase; letter-spacing: .08em; font-size: .66rem;
  background: var(--paper-2); color: var(--ink); padding: .55em 1em; box-shadow: 2px 2px 0 rgba(0,0,0,.5);
  clip-path: polygon(0% 10%, 99% 0%, 100% 90%, 1% 100%); transition: background .2s, transform .2s; }
.foot__social a:nth-child(1) { transform: rotate(-1.4deg); }
.foot__social a:nth-child(2) { transform: rotate(1deg); }
.foot__social a:nth-child(3) { transform: rotate(-.6deg); }
.foot__social a:hover { background: var(--mustard); transform: rotate(0deg) translateY(-2px); }

.foot__col { display: flex; flex-direction: column; gap: 11px; }
.foot__head { display: inline-block; width: fit-content; font-family: var(--type); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem;
  background: var(--mustard); color: var(--ink); padding: .4em .9em; transform: rotate(-1.2deg); margin-bottom: 6px;
  clip-path: polygon(0% 10%, 99% 0%, 100% 90%, 1% 100%); }
.foot__col a, .foot__col span { font-family: var(--type); font-size: .85rem; opacity: .85; width: fit-content; }
.foot__col span { opacity: .55; }
.foot__col a:hover { opacity: 1; color: var(--mustard); text-decoration: underline wavy rgba(217,166,46,.5) 2px; }

.foot__bar { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding: 20px 0 26px; border-top: 2px dashed rgba(244,236,217,.25); font-family: var(--type); font-size: .72rem; }
.foot__bar p { opacity: .6; }
.foot__bar-mid { text-transform: uppercase; letter-spacing: .14em; color: var(--mustard); }
.foot__bar .foot__bar-mid { opacity: .9; }
.foot__top { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem;
  background: var(--paper-2); color: var(--ink); padding: .5em 1em; box-shadow: 2px 2px 0 rgba(0,0,0,.5);
  clip-path: polygon(0% 10%, 99% 0%, 100% 90%, 1% 100%); transition: background .2s; }
.foot__top:hover { background: var(--red); color: var(--cream); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .clips { grid-template-columns: repeat(2,1fr); }
  .notes { grid-template-columns: 1fr; max-width: 560px; }
  .wall { grid-template-columns: repeat(3,1fr); }
  .book__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(80vw,300px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 40px;
    background: var(--paper-2); border-left: 2px solid var(--ink); box-shadow: -6px 0 20px rgba(43,37,32,.3);
    transform: translateX(105%); transition: transform .3s var(--ease); }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.05rem; }
  .nav__toggle { display: flex; z-index: 26; }
  .wall { grid-template-columns: repeat(2,1fr); }
  /* lift the badge into the open video area so it can't cover the info strip */
  .badge--hero { width: 74px; height: 74px; font-size: .72rem; right: -6px; top: -58px; }
  .moments { padding-top: 150px; }
  .ce--arch { top: -44px; }
  .scrawl--a, .scrawl--show { display: none; }
  /* on small screens keep only the anchor cutouts */
  .ce { display: none; }
  .ce--arch, .ce--antenna, .ce--sammic { display: block; }
  .ce--arch { width: 230px; }
}
@media (max-width: 460px) {
  .clips { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .wall { grid-template-columns: 1fr 1fr; }
  .stamps { gap: 14px; }
  .stamp__in { min-width: 128px; padding: 14px 16px 10px; }
  .count__clock { gap: 10px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bar { justify-content: center; text-align: center; }
  .rip { height: 30px; }
  .rip::before { height: 30px; }
}
