/* ============================================================
   AUDACE CLUB BOSCHESE 1928 — stile condiviso
   Palette ufficiale ACB/Color · Cormorant + Helvetica Neue
   Regola tipografica: MAI font-style italic.
   ============================================================ */

:root {
  --green:      #1E4430;   /* dark green background */
  --green-2:    #185A3A;   /* mid green surface */
  --emerald:    #107947;   /* main green */
  --gold:       #BDA360;   /* gold accent */
  --cream:      #FFFDE9;   /* ivory text */
  --cream-dim:  #D3D2C4;   /* stone muted */
  --ease: cubic-bezier(0.62, 0.05, 0.01, 0.99);
  --pad: clamp(20px, 5vw, 80px);
}

@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-VF.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant SC';
  src: url('fonts/CormorantSC-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
/* Rector (brand): SOLO per i titoli grandi, sempre maiuscoli.
   Il file copre A-Z/0-9 senza accentate: i titoli non devono contenere À È É Ì Ò Ù. */
@font-face {
  font-family: 'Rector';
  src: url('fonts/Rector-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--green);
  color: var(--cream);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow-x: clip; /* MAI overflow-x:hidden qui: il body diventerebbe scroll-container e Lenis si blocca */
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

::selection { background: var(--gold); color: var(--green); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* mai corsivi: gli em servono solo per l'accento oro */
em, i { font-style: normal; color: var(--gold); }

/* niente vedove/orfane dove il browser sa farlo da solo (progressive enhancement) */
p { text-wrap: pretty; }
.split__body h3, .otp__t, .card__t, .phero__sub { text-wrap: balance; }

.display {
  font-family: 'Rector', 'Cormorant', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.label {
  font-size: clamp(10px, 0.75vw, 12px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ GRAIN + VIGNETTE ============ */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  box-shadow: inset 0 0 220px 40px rgba(0,0,0,0.45);
}

/* ============ CUSTOM CURSOR ============ */
.cursor { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; mix-blend-mode: difference; will-change: transform; }
.cursor__dot  { position: fixed; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); transform: translate(-50%, -50%); }
.cursor__ring { position: fixed; width: 40px; height: 40px; border: 1px solid var(--cream); border-radius: 50%; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), opacity .3s; }
.cursor__ring.is-hover { width: 74px; height: 74px; }
@media (hover: none) { .cursor { display: none; } }

/* ============ PRELOADER / VEIL ============ */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.loader__mark { width: clamp(60px, 9vw, 110px); opacity: 0; }
.loader__count {
  position: absolute; bottom: var(--pad); right: var(--pad);
  font-family: 'Cormorant', serif; font-size: clamp(60px, 14vw, 190px); line-height: 1;
  color: var(--emerald);
}
.loader__bar { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--gold); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: transform .5s var(--ease), background .5s var(--ease), padding .5s var(--ease);
}
.nav.hidden { transform: translateY(-110%); }
.nav.solid { background: rgba(30,68,48,0.82); backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { width: 44px; }
.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__links a { position: relative; font-size: 13px; letter-spacing: 0.04em; padding: 4px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .4s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { border: 1px solid rgba(255,253,233,0.35); border-radius: 40px; padding: 9px 20px !important; }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold); color: var(--green); border-color: var(--gold); }
.nav__burger { display: none; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; flex-direction: column; gap: 5px; width: 34px; cursor: pointer; }
  .nav__burger span { height: 1.5px; background: var(--cream); width: 100%; transition: .4s var(--ease); }
  .nav__brand span { display: none; }
}

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 890; background: var(--green-2);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
}
.menu.open { clip-path: inset(0 0 0 0); }
.menu a { font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(38px, 11vw, 74px); line-height: 1.05; color: var(--cream); }
.menu a:hover { color: var(--gold); }
.menu__meta { margin-top: 40px; display: flex; gap: 24px; }
.menu__meta a { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; letter-spacing: 0.28em; line-height: 1.4; }
.menu__meta a:hover { color: var(--gold); }

/* ============ HERO (home) ============ */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__media { position: absolute; inset: -12% 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,68,48,0.55) 0%, rgba(30,68,48,0.15) 40%, rgba(30,68,48,0.85) 100%); }
.hero__inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--pad) + 60px) var(--pad) var(--pad); }
.hero__top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--cream); }
.hero__title { align-self: flex-start; }
.hero__title .display { font-size: clamp(74px, 17vw, 280px); font-weight: 500; }
.hero__title .line { overflow: hidden; display: block; }
.hero__title .line span { display: block; will-change: transform; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* scudetto WebGL: dimensioni e posizione calcolate dal JS sull'altezza del titolo */
.hero__badge {
  position: absolute;
  display: none;
  z-index: 2;
  pointer-events: none;
}
.hero__badge canvas, .hero__badge img { width: 100%; height: 100%; display: block; }
.hero__tag { max-width: 320px; font-size: 14px; line-height: 1.5; color: var(--cream); }
.hero__scroll { display: flex; align-items: center; gap: 12px; }
.hero__scroll .dotline { width: 60px; height: 1px; background: var(--cream); transform-origin: left; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { transform: scaleX(0.4); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

/* mobile: tutto centrato (badge + testo), non solo allineato a sinistra */
@media (max-width: 860px) {
  .hero__top { justify-content: center; text-align: center; }
  .hero__title { align-self: center; text-align: center; }
  .hero__bottom { flex-direction: column; align-items: center; text-align: center; }
  .hero__tag { max-width: 90%; }
  .hero__scroll { flex-direction: column-reverse; gap: 8px; }
}

/* ============ PAGE HERO (pagine interne) ============ */
.phero { padding: calc(var(--pad) + 14vh) var(--pad) clamp(50px, 8vh, 110px); }
.phero__title { font-size: clamp(52px, 11vw, 170px); text-transform: uppercase; max-width: 12ch; }
.phero__title em { color: var(--gold); }
.phero__sub { margin-top: 30px; max-width: 44ch; font-size: 15px; line-height: 1.65; color: var(--cream-dim); }

/* ============ MARQUEE — Helvetica ALL CAPS BOLD ============ */
.marquee { border-top: 1px solid rgba(255,253,233,0.15); border-bottom: 1px solid rgba(255,253,233,0.15); overflow: hidden; padding: 22px 0; background: var(--green); }
.marquee__track { display: flex; gap: 60px; white-space: nowrap; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(22px, 3.4vw, 46px);
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee__track span::after { content: '✦'; color: var(--emerald); font-size: 0.6em; }

/* ============ SECTION SHELL ============ */
section { position: relative; }
.sec { padding: clamp(90px, 14vh, 200px) var(--pad); }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--gold); margin-bottom: 40px; }
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }

/* ============ MANIFESTO ============ */
.manifesto p, .manifest-text { font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(28px, 4.4vw, 68px); line-height: 1.12; max-width: 30ch; letter-spacing: 0; }
/* inline (non inline-block): così i legami nbsp valgono anche tra span ed <em> */
.manifest-text .w { display: inline; will-change: opacity; }
.manifesto__foot { margin-top: clamp(40px, 6vw, 80px); display: flex; gap: clamp(30px, 6vw, 90px); flex-wrap: wrap; max-width: 760px; }
.manifesto__foot p { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.65; color: var(--cream-dim); font-weight: 400; max-width: 36ch; }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,253,233,0.12); border: 1px solid rgba(255,253,233,0.12); }
.stat { background: var(--green); padding: clamp(30px, 4vw, 56px) clamp(20px, 2.5vw, 40px); }
.stat__num { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500; font-size: clamp(40px, 5.8vw, 88px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 16px; color: var(--cream-dim); font-size: 13px; line-height: 1.4; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============ FULL-BLEED PARALLAX BREAK ============ */
.break { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.break--short { height: 72svh; min-height: 460px; }
.break__media { position: absolute; inset: -15% 0; will-change: transform; }
.break__media img, .break__media video { width: 100%; height: 100%; object-fit: cover; }
.break__media::after { content: ''; position: absolute; inset: 0; background: rgba(30,68,48,0.35); }
.break__text { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad); }
.break__text .display { font-size: clamp(50px, 11vw, 180px); text-transform: uppercase; }

/* ============ GALLERY (home) ============ */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 34px); align-items: start; }
.g-item { overflow: hidden; position: relative; }
.g-item img { width: 100%; height: auto; display: block; transition: transform 1.1s var(--ease); will-change: transform; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--cream); mix-blend-mode: difference; }
.g-1 { grid-column: 1 / 7; }
.g-2 { grid-column: 8 / 13; margin-top: clamp(50px, 12vw, 160px); }
.g-3 { grid-column: 2 / 8; margin-top: clamp(20px, 5vw, 60px); }
.g-4 { grid-column: 9 / 13; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-1 { grid-column: 1 / 3; }
  .g-2 { grid-column: 1 / 2; margin-top: 0; }
  .g-3 { grid-column: 1 / 3; }
  .g-4 { grid-column: 2 / 3; margin-top: -40%; }
}

/* ============ SPLIT (pagine interne) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.split--rev > .split__media { order: 2; }
.split__media { overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { }
.split__media--wide { aspect-ratio: 4/3; }
.split__body h3 { font-family: 'Rector', 'Cormorant', serif; font-weight: 500; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; margin-bottom: 24px; text-transform: uppercase; }
.split__body p { font-size: 15px; line-height: 1.7; color: var(--cream-dim); max-width: 44ch; }
.split__body p + p { margin-top: 18px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > .split__media { order: 0; }
}

/* ============ OFF THE PITCH ============ */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
@media (max-width: 860px) { .journal { grid-template-columns: 1fr; } }
.card { display: block; border-top: 1px solid rgba(255,253,233,0.18); padding-top: 22px; }
.card__k { display: flex; justify-content: space-between; color: var(--cream-dim); margin-bottom: 60px; }
.card__t { font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; }
.card:hover .card__t { color: var(--gold); }
.card__arrow { margin-top: 26px; color: var(--cream-dim); font-size: 13px; display: inline-flex; gap: 8px; align-items: center; }
.card:hover .card__arrow { color: var(--cream); }
.card:hover .card__arrow span { transform: translateX(6px); }
.card__arrow span { transition: transform .4s var(--ease); }

/* journal esteso con immagini (pagina off the pitch) */
.otp-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.6vw, 40px) clamp(14px, 2vw, 34px); }
.otp { grid-column: span 4; display: block; }
.otp--wide { grid-column: span 6; }
.otp__media { overflow: hidden; margin-bottom: 20px; }
.otp--wide .otp__media { }
.otp__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.otp:hover .otp__media img { transform: scale(1.06); }
.otp__k { display: flex; justify-content: space-between; color: var(--cream-dim); margin-bottom: 12px; }
.otp__t { font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.08; }
.otp:hover .otp__t { color: var(--gold); }
@media (max-width: 860px) { .otp, .otp--wide { grid-column: span 12; } }

/* ============ PARTNERS ============ */
.partners__row { display: flex; flex-wrap: wrap; gap: clamp(30px, 5vw, 80px); align-items: baseline; }
.partners__row a { font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(26px, 4vw, 52px); color: var(--cream-dim); transition: color .4s; }
.partners__row a:hover { color: var(--cream); }

/* ============ CONTATTI ============ */
.contact-mail { display: inline-block; font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(28px, 5vw, 72px); border-bottom: 1px solid var(--gold); padding-bottom: 6px; line-height: 1.15; }
.contact-mail:hover { color: var(--gold); }
.contact-list { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: 26px; }
.contact-list .label { color: var(--gold); margin-bottom: 8px; display: block; }
.contact-list p, .contact-list a { font-size: 15px; line-height: 1.65; color: var(--cream); display: block; }
.contact-list a:hover { color: var(--gold); }

/* ============ FORM — stile editoriale ============ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); max-width: 980px; counter-reset: field; }
.form .field--full { grid-column: 1 / -1; }

.field > .label {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--gold); margin-bottom: 6px;
}
.field > .label::before {
  counter-increment: field;
  content: counter(field, decimal-leading-zero);
  font-family: 'Cormorant', serif; font-weight: 500;
  font-size: 15px; letter-spacing: 0; color: rgba(189,163,96,0.55);
}

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  background:
    linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0% 2px,
    linear-gradient(rgba(255,253,233,0.22), rgba(255,253,233,0.22)) no-repeat left bottom / 100% 1px;
  border: 0;
  color: var(--cream);
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  padding: 8px 0 16px;
  border-radius: 0;
  transition: background-size .6s var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  caret-color: var(--gold);
}
.field input:focus, .field textarea:focus { background-size: 100% 2px, 100% 1px; }
.field input::placeholder, .field textarea::placeholder {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px; font-weight: 400;
  color: rgba(211,210,196,0.4);
  letter-spacing: 0.02em;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:-webkit-autofill,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px var(--green) inset;
  transition: background-color 9999s;
}

/* gruppi a "pillole" (sostituiscono radio e select) */
.pills { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: 13px 24px;
  border: 1px solid rgba(255,253,233,0.3); border-radius: 40px;
  color: var(--cream);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px; letter-spacing: 0.06em;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.pill:hover span { border-color: var(--cream); }
.pill input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--green); font-weight: 700; }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--gold); border-radius: 50px;
  color: var(--cream); background: transparent;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  padding: 16px 34px; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--green); }
.btn--ghost { border-color: rgba(255,253,233,0.3); }
.btn--ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--green); }
.form__actions { grid-column: 1 / -1; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.form__actions .btn[type="submit"], .form__actions .btn:first-child { padding: 20px 44px; font-size: 13px; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; gap: 40px; } }

/* ============ CAROSELLO ============ */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: clamp(14px, 2vw, 28px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  cursor: grab;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__slide {
  flex: 0 0 min(74vw, 560px);
  aspect-ratio: 1/1;
  overflow: hidden;
  scroll-snap-align: start;
}
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.carousel__nav { display: flex; gap: 12px; margin-top: 24px; }
.carousel__btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,253,233,0.3); background: transparent;
  color: var(--cream); font-size: 18px; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.carousel__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green); }

/* ============ STORE ============ */
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
@media (max-width: 820px) { .store-grid { grid-template-columns: 1fr; } }
.product__media { overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.1s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__name { font-family: 'Rector', 'Cormorant', serif; font-weight: 500; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; text-transform: uppercase; margin-top: 26px; }
.product__desc { margin-top: 10px; color: var(--cream-dim); font-size: 14px; line-height: 1.6; max-width: 40ch; }
.product__price { margin-top: 16px; font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); color: var(--gold); }
.sizes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.size {
  min-width: 48px; padding: 12px 14px; text-align: center;
  border: 1px solid rgba(255,253,233,0.3); border-radius: 40px;
  background: transparent; color: var(--cream); cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; letter-spacing: 0.06em;
  transition: border-color .3s, background .3s, color .3s;
}
.size:hover { border-color: var(--cream); }
.size.active { background: var(--gold); border-color: var(--gold); color: var(--green); font-weight: 700; }
.product .btn { margin-top: 26px; }
.product .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.product .btn[aria-disabled="true"]:hover { background: transparent; color: var(--cream); }
.store-note { margin-top: clamp(40px, 6vw, 70px); color: var(--cream-dim); font-size: 13px; line-height: 1.7; max-width: 60ch; }

/* ============ CTA / FOOTER ============ */
.cta { text-align: center; padding: clamp(100px, 18vh, 240px) var(--pad) clamp(60px, 8vh, 120px); }
.cta__big { font-size: clamp(54px, 13vw, 230px); line-height: 0.92; text-transform: uppercase; }
.cta__sub { margin-top: 36px; color: var(--cream-dim); font-size: 15px; }
.cta__mail { display: inline-block; margin-top: 22px; font-family: 'Cormorant', serif; font-weight: 500; font-size: clamp(20px, 2.6vw, 34px); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.cta__mail:hover { color: var(--gold); }

footer { border-top: 1px solid rgba(255,253,233,0.15); padding: 40px var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.foot__col h4 { color: var(--cream-dim); font-weight: 400; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.foot__col a, .foot__col p { display: block; font-size: 14px; line-height: 1.7; color: var(--cream); }
.foot__col a:hover { color: var(--gold); }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { width: 54px; }
.foot__legal { width: 100%; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--cream-dim); font-size: 12px; padding-top: 30px; border-top: 1px solid rgba(255,253,233,0.1); margin-top: 20px; }

/* torna all'inizio */
.totop {
  width: 56px; height: 56px; flex: 0 0 56px;
  display: grid; place-items: center; align-self: center;
  border: 1px solid rgba(255,253,233,0.3); border-radius: 50%;
  color: var(--cream); font-size: 20px;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.totop:hover { background: var(--gold); border-color: var(--gold); color: var(--green); transform: translateY(-4px); }

.magnetic { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .hero__media, .break__media { inset: 0; }
}
