@font-face { font-family: RvvlMash; src: url(/rubens/rvvl/Mash-Variable.ttf) format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: RvvlCavas; src: url(/rubens/ui-kit/fonts/CavasNeraFree.ttf) format('truetype'); font-display: swap; }
/* The shared kit forces one heading face; these sheets each have their own. */
body #main#main#main#main#main :is(.rv-intro h2, .rv-bonko h3, .rv-kricko h3, .rv-pair h2) { font-family: RvvlMash, sans-serif !important; }
body #main#main#main#main#main :is(.rv-ahem h3, .rv-end h2) { font-family: RvvlCavas, serif !important; }
body #main#main#main#main#main .rv-w2, body #main#main#main#main#main .rv-w2 b { font-family: Didot, 'Bodoni 72', 'Bodoni MT', 'Times New Roman', serif !important; white-space: nowrap !important; }
body #main#main#main#main#main :is(.rv-kricko h3 b, .rv-pair h2 b, .rv-intro h2 span:not(.rv-w2)) { font-family: inherit !important; }
#main .rv-stack { --gap: 45vh; --edge: clamp(16px, 2.4vw, 38px); position: relative; background: #0b0b0b; }
#main .rv-sheet { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 540px; margin-bottom: var(--gap); }
#main .rv-sheet:last-child { margin-bottom: 0; }
#main .rv-paper { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; background: var(--paper); color: var(--ink, #0b0b0b); transform-origin: 50% 30%; will-change: transform; }
#main .rv-paper > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#main .rv-paper::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }
#main .rv-paper :is(h2, h3) { position: absolute; z-index: 2; margin: 0; color: inherit !important; white-space: nowrap; }
#main .rv-copy { position: absolute; z-index: 3; max-width: 330px; margin: -14px; padding: 14px; background: var(--paper); border-radius: 10px; }
#main .rv-copy p { margin: 0 0 6px; color: inherit !important; font: 500 clamp(16px, 1.35vw, 20px)/1.42 GoldstineSynonym, sans-serif; }
#main .rv-copy small { font: 600 14px/1.4 GoldstineSynonym, sans-serif; }
#main .rv-photo { position: absolute; z-index: 1; object-fit: cover; }

/* Player */
#main .rv-player { position: sticky; top: 18px; z-index: 20; height: 0; }
#main .rv-player > div { position: absolute; left: 50%; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; width: min(350px, calc(100vw - 200px)); padding: 10px 14px 11px; transform: translateX(-50%); border-radius: 13px; background: rgb(255 255 255 / .93); color: #0b0b0b; box-shadow: 0 8px 30px rgb(0 0 0 / .09); }
#main .rv-player img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
#main .rv-player strong, #main .rv-player span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#main .rv-player strong { font: 600 16px/1.2 GoldstineChillax, sans-serif; }
#main .rv-player span { color: #555; font: 500 13px/1.35 GoldstineSynonym, sans-serif; }
#main .rv-player nav { display: flex; gap: 4px; }
#main .rv-player button:not(#x) { width: 36px; height: 36px; min-height: 0; padding: 0; border: 1px solid #ddd; border-radius: 50% !important; background: #fff; color: #0b0b0b; cursor: pointer; }
#main .rv-player button svg { display: block; width: 13px; margin: auto; }
#main .rv-player button:hover { background: #0b0b0b !important; color: #fff !important; }
#main .rv-player button:disabled { opacity: .35; pointer-events: none; }
#main .rv-player i { grid-column: 1 / -1; height: 2px; background: #e1e1e1; }
#main .rv-player i::after { content: ""; display: block; height: 100%; background: #0b0b0b; transform: scaleX(var(--p, 0)); transform-origin: 0 0; }
#main :is(.rv-stack, .rv-snap, .rv-chew, .rv-end) :focus-visible { outline: 2px solid #0b0b0b; outline-offset: 3px; }

/* Funny what stays with you */
#main .rv-intro { --paper: #f2f1ee; }
#main .rv-intro h2 { inset: 0; font: 900 clamp(60px, min(17vw, 30vh), 300px)/.95 RvvlMash, sans-serif !important; letter-spacing: -.03em; }
#main .rv-intro h2 span { position: absolute; }
#main .rv-w1 { top: 13%; left: var(--edge); }
#main .rv-w2 { top: 50%; left: 50%; font: italic 400 .92em/1.2 serif; width: max-content; transform: translate(-50%, -50%); }
#main .rv-w2 b { display: block; padding: 0 .12em; font-weight: inherit; }
#main .rv-w2 b:first-child { -webkit-mask: linear-gradient(#000 calc(28% + var(--clear, 0) * 60%), transparent calc(66% + var(--clear, 0) * 60%)); mask: linear-gradient(#000 calc(28% + var(--clear, 0) * 60%), transparent calc(66% + var(--clear, 0) * 60%)); }
#main .rv-w2 b + b { position: absolute; inset: 0; filter: blur(calc((1 - var(--clear, 0)) * .075em)); -webkit-mask: linear-gradient(transparent 20%, #000 62%); mask: linear-gradient(transparent 20%, #000 62%); }
#main .rv-w3 { right: var(--edge); bottom: 6%; }
#main .rv-intro .rv-copy { right: var(--edge); top: 17%; max-width: 290px; }

/* Ahem! */
#main .rv-ahem { --paper: #86ace6; }
#main .rv-ahem h3 { top: 14%; left: var(--edge); font: 400 clamp(60px, min(25vw, 44vh), 440px)/1 GoldstineDisplay, serif !important; letter-spacing: -.03em; }
#main .rv-ahem .rv-photo { right: 0; bottom: 0; width: 60%; height: 76%; object-position: right; -webkit-mask: linear-gradient(90deg, transparent, #000 12%), linear-gradient(transparent, #000 22%); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 12%), linear-gradient(transparent, #000 22%); mask-composite: intersect; }
#main .rv-ahem .rv-copy { left: var(--edge); bottom: 6%; }

/* BONKO! */
#main .rv-bonko { --paper: #fc5601; }
#main .rv-bonko h3 { left: 50%; top: 53%; font: 900 clamp(60px, 23.6vw, 480px)/.8 RvvlMash, sans-serif !important; letter-spacing: -.035em; transform: translate(-50%, -50%); }
#main .rv-bonko .rv-photo { left: 50%; top: 50%; z-index: 3; width: auto; height: 74%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--turn, 0deg)); border-radius: 50%; -webkit-mask: radial-gradient(closest-side, #000 72%, transparent 84%); mask: radial-gradient(closest-side, #000 72%, transparent 84%); }
#main .rv-bonko .rv-copy { right: var(--edge); bottom: 6%; z-index: 4; }

/* Kricko */
#main .rv-kricko { --paper: #fecf02; }
#main .rv-kricko .rv-photo { left: 50%; top: 0; width: auto; height: 100%; aspect-ratio: 960 / 724; transform: translateX(-50%); -webkit-mask: linear-gradient(90deg, transparent 4%, #000 22% 78%, transparent 96%); mask: linear-gradient(90deg, transparent 4%, #000 22% 78%, transparent 96%); }
#main .rv-kricko h3 { left: 50%; top: 52%; display: flex; justify-content: space-between; width: calc(100% - 2 * var(--edge)); transform: translate(-50%, -50%); font: 900 clamp(60px, min(23vw, 46vh), 460px)/1 RvvlMash, sans-serif !important; letter-spacing: -.04em; }
#main .rv-kricko h3 b { display: inline-block; font-weight: 900; }
#main .rv-kricko .rv-copy { left: var(--edge); bottom: 6%; max-width: 260px; }

/* Mouthquake */
#main .rv-quake { --paper: #f05850; }
#main .rv-quake .rv-photo { right: 0; top: 0; width: 72%; height: 100%; object-position: 100% 40%; -webkit-mask: linear-gradient(90deg, transparent, #000 13%); mask: linear-gradient(90deg, transparent, #000 13%); }
#main .rv-quake h3 { left: var(--edge); bottom: 5%; font: 700 clamp(52px, 15vw, 320px)/1 GoldstineChillax, sans-serif !important; letter-spacing: -.05em; }
#main .rv-quake h3 b { display: inline-block; font-weight: 700; }
#main .rv-quake .rv-copy { left: var(--edge); top: 17%; max-width: 280px; }
@keyframes rv-quake { 0%, 100% { transform: none; } 25% { transform: translate(.02em, -.05em) rotate(-3deg); } 50% { transform: translate(-.02em, .03em) rotate(2deg); } 75% { transform: translate(.015em, .05em) rotate(-1deg); } }
#main .rv-quake.is-on h3 b { animation: rv-quake .5s calc(var(--i) * -83ms) infinite; animation-iteration-count: 4; }

/* Snap and chew */
#main .rv-pair { display: grid; grid-template-columns: 1fr 1fr; }
#main .rv-pair > section { position: relative; height: 112vh; min-height: 620px; overflow: hidden; background: #92030c; color: #fff; }
#main .rv-pair > .rv-chew { background: #cc0a1c; }
#main .rv-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#main .rv-pair > section::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgb(40 0 4 / .75)); }
#main .rv-pair h2 { position: absolute; z-index: 2; left: var(--edge, 30px); bottom: 112px; margin: 0; color: #fff !important; font: 900 clamp(76px, 15.5vw, 290px)/.9 RvvlMash, sans-serif !important; letter-spacing: -.035em; }
#main .rv-pair p { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 36px; max-width: 400px; margin: 0; color: #fff !important; font: 500 19px/1.4 GoldstineSynonym, sans-serif; }
#main .rv-snap h2 b { display: block; font-weight: 900; clip-path: polygon(0 -10%, 110% -10%, 110% 40%, 0 58%); transform: translate(calc(var(--s, 0) * .05em), calc(var(--s, 0) * -.07em)) rotate(calc(var(--s, 0) * 1.5deg)); }
#main .rv-snap h2 b + b { position: absolute; inset: 0; clip-path: polygon(0 58%, 110% 40%, 110% 120%, 0 120%); transform: translate(calc(var(--s, 0) * -.03em), calc(var(--s, 0) * .05em)) rotate(calc(var(--s, 0) * -1deg)); }
#main .rv-chew h2 { transform: scaleY(calc(1 + var(--s, 0) * 1.5)); transform-origin: 0 100%; }

/* Closing */
#main .rv-end { position: relative; min-height: min(94vh, 900px); overflow: hidden; background: #9d244d; color: #fff; }
#main .rv-end > img { position: absolute; right: 0; bottom: 0; width: 66%; height: 100%; object-fit: cover; -webkit-mask: linear-gradient(90deg, transparent, #000 30%); mask: linear-gradient(90deg, transparent, #000 30%); }
#main .rv-end > div { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; min-height: inherit; padding: clamp(100px, 8vw, 130px) clamp(16px, 2.4vw, 38px) clamp(30px, 4vw, 56px); }
#main .rv-end h2 { max-width: 7ch; margin: 0; color: #fff !important; font: 400 clamp(60px, 10vw, 180px)/.95 GoldstineDisplay, serif !important; letter-spacing: -.03em; }
#main .rv-end p { max-width: 36ch; margin: 0 0 22px; color: #fff !important; font: 500 19px/1.5 GoldstineSynonym, sans-serif; }
#main .rv-end a:not(#x) { display: inline-block; padding: 15px 24px; border-radius: 99px !important; background: #fff; color: #0b0b0b !important; font: 600 17px/1.2 GoldstineSynonym, sans-serif; text-decoration: none; }
#main .rv-end a:hover { background: #fecf02; }

@media (max-width: 800px) {
  #main .rv-stack { --gap: 25vh; }
  #main .rv-player { top: 84px; }
  #main .rv-player > div { width: min(350px, calc(100vw - 32px)); }
  #main .rv-player button:not(#x) { width: 42px; height: 42px; }
  #main .rv-intro h2 { font-size: min(22.5vw, 17vh) !important; }
  #main .rv-w1 { top: 24%; } #main .rv-w2 { top: 47%; font-size: .72em; } #main .rv-w3 { bottom: 22%; }
  #main .rv-w3 { font-size: .74em; }
  #main .rv-intro .rv-copy { top: auto; max-width: none; left: var(--edge); right: var(--edge); bottom: 5%; }
  #main .rv-ahem h3 { top: 23%; font-size: 24.5vw !important; }
  #main .rv-ahem .rv-photo { width: 100%; height: 45%; bottom: 17%; }
  #main .rv-bonko h3 { top: 31%; font-size: 23.5vw !important; }
  #main .rv-bonko .rv-photo { height: auto; width: 92%; top: 55%; }
  #main .rv-bonko .rv-copy { left: var(--edge); }
  #main .rv-kricko .rv-photo { top: 17%; height: 64%; }
  #main .rv-kricko h3 { top: 49%; font-size: 22vw !important; }
  #main .rv-quake .rv-photo { width: 100%; top: 32%; height: 48%; object-position: 70% 50%; -webkit-mask: linear-gradient(transparent, #000 20% 80%, transparent); mask: linear-gradient(transparent, #000 20% 80%, transparent); }
  #main .rv-quake h3 { top: 23%; bottom: auto; font-size: 14.6vw !important; }
  #main .rv-quake .rv-copy { top: auto; bottom: 5%; }
  #main .rv-pair { grid-template-columns: 1fr; }
  #main .rv-pair > section { height: 88vh; }
  #main .rv-pair h2 { font-size: 29vw !important; left: 16px; }
  #main .rv-pair p { left: 16px; right: 16px; }
  #main .rv-end { min-height: 0; }
  #main .rv-end > img { position: static; width: 100%; height: auto; -webkit-mask: none; mask: none; }
}
@media (prefers-reduced-motion: reduce) {
  #main .rv-sheet { position: relative; margin-bottom: 12px; }
  #main .rv-player { position: relative; }
  #main .rv-quake h3 b { animation: none !important; }
}
