/* ==========================================================================
   Clickoso — red, black, white.
   Inter Tight, deep colour gradients with a fine grain, generous and regular
   spacing, hairline borders instead of outlines, soft shadows. Three grounds:
   dark (black with red light), light (white to warm grey), red (Clickoso red).
   ========================================================================== */

@font-face {
	font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
	src: url("../fonts/inter-tight.woff2") format("woff2-variations"), url("../fonts/inter-tight.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
	src: url("../fonts/inter-tight-ext.woff2") format("woff2-variations"), url("../fonts/inter-tight-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Anybody Black: only for the big footer wordmark */
@font-face {
	font-family: "Anybody"; font-style: normal; font-display: swap; font-weight: 900;
	src: url("../fonts/anybody-black.woff2") format("woff2");
}
@font-face {
	font-family: "Inter Tight"; font-style: italic; font-display: swap; font-weight: 100 900;
	src: url("../fonts/inter-tight-italic.woff2") format("woff2-variations"), url("../fonts/inter-tight-italic.woff2") format("woff2");
}

:root {
	--black: #0b0b0c;
	--ink: #121214;
	--white: #ffffff;
	--paper: #f5f4f2;
	--paper-2: #ebe9e5;
	--red: #b72126;
	--red-hi: #e2343a;
	--red-lo: #7a1418;
	--text: #18181b;
	--text-2: #55555c;
	--line-l: rgba(18, 18, 20, .12);
	--line-d: rgba(255, 255, 255, .14);

	--font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
	/* One layout standard for every page: the side gutter (--pad), the widest the content
	   gets (--max) and the resulting distance of content from the screen edge (--edge). */
	--pad: clamp(20px, 5vw, 88px);
	--max: 1600px;
	--edge: max(var(--pad), calc((100vw - var(--max)) / 2));
	--bar-top: 14px;
	--bar-h: 64px;
	--r: 22px;
	--r-sm: 14px;
	--sec: clamp(6rem, 13vh, 10rem);
	/* Scene spacing: the top always clears the floating header */
	--scene-pt: calc(var(--bar-h) + var(--bar-top) + clamp(1.5rem, 5vh, 3.5rem));
	--scene-pb: clamp(3.5rem, 8vh, 5.5rem);

	--ease: cubic-bezier(.22, 1, .36, 1);

	--d-hero: clamp(2.6rem, 1rem + 7.2vw, 8.6rem);
	--d-xl: clamp(2.6rem, 1rem + 4.8vw, 6rem);
	--d-md: clamp(2rem, 1rem + 2.8vw, 3.8rem);
	--t-lead: clamp(1.1rem, 1rem + .4vw, 1.35rem);

	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--g-dark:
		radial-gradient(70% 60% at 88% 8%, rgba(226, 52, 58, .55) 0%, rgba(183, 33, 38, .18) 40%, transparent 70%),
		radial-gradient(60% 55% at 0% 100%, rgba(183, 33, 38, .28) 0%, transparent 65%),
		linear-gradient(165deg, #18181b 0%, #0b0b0c 55%, #070708 100%);
	--g-light:
		radial-gradient(60% 55% at 100% 0%, rgba(226, 52, 58, .13) 0%, transparent 65%),
		radial-gradient(50% 50% at 0% 100%, rgba(18, 18, 20, .06) 0%, transparent 70%),
		linear-gradient(180deg, #ffffff 0%, #f3f1ee 100%);
	--g-red:
		radial-gradient(70% 70% at 12% 0%, #ea3f45 0%, transparent 60%),
		radial-gradient(70% 70% at 100% 100%, #5e0e12 0%, transparent 65%),
		linear-gradient(150deg, #c9262c 0%, #a51d22 55%, #85161a 100%);

	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 30px); }
/* No CSS smooth scroll: it breaks ScrollTrigger measurements. Anchor links are smoothed in JS. */
body {
	margin: 0; min-height: 100vh;
	font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--text);
	background: var(--paper);
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
/* No single word left alone on the last line of a paragraph (phones especially); titles balance their lines. */
p, li, dd, blockquote { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
/* Zero specificity: a component's own padding or margin (e.g. the side gutter of a scrolling strip) always wins. */
:where(ul[class], ol[class]) { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
/* No blue box when something is clicked or tapped: no tap highlight on phones, no focus ring
   after a mouse click or a touch, no text selection when holding a button. The red ring stays
   for keyboard navigation only (:focus-visible), which mouse and touch never trigger. */
html { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
.btn, .pill, summary, .bar, .menu, .wa-fab, .lb__btn, .qa summary, .hiring__job, .chip { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: 100%; margin-inline: auto; padding-inline: var(--edge); }
.ast { width: 1em; height: 1em; }
.icon { width: 20px; height: 20px; flex: none; }
.slug, .crop, .srv__tint, .colorbar, .regmark, .shape, .close__shapes, .phead__shapes { display: none !important; }

/* Grounds ------------------------------------------------------------------ */
.g-dark, .scene--dark, .scene--ink, .scene--orange, .phead, .foot { background: var(--g-dark); color: #fff; }
.g-light, .scene--light, .scene--paper, .scene--lime, .scene--pink { background: var(--g-light); color: var(--text); }
.g-red, .scene--red { background: var(--g-red); color: #fff; }
/* Fine grain over every ground */
.scene::before, .phead::before, .foot::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: var(--grain); background-size: 180px; opacity: .16; mix-blend-mode: overlay;
}
.scene--light::before, .scene--paper::before, .scene--lime::before, .scene--pink::before { opacity: .22; mix-blend-mode: multiply; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; pointer-events: none; }
/* On phones the empty part of the bar is black, like the status bar above it (theme-color): the light page never shows through as a white strip. */
@media (max-width: 900px) { .progress { background: var(--black); } }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--red-hi)); }

/* Type --------------------------------------------------------------------- */
.display { font-weight: 700; font-size: var(--d-xl); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.display--hero { display: block; font-size: var(--d-hero); line-height: .94; letter-spacing: -.055em; }
.display--page { font-size: clamp(2.8rem, 1rem + 5.6vw, 6.6rem); }
.display--md { font-size: var(--d-md); }
.display .w { display: inline-block; white-space: nowrap; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); flex: none; }
.scene--red .kicker::before { background: #fff; }
.lead { max-width: 48ch; font-size: var(--t-lead); line-height: 1.5; color: var(--text-2); }
.scene--dark .lead, .scene--ink .lead, .scene--orange .lead, .scene--red .lead, .phead .lead { color: rgba(255, 255, 255, .78); }
.link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--red); }

/* Marked word: simply red */
.mark { display: inline-block; color: var(--red); }
.scene--dark .mark, .scene--ink .mark, .scene--orange .mark, .phead .mark, .foot .mark { color: var(--red-hi); }
.scene--red .mark { color: var(--black); }
/* The strong highlight, drawn like the logo: white words on a red block
   (on red grounds the block turns white and the words red). [[word|lime]] */
.mark.mark--lime, .scene .mark.mark--lime, .foot .mark.mark--lime, .phead .mark.mark--lime {
	background: var(--red); color: #fff; padding: .02em .14em .08em; border-radius: .05em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.scene--red .mark.mark--lime { background: #fff; color: var(--red); }
.foot .mark.mark--lime { display: inline; }
/* Punctuation after a highlighted block: tucked against the block, not floating after its padding. */
.mark--lime + .w-p { margin-left: -.1em; }

/* Buttons ------------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 56px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px;
	font-size: 1rem; font-weight: 600; letter-spacing: -.005em; color: inherit; text-decoration: none; cursor: pointer; background: transparent;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn--pop, .btn--primary { background: var(--red); color: #fff; }
.btn--line, .btn--ghost { border-color: currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn--ink { background: var(--black); color: #fff; }
.btn--xl { min-height: 64px; padding: 0 34px; font-size: 1.08rem; }
.scene--red .btn--pop { background: #fff; color: var(--red); }
@media (hover: hover) and (pointer: fine) {
	.btn--pop:hover, .btn--primary:hover { background: var(--red-hi); }
	.scene--red .btn--pop:hover { background: var(--black); color: #fff; }
	.btn--line:hover, .btn--ghost:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 8%, transparent); }
	.btn--ink:hover { background: #fff; color: var(--black); }
	.btn:hover .icon { transform: translateX(4px); }
}
.btn:active { transform: scale(.97); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header: a dark glass pill ------------------------------------------------ */
.bar {
	position: sticky; top: var(--bar-top); z-index: 100;
	display: flex; align-items: center; gap: 12px;
	max-width: calc(var(--max) + 2 * var(--pad) - 2 * var(--bar-top)); margin: var(--bar-top) auto 0; width: calc(100% - 2 * var(--bar-top));
	min-height: var(--bar-h); padding: 8px 8px 8px 18px;
	background: rgba(12, 12, 13, .92); color: #fff;
	-webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
	transition: transform .5s var(--ease);
}
.bar.is-hidden { transform: translateY(calc(-100% - 30px)); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__logo { display: block; height: 22px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .78); white-space: nowrap; transition: color .2s, background-color .2s; }
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__list a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; flex: none; transition: background-color .2s; }
.nav-cta:hover { background: var(--red-hi); }
.nav-cta .icon { width: 16px; height: 16px; }
.bar__toggle { display: none; }
@media (max-width: 1060px) {
	.nav, .nav-cta { display: none; }
	.bar__toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--black); font-weight: 600; cursor: pointer; }
	.bar__burger { display: grid; gap: 5px; width: 16px; }
	.bar__burger i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
	.bar__toggle[aria-expanded="true"] .bar__burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
	.bar__toggle[aria-expanded="true"] .bar__burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}
@media (max-width: 720px) {
	:root { --bar-top: 10px; --bar-h: 58px; }
	.bar { padding: 6px 6px 6px 14px; }
	.brand__logo { height: 19px; }
}
.menu {
	position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
	padding: calc(var(--bar-h) + 56px) var(--pad) calc(32px + env(safe-area-inset-bottom));
	background: var(--g-dark); color: #fff; overflow-y: auto;
	clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__list { display: grid; gap: 4px; }
.menu__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-d); font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; text-decoration: none; }
.menu__list a[aria-current="page"] { color: var(--red-hi); }
.menu__foot { display: grid; gap: 20px; }
.menu__contact { display: grid; gap: 6px; color: rgba(255, 255, 255, .75); }
.menu__contact a { text-decoration: none; }
body.menu-open { overflow: hidden; }

main { display: block; }

/* Sections (inner pages) --------------------------------------------------- */
.sec { position: relative; padding-block: var(--sec); }
.sec + .sec { padding-top: 0; }
.sec-head, .sec__head { display: grid; gap: 22px; margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 900px; }
.sec-head--row, .sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--text-2); max-width: 48ch; }
.count { text-align: right; font-size: 1rem; line-height: 1.3; opacity: .7; }
.count b { display: block; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.05em; line-height: .95; opacity: 1; }

/* Stickers become quiet tags ---------------------------------------------- */
.stickers { display: flex; flex-wrap: wrap; gap: 8px; }
.sticker { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border: 1px solid var(--line-l); border-radius: 999px; font-size: .92rem; font-weight: 500; background: rgba(255, 255, 255, .6); }
.sticker a { text-decoration: none; }
.scene--dark .sticker, .scene--ink .sticker, .scene--orange .sticker, .scene--red .sticker, .phead .sticker { border-color: var(--line-d); background: rgba(255, 255, 255, .06); }
.scene--red .sticker { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }

/* Pills (filters, index) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-l); border-radius: 999px; background: #fff; color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.pill b { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--paper-2); font-size: .78rem; font-weight: 600; }
.pill:hover { border-color: var(--text); }
.pill.on { background: var(--black); border-color: var(--black); color: #fff; }
.pill.on b { background: var(--red); color: #fff; }

/* ==========================================================================
   Scenes: full-screen sheets; on wide screens each one slides over the last.
   ========================================================================== */
.scenes { position: relative; }
.scene { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: var(--scene-pt) 0 var(--scene-pb); }
.scene--hero, .scenes > .scene:first-child { padding-top: calc(var(--bar-h) + var(--bar-top) + clamp(3rem, 8vh, 6rem)); }
.scene__inner { position: relative; z-index: 2; width: 100%; transform-origin: 50% 0; }
.scene > .wrap { position: relative; z-index: 2; }
/* Rounded sheets. Each one starts 32px over the previous sheet, so its corners
   always show that sheet's own ground and never what lies behind the stack. */
.scenes > .scene:not(:first-child), .scenes > .pin-spacer { margin-top: -32px; }
.scenes > .scene:not(:first-child) { border-radius: 32px 32px 0 0; }
.scenes > .scene:not(:last-child) { padding-bottom: calc(var(--scene-pb) + 32px); }
.scenes > .pin-spacer > .scene { border-radius: 32px 32px 0 0; }
.scenes .scene--work { padding-bottom: 0; }
@media (min-width: 761px) {
	.scenes > .scene:not(.scene--work) { position: sticky; top: 0; }
	/* The next sheet overlaps the last 32px: a docked sheet fills the screen without it peeking in */
	.scenes > .scene:not(:last-child):not(.scene--work) { min-height: calc(100svh + 32px); }
}
.scene--hero, .scenes > .scene:first-child { min-height: 100svh; margin-top: calc(-1 * (var(--bar-h) + var(--bar-top))); border-radius: 0 !important; }
.scene__head { display: grid; gap: 22px; margin-bottom: clamp(2rem, 5vh, 3.5rem); max-width: 900px; }
.scene__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* The scene's light: a large soft glow that drifts */
.scene__shape { position: absolute; z-index: 1; pointer-events: none; width: min(80vw, 1100px); aspect-ratio: 1; right: -22vw; top: -30vh; }
.scene__shape i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(226, 52, 58, .5) 0%, rgba(183, 33, 38, .18) 38%, transparent 68%); }
.scene--light .scene__shape i, .scene--paper .scene__shape i, .scene--lime .scene__shape i, .scene--pink .scene__shape i { background: radial-gradient(circle, rgba(226, 52, 58, .16) 0%, rgba(226, 52, 58, .05) 40%, transparent 68%); }
.scene--red .scene__shape i { background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 40%, transparent 68%); }
.scenes > :nth-child(even) .scene__shape, .scenes > .scene:nth-child(even) .scene__shape { right: auto; left: -26vw; top: auto; bottom: -34vh; }
/* The asterisk variant: a huge faint brand mark */
.scene__shape--ast { width: min(56vw, 760px); right: -10vw; top: 8vh; }
.scene__shape--ast i { background: none !important; color: rgba(255, 255, 255, .06); }
.scene--light .scene__shape--ast i { color: rgba(18, 18, 20, .05); }
.scene__shape--ast i .ast { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
	.scene__shape i { animation: drift 18s ease-in-out infinite; }
	.scene__shape--ast i { animation: spin 90s linear infinite; }
}
@keyframes drift { 33% { transform: translate(-6%, 5%) scale(1.08); } 66% { transform: translate(4%, -4%) scale(.96); } }
@keyframes spin { to { rotate: 360deg; } }

/* Hero */
/* The hero's own paddings, reused so the reel can run edge to edge */
.scenes > .scene.scene--hero {
	--pt: calc(var(--bar-h) + var(--bar-top) + clamp(3rem, 8vh, 6rem));
	--pb: calc(var(--scene-pb) + 32px);
	padding-top: var(--pt); padding-bottom: var(--pb); align-items: stretch;
}
.scene--hero .scene__inner {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-rows: 1fr auto auto 1fr;
	grid-template-areas: ". photo" "title photo" "foot photo" ". photo";
	gap: 40px clamp(32px, 6vw, 96px);
}
.hero-title { grid-area: title; display: grid; gap: 28px; }
.hero-foot { grid-area: foot; display: grid; gap: 32px; }
/* Hero reel: two columns of real work drifting in opposite directions. They run
   from the top edge of the section to its bottom edge, so no fade is needed. */
.hero-reel {
	--gap: 14px;
	grid-area: photo; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
	margin-top: calc(-1 * var(--pt)); margin-bottom: calc(-1 * var(--pb)); overflow: hidden;
	contain: size; /* its long tracks must not make the hero taller */
}
.hero-reel__col { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.hero-reel__col--2 { margin-top: -18%; }
.hero-reel__track { display: flex; flex-direction: column; gap: var(--gap); }
.hero-reel__shot { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 16px; background: #1d1d20; }
.hero-reel__shot img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
	.hero-reel__track { animation: reel 70s linear infinite; }
	.hero-reel__col--2 .hero-reel__track { animation-direction: reverse; animation-duration: 82s; }
	.hero-reel:hover .hero-reel__track { animation-play-state: paused; }
}
@keyframes reel { to { transform: translateY(calc(-100% - var(--gap))); } }
.hero-stickers { grid-area: stick; gap: 0; }
.hero-stickers .sticker { min-height: 0; padding: 0 22px 0 0; margin-right: 22px; border: 0; border-right: 1px solid var(--line-d); border-radius: 0; background: none; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.hero-stickers .sticker:last-child { border-right: 0; margin-right: 0; }
@media (max-width: 900px) {
	.scene--hero .scene__inner { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "title" "foot" "photo"; gap: 32px; align-content: center; }
	.hero-reel { height: 380px; --gap: 10px; margin: 0; border-radius: 16px; }
	.hero-reel__shot { border-radius: 12px; }
}

/* Services: a typographic index. One full-width row per service; on hover the
   row lights up and the service photo follows the cursor. */
/* Heading and rows share one column grid, so the lead lines up with the descriptions */
#servizi { --svc-cols: 2.5rem minmax(0, 1fr) minmax(0, 40ch) 52px; --svc-gap: clamp(16px, 2.5vw, 40px); }
.svc-list__head { display: grid; grid-template-columns: var(--svc-cols); column-gap: var(--svc-gap); align-items: end; }
.svc-list__head > .display { grid-column: 1 / 3; }
.svc-list__head > .lead { grid-column: 3 / 5; max-width: none; font-size: 1.05rem; }
.svc-list { border-top: 1px solid var(--line-l); }
.svc-row { border-bottom: 1px solid var(--line-l); }
.svc-row__link {
	position: relative; display: grid; grid-template-columns: var(--svc-cols); align-items: center; gap: 0 var(--svc-gap);
	padding: clamp(10px, 1.6vh, 18px) 0; text-decoration: none; color: var(--text);
	transition: padding .5s var(--ease), color .3s;
}
.svc-row__thumb { display: none; }
.svc-row__name { font-size: clamp(1.8rem, 1rem + 2.2vw, 3.3rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; transition: color .3s, transform .5s var(--ease); }
.svc-row__text { font-size: .95rem; line-height: 1.5; color: var(--text-2); transition: color .3s; }
.svc-row__go { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-l); border-radius: 50%; transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.svc-row__go .icon { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
	.svc-row__link:hover .svc-row__name { color: var(--red); }
	.svc-row__link:hover .svc-row__text { color: var(--text); }
	.svc-row__link:hover .svc-row__go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
	.svc-list:hover .svc-row__link:not(:hover) .svc-row__name { color: rgba(18, 18, 20, .35); }
}
@media (max-width: 900px) {
	.svc-list__head { display: block; }
	.svc-list__head > .lead { margin-top: 18px; font-size: var(--t-lead); }
	.svc-row__link { grid-template-columns: 56px minmax(0, 1fr) 44px; grid-template-areas: "thumb name go" "thumb text go"; gap: 4px 16px; padding: 18px 0; }
	.svc-row__thumb { grid-area: thumb; display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 12px; }
	.svc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.svc-row__name { grid-area: name; font-size: 1.45rem; }
	.svc-row__text { grid-area: text; font-size: .9rem; }
	.svc-row__go { grid-area: go; width: 44px; height: 44px; }
}

/* Work: projects travel sideways */
.scene--work { display: block; padding-block: 0; }
.scene--work .scene__inner { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 48px); padding-block: calc(var(--bar-h) + 56px) 56px; }
.work-count { font-size: 1rem; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.work-count b { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.05em; color: #fff; }
.work-track { display: flex; gap: clamp(18px, 2vw, 28px); padding: 8px var(--edge) 16px; }
.scene--work.is-pinned .work-track { width: max-content; will-change: transform; }
.scene--work:not(.is-pinned) .work-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scene--work:not(.is-pinned) .work-track::-webkit-scrollbar { display: none; }
/* Cards are sized from the screen height so they always fit whole */
.work-track .pcard { flex: none; width: min(clamp(260px, 24vw, 380px), calc((100svh - var(--bar-h) - 300px) * .75)); min-width: 220px; scroll-snap-align: center; }
.scene--work .scene__head { margin-bottom: 0; }

/* Project card */
.pcard__link { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); text-decoration: none; color: #fff; background: #1d1d20; isolation: isolate; }
.pcard__photo { position: absolute; inset: 0; display: block; }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(8, 8, 9, .82) 100%); transition: opacity .4s; }
.pcard__body { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 6px; pointer-events: none; }
.pcard__name { font-size: clamp(1.3rem, 1rem + .7vw, 1.65rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.pcard__meta { font-size: .88rem; color: rgba(255, 255, 255, .72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__link::before { content: ""; position: absolute; z-index: 2; top: 20px; right: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--red-hi); transform: scale(0); transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) {
	.pcard__link:hover img { transform: scale(1.06); }
	.pcard__link:hover::before { transform: scale(1); }
}
.pcard--all { display: grid; place-items: center; width: clamp(220px, 18vw, 300px) !important; }
.pcard__all { display: grid; place-items: center; align-content: center; gap: 12px; width: 100%; aspect-ratio: 1; border: 1px solid var(--line-d); border-radius: 50%; color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; text-align: center; transition: background-color .3s, border-color .3s; }
.pcard__all:hover { background: var(--red); border-color: var(--red); }
.scene--light .pcard__all, .sec .pcard__all { color: var(--text); border-color: var(--line-l); }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "title photos" "text photos" "btn photos"; gap: 28px clamp(40px, 6vw, 96px); align-items: start; }
.studio > .display { grid-area: title; }
.studio .big-text { grid-area: text; }
.studio .polaroids { grid-area: photos; align-self: center; }
.studio .btn { grid-area: btn; justify-self: start; }
.big-text { font-size: clamp(1.25rem, 1rem + .75vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }
.big-text .bw { transition: color .3s, opacity .3s; }
html.has-motion .big-text .bw { opacity: .28; }
html.has-motion .big-text .bw.on { opacity: 1; }
.polaroids { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.polaroid { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; background: rgba(0, 0, 0, .2); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.polaroid--1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; grid-template-areas: "title" "text" "photos" "btn"; } }

/* Team */
.faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(180px, 15vw, 240px), 1fr)); grid-auto-flow: dense; gap: 20px; }
.face { position: relative; aspect-ratio: 3 / 4; outline: none; }
.face__photo { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--paper-2); isolation: isolate; }
.face__photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 9, .75) 100%); }
.face__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .9s var(--ease), opacity .4s; }
.face__alt { opacity: 0; }
.face__body { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; pointer-events: none; color: #fff; }
.face__name { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.face__role { font-size: .82rem; color: rgba(255, 255, 255, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
	.face:hover .face__alt { opacity: 1; }
	.face:hover .face__photo img { transform: scale(1.05); }
}
.face:focus-visible .face__alt, .face.is-flip .face__alt { opacity: 1; }
.face:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: var(--r); }
@media (max-width: 720px) { .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .face__body { left: 12px; right: 12px; bottom: 12px; } .face__name { font-size: .95rem; } }

/* FAQ: an editorial accordion */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__head { display: grid; gap: 22px; position: sticky; top: calc(var(--bar-h) + 60px); }
.faq__list { display: grid; border-top: 1px solid var(--line-l); }
.qa { border-bottom: 1px solid var(--line-l); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; transition: color .2s; }
.qa summary:hover h3 { color: var(--red); }
.qa__icon { position: relative; flex: none; width: 40px; height: 40px; border: 1px solid var(--line-l); border-radius: 50%; transition: transform .45s var(--ease), background-color .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .45s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(180deg); background: var(--red); border-color: var(--red); color: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__a { padding: 0 64px 30px 0; color: var(--text-2); line-height: 1.65; max-width: 62ch; }
.scene--dark .faq__list, .scene--orange .faq__list, .scene--dark .qa, .scene--orange .qa { border-color: var(--line-d); }
.scene--dark .qa__icon, .scene--orange .qa__icon { border-color: var(--line-d); }
.scene--dark .qa summary:hover h3, .scene--orange .qa summary:hover h3 { color: var(--red-hi); }
.scene--dark .qa__a, .scene--orange .qa__a { color: rgba(255, 255, 255, .72); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } .qa__a { padding-right: 0; } }

/* Tall scenes */
.scene--tall { display: block; }

/* Close: quote request */
.close__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.close__copy { display: grid; gap: 28px; }
.close__copy .display { font-size: var(--d-xl); }
.direct-list { display: grid; border-top: 1px solid rgba(255, 255, 255, .25); }
.direct { display: flex; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid rgba(255, 255, 255, .25); font-weight: 500; text-decoration: none; transition: padding .35s var(--ease), color .2s; }
.direct .icon { opacity: .8; }
.direct:hover { padding-left: 10px; }
@media (max-width: 900px) { .close__grid { grid-template-columns: 1fr; } }

/* Form */
.ticket { display: grid; gap: 28px; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: #fff; color: var(--text); box-shadow: 0 50px 100px rgba(40, 0, 2, .35); }
.ticket__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ticket__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-l); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.ticket__code:first-child { color: var(--red); }
.ticket__jobs { border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 10px; font-size: .9rem; font-weight: 600; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-l); border-radius: 999px; background: #fff; font-weight: 500; font-size: .94rem; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.ticket__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field--wide { grid-column: 1 / -1; }
.field__input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid rgba(18, 18, 20, .18); border-radius: var(--r-sm); background: #fbfbfa; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
textarea.field__input { min-height: 140px; resize: vertical; line-height: 1.55; }
.field__input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(183, 33, 38, .12); }
.field__input[aria-invalid="true"] { border-color: #c21a3d; background: #fff5f6; }
.field__error { margin-top: 6px; color: #b0102f; font-size: .9rem; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check a { color: var(--text); font-weight: 600; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.ticket__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ticket__alt { font-size: .94rem; color: var(--text-2); }
.ticket__alt a { color: var(--text); font-weight: 600; }
.ticket.is-sending .btn { opacity: .6; pointer-events: none; }
.ticket__stamp { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; background: #f7eded; }
.stamp { flex: none; padding: 8px 16px; border: 2px solid var(--red); border-radius: 12px; color: var(--red); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; background: #fff; }
.ticket__stamp.is-new .stamp { animation: stamp .5s var(--ease) both; }
@keyframes stamp { from { opacity: 0; scale: 1.5; } to { opacity: 1; scale: 1; } }
.ticket__done { font-weight: 600; }
@media (max-width: 600px) { .ticket__grid { grid-template-columns: 1fr; } }

/* Footer ------------------------------------------------------------------- */
.foot { position: relative; isolation: isolate; overflow: hidden; padding-top: var(--sec); }
/* On scene pages the footer is the last sheet: it slides over the quote request */
.foot--over { z-index: 5; border-radius: 32px 32px 0 0; padding-top: calc(var(--sec) + var(--bar-h)); }
.foot > * { position: relative; z-index: 1; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot__claim { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; max-width: 18ch; }
.foot__col { display: grid; gap: 6px; align-content: start; font-size: .95rem; }
.foot__col a, .foot__list a { color: rgba(255, 255, 255, .72); text-decoration: none; display: inline-block; padding: 2px 0; transition: color .2s; }
.foot__col a:hover, .foot__list a:hover { color: #fff; }
.foot__list { display: grid; gap: 2px; }
.foot__h { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 10px; }
.foot__mark { display: flex; align-items: flex-start; justify-content: center; padding: clamp(3rem, 8vw, 7rem) 0 .04em; font-family: "Anybody", var(--font); font-size: clamp(3rem, 16.4vw, 18rem); font-weight: 900; letter-spacing: 0; line-height: .8; white-space: nowrap; user-select: none; color: #fff; }
.foot__mark span { display: inline-block; }
.foot__ast { width: .34em; height: .34em; margin-top: .02em; color: var(--red-hi); flex: none; }
@media (prefers-reduced-motion: no-preference) { .foot__ast { animation: spin 24s linear infinite; } }
.foot__funds { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; padding-block: 28px; border-top: 1px solid var(--line-d); font-size: .8rem; line-height: 1.55; color: rgba(255, 255, 255, .55); }
.foot__funds a { color: #fff; }
.foot__funds img { background: #fff; padding: 8px 10px; border-radius: 10px; }
.foot__funds img:first-child { width: 300px; }
.foot__assoc { width: 150px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 34px; border-top: 1px solid var(--line-d); font-size: .84rem; color: rgba(255, 255, 255, .5); }
.foot__legal a { color: rgba(255, 255, 255, .8); }
@media (max-width: 1000px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__claim { grid-column: 1 / -1; } .foot__funds { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .foot__funds img:first-child { width: 100%; } }
/* Stacked footer (tablet and phone): the Sicindustria badge is larger and centred under the text. */
@media (max-width: 1000px) { .foot__assoc { justify-self: center; width: min(64%, 240px); } }

.wa-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .3s var(--ease), background-color .3s; }
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab:hover { transform: translateY(-3px); background: var(--red); }
body.menu-open .wa-fab { display: none; }
@media (max-width: 720px) { .wa-fab { width: 52px; height: 52px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phead { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * (var(--bar-h) + var(--bar-top))); padding: calc(var(--bar-h) + var(--bar-top) + clamp(4rem, 12vh, 8rem)) 0 clamp(4rem, 10vh, 7rem); }
.phead .wrap { position: relative; z-index: 1; display: grid; gap: 26px; }
.phead .display { max-width: 16ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .88rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; opacity: .7; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs li[aria-current] { opacity: 1; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Project grid */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 22vw, 340px), 1fr)); grid-auto-flow: dense; gap: 24px; }
.pgrid .pcard:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.pgrid .pcard:nth-child(5n+1) .pcard__name { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.pgrid .pcard__link { height: 100%; aspect-ratio: auto; min-height: 360px; }
@media (max-width: 720px) { .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; } .pgrid .pcard__link { min-height: 240px; } .pcard__body { left: 14px; right: 14px; bottom: 14px; } .pcard__name { font-size: 1.05rem; } }
.empty { display: grid; justify-items: center; gap: 16px; padding: 72px 24px; text-align: center; border: 1px dashed var(--line-l); border-radius: var(--r); }
.empty__face { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--paper-2); font-size: 2rem; font-weight: 700; rotate: 90deg; }
.ghost-empty { padding: 32px; border: 1px dashed var(--line-l); border-radius: var(--r); color: var(--text-2); }

/* Case study */
.profile__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.profile__info { position: sticky; top: calc(var(--bar-h) + 50px); display: grid; gap: 28px; max-height: calc(100dvh - var(--bar-h) - 70px); overflow-y: auto; padding: 4px 6px 12px 2px; scrollbar-width: thin; }
.quote { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.45; }
.quote--big { font-weight: 600; letter-spacing: -.025em; }
.quote--big::before { content: "“"; display: block; height: .5em; font-size: 3.2em; line-height: .9; font-weight: 700; color: var(--red); }
.block { display: grid; gap: 12px; }
.block__h, .side-h { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-l); border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.tag:hover { background: var(--black); border-color: var(--black); color: #fff; }
.mosaic { columns: 2; column-gap: 20px; }
.mosaic__item { break-inside: avoid; margin-bottom: 20px; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.mosaic__item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.mosaic__item:hover img { transform: scale(1.03); }
.mosaic__item:only-child { column-span: all; }
@media (max-width: 900px) {
	.profile__layout { grid-template-columns: 1fr; }
	.profile__info { position: static; max-height: none; overflow: visible; order: 2; }
	.mosaic { columns: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 12px; scrollbar-width: none; }
	.mosaic__item { flex: 0 0 82%; margin: 0; scroll-snap-align: center; aspect-ratio: 3 / 4; }
	.mosaic__item img { height: 100%; object-fit: cover; }
}
.next .next__link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--g-dark); color: #fff; text-decoration: none; transition: transform .45s var(--ease); }
.next__img { width: clamp(110px, 14vw, 200px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); }
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next__txt { display: grid; gap: 8px; }
.next__txt .kicker { opacity: .7; }
.next__name { font-size: clamp(2.2rem, 1rem + 4.6vw, 5.2rem); font-weight: 700; letter-spacing: -.05em; line-height: .95; }
.next__go { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); transition: transform .45s var(--ease); }
.next__link:hover .next__go { transform: rotate(-45deg); }
@media (max-width: 640px) { .next .next__link { grid-template-columns: 1fr; } .next__go { display: none; } }

/* Prose */
.prose { font-size: 1.06rem; line-height: 1.7; color: #2b2b30; max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; margin-top: 1.6em; color: var(--text); }
.prose h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; margin-top: 1.4em; color: var(--text); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--text); font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose ul { padding-left: 1.2em; }
.prose ul li::marker { color: var(--red); }
.prose--lead > p:first-child { font-size: var(--t-lead); font-weight: 500; color: var(--text); }

/* Service detail */
.srv__items { display: flex; flex-wrap: wrap; gap: 8px; }
.srv__items li { padding: 8px 14px; border: 1px solid var(--line-l); border-radius: 999px; font-weight: 500; font-size: .92rem; background: #fff; }
.srv__plate { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--paper-2); }
.srv__plate img { width: 100%; height: 100%; object-fit: cover; }
.srv-detail__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); }
.srv-detail__side { display: grid; gap: 20px; align-content: start; }
.srv-detail__side .srv__plate { margin-bottom: 8px; }
.srv-detail__side .srv__items { flex-direction: column; align-items: flex-start; }
.side-note { color: var(--text-2); font-size: .95rem; }
@media (max-width: 900px) { .srv-detail__grid { grid-template-columns: 1fr; } }
.faq__item { padding: 28px 0; border-bottom: 1px solid var(--line-l); display: grid; gap: 10px; }
.faq__item:first-child { border-top: 1px solid var(--line-l); }
.faq__item h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.faq__item p { color: var(--text-2); }
.related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .related__list { grid-template-columns: 1fr; } }
.proof__link { display: grid; gap: 16px; text-decoration: none; }
.proof__frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.proof__img { position: absolute; inset: 0; }
.proof__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proof__link:hover .proof__img img { transform: scale(1.05); }
.proof__meta { display: grid; gap: 4px; }
.proof__client { font-size: 1.5rem; font-weight: 700; letter-spacing: -.035em; }
.proof__tag, .proof__data { color: var(--text-2); font-size: .95rem; }

/* About, jobs, blog */
.studio-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; padding-inline: var(--edge); margin: var(--sec) auto 0; }
.studio-strip__shot { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); }
@media (max-width: 700px) { .studio-strip { grid-template-columns: 1fr 1fr; } .studio-strip__shot:first-child { grid-column: 1 / -1; } }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 24px; margin: 0; align-content: start; }
.facts--stack { grid-template-columns: 1fr; }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.facts dd { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
.hiring__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
/* Only the block that groups title and picture (Lavora con noi), never a bare heading. */
.hiring__grid > div:first-child { display: grid; gap: 26px; }
.hiring__list { display: grid; border-top: 1px solid var(--line-l); }
.hiring__img { aspect-ratio: 4 / 3; max-width: 460px; }
.hiring__job { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; transition: padding .4s var(--ease); }
.hiring__job > span:first-child { font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; transition: color .2s; }
.hiring__type { grid-column: 1; font-size: .95rem; color: var(--text-2); }
.hiring__job .icon { grid-row: 1 / span 2; grid-column: 2; width: 26px; height: 26px; transition: transform .4s var(--ease); }
.hiring__job:hover { padding-left: 12px; }
.hiring__job:hover > span:first-child { color: var(--red); }
.hiring__job:hover .icon { transform: translateX(6px); }
.is-ghost .hiring__job { opacity: .5; }
@media (max-width: 900px) { .hiring__grid { grid-template-columns: 1fr; } }
.posts { display: grid; border-top: 1px solid var(--line-l); }
.post-row { display: grid; grid-template-columns: 140px 1fr; gap: 6px 28px; padding: 28px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; }
.post-row__date { color: var(--text-2); grid-row: span 2; font-size: .92rem; }
.post-row__title { font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; }
.post-row__ex { color: var(--text-2); }
.post-row:hover .post-row__title { color: var(--red); }
.misprint__code { font-size: clamp(6rem, 24vw, 18rem); font-weight: 700; letter-spacing: -.07em; line-height: .8; color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.case__cover--inset { overflow: hidden; margin-bottom: 48px; border-radius: 28px; }
.case__cover--inset img { width: 100%; height: auto; }
.anchor { display: block; position: absolute; top: 0; }

/* ==========================================================================
   Services page: one sheet per service
   ========================================================================== */
.svc-intro .scene__inner { display: grid; gap: 30px; }
.svc-intro .display { max-width: 14ch; }
.svc-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.svc-index .pill { min-height: 52px; font-size: 1rem; background: rgba(255, 255, 255, .06); border-color: var(--line-d); color: #fff; }
.svc-index .pill:hover { background: #fff; color: var(--black); border-color: #fff; }

.svc-scene__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.svc-scene__copy { display: grid; gap: 26px; justify-items: start; }
.svc-scene .display { max-width: 12ch; }
.svc-scene__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: rgba(0, 0, 0, .15); box-shadow: 0 40px 80px rgba(0, 0, 0, .22); }
@media (max-width: 900px) { .svc-scene__grid { grid-template-columns: 1fr; } .svc-scene__photo { max-width: 360px; aspect-ratio: 4 / 3; order: -1; } }

/* ==========================================================================
   Motion start states (only when the motion layer runs)
   ========================================================================== */
html.has-motion [data-words] .w:not(.is-in),
html.has-motion [data-pop]:not(.is-in),
html.has-motion [data-stagger] > *:not(.is-in),
html.has-motion .scenes [data-in]:not(.is-in),
html.has-motion .bar:not(.is-in) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
@media print {
	.bar, .menu, .wa-fab, .progress, .scene__shape { display: none !important; }
	.scene, .phead, .foot { background: #fff !important; color: #000 !important; }
}

/* Phones: scenes stack normally, a little less air */
@media (max-width: 760px) {
	:root { --sec: 5rem; --r: 18px; }
	.scene { min-height: 0; padding-block: var(--sec); }
	.scene--hero, .scenes > .scene:first-child { min-height: 100svh; padding-top: calc(var(--bar-h) + var(--bar-top) + 3rem); }
	.scene--work .scene__inner { min-height: 0; padding-block: var(--sec); }
	.btn { width: 100%; }
	.hero-stickers .sticker { padding-right: 14px; margin-right: 14px; font-size: .88rem; }
}

/* ---------- Projects archive: what each kind of work is ---------- */
.book-about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); margin-top: clamp(4rem, 10vh, 7rem); padding-top: clamp(2rem, 5vh, 3rem); border-top: 1px solid var(--line-l); }
@media (max-width: 860px) { .book-about { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Jobs: life at the studio ---------- */
.hiring-about { padding-top: 0; }

/* ---------- Guides ---------- */
.guides__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.guide-card__link { display: grid; gap: 14px; align-content: start; height: 100%; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line-l); border-radius: var(--r-sm); background: #fff; color: var(--text); text-decoration: none; transition: border-color .2s; }
.guide-card__link:hover, .guide-card__link:focus-visible { border-color: var(--text); }
.guide-card__meta { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.guide-card__title { display: block; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.guide-card__text { color: var(--text-2); }
.guide-card__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.guide-card__more .icon { width: 18px; height: 18px; }
.guides--more { padding-top: 0; }
.guides--more .side-h { margin-bottom: 20px; }
.guide-byline { font-size: .92rem; color: rgba(255, 255, 255, .62); }
.guide__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.guide__side { position: sticky; top: calc(var(--bar-h) + var(--bar-top) + 24px); display: grid; gap: 16px; justify-items: start; }
.guide__svc { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; width: 100%; padding: 20px; border-radius: var(--r-sm); background: var(--paper); color: var(--text); text-decoration: none; }
.guide__svc-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.guide__svc-text { grid-column: 1; font-size: .95rem; color: var(--text-2); }
.guide__svc .icon { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 22px; height: 22px; }
.guide__body h2 { scroll-margin-top: calc(var(--bar-h) + 40px); }
@media (max-width: 860px) { .guide__grid { grid-template-columns: minmax(0, 1fr); } .guide__side { position: static; } }

/* Photos that drift with the scroll (app.js, parallax: ±6% of their height): the picture is
   taller than its frame and centred on it, so the movement never uncovers the frame behind. */
.svc-scene__photo img, .polaroid img, .studio-strip__shot img { position: absolute; left: 0; top: -9%; display: block; width: 100%; height: 118%; max-width: none; object-fit: cover; }
