/* ═══════════════════════════════════════════════════════════
   SPADELLA · Italian Street Pasta — Miami, coming soon
   Nero, rosso e crema dal mockup del cliente. Font self-hosted (OFL).
   ═══════════════════════════════════════════════════════════ */
@font-face { font-family: 'Bebas Neue'; src: url('../fonts/BebasNeue.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/DMSans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Kaushan Script'; src: url('../fonts/KaushanScript.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #0b0b0b;
  --ink-2: #161514;
  --red: #e5322d;
  --red-d: #b9241d;
  --cream: #f3ece2;
  --cream-line: #d8ccbd;
  --gold: #d9b27c;
  --dim: #c9c1b7;
  --gutter: clamp(16px, 5vw, 72px);
  --display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --script: 'Kaushan Script', 'Brush Script MT', cursive;
}

*, *::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(--ink);
  color: #fff;
  font: 400 16px/1.55 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; margin: 0; }
h2 { font-size: clamp(54px, 6.6vw, 104px); line-height: .9; }
p { margin: 0; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.red { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: clamp(84px, 12vh, 140px) var(--gutter); }
.eyebrow { font-family: var(--display); font-size: 19px; letter-spacing: .2em; color: var(--gold); margin-bottom: 14px; }
.cream .eyebrow { color: var(--red); }
.script { font-family: var(--script); color: var(--red); line-height: 1.1; }
.tag {
  display: inline-block; font-family: var(--display); font-size: 19px; letter-spacing: .1em;
  background: var(--red); color: #fff; padding: 6px 13px 3px; transform: rotate(-3deg);
}
.fine { font-size: 13px; color: #9e968c; }
.brush { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; overflow: visible; }

/* ── Bottoni ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 20px; letter-spacing: .06em; line-height: 1;
  padding: 15px 24px 13px; border: 1px solid var(--red); background: var(--red); color: #fff;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--red-d); border-color: var(--red-d); }
.btn:active { transform: translateY(1px); }
.btn--sm { font-size: 17px; padding: 11px 16px 9px; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ── Navigazione ───────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 74px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  background: linear-gradient(rgba(11, 11, 11, .75), rgba(11, 11, 11, 0));
  transition: background .35s, height .35s, box-shadow .35s;
}
.nav.is-scrolled {
  height: 64px; background: rgba(11, 11, 11, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.nav__logo { flex: none; width: 138px; }
.nav__logo img { width: 100%; height: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-family: var(--display); font-size: 19px; letter-spacing: .07em; text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--red); }
.nav__ig { display: grid; place-items: center; width: 40px; height: 40px; flex: none; transition: color .2s; }
.nav__ig:hover { color: var(--red); }
.nav__ig svg, .ig__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav__ig .dot, .ig__icon .dot { fill: currentColor; stroke: none; }
.nav__cta .short { display: none; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; transform-origin: 70% 55%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, .93) 0%, rgba(11, 11, 11, .78) 30%, rgba(11, 11, 11, .2) 60%, rgba(11, 11, 11, 0) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11, 11, 11, 0) 22%);
}
.hero__in { position: relative; z-index: 2; width: 100%; max-width: 840px; padding: 112px var(--gutter) 84px; }
.hero__title { font-size: clamp(76px, min(9vw, 15vh), 150px); line-height: .84; margin: 20px 0 6px; }
.hero__title .hl { display: block; }
.hero__script { position: relative; display: inline-block; font-size: clamp(32px, 3.3vw, 48px); }
.hero__script .brush { position: absolute; left: 2%; bottom: -12px; width: 96%; height: 16px; }
.hero__intro { font-size: 17.5px; color: #ece6de; max-width: 460px; margin: 24px 0 26px; }

.stamp {
  position: absolute; z-index: 2; right: clamp(20px, 5vw, 90px); top: clamp(100px, 15vh, 160px);
  display: grid; justify-items: center; text-align: center; transform: rotate(-7deg);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6); pointer-events: none;
}
.stamp__big { font-family: var(--display); font-size: 36px; letter-spacing: .05em; background: var(--red); padding: 5px 18px 1px; text-shadow: none; }
.stamp__at { font-family: var(--script); font-size: 30px; margin-top: 10px; }
.stamp__where { font-family: var(--display); font-size: 19px; letter-spacing: .16em; }
.stamp .brush { width: 210px; height: 14px; margin-top: 4px; }

.hero__down { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 44px; margin-left: -22px; color: #fff; opacity: .8; }
.hero__down svg { width: 44px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ── Form iscrizione ───────────────────────────────────── */
.signup { position: relative; max-width: 480px; }
.signup__title { font-family: var(--display); font-size: 23px; letter-spacing: .05em; margin-bottom: 10px; }
.signup__row { display: flex; }
.signup input[type=email] {
  flex: 1; min-width: 0; height: 56px; padding: 0 16px; border-radius: 0; font-size: 16px;
  background: rgba(255, 255, 255, .09); color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-right: 0;
}
.signup input[type=email]::placeholder { color: #bdb5ab; }
.signup .btn { height: 56px; padding-top: 3px; padding-bottom: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 13px; font-size: 13px; line-height: 1.45; color: #d9d2c9; cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--red); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup__msg { min-height: 1.5em; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--gold); }
.signup.is-done .signup__row, .signup.is-done .consent { display: none; }
.signup.is-done .signup__msg { font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: .04em; line-height: 1.15; color: #fff; }
.signup--light input[type=email] { background: #fff; color: var(--ink); border-color: rgba(11, 11, 11, .35); }
.signup--light input[type=email]::placeholder { color: #8b8278; }
.signup--light .consent { color: #4a433b; }
.signup--light .signup__msg { color: var(--red-d); }
.signup--light.is-done .signup__msg { color: var(--ink); }

/* ── Marquee ───────────────────────────────────────────── */
.marquee { background: var(--red); overflow: hidden; padding: 15px 0 11px; }
.marquee__track { display: flex; align-items: center; width: max-content; }
.marquee span { font-family: var(--display); font-size: 32px; letter-spacing: .05em; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 13px; color: var(--ink); margin: 0 26px; }

/* ── Il nome ───────────────────────────────────────────── */
.name { background: var(--ink); }
.name__pin {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(36px, 6vw, 100px); min-height: 100vh; padding: clamp(84px, 11vh, 130px) var(--gutter);
  max-width: 1440px; margin: 0 auto;
}
.name__media { position: relative; margin: 0; height: min(80vh, 780px); overflow: hidden; background: #111; }
.name__media img { width: 100%; height: 100%; object-fit: cover; }
.name__media figcaption { position: absolute; left: 22px; bottom: 16px; font-size: 38px; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .7); transform: rotate(-4deg); }
.defs { list-style: none; padding: 0; margin: 34px 0 30px; display: grid; gap: 28px; }
.def { border-left: 3px solid var(--red); padding: 2px 0 2px 22px; }
.def__word { font-family: var(--display); font-size: clamp(44px, 4.4vw, 60px); line-height: 1; }
.def__ipa { font-family: 'DM Sans', sans-serif; font-size: 15px; font-style: italic; letter-spacing: .05em; color: var(--gold); margin-left: 10px; vertical-align: middle; }
.def__type { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 6px 0 10px; }
.def__body { font-size: 17px; line-height: 1.65; color: #ddd5cb; max-width: 540px; }
.name__close { font-size: 19px; line-height: 1.6; max-width: 560px; }
.name__close em { font-family: var(--script); font-style: normal; font-size: 1.35em; color: var(--red); }
.defs.is-stacked { display: grid; }
.defs.is-stacked .def { grid-area: 1 / 1; }

/* ── Esperienza ────────────────────────────────────────── */
.cream { background: var(--cream); color: var(--ink); }
.experience__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: 52px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { padding: 34px 30px 36px 0; }
.step:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--cream-line); }
.step:nth-child(-n+2) { border-bottom: 1px solid var(--cream-line); }
.step__ico { width: 66px; height: 66px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step__n { font-family: var(--display); font-size: 17px; letter-spacing: .12em; color: var(--red); margin: 18px 0 2px; }
.step h3 { font-size: 38px; line-height: 1; margin-bottom: 8px; }
.step p { font-size: 16px; color: #4c453d; max-width: 280px; }
.shake { position: relative; margin: 0; aspect-ratio: 2 / 3; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.shake img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 70%; }
.shake figcaption { position: absolute; top: 20px; right: 22px; font-size: 44px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); transform: rotate(-7deg); }

/* ── Menu ──────────────────────────────────────────────── */
.menu { background: radial-gradient(ellipse 90% 60% at 50% 0%, #252321 0%, var(--ink) 62%); overflow: hidden; }
.menu__pin { padding: clamp(84px, 11vh, 130px) 0 clamp(40px, 6vh, 70px); }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-top: 0; padding-bottom: 34px; }
.menu__script { font-size: clamp(30px, 3vw, 46px); text-align: right; transform: rotate(-4deg); }
.menu__track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.dish { text-align: center; }
.dish__img { aspect-ratio: 1; }
/* bowl scontornate (alfa, vedi _gen/build_assets.py): ruotano sul fondo della sezione senza bordi */
.dish__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
.dish h3 { font-size: 31px; line-height: 1; margin: 6px 0 6px; }
.dish p { font-size: 14px; color: #cfc7bd; max-width: 240px; margin: 0 auto; }
.dish .dish__price { font-family: var(--display); font-size: 26px; letter-spacing: .04em; color: #fff; margin-top: 10px; }
.menu.is-h .menu__track { display: flex; width: max-content; max-width: none; gap: clamp(30px, 3vw, 60px); padding: 0 calc(var(--gutter) + 2vw); }
.menu.is-h .menu__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 30px; }
.menu.is-h .dish { width: clamp(250px, min(26vw, 50vh), 430px); }
.menu__foot { padding-top: 30px; }
.perks { list-style: none; margin: 0; padding: 30px 0 0; border-top: 1px solid #2c2a28; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.perks li { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
.perks svg { grid-row: span 2; width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.perks b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .05em; line-height: 1; padding-top: 4px; }
.perks small { font-size: 13.5px; color: var(--dim); }
.menu__foot .fine { margin-top: 26px; }

/* ── Real Padel ────────────────────────────────────────── */
.padel { position: relative; min-height: 112vh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.padel__media { position: absolute; inset: -8% 0; }
.padel__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.padel__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, .85) 0%, rgba(11, 11, 11, .45) 48%, rgba(11, 11, 11, .25) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11, 11, 11, 0) 26%),
    linear-gradient(180deg, var(--ink) 0%, rgba(11, 11, 11, 0) 18%);
}
.padel__in { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.padel__big { font-size: clamp(66px, 9.2vw, 156px); line-height: .86; text-shadow: 0 4px 40px rgba(0, 0, 0, .55); }
.padel__card { background: rgba(11, 11, 11, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); border-top: 4px solid var(--red); padding: 32px; }
.padel__photo { position: relative; margin: -32px -32px 26px; aspect-ratio: 16 / 10; overflow: hidden; background: #1b2a44; }
.padel__photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.padel__photo figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 40px 18px 12px; background: linear-gradient(transparent, rgba(11, 11, 11, .75)); }
.padel__photo .script { font-size: 30px; white-space: nowrap; color: #fff; transform: rotate(-4deg); transform-origin: left bottom; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.padel__photo small { font-size: 11px; letter-spacing: .04em; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.padel__place { font-family: var(--display); font-size: 38px; line-height: 1; margin-bottom: 12px; }
.padel__card p { color: #e4ddd4; }
.padel__addr { margin-top: 18px; font-weight: 600; color: #fff !important; }
.padel__when { margin-top: 8px; }
.padel__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ── Iscriviti + Instagram ─────────────────────────────── */
.join { background: var(--cream); color: var(--ink); }
.join__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.join__title { font-size: clamp(70px, 8.6vw, 140px); line-height: .86; margin: 22px 0 18px; }
.join__left > p:not(.tag) { font-size: 18px; color: #3d372f; max-width: 460px; margin-bottom: 26px; }
.ig {
  position: relative; display: grid; gap: 8px; padding: 40px 36px; background: var(--ink); color: #fff;
  text-decoration: none; overflow: hidden; transition: background .35s, transform .35s;
}
.ig::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid var(--red); opacity: .55; transition: transform .6s; }
.ig:hover { background: var(--red); transform: translateY(-4px); }
.ig:hover::after { transform: scale(1.4); border-color: #fff; }
.ig__icon svg { width: 54px; height: 54px; stroke-width: 1.5; }
.ig__label { font-family: var(--display); font-size: 20px; letter-spacing: .16em; color: var(--gold); margin-top: 14px; }
.ig:hover .ig__label { color: #fff; }
.ig__handle { font-family: var(--display); font-size: clamp(40px, 4vw, 58px); line-height: 1; }
.ig__go { font-size: 15px; font-weight: 600; margin-top: 8px; }

/* ── Footer ────────────────────────────────────────────── */
.foot { background: var(--ink); border-top: 1px solid #222; }
.foot__in { display: grid; justify-items: center; text-align: center; gap: 16px; padding-top: 72px; padding-bottom: 56px; }
.foot__logo { width: 220px; height: auto; }
.foot__script { font-size: 34px; transform: rotate(-4deg); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 12px; }
.foot__links a { font-family: var(--display); font-size: 19px; letter-spacing: .1em; text-decoration: none; transition: color .2s; }
.foot__links a:hover { color: var(--red); }
.foot__copy { font-size: 12.5px; color: #8b8379; margin-top: 10px; }

/* ── Movimento: stati iniziali solo se la regia è attiva ── */
.js-motion .split .line { will-change: transform; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .menu__track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav { gap: 6px; height: 64px; }
  .nav__links { display: none; }
  .nav__logo { width: 116px; margin-right: auto; }
  .nav__cta .long { display: none; }
  .nav__cta .short { display: inline; }

  /* hero: foto in alto, testo che le scorre sopra dal basso */
  .hero { display: block; min-height: 0; }
  .hero__media { bottom: auto; height: 74svh; }
  .hero__media img { object-position: 70% 50%; }
  .hero__shade { bottom: auto; height: 74.5svh; background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 11, 11, .55) 32%, rgba(11, 11, 11, 0) 62%, rgba(11, 11, 11, .35) 100%); }
  .hero__in { padding: 47svh var(--gutter) 64px; }
  .hero__intro { margin: 22px 0 24px; }
  .stamp { top: 82px; bottom: auto; right: 12px; transform: rotate(-7deg) scale(.66); transform-origin: top right; }
  .hero__down { display: none; }

  .name__pin { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .name__media { height: 62svh; }
  .experience__grid { grid-template-columns: 1fr; }
  .shake { max-width: 440px; width: 100%; justify-self: center; }
  .menu__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .menu__script { text-align: left; }
  .padel { min-height: 0; }
  .padel__in { grid-template-columns: 1fr; padding-top: 44svh; }
  .padel__shade { background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 11, 11, .7) 45%, rgba(11, 11, 11, .2) 75%, var(--ink) 100%); }
  .join__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding-top: 76px; padding-bottom: 76px; }
  .hero__title { font-size: clamp(64px, 19vw, 88px); }
  .signup .btn { padding-left: 16px; padding-right: 16px; font-size: 18px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding: 26px 0 28px; border-left: 0; border-bottom: 1px solid var(--cream-line); }
  .step:last-child { border-bottom: 0; }
  .menu__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .dish h3 { font-size: 26px; }
  .dish p { font-size: 13px; }
  .perks { grid-template-columns: 1fr; gap: 18px; }
  .padel__card { padding: 26px 22px; }
  .padel__photo { margin: -26px -22px 22px; }
  .padel__photo .script { font-size: 24px; }
  .ig { padding: 34px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__down svg { animation: none; }
  .ig, .ig::after, .btn { transition: none; }
}
