/* =========================================================
   Papercut Studio — risograph / paper-collage theme
   Edit the tokens below to re-brand the whole site.
   ========================================================= */
:root {
  --paper: #f3eee3;
  --paper-2: #e8e0cf;
  --white: #fffdf7;
  --ink: #171512;
  --blue: #2f45ff;
  --pink: #ff4f9a;
  --yellow: #ffd23f;
  --orange: #ff6a2b;
  --green: #3ccf91;
  --line: 2.5px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --display: "Anton", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --mono: "Space Mono", ui-monospace, monospace;
  --serif: "Fraunces", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
svg { display: block; }
::selection { background: var(--pink); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .02em; }
.hand { font-family: var(--hand); font-weight: 700; }

/* halftone dots */
.halftone { position: relative; isolation: isolate; }
.halftone::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(23,21,18,.16) 1.2px, transparent 1.7px);
  background-size: 10px 10px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%), radial-gradient(ellipse at 10% 90%, #000 0%, transparent 50%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%), radial-gradient(ellipse at 10% 90%, #000 0%, transparent 50%);
}

/* paper grain */
.paper-grain {
  position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .38  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* chips: cut-out paper labels */
.chip {
  display: inline-block; padding: .02em .16em .04em; line-height: 1; color: var(--white);
  transform: rotate(-2deg); box-shadow: .06em .06em 0 var(--ink); border: 2px solid var(--ink);
}
.chip--blue { background: var(--blue); }
.chip--pink { background: var(--pink); }
.chip--yellow { background: var(--yellow); color: var(--ink); }

/* doodles */
.doodle path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.boil { animation: boil .45s steps(1) infinite; }
@keyframes boil {
  0% { transform: rotate(0deg) translate(0, 0); }
  33% { transform: rotate(2deg) translate(1px, -1px); }
  66% { transform: rotate(-1.5deg) translate(-1px, 1px); }
}

/* tape strips */
.tape { position: absolute; width: 110px; height: 30px; background: rgba(255, 238, 180, .75); border-left: 2px dashed rgba(0,0,0,.08); border-right: 2px dashed rgba(0,0,0,.08); box-shadow: 0 2px 4px rgba(0,0,0,.08); z-index: 3; }
.tape--tl { top: -12px; left: -26px; transform: rotate(-35deg); }
.tape--top { top: -14px; left: 50%; margin-left: -55px; transform: rotate(-4deg); }

/* ---------- Buttons ---------- */
.btn-sticker {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; background: var(--yellow); color: var(--ink); border: var(--line); border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, background .2s;
}
.btn-sticker:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 8px 8px 0 var(--ink); background: var(--pink); color: var(--white); }
.btn-sticker:active { transform: translate(5px, 5px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sticker--small { padding: 10px 18px; font-size: 15px; box-shadow: 4px 4px 0 var(--ink); }
.btn-sticker--block { width: 100%; }
.btn-link { font-weight: 700; text-decoration: none; padding: 6px 2px; background: linear-gradient(var(--pink), var(--pink)) 0 100% / 100% 3px no-repeat; transition: background-size .35s var(--ease); font-size: 15px; }
.btn-link:hover { background-size: 100% 100%; color: var(--white); }

/* ---------- Intro (tear) ---------- */
.intro { display: none; }
.anim .intro { display: block; position: fixed; inset: 0; z-index: 1000; }
.intro__half { position: absolute; top: -5%; bottom: -5%; width: 53%; background: var(--pink); }
.intro__half--l { left: 0; }
.intro__half--r { right: 0; background: var(--pink); }
.intro__half::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(23,21,18,.25) 1.4px, transparent 2px); background-size: 12px 12px; }
.intro__cut { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; z-index: 2; }
.intro__line { position: absolute; top: 0; bottom: 0; left: -1px; border-left: 3px dashed var(--ink); }
.intro__scissors { position: absolute; left: -26px; top: -60px; font-size: 52px; line-height: 1; color: var(--ink); transform: rotate(90deg); }
.intro__label { position: absolute; left: calc(50% + 40px); top: 50%; z-index: 2; margin: 0; font-size: 40px; color: var(--white); transform: rotate(-6deg); }

/* ---------- Drag cursor (pinboard only) ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 900; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: var(--line);
  font-family: var(--hand); font-weight: 700; font-size: 26px; transform: scale(0); opacity: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--gutter); transition: background .3s, border-color .3s, transform .5s var(--ease); border-bottom: 2.5px solid transparent;
}
.nav.is-scrolled { background: rgba(243,238,227,.92); backdrop-filter: blur(6px); border-bottom-color: var(--ink); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--white); border: var(--line); font-size: 20px; transition: transform .5s var(--ease); }
.brand:hover .brand__icon { transform: rotate(-200deg); }
.brand__name { font-family: var(--display); font-size: 26px; letter-spacing: .01em; text-transform: uppercase; }
.brand__name sup { font-family: var(--body); font-size: .4em; }
.nav__links { display: flex; gap: 6px; font-size: 14px; text-transform: uppercase; }
.nav__links a { text-decoration: none; padding: 6px 12px; border-radius: 99px; border: 2px solid transparent; transition: .2s; }
.nav__links a:hover { border-color: var(--ink); background: var(--white); transform: rotate(-3deg); }

/* ---------- Hero ---------- */
.hero { padding: 130px 0 90px; overflow: hidden; }
.scrap { position: absolute; z-index: -1; }
.scrap--yellow { width: 46vw; height: 30vw; max-height: 420px; right: -6vw; top: 90px; background: var(--yellow); transform: rotate(5deg); }
.scrap--blue { width: 26vw; height: 18vw; left: -6vw; bottom: 40px; background: var(--blue); transform: rotate(-8deg); opacity: .9; }
.hero__kicker { margin: 0 0 18px; font-size: 14px; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(58px, 11.4vw, 184px); line-height: .9; text-transform: uppercase; margin: 0; letter-spacing: .005em; }
.hero__title .line { display: block; position: relative; white-space: nowrap; }
.slam { display: inline-block; }
.ransom { display: inline-flex; gap: .04em; vertical-align: top; }
.rl {
  display: inline-block; padding: 0 .06em; line-height: 1; border: 2px solid var(--ink);
  box-shadow: .04em .04em 0 var(--ink); transform: rotate(var(--rr, 0deg));
}
.stretch { transform-origin: left center; }
.doodle--star { position: absolute; width: .5em; height: .5em; display: inline-block; margin-left: .15em; top: .1em; }
.doodle--star path { fill: var(--pink); stroke-width: 3.5; }

.hero__bottom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 54px; align-items: start; }
.hero__sub { font-size: clamp(18px, 1.6vw, 22px); max-width: 540px; margin: 0 0 30px; }
.hero__sub b { background: linear-gradient(transparent 55%, var(--yellow) 55%); }
.hero__ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero__note { position: relative; margin: 22px 0 0 170px; font-size: 30px; color: var(--blue); transform: rotate(-4deg); display: inline-block; }
.doodle--arrow { position: absolute; width: 110px; height: 55px; left: -118px; top: -36px; }
.doodle--arrow path { stroke: var(--blue); }

.hero__collage { position: relative; min-height: 380px; }
.polaroid { position: absolute; right: 12%; top: -10px; width: min(330px, 80%); margin: 0; padding: 14px 14px 0; background: var(--white); border: 2px solid var(--ink); box-shadow: 10px 12px 0 rgba(23,21,18,.9); transform: rotate(4deg); }
.polaroid__img { aspect-ratio: 1; background: linear-gradient(#8fd3ff, #c9ecff 60%); position: relative; overflow: hidden; border: 2px solid var(--ink); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; }
.sun { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); left: 54%; top: 14%; }
.hill { position: absolute; left: -20%; right: 10%; bottom: -40%; height: 75%; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); }
.hill--2 { left: 30%; right: -30%; bottom: -50%; background: var(--pink); }
.plane { position: absolute; width: 22%; left: 12%; top: 18%; animation: plane 4s ease-in-out infinite; }
.plane path { fill: var(--white); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
@keyframes plane { 50% { transform: translate(18px, -14px) rotate(8deg); } }
.polaroid figcaption { font-size: 26px; text-align: center; padding: 10px 0 12px; }
.badge-spin { position: absolute; left: 0; bottom: -20px; width: 150px; height: 150px; display: grid; place-items: center; }
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge-spin circle { fill: var(--blue); stroke: var(--ink); stroke-width: 3; }
.badge-spin text { font-family: var(--mono); font-size: 15.5px; font-weight: 700; fill: var(--white); letter-spacing: 1.5px; }
.badge-spin span { position: relative; font-size: 40px; color: var(--yellow); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Crossing tapes ---------- */
.tapes { position: relative; height: 230px; overflow: hidden; margin: -20px 0 0; }
.tape-band { position: absolute; left: -10%; width: 120%; border-top: var(--line); border-bottom: var(--line); padding: 16px 0; overflow: hidden; }
.tape-band--yellow { top: 50px; background: var(--yellow); transform: rotate(-3.5deg); z-index: 2; }
.tape-band--pink { top: 110px; background: var(--pink); color: var(--white); transform: rotate(3deg); }
.tape-band__track { display: flex; width: max-content; font-size: 22px; font-weight: 700; white-space: nowrap; animation: marquee 30s linear infinite; }
.tape-band__track--rev { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hello ---------- */
.hello { padding: clamp(90px, 12vw, 170px) 0; }
.hello__text { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.3vw, 64px); line-height: 1.16; letter-spacing: -.02em; margin: 0; max-width: 1150px; }
.mark { position: relative; white-space: nowrap; font-style: italic; }
.mark .doodle { position: absolute; pointer-events: none; overflow: visible; }
.doodle--strike { left: -4%; width: 108%; top: 34%; height: .5em; }
.doodle--strike path { stroke: var(--pink); stroke-width: 5; }
.doodle--circle { left: -8%; width: 116%; top: -18%; height: 140%; }
.doodle--circle path { stroke: var(--blue); stroke-width: 3.5; }
.mark--hl { background: linear-gradient(var(--yellow), var(--yellow)) 0 85% / 100% 45% no-repeat; padding: 0 .1em; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 26px; margin-bottom: clamp(40px, 6vw, 70px); }
.sec-num { font-size: 15px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 99px; background: var(--white); }
.sec-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(54px, 8.5vw, 130px); line-height: .9; margin: 0; }
.sec-sub { font-size: 30px; color: var(--blue); margin: 0; transform: rotate(-3deg); width: 100%; }

/* ---------- Services: stacking cards ---------- */
.services { padding-bottom: 60px; }
.stack { position: relative; }
.stack-card {
  position: sticky; top: calc(100px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  min-height: min(76vh, 600px); margin-bottom: 50px; padding: clamp(28px, 4vw, 56px);
  border: var(--line); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); transform-origin: 50% 0;
  overflow: hidden;
}
.stack-card:nth-child(1) { --i: 0; }
.stack-card:nth-child(2) { --i: 1; }
.stack-card:nth-child(3) { --i: 2; }
.stack-card:nth-child(4) { --i: 3; }
.stack-card--blue { background: var(--blue); color: var(--white); }
.stack-card--yellow { background: var(--yellow); }
.stack-card--pink { background: var(--pink); color: var(--white); }
.stack-card--ink { background: var(--ink); color: var(--paper); }
.stack-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 7vw, 108px); line-height: .9; margin: 14px 0 18px; }
.stack-card p { font-size: clamp(17px, 1.4vw, 20px); max-width: 500px; margin: 0 0 26px; }
.stickers { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stickers li { padding: 7px 14px; border-radius: 99px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); font-weight: 700; font-size: 14px; transform: rotate(-2deg); }
.stickers li:nth-child(even) { transform: rotate(2.5deg); }
.stack-card__art { position: relative; height: 100%; min-height: 300px; }

.art-brand i { position: absolute; border: var(--line); }
.art-brand .a1 { width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); left: 8%; top: 12%; animation: bob 4s ease-in-out infinite; }
.art-brand .a2 { width: 40%; aspect-ratio: 1; background: var(--yellow); right: 6%; top: 4%; transform: rotate(12deg); animation: bob 5s ease-in-out infinite .6s; }
.art-brand .a3 { width: 46%; height: 30%; background: var(--white); right: 14%; bottom: 6%; border-radius: 99px; transform: rotate(-8deg); animation: bob 4.5s ease-in-out infinite 1.2s; }
.art-brand span { position: absolute; left: 10%; bottom: 8%; font-size: 40px; transform: rotate(-8deg); }
@keyframes bob { 50% { translate: 0 -14px; } }

.art-web { display: grid; place-items: center; }
.mini-browser { width: 90%; aspect-ratio: 4/3; background: var(--white); border: var(--line); border-radius: 16px; box-shadow: var(--shadow); display: grid; grid-template-rows: 26px 1fr .6fr; gap: 12px; padding: 14px; transform: rotate(3deg); }
.mini-browser b { border-radius: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 16px) 0 50% / 50px 10px no-repeat; }
.mini-browser i { border-radius: 10px; border: 2px solid var(--ink); background: var(--pink); }
.mini-browser i + i { display: none; }
.mini-browser em { border-radius: 10px; border: 2px solid var(--ink); background: var(--blue); width: 50%; animation: grow 2.5s ease-in-out infinite; }
@keyframes grow { 50% { width: 90%; } }
.cursor-hand { position: absolute; right: 16%; bottom: 14%; font-size: 54px; animation: tap 2.5s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-60px, -30px); } 50% { transform: translate(-60px, -30px) scale(.85); } 60% { transform: translate(-60px, -30px); } }

.art-motion { display: grid; place-items: center; }
.reel { position: relative; width: 52%; aspect-ratio: 9/16; max-height: 420px; background: var(--ink); border: var(--line); border-radius: 22px; box-shadow: 8px 8px 0 var(--yellow); overflow: hidden; }
.reel span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: clamp(40px, 4.4vw, 70px); color: var(--yellow); opacity: 0; animation: slamCycle 3s steps(1) infinite; }
.reel span:nth-child(2) { color: var(--white); animation-delay: 1s; }
.reel span:nth-child(3) { color: var(--pink); animation-delay: 2s; background: var(--yellow); color: var(--ink); }
@keyframes slamCycle { 0% { opacity: 1; transform: scale(1.5); } 6% { transform: scale(.9); } 12% { transform: scale(1); } 33% { opacity: 0; } 100% { opacity: 0; } }

.art-campaign { display: grid; place-items: center; }
.burst { position: absolute; width: 46%; aspect-ratio: 1; right: 4%; top: 4%; background: var(--yellow); display: grid; place-items: center; animation: spin 10s linear infinite; z-index: 2;
  clip-path: polygon(50% 0%, 61% 18%, 82% 10%, 79% 32%, 100% 39%, 84% 55%, 96% 75%, 74% 76%, 68% 98%, 50% 85%, 32% 98%, 26% 76%, 4% 75%, 16% 55%, 0% 39%, 21% 32%, 18% 10%, 39% 18%); }
.burst span { font-family: var(--display); font-size: clamp(26px, 3vw, 44px); color: var(--ink); animation: spin 10s linear infinite reverse; }
.flyer { width: 58%; aspect-ratio: 3/4; background: var(--pink); border: 3px solid var(--paper); display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 10px 10px 0 var(--blue); }
.flyer b { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 5.4vw, 90px); line-height: .85; text-align: center; color: var(--paper); }

/* ---------- Work: pinboard ---------- */
.work { padding: clamp(80px, 10vw, 140px) 0; }
.board {
  position: relative; width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; height: clamp(860px, 74vw, 1020px);
  background-color: #c9a171;
  background-image: radial-gradient(rgba(90,55,20,.35) 1.2px, transparent 1.8px), radial-gradient(rgba(255,240,210,.25) 1px, transparent 1.6px);
  background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px;
  border: 14px solid #8a5a2b; border-radius: 18px; box-shadow: inset 0 0 40px rgba(0,0,0,.35), var(--shadow);
}
.piece { position: absolute; left: var(--x); top: var(--y); width: clamp(200px, 21vw, 280px); transform: rotate(var(--r)); touch-action: none; user-select: none; }
.anim .piece { cursor: grab; }
.piece:active { cursor: grabbing; }
.poster { aspect-ratio: 3/4; border: 10px solid var(--white); outline: 2px solid var(--ink); box-shadow: 8px 10px 16px rgba(0,0,0,.35); position: relative; overflow: hidden; display: grid; place-items: center; }
.poster b { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: .88; text-align: center; }
.poster small { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pin { position: absolute; top: -8px; left: 50%; margin-left: -11px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9a9a, #e0182d 60%); border: 2px solid var(--ink); z-index: 3; box-shadow: 3px 4px 4px rgba(0,0,0,.35); }
.pin--blue { background: radial-gradient(circle at 35% 35%, #9ab0ff, var(--blue) 60%); }
.piece__tag { margin: 12px auto 0; width: fit-content; padding: 2px 12px; background: var(--white); border: 2px solid var(--ink); font-size: 22px; line-height: 1.3; transform: rotate(-2deg); }

.poster--bloom { background: var(--yellow); }
.poster--bloom .p-sun { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); top: 10%; border: 2px solid var(--ink); }
.poster--bloom b { color: var(--ink); margin-top: 40%; }
.poster--nord { background: var(--blue); color: var(--white); }
.p-browser { position: absolute; inset: 14% 10% 34%; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; padding: 10px; display: grid; gap: 6px; grid-template-rows: 8px 1fr 1fr; }
.p-browser i { border-radius: 4px; background: var(--yellow); border: 1.5px solid var(--ink); }
.p-browser i:first-child { width: 40%; background: var(--ink); }
.p-browser i:last-child { background: var(--pink); }
.poster--nord b { margin-top: 62%; }
.poster--loud { background: var(--pink); color: var(--yellow); }
.poster--loud b { font-size: clamp(56px, 5.6vw, 86px); transform: rotate(-8deg); text-shadow: 4px 4px 0 var(--ink); }
.poster--loud small { color: var(--ink); font-weight: 700; }
.poster--kiko { background: linear-gradient(160deg, var(--green), #b8f5d6); }
.p-phone { width: 52%; aspect-ratio: 9/18; border: 2.5px solid var(--ink); border-radius: 20px; background: var(--white); padding: 14px 8px; display: grid; gap: 6px; grid-template-rows: 1.4fr 1fr 1fr; }
.p-phone i { border-radius: 8px; background: var(--blue); border: 1.5px solid var(--ink); }
.p-phone i + i { background: var(--yellow); }
.p-phone i + i + i { background: var(--pink); }
.poster--mellow { background: #ffd9e8; }
.p-bottle { position: absolute; width: 26%; height: 52%; bottom: 18%; left: 22%; background: var(--white); border: 2px solid var(--ink); border-radius: 14px 14px 8px 8px; }
.p-bottle::before { content: ""; position: absolute; width: 50%; height: 18%; left: 25%; top: -20%; background: var(--ink); border-radius: 4px 4px 0 0; }
.p-bottle--2 { left: 52%; height: 40%; background: var(--pink); }
.poster--mellow b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(30px, 2.8vw, 42px); position: absolute; top: 10%; color: var(--ink); }
.poster--field { background: var(--ink); color: var(--paper); }
.poster--field::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--blue) 2px, transparent 2.6px); background-size: 10px 10px; opacity: .8; -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%); }
.p-mic { position: absolute; width: 22%; height: 34%; top: 14%; border-radius: 99px; background: var(--yellow); border: 2px solid var(--paper); }
.poster--field b { margin-top: 50%; }
.board__sticker { position: absolute; left: 30%; bottom: 3%; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--green); border: var(--line); font-family: var(--display); font-size: 20px; line-height: 1; text-transform: uppercase; transform: rotate(12deg); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; }
.manifesto__stage { height: 100vh; position: relative; overflow: hidden; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.manifesto__pre { position: absolute; top: 14vh; left: 0; right: 0; text-align: center; font-size: 16px; text-transform: uppercase; letter-spacing: .2em; }
.manifesto__words { position: relative; width: 100%; height: 1em; font-family: var(--display); font-size: clamp(90px, 21vw, 340px); line-height: 1; }
.mw { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }

/* ---------- Process ---------- */
.process { padding: clamp(90px, 12vw, 160px) 0; }
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.panel { position: relative; padding: 56px 34px 40px; isolation: isolate; filter: drop-shadow(6px 7px 0 var(--ink)); }
.panel__paper { position: absolute; inset: 0; z-index: -1; }
.panel--1 { transform: rotate(-2deg); }
.panel--1 .panel__paper { background: var(--white); }
.panel--2 { transform: rotate(1.5deg) translateY(40px); }
.panel--2 .panel__paper { background: var(--yellow); }
.panel--3 { transform: rotate(-1deg); }
.panel--3 .panel__paper { background: #bfe9ff; }
.panel__num { position: absolute; top: -26px; left: 26px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--white); border: var(--line); font-family: var(--display); font-size: 34px; }
.panel h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.2vw, 48px); line-height: .95; margin: 0 0 14px; }
.panel p { margin: 0 0 24px; }
.panel__time { display: inline-block; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 99px; background: var(--white); font-size: 13px; }
.ul { position: relative; white-space: nowrap; font-weight: 700; }
.ul svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 12px; overflow: visible; }
.ul path { fill: none; stroke: var(--pink); stroke-width: 4; stroke-linecap: round; }

/* ---------- Stamps ---------- */
.stamps { padding: 40px 0 clamp(90px, 12vw, 150px); }
.stamps__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 4vw, 60px); }
.stamp {
  --c: var(--pink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 22px 30px; min-width: 210px; color: var(--c); border: 5px double var(--c); border-radius: 12px; transform: rotate(var(--r));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.6 2.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.6 2.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.stamp--blue { --c: var(--blue); }
.stamp--ink { --c: var(--ink); }
.stamp--orange { --c: var(--orange); }
.stamp--round { border-radius: 50%; width: 220px; height: 220px; min-width: 0; padding: 20px; }
.stamp b { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 6vw, 88px); line-height: .95; font-variant-numeric: tabular-nums; }
.stamp > span { font-family: var(--mono); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; max-width: 160px; }

/* ---------- Sticky notes ---------- */
.notes-sec { padding: 0 0 clamp(90px, 12vw, 160px); }
.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 34px); }
.note {
  position: relative; margin: 0; padding: 36px 24px 24px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(var(--r)); box-shadow: 2px 14px 18px -8px rgba(0,0,0,.35); transition: transform .4s var(--ease), box-shadow .4s;
}
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; margin-left: -45px; background: rgba(255,255,255,.55); transform: rotate(-3deg); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.note::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; background: linear-gradient(135deg, rgba(0,0,0,.12) 50%, var(--paper) 50%); }
.note:hover { transform: rotate(0deg) translateY(-10px) scale(1.03); box-shadow: 2px 24px 28px -8px rgba(0,0,0,.35); z-index: 2; }
.note blockquote { margin: 0; font-size: 28px; line-height: 1.12; }
.note figcaption { margin-top: 20px; font-size: 13px; font-weight: 700; }
.note--yellow { background: #ffe680; }
.note--pink { background: #ffb3d4; }
.note--blue { background: #b5c6ff; }
.note--green { background: #a8ecc9; }

/* ---------- Tickets ---------- */
.packages { padding: 0 0 clamp(90px, 12vw, 160px); }
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); align-items: start; }
.ticket { position: relative; display: grid; grid-template-columns: 1fr 64px; border: var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.ticket:nth-child(1) { transform: rotate(-1.5deg); }
.ticket:nth-child(3) { transform: rotate(1.5deg); }
.ticket:hover { transform: rotate(0) translateY(-6px); }
.ticket--yellow { background: var(--yellow); }
.ticket--pink { background: var(--pink); color: var(--white); }
.ticket--blue { background: #bfe9ff; }
.ticket__main { padding: 30px 26px; border-right: 3px dashed var(--ink); position: relative; }
.ticket__main::before, .ticket__main::after { content: ""; position: absolute; right: -15px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: var(--line); }
.ticket__main::before { top: -15px; }
.ticket__main::after { bottom: -15px; }
.ticket__admit { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; margin-bottom: 14px; }
.ticket h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 48px; line-height: 1; margin: 0; }
.ticket__price { font-family: var(--display); font-size: 64px; line-height: 1; margin: 10px 0 20px; }
.ticket__price small { font-size: 24px; }
.ticket ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 500; }
.ticket li::before { content: "✶ "; }
.ticket__stub { display: grid; place-items: center; transform-origin: 0 100%; transition: transform .4s var(--ease); }
.ticket__stub a { writing-mode: vertical-rl; font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .12em; padding: 20px 0; }
.ticket:hover .ticket__stub { transform: rotate(6deg) translate(6px, 4px); }
.ticket__flag { position: absolute; top: -26px; right: 70px; font-size: 30px; color: var(--ink); background: var(--white); border: 2px solid var(--ink); padding: 0 12px; transform: rotate(6deg); z-index: 2; }

/* ---------- Contact ---------- */
.contact { padding: clamp(90px, 12vw, 160px) 0; border-top: var(--line); background: var(--yellow); }
.contact.halftone::before { -webkit-mask-image: none; mask-image: none; opacity: .5; }
.contact__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(58px, 11vw, 176px); line-height: .9; margin: 0 0 clamp(40px, 6vw, 70px); text-align: center; }
.slam-in { display: block; }
.contact__title .chip { transform: rotate(-3deg); }

.postcard-wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.postcard { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); border: var(--line); box-shadow: 12px 12px 0 var(--ink); padding: clamp(22px, 3.5vw, 44px); gap: clamp(22px, 3.5vw, 44px); transform: rotate(-1deg); }
.postcard__left { border-right: 2px solid var(--ink); padding-right: clamp(22px, 3.5vw, 44px); }
.postcard__hi { font-size: 38px; margin: 0 0 6px; color: var(--blue); }
.lined {
  width: 100%; border: 0; resize: vertical; background: repeating-linear-gradient(transparent 0 39px, rgba(23,21,18,.25) 39px 41px);
  font-size: 28px; line-height: 41px; color: var(--ink); padding: 0; min-height: 246px; outline: none;
}
.lined::placeholder { color: rgba(23,21,18,.35); }
.checks { border: 0; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.checks legend { font-weight: 700; margin-bottom: 10px; padding: 0; font-size: 13px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; }
.checks span { display: inline-block; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 99px; font-weight: 700; font-size: 15px; transition: .2s; }
.checks input:checked + span { background: var(--pink); color: var(--white); transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.checks input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.postcard__right { display: flex; flex-direction: column; gap: 20px; }
.postcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.postmark { width: 100px; height: 100px; border: 2.5px solid rgba(47,69,255,.7); border-radius: 50%; display: grid; place-items: center; text-align: center; color: rgba(47,69,255,.8); font-size: 11px; font-weight: 700; transform: rotate(-14deg); }
.postcard__stamp { width: 96px; height: 116px; background: var(--pink); color: var(--white); border: 6px dotted var(--white); outline: 2px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(4deg); }
.postcard__stamp span { font-size: 40px; line-height: 1; }
.postcard__stamp small { font-family: var(--mono); font-size: 9px; font-weight: 700; margin-top: 6px; }
.postcard__right label span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.postcard__right input { width: 100%; border: 0; border-bottom: 2.5px solid var(--ink); background: transparent; font-family: var(--hand); font-weight: 700; font-size: 28px; padding: 2px 0; color: var(--ink); outline: none; }
.postcard__right input:focus { border-bottom-color: var(--blue); }
.postcard__right input.invalid { border-bottom-color: #e0182d; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.postcard__alt { margin: 0; font-size: 13px; text-align: center; }

.sent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; }
.sent.is-on { opacity: 1; visibility: visible; }
.sent__plane { width: 110px; margin-bottom: 10px; }
.sent__plane path { fill: var(--white); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.sent__title { font-family: var(--display); font-size: clamp(54px, 7vw, 96px); text-transform: uppercase; line-height: 1; margin: 0; }
.sent .hand { font-size: 32px; margin: 8px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(60px, 8vw, 100px) 0 28px; overflow: hidden; }
.footer__word { display: flex; justify-content: center; gap: .6vw; font-family: var(--display); font-size: clamp(64px, 14.5vw, 240px); line-height: 1; padding: 0 var(--gutter); margin-bottom: 50px; }
.footer__word span { display: inline-block; padding: 0 .06em; border: 3px solid var(--paper); transition: transform .35s var(--ease); }
.footer__word span:nth-child(4n+1) { background: var(--pink); color: var(--white); transform: rotate(-4deg); }
.footer__word span:nth-child(4n+2) { background: var(--yellow); color: var(--ink); transform: rotate(3deg); }
.footer__word span:nth-child(4n+3) { background: var(--blue); color: var(--white); transform: rotate(-2deg); }
.footer__word span:nth-child(4n) { background: var(--paper); color: var(--ink); transform: rotate(5deg); }
.footer__word span:hover { transform: translateY(-.15em) rotate(-10deg) scale(1.05); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline wavy; }

/* ---------- Initial animation states ---------- */
.anim .reveal { opacity: 0; transform: translateY(50px) rotate(-1deg); }
.anim .hero__kicker, .anim .hero__bottom > * { opacity: 0; }
.anim .slam, .anim .rl, .anim .hero__title .chip { opacity: 0; }
.anim .doodle--strike path, .anim .doodle--circle path, .anim .ul path, .anim .doodle--arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .mark--hl { background-size: 0% 45%; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__collage { min-height: 400px; }
  .polaroid { right: 6%; }
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .stack-card__art { min-height: 240px; }
  .panels { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 56px; }
  .panel--2 { transform: rotate(1.5deg); }
  .notes { grid-template-columns: 1fr 1fr; }
  .tickets { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .board { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 18px; padding: 34px 16px; border-width: 10px; }
  .piece { position: relative; left: auto; top: auto; width: auto; }
  .board__sticker { display: none; }
  .poster b { font-size: 32px; }
  .poster--loud b { font-size: 40px; }
  .piece__tag { font-size: 17px; }
  .postcard { grid-template-columns: 1fr; transform: none; }
  .postcard__left { border-right: 0; border-bottom: 2px solid var(--ink); padding: 0 0 24px; }
  .notes { grid-template-columns: 1fr; }
  .note { min-height: 0; }
  .hero__title .line { white-space: normal; }
  .stamp--round { width: 180px; height: 180px; }
  .stamp { min-width: 180px; }
  .tapes { height: 190px; }
  .tape-band__track { font-size: 16px; }
  .tape-band--pink { top: 96px; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 22px; }
  .hero__note { margin-left: 120px; font-size: 26px; }
  .doodle--arrow { width: 80px; left: -86px; }
  .badge-spin { width: 120px; height: 120px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .reel span:first-child { opacity: 1; }
  .mw { position: static; opacity: 1; display: block; text-align: center; }
  .manifesto__stage { height: auto; padding: 120px 0; }
  .manifesto__words { height: auto; }
  .manifesto__pre { position: static; margin-bottom: 30px; }
}
