/*
Theme Name: Rudo Studio
Theme URI: https://rudobolcar.com
Author: Digital Bug
Author URI: https://digitalbug.sk
Description: Playful, colourful, scroll-animated portfolio theme made for sculptor and maker Rudo Bolcar. Projects, categories and the timeline are editable in WP admin (Portfolio, Timeline), texts in Appearance / Customize / Rudo Studio.
Version: 1.10.4
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: rudo
*/

:root {
	--paper: #F4EFE6;
	--paper-2: #EAE3D6;
	--ink: #121212;
	--red: #FF3B1F;
	--blue: #2B3BFF;
	--green: #19C26B;
	--yellow: #FFC800;
	--pink: #FF6FB5;
	--muted: #6B6458;
	--display: "Bricolage", "Arial Black", system-ui, sans-serif;
	--mono: "SpaceMono", ui-monospace, Menlo, monospace;
	--pad: clamp(18px, 4vw, 64px);
	--radius: 22px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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(--display);
	font-size: clamp(16px, 1.05vw, 19px);
	line-height: 1.5;
	font-variation-settings: "opsz" 14;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--yellow); color: var(--ink); }
.nowrap { white-space: nowrap; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 0 0 18px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

.section-title {
	font-size: clamp(44px, 8vw, 150px);
	line-height: .88;
	letter-spacing: -.045em;
	font-weight: 800;
	font-variation-settings: "opsz" 96;
	margin: 0;
}
.section-title em { color: var(--red); font-style: italic; font-weight: 700; }
.section-title sup { font-size: .25em; font-family: var(--mono); letter-spacing: 0; vertical-align: top; margin-left: .2em; color: var(--blue); }

/* ---------- Grain ---------- */
.grain {
	position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-5%,3%)} 40%{transform:translate(4%,-4%)} 60%{transform:translate(-3%,5%)} 80%{transform:translate(5%,2%)} 100%{transform:translate(0,0)} }

/* ---------- Loader ---------- */
.loader {
	position: fixed; inset: 0; z-index: 200; background: var(--red); color: var(--ink);
	display: grid; place-items: center; pointer-events: none;
}
.loader__logo { width: 90px; }
.loader__logo svg { width: 100%; height: auto; }
.loader__count { position: absolute; right: var(--pad); bottom: var(--pad); font-size: clamp(60px, 12vw, 180px); font-weight: 800; letter-spacing: -.05em; line-height: .8; font-variation-settings: "opsz" 96; }
.no-js .loader, .loaded .loader { display: none; }
.loader { animation: loaderFail 0s 6s forwards; }
@keyframes loaderFail { to { visibility: hidden; } }

/* ---------- Cursor ---------- */
.cursor {
	position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
	width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
	background: var(--ink); display: grid; place-items: center;
	transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .25s;
	opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor__label { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--paper); text-transform: uppercase; letter-spacing: .08em; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--yellow); }
.cursor.is-big .cursor__label { opacity: 1; color: var(--ink); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.admin-bar .site-header { top: 32px; }
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	display: flex; justify-content: space-between; align-items: center;
	padding: 18px var(--pad);
	pointer-events: none;
	transition: transform .5s var(--ease);
}
.site-header > * { pointer-events: auto; }
.site-header.is-hidden { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .rb-logo { width: 34px; height: auto; transition: transform .6s var(--ease); }
.brand:hover .rb-logo { transform: rotate(-12deg) scale(1.1); }
.brand__name { font-family: var(--mono); font-size: 12px; line-height: 1.15; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.nav { display: flex; gap: 6px; background: rgba(244, 239, 230, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px; }
.nav a { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .25s, color .25s; display: inline-block; }
.nav a:hover { background: var(--ink); color: var(--paper); }
.nav .nav__cta { background: var(--red); color: var(--ink); }
.nav .nav__cta:hover { background: var(--ink); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 16px 28px; border-radius: 999px; background: var(--ink); color: var(--paper);
	font-weight: 700; border: 2px solid var(--ink); transition: background .25s, color .25s;
}
.btn:hover { background: var(--yellow); color: var(--ink); }
.btn--big { font-size: clamp(18px, 2.2vw, 34px); padding: .7em 1.3em; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: grid; place-items: center; overflow: hidden;
	padding: 110px var(--pad) 90px;
}
.hero__inner { position: relative; z-index: 3; text-align: center; pointer-events: none; }
.hero__kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; margin: 0 0 1.5vw; display: inline-flex; gap: 10px; align-items: center; background: var(--paper); padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--ink); }
.hero__kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(25,194,107,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(25,194,107,0); } 100% { box-shadow: 0 0 0 0 rgba(25,194,107,0); } }
.hero__title {
	margin: 0; font-weight: 800; line-height: .78; letter-spacing: -.06em;
	font-size: clamp(76px, min(20vw, 27vh), 380px);
	font-variation-settings: "opsz" 96;
	display: flex; flex-direction: column; align-items: center;
}
.hero__row { display: flex; }
.hero__row--2 { margin-top: -.02em; }
.ch { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.hero__row--2 .ch:nth-child(2) { color: var(--red); }
.hero__row .ch:nth-child(4) { color: var(--blue); }
.hero__row--2 .ch:nth-child(4) { color: var(--ink); }
.hero__row--2 .ch:nth-child(5) { color: var(--green); }
.hero__sub { margin: 1.4vw auto 0; max-width: 40ch; font-size: clamp(14px, 1.15vw, 18px); font-weight: 500; background: var(--paper); display: inline-block; padding: 4px 10px; border-radius: 8px; }

.hero__stickers { position: absolute; inset: 0; z-index: 2; }
.sticker {
	position: absolute; width: clamp(120px, 15vw, 260px);
	background: #fff; padding: 8px 8px 34px; border-radius: 10px;
	box-shadow: 0 18px 40px -16px rgba(0,0,0,.35), 0 0 0 1.5px var(--ink);
	transform: rotate(var(--rot, 0deg)); cursor: grab; touch-action: none; user-select: none;
	will-change: transform;
}
.sticker:active { cursor: grabbing; }
.sticker img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; pointer-events: none; }
.sticker__tag { position: absolute; left: 10px; right: 10px; bottom: 7px; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticker::after { content: ""; position: absolute; top: -10px; left: 50%; width: 56px; height: 20px; margin-left: -28px; background: var(--c); opacity: .85; transform: rotate(-4deg); border-radius: 2px; }
.sticker--0 { left: 3%; top: 15%; --rot: -9deg; }
.sticker--1 { right: 4%; top: 13%; --rot: 7deg; }
.sticker--2 { left: 9%; bottom: 7%; --rot: 6deg; }
.sticker--3 { right: 11%; bottom: 6%; --rot: -7deg; }
.sticker--4 { left: 31%; top: 9%; --rot: 4deg; width: clamp(90px, 10vw, 170px); }
.sticker--5 { right: 31%; bottom: 3%; --rot: -4deg; width: clamp(90px, 10vw, 170px); }
.sticker--6 { right: 26%; top: 7%; --rot: -10deg; width: clamp(80px, 8vw, 140px); }

.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 22px; width: 104px; height: 104px; margin-left: -52px; display: grid; place-items: center; }
.hero__scroll svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.hero__scroll text { font-family: var(--mono); font-size: 15.5px; font-weight: 700; letter-spacing: .12em; fill: var(--ink); }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 22px; border: 1.5px solid var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bands ---------- */
.bands { position: relative; height: clamp(140px, 14vw, 230px); overflow: hidden; margin: -10px 0; z-index: 4; }
.band { position: absolute; left: -10%; right: -10%; padding: 14px 0; border-block: 2px solid var(--ink); overflow: hidden; }
.band--red { top: 8%; background: var(--red); transform: rotate(-4deg); }
.band--blue { top: 46%; background: var(--blue); color: var(--paper); transform: rotate(3deg); }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__track span { font-size: clamp(30px, 4.6vw, 76px); font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; padding-right: .4em; text-transform: uppercase; font-variation-settings: "opsz" 72; }

/* ---------- Intro ---------- */
.intro { padding: clamp(80px, 14vw, 220px) var(--pad); max-width: 1500px; margin: 0 auto; }
.intro__text { font-size: clamp(30px, 4.6vw, 80px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 0; font-variation-settings: "opsz" 72; }
.intro__text .w { opacity: .14; transition: none; }
.no-js .intro__text .w { opacity: 1; }
.intro__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.chip { padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 700; background: var(--c); transform: rotate(var(--rr, 0deg)); }
.chip:nth-child(2) { color: var(--paper); --rr: 2deg; }
.chip:nth-child(1) { --rr: -2deg; }
.chip:nth-child(4) { --rr: -1deg; }

/* ---------- Horizontal works ---------- */
.hscroll { position: relative; background: var(--ink); color: var(--paper); }
.hscroll__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hscroll__head { position: absolute; bottom: 58px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.hscroll__head .eyebrow::before { background: var(--yellow); }
.hscroll__hint { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin: 0; }
.hscroll__hint span { display: inline-block; animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.hscroll__track { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); padding: 0 var(--pad); margin-top: -40px; width: max-content; will-change: transform; cursor: grab; user-select: none; }
.hscroll__track.is-dragging { cursor: grabbing; }
.hcard { position: relative; width: clamp(240px, calc((100vh - 250px) * .8), 560px); flex: 0 0 auto; display: block; }
.hcard__num { position: absolute; top: -.55em; left: -.1em; z-index: 2; font-size: clamp(48px, 5.4vw, 104px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--c); font-variation-settings: "opsz" 96; -webkit-text-stroke: 2px var(--paper); }
.hcard__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c); position: relative; }
.hcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .9s var(--ease); pointer-events: none; }
.hcard:hover .hcard__media img { transform: scale(1.02); }
.hcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 16px; }
.hcard__title { font-size: clamp(22px, 2.2vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1; text-align: right; }
.hcard__cat { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; padding: 6px 10px; border-radius: 999px; background: var(--c); color: var(--ink); white-space: nowrap; }
.hcard--end { display: grid; place-items: center; align-self: center; width: clamp(240px, 26vw, 420px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); color: var(--ink); transition: transform .5s var(--ease), background .3s; }
.hcard--end:hover { transform: rotate(-8deg) scale(1.04); background: var(--red); }
.hcard__end { font-size: clamp(28px, 3vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: .95; text-align: center; }
.hscroll__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 3px; background: rgba(244,239,230,.18); border-radius: 3px; overflow: hidden; }
.hscroll__bar span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Work grid ---------- */
.work { padding: clamp(90px, 12vw, 180px) var(--pad) clamp(60px, 8vw, 120px); }
.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(36px, 5vw, 72px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; justify-content: flex-end; }
.filter { padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 700; font-size: 15px; transition: background .25s, color .25s, transform .3s var(--ease); }
.filter:hover { transform: translateY(-3px) rotate(-2deg); }
.filter.is-active { background: var(--c); color: #fff; }
.filter[data-filter="all"].is-active { color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 30px); grid-auto-flow: dense; }
.card { position: relative; display: block; }
.card:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.card:nth-child(7n+5) { grid-column: span 2; }
.card__media { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c); aspect-ratio: 4 / 5; }
.card:nth-child(7n+1) .card__media { aspect-ratio: auto; height: calc(100% - 64px); min-height: 360px; }
.card:nth-child(7n+5) .card__media { aspect-ratio: 16 / 10; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), clip-path .6s var(--ease); clip-path: inset(0 round var(--radius)); }
.card:hover .card__media img { transform: scale(1.06) rotate(var(--r)); clip-path: inset(10px round 14px); }
.card__info { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.card__title { font-size: clamp(19px, 1.5vw, 26px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.card:nth-child(7n+1) .card__title { font-size: clamp(26px, 2.6vw, 46px); }
.card__cat { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card.is-hidden { display: none; }

/* ---------- Story / Timeline ---------- */
.story { position: relative; padding: clamp(90px, 12vw, 180px) var(--pad) clamp(80px, 10vw, 160px); background: var(--paper-2); overflow: clip; }
.story__head { position: relative; z-index: 2; max-width: 1100px; margin-bottom: clamp(60px, 8vw, 120px); }
.story__ghost { position: sticky; top: 18vh; height: 0; z-index: 0; pointer-events: none; text-align: center; }
.story__ghost span { display: inline-block; font-size: clamp(110px, 24vw, 460px); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(18,18,18,.12); font-variation-settings: "opsz" 96; white-space: nowrap; }
.timeline { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 40px 0; }
.timeline__line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.timeline__path-bg { fill: none; stroke: rgba(18,18,18,.12); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.timeline__path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.moment { position: relative; display: flex; padding: clamp(28px, 4vw, 60px) 0; }
.moment--l { justify-content: flex-start; }
.moment--r { justify-content: flex-end; }
.moment__dot { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--paper-2); border: 4px solid var(--ink); z-index: 2; transition: background .3s, transform .4s var(--ease); }
.moment.is-active .moment__dot { background: var(--c); transform: scale(1.35); }
.moment__card {
	width: min(44%, 520px); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
	padding: clamp(22px, 2.4vw, 36px); position: relative; box-shadow: 8px 8px 0 var(--c);
	transform: rotate(var(--tilt, -1.5deg));
}
.moment--r .moment__card { --tilt: 1.5deg; }
.moment__label { display: inline-block; font-size: clamp(40px, 5vw, 86px); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--c); -webkit-text-stroke: 1.5px var(--ink); font-variation-settings: "opsz" 96; margin-bottom: 10px; }
.moment__title { margin: 0 0 6px; font-size: clamp(22px, 2vw, 32px); line-height: 1.05; letter-spacing: -.025em; }
.moment__place { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.moment__text p { margin: 0 0 .6em; }
.moment__text p:last-child { margin: 0; }

/* ---------- Materials ---------- */
.materials { padding: clamp(90px, 12vw, 180px) var(--pad) 40px; }
.materials__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.materials__head .eyebrow { grid-column: 1 / -1; }
.materials__hint { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin: 0; }
.materials__box { position: relative; height: clamp(360px, 42vw, 560px); margin-top: 40px; border: 2px solid var(--ink); border-radius: 36px; overflow: hidden; background: #fff; background-image: radial-gradient(rgba(18,18,18,.14) 1.4px, transparent 1.4px); background-size: 26px 26px; touch-action: pan-y; }
.blob {
	position: absolute; left: 0; top: 0; padding: .55em 1em; border-radius: 999px; border: 2px solid var(--ink);
	background: var(--c); font-size: clamp(24px, 3.4vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1;
	user-select: none; touch-action: none; cursor: grab; white-space: nowrap; box-shadow: 0 10px 0 -2px var(--ink);
	font-variation-settings: "opsz" 72;
}
.blob:active { cursor: grabbing; }
.blob--1 { color: var(--paper); border-radius: 30px; }
.blob--3 { border-radius: 18px 60px 18px 60px; }
.blob--4 { border-radius: 60px 18px; }
.blob--6 { background: linear-gradient(135deg, #f3f5f8, #9aa3af 45%, #f5f7fa 60%, #7b8491); }

/* ---------- Brands ---------- */
.brands { padding: clamp(80px, 10vw, 160px) var(--pad); text-align: center; }
.brands .eyebrow { justify-content: center; }
.brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .35em; font-size: clamp(34px, 6.4vw, 118px); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; font-variation-settings: "opsz" 96; }
.brands__list li { display: inline-flex; align-items: center; }
.brands__list li span { transition: color .3s, transform .4s var(--ease); display: inline-block; }
.brands__list li::after { content: "✺"; font-size: .4em; margin-left: .35em; color: var(--red); }
.brands__list li:last-child::after { content: none; }
.brands__list li:nth-child(4n+1):hover span { color: var(--red); }
.brands__list li:nth-child(4n+2):hover span { color: var(--blue); }
.brands__list li:nth-child(4n+3):hover span { color: var(--green); }
.brands__list li:nth-child(4n+4):hover span { color: var(--pink); }
.brands__list li:hover span { transform: rotate(-4deg) scale(1.05); }

/* ---------- Contact / footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); border-radius: 40px 40px 0 0; overflow: hidden; }
.contact { position: relative; padding: clamp(90px, 12vw, 200px) var(--pad) clamp(60px, 8vw, 120px); }
.contact .eyebrow::before { background: var(--yellow); }
.contact__title { margin: 0; font-size: clamp(64px, 14vw, 260px); font-weight: 800; letter-spacing: -.06em; line-height: .84; font-variation-settings: "opsz" 96; }
.contact__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.contact__title .line > span { display: inline-block; }
.contact__title em { color: var(--yellow); font-style: italic; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(30px, 4vw, 60px); }
.contact .btn { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.contact .btn:hover { background: var(--paper); border-color: var(--paper); }
.contact .btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.contact .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.contact__spin { position: absolute; right: var(--pad); top: clamp(60px, 8vw, 140px); width: clamp(130px, 15vw, 240px); aspect-ratio: 1; display: grid; place-items: center; }
.contact__spin svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.contact__spin text { font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: .1em; fill: var(--paper); }
.contact__spin .rb-logo { width: 34%; color: var(--red); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px var(--pad); border-top: 1px solid rgba(244,239,230,.18); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Single project ---------- */
.project__hero { position: relative; background: var(--c); padding: 130px var(--pad) 0; overflow: hidden; }
.back { position: absolute; top: 96px; left: var(--pad); font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; background: var(--paper); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ink); z-index: 3; }
.project__titlewrap { position: relative; z-index: 2; padding-top: 40px; }
.project__cat { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px; background: var(--paper); display: inline-block; padding: 5px 10px; border-radius: 6px; }
.project__title { margin: 0; font-size: clamp(54px, 11vw, 210px); font-weight: 800; letter-spacing: -.06em; line-height: .84; font-variation-settings: "opsz" 96; color: var(--ink); max-width: 14ch; }
.project__cover { margin: clamp(30px, 4vw, 60px) 0 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; max-height: 82vh; cursor: zoom-in; }
.project__cover img { width: 100%; height: 100%; max-height: 82vh; object-fit: cover; }
.project__body { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: clamp(30px, 6vw, 100px); padding: clamp(60px, 8vw, 120px) var(--pad); }
.project__facts dl { margin: 0; display: grid; gap: 18px; position: sticky; top: 110px; }
.project__facts dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.project__facts dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; }
.project__text { font-size: clamp(22px, 2.3vw, 38px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.project__text p { margin: 0 0 .8em; }
.pgallery { columns: 3 320px; column-gap: clamp(14px, 2vw, 28px); padding: 0 var(--pad) clamp(60px, 8vw, 120px); }
.pgallery__item { break-inside: avoid; margin: 0 0 clamp(14px, 2vw, 28px); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--c); }
.pgallery__item img { width: 100%; transition: transform .8s var(--ease); }
.pgallery__item:hover img { transform: scale(1.04); }
.next { display: block; position: relative; padding: clamp(70px, 10vw, 160px) var(--pad); background: var(--c); overflow: hidden; border-top: 2px solid var(--ink); }
.next .eyebrow::before { background: var(--ink); }
.next__title { display: block; position: relative; z-index: 2; font-size: clamp(54px, 10vw, 190px); font-weight: 800; letter-spacing: -.06em; line-height: .85; font-variation-settings: "opsz" 96; transition: transform .6s var(--ease); }
.next:hover .next__title { transform: translateX(2vw); }
.next__img { position: absolute; right: var(--pad); top: 50%; width: clamp(160px, 22vw, 360px); transform: translateY(-50%) rotate(6deg); border-radius: 16px; overflow: hidden; border: 2px solid var(--ink); transition: transform .6s var(--ease); }
.next:hover .next__img { transform: translateY(-50%) rotate(-4deg) scale(1.06); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(18,18,18,.96); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 80px; touch-action: none; cursor: grab; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); font-size: 22px; font-weight: 700; display: grid; place-items: center; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -27px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -27px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--paper); font-family: var(--mono); font-size: 13px; letter-spacing: .14em; }

/* ---------- Plain pages ---------- */
.page-plain { padding: 160px var(--pad) 120px; min-height: 70vh; }
.plain { max-width: 900px; }
.plain__title { font-size: clamp(48px, 8vw, 130px); letter-spacing: -.05em; line-height: .9; margin: 0 0 30px; font-variation-settings: "opsz" 96; }
.plain__title em { color: var(--red); font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid { grid-template-columns: repeat(3, 1fr); }
	.card:nth-child(7n+5) { grid-column: span 1; }
	.card:nth-child(7n+5) .card__media { aspect-ratio: 4 / 5; }
}
@media (max-width: 900px) {
	.brand__name { display: none; }
	.nav a { padding: 8px 13px; font-size: 14px; }
	.sticker { width: 30vw; padding: 5px 5px 24px; }
	.sticker__tag { font-size: 9px; bottom: 5px; }
	.sticker--0 { left: -4%; top: 12%; }
	.sticker--1 { right: -4%; top: 16%; }
	.sticker--2 { left: 2%; bottom: 14%; }
	.sticker--3 { right: 2%; bottom: 13%; }
	.sticker--4, .sticker--5, .sticker--6 { display: none; }
	.hero__title { font-size: 26vw; }
	.hscroll__pin { height: auto; padding: 120px 0 70px; }
	.hscroll__head { top: 40px; }
	.hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.hscroll__track::-webkit-scrollbar { display: none; }
	.hcard { width: 76vw; scroll-snap-align: center; }
	.hcard--end { width: 60vw; }
	.hscroll__bar { bottom: 30px; }
	.grid { grid-template-columns: repeat(2, 1fr); }
	.card:nth-child(7n+1) { grid-column: span 2; grid-row: span 1; }
	.card:nth-child(7n+1) .card__media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
	.filters { justify-content: flex-start; }
	.story__ghost { top: 30vh; }
	.timeline { padding-left: 0; }
	.moment, .moment--r { justify-content: flex-end; padding: 22px 0; }
	.moment__dot { left: 22px; top: 44px; margin-top: 0; }
	.moment__card { width: calc(100% - 64px); --tilt: 0deg !important; box-shadow: 6px 6px 0 var(--c); }
	.materials__head { grid-template-columns: 1fr; }
	.contact__spin { position: relative; right: auto; top: auto; margin-top: 50px; }
	.project__body { grid-template-columns: 1fr; }
	.project__facts dl { position: static; grid-template-columns: repeat(2, 1fr); }
	.next__img { opacity: .5; }
	.lightbox__stage { padding: 60px 12px; }
	.lightbox__nav { top: auto; bottom: 14px; margin: 0; width: 46px; height: 46px; }
}
@media (max-width: 520px) {
	.grid { grid-template-columns: 1fr; }
	.card:nth-child(7n+1) { grid-column: span 1; }
	.hero { padding-top: 90px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
	.intro__text .w { opacity: 1 !important; }
}

/* =========================================================
   v1.1 Characters, cut-outs, doodles, story page
   ========================================================= */
.hand { font-family: "Hand", "Comic Sans MS", cursive; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1; }
.hand--say {
	position: absolute; white-space: nowrap; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px;
	padding: 6px 14px 8px; font-size: 22px; box-shadow: 4px 4px 0 var(--ink);
}
.hand--say::after { content: ""; position: absolute; left: 18px; bottom: -11px; width: 16px; height: 16px; background: #fff; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }

/* Buddy */
.buddy { display: block; width: 100%; height: auto; overflow: visible; }
.buddy__pupil { transition: transform .15s linear; }
.buddy__eyes { animation: blink 4.5s infinite; transform-origin: 60px 62px; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
.buddy--wave .buddy__arm--r, .buddy--wave .buddy__tool { animation: wave 1.2s ease-in-out infinite; transform-origin: 92px 70px; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
.buddy--walk .buddy__leg--l { animation: step .5s ease-in-out infinite; transform-origin: 48px 120px; }
.buddy--walk .buddy__leg--r { animation: step .5s ease-in-out infinite reverse; transform-origin: 72px 120px; }
.buddy--walk .buddy__body { animation: bounce .25s ease-in-out infinite alternate; }
.is-idle .buddy--walk .buddy__leg--l, .is-idle .buddy--walk .buddy__leg--r, .is-idle .buddy--walk .buddy__body { animation-play-state: paused; }
@keyframes step { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes bounce { to { transform: translateY(-3px); } }
.buddy--sit .buddy__legs { transform: translateY(-10px) scaleY(.6); transform-origin: 60px 120px; }
.buddy--confused .buddy__body { animation: tilt 2s ease-in-out infinite; transform-origin: 60px 120px; }
@keyframes tilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* Doodles */
.doodle { display: block; width: 100%; height: auto; overflow: visible; }
.doodle .spin-slow { animation: spin 16s linear infinite; }
.doodle .bob, .doodle--robot .bob { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.doodle .wiggle { animation: wig 2.2s ease-in-out infinite; }
@keyframes wig { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.doodle .swing { animation: wig 1.8s ease-in-out infinite; }
.doodle .wave { animation: wig 1s ease-in-out infinite; }
.doodle .twinkle { animation: twinkle 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { 50% { transform: scale(.7) rotate(20deg); opacity: .7; } }
.doodle .beam { animation: beam 2.4s ease-in-out infinite; transform-origin: 56px 30px; }
.doodle .beam--2 { animation-delay: -1.2s; transform-origin: 104px 30px; }
@keyframes beam { 50% { transform: rotate(8deg); opacity: .25; } }
.doodle .flame { animation: flame .18s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes flame { to { transform: scaleY(1.25); } }
.doodle .fly { animation: bob 1.4s ease-in-out infinite; }
.doodle .blink { animation: twinkle 1s steps(2) infinite; }
.doodle .glow { animation: beam 3s ease-in-out infinite; }

/* Hero: cut-out stickers */
.sticker--cut { background: transparent; padding: 0; box-shadow: none; width: clamp(130px, min(15vw, 27vh), 290px); filter: drop-shadow(8px 12px 0 rgba(18,18,18,.18)); }
.sticker--cut::after { display: none; }
.sticker--cut img { aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.sticker--cut .sticker__tag { position: absolute; left: 50%; right: auto; bottom: -8px; transform: translateX(-50%) rotate(-3deg); background: var(--ink); color: var(--paper); padding: 4px 9px; border-radius: 6px; max-width: 90%; }
.hero__note { position: absolute; z-index: 4; right: 4%; left: auto; top: 50%; text-align: right; font-size: clamp(20px, 1.8vw, 28px); transform: rotate(-6deg); pointer-events: none; color: var(--ink); }
.hero__note svg { width: 70px; display: block; margin: 0 10px 2px auto; transform: rotate(-100deg); }
.hero__buddy { position: absolute; z-index: 4; left: 50%; bottom: -26px; width: clamp(70px, 7vw, 110px); margin-left: calc(-1 * clamp(70px, 7vw, 110px) - 70px); }

/* Selected works hint */
.hscroll__hint .hand { font-size: 22px; color: var(--yellow); margin-right: 6px; display: inline-block; transform: rotate(-4deg); animation: none; }

/* Grid: cover + real photo */
.card__media.has-cover .card__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: opacity .5s var(--ease), transform .8s var(--ease); clip-path: none; }
.card__media.has-cover .card__photo { opacity: 0; transform: scale(1.12); }
.card:hover .card__media.has-cover .card__cover { opacity: 0; transform: scale(1.1) rotate(var(--r)); }
.card:hover .card__media.has-cover .card__photo { opacity: 1; transform: scale(1); clip-path: inset(0 round var(--radius)); }
.work__titlewrap { position: relative; }
.work__note { margin: 14px 0 0 6px; font-size: clamp(20px, 1.7vw, 28px); transform: rotate(-3deg); color: var(--blue); }
.work__head { position: relative; }
.work__buddy { position: absolute; right: 30px; top: -84px; width: 74px; transform: rotate(6deg); }

/* Story teaser on home */
.teaser { padding: clamp(90px, 12vw, 180px) var(--pad); background: var(--paper-2); overflow: hidden; }
.teaser__track { position: relative; display: grid; grid-template-columns: repeat(9, minmax(120px, 1fr)); gap: 12px; margin: clamp(40px, 6vw, 80px) 0; overflow-x: auto; scrollbar-width: none; padding: 10px 4px 20px; cursor: grab; }
.teaser__track::-webkit-scrollbar { display: none; }
.teaser__line { position: absolute; left: 0; top: 70px; width: 100%; min-width: 1100px; height: 120px; pointer-events: none; }
.teaser__item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px; border-radius: 20px; transition: transform .4s var(--ease), background .3s; }
.teaser__item:nth-child(odd) { transform: translateY(26px); }
.teaser__item:hover { background: #fff; transform: translateY(-6px) rotate(-3deg); }
.teaser__item .doodle { width: 110px; }
.teaser__label { font-size: 28px; font-weight: 800; letter-spacing: -.04em; color: var(--c); -webkit-text-stroke: 1.2px var(--ink); line-height: 1; }
.teaser__title { font-size: 14px; font-weight: 600; line-height: 1.15; }
.teaser__cta { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.teaser__buddy { position: relative; width: 90px; }
.teaser__buddy .hand--say { left: 84px; top: -10px; }

/* Timeline art + walker */
.moment__art { position: absolute; top: 50%; width: clamp(120px, 13vw, 190px); transform: translateY(-50%); z-index: 1; }
.moment--l .moment__art { left: calc(50% + 150px); }
.moment--r .moment__art { right: calc(50% + 150px); }
.timeline__walker { position: absolute; left: 0; top: 0; width: 96px; z-index: 5; pointer-events: none; will-change: transform; }
.walker__say { position: absolute; left: 84px; top: -26px; white-space: nowrap; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; padding: 4px 12px 6px; font-family: "Hand", cursive; font-weight: 700; font-size: 20px; box-shadow: 3px 3px 0 var(--ink); transform-origin: 0 100%; }
.timeline__walker.is-flip .buddy { transform: scaleX(-1); }

/* Story page */
.story-hero { position: relative; min-height: 92vh; padding: 150px var(--pad) 80px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.story-hero__title { margin: 0; font-size: clamp(60px, 12vw, 220px); font-weight: 800; letter-spacing: -.06em; line-height: .84; font-variation-settings: "opsz" 96; }
.story-hero__title .line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.story-hero__title .line > span { display: inline-block; }
.story-hero__title em { color: var(--red); font-style: italic; }
.story-hero__lead { max-width: 40ch; font-size: clamp(18px, 1.6vw, 24px); margin: 30px 0 0; font-weight: 500; }
.story-hero__doodles .doodle { position: absolute; width: clamp(140px, 16vw, 260px); }
.story-hero__doodles .doodle--birth { right: 5%; bottom: 12%; transform: rotate(6deg); }
.story-hero__doodles .doodle--rocket { right: 28%; bottom: 6%; width: clamp(90px, 10vw, 150px); transform: rotate(18deg); }
.story-hero__buddy { position: absolute; left: 52%; bottom: 40px; width: 96px; }
.story-hero__buddy .hand--say { left: 90px; top: -14px; }
.story--page { padding-top: 40px; }
.story-end { padding: 60px var(--pad) clamp(90px, 12vw, 160px); text-align: center; background: var(--paper-2); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.story-end .hand { font-size: clamp(30px, 3.4vw, 54px); margin: 0 0 10px; }
.story-end .btn--ghost { margin-top: -6px; }

/* Contact buddy */
.contact__buddy { position: absolute; right: calc(var(--pad) + clamp(150px, 17vw, 270px)); bottom: clamp(60px, 8vw, 120px); width: clamp(80px, 8vw, 120px); }
.contact__buddy .hand--say { right: 80%; left: auto; top: -46px; color: var(--ink); font-size: 20px; }
.contact__buddy .hand--say::after { left: auto; right: 18px; }

/* Materials buddy */
.blob--buddy { background: transparent; border: 0; box-shadow: none; padding: 0; width: clamp(80px, 7vw, 110px); }

/* 404 buddy */
.nf-buddy { width: 120px; margin-bottom: 20px; }

@media (max-width: 900px) {
	.hero__note { left: 6%; top: 64%; font-size: 18px; }
	.hero__note svg { width: 50px; }
	.hero__buddy { width: 64px; margin-left: -110px; bottom: -18px; }
	.sticker--cut { width: 34vw; }
	.work__note { position: static; display: block; margin-top: 10px; }
	.work__buddy { display: none; }
	.moment__art { position: absolute; top: -26px; right: 6px; left: auto !important; width: 86px; transform: rotate(6deg); }
	.moment--r .moment__art { right: 6px; }
	.timeline__walker { width: 52px; }
	.walker__say { display: none; }
	.story-hero__doodles .doodle--birth { right: -30px; top: 90px; width: 150px; opacity: .9; }
	.story-hero__buddy { position: relative; left: auto; bottom: auto; margin-top: 40px; width: 76px; }
	.contact__buddy { position: relative; right: auto; bottom: auto; margin-top: 50px; }
	.contact__buddy .hand--say { left: 80px; right: auto; top: 0; }
	.contact__buddy .hand--say::after { left: 18px; right: auto; }
	.teaser__track { grid-template-columns: repeat(9, 140px); }
}

/* =========================================================
   v1.2 Playful UI: nav, language switch, buttons
   ========================================================= */
.header-right { display: flex; align-items: center; gap: 10px; }
.nav { box-shadow: 4px 4px 0 var(--ink); }
.nav__link { position: relative; overflow: hidden; }
.nav__txt { display: inline-block; transition: transform .45s cubic-bezier(.34,1.8,.5,1); }
.nav__link:hover .nav__txt { transform: rotate(-6deg) scale(1.08); }
.nav__link:active .nav__txt { transform: scale(.85); }
.nav__link.is-current { background: var(--yellow); }
.nav__wave { font-style: normal; display: inline-block; margin-left: 6px; transform-origin: 70% 80%; }
.nav__cta:hover .nav__wave { animation: wave 0.6s ease-in-out 2; }
.nav a:nth-child(1):hover { background: var(--blue); color: var(--paper); }
.nav a:nth-child(2):hover { background: var(--green); color: var(--ink); }

/* Language toggle: a squishy pill with a sliding blob */
.lang {
	position: relative; display: inline-flex; align-items: center; height: 46px; padding: 4px; gap: 0;
	background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
	font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .08em; user-select: none;
	transition: transform .3s cubic-bezier(.34,1.8,.5,1), box-shadow .2s;
}
.lang:hover { transform: rotate(-4deg); }
.lang:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.lang__opt { position: relative; z-index: 2; width: 40px; text-align: center; transition: color .3s; }
.lang__knob { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: 40px; border-radius: 999px; background: var(--pink); border: 1.5px solid var(--ink); transition: transform .5s cubic-bezier(.34,1.6,.5,1), background .3s, width .2s; }
.lang.is-sk .lang__knob { transform: translateX(40px); background: var(--green); }
.lang:hover .lang__knob { width: 46px; }
.lang.is-sk:hover .lang__knob { transform: translateX(34px); }
.lang.is-en .lang__opt--en, .lang.is-sk .lang__opt--sk { color: var(--ink); }
.lang .lang__opt { color: rgba(18,18,18,.45); }
.footer-bar .lang { height: 38px; box-shadow: 3px 3px 0 var(--paper); background: var(--ink); border-color: var(--paper); color: var(--paper); }
.footer-bar .lang .lang__opt { color: rgba(244,239,230,.5); }
.footer-bar .lang.is-en .lang__opt--en, .footer-bar .lang.is-sk .lang__opt--sk { color: var(--ink); }
.footer-bar { align-items: center; }

/* Buttons: neo-brutal, squishy */
.btn { box-shadow: 5px 5px 0 var(--ink); transition: transform .35s cubic-bezier(.34,1.8,.5,1), box-shadow .2s, background .25s, color .25s; }
.btn > span { display: inline-block; transition: transform .45s cubic-bezier(.34,1.8,.5,1); }
.btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 8px 8px 0 var(--ink); }
.btn:hover > span { transform: scale(1.04); }
.btn:active { transform: translate(4px, 4px) scale(.97); box-shadow: 0 0 0 var(--ink); }
.contact .btn { box-shadow: 5px 5px 0 var(--pink); }
.contact .btn:hover { box-shadow: 8px 8px 0 var(--pink); }
.contact .btn--ghost { box-shadow: 5px 5px 0 var(--blue); }
.filter { box-shadow: 3px 3px 0 var(--ink); }
.filter:active { transform: translate(3px, 3px); box-shadow: none; }
.filter.is-active { animation: jelly .6s; }
@keyframes jelly { 30% { transform: scale(1.18, .82); } 50% { transform: scale(.88, 1.12); } 70% { transform: scale(1.05, .95); } 100% { transform: scale(1); } }
.back { box-shadow: 3px 3px 0 var(--ink); transition: transform .35s cubic-bezier(.34,1.8,.5,1); }
.back:hover { transform: rotate(-4deg) scale(1.05); }
.hero__arrow { box-shadow: 3px 3px 0 var(--ink); }
.lightbox__close, .lightbox__nav { box-shadow: 3px 3px 0 var(--paper); transition: transform .3s cubic-bezier(.34,1.8,.5,1); }
.lightbox__close:hover, .lightbox__nav:hover { transform: rotate(-10deg) scale(1.1); }
.chip { box-shadow: 3px 3px 0 var(--ink); transition: transform .4s cubic-bezier(.34,1.8,.5,1); }
.chip:hover { transform: rotate(4deg) scale(1.08); }

/* Bits */
.intro { position: relative; }
.intro__doodle { position: absolute; right: var(--pad); bottom: 40px; width: clamp(110px, 12vw, 180px); transform: rotate(8deg); }
.project__sticker { position: absolute; right: var(--pad); top: 110px; width: clamp(150px, 20vw, 320px); z-index: 2; transform: rotate(6deg); filter: drop-shadow(8px 10px 0 rgba(18,18,18,.2)); animation: bob 3s ease-in-out infinite; }
.next__img.is-cut { border: 0; border-radius: 0; filter: drop-shadow(8px 10px 0 rgba(18,18,18,.2)); }
.materials__hint { font-size: clamp(22px, 2vw, 30px); letter-spacing: 0; text-transform: none; transform: rotate(-4deg); }

@media (max-width: 900px) {
	.header-right { gap: 6px; }
	.lang { height: 40px; }
	.lang__opt, .lang__knob { width: 34px; }
	.lang.is-sk .lang__knob { transform: translateX(34px); }
	.nav__wave { display: none; }
	.project__sticker { width: 34vw; top: 150px; }
	.intro__doodle { position: static; width: 100px; margin-top: 30px; }
}
@media (max-width: 520px) {
	.nav a { padding: 8px 10px; font-size: 13px; }
	.brand .rb-logo { width: 28px; }
}

.card:nth-child(7n+1) .card__media.has-cover .card__cover, .card:nth-child(7n+5) .card__media.has-cover .card__cover { object-fit: contain; }
.story-hero__title .line, .contact__title .line { padding-right: .12em; margin-right: -.12em; }

/* =========================================================
   v1.3 Mobile overhaul
   ========================================================= */
.only-touch { display: none !important; }
.is-touch .only-touch { display: inline-block !important; }
.is-touch .only-mouse { display: none !important; }
.hscroll__track { touch-action: pan-y; }

/* Touch: cards flip to the real photo while they pass the middle of the screen */
.card.is-peek .card__media.has-cover .card__cover { opacity: 0; transform: scale(1.08) rotate(var(--r)); }
.card.is-peek .card__media.has-cover .card__photo { opacity: 1; transform: scale(1); clip-path: inset(0 round var(--radius)); }

@media (max-width: 900px) {
	:root { --pad: 18px; --radius: 18px; }
	body { font-size: 16px; }
	.admin-bar .site-header { top: 46px; }
	.site-header { padding: 12px var(--pad); }
	.nav { padding: 4px; gap: 2px; box-shadow: 3px 3px 0 var(--ink); }
	.nav a { padding: 8px 12px; font-size: 14px; }
	.lang { box-shadow: 3px 3px 0 var(--ink); }

	/* Hero: stickers in the corners, text block in the middle */
	.hero { min-height: 100svh; padding: 0 var(--pad); align-content: center; }
	.hero__inner { padding: 0; }
	.hero__kicker { font-size: 10px; letter-spacing: .1em; padding: 5px 10px; white-space: nowrap; margin-bottom: 14px; }
	.hero__title { font-size: 25vw; }
	.hero__sub { font-size: 14px; max-width: 30ch; margin-top: 14px; padding: 6px 10px; line-height: 1.4; }
	.hero__sub br { display: none; }
	.hero__note { display: none; }
	.sticker, .sticker--cut { width: 27vw; }
	.sticker--0 { left: 2%; top: 92px; }
	.sticker--1 { right: 2%; top: 100px; left: auto; }
	.sticker--2 { left: 3%; bottom: 84px; top: auto; }
	.sticker--3 { right: 3%; bottom: 92px; top: auto; }
	.sticker--4, .sticker--5, .sticker--6 { display: none; }
	.sticker--cut .sticker__tag { font-size: 8px; padding: 3px 6px; bottom: -4px; }
	.hero__scroll { width: 78px; height: 78px; margin-left: -39px; bottom: 14px; }
	.hero__scroll text { font-size: 18px; }
	.hero__arrow { width: 34px; height: 34px; font-size: 17px; }
	.hero__buddy { width: 54px; margin-left: -110px; bottom: -14px; }

	.bands { height: 130px; }
	.band__track span { font-size: 28px; }

	.intro { padding: 80px var(--pad); }
	.intro__text { font-size: 30px; }
	.intro__chips { gap: 8px; margin-top: 30px; }
	.chip { font-size: 13px; padding: 7px 14px; }

	/* Selected works: pinned horizontal strip, swipe or scroll */
	.hscroll__pin { height: 100svh; padding: 0; justify-content: center; }
	.hscroll__head { position: absolute; top: 74px; bottom: auto; left: var(--pad); right: var(--pad); }
	.admin-bar .hscroll__head { top: 110px; }
	.hscroll__hint { font-size: 10px; }
	.hscroll__hint .hand { font-size: 18px; }
	.hscroll__track { width: max-content; overflow: visible; scroll-snap-type: none; padding: 40px var(--pad) 0; margin-top: 0; gap: 22px; }
	.hcard { width: min(76vw, calc((100svh - 260px) * .8)); }
	.hcard__num { font-size: 50px; -webkit-text-stroke: 1.5px var(--paper); }
	.hcard__title { font-size: 20px; }
	.hcard__cat { font-size: 10px; padding: 4px 8px; }
	.hcard--end { width: 56vw; }
	.hcard__end { font-size: 26px; }
	.hscroll__bar { bottom: 26px; }

	/* Work grid: two columns */
	.work { padding: 90px var(--pad) 60px; }
	.work__head { gap: 18px; margin-bottom: 26px; }
	.work__note { font-size: 20px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; max-width: none; width: calc(100% + 2 * var(--pad)); margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 10px; scrollbar-width: none; justify-content: flex-start; cursor: grab; }
	.filters::-webkit-scrollbar { display: none; }
	.filter { flex: 0 0 auto; font-size: 14px; padding: 8px 14px; }
	.grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.card:nth-child(7n+1) { grid-column: span 2; grid-row: span 1; }
	.card:nth-child(7n+1) .card__media { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
	.card:nth-child(7n+5) { grid-column: span 1; }
	.card:nth-child(7n+5) .card__media { aspect-ratio: 4 / 5; }
	.card__info { padding-top: 8px; }
	.card__title, .card:nth-child(7n+1) .card__title { font-size: 16px; }
	.card:nth-child(7n+1) .card__title { font-size: 22px; }
	.card__cat { font-size: 10px; letter-spacing: .06em; }

	/* Story teaser */
	.teaser { padding: 80px var(--pad); }
	.teaser__track { grid-template-columns: repeat(9, 128px); margin: 30px calc(-1 * var(--pad)); padding: 10px var(--pad) 24px; }
	.teaser__item .doodle { width: 86px; }
	.teaser__label { font-size: 22px; }
	.teaser__cta { gap: 22px; }
	.teaser__cta .btn--big { font-size: 17px; }

	/* Story page */
	.story-hero { min-height: 88svh; padding: 110px var(--pad) 50px; justify-content: flex-start; }
	.admin-bar .story-hero { padding-top: 150px; }
	.story-hero__title { font-size: 13.5vw; }
	.story-hero__lead { font-size: 17px; margin-top: 20px; }
	.story-hero__doodles .doodle--birth { position: absolute; right: -10px; top: auto; bottom: 30px; width: 130px; }
	.story-hero__doodles .doodle--rocket { right: auto; left: 46%; bottom: 40px; width: 64px; }
	.story-hero__buddy { margin-top: 30px; width: 70px; }
	.story { padding-left: var(--pad); padding-right: var(--pad); }
	.story__ghost span { font-size: 34vw; }
	.timeline { padding: 10px 0 40px; }
	.moment, .moment--r { padding: 26px 0; }
	.moment__dot { left: 20px; top: 50px; width: 26px; height: 26px; margin: 0 0 0 -13px; }
	.moment__card { width: calc(100% - 52px); padding: 20px 18px; }
	.moment__label { font-size: 42px; }
	.moment__title { font-size: 21px; }
	.moment__text { font-size: 15px; }
	.moment__art { top: -30px; right: -4px; width: 80px; }
	.timeline__walker { width: 48px; }
	.story-end { padding: 40px var(--pad) 90px; }
	.story-end .btn--big { font-size: 18px; }

	/* Materials */
	.materials { padding: 80px var(--pad) 20px; }
	.materials__box { height: 440px; border-radius: 26px; margin-top: 24px; }
	.blob { font-size: 22px; box-shadow: 0 6px 0 -1px var(--ink); }
	.blob--buddy { width: 70px; }

	.brands { padding: 70px var(--pad); }
	.brands__list { font-size: 34px; }

	/* Contact */
	.site-footer { border-radius: 26px 26px 0 0; }
	.contact { padding: 80px var(--pad) 50px; }
	.contact__title { font-size: 17vw; }
	.contact__actions { flex-direction: column; align-items: flex-start; }
	.contact .btn--big { font-size: 18px; }
	.contact__spin { width: 120px; margin-top: 30px; }
	.footer-bar { justify-content: center; text-align: center; gap: 14px; }

	/* Project page */
	.project__hero { padding: 100px var(--pad) 0; }
	.admin-bar .project__hero { padding-top: 140px; }
	.back { top: 76px; font-size: 11px; }
	.admin-bar .back { top: 116px; }
	.project__titlewrap { padding-top: 34px; }
	.project__title { font-size: 15vw; max-width: none; }
	.project__sticker { position: relative; top: auto; right: auto; width: 46vw; margin: -6px 0 -30px auto; z-index: 3; }
	.project__cover { margin-top: 20px; }
	.project__body { padding: 40px var(--pad); gap: 26px; }
	.project__text { font-size: 20px; }
	.pgallery { columns: 2; column-gap: 10px; padding: 0 var(--pad) 60px; }
	.pgallery__item { margin-bottom: 10px; border-radius: 14px; }
	.next { padding: 60px var(--pad); }
	.next__title { font-size: 13vw; }
	.next__img { width: 40vw; right: 10px; opacity: 1; }
}
@media (max-width: 380px) {
	.nav a { padding: 7px 9px; font-size: 13px; }
	.lang__opt, .lang__knob { width: 30px; }
	.lang.is-sk .lang__knob { transform: translateX(30px); }
	.brand .rb-logo { width: 26px; }
}

@media (max-width: 900px) {
	.hscroll__head { top: auto; bottom: 46px; align-items: flex-end; }
	.admin-bar .hscroll__head { top: auto; }
	.hscroll__head .eyebrow { margin: 0; font-size: 11px; }
	.hscroll__hint .hint-rest { display: none; }
	.hscroll__track { padding-top: 0; margin-top: -30px; }
	.hcard { width: min(74vw, calc((100svh - 330px) * .8)); }
	.hscroll__bar { bottom: 28px; }
	.pgallery { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.pgallery__item { margin: 0; aspect-ratio: 4 / 5; }
	.pgallery__item img { width: 100%; height: 100%; object-fit: cover; }
	.pgallery__item:nth-child(5n+1) { grid-column: span 2; aspect-ratio: 4 / 3; }
}

/* v1.5 Work collage (all screens) */
.work .grid { --cols: 6; --gap: 16px; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: calc((100vw - 2 * var(--pad) - 20px - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); grid-auto-flow: dense; }
.work .grid .card { grid-column: span 1; grid-row: span 1; position: relative; display: block; will-change: transform; }
.work .grid .card:nth-child(8n+1) { grid-column: span 2; grid-row: span 2; }
.work .grid .card:nth-child(8n+3), .work .grid .card:nth-child(8n+4), .work .grid .card:nth-child(8n+5) { grid-row: span 2; }
.work .grid .card:nth-child(8n+7) { grid-column: span 2; }
.work .grid .card .card__media { position: absolute; inset: 0; height: 100%; min-height: 0; aspect-ratio: auto; border-radius: 18px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transition: box-shadow .3s, transform .4s cubic-bezier(.34,1.8,.5,1); }
.work .grid .card:hover .card__media { box-shadow: 9px 9px 0 var(--ink); transform: translate(-3px, -3px) rotate(var(--r)); }
.work .grid .card__media img { clip-path: none !important; }
.work .grid .card__media.has-cover .card__cover { object-fit: cover; }
.work .grid .card__info { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.work .grid .card__title { display: inline-block; max-width: 100%; font-size: 14px; line-height: 1.15; letter-spacing: -.01em; background: var(--ink); color: var(--paper); padding: 5px 9px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work .grid .card:nth-child(8n+1) .card__title { font-size: clamp(18px, 1.8vw, 28px); padding: 7px 12px; white-space: normal; }
.work .grid .card__cat { display: none; font-size: 10px; background: var(--paper); color: var(--ink); padding: 3px 8px; border-radius: 6px; border: 1.5px solid var(--ink); }
.work .grid .card:nth-child(8n+1) .card__cat, .work .grid .card:nth-child(8n+7) .card__cat { display: inline-block; }
.work { padding-bottom: 60px; }
@media (max-width: 1100px) { .work .grid { --cols: 4; --gap: 12px; } }
@media (max-width: 900px) {
	.work .grid { --cols: 3; --gap: 8px; grid-auto-rows: calc((100vw - 2 * var(--pad) - 2 * var(--gap)) / 3); }
	.work .grid .card:nth-child(8n+3), .work .grid .card:nth-child(8n+4), .work .grid .card:nth-child(8n+5) { grid-row: span 1; }
	.work .grid .card .card__media { border-radius: 12px; border-width: 1.5px; box-shadow: 3px 3px 0 var(--ink); }
	.work .grid .card__info { left: 5px; right: 5px; bottom: 5px; }
	.work .grid .card__title { font-size: 10px; padding: 3px 6px; border-radius: 6px; }
	.work .grid .card:nth-child(8n+1) .card__title { font-size: 14px; padding: 4px 8px; }
	.work .grid .card__cat { font-size: 9px; padding: 2px 5px; }
	.work .grid .card:nth-child(8n+7) .card__cat { display: none; }
}

/* v1.6 Compass mascot (kružidlo) */
.buddy { overflow: visible; }
.buddy .b-eyes, .buddy .b-eye { transform-box: view-box; }
.hero__buddy { width: clamp(46px, 4.2vw, 66px); bottom: 6px; margin-left: calc(-1 * clamp(46px, 4.2vw, 66px) - 76px); }
.teaser__buddy { width: 58px; }
.teaser__buddy .hand--say { left: 62px; top: 4px; }
.contact__buddy { width: clamp(52px, 5vw, 78px); }
.contact__buddy .hand--say { top: -30px; }
.work__buddy { width: 46px; top: -150px; right: 40px; transform: rotate(8deg); }
.story-hero__buddy { width: 62px; }
.story-hero__buddy .hand--say { left: 66px; top: 6px; }
.timeline__walker { width: 58px; }
.walker__say { left: 56px; top: -18px; }
.blob--buddy { width: clamp(48px, 4.4vw, 70px); }
.nf-buddy { width: 80px; }
@media (max-width: 900px) {
	.hero__buddy { width: 40px; margin-left: -118px; bottom: 6px; }
	.timeline__walker { width: 40px; }
	.story-hero__buddy { width: 50px; }
	.story-hero__buddy .hand--say { left: 54px; }
	.contact__buddy { width: 52px; }
	.contact__buddy .hand--say { left: 60px; top: 10px; }
	.teaser__buddy { width: 48px; }
	.teaser__buddy .hand--say { left: 52px; }
	.blob--buddy { width: 48px; }
}
/* v1.6.1 bigger compass */
.hero__buddy { width: clamp(64px, 6vw, 96px); margin-left: calc(-1 * clamp(64px, 6vw, 96px) - 70px); bottom: 4px; }
.teaser__buddy { width: 84px; }
.teaser__buddy .hand--say { left: 84px; top: 10px; }
.contact__buddy { width: clamp(76px, 7vw, 110px); }
.work__buddy { width: 64px; top: -190px; }
.story-hero__buddy { width: 92px; }
.story-hero__buddy .hand--say { left: 92px; top: 16px; }
.timeline__walker { width: 92px; }
.walker__say { left: 84px; top: -6px; }
.blob--buddy { width: clamp(70px, 6.4vw, 100px); }
.nf-buddy { width: 110px; }
@media (max-width: 900px) {
	.hero__buddy { width: 54px; margin-left: -128px; }
	.timeline__walker { width: 62px; }
	.story-hero__buddy { width: 70px; }
	.story-hero__buddy .hand--say { left: 72px; }
	.contact__buddy { width: 70px; }
	.contact__buddy .hand--say { left: 76px; }
	.teaser__buddy { width: 66px; }
	.teaser__buddy .hand--say { left: 68px; }
	.blob--buddy { width: 66px; }
}

/* v1.7 Paint bucket mascot sizes */
.buddy { overflow: visible; }
.hero__buddy { width: clamp(76px, 7vw, 112px); margin-left: calc(-1 * clamp(76px, 7vw, 112px) - 64px); bottom: 2px; }
.teaser__buddy { width: 96px; }
.teaser__buddy .hand--say { left: 96px; top: -6px; }
.contact__buddy { width: clamp(90px, 8vw, 124px); }
.contact__buddy .hand--say { top: -40px; }
.work__buddy { width: 84px; top: -112px; right: 34px; transform: rotate(6deg); }
.story-hero__buddy { width: 104px; }
.story-hero__buddy .hand--say { left: 104px; top: -4px; }
.timeline__walker { width: 86px; }
.walker__say { left: 78px; top: -20px; }
.blob--buddy { width: clamp(76px, 7vw, 108px); }
.nf-buddy { width: 120px; }
@media (max-width: 900px) {
	.hero__buddy { width: 62px; margin-left: -124px; }
	.timeline__walker { width: 58px; }
	.story-hero__buddy { width: 80px; }
	.story-hero__buddy .hand--say { left: 80px; }
	.contact__buddy { width: 84px; }
	.contact__buddy .hand--say { left: 88px; top: 6px; }
	.teaser__buddy { width: 74px; }
	.teaser__buddy .hand--say { left: 74px; }
	.blob--buddy { width: 70px; }
}
.timeline__walker { width: 112px; }
.walker__say { left: 100px; top: -14px; }
.story-hero__buddy { width: 132px; }
.story-hero__buddy .hand--say { left: 132px; top: 6px; }
.teaser__buddy { width: 116px; }
.teaser__buddy .hand--say { left: 114px; }
@media (max-width: 900px) {
	.timeline__walker { width: 72px; }
	.story-hero__buddy { width: 96px; }
	.story-hero__buddy .hand--say { left: 96px; }
	.teaser__buddy { width: 84px; }
	.teaser__buddy .hand--say { left: 84px; }
}

/* v1.8 Roaming paint bucket + paint splats */
.hero__buddy { display: none; }
.paint-layer { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 60; pointer-events: none; overflow: visible; }
.splat { position: absolute; pointer-events: none; mix-blend-mode: multiply; overflow: visible; }
.roamer { position: fixed; left: 0; bottom: 8px; z-index: 120; width: 96px; cursor: pointer; will-change: transform; touch-action: manipulation; -webkit-tap-highlight-color: transparent; outline: none; }
.roamer .buddy { display: block; width: 100%; pointer-events: none; }
.roamer__flip { position: relative; transform-origin: 50% 50%; }
.roamer__stream { position: absolute; left: 98%; top: 70%; width: 13px; height: 32%; border: 2.5px solid var(--ink); border-radius: 0 0 8px 8px; transform: scaleY(0); transform-origin: 50% 0; pointer-events: none; }
.roamer__tip { position: absolute; left: 70%; bottom: 100%; white-space: nowrap; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 3px 10px 5px; font-size: 18px; box-shadow: 3px 3px 0 var(--ink); animation: tipIn .6s 2.5s both cubic-bezier(.34,1.8,.5,1), tipOut .4s 11s forwards; pointer-events: none; }
@keyframes tipIn { from { transform: scale(0) rotate(-15deg); } to { transform: scale(1) rotate(-4deg); } }
@keyframes tipOut { to { opacity: 0; transform: scale(.4); } }
.roamer.is-ctrl::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -4px; height: 14px; border-radius: 50%; border: 3px dashed var(--red); animation: spin 6s linear infinite; }
.roamer:focus-visible:not(.is-ctrl) { outline: 3px dashed var(--blue); outline-offset: 6px; border-radius: 12px; }

.roam-help { position: fixed; left: 50%; bottom: 140px; z-index: 130; transform: translateX(-50%); width: min(340px, calc(100vw - 24px)); background: #fff; border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 16px 20px 14px; }
.roam-help[hidden] { display: none; }
.roam-help__x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); font-weight: 700; box-shadow: 2px 2px 0 var(--ink); }
.roam-help__title { font-size: 30px; margin: 0 0 8px; transform: rotate(-3deg); color: var(--red); }
.roam-help__keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.roam-help__keys li { display: flex; align-items: center; gap: 5px; }
.roam-help__touch { margin: 0; font-weight: 600; }
.kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); box-shadow: 0 3px 0 var(--ink); font-family: var(--mono); font-weight: 700; font-size: 14px; }
.kbd--c { background: var(--pink); }

.roam-pad { position: fixed; right: 12px; bottom: 14px; z-index: 130; display: grid; grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 52px); gap: 6px; }
.roam-pad[hidden] { display: none; }
.roam-pad button { border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink); font-size: 22px; font-weight: 800; touch-action: none; user-select: none; -webkit-user-select: none; }
.roam-pad button:active { transform: translate(3px, 3px); box-shadow: none; background: var(--yellow); }
.roam-pad [data-k="ArrowUp"] { grid-column: 2; grid-row: 1; }
.roam-pad [data-k="ArrowLeft"] { grid-column: 1; grid-row: 2; }
.roam-pad [data-k="ArrowDown"] { grid-column: 2; grid-row: 2; }
.roam-pad [data-k="ArrowRight"] { grid-column: 3; grid-row: 2; }
.roam-pad__paint { grid-column: 3; grid-row: 1; background: var(--pink) !important; }
.roam-pad__x { grid-column: 1; grid-row: 1; background: var(--yellow) !important; font-size: 18px !important; }
@media (max-width: 900px) {
	.roamer { width: 64px; }
	.roamer__tip { font-size: 15px; }
	.roam-help { bottom: auto; top: 90px; }
}
@media (prefers-reduced-motion: reduce) { .roamer { display: none; } }

.paint-layer { contain: layout; }

.roamer__x { position: absolute; top: -6px; right: -6px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1; display: grid; place-items: center; box-shadow: 2px 2px 0 var(--ink); opacity: .85; transition: transform .3s cubic-bezier(.34,1.8,.5,1), background .2s, opacity .2s; }
.roamer__x:hover { transform: rotate(90deg) scale(1.15); background: var(--red); color: #fff; opacity: 1; }
.bucket-back { font: inherit; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--paper); background: transparent; border: 1.5px solid var(--paper); border-radius: 999px; padding: 6px 12px; }
.bucket-back:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.bucket-back[hidden] { display: none; }
@media (max-width: 900px) { .roamer__x { width: 24px; height: 24px; top: -8px; right: -8px; opacity: 1; } }

.roamer__x { top: 26%; right: 8%; }
@media (max-width: 900px) { .roamer__x { top: 18%; right: 0; } }

/* v1.10.4: docked minimal bucket */
.roamer { width: 56px; left: 6px; bottom: 14px; }
.roamer__stream { left: 90%; top: 28%; width: 9px; height: 40%; border-width: 2px; }
.roamer__tip { font-size: 15px; padding: 2px 8px 3px; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); left: 60%; }
.roamer__x { top: -10px; right: -12px; width: 20px; height: 20px; font-size: 10px; border-width: 1.5px; box-shadow: none; opacity: 0; transform: scale(.6); }
.roamer:hover .roamer__x, .roamer:focus-within .roamer__x, .roamer.is-ctrl .roamer__x { opacity: 1; transform: scale(1); }
.roamer__x:hover { transform: scale(1.1); }
.roamer.is-ctrl::before { bottom: -6px; height: 10px; border-width: 2px; }
@media (max-width: 900px) {
	.roamer { width: 42px; left: 4px; bottom: 10px; }
	.roamer__x { opacity: 1; transform: scale(1); top: -10px; right: -12px; width: 20px; height: 20px; }
}
