/* ==========================================================================
   COMEDIC CODY — "PAPER" DESIGN SYSTEM  (Nov 2026 redesign)
   White paper, big red words, tape, torn strips, marker.
   Source of truth for tokens + shared components. Section CSS lives in
   assets/paper/s-*.css and must only use these tokens (no new colors/fonts).
   ========================================================================== */

:root {
  /* color */
  --pp-paper: #f3f2ee;          /* page */
  --pp-paper-hi: #fbfaf7;       /* torn white strips, photo borders, cards */
  --pp-kraft: #e8e4d9;          /* list strips, tags, tape-ish paper */
  --pp-kraft-deep: #d9d3c3;
  --pp-red: #c3111d;            /* THE red */
  --pp-red-deep: #9c0c16;       /* hover / pressed */
  --pp-ink: #141414;            /* text, marker */
  --pp-ink-soft: #4b4a47;       /* body copy */
  --pp-ink-faint: #8b8983;      /* meta */
  --pp-line: rgba(20,20,20,.16);
  --pp-tape: rgba(226,217,190,.78);

  /* type */
  /* fallbacks: a condensed bold face on iOS / Android while Anton is still loading, so edge-to-edge words stay close to size */
  --pp-f-display: 'Anton', 'Arial Narrow', Impact, 'HelveticaNeue-CondensedBold', 'sans-serif-condensed', sans-serif;      /* giant red words */
  --pp-f-marker: 'Permanent Marker', 'Marker Felt', cursive;          /* hand-inked titles + notes */
  --pp-f-script: 'Yellowtail', 'Brush Script MT', cursive;            /* "Comedic Cody" */
  --pp-f-body: 'Montserrat', system-ui, -apple-system, sans-serif;    /* everything else */

  /* rhythm */
  --pp-gutter: clamp(18px, 4vw, 56px);
  /* viewport-fit=cover is on: keep content out from under the notch in landscape */
  --pp-gutter: max(clamp(18px, 4vw, 56px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --pp-max: 1240px;
  --pp-section: clamp(72px, 11vw, 160px);

  /* motion */
  --pp-ease: cubic-bezier(.16, 1, .3, 1);
  --pp-ease-back: cubic-bezier(.34, 1.56, .64, 1);

  /* shadows — paper lying on paper: short, soft, slightly warm */
  --pp-shadow-1: 0 1px 1px rgba(40,30,20,.10), 0 3px 8px rgba(40,30,20,.10);
  --pp-shadow-2: 0 2px 2px rgba(40,30,20,.10), 0 10px 24px rgba(40,30,20,.16);
  --pp-shadow-3: 0 3px 4px rgba(40,30,20,.12), 0 22px 48px rgba(40,30,20,.22);
  --pp-drop-1: drop-shadow(0 2px 3px rgba(40,30,20,.20));
  --pp-drop-2: drop-shadow(0 6px 10px rgba(40,30,20,.22));

  /* edge shapes (generated) */
  --pp-torn-a: polygon(0.0% 0.7px, 2.9% 4.2px, 5.9% 3.8px, 8.8% 1.3px, 11.8% 2.5px, 14.7% 2.2px, 17.6% 3.3px, 20.6% 3.9px, 23.5% 0.5px, 26.5% 0.1px, 29.4% 4.2px, 32.4% 2.2px, 35.3% 3.8px, 38.2% 0.0px, 41.2% 2.2px, 44.1% 3.6px, 47.1% 1.1px, 50.0% 4.7px, 52.9% 4.5px, 55.9% 0.2px, 58.8% 0.1px, 61.8% 2.7px, 64.7% 4.7px, 67.6% 1.9px, 70.6% 1.1px, 73.5% 2.1px, 76.5% 0.1px, 79.4% 1.1px, 82.4% 2.2px, 85.3% 2.5px, 88.2% 1.2px, 91.2% 1.2px, 94.1% 1.1px, 97.1% 2.3px, 100.0% 1.4px, calc(100% - 0.1px) 25%, calc(100% - 2.5px) 50%, calc(100% - 1.7px) 75%, 100.0% calc(100% - 3.2px), 97.1% calc(100% - 0.9px), 94.1% calc(100% - 5.0px), 91.2% calc(100% - 4.3px), 88.2% calc(100% - 0.6px), 85.3% calc(100% - 1.7px), 82.4% calc(100% - 3.6px), 79.4% calc(100% - 3.6px), 76.5% calc(100% - 4.7px), 73.5% calc(100% - 2.1px), 70.6% calc(100% - 4.2px), 67.6% calc(100% - 3.4px), 64.7% calc(100% - 1.5px), 61.8% calc(100% - 2.9px), 58.8% calc(100% - 4.4px), 55.9% calc(100% - 4.2px), 52.9% calc(100% - 2.5px), 50.0% calc(100% - 2.9px), 47.1% calc(100% - 0.2px), 44.1% calc(100% - 1.2px), 41.2% calc(100% - 4.0px), 38.2% calc(100% - 2.1px), 35.3% calc(100% - 0.9px), 32.4% calc(100% - 2.7px), 29.4% calc(100% - 3.5px), 26.5% calc(100% - 3.4px), 23.5% calc(100% - 1.9px), 20.6% calc(100% - 2.2px), 17.6% calc(100% - 2.5px), 14.7% calc(100% - 3.9px), 11.8% calc(100% - 2.6px), 8.8% calc(100% - 2.0px), 5.9% calc(100% - 2.4px), 2.9% calc(100% - 0.1px), 0.0% calc(100% - 0.2px), 2.1px 75%, 2.9px 50%, 1.8px 25%);
  --pp-torn-b: polygon(0.0% 6.7px, 2.5% 6.6px, 5.0% 0.4px, 7.5% 0.6px, 10.0% 5.8px, 12.5% 5.2px, 15.0% 4.7px, 17.5% 2.2px, 20.0% 4.2px, 22.5% 4.2px, 25.0% 4.1px, 27.5% 1.1px, 30.0% 3.0px, 32.5% 2.8px, 35.0% 5.1px, 37.5% 7.0px, 40.0% 6.6px, 42.5% 3.8px, 45.0% 3.1px, 47.5% 1.9px, 50.0% 0.3px, 52.5% 0.2px, 55.0% 3.3px, 57.5% 2.2px, 60.0% 2.7px, 62.5% 6.2px, 65.0% 3.7px, 67.5% 3.9px, 70.0% 1.7px, 72.5% 0.2px, 75.0% 2.3px, 77.5% 1.0px, 80.0% 3.6px, 82.5% 7.0px, 85.0% 4.7px, 87.5% 1.3px, 90.0% 6.3px, 92.5% 5.6px, 95.0% 5.1px, 97.5% 6.3px, 100.0% 5.3px, calc(100% - 2.4px) 25%, calc(100% - 1.1px) 50%, calc(100% - 2.9px) 75%, 100.0% calc(100% - 6.7px), 97.5% calc(100% - 1.1px), 95.0% calc(100% - 5.3px), 92.5% calc(100% - 5.0px), 90.0% calc(100% - 3.2px), 87.5% calc(100% - 3.7px), 85.0% calc(100% - 3.4px), 82.5% calc(100% - 6.5px), 80.0% calc(100% - 3.5px), 77.5% calc(100% - 5.8px), 75.0% calc(100% - 2.5px), 72.5% calc(100% - 6.2px), 70.0% calc(100% - 6.3px), 67.5% calc(100% - 3.2px), 65.0% calc(100% - 4.0px), 62.5% calc(100% - 6.4px), 60.0% calc(100% - 5.1px), 57.5% calc(100% - 3.4px), 55.0% calc(100% - 1.6px), 52.5% calc(100% - 2.3px), 50.0% calc(100% - 4.9px), 47.5% calc(100% - 1.2px), 45.0% calc(100% - 6.4px), 42.5% calc(100% - 1.9px), 40.0% calc(100% - 6.4px), 37.5% calc(100% - 2.2px), 35.0% calc(100% - 6.7px), 32.5% calc(100% - 4.9px), 30.0% calc(100% - 3.5px), 27.5% calc(100% - 3.6px), 25.0% calc(100% - 4.6px), 22.5% calc(100% - 4.1px), 20.0% calc(100% - 2.2px), 17.5% calc(100% - 1.5px), 15.0% calc(100% - 3.6px), 12.5% calc(100% - 6.5px), 10.0% calc(100% - 4.4px), 7.5% calc(100% - 0.5px), 5.0% calc(100% - 5.7px), 2.5% calc(100% - 5.1px), 0.0% calc(100% - 6.4px), 0.6px 75%, 2.2px 50%, 0.2px 25%);
  --pp-torn-c: polygon(0.0% 1.0px, 4.5% 2.2px, 9.1% 1.5px, 13.6% 2.4px, 18.2% 2.5px, 22.7% 0.3px, 27.3% 0.1px, 31.8% 3.3px, 36.4% 1.0px, 40.9% 0.9px, 45.5% 4.0px, 50.0% 1.9px, 54.5% 3.3px, 59.1% 1.9px, 63.6% 2.6px, 68.2% 0.6px, 72.7% 2.5px, 77.3% 3.5px, 81.8% 2.1px, 86.4% 3.0px, 90.9% 2.7px, 95.5% 0.3px, 100.0% 3.0px, calc(100% - 1.8px) 25%, calc(100% - 0.9px) 50%, calc(100% - 0.1px) 75%, 100.0% calc(100% - 3.5px), 95.5% calc(100% - 1.9px), 90.9% calc(100% - 2.9px), 86.4% calc(100% - 3.5px), 81.8% calc(100% - 2.9px), 77.3% calc(100% - 3.7px), 72.7% calc(100% - 1.6px), 68.2% calc(100% - 3.2px), 63.6% calc(100% - 1.8px), 59.1% calc(100% - 3.7px), 54.5% calc(100% - 3.5px), 50.0% calc(100% - 0.4px), 45.5% calc(100% - 0.5px), 40.9% calc(100% - 0.9px), 36.4% calc(100% - 3.9px), 31.8% calc(100% - 1.7px), 27.3% calc(100% - 2.5px), 22.7% calc(100% - 1.2px), 18.2% calc(100% - 2.0px), 13.6% calc(100% - 1.5px), 9.1% calc(100% - 1.4px), 4.5% calc(100% - 2.3px), 0.0% calc(100% - 2.3px), 2.7px 75%, 2.0px 50%, 2.8px 25%);
  --pp-brush-a: polygon(2.0% 0.5px, 11.6% 0.2px, 21.2% 0.9px, 30.8% 0.3px, 40.4% 0.1px, 50.0% 0.9px, 59.6% 2.0px, 69.2% 1.8px, 78.8% 1.7px, 88.4% 0.5px, 98.0% 1.2px, calc(100% - 2.5px) 0%, calc(100% - 1.6px) 11%, calc(100% - 1.0px) 22%, calc(100% - 1.9px) 33%, calc(100% - 8.3px) 44%, calc(100% - 7.5px) 56%, calc(100% - 7.3px) 67%, calc(100% - 7.2px) 78%, calc(100% - 1.7px) 89%, calc(100% - 2.8px) 100%, 97.0% calc(100% - 1.4px), 87.4% calc(100% - 1.6px), 77.8% calc(100% - 1.9px), 68.2% calc(100% - 1.9px), 58.6% calc(100% - 0.2px), 49.0% calc(100% - 1.3px), 39.4% calc(100% - 1.5px), 29.8% calc(100% - 1.1px), 20.2% calc(100% - 0.4px), 10.6% calc(100% - 1.0px), 1.0% calc(100% - 0.2px), 8.4px 100%, 7.8px 89%, 4.9px 78%, 2.7px 67%, 8.2px 56%, 5.2px 44%, 7.9px 33%, 7.6px 22%, 4.6px 11%, 3.7px 0%);
  --pp-brush-b: polygon(2.0% 1.4px, 11.6% 1.6px, 21.2% 1.7px, 30.8% 2.1px, 40.4% 1.6px, 50.0% 2.0px, 59.6% 0.1px, 69.2% 1.0px, 78.8% 2.1px, 88.4% 1.4px, 98.0% 2.0px, calc(100% - 1.4px) 0%, calc(100% - 5.6px) 11%, calc(100% - 3.0px) 22%, calc(100% - 6.5px) 33%, calc(100% - 6.9px) 44%, calc(100% - 0.2px) 56%, calc(100% - 2.6px) 67%, calc(100% - 3.4px) 78%, calc(100% - 11.0px) 89%, calc(100% - 9.2px) 100%, 97.0% calc(100% - 0.4px), 87.4% calc(100% - 1.8px), 77.8% calc(100% - 0.3px), 68.2% calc(100% - 1.4px), 58.6% calc(100% - 0.3px), 49.0% calc(100% - 0.0px), 39.4% calc(100% - 1.9px), 29.8% calc(100% - 0.5px), 20.2% calc(100% - 0.5px), 10.6% calc(100% - 2.2px), 1.0% calc(100% - 1.9px), 3.5px 100%, 11.5px 89%, 6.5px 78%, 8.1px 67%, 2.5px 56%, 11.3px 44%, 8.3px 33%, 11.6px 22%, 10.7px 11%, 3.6px 0%);
  --pp-brush-c: polygon(2.0% 2.4px, 8.9% 2.5px, 15.7% 1.5px, 22.6% 0.8px, 29.4% 0.0px, 36.3% 2.0px, 43.1% 1.4px, 50.0% 2.3px, 56.9% 1.1px, 63.7% 2.3px, 70.6% 0.8px, 77.4% 2.4px, 84.3% 2.2px, 91.1% 1.2px, 98.0% 1.6px, calc(100% - 4.8px) 0%, calc(100% - 1.4px) 11%, calc(100% - 3.9px) 22%, calc(100% - 5.6px) 33%, calc(100% - 1.9px) 44%, calc(100% - 5.6px) 56%, calc(100% - 4.8px) 67%, calc(100% - 5.9px) 78%, calc(100% - 2.3px) 89%, calc(100% - 0.7px) 100%, 97.0% calc(100% - 2.4px), 90.1% calc(100% - 2.4px), 83.3% calc(100% - 1.3px), 76.4% calc(100% - 0.3px), 69.6% calc(100% - 0.6px), 62.7% calc(100% - 1.9px), 55.9% calc(100% - 0.9px), 49.0% calc(100% - 2.9px), 42.1% calc(100% - 1.8px), 35.3% calc(100% - 0.6px), 28.4% calc(100% - 2.0px), 21.6% calc(100% - 1.1px), 14.7% calc(100% - 2.8px), 7.9% calc(100% - 2.7px), 1.0% calc(100% - 1.5px), 4.5px 100%, 4.9px 89%, 5.6px 78%, 6.8px 67%, 0.2px 56%, 2.5px 44%, 4.2px 33%, 2.1px 22%, 4.1px 11%, 0.6px 0%);
  --pp-tape-a: polygon(1.6px 0%, 0.8px 14%, 3.3px 29%, 0.4px 43%, 2.7px 57%, 1.8px 71%, 0.3px 86%, 2.5px 100%, calc(100% - 0.2px) 100%, calc(100% - 2.2px) 86%, calc(100% - 0.3px) 71%, calc(100% - 0.5px) 57%, calc(100% - 2.1px) 43%, calc(100% - 4.1px) 29%, calc(100% - 0.6px) 14%, calc(100% - 1.1px) 0%);
  --pp-tape-b: polygon(1.1px 0%, 4.8px 14%, 0.6px 29%, 3.5px 43%, 0.4px 57%, 1.2px 71%, 5.0px 86%, 1.0px 100%, calc(100% - 3.2px) 100%, calc(100% - 2.3px) 86%, calc(100% - 2.3px) 71%, calc(100% - 2.5px) 57%, calc(100% - 1.0px) 43%, calc(100% - 4.2px) 29%, calc(100% - 0.4px) 14%, calc(100% - 1.2px) 0%);
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 84px; }
/* No CSS scroll-behavior: smooth here on purpose. ScrollTrigger.refresh() has to move the scroll position
   instantly to measure; with CSS smoothing on (touch devices have no Lenis) it mis-measures every trigger when
   it refreshes mid-page. Anchor links are smoothed in JS instead (PP.scrollTo in motion.js). */
body {
  font-family: var(--pp-f-body); font-size: 17px; line-height: 1.65; font-weight: 500;
  color: var(--pp-ink-soft);
  background: var(--pp-paper) url(../../images/paper/paper.webp) repeat; background-size: 420px 420px;
  overflow-x: hidden; overflow-x: clip;   /* hidden = fallback for Safari < 16 */
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* no double-tap-to-zoom delay on controls */
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--pp-red); color: #fff; }
:focus-visible { outline: 3px solid var(--pp-red); outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ---------- layout ---------- */
.pp-wrap { width: 100%; max-width: calc(var(--pp-max) + var(--pp-gutter) * 2); margin-inline: auto; padding-inline: var(--pp-gutter); }
.pp-wrap--narrow { max-width: calc(860px + var(--pp-gutter) * 2); }
.pp-section { position: relative; padding-block: var(--pp-section); }
.pp-section--tight { padding-block: calc(var(--pp-section) * .55); }

/* ---------- type ---------- */
/* Giant red poster words. Always uppercase, always tight. */
.pp-display {
  font-family: var(--pp-f-display); font-weight: 400; text-transform: uppercase;
  color: var(--pp-red); line-height: .88; letter-spacing: -.005em;
  font-size: clamp(56px, 11.5vw, 190px);
}
.pp-display--md { font-size: clamp(44px, 7.4vw, 112px); }
.pp-display--sm { font-size: clamp(32px, 4.6vw, 64px); line-height: .94; }
.pp-display--ink { color: var(--pp-ink); }
/* outlined variant for the "echo" rows behind a solid word */
.pp-display--ghost { color: transparent; -webkit-text-stroke: 2px var(--pp-red); }

.pp-marker { font-family: var(--pp-f-marker); color: var(--pp-ink); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; font-weight: 400; }
.pp-note { font-family: var(--pp-f-marker); color: var(--pp-ink); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.3; }
.pp-note--red { color: var(--pp-red); }
.pp-script { font-family: var(--pp-f-script); color: var(--pp-red); line-height: 1; font-weight: 400; }

/* small caps label — "T O U R   D A T E S" */
.pp-label { font-family: var(--pp-f-body); font-weight: 800; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--pp-ink); }
.pp-label--red { color: var(--pp-red); }

/* label flanked by hairlines */
.pp-rule { display: flex; align-items: center; gap: 18px; font-family: var(--pp-f-body); font-weight: 800; font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .34em; text-transform: uppercase; color: var(--pp-ink); white-space: nowrap; }
.pp-rule::before, .pp-rule::after { content: ''; flex: 1; height: 1.5px; background: var(--pp-ink); opacity: .85; transform-origin: center; }

.pp-lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--pp-ink); font-weight: 500; }
.pp-copy { max-width: 62ch; }
.pp-copy p + p { margin-top: 1em; }
.pp-copy strong, .pp-copy b { color: var(--pp-ink); font-weight: 800; }
/* red marker swipe under a phrase */
.pp-hl { color: var(--pp-ink); font-weight: 800; background: linear-gradient(transparent 62%, rgba(195,17,29,.22) 62%, rgba(195,17,29,.22) 92%, transparent 92%); padding-inline: .08em; }

/* ---------- section header ----------
   <header class="pp-head">
     <p class="pp-label pp-label--red">The origin story</p>
     <h2 class="pp-display pp-display--md">Going viral</h2>
     <p class="pp-note">optional hand-written aside</p>
   </header>                                                           */
.pp-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 72px); }
.pp-head--center { text-align: center; justify-items: center; }
.pp-head .pp-note { transform: rotate(-2deg); transform-origin: left center; }
.pp-head--center .pp-note { transform-origin: center; }

/* ---------- red brush label ----------  <span class="pp-brush">Comedy Tour</span> */
.pp-brush {
  position: relative; display: inline-block; isolation: isolate;
  font-family: var(--pp-f-body); font-weight: 900; font-style: italic; text-transform: uppercase;
  color: #fff; line-height: 1; letter-spacing: .01em; padding: .34em .7em .36em;
  filter: var(--pp-drop-1);
}
.pp-brush::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pp-red); clip-path: var(--pp-brush-a); }
.pp-brush--b::before { clip-path: var(--pp-brush-b); }
.pp-brush--c::before { clip-path: var(--pp-brush-c); }
.pp-brush--ink::before { background: var(--pp-ink); }

/* ---------- torn white paper strip ----------  <div class="pp-torn">…</div> */
.pp-torn { position: relative; isolation: isolate; filter: var(--pp-drop-2); padding: 18px 28px; color: var(--pp-ink); }
.pp-torn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pp-paper-hi) url(../../images/paper/paper.webp); background-size: 300px; clip-path: var(--pp-torn-a); }
.pp-torn--b::before { clip-path: var(--pp-torn-b); }
.pp-torn--c::before { clip-path: var(--pp-torn-c); }
.pp-torn--kraft::before { background: var(--pp-kraft) url(../../images/paper/kraft.webp); background-size: 200px; }
.pp-torn--red::before { background: var(--pp-red); }
.pp-torn--red { color: #fff; }

/* ---------- kraft list strip (tour rows, lists) ---------- */
.pp-strip { position: relative; isolation: isolate; display: flex; align-items: center; gap: 16px; padding: 13px 22px; color: var(--pp-ink); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; filter: drop-shadow(0 1px 1px rgba(40,30,20,.14)); }
.pp-strip::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pp-kraft) url(../../images/paper/kraft.webp); background-size: 200px; clip-path: var(--pp-torn-c); }
.pp-strip:nth-child(even)::before { clip-path: var(--pp-torn-a); transform: scaleX(-1); }

/* ---------- tape ----------  <span class="pp-tape" aria-hidden="true"></span> inside a positioned parent */
.pp-tape {
  position: absolute; z-index: 3; width: 132px; height: 34px; left: 50%; top: -17px; translate: -50% 0; rotate: -3deg;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%), var(--pp-tape);
  clip-path: var(--pp-tape-a); backdrop-filter: blur(1px) saturate(1.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  pointer-events: none;
}
.pp-tape--tl { left: -34px; top: 10px; translate: 0 0; rotate: -42deg; width: 110px; }
.pp-tape--tr { left: auto; right: -34px; top: 10px; translate: 0 0; rotate: 40deg; width: 110px; clip-path: var(--pp-tape-b); }
.pp-tape--bl { left: -30px; top: auto; bottom: 12px; translate: 0 0; rotate: 38deg; width: 100px; clip-path: var(--pp-tape-b); }
.pp-tape--br { left: auto; right: -30px; top: auto; bottom: 12px; translate: 0 0; rotate: -40deg; width: 100px; }

/* ---------- taped photo ----------
   <figure class="pp-photo" style="--r:-3deg"><span class="pp-tape"></span><img …><figcaption class="pp-note">…</figcaption></figure> */
.pp-photo { position: relative; background: var(--pp-paper-hi); padding: 12px 12px 14px; box-shadow: var(--pp-shadow-2); rotate: var(--r, 0deg); }
.pp-photo > img, .pp-photo > picture > img { width: 100%; height: 100%; object-fit: cover; background: var(--pp-kraft); }
.pp-photo figcaption { padding-top: 10px; text-align: center; }
.pp-photo--polaroid { padding-bottom: 52px; }
.pp-photo--polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 12px; padding: 0 12px; }

/* ---------- buttons ---------- */
.pp-btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--pp-f-body); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(15px, 1.25vw, 18px); line-height: 1; color: #fff; text-decoration: none; white-space: nowrap;
  padding: 1.05em 1.7em 1.08em; min-height: 52px; cursor: pointer;
  filter: var(--pp-drop-1); transition: transform .35s var(--pp-ease), filter .35s var(--pp-ease);
}
.pp-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pp-red); clip-path: var(--pp-brush-a); transition: background .25s; }
.pp-btn:hover { transform: translateY(-2px) rotate(-1deg); filter: var(--pp-drop-2); }
.pp-btn:hover::before { background: var(--pp-red-deep); }
.pp-btn:active { transform: translateY(1px) scale(.985); }
.pp-btn svg { width: 1.1em; height: 1.1em; flex: none; }
.pp-btn--ink::before { background: var(--pp-ink); }
.pp-btn--ink:hover::before { background: #000; }
.pp-btn--sm { font-size: 13px; min-height: 44px; padding: .9em 1.3em; }
.pp-btn--block { display: flex; width: 100%; }
.pp-btn[disabled] { opacity: .55; pointer-events: none; }

/* outlined pill — the "COMEDICCODY.COM" capsule */
.pp-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.5em;
  font-family: var(--pp-f-body); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--pp-ink); background: var(--pp-paper-hi); border: 2px solid var(--pp-ink); border-radius: 999px;
  transition: background .25s, color .25s, transform .35s var(--pp-ease);
}
.pp-pill:hover { background: var(--pp-ink); color: #fff; transform: translateY(-2px); }
.pp-pill svg { width: 1.15em; height: 1.15em; }

/* underlined text link */
.pp-link { font-weight: 800; color: var(--pp-ink); text-decoration: none; background: linear-gradient(var(--pp-red), var(--pp-red)) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--pp-ease), color .25s; }
.pp-link:hover { color: var(--pp-red); background-size: 0 2px; background-position: 100% 100%; }

/* ---------- forms ---------- */
.pp-field { display: grid; gap: 6px; }
.pp-field > label { font-weight: 800; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--pp-ink); }
.pp-input, .pp-field input, .pp-field textarea, .pp-field select {
  width: 100%; min-height: 52px; padding: 13px 16px; font-size: 16px; font-weight: 600; color: var(--pp-ink);
  background: var(--pp-paper-hi); border: 2px solid var(--pp-ink); border-radius: 3px; outline: none; appearance: none;
  box-shadow: 3px 3px 0 rgba(20,20,20,.12); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pp-input::placeholder, .pp-field input::placeholder, .pp-field textarea::placeholder { color: var(--pp-ink-faint); font-weight: 500; }
.pp-input:focus, .pp-field input:focus, .pp-field textarea:focus { border-color: var(--pp-red); box-shadow: 4px 4px 0 var(--pp-red); transform: translate(-1px,-1px); }
.pp-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.pp-fineprint { font-size: 12px; line-height: 1.5; color: var(--pp-ink-faint); font-weight: 500; }

/* ---------- small parts ---------- */
/* rubber stamp */
.pp-stamp { display: inline-block; font-family: var(--pp-f-display); text-transform: uppercase; color: var(--pp-red); border: 3px solid var(--pp-red); border-radius: 6px; padding: .28em .6em .2em; line-height: 1; letter-spacing: .04em; rotate: -6deg; opacity: .9; mix-blend-mode: multiply; }
/* kraft tag — the "2027" chip */
.pp-tag { display: inline-block; position: relative; isolation: isolate; font-family: var(--pp-f-body); font-weight: 900; color: var(--pp-ink); line-height: 1; padding: .3em .55em; filter: var(--pp-drop-1); }
.pp-tag::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pp-kraft) url(../../images/paper/kraft.webp); background-size: 200px; clip-path: var(--pp-tape-b); }
/* decorative svgs: .pp-sparks (three red dashes), .pp-scribble (thin pen loops) */
.pp-sparks { position: absolute; width: 54px; height: 54px; color: var(--pp-red); pointer-events: none; }
.pp-sparks path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.pp-scribble { position: absolute; pointer-events: none; color: var(--pp-ink); overflow: visible; }
.pp-scribble path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* hairline divider */
.pp-hr { height: 1.5px; background: var(--pp-ink); opacity: .85; border: 0; }

/* ---------- marquee band (red tape across the page) ----------
   <div class="pp-band" data-pp-marquee="-1"><div class="pp-band-track"><span>…</span><span aria-hidden="true">…</span></div></div> */
.pp-band { position: relative; overflow: hidden; background: var(--pp-red); color: #fff; padding-block: clamp(10px, 1.4vw, 18px); }
.pp-band--ink { background: var(--pp-ink); }
.pp-band--paper { background: var(--pp-paper-hi); color: var(--pp-red); border-block: 2px solid var(--pp-ink); }
.pp-band-track { display: flex; width: max-content; will-change: transform; }
.pp-band-track > span { flex: none; font-family: var(--pp-f-display); text-transform: uppercase; font-size: clamp(26px, 4vw, 60px); line-height: 1; white-space: nowrap; padding-right: .6em; }
.pp-band-track i { font-style: normal; display: inline-block; margin-inline: .45em; opacity: .7; }
html:not(.pp-motion) .pp-band-track { animation: pp-marquee 38s linear infinite; }
@keyframes pp-marquee { to { transform: translateX(-50%); } }

/* ---------- motion: initial states ----------
   Only applied when assets/paper/motion.js is running (html.pp-motion), so the
   page is fully visible without JS, without GSAP, and with reduced motion. */
html.pp-motion [data-pp]:not(.pp-in) { opacity: 0; }
html.pp-motion [data-pp-stagger]:not(.pp-in) > * { opacity: 0; }
html.pp-motion [data-pp-split]:not(.pp-in) { opacity: 0; }
.pp-word, .pp-char { display: inline-block; will-change: transform; }
.pp-line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.pp-word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

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

@media (max-width: 700px) {
  body { font-size: 16px; }
  .pp-tape { width: 104px; height: 28px; top: -14px; }
}

/* touch devices: tape rides on photos that move with scroll; a backdrop blur there is paint cost for a 1px effect.
   Also no sticky :hover lift after a tap (the :active press still shows). */
@media (hover: none) {
  .pp-tape { backdrop-filter: none; }
  .pp-btn:hover { transform: none; filter: var(--pp-drop-1); }
  .pp-btn:active { transform: translateY(1px) scale(.985); }
  .pp-pill:hover { transform: none; }
}
