/* ===========================================================
   GOE FASHION — 2026
   Editorial outlet. Designer pieces. Outlet prices.
   =========================================================== */

:root {
  --cream: #F4F1EC;
  --cream-2: #ECE7DE;
  --bone: #E2DCCF;
  --ink: #0A0A0A;
  --ink-2: #1A1A18;
  --grey: #6B6660;
  --line: rgba(10,10,10,0.12);
  --accent: #8B1E2D;       /* burgundy / wine — italian boutique */
  --accent-2: #B5354A;     /* burgundy bright */
  --gold: #B89968;         /* warm gold (deco) */
  --gold-2: #D4B074;       /* gold light */
  --max: 1600px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
  --section-pad: clamp(5rem, 10vw, 10rem);
  --r: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 86px;

  /* Type system
     - display:    Italiana — ONLY for huge headlines (>= 2rem). Italian art-deco vibe.
     - serif body: Cormorant Garamond regular — long-form copy, lede, manifesto.
     - italic:     Cormorant Garamond italic — accent <em> inside display text.
     - body:       DM Sans — UI, paragraphs, forms, buttons, marquees.
     - mono:       Space Mono — labels, numbers, technical bits. */
  --ff-display: 'Italiana', 'Times New Roman', serif;
  --ff-serif:   'Cormorant Garamond', 'Times New Roman', serif;
  --ff-italic:  'Cormorant Garamond', 'Times New Roman', serif;
  --ff-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --ff-mono:    'Space Mono', 'Courier New', monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }

/* Display em → Cormorant Garamond italic (boutique italian feel) */
.hero__title em,
.section__title em,
.section__lede em,
.manifesto__text em,
.heritage__big em,
.contact__title em,
.contact__direct em,
.stock__cta-text em,
.stock__lead em,
.stock__item h4 em,
.store__name em,
.card__title em,
.map__title em,
.map__val em,
.footer__big-text em,
.menu__col--info em {
  font-family: var(--ff-italic);
  font-weight: 400;
  font-style: italic;
}

::selection { background: var(--ink); color: var(--cream); }

/* === LOADER === */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--r);
}
.loader.is-done { opacity: 0; pointer-events: none; }
.loader__inner { width: min(440px, 80vw); padding: 2rem; }
.loader__logo {
  display: block;
  width: clamp(180px, 30vw, 320px);
  height: auto;
  margin: 0 auto 2.5rem;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  animation: loaderRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
@keyframes loaderRise {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.loader__bar {
  height: 1px; background: rgba(244,241,236,0.2); width: 100%;
  overflow: hidden;
}
.loader__bar-fill {
  height: 100%; width: 0; background: var(--cream);
  animation: fill 1.4s ease-out forwards;
}
@keyframes fill { to { width: 100%; } }
.loader__meta {
  display: flex; justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1rem;
  opacity: 0.7;
}

/* === LOGO MORPH === */
.logo-morph {
  position: fixed;
  top: 0; left: 0;
  z-index: 105;
  pointer-events: none;
  /* will be positioned dynamically by JS */
  transform: translate(-50%, -50%);
  will-change: transform, top, left, width;
  transition: filter 0.4s var(--r);
}
.logo-morph__img {
  display: block;
  width: 100%;
  height: auto;
  /* white when over dark hero — JS toggles class on body */
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--r);
}
body.is-logo-light .logo-morph__img { filter: brightness(0); }

/* === LANG TOGGLE === */
.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: 0.85;
  transition: opacity 0.3s var(--r), background 0.3s var(--r);
}
.lang-toggle:hover { opacity: 1; }
.lang-toggle__opt {
  opacity: 0.45;
  transition: opacity 0.3s var(--r), color 0.3s var(--r);
}
.lang-toggle__opt.is-active { opacity: 1; color: var(--accent-2); }
.lang-toggle__sep { opacity: 0.4; }

@media (max-width: 880px) {
  /* Hide the header lang toggle on mobile — replaced by the in-menu version */
  .header__right .lang-toggle { display: none; }
}

/* In-menu lang toggle (mobile + tablet) */
.menu__lang { margin-top: 2rem; }
.lang-toggle--menu {
  margin-top: 0.6rem;
  border-color: rgba(244,241,236,0.4);
  color: var(--cream);
}

/* === CUSTOM CURSOR === */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9000;
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body { cursor: none; }
  /* Su cio' che si clicca torna il puntatore di sistema. Il pallino custom non ha una
     punta, quindi centrare link e pulsanti e' impreciso: peggio ancora dove il
     compositing non e' accelerato (tipicamente Linux), perche' l'anello insegue il
     mouse con qualche frame di ritardo e l'occhio segue quello, non il pallino. */
  a, button, label, summary, [role="button"], [data-magnetic], [data-card] { cursor: pointer; }
  input, textarea, select { cursor: auto; }
  input[type="checkbox"], input[type="radio"], input[type="submit"] { cursor: pointer; }
}
.cursor__dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--r), height 0.3s var(--r), border-color 0.3s var(--r);
}
.cursor.is-hover .cursor__ring {
  width: 80px; height: 80px;
  border-color: var(--accent);
}
.cursor__dot { transition: opacity 0.2s ease; }
.cursor.is-hover .cursor__dot { opacity: 0; }

/* === HEADER === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--pad);
  height: var(--header-h);
  color: var(--ink);
  transition: background 0.4s var(--r), color 0.4s var(--r), backdrop-filter 0.4s;
}
.header.is-scrolled {
  background: rgba(244,241,236,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header.is-dark { color: var(--cream); }
.header.is-dark.is-scrolled {
  background: rgba(10,10,10,0.6);
  border-bottom-color: rgba(255,255,255,0.1);
}
.header__logo {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none;
  line-height: 1;
}
.header__logo-slot {
  display: inline-block;
  width: 90px;
  height: 36px;
  /* the morphing logo will sit here at scroll-end */
}
.header__mark {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-style: italic;
}
.header__sub {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
  white-space: nowrap;
}
.header__sub em { opacity: 0.55; font-style: italic; }
@media (max-width: 540px) {
  .header__sub { display: none; }
}
.header__nav {
  display: flex; gap: 2rem;
  font-size: 0.875rem;
  letter-spacing: -0.005em;
}
.header__link {
  position: relative; padding: 0.25rem 0;
}
.header__link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--r);
}
.header__link:hover::after { transform: scaleX(1); transform-origin: left; }

.header__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--r), color 0.3s var(--r);
}
.header__cta:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.header.is-dark .header__cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.header__menu-btn {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
}
.header__menu-btn span {
  width: 22px; height: 1px; background: currentColor; transition: transform 0.3s var(--r);
}
.is-menu-open .header__menu-btn span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.is-menu-open .header__menu-btn span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 880px) {
  .header__nav, .header__cta { display: none; }
  .header__right { display: none; }
  .header__menu-btn { display: flex; }
}
@media (max-width: 540px) {
  :root { --header-h: 64px; }
  .header { padding: 0.85rem var(--pad); }
  .header__logo-slot { width: 70px; height: 28px; }
}

/* === MENU OVERLAY === */
.menu {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none; visibility: hidden;
}
.menu__bg {
  position: absolute; inset: 0;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--r);
}
.is-menu-open .menu { pointer-events: auto; visibility: visible; }
.is-menu-open .menu__bg { clip-path: inset(0 0 0 0); }

.menu__inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  padding: calc(var(--header-h) + 2rem) var(--pad) 2rem;
  color: var(--cream);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--r) 0.3s, transform 0.6s var(--r) 0.3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.is-menu-open .menu__inner { opacity: 1; transform: translateY(0); }

.menu__label {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  display: block;
  margin-bottom: 2rem;
}
.menu__list {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.menu__list li { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.menu__list a {
  display: flex; align-items: baseline; gap: 1.5rem;
  transition: color 0.3s var(--r), padding 0.4s var(--r);
}
.menu__list a::before {
  content: attr(data-num);
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0.4;
  font-weight: 400;
}
.menu__list a:hover { color: var(--accent-2); padding-left: 1rem; }

.menu__col--info p { line-height: 1.65; opacity: 0.8; margin-bottom: 1rem; }
.menu__col--info a:hover { color: var(--accent-2); }

@media (max-width: 720px) {
  .menu__inner { grid-template-columns: 1fr; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari: avoid the URL-bar 100vh jump */
  padding: var(--header-h) var(--pad) 0;
  color: var(--cream);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero__bg-img {
  position: absolute; inset: -10% -5% -10% -5%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.78) contrast(1.05) brightness(0.55);
  will-change: transform;
}
.hero__bg-slide {
  position: absolute; inset: -8% -5% -8% -5%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.78) contrast(1.05) brightness(0.55);
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), transform 7s ease-out;
  transform: scale(1.04);
  will-change: opacity, transform;
}
.hero__bg-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.15) 30%, rgba(10,10,10,0.85) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(200,80,31,0.18), transparent 60%);
}

.hero__top {
  display: flex; gap: 0.6rem;
  padding-top: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .hero__top { gap: 0.4rem; padding-top: 1rem; }
  .tag { font-size: 0.62rem; padding: 0.35rem 0.75rem; }
}
.tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tag i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Hero center: invisible spacer for the morphing logo + absolute-positioned sub */
.hero__center {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}
.hero__center-spacer {
  height: clamp(140px, 28vw, 360px);
}
.hero__sub {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
  opacity: 0.95;
  max-width: min(38ch, 90vw);
  width: max-content;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  padding: 0 1rem;
}
@media (max-width: 540px) {
  .hero__sub { bottom: 4%; }
  .hero__sub br { display: none; }
}

[data-split] { display: inline-block; }
[data-split] .char {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero__bottom {
  display: flex; justify-content: flex-end; align-items: flex-end;
  padding-bottom: 2.5rem;
  gap: 2rem;
}
.hero__scroll {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
}
.hero__scroll svg { animation: scrollHint 2s ease-in-out infinite; }
@keyframes scrollHint { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

.hero__marquee {
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 0.85rem 0;
}

/* === MARQUEE === */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex; gap: 1.5rem;
  animation: marquee 38s linear infinite;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee--small .marquee__track { animation-duration: 28s; }
.marquee__track--lg {
  font-family: var(--ff-body);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  gap: 1.6rem;
  align-items: center;
  animation-duration: 42s;
}
.marquee__track--lg em {
  font-family: var(--ff-italic);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.65;
  font-size: 1.05em;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* === SECTION GENERIC === */
.section__head {
  padding: 0 var(--pad);
  margin-bottom: 3rem;
}
.section__num {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  min-width: 12rem;
}
.section__head--inverse .section__num { color: rgba(244,241,236,0.5); border-color: rgba(244,241,236,0.15); }

.section__title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.section__title em { font-weight: 300; }
.section__lede {
  font-family: var(--ff-serif);
  max-width: 36rem;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.45;
  margin-top: 1.5rem;
  color: var(--grey);
}
.section__lede em { color: var(--accent); font-style: italic; }

/* === MANIFESTO === */
.manifesto {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.manifesto__body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.manifesto__text {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.32;
  letter-spacing: -0.005em;
  font-weight: 400;
  max-width: 28ch;
  margin-bottom: 4rem;
}
.manifesto__text em { color: var(--accent); font-style: italic; font-weight: 500; }
.manifesto__text strong { font-weight: 600; color: var(--ink); }

.manifesto__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}
.manifesto__meta div { display: flex; flex-direction: column; gap: 0.5rem; }
.num-display {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.manifesto__meta small {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
}
@media (max-width: 700px) {
  .manifesto__meta { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* === BRANDS === */
.brands {
  padding: var(--section-pad) 0;
  background: var(--cream-2);
}
.brands__marquee {
  display: flex; flex-direction: column; gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  margin: 2rem 0;
}
.brands__note {
  max-width: 36rem;
  margin: 3rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--grey);
  padding: 0 var(--pad);
}

/* === SELECTION GRID === */
.selection {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.selection__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 22vw;
  gap: 1.25rem;
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.card {
  position: relative;
  display: block;
  grid-column: span 2;
  grid-row: span 1;
  overflow: hidden;
  background: var(--bone);
  color: var(--cream);
  isolation: isolate;
  transition: transform 0.6s var(--r);
}
.card--lg { grid-column: span 3; grid-row: span 2; }
.card--md { grid-column: span 3; }
.card__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.92);
  transform: scale(1.02);
  transition: transform 1.2s var(--r), filter 0.6s var(--r);
}
.card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.0) 30%, rgba(10,10,10,0.75) 100%);
  z-index: 1;
}
.card:hover .card__img { transform: scale(1.08); filter: saturate(1.05); }
.card__meta {
  position: absolute; top: 1.25rem; left: 1.25rem;
  display: flex; gap: 0.8rem; align-items: center;
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card__num { padding: 0.2rem 0.5rem; border: 1px solid rgba(255,255,255,0.5); }
.card__cat { opacity: 0.85; }
.card__title {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 400;
  z-index: 2;
}
.card__title em { font-weight: 300; opacity: 0.85; }
.card__count {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

@media (max-width: 1100px) {
  .selection__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 30vw; }
  .card--lg { grid-column: span 4; grid-row: span 2; }
  .card--md { grid-column: span 2; }
  .card { grid-column: span 2; }
}
@media (max-width: 640px) {
  .selection__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 60vw; }
  .card, .card--md { grid-column: span 1; }
  .card--lg { grid-column: span 2; grid-row: span 1; }
}

/* === STOCK === */
.stock {
  position: relative;
  padding: var(--section-pad) 0;
  color: var(--cream);
  overflow: hidden;
}
.stock__bg {
  position: absolute; inset: 0;
  background: var(--ink);
  z-index: -2;
}
.stock__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200,80,31,0.18), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(184,153,104,0.1), transparent 50%);
}
.stock .section__title {
  white-space: nowrap;
  overflow: hidden;
  display: block;
  width: 100%;
  color: var(--accent-2);
  font-style: italic;
  font-weight: 300;
}
.stock__big {
  display: inline-block;
  will-change: transform;
}

.stock__grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4rem var(--pad) 0;
  max-width: var(--max);
  margin: 0 auto;
}
.stock__lead p {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 400;
}
.stock__lead em { color: var(--accent-2); font-style: italic; font-weight: 500; }

.stock__items {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.stock__item {
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.stock__item-img {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 1s var(--r);
}
.stock__item:hover .stock__item-img { transform: scale(1.04); }

.stock__item-meta {
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--cream);
  padding: 0.3rem 0.7rem;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.stock__item h4 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 0.4rem;
}
.stock__item h4 em { font-weight: 300; opacity: 0.8; }
.stock__price {
  font-family: var(--ff-mono);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.stock__price s { opacity: 0.4; margin-right: 0.5rem; }
.stock__price strong { color: var(--accent-2); font-weight: 500; }

.stock__cta-text {
  text-align: center;
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  margin-top: 5rem;
  padding: 0 var(--pad);
  color: var(--cream);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}
.stock__cta-text em { color: var(--accent-2); font-style: italic; font-weight: 500; }

@media (max-width: 900px) {
  .stock__grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 540px) {
  .stock__items { grid-template-columns: 1fr; }
}

/* === STORES === */
.stores {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.stores__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.store {
  display: flex; flex-direction: column;
  background: var(--cream-2);
}
.store__img {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  filter: saturate(0.9);
  transition: transform 1s var(--r), filter 0.6s;
}
.store:hover .store__img { transform: scale(1.02); filter: saturate(1.05); }
.store__body {
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.store__num {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.store__name {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.store__name em { font-weight: 300; }
.store__addr { color: var(--grey); line-height: 1.5; }
.store__hours {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.store__hours li {
  display: flex; justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.85rem;
}
.store__hours li span:first-child { color: var(--grey); }

.btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--r), color 0.3s var(--r);
}
.btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink); color: var(--cream);
}

@media (max-width: 880px) {
  .stores__grid { grid-template-columns: 1fr; }
}

/* ============= MAP ============= */
.map {
  padding: var(--section-pad) 0;
  background: var(--cream);
  position: relative;
}
.map__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
}
.map__visual {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--ink);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.map__canvas {
  position: absolute; inset: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  z-index: 0;
  pointer-events: none;
}
.map__visual.is-active .map__canvas { pointer-events: auto; }
.map__visual.is-active .map__activate { opacity: 0; pointer-events: none; }

.map__activate {
  position: absolute;
  z-index: 3;
  inset: auto auto 1.25rem 1.25rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: opacity 0.4s var(--r), transform 0.3s var(--r), background 0.3s var(--r);
}
.map__activate:hover { background: var(--accent); color: var(--cream); transform: translateY(-2px); }
.map__canvas .leaflet-tile { will-change: transform; }
/* override leaflet defaults inside dark frame */
.leaflet-container { background: #1a1a18 !important; font-family: inherit !important; }
.leaflet-control-attribution { background: rgba(10,10,10,0.7) !important; color: rgba(244,241,236,0.6) !important; font-size: 0.6rem !important; padding: 0.2rem 0.5rem !important; }
.leaflet-control-attribution a { color: rgba(244,241,236,0.85) !important; }
.leaflet-control-zoom {
  border: none !important;
  box-shadow: none !important;
}
.leaflet-control-zoom a {
  background: rgba(10,10,10,0.85) !important;
  color: var(--cream) !important;
  border: 1px solid rgba(244,241,236,0.2) !important;
  width: 32px !important; height: 32px !important;
  line-height: 32px !important;
  font-family: var(--ff-display) !important;
}
.leaflet-control-zoom a:hover { background: var(--accent) !important; }

.map__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
.map__compass {
  position: absolute;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 2;
  color: var(--cream);
  opacity: 0.85;
  animation: compassSpin 60s linear infinite;
  pointer-events: none;
}
@keyframes compassSpin {
  to { transform: rotate(360deg); }
}

/* Custom marker pulse */
.map__marker {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 0 rgba(200,80,31,0.8);
  position: relative;
}
.map__marker::after {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: markerPulse 2.4s ease-out infinite;
}
@keyframes markerPulse {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map__card {
  background: var(--ink);
  color: var(--cream);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.map__card .section__num {
  color: rgba(244,241,236,0.5);
  border-color: rgba(244,241,236,0.15);
  margin-bottom: 0.5rem;
}
.map__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.map__title em { color: var(--accent-2); font-style: italic; font-weight: 300; }
.map__sub {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: 1.15rem;
  opacity: 0.8;
  line-height: 1.45;
}

.map__lines {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(244,241,236,0.12);
  margin-top: 0.5rem;
}
.map__lines li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(244,241,236,0.12);
  align-items: baseline;
}
.map__lbl {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244,241,236,0.5);
}
.map__val {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.map__val em { color: rgba(244,241,236,0.6); font-style: italic; }
.map__val--link { transition: color 0.3s var(--r); }
.map__val--link:hover { color: var(--accent-2); }

.map__cta-row {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.5rem;
}

@media (max-width: 980px) {
  .map__inner { grid-template-columns: 1fr; }
  .map__visual { aspect-ratio: 16/10; }
  .map__card { padding: 2rem 1.5rem; }
}

/* solid + ghost button variants */
.btn--solid {
  background: var(--accent);
  color: var(--cream);
  border: 1px solid var(--accent);
}
.btn--solid:hover { background: var(--accent-2); border-color: var(--accent-2); }
.map__card .btn--solid { background: var(--accent); }
.btn--ghost {
  border: 1px solid rgba(244,241,236,0.3);
  color: var(--cream);
}
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--lg {
  padding: 1rem 1.8rem;
  font-size: 0.95rem;
}

/* === HERITAGE === */
.heritage {
  padding: var(--section-pad) 0;
  background: var(--cream-2);
}
.heritage__grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.heritage__big {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.heritage__big em { color: var(--accent); font-style: italic; font-weight: 300; }

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
  display: flex; flex-direction: column; gap: 2.5rem;
}
.timeline li { position: relative; }
.timeline li::before {
  content: ''; position: absolute;
  left: -2.4rem; top: 0.6rem;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline__year {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.timeline p { color: var(--grey); line-height: 1.55; max-width: 38ch; }

@media (max-width: 880px) {
  .heritage__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* === CONTACT === */
.contact {
  padding: var(--section-pad) 0;
  background: var(--cream-2);
}
.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.contact__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5.8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 1.5rem 0 4rem;
  max-width: 22ch;
}
.contact__title em { font-style: italic; color: var(--accent); font-weight: 300; }

.contact__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 4rem;
}

/* form */
.contact__form { display: flex; flex-direction: column; gap: 0; }
.field { display: flex; flex-direction: column; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.field-row .field:first-child { border-right: 1px solid var(--line); padding-right: 1.5rem; }
.field-row .field:last-child { padding-left: 1.5rem; }

.field label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-bottom: 0.7rem;
}
.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
  font-style: italic;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  background: none;
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  padding: 0;
  outline: none;
  resize: none;
}
.field textarea { min-height: 3em; line-height: 1.4; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--grey); opacity: 0.5; font-style: italic; }

.select-wrap { position: relative; display: flex; align-items: center; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}
.select-caret {
  position: absolute;
  right: 0;
  pointer-events: none;
  color: var(--grey);
  transition: transform 0.3s var(--r), color 0.3s var(--r);
}
.field select:focus + .select-caret { color: var(--accent); transform: rotate(180deg); }

.field--check { padding: 1.5rem 0 0; border-bottom: 0; }
.checkbox {
  display: flex; align-items: flex-start; gap: 0.85rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--grey);
}
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox__box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1px solid var(--ink);
  background: transparent;
  position: relative;
  transition: background 0.2s var(--r), border-color 0.2s var(--r);
  margin-top: 1px;
}
.checkbox__box::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  background: var(--accent);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s var(--r);
}
.checkbox input:checked ~ .checkbox__box::after { transform: translate(-50%, -50%) scale(1); }
.checkbox input:focus-visible ~ .checkbox__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.checkbox__txt a { text-decoration: underline; color: var(--ink); }
.checkbox__txt a:hover { color: var(--accent); }

.contact__submit {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.contact__note {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.contact__note.is-success { color: var(--accent); }
.contact__note.is-error { color: #c53b1f; }

/* aside */
.contact__side {
  display: flex; flex-direction: column;
  gap: 2.5rem;
}
.contact__block {
  display: flex; flex-direction: column;
  gap: 0.7rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.contact__block:last-child { border-bottom: 0; }
.contact__block-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--grey);
}
.contact__block-text em { color: var(--accent); font-style: italic; }
.contact__lbl {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
}
.contact__news {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.7rem;
  margin-top: 0.4rem;
}
.contact__news input {
  flex: 1; border: 0; background: none;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1.1rem;
  outline: none;
  padding: 0.4rem 0;
  color: var(--ink);
}
.contact__news input::placeholder { color: var(--grey); opacity: 0.5; font-style: italic; }
.contact__news button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  transition: background 0.3s var(--r), transform 0.3s var(--r);
  flex-shrink: 0;
}
.contact__news button:hover { background: var(--accent); transform: rotate(-12deg); }
.contact__news.is-success button { background: var(--accent); }

.contact__direct {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.3s var(--r);
}
.contact__direct em { font-style: italic; font-weight: 300; }
.contact__direct--sm {
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.4rem;
  color: var(--grey);
}
.contact__direct:hover { color: var(--accent); }

.contact__map-link {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
  align-self: flex-start;
  transition: color 0.3s var(--r), border-color 0.3s var(--r);
}
.contact__map-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .field-row { grid-template-columns: 1fr; }
  .field-row .field:first-child { border-right: 0; padding-right: 0; }
  .field-row .field:last-child { padding-left: 0; }
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
}
.footer__big {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}
.footer__big-text {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  will-change: transform;
}
.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem var(--pad) 3rem;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__lbl {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  display: block;
  margin-bottom: 1rem;
}
.footer__cols p, .footer__cols ul { font-size: 0.9rem; line-height: 1.7; opacity: 0.85; }
.footer__cols a { transition: color 0.3s; }
.footer__cols a:hover { color: var(--accent-2); }
.footer__rassy {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem var(--pad) 0;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.footer__bottom a:hover { color: var(--accent-2); }

@media (max-width: 880px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (max-width: 540px) {
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.8rem; align-items: flex-start; }
}

/* === REVEAL UTILS === */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--r), transform 0.9s var(--r); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

[data-reveal-words] { line-height: 1.15; }
[data-reveal-words] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
[data-reveal-words] .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 28ms);
  will-change: transform;
}
[data-reveal-words].is-in .word-inner { transform: translateY(0); }

/* === MOTION REDUCTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-split] .char, [data-reveal-words] .word-inner { transform: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(244, 241, 236, 0.12);
  border-radius: 6px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-in { transform: translateY(0); opacity: 1; }
/* Il cursore custom nasconde il puntatore di sistema: sul banner cookie, che e'
   UI funzionale e non decorativa, lo rimettiamo per non far cliccare a vuoto. */
.cookie-banner, .cookie-banner p, .cookie-banner h3 { cursor: auto; }
.cookie-banner a, .cookie-banner button { cursor: pointer; }
.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.6rem 2rem;
  align-items: center;
}
.cookie-banner__lbl {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.cookie-banner__title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--cream);
}
.cookie-banner p {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(244, 241, 236, 0.78);
  margin: 0;
}
.cookie-banner p code {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  background: rgba(244, 241, 236, 0.08);
  padding: 0.05em 0.35em;
  border-radius: 3px;
}
.cookie-banner p strong { color: var(--cream); font-weight: 500; }
.cookie-banner a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.cookie-banner a:hover { color: var(--gold); }
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-banner .btn--sm {
  padding: 0.7rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.cookie-banner .btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 241, 236, 0.3);
}
.cookie-banner .btn--ghost:hover {
  background: rgba(244, 241, 236, 0.08);
  border-color: rgba(244, 241, 236, 0.5);
}
.cookie-banner .btn--solid {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--cream);
}
.cookie-banner .btn--solid:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

@media (max-width: 720px) {
  .cookie-banner {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 1.2rem 1.2rem 1.3rem;
  }
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column-reverse;
  }
  .cookie-banner__actions .btn { width: 100%; justify-content: center; }
}

.footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.footer__legal a,
.footer__legal-btn {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color 0.3s var(--r);
}
.footer__legal a:hover,
.footer__legal-btn:hover { color: var(--gold); }
.footer__legal-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(244, 241, 236, 0.3);
}

/* === LEGAL PAGES === */
.legal-page {
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
}
.legal-page__hero {
  padding: 11rem 6vw 5rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  position: relative;
}
.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 2.5rem;
  opacity: 0.6;
  transition: opacity 0.3s var(--r);
}
.legal-page__back:hover { opacity: 1; }
.legal-page__num {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.2rem;
}
.legal-page__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 1.8rem;
  max-width: 18ch;
}
.legal-page__title em {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.legal-page__lede {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 60ch;
  color: rgba(10, 10, 10, 0.75);
  margin: 0 0 1.6rem;
}
.legal-page__meta {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.legal-page__meta span strong {
  color: var(--ink);
  font-weight: 400;
  display: block;
  margin-top: 0.25rem;
  font-family: var(--ff-serif);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}
.legal-page__body {
  display: grid;
  grid-template-columns: 1fr minmax(0, 700px) 1fr;
  padding: 4.5rem 6vw 6rem;
  gap: 0;
}
.legal-page__body > * { grid-column: 2; }
.legal-page__body h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 3.5rem 0 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  position: relative;
}
.legal-page__body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-page__body h2::before {
  content: counter(legalCounter, decimal-leading-zero);
  counter-increment: legalCounter;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
}
.legal-page__body { counter-reset: legalCounter; }
.legal-page__body h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 2rem 0 0.8rem;
  color: var(--ink);
}
.legal-page__body p,
.legal-page__body li {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(10, 10, 10, 0.82);
  margin: 0 0 1rem;
}
.legal-page__body strong { color: var(--ink); font-weight: 500; }
.legal-page__body em { font-family: var(--ff-italic); font-style: italic; }
.legal-page__body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(10, 10, 10, 0.4);
  transition: color 0.3s var(--r);
}
.legal-page__body a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.legal-page__body ul,
.legal-page__body ol { padding-left: 1.4rem; margin: 0 0 1.5rem; }
.legal-page__body li { margin-bottom: 0.5rem; }
.legal-page__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 2rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
}
.legal-page__body th,
.legal-page__body td {
  text-align: left;
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
  vertical-align: top;
  line-height: 1.55;
}
.legal-page__body th {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.6);
  font-weight: 400;
  border-bottom: 1px solid rgba(10, 10, 10, 0.3);
}
.legal-page__body td:first-child { font-family: var(--ff-serif); color: var(--ink); }
.legal-page__body blockquote {
  margin: 1.5rem 0 2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(184, 153, 104, 0.08);
  border-left: 2px solid var(--gold);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.85);
}
.legal-page__body blockquote p { font-family: inherit; font-size: inherit; margin-bottom: 0.6rem; }
.legal-page__body blockquote p:last-child { margin-bottom: 0; }
.legal-page__footer {
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  padding: 3rem 6vw 4rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.legal-page__footer a { color: inherit; text-decoration: none; }
.legal-page__footer a:hover { color: var(--accent); }
.legal-page__nav {
  display: inline-flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .legal-page__hero { padding: 8rem 6vw 3.5rem; }
  .legal-page__body { padding: 3rem 6vw 4rem; grid-template-columns: 1fr; }
  .legal-page__body > * { grid-column: 1; }
  .legal-page__meta { flex-direction: column; gap: 0.8rem; }
}

