/* ============ TOKENS ============ */
:root {
  --ink: #0f0e0d;
  --ink-2: #1a1816;
  --ink-3: #26231f;
  --bone: #e9e3d6;
  --bone-2: #d9d1c0;
  --purple: #5a3fd0;
  --purple-hi: #7a62ff;
  --tape: rgba(222, 210, 178, 0.82);
  --line: rgba(233, 227, 214, 0.14);
  --fg: var(--bone);
  --bg: var(--ink);
  --mute: rgba(233, 227, 214, 0.55);
  --display: "Anton", "Impact", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --type: "Special Elite", "Courier New", monospace;
  --marker: "Permanent Marker", cursive;
  --ease: cubic-bezier(0.7, 0, 0.3, 1);
  --kick: cubic-bezier(0.3, 1.4, 0.5, 1);
  --navh: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--purple); color: #fff; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.mute { color: var(--mute); }

/* film grain over everything */
.grain {
  position: fixed; inset: -50%; z-index: 400; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, -2%); }
}

/* halftone + gritty photo treatment */
.photo { position: relative; overflow: hidden; background: var(--ink-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.12) brightness(0.95); transition: filter 0.6s, transform 0.9s var(--ease); }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.32) 0.8px, transparent 1.3px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}
.photo:hover img { filter: grayscale(0) contrast(1.05); transform: scale(1.04); }

/* strip of masking tape */
.tape { position: relative; }
.tape::before {
  content: ""; position: absolute; z-index: 3;
  top: -14px; left: 50%; width: 96px; height: 28px;
  transform: translateX(-50%) rotate(var(--tape-r, -4deg));
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  clip-path: polygon(3% 8%, 10% 0, 22% 6%, 38% 0, 55% 5%, 70% 0, 86% 6%, 97% 0, 100% 50%, 97% 100%, 84% 93%, 66% 100%, 50% 94%, 32% 100%, 16% 93%, 4% 100%, 0 52%);
}

/* ============ LOADER / WIPE / CURSOR ============ */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px clamp(16px, 3vw, 36px);
}
.loader__top { display: flex; justify-content: space-between; gap: 12px; }
.loader__count {
  font-family: var(--display); font-size: clamp(120px, 30vw, 380px); line-height: 0.8;
  align-self: flex-end;
}
.loader__bar { height: 6px; background: var(--ink-3); margin-bottom: 14px; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--purple); }

.wipe {
  position: fixed; inset: 0; z-index: 290; pointer-events: none;
  background: var(--purple);
  transform: translateY(100%);
}

.cursor {
  position: fixed; left: 0; top: 0; z-index: 350; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: var(--bone); mix-blend-mode: difference;
  transition: width 0.3s var(--kick), height 0.3s var(--kick), margin 0.3s var(--kick), background 0.2s;
  display: grid; place-items: center;
}
.cursor span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink); opacity: 0; }
.cursor.is-hover { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cursor.is-drag { width: 86px; height: 34px; margin: -17px 0 0 -43px; mix-blend-mode: normal; background: var(--purple); }
.cursor.is-drag span { opacity: 1; color: #fff; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============ HEADER BAR ============ */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--navh);
  display: flex; align-items: stretch;
  background: rgba(15, 14, 13, 0.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(233, 227, 214, 0.14);
  color: var(--bone);
}
.bar__logo {
  display: flex; align-items: center; gap: 10px;
  padding: 0 clamp(16px, 2vw, 26px);
  font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase;
  border-right: 1px solid rgba(233, 227, 214, 0.14);
  flex: none;
}
.bar__logo b { background: var(--purple); color: #fff; padding: 2px 7px 0; font-weight: 400; }
.bar__nav {
  flex: 1; display: flex; align-items: stretch; position: relative;
  overflow-x: auto; scrollbar-width: none;
}
.bar__nav::-webkit-scrollbar { display: none; }
.bar__nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 0 clamp(12px, 1.5vw, 22px);
  font-family: var(--display); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(233, 227, 214, 0.5); white-space: nowrap;
  border-right: 1px solid rgba(233, 227, 214, 0.14);
  transition: color 0.25s, background 0.25s;
}
.bar__nav a small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }
.bar__nav a:hover { color: var(--bone); background: var(--ink-2); }
.bar__nav a.active { color: var(--bone); background: var(--ink-2); }
.bar__ink {
  position: absolute; bottom: 0; left: 0; height: 4px; width: 0;
  background: var(--purple);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}
.bar__end { display: flex; flex: none; }
.bar__btn {
  width: var(--navh); min-width: 54px; display: grid; place-items: center;
  border-left: 1px solid rgba(233, 227, 214, 0.14);
  transition: background 0.25s;
}
.bar__btn:hover { background: var(--ink-2); }
.bar__btn--accent { background: var(--purple); color: #fff; }
.bar__btn--accent:hover { background: var(--purple-hi); }
.bar__btn svg { width: 18px; height: 18px; }

.eq { display: flex; gap: 2px; align-items: flex-end; height: 16px; }
.eq i { width: 3px; height: 4px; background: currentColor; }
.is-playing .eq i { animation: eq 0.8s ease-in-out infinite; }
.is-playing .eq i:nth-child(2) { animation-delay: 0.2s; }
.is-playing .eq i:nth-child(3) { animation-delay: 0.4s; }
.is-playing .eq i:nth-child(4) { animation-delay: 0.1s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }

.now-playing {
  position: fixed; right: 16px; bottom: 16px; z-index: 210;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px;
  background: var(--bone); color: var(--ink);
  border-left: 6px solid var(--purple);
  transform: translateY(160%);
  transition: transform 0.6s var(--ease);
  max-width: calc(100vw - 32px);
}
.now-playing.show { transform: none; }
.now-playing .eq { color: var(--purple); }
.now-playing b { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: 0.03em; text-transform: uppercase; display: block; line-height: 1.1; }
.now-playing small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
#yt { position: fixed; width: 1px; height: 1px; left: -10px; bottom: -10px; opacity: 0; pointer-events: none; }

/* ============ SHARED ============ */
.section { position: relative; padding: clamp(80px, 11vw, 150px) clamp(16px, 4vw, 48px); }
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.label::before { content: ""; width: 22px; height: 3px; background: var(--purple); }
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 8vw, 120px); line-height: 0.9; letter-spacing: 0.005em;
}
.h2 em { font-style: normal; color: var(--purple-hi); }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--bone); color: var(--ink);
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: transform 0.3s var(--kick), box-shadow 0.3s var(--kick);
  box-shadow: 4px 4px 0 var(--purple);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--purple); }
.btn--dark { background: var(--ink); color: var(--bone); }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: 0.04em; }
.split .w > span { display: inline-block; }
.reveal { opacity: 0; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto auto;
  padding: calc(var(--navh) + 24px) clamp(16px, 3vw, 36px) 0;
}
.hero__mid {
  display: grid; grid-template-columns: 1fr 0.9fr 1fr; gap: clamp(16px, 3vw, 44px);
  align-items: center; position: relative; z-index: 2; padding: 10px 0 26px;
}
.hero__photo { aspect-ratio: 4/5; transform: rotate(-2deg); box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.5); max-height: 60vh; justify-self: center; width: 100%; max-width: 380px; }
.hero__photo.tape::before { --tape-r: 3deg; }
.hero__side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero__side--r { align-items: flex-end; text-align: right; }
.hero__roles { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 3.8vw, 60px); line-height: 0.95; }
.hero__roles span { display: block; }
.hero__roles span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.hero__intro { max-width: 34ch; color: var(--mute); font-size: 15px; }
.aka {
  display: inline-block; padding: 9px 14px 7px;
  background: var(--purple); color: #fff;
  font-family: var(--display); font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase;
  transform: rotate(3deg);
  box-shadow: 4px 4px 0 #000;
}
.wordmark {
  position: relative; z-index: 1;
  font-family: var(--display); font-weight: 400;
  line-height: 0.82; text-transform: uppercase; white-space: nowrap;
  font-size: 21vw; letter-spacing: -0.005em;
  margin-bottom: -0.02em;
  user-select: none;
}
.wordmark .ch { display: inline-block; transition: color 0.2s, transform 0.4s var(--kick); }
.wordmark .ch:hover { color: var(--purple-hi); transform: translateY(-0.05em); }

.ticker { display: flex; flex-wrap: wrap; border-top: 3px solid var(--bone); position: relative; z-index: 2; background: var(--ink); margin: 0 calc(-1 * clamp(16px, 3vw, 36px)); }
.ticker > div { flex: 1 1 25%; padding: 14px clamp(16px, 2vw, 24px); border-right: 1px solid var(--line); min-width: 150px; }
.ticker > div:last-child { border-right: 0; }
.ticker b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; margin-top: 6px; }

/* caution-tape marquee */
.marquee { overflow: hidden; background: var(--purple); color: #fff; padding: 12px 0; transform: rotate(-1.5deg) scale(1.03); margin: 50px 0 10px; position: relative; z-index: 5; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.marquee--bone { background: var(--bone); color: var(--ink); transform: rotate(1deg) scale(1.03); margin-top: -18px; }
.marquee__track { display: flex; width: max-content; animation: marq 30s linear infinite; }
.marquee--bone .marquee__track { animation-direction: reverse; animation-duration: 36s; }
.marquee__track span {
  font-family: var(--display); font-size: clamp(26px, 3.2vw, 44px); text-transform: uppercase; letter-spacing: 0.02em;
  padding: 0 26px; display: flex; align-items: center; gap: 52px; white-space: nowrap;
}
.marquee__track span::after { content: "/"; opacity: 0.5; }
@keyframes marq { to { transform: translateX(-50%); } }

/* scroll-lit statement */
.scrub { max-width: 1240px; margin: 0 auto; }
.scrub__text {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(36px, 5.6vw, 84px); line-height: 1; letter-spacing: 0.005em;
}
.scrub__text .sw { color: rgba(233, 227, 214, 0.12); transition: color 0.2s; }
.scrub__text .sw.on { color: var(--bone); }
.scrub__text .sw.hl.on { color: var(--purple-hi); }

/* ============ LIFE SECTIONS ============ */
.life { position: relative; padding: clamp(90px, 10vw, 140px) clamp(16px, 4vw, 48px); overflow: hidden; scroll-margin-top: calc(var(--navh) - 1px); color: var(--fg); background: var(--bg); }
.life--bone { --fg: var(--ink); --bg: var(--bone); --mute: rgba(15, 14, 13, 0.6); --line: rgba(15, 14, 13, 0.16); }
.life__ghost {
  position: absolute; right: -0.04em; top: 0.08em; z-index: 0;
  font-family: var(--display); font-size: clamp(220px, 34vw, 520px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  pointer-events: none;
}
.life__inner { position: relative; z-index: 1; max-width: 1340px; margin: 0 auto; }
.life__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 3px solid currentColor; padding-bottom: 18px; margin-bottom: clamp(40px, 5vw, 70px); }
.life__title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 12vw, 190px); line-height: 0.84;
}
.life__title em { font-style: normal; color: var(--purple); }
.life:not(.life--bone) .life__title em { color: var(--purple-hi); }
.life__kicker { text-align: right; line-height: 1.9; }
.life__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.life--flip .life__grid { grid-template-columns: 1.2fr 1fr; }
.life--flip .life__text { order: 2; }
.life__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 42ch; }
.life__lead b { font-weight: 700; }
.spec { margin-top: 36px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.spec dd { font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: 0.02em; text-align: right; }

.collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: start; }
.collage > * { box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.4); }
.life--bone .collage > * { box-shadow: 10px 10px 0 rgba(15, 14, 13, 0.2); }
.c-a { grid-column: 1 / 5; aspect-ratio: 4/3; transform: rotate(-1.5deg); }
.c-b { grid-column: 4 / 7; aspect-ratio: 3/4; margin-top: -24%; transform: rotate(2.5deg); z-index: 2; }
.c-c { grid-column: 1 / 4; aspect-ratio: 1; margin-top: -30%; transform: rotate(1.5deg); }
.c-d { grid-column: 4 / 7; aspect-ratio: 1; transform: rotate(-2deg); margin-top: 6%; }
.c-full { grid-column: 1 / -1; aspect-ratio: 16/10; transform: rotate(-1deg); }
.c-half { grid-column: span 3; aspect-ratio: 1; }
.c-half:nth-child(even) { transform: rotate(1.5deg); }
.c-half:nth-child(odd) { transform: rotate(-1.2deg); }
.cap {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--ink); color: var(--bone);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px;
}

/* type-only poster blocks */
.poster {
  background: var(--ink); color: var(--bone); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  position: relative;
}
.life:not(.life--bone) .poster { background: var(--bone); color: var(--ink); }
.poster strong { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 6.4vw, 110px); line-height: 0.84; text-transform: uppercase; }
.poster p { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; max-width: 28ch; }
.poster--purple, .life:not(.life--bone) .poster--purple { background: var(--purple); color: #fff; }

/* ============ SCRAPBOOK WALL ============ */
.wall {
  background-color: #1b1a18;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1.5px),
    radial-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 1.5px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
  overflow: hidden;
  scroll-margin-top: calc(var(--navh) - 1px);
}
.wall__head { max-width: 1340px; margin: 0 auto 70px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.wall__head p { max-width: 36ch; color: var(--mute); }
.wall__board { max-width: 1340px; margin: 0 auto; columns: 4 240px; column-gap: 36px; }
.pin {
  break-inside: avoid; display: inline-block; width: 100%; margin: 12px 0 36px;
  transform: rotate(var(--r, 0deg));
  opacity: 0;
}
.pin.dropped { animation: drop 0.9s var(--kick) both; animation-delay: var(--d, 0s); }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-160px) rotate(calc(var(--r, 0deg) * -5)) scale(1.08); }
  50% { opacity: 1; }
  100% { opacity: 1; transform: rotate(var(--r, 0deg)); }
}
.polaroid {
  background: #f4f0e6; padding: 12px 12px 0; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.8);
  color: var(--ink);
}
.polaroid .photo { aspect-ratio: 1; }
.polaroid figcaption { font-family: var(--marker); font-size: 19px; padding: 12px 4px 14px; line-height: 1.2; }
.note {
  background-color: var(--bone); color: var(--ink);
  padding: 26px 22px 22px;
  font-family: var(--type); font-size: 17px; line-height: 28px;
  box-shadow: 0 16px 26px -12px rgba(0, 0, 0, 0.8);
  background-image: repeating-linear-gradient(transparent 0 27px, rgba(90, 63, 208, 0.18) 27px 28px);
  background-position: 0 22px;
}
.note b { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; letter-spacing: 0.01em; margin-bottom: 12px; }
.note--purple { background-color: var(--purple); background-image: none; color: #fff; }
.ticket {
  background: var(--purple); color: #fff; padding: 20px 26px;
  font-family: var(--display); font-size: 40px; text-transform: uppercase; line-height: 0.95;
  -webkit-mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; margin-bottom: 10px; opacity: 0.8; }

/* ============ FILM STRIP CAROUSEL ============ */
.gallery { padding-left: 0; padding-right: 0; overflow: hidden; }
.gallery__head { padding: 0 clamp(16px, 4vw, 48px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.car-ctrl { display: flex; align-items: stretch; border: 1px solid var(--line); }
.car-ctrl button { width: 56px; height: 52px; font-family: var(--display); font-size: 22px; transition: background 0.2s; }
.car-ctrl button:hover { background: var(--ink-2); }
.car-ctrl #carNext { background: var(--purple); color: #fff; }
.car-count { font-family: var(--display); font-size: 22px; min-width: 86px; display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.carousel { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #080807; padding: 4px 0; }
.carousel.dragging { cursor: grabbing; }
.film-holes { height: 26px; background-image: linear-gradient(90deg, transparent 0 10px, rgba(233, 227, 214, 0.85) 10px 24px, transparent 24px 34px); background-size: 34px 12px; background-repeat: repeat-x; background-position: 0 7px; }
.car-track { display: flex; gap: 14px; padding: 4px clamp(16px, 4vw, 48px); will-change: transform; }
.slide { flex: none; width: clamp(240px, 27vw, 360px); }
.slide .photo { aspect-ratio: 4/5; }
.slide .photo img { pointer-events: none; transform: scale(1.15); transition: filter 0.6s; }
.slide .photo:hover img { transform: scale(1.15); }
.slide figcaption { display: flex; gap: 12px; padding: 12px 2px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(233, 227, 214, 0.6); }
.slide figcaption b { color: var(--purple-hi); }
.car-bar { margin: 18px clamp(16px, 4vw, 48px) 0; height: 4px; background: var(--ink-3); overflow: hidden; }
.car-bar i { display: block; height: 100%; width: 100%; background: var(--purple); transform-origin: left; transform: scaleX(0.1); }

/* ============ RIO POSTER ============ */
.rio-poster {
  max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr;
  background: #b9773f; color: var(--ink); position: relative;
  box-shadow: 14px 14px 0 var(--purple);
  transition: transform 0.4s var(--kick), box-shadow 0.4s var(--kick);
}
.rio-poster:hover { transform: translate(-4px, -4px); box-shadow: 18px 18px 0 var(--purple); }
.rio-poster__copy { padding: clamp(26px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.rio-poster__title { font-family: var(--display); font-size: clamp(120px, 18vw, 280px); line-height: 0.78; text-transform: uppercase; }
.rio-poster p { font-size: 18px; max-width: 34ch; }
.rio-poster .photo { min-height: 420px; }
.rio-poster .photo img { position: absolute; inset: 0; }

/* ============ FOOTER ============ */
.footer { background: var(--bone); color: var(--ink); padding: 90px clamp(16px, 3vw, 36px) 0; overflow: hidden; position: relative; }
.footer__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer__big { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 5.4vw, 80px); line-height: 0.92; max-width: 15ch; }
.footer__big span { color: var(--purple); }
.footer__mark { font-family: var(--display); font-size: 17vw; line-height: 0.8; text-transform: uppercase; white-space: nowrap; margin-top: 60px; margin-bottom: -0.03em; }
.footer__mark .ch { display: inline-block; transition: color 0.2s, transform 0.4s var(--kick); }
.footer__mark .ch:hover { color: var(--purple); transform: translateY(-0.06em); }
.footer__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; border-top: 3px solid var(--ink); margin-top: 40px; }

/* torn paper edge between sections */
.torn { display: block; width: 100%; height: 28px; position: relative; z-index: 4; margin: -14px 0; pointer-events: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  :root { --navh: 100px; }
  .bar { flex-wrap: wrap; }
  .bar__logo { height: 54px; border-right: 0; flex: 1; }
  .bar__end { height: 54px; }
  .bar__btn { width: 54px; }
  .bar__nav { order: 3; flex-basis: 100%; height: 46px; border-top: 1px solid rgba(233, 227, 214, 0.14); }
  .hero__mid { grid-template-columns: 1fr 1fr; }
  .hero__side--l { grid-column: 1 / -1; order: 3; }
  .life__grid, .life--flip .life__grid { grid-template-columns: 1fr; }
  .life--flip .life__text { order: 0; }
  .rio-poster { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero__mid { grid-template-columns: 1fr; padding-top: 10px; }
  .hero__photo { max-width: 72%; }
  .hero__side--r { order: -1; align-items: flex-start; text-align: left; }
  .hero__roles { font-size: 40px; }
  .ticker > div { flex-basis: 50%; min-width: 0; }
  .ticker > div:nth-child(2) { border-right: 0; }
  .ticker > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .life__kicker { text-align: left; }
  .collage { gap: 14px; }
  .poster { padding: 16px; }
  .spec dd { font-size: 20px; }
  .wall__board { columns: 1; }
  .pin { max-width: 90%; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .pin { opacity: 1; }
}

/* static screenshot mode (?shot) */
.shot .reveal, .shot .pin { opacity: 1 !important; animation: none !important; }
.shot .grain { display: none; }
.shot .hero { min-height: 900px; }

/* ============ POSTER LAYER: Fight Club / Ocean's 11 one-sheet look ============ */
:root { --red: #d8321f; --gothic: "League Gothic", "Anton", sans-serif; }

/* worn ink: speckled holes knocked out of the big type */
.worn {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='w'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -14 0 0 0 11.4'/></filter><rect width='100%' height='100%' filter='url(%23w)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='w'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -14 0 0 0 11.4'/></filter><rect width='100%' height='100%' filter='url(%23w)'/></svg>");
  -webkit-mask-size: 260px; mask-size: 260px;
}

/* misregistered print: colour plates slightly off */
.wordmark { text-shadow: 0.022em 0.018em 0 var(--purple), -0.008em -0.006em 0 rgba(216, 50, 31, 0.85); }
.life__title, .h2 { text-shadow: 0.035em 0.035em 0 rgba(216, 50, 31, 0.85); }
.footer__mark { text-shadow: 0.02em 0.02em 0 var(--red); }

/* hero: sunburst, colour slab, credits */
.hero { grid-template-rows: 1fr auto auto auto; }
.hero__rays {
  position: absolute; inset: -10% -20% 0; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 58%, rgba(233, 227, 214, 0.07) 0deg 3deg, transparent 3deg 9deg);
  -webkit-mask-image: radial-gradient(circle at 50% 58%, #000 8%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 58%, #000 8%, transparent 62%);
}
.hero__slab {
  position: absolute; z-index: 0; left: 50%; top: 14%;
  width: min(44vw, 620px); height: 60%;
  transform: translateX(-50%) rotate(-7deg);
  background-color: var(--purple);
  background-image: radial-gradient(rgba(0, 0, 0, 0.35) 1.2px, transparent 1.7px);
  background-size: 6px 6px;
  box-shadow: 16px 16px 0 rgba(216, 50, 31, 0.9);
  pointer-events: none;
}
.presents {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--gothic); font-size: clamp(18px, 1.7vw, 26px); letter-spacing: 0.14em; text-transform: uppercase;
}
.presents i { flex: 1; height: 2px; background: currentColor; opacity: 0.4; }
.billing {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; padding: 18px 0 24px;
  font-family: var(--gothic); font-size: clamp(14px, 1.3vw, 19px); letter-spacing: 0.05em; line-height: 1.1;
  text-transform: uppercase; text-align: center; color: var(--mute);
}
.billing b { font-weight: 400; color: var(--fg); font-size: 1.5em; letter-spacing: 0.08em; }
.billing--dark { color: rgba(15, 14, 13, 0.6); padding-top: 30px; }
.billing--dark b { color: var(--ink); }

.poster-stamp {
  position: absolute; right: 12px; bottom: 16px; z-index: 4;
  background: var(--red); color: #fff;
  font-family: var(--display); font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px 4px; transform: rotate(5deg);
  box-shadow: 3px 3px 0 #000;
}

/* duotone photos: colour by default, black and purple when hovered */
.duo img { filter: grayscale(0) contrast(1.05); transition: filter 0.6s; }
.duo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #8b74ff; mix-blend-mode: multiply;
  opacity: 0; transition: opacity 0.6s;
}
.duo:hover::before { opacity: 1; }
.duo:hover img { filter: grayscale(1) contrast(1.3) brightness(1.05); }

/* section graphics: halftone burst + stripe band */
.life { --dot: rgba(233, 227, 214, 0.15); --stripe: rgba(90, 63, 208, 0.22); }
.life--bone { --dot: rgba(15, 14, 13, 0.13); --stripe: rgba(216, 50, 31, 0.13); }
.life::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -12%; bottom: -14%; width: 70%; height: 70%;
  background-image: radial-gradient(var(--dot) 1.4px, transparent 1.9px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent);
  mask-image: radial-gradient(closest-side, #000 20%, transparent);
}
.life::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -25%; top: 42%; width: 85%; height: 130px;
  transform: rotate(-12deg);
  background: repeating-linear-gradient(90deg, var(--stripe) 0 18px, transparent 18px 36px);
}
.life--flip::before { left: auto; right: -12%; }
.life--flip::after { right: auto; left: -25%; transform: rotate(12deg); }
.life__head { position: relative; }
/* (red bar under headings removed) */

/* in short: numbered credits list */
.brief-wrap { overflow: hidden; }
.brief-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.brief-head { position: sticky; top: calc(var(--navh) + 40px); }
.brief { list-style: none; border-top: 3px solid var(--bone); }
.brief li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.brief b { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--bone); transition: color 0.3s, -webkit-text-stroke-color 0.3s; }
.brief span { font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.05; }
.brief em { font-style: normal; color: var(--purple-hi); }
.brief li:hover b { color: var(--red); -webkit-text-stroke-color: var(--red); }

@media (max-width: 1000px) {
  .brief-inner { grid-template-columns: 1fr; }
  .brief-head { position: static; }
  .hero__slab { width: 70vw; top: 18%; height: 46%; }
}
@media (max-width: 600px) {
  .brief li { grid-template-columns: 52px 1fr; gap: 12px; padding: 16px 0; }
  .brief b { font-size: 34px; }
  .presents { font-size: 15px; gap: 10px; }
  .presents span:last-child { display: none; }
  .hero__slab { width: 86vw; top: 24%; height: 34%; }
  .life::after { height: 80px; }
}
@media (max-width: 1000px) {
  .hero__slab { display: none; }
  .hero__photo, .rio .hero__photo { box-shadow: 12px 12px 0 var(--purple), 22px 22px 0 var(--red); margin-bottom: 26px; }
}
