/* Panini in Curva: the night of a match, the orange of the curve's flares,
   the black of the logo. Bebas Neue for the shouting, Jakarta for the rest. */

@font-face { font-family: "Bebas"; src: url("fonts/bebas-neue.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
	--notte: #121110;
	--notte-2: #1C1917;
	--carta: #F6EFE7;
	--sbiadito: #B9AEA4;
	--arancio: #FF6A13;
	--ambra: #FDA415;
	--linea: rgba(246, 239, 231, .12);
	--margine: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--notte);
	color: var(--carta);
	font-family: "Jakarta", system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--arancio); }
h1, h2, h3 { font-family: "Bebas", Impact, sans-serif; font-weight: 400; letter-spacing: .01em; line-height: .92; margin: 0; }
.sopratitolo { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ambra); font-weight: 600; margin: 0 0 14px; }

.bottone {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--arancio); color: #fff; text-decoration: none;
	font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
	padding: 16px 26px; border-radius: 999px; border: 2px solid var(--arancio);
	box-shadow: 0 10px 30px -10px rgba(255, 106, 19, .7);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	cursor: pointer;
}
.bottone:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 106, 19, .85); }
.bottone.vuoto { background: transparent; color: var(--carta); border-color: rgba(246, 239, 231, .35); box-shadow: none; }
.bottone.vuoto:hover { border-color: var(--carta); }
.bottone.piccolo { padding: 10px 18px; font-size: 13px; }
.azioni { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- The top bar ---------- */
.testata {
	position: fixed; inset: 0 0 auto 0; z-index: 30;
	display: flex; align-items: center; gap: 28px;
	padding: 14px var(--margine);
	background: linear-gradient(to bottom, rgba(18, 17, 16, .92), rgba(18, 17, 16, 0));
}
.marchio img { height: 46px; width: auto; filter: invert(1); }
.testata nav { display: flex; gap: 26px; margin-left: auto; }
.testata nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--sbiadito); transition: color .2s; }
.testata nav a:hover { color: var(--carta); }

/* ---------- The burger's stage ---------- */
.scena { position: relative; height: 760vh; }
.palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.fondale { position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse at 50% 120%, #2A1A10 0%, var(--notte) 60%); }
.fondale .scritta {
	position: absolute; top: 50%; left: 0; white-space: nowrap;
	font-family: "Bebas", sans-serif; font-size: 34vh; line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px rgba(246, 239, 231, .07);
	transform: translate3d(0, -50%, 0); will-change: transform;
}
.fondale .curva { position: absolute; width: 92vh; height: 92vh; left: 50%; top: 50%; margin: -46vh 0 0 -46vh; will-change: transform; }
.fondale .curva circle { fill: none; stroke: var(--arancio); stroke-width: 2; stroke-dasharray: 600 1100; stroke-linecap: round; opacity: .55; }
.fondale .curva circle.sottile { stroke: var(--ambra); stroke-width: 1; stroke-dasharray: 2 10; opacity: .4; }
.fondale .bagliore { position: absolute; width: 70vh; height: 70vh; left: 50%; top: 50%; margin: -35vh 0 0 -35vh; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 106, 19, .32) 0%, rgba(255, 106, 19, 0) 65%); will-change: transform; }
.semi i { position: absolute; width: 9px; height: 4px; border-radius: 50%; background: #EFD9A6; opacity: .25; will-change: transform; }

.panino { position: absolute; left: 50%; top: 50%; width: var(--larghezza, 440px); will-change: transform; }
.panino .strato-box { position: absolute; left: 0; width: 100%; will-change: transform; }
.panino .strato { display: block; width: 100%; height: auto; overflow: visible;
	transition: opacity .45s ease, transform .5s cubic-bezier(.2, .9, .3, 1.3), filter .45s ease; transform-origin: 50% 50%; }
.panino.passo .strato { opacity: .16; filter: saturate(.3); }
.panino.passo .strato.acceso { opacity: 1; filter: drop-shadow(0 0 22px rgba(255, 106, 19, .45)) saturate(1.1); transform: scale(1.06); }
.panino .ombra { position: absolute; left: 6%; width: 88%; height: 40px; border-radius: 50%;
	background: radial-gradient(ellipse, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0) 70%); will-change: transform, opacity; }

.apertura { position: absolute; left: var(--margine); top: 50%; transform: translateY(-50%); max-width: 560px; z-index: 5; will-change: transform, opacity; }
.apertura h1 { font-size: clamp(64px, 11vw, 150px); }
.apertura .sotto { color: var(--sbiadito); font-size: 18px; max-width: 420px; margin: 22px 0 28px; }
.scorri { display: flex; align-items: center; gap: 12px; margin-top: 46px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--sbiadito); }
.scorri span { width: 22px; height: 36px; border: 2px solid var(--sbiadito); border-radius: 12px; position: relative; }
.scorri span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--arancio); animation: rotella 1.6s infinite; }
@keyframes rotella { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

.filo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; opacity: 0; transition: opacity .3s; }
.filo path { fill: none; stroke: var(--arancio); stroke-width: 1.5; stroke-dasharray: 4 5; }
.filo circle { fill: var(--arancio); }

.pannello {
	position: absolute; right: var(--margine); top: 50%; width: min(440px, 38vw); z-index: 6;
	transform: translate3d(40px, -50%, 0); opacity: 0; pointer-events: none;
	transition: opacity .4s ease, transform .5s cubic-bezier(.2, .9, .3, 1);
}
.pannello.visibile { opacity: 1; transform: translate3d(0, -50%, 0); pointer-events: auto; }
.pannello .conto { font-family: "Bebas", sans-serif; font-size: 22px; color: var(--sbiadito); margin: 0 0 6px; letter-spacing: .05em; }
.pannello .conto b { color: var(--arancio); font-weight: 400; font-size: 34px; }
.pannello h2 { font-size: clamp(54px, 6vw, 84px); }
.pannello .testo { font-size: 18px; color: var(--carta); margin: 14px 0 18px; }
.pannello .scelte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pannello .scelte li { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(246, 239, 231, .07); border: 1px solid var(--linea);
	opacity: 0; transform: translateY(8px); animation: entra .45s forwards; }
.pannello .scelte li b { color: var(--ambra); font-weight: 800; margin-left: 4px; }
@keyframes entra { to { opacity: 1; transform: none; } }
.pannello .nota { font-size: 13px; color: var(--sbiadito); margin: 16px 0 0; }
.pannello .tacche { display: flex; gap: 6px; margin-top: 26px; }
.pannello .tacche i { height: 4px; flex: 1; border-radius: 2px; background: var(--linea); transition: background .3s; }
.pannello .tacche i.fatto { background: var(--arancio); }
.pannello.cambia h2, .pannello.cambia .testo { animation: cambia .5s ease; }
@keyframes cambia { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.finale { position: absolute; left: 50%; bottom: 7vh; transform: translate3d(-50%, 30px, 0); text-align: center; z-index: 6; width: min(680px, 90vw);
	opacity: 0; pointer-events: none; transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1.2); }
.finale.visibile { opacity: 1; transform: translate3d(-50%, 0, 0); pointer-events: auto; }
.finale h2 { font-size: clamp(56px, 8vw, 110px); }
.finale p { color: var(--sbiadito); margin: 12px 0 22px; }
.finale .azioni { justify-content: center; }

/* ---------- The sections after ---------- */
.sezione { position: relative; padding: 120px var(--margine); background: var(--notte); z-index: 2; }
.sezione.scura { background: var(--notte-2); }
.titolo-sezione { max-width: 760px; margin-bottom: 48px; }
.titolo-sezione h2 { font-size: clamp(64px, 9vw, 128px); }
.titolo-sezione p:not(.sopratitolo) { color: var(--sbiadito); font-size: 19px; margin: 14px 0 0; }

.schede { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scheda { background: var(--notte-2); border: 1px solid var(--linea); border-radius: 22px; overflow: hidden;
	opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .9, .3, 1), border-color .3s; }
.scheda.vista { opacity: 1; transform: none; }
.scheda:hover { border-color: rgba(255, 106, 19, .55); }
.scheda .foto { aspect-ratio: 4 / 3; overflow: hidden; }
.scheda .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .9, .3, 1); }
.scheda:hover .foto img { transform: scale(1.07); }
.scheda .corpo { padding: 20px 22px 24px; }
.scheda h3 { font-size: 38px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.scheda h3 span { font-family: "Jakarta", sans-serif; font-size: 17px; font-weight: 800; color: var(--ambra); white-space: nowrap; }
.scheda p { color: var(--sbiadito); font-size: 15px; margin: 8px 0 0; }

.salite { margin-top: 56px; border-top: 1px solid var(--linea); padding-top: 34px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.salite h3 { font-size: 46px; color: var(--arancio); }
.salite ul { list-style: none; margin: 0; padding: 0; }
.salite li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--linea); color: var(--sbiadito); }
.salite li b { font-family: "Bebas", sans-serif; font-weight: 400; font-size: 28px; color: var(--carta); min-width: 140px; }
.salite li span { margin-left: auto; font-weight: 800; color: var(--ambra); white-space: nowrap; }

.nastro { overflow: hidden; margin: 0 calc(-1 * var(--margine)); }
.nastro-scorre { display: flex; gap: 20px; width: max-content; animation: nastro 46s linear infinite; padding-left: var(--margine); }
.nastro:hover .nastro-scorre { animation-play-state: paused; }
.nastro figure { margin: 0; width: 340px; flex: none; }
.nastro figure img { width: 340px; height: 230px; object-fit: cover; border-radius: 18px; }
.nastro figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 600; }
.nastro figcaption span { color: var(--ambra); font-weight: 800; }
@keyframes nastro { to { transform: translateX(-50%); } }

.locale { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.locale-foto { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.2; }
.locale-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.locale-testo h2 { font-size: clamp(56px, 7vw, 96px); }
.locale-testo > p:not(.sopratitolo) { color: var(--sbiadito); margin: 18px 0 26px; }
.orari { border-collapse: collapse; width: 100%; margin-bottom: 30px; }
.orari th, .orari td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--linea); font-weight: 600; }
.orari th { color: var(--sbiadito); font-weight: 400; }
.orari td { text-align: right; }

.app { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; overflow: hidden;
	background: radial-gradient(ellipse at 80% 50%, rgba(255, 106, 19, .18), transparent 60%), var(--notte); }
.app h2 { font-size: clamp(56px, 7vw, 100px); }
.vantaggi { list-style: none; padding: 0; margin: 28px 0 34px; }
.vantaggi li { position: relative; padding: 0 0 16px 30px; color: var(--sbiadito); }
.vantaggi li b { color: var(--carta); }
.vantaggi li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--arancio); }
.negozi { align-items: center; }
.negozio { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; background: #000; border: 1px solid rgba(246, 239, 231, .3); text-decoration: none; transition: border-color .2s, transform .2s; }
.negozio:hover { border-color: var(--carta); transform: translateY(-2px); }
.negozio svg { width: 26px; height: 26px; fill: var(--carta); }
.negozio span { display: flex; flex-direction: column; font-weight: 800; font-size: 17px; line-height: 1.1; }
.negozio small { font-weight: 400; font-size: 11px; color: var(--sbiadito); }
.telefoni { position: relative; height: 640px; }
.telefono { position: absolute; width: 250px; border-radius: 38px; padding: 9px; background: #0A0A0A; border: 1px solid rgba(246, 239, 231, .16);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px #000; overflow: hidden; }
.telefono img { border-radius: 30px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
.telefoni .t1 { left: 50%; top: 40px; margin-left: -125px; z-index: 3; }
.telefoni .t2 { left: 50%; top: 110px; margin-left: -330px; transform: rotate(-8deg); z-index: 2; }
.telefoni .t3 { left: 50%; top: 110px; margin-left: 80px; transform: rotate(8deg); z-index: 2; }

.piede { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
	padding: 56px var(--margine) 110px; border-top: 1px solid var(--linea); color: var(--sbiadito); font-size: 14px; background: var(--notte); }
.piede-logo { width: 130px; filter: invert(1); opacity: .9; }
.piede p { margin: 0 0 6px; }
.piede b { color: var(--carta); }
.piede .piccolo { font-size: 12px; opacity: .7; }
.piede .firma { align-self: end; font-size: 12px; }

.barra-ordina { display: none; }

/* ---------- The window ---------- */
.finestra { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.finestra[hidden] { display: none; }
.finestra-velo { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); animation: appare .25s; }
.finestra-scheda { position: relative; width: min(760px, 100%); max-height: 92vh; overflow: auto; background: var(--notte-2); border: 1px solid var(--linea);
	border-radius: 28px; padding: 36px; text-align: center; animation: sale .4s cubic-bezier(.2, .9, .3, 1.2); }
.finestra-scheda h2 { font-size: 60px; }
.finestra-scheda > p:not(.sopratitolo) { color: var(--sbiadito); max-width: 480px; margin: 12px auto 24px; }
.finestra-chiudi { position: absolute; right: 16px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea); background: none; color: var(--carta); font-size: 26px; cursor: pointer; }
.finestra-telefoni { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.finestra-telefoni .telefono { position: relative; width: 31%; max-width: 200px; border-radius: 28px; padding: 6px; }
.finestra-telefoni .telefono img { border-radius: 22px; }
@keyframes appare { from { opacity: 0; } }
@keyframes sale { from { opacity: 0; transform: translateY(30px) scale(.96); } }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
	body { font-size: 16px; }
	.testata nav { display: none; }
	.testata .bottone { margin-left: auto; }
	.marchio img { height: 38px; }
	.apertura { top: 13vh; transform: none; right: var(--margine); }
	.apertura h1 { font-size: 17vw; }
	.apertura .sotto { font-size: 16px; margin: 14px 0 18px; }
	.apertura .scorri { margin-top: 18px; }
	.apertura .azioni .bottone { padding: 14px 20px; font-size: 13px; }
	.pannello { left: var(--margine); right: var(--margine); width: auto; top: auto; bottom: 22px; transform: translate3d(0, 30px, 0);
		background: rgba(28, 25, 23, .92); backdrop-filter: blur(10px); border: 1px solid var(--linea); border-radius: 22px; padding: 18px 18px 16px; }
	.pannello.visibile { transform: none; }
	.pannello h2 { font-size: 46px; }
	.pannello .testo { font-size: 15px; margin: 6px 0 10px; }
	.pannello .scelte li { font-size: 12px; padding: 5px 10px; }
	.pannello .scelte { max-height: 92px; overflow: hidden; }
	.pannello .nota { display: none; }
	.pannello .tacche { margin-top: 12px; }
	.pannello .conto { font-size: 18px; margin: 0; }
	.pannello .conto b { font-size: 26px; }
	.filo { display: none; }
	.schede { grid-template-columns: 1fr; }
	.salite { grid-template-columns: 1fr; }
	.salite li { flex-wrap: wrap; }
	.salite li span { margin-left: 0; }
	.nastro figure, .nastro figure img { width: 260px; }
	.nastro figure img { height: 180px; }
	.locale, .app { grid-template-columns: 1fr; gap: 36px; }
	.telefoni { height: 470px; }
	.telefono { width: 190px; border-radius: 30px; }
	.telefono img { border-radius: 23px; }
	.telefoni .t1 { margin-left: -95px; top: 10px; }
	.telefoni .t2 { margin-left: -190px; top: 70px; }
	.telefoni .t3 { margin-left: 0; top: 70px; }
	.piede { grid-template-columns: 1fr; gap: 20px; }
	.sezione { padding: 84px var(--margine); }
	.barra-ordina { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		background: linear-gradient(to top, rgba(18, 17, 16, .96) 60%, rgba(18, 17, 16, 0)); transform: translateY(110%); transition: transform .4s; }
	.barra-ordina.visibile { transform: none; }
	.barra-ordina .bottone { width: 100%; }
	.finestra-scheda { padding: 28px 18px; }
	.finestra-scheda h2 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.nastro-scorre { animation: none; flex-wrap: wrap; width: auto; }
	.scheda { opacity: 1; transform: none; }
}
