/* ============================================
   TONOLO SELEZIONI — Landing
   Design system v2 (studio-grade)
   ============================================ */

:root {
  /* Palette Toniolo Restauri — burro/grano + navy */
  --bg-white: #FFFFFF;
  --bg-cream: #ECDDB7;          /* burro/grano caldo: ricorda mani, calce, lino grezzo */
  --bg-soft: #DECBA3;            /* sezione lavori, sfumatura terra */
  --bg-warm: #C9B181;            /* terra di Siena chiara per blocchi caldi */
  --bg-dark: #0A1B30;            /* navy notturno, un pelo più profondo del logo */
  --bg-dark-2: #061425;          /* navy ancora più profondo per gradienti */
  --ink: #1C1814;                /* nero antracite caldo, shift bruno */
  --ink-soft: #4A4339;
  --ink-mute: #82786A;
  --line: rgba(28, 24, 20, 0.10);
  --line-dark: rgba(236, 221, 183, 0.16);
  --accent: #0F2541;             /* BLU NAVY del logo */
  --accent-deep: #051A30;        /* blu più profondo per hover */
  --brand-green: #7DCB7D;        /* verde originale del logo, accento secondario */

  /* Legacy aliases (per compat con classi esistenti) */
  --bg: var(--bg-cream);
  --bg-intro: var(--bg-white);
  --ink-mute-2: #6E6258;
  --border: var(--line);

  /* Type families */
  --tonolo: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1440px;
  --gutter-d: 56px;
  --gutter-m: 24px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-cream);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* texture lino/calce: il fondo non è piatto, ha materia */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cfilter id='ln'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.14 0 0 0 0 0.08 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23ln)'/%3E%3C/svg%3E");
  background-size: 340px 340px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* la barra dell'header e contenuti devono passare sopra alla texture */
.site-header, main, .custom-cursor { position: relative; z-index: 2; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

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

/* ============================================
   TYPOGRAPHY PRIMITIVES
   ============================================ */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section-number {
  font-family: var(--tonolo);
  font-weight: 200;
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-number::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

.accent { color: var(--accent); }

.lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ============================================
   HEADER (nascosto durante intro)
   ============================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter-d);
  background: rgba(236, 221, 183, 0);
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  border-bottom: 1px solid transparent;
  pointer-events: none;
  transition: background 0.6s var(--ease-out), color 0.5s var(--ease-out),
              border-color 0.6s var(--ease-out), backdrop-filter 0.6s var(--ease-out),
              -webkit-backdrop-filter 0.6s var(--ease-out);
}

.site-header .brand,
.site-header .nav-cities,
.site-header .nav-ig {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out),
              color 0.5s var(--ease-out);
  pointer-events: none;
}

.site-header.is-ready .brand { transition-delay: 0.05s; }
.site-header.is-ready .nav-cities { transition-delay: 0.18s; }
.site-header.is-ready .nav-ig { transition-delay: 0.30s; }

.site-header.is-ready .brand,
.site-header.is-ready .nav-cities,
.site-header.is-ready .nav-ig {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Sopra navy (intro/hero/footer): barra blu su blu, colori crema */
.site-header.over-dark {
  background: rgba(15, 37, 65, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(236, 221, 183, 0.10);
}

.site-header.over-dark .brand,
.site-header.over-dark .nav-ig {
  color: var(--bg-cream);
}

.site-header.over-dark .nav-cities a {
  color: rgba(236, 221, 183, 0.78);
}

.site-header.over-dark .nav-cities a:hover {
  color: var(--bg-cream);
}

/* Sopra crema: barra crema con vetro */
.site-header.over-light {
  background: rgba(236, 221, 183, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  font-family: var(--tonolo);
  font-size: 17px;
  font-weight: 200;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.brand .caps {
  font-family: var(--tonolo);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand .low {
  font-family: var(--tonolo);
  font-weight: 200;
}

.brand__logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand__logo--dark { display: none; }
.site-header.over-dark .brand__logo--light { display: none; }
.site-header.over-dark .brand__logo--dark { display: block; }

.brand__name {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-cities {
  display: flex;
  gap: 32px;
}

.nav-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: -8px;
  color: var(--ink);
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.nav-ig:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-cities a {
  position: relative;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color 0.4s var(--ease-out);
}

.nav-cities a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.nav-cities a:hover { color: var(--ink); }
.nav-cities a:hover::after { transform: scaleX(1); }

/* voce attiva nella nav (pagina corrente) */
.nav-cities a.is-current { color: var(--ink); }
.nav-cities a.is-current::after {
  transform: scaleX(1);
  background: var(--ink-mute);
}
.site-header.over-dark .nav-cities a.is-current { color: var(--bg-cream); }
.site-header.over-dark .nav-cities a.is-current::after { background: rgba(236, 221, 183, 0.4); }

/* ============================================
   PAGE HERO (titolo pagina sulle sotto-pagine)
   ============================================ */

.page-hero {
  padding: clamp(140px, 18vw, 240px) var(--gutter-d) clamp(80px, 10vw, 120px);
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--bg-cream);
}

.page-hero__eyebrow {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--ink-mute);
  margin-bottom: clamp(24px, 3vw, 36px);
  letter-spacing: 0.01em;
  opacity: 0;
  animation: pageHeroFade 1.2s var(--ease-out) 0.1s forwards;
}

.page-hero__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 auto;
  max-width: 14ch;
}

.page-hero__title em {
  font-style: italic;
  font-weight: 300;
}

.page-hero__lead {
  max-width: 46ch;
  margin: clamp(28px, 3.5vw, 44px) auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0;
  animation: pageHeroFade 1.2s var(--ease-out) 0.6s forwards;
}

@keyframes pageHeroFade {
  to { opacity: 1; }
}

/* le pagine secondarie hanno barra subito ready */
body.is-page .site-header { transition-delay: 0s; }

/* ============================================
   INTRO (splash bianco)
   ============================================ */

.intro {
  min-height: 100svh;
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--bg-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter-d) 80px;
  position: relative;
  text-align: center;
}

.intro .intro__hint {
  color: rgba(241, 232, 214, 0.55);
}

.intro--logo-only .intro__wordmark,
.intro--logo-only .intro__bio,
.intro--logo-only .intro__meta { display: none; }

.intro__svg {
  width: auto;
  height: clamp(200px, 36vh, 460px);
  max-width: 90vw;
  color: var(--bg-cream);
  display: block;
}

.intro__svg path {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  fill: transparent;
}

.intro--animated .intro__svg path {
  animation:
    drawHand 5.2s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards,
    fillIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 5.9s forwards;
}

@keyframes drawHand {
  to { stroke-dashoffset: 0; }
}

@keyframes fillIn {
  to { fill: currentColor; }
}

@media (prefers-reduced-motion: reduce) {
  .intro--animated .intro__svg path {
    animation: none;
    stroke-dashoffset: 0;
    fill: currentColor;
  }
}

.intro__wordmark {
  font-family: var(--tonolo);
  font-weight: 100;
  font-size: clamp(38px, 10vw, 168px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-transform: lowercase;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.intro__wordmark span { display: inline-block; }

.intro__bio {
  margin-top: clamp(40px, 4.5vw, 64px);
  max-width: 640px;
  font-family: var(--tonolo);
  font-weight: 200;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.003em;
  color: var(--ink-soft);
  text-transform: lowercase;
  text-align: center;
}

.intro__meta {
  margin-top: clamp(40px, 4.5vw, 56px);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--tonolo);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.intro__meta .dot { color: var(--accent); font-size: 14px; }

.intro__meta .since {
  margin-left: 12px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  text-transform: lowercase;
}

.intro__hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.intro__hint .arrow { font-size: 16px; letter-spacing: 0; opacity: 0.6; }

/* Intro animation sequence (slow life) */
@keyframes slowFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slowFadeRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hintFadeRise { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes hintBreathe { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

.intro--animated .intro__wordmark span {
  opacity: 0;
  animation: slowFadeIn 2.4s var(--ease-out) 0.5s forwards;
}

.intro--animated .intro__bio {
  opacity: 0;
  animation: slowFadeRise 1.6s var(--ease-out) 3.2s forwards;
}

.intro--animated .intro__meta {
  opacity: 0;
  animation: slowFadeRise 1.4s var(--ease-out) 4.2s forwards;
}

.intro--animated .intro__hint {
  opacity: 0;
  animation: hintFadeRise 1.2s var(--ease-out) 5.0s forwards,
             hintBreathe 3s 6.5s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .intro--animated .intro__wordmark span,
  .intro--animated .intro__bio,
  .intro--animated .intro__meta,
  .intro--animated .intro__hint {
    opacity: 1;
    animation: none;
  }
}

/* ============================================
   HERO (sezione 2 — dark blu navy + wordmark crema)
   ============================================ */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px var(--gutter-d);
  text-align: center;
  background: var(--bg-dark);
  color: var(--bg-cream);
  position: relative;
}

.hero__wordmark {
  font-family: var(--tonolo);
  font-weight: 100;
  font-size: clamp(38px, 10vw, 168px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--bg-cream);
  margin: 0;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero__wordmark span { display: inline-block; }

.hero__wordmark .caps {
  font-family: var(--tonolo);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 0.22em;
  font-size: 0.85em;
}

.hero__wordmark .low {
  font-family: var(--tonolo);
  font-weight: 100;
  letter-spacing: -0.045em;
}

.hero__bio {
  margin-top: clamp(40px, 4.5vw, 64px);
  max-width: 640px;
  font-family: var(--tonolo);
  font-weight: 200;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.003em;
  color: rgba(241, 232, 214, 0.78);
  text-transform: lowercase;
}

.hero__meta {
  margin-top: clamp(40px, 4.5vw, 56px);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--tonolo);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(241, 232, 214, 0.6);
}

.hero__meta .since {
  margin-left: 12px;
  padding-left: 22px;
  border-left: 1px solid rgba(241, 232, 214, 0.18);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(241, 232, 214, 0.55);
  text-transform: lowercase;
}

/* ============================================
   MANIFESTO
   ============================================ */

.manifesto {
  padding: clamp(120px, 16vw, 220px) var(--gutter-d);
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.manifesto::before {
  content: "";
  position: absolute;
  top: clamp(80px, 10vw, 140px);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(40px, 6vw, 80px);
  background: var(--line);
}

.manifesto__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: clamp(40px, 5vw, 64px);
  margin-top: clamp(40px, 5vw, 64px);
}

.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 5.8vw, 88px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.manifesto__signoff {
  margin-top: clamp(48px, 6vw, 80px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ============================================
   SELEZIONI (two columns, numbered)
   ============================================ */

.selezioni {
  padding: clamp(120px, 14vw, 200px) var(--gutter-d);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.selezioni__head {
  max-width: var(--container);
  margin: 0 auto clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.selezioni__head .eyebrow { margin-bottom: 24px; display: block; }

.selezioni__lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
  align-self: end;
}

.selezioni__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(100px, 12vw, 180px);
  max-width: var(--container);
  margin: 0 auto;
}

.selezione {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(64px, 9vw, 140px);
  align-items: center;
}

.selezione--reverse {
  grid-template-columns: 1fr 0.85fr;
}

.selezione--reverse .selezione__image { order: 2; }
.selezione--reverse .selezione__text { order: 1; }

.selezione__image {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}

.selezione__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.93);
  will-change: transform, filter;
  transform: translate3d(0, var(--py, 0%), 0) scale(1.08);
  transition: filter 1.4s var(--ease-out);
}

.selezione:hover .selezione__image img {
  filter: contrast(1.04) saturate(0.98);
}

.selezione__text { max-width: 480px; }

.selezione__num {
  font-family: var(--tonolo);
  font-weight: 100;
  font-size: clamp(80px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
}

.selezione__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.selezione__text h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 28px;
  color: var(--ink);
}

.selezione__text .lead { margin-bottom: 40px; }

/* drop cap su prima lettera dei lead — tocco da libro d'arte, raro nei siti web */
.selezione__text .lead::first-letter {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 3.8em;
  line-height: 0.86;
  float: left;
  padding: 0.06em 0.14em 0 0;
  color: var(--ink);
}

.brand-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.brand-list li {
  font-family: var(--tonolo);
  font-size: 17px;
  font-weight: 200;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: lowercase;
}

/* ============================================
   BRAND WALL (marquee infinite)
   ============================================ */

.brand-wall {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--bg-cream);
  text-align: center;
  overflow: hidden;
}

.brand-wall__head {
  padding: 0 var(--gutter-d);
  max-width: var(--container);
  margin: 0 auto clamp(60px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.brand-wall__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

.brand-wall__eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink-mute);
  letter-spacing: 0;
  text-align: center;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(64px, 8vw, 128px);
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  height: clamp(36px, 5vw, 64px);
  flex-shrink: 0;
  transition: opacity 0.4s var(--ease-out);
}

.marquee__item img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-out);
}

.marquee__item:hover img {
  opacity: 1;
}

/* Versione testuale del marquee (per quando non abbiamo loghi) */
.marquee__item-text {
  font-family: var(--tonolo);
  font-weight: 100;
  font-size: clamp(40px, 5.6vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.4s var(--ease-out);
}

.marquee__item-text::after {
  content: "·";
  color: var(--accent);
  font-weight: 300;
  font-size: 0.7em;
  margin-left: clamp(48px, 6vw, 96px);
}

.marquee__item-text:hover { color: var(--accent); }

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

/* ============================================
   SEDI (alternate full-bleed)
   ============================================ */

.sedi {
  padding: clamp(120px, 14vw, 200px) 0 0;
  background: var(--bg-cream);
  border-top: 1px solid var(--line);
}

.sedi__head {
  padding: 0 var(--gutter-d) clamp(80px, 10vw, 140px);
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.sedi__lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}

.sedi__head .eyebrow { margin-bottom: 24px; display: block; }

.sedi__list {
  display: flex;
  flex-direction: column;
}

.sede {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  border-top: 1px solid var(--line);
  background: var(--bg-cream);
  align-items: stretch;
}

.sede .sede__image {
  aspect-ratio: 4 / 5;
  max-height: 72vh;
}

.sede:last-child { border-bottom: 1px solid var(--line); }

.sede--reverse .sede__image { order: 2; }
.sede--reverse .sede__info { order: 1; }

.sede__image {
  position: relative;
  overflow: hidden;
}

.sede__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.93);
  will-change: transform, filter;
  transform: translate3d(0, var(--py, 0%), 0) scale(1.08);
  transition: filter 1.6s var(--ease-out);
}

.sede:hover .sede__image img { filter: contrast(1.04) saturate(0.98); }

.sede__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 96px);
  position: relative;
}

.sede__num {
  font-family: var(--tonolo);
  font-weight: 100;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 8px;
}

.sede__city {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 28px;
  color: var(--ink);
}

.sede__address {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.sede__mood {
  font-family: var(--sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 40ch;
}

.sede__hours {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Mappa */
.mappa {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: clamp(80px, 10vw, 140px) var(--gutter-d);
}

.mappa__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.mappa__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.mappa__head .eyebrow { display: block; margin-bottom: 16px; }

.mappa__head .title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px);
  color: var(--ink);
  letter-spacing: -0.015em;
}

.mappa svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-soft);
}

.mappa svg rect:first-child { fill: var(--bg-soft); }

/* ============================================
   INSTAGRAM
   ============================================ */

.instagram {
  padding: clamp(120px, 14vw, 200px) var(--gutter-d);
  background: var(--bg-cream);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(64px, 8vw, 120px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.instagram__text { max-width: 480px; }

.instagram__text .section-number { margin-bottom: 32px; }

.instagram__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 36px;
  color: var(--ink);
}

.instagram__title em {
  font-style: italic;
  font-weight: 300;
}

.instagram__lead {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 44ch;
}

.instagram__lead em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), gap 0.4s var(--ease-out);
}

.ig-link .arr {
  font-family: var(--sans);
  font-weight: 400;
  font-style: normal;
  transition: transform 0.5s var(--ease-out);
}

.ig-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 18px;
}

.instagram__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: clamp(160px, 18vw, 240px) clamp(160px, 18vw, 240px) clamp(180px, 20vw, 280px);
  gap: 10px;
}

.ig-cell {
  position: relative;
  overflow: hidden;
}

.instagram__grid .ig-cell:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.instagram__grid .ig-cell:nth-child(2) { grid-column: 2; grid-row: 1; }
.instagram__grid .ig-cell:nth-child(3) { grid-column: 3; grid-row: 1; }
.instagram__grid .ig-cell:nth-child(4) { grid-column: 2; grid-row: 2; }
.instagram__grid .ig-cell:nth-child(5) { grid-column: 3; grid-row: 2; }
.instagram__grid .ig-cell:nth-child(6) { grid-column: 1 / 4; grid-row: 3; }

.ig-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.92);
  transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

.ig-cell:hover img {
  transform: scale(1.06);
  filter: contrast(1.04) saturate(0.96);
}

/* ============================================
   CHI SONO (foto a sx, testo a dx)
   ============================================ */

.chi {
  padding: clamp(120px, 14vw, 200px) var(--gutter-d);
  background: var(--bg-cream);
  position: relative;
  z-index: 2;
}

.chi__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(64px, 9vw, 140px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.chi__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-width: 460px;
  width: 100%;
  justify-self: center;
}

.chi__text { max-width: 520px; }

.chi__lead {
  margin: clamp(28px, 3.5vw, 40px) 0 0;
  font-size: clamp(17px, 1.35vw, 21px);
}

.chi__lead::first-letter {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 3.6em;
  line-height: 0.86;
  float: left;
  padding: 0.06em 0.14em 0 0;
  color: var(--ink);
}

/* ============================================
   DOVE OPERO (centrato, lista mediana)
   ============================================ */

.dove {
  padding: clamp(64px, 8vw, 110px) var(--gutter-d);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  z-index: 2;
}

.dove__inner {
  max-width: 820px;
  margin: 0 auto;
}

.dove__lead {
  max-width: 56ch;
  margin: clamp(24px, 3vw, 36px) auto 0;
  text-align: center;
}

.dove__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--ink);
}

.dove__list li {
  position: relative;
  padding: 0 clamp(18px, 2.4vw, 32px);
}

.dove__list li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -2px;
  color: var(--accent);
  font-style: normal;
  opacity: 0.6;
}

.dove__note {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink-mute);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CON CHI LAVORO (carte sobrie)
   ============================================ */

.team {
  padding: clamp(120px, 14vw, 200px) var(--gutter-d);
  background: var(--bg-cream);
  position: relative;
  z-index: 2;
}

.team__head {
  max-width: var(--container);
  margin: 0 auto clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.team__lead { max-width: 44ch; align-self: end; }

.team__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.team__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--ink);
  position: relative;
}

.team__card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.team__role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.team__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.team__note {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================
   FAQ (accordion sobrio con details/summary)
   ============================================ */

.faq {
  padding: clamp(120px, 14vw, 200px) var(--gutter-d);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.faq__head {
  max-width: var(--container);
  margin: 0 auto clamp(64px, 8vw, 100px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.faq__lead { max-width: 44ch; }

.faq__list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
  position: relative;
}

.faq__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.55s var(--ease-out);
}

.faq__item.is-open::before {
  width: 48px;
}

.faq__item.is-open {
  grid-template-rows: auto 1fr;
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: clamp(24px, 3vw, 40px) 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.4s var(--ease-out), padding-left 0.5s var(--ease-out);
}

.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }

.faq__q::after {
  content: "+";
  font-family: var(--tonolo);
  font-weight: 100;
  font-size: clamp(24px, 2.2vw, 36px);
  font-style: normal;
  color: var(--accent);
  transition: transform 0.55s var(--ease-out), color 0.4s var(--ease-out);
  width: 32px;
  text-align: center;
  flex-shrink: 0;
  display: inline-block;
}

.faq__item.is-open .faq__q::after {
  transform: rotate(135deg);
}

.faq__item.is-open .faq__q {
  color: var(--accent);
  padding-left: 12px;
}

.faq__a {
  overflow: hidden;
  padding: 0;
  font-family: var(--sans);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 64ch;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.55s var(--ease-out) 0.18s,
              transform 0.55s var(--ease-out) 0.18s,
              padding 0.55s var(--ease-out);
}

.faq__a::before {
  content: "—";
  display: inline-block;
  margin-right: 14px;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  transform: translateX(-8px);
  opacity: 0;
  transition: opacity 0.55s var(--ease-out) 0.3s, transform 0.55s var(--ease-out) 0.3s;
}

.faq__item.is-open .faq__a {
  opacity: 1;
  transform: translateY(0);
  padding: 0 0 clamp(28px, 3.5vw, 44px) 12px;
}

.faq__item.is-open .faq__a::before {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RICHIEDI PREVENTIVO (form sobrio)
   ============================================ */

.preventivo {
  padding: clamp(120px, 14vw, 200px) var(--gutter-d);
  background: var(--bg-cream);
  position: relative;
  z-index: 2;
}

.preventivo__inner {
  max-width: 880px;
  margin: 0 auto;
}

.preventivo__head {
  margin-bottom: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.preventivo__lead { max-width: 42ch; }

.preventivo__form {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0 12px;
  outline: none;
  transition: border-color 0.35s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

.form-field select {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231C1814' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 12px 8px;
  padding-right: 28px;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-mute);
  opacity: 0.7;
}

.form-foot {
  margin-top: clamp(16px, 2vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.form-privacy-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  max-width: 32ch;
  line-height: 1.55;
}

.form-privacy-note a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.form-privacy-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.form-submit {
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg-cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), gap 0.4s var(--ease-out);
}

.form-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
  gap: 22px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  min-height: 16px;
  text-align: center;
}

.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #8b2828; }

/* honeypot anti-bot: invisibile per l'utente, visibile ai bot che riempiono ogni campo */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* checkbox "non sono un robot" */
.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink-soft);
  margin-top: clamp(8px, 1vw, 16px);
  user-select: none;
  padding: 8px 0;
}

.form-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.form-checkbox__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  background: transparent;
  flex-shrink: 0;
  color: var(--bg-cream);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.form-checkbox__box svg {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.form-checkbox input:checked + .form-checkbox__box {
  background: var(--ink);
  border-color: var(--ink);
}

.form-checkbox input:checked + .form-checkbox__box svg {
  opacity: 1;
  transform: scale(1);
}

.form-checkbox input:focus-visible + .form-checkbox__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-checkbox:hover .form-checkbox__box {
  border-color: var(--accent);
}

.form-checkbox__text {
  font-style: italic;
}

/* ============================================
   FOOTER (monumental)
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: var(--bg-cream);
  padding: clamp(56px, 6vw, 88px) var(--gutter-d) 28px;
  position: relative;
  overflow: hidden;
}

.footer > .footer__wordmark {
  margin: 0 calc(-1 * var(--gutter-d));
  padding-left: var(--gutter-d);
  padding-right: var(--gutter-d);
}

.footer__bottom {
  margin-top: clamp(20px, 2.5vw, 36px);
}

.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.footer__intro .section-number {
  color: var(--accent);
  margin-bottom: 32px;
}

.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  color: var(--bg-cream);
  max-width: 32ch;
  letter-spacing: -0.012em;
}

.footer__col .footer__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(236, 221, 183, 0.58);
  margin-bottom: 20px;
}

.footer__col p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.88);
}

.footer__col .muted {
  font-family: var(--mono);
  color: rgba(244, 239, 230, 0.45);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
}

.footer__logo {
  display: block;
  height: clamp(72px, 9vw, 120px);
  width: auto;
  margin: clamp(32px, 4vw, 48px) auto clamp(12px, 1.5vw, 20px);
}

.footer__wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 18px);
  font-family: var(--tonolo);
  font-weight: 100;
  font-size: clamp(16px, 2.8vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bg-cream);
  padding: clamp(14px, 1.6vw, 24px) 0;
  border-top: none;
  border-bottom: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.footer__wordmark-text .caps {
  font-family: var(--tonolo);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 0.22em;
  font-size: 0.85em;
}

.footer__wordmark-text .low {
  font-family: var(--tonolo);
  font-weight: 100;
  letter-spacing: -0.04em;
}

/* linee sfumate sopra e sotto: dissolvenza ai lati, niente bordi netti */
.footer__wordmark::before,
.footer__wordmark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(236, 221, 183, 0.22) 28%,
    rgba(236, 221, 183, 0.22) 72%,
    transparent 100%
  );
  pointer-events: none;
}

.footer__wordmark::before { top: 0; }
.footer__wordmark::after { bottom: 0; }

.footer__wordmark-logo {
  height: 1.25em;
  width: auto;
  flex-shrink: 0;
  color: var(--bg-cream);
  display: block;
  transform: translateY(7.8%);
}

.footer__wordmark-text {
  display: inline-block;
  padding-bottom: 0;
}

.footer__bottom {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-top: clamp(32px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.48);
}

.footer__bottom a {
  color: rgba(244, 239, 230, 0.7);
  border-bottom: 1px solid rgba(244, 239, 230, 0.25);
  padding-bottom: 1px;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.footer__bottom a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* — language switcher nel footer — */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(236, 221, 183, 0.48);
}

.lang-switch button {
  appearance: none;
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: rgba(236, 221, 183, 0.48);
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.lang-switch button:hover {
  color: var(--bg-cream);
}

.lang-switch button.is-active {
  color: var(--bg-cream);
  border-bottom-color: rgba(236, 221, 183, 0.5);
}

.footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer__legal span[aria-hidden] {
  opacity: 0.4;
}

.footer__privacy-link {
  color: rgba(236, 221, 183, 0.7) !important;
  border-bottom-color: rgba(236, 221, 183, 0.25) !important;
  cursor: pointer;
}

/* — privacy modal — */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}

.privacy-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 30, 54, 0.78);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  cursor: pointer;
}

.privacy-modal__inner {
  position: relative;
  max-width: 680px;
  margin: clamp(40px, 8vh, 96px) auto;
  background: var(--bg-cream);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  z-index: 1;
  max-height: calc(100vh - clamp(40px, 8vh, 96px) * 2);
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 24px 60px rgba(15, 37, 65, 0.35);
}

.privacy-modal.is-open .privacy-modal__inner {
  transform: translateY(0);
}

.privacy-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  appearance: none;
  background: none;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.privacy-modal__close:hover {
  background: var(--ink);
  color: var(--bg-cream);
  border-color: var(--ink);
}

.privacy-modal__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

.privacy-modal__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.privacy-modal__body {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.privacy-modal__body p {
  margin-bottom: 14px;
}

.privacy-modal__body strong {
  color: var(--ink);
  font-weight: 500;
}

.privacy-modal__footer-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.privacy-modal__footer-note em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
}

body.privacy-open {
  overflow: hidden;
}

/* lock scroll durante l'intro (logo che si disegna) */
body.intro-locked {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

body.intro-locked main { overflow: hidden; }

/* hint scroll che entra solo dopo il lock */
.intro__hint {
  opacity: 0;
}
.intro--unlocked .intro__hint {
  opacity: 1;
  transition: opacity 0.8s var(--ease-out);
}

@media (max-width: 900px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lang-switch { font-size: 11px; }
}

/* — variante hero/page-hero: switcher inline nella sezione di apertura — */
.lang-switch--hero {
  margin-top: clamp(40px, 5vw, 64px);
  justify-content: center;
  display: inline-flex;
}

/* sull'hero navy della home eredita i colori del footer (crema su navy) */

/* sul page-hero crema delle pagine secondarie: inverti i colori */
.page-hero .lang-switch--hero {
  color: rgba(28, 24, 20, 0.48);
}

.page-hero .lang-switch--hero button {
  color: rgba(28, 24, 20, 0.48);
}

.page-hero .lang-switch--hero button:hover {
  color: var(--ink);
}

.page-hero .lang-switch--hero button.is-active {
  color: var(--ink);
  border-bottom-color: rgba(28, 24, 20, 0.4);
}

/* ============================================
   CURSOR custom (solo desktop, discreto)
   ============================================ */

.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.3s var(--ease-out), scale 0.4s var(--ease-out), background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  mix-blend-mode: difference;
  will-change: transform;
}

.custom-cursor.is-active { opacity: 0.7; }

.custom-cursor.is-hover {
  scale: 1.6;
  background: var(--bg-cream);
  border-color: var(--bg-cream);
  opacity: 0.85;
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor { display: none; }
}

/* ============================================
   FILM GRAIN su tutte le foto (invisibile-quasi)
   ============================================ */

.hero__image,
.selezione__image,
.sede__image,
.ig-cell {
  position: relative;
}

.hero__image::after,
.selezione__image::after,
.sede__image::after,
.ig-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.10;
  mix-blend-mode: overlay;
  z-index: 2;
}

/* ============================================
   ORARIO LOCALE nel footer (mono, discreto)
   ============================================ */

.footer__bottom {
  flex-wrap: wrap;
  gap: 12px;
}

.footer__clock {
  color: rgba(244, 239, 230, 0.45);
  text-align: center;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}

.footer__clock .clock-tz {
  margin-left: 4px;
  font-size: 9px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .footer__clock { width: 100%; text-align: left; }
}

/* ============================================
   REVEAL — fade dolce per blocchi semplici
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 1.1s var(--ease-out), opacity 1.1s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CINEMA — sistema cinematografico
   ============================================ */

/* — FILO CONDUTTORE verticale (linea che si traccia con scroll) — */
.scroll-thread {
  position: fixed;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  transform: translateX(-50%);
}

.scroll-thread__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(28, 24, 20, 0.34) 0,
    rgba(28, 24, 20, 0.34) 4px,
    transparent 4px,
    transparent 10px
  );
  height: var(--thread-h, 0%);
  transition: height 0.18s linear;
  opacity: 0.55;
}

/* sopra sezioni navy, filo invertito */
body.thread--dark .scroll-thread__line {
  background: repeating-linear-gradient(
    to bottom,
    rgba(236, 221, 183, 0.5) 0,
    rgba(236, 221, 183, 0.5) 4px,
    transparent 4px,
    transparent 10px
  );
  opacity: 0.65;
}

/* nodo che pulsa al centro del filo */
.scroll-thread__node {
  position: absolute;
  left: -2px;
  top: calc(var(--thread-h, 0%) - 6px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 37, 65, 0.12);
  transition: top 0.18s linear;
  opacity: 0.85;
}

body.thread--dark .scroll-thread__node {
  background: var(--bg-cream);
  box-shadow: 0 0 0 4px rgba(236, 221, 183, 0.10);
}

@media (max-width: 900px) {
  .scroll-thread { display: none; }
}

/* — WORDS STAGGER nei titoli — */
.cinema-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease-out),
              transform 1.1s var(--ease-out),
              filter 1.1s var(--ease-out);
  will-change: transform, opacity, filter;
}

.cinema-word--space {
  display: inline-block;
  width: 0.32em;
  opacity: 1;
  filter: none;
  transform: none;
}

.cinema-word.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* — EYEBROW typewriter — */
.cinema-eyebrow {
  display: inline-block;
  position: relative;
}

.cinema-eyebrow__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.cinema-eyebrow__char.in {
  opacity: 1;
  transform: translateY(0);
}

.cinema-eyebrow__caret {
  display: inline-block;
  width: 6px;
  height: 0.95em;
  background: currentColor;
  vertical-align: -0.1em;
  margin-left: 3px;
  opacity: 0;
  transition: opacity 0.2s var(--ease-out);
}

.cinema-eyebrow.is-typing .cinema-eyebrow__caret {
  opacity: 0.7;
  animation: caretBlink 0.7s steps(1) infinite;
}

@keyframes caretBlink {
  0%, 50% { opacity: 0.7; }
  51%, 100% { opacity: 0; }
}

/* — MARKER didascalia italica inline (voce di libro, non più colonne mono) — */
.cinema-marker {
  display: block;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1s var(--ease-out) 0.35s, transform 1s var(--ease-out) 0.35s;
}

.cinema-marker.in {
  opacity: 1;
  transform: translateY(0);
}

.cinema-marker__item {
  display: inline;
}

.cinema-marker__item:not(:first-child)::before {
  content: "·";
  color: var(--ink-mute);
  margin: 0 0.55em;
  font-style: normal;
}

/* label mono nascosti — restano per accessibilità a posteriori */
.cinema-marker__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.cinema-marker__value {
  display: inline;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--ink-soft);
}

/* — IMAGE cinematic reveal 3-stage — */
.cinema-image {
  position: relative;
  overflow: hidden;
}

.cinema-image__inner {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.7s cubic-bezier(0.7, 0, 0.2, 1);
}

.cinema-image__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) blur(16px) brightness(0.78);
  transform: translate3d(0, var(--py, 0%), 0) scale(1.18);
  transition: filter 2.2s var(--ease-out) 0.2s,
              transform 2.2s var(--ease-out) 0.2s;
  will-change: filter, transform;
}

.cinema-image.is-revealed .cinema-image__inner {
  clip-path: inset(0 0 0 0);
}

.cinema-image.is-revealed .cinema-image__inner img {
  filter: grayscale(0) blur(0) brightness(1);
  transform: translate3d(0, var(--py, 0%), 0) scale(1.05);
}

/* placeholder sfondo carbone caldo durante il reveal */
.cinema-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  background:
    radial-gradient(circle at 30% 20%, rgba(236, 221, 183, 0.04), transparent 50%),
    var(--bg-dark);
  z-index: 0;
}

/* firma a margine della foto — italica minuscola, niente mono uppercase */
.cinema-image__chapter {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  left: clamp(16px, 2vw, 24px);
  z-index: 3;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--bg-cream);
  mix-blend-mode: difference;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.9s var(--ease-out) 0.8s, transform 0.9s var(--ease-out) 0.8s;
}

.cinema-image.is-revealed .cinema-image__chapter {
  opacity: 0.9;
  transform: translateY(0);
}

/* — QUOTE pull: solo italica con tre puntini, niente linea verticale — */
.cinema-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-top: clamp(28px, 3.5vw, 48px);
  padding-left: 0;
  border-left: none;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.1s var(--ease-out) 0.5s, transform 1.1s var(--ease-out) 0.5s;
}

.cinema-quote::before {
  content: "…";
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  margin-bottom: 6px;
  line-height: 1;
  opacity: 0.85;
}

.cinema-quote.in {
  opacity: 1;
  transform: translateY(0);
}

/* — PARTICELLE polvere/calce (sezioni navy) — */
.dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dust__particle {
  position: absolute;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: rgba(236, 221, 183, 0.85);
  opacity: 0;
  animation: dustFloat var(--dust-d, 22s) linear infinite,
             dustTwinkle var(--dust-tw, 6s) ease-in-out infinite;
  animation-delay: var(--dust-delay, 0s), var(--dust-tw-delay, 0s);
  will-change: transform, opacity;
}

/* micro-pulsazione discreta che dà vita senza diventare blink */
@keyframes dustTwinkle {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.35); }
}

@keyframes dustFloat {
  0% {
    transform: translate3d(var(--dust-x, 0px), 100vh, 0) scale(var(--dust-s, 1));
    opacity: 0;
  }
  10% {
    opacity: var(--dust-o, 0.28);
  }
  90% {
    opacity: var(--dust-o, 0.28);
  }
  100% {
    transform: translate3d(calc(var(--dust-x, 0px) + var(--dust-drift, 40px)), -10vh, 0) scale(var(--dust-s, 1));
    opacity: 0;
  }
}

/* l'intro e l'hero hanno la dust attiva */
.intro, .hero, .footer {
  position: relative;
}

/* tutte le sezioni cinema devono ancorare gli overlay assoluti */
[data-cinema-section] {
  position: relative;
}

/* — HERO IMAGE wrapper (al posto del clip path su .hero__image) — */
.hero__image {
  clip-path: none;
}

/* — IMAGE wrapper override su selezione & sede — */
.selezione__image,
.sede__image {
  clip-path: none;
}

/* layer foto storiche con seppia leggera sui marker sedi */
.sede__info {
  position: relative;
}

.sede__info::before {
  content: "";
  position: absolute;
  top: clamp(60px, 8vw, 120px);
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.6s var(--ease-out) 0.6s, transform 0.9s var(--ease-out) 0.6s;
}

.sede.is-in .sede__info::before {
  opacity: 1;
  transform: scaleX(1);
}

/* — capitoli numerati I/II/III: rimossi, identità unica niente schema editoriale — */
.cinema-chapter {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .cinema-word,
  .cinema-eyebrow__char,
  .cinema-marker,
  .cinema-quote,
  .cinema-chapter,
  .cinema-image__inner img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .cinema-image__inner {
    clip-path: inset(0 0 0 0) !important;
    transition: none !important;
  }
  .scroll-thread { display: none; }
  .dust { display: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  :root { --gutter-d: 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: 1 / -1; margin-bottom: 24px; }
}

@media (max-width: 900px) {
  :root { --gutter-d: 24px; }

  .site-header { padding: 14px 20px; }
  .nav-right { gap: 18px; }
  .nav-cities { gap: 18px; }
  .nav-cities a { font-size: 10px; }
  .nav-ig { width: 32px; height: 32px; margin-right: -6px; }
  .nav-ig svg { width: 18px; height: 18px; }

  .intro { padding: 100px 16px; }
  .intro__wordmark { font-size: clamp(32px, 9vw, 72px); letter-spacing: -0.035em; }
  .intro__meta { font-size: 11px; gap: 12px; }
  .intro__hint { bottom: 32px; font-size: 9px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 120px var(--gutter-m) 80px;
    gap: 48px;
    min-height: auto;
  }

  .hero__image { order: -1; aspect-ratio: 4 / 5; }

  .manifesto { padding: 100px var(--gutter-m); }

  .selezioni {
    padding: 100px var(--gutter-m);
  }

  .selezioni__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .selezione, .selezione--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .selezione--reverse .selezione__image { order: -1; }
  .selezione--reverse .selezione__text { order: 0; }

  .brand-wall__head { padding: 0 var(--gutter-m); }

  .sedi__head {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 var(--gutter-m) 80px;
  }

  .sede {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sede__image { aspect-ratio: 4 / 3; }
  .sede--reverse .sede__image { order: 0; }
  .sede--reverse .sede__info { order: 0; }

  .mappa { padding: 80px var(--gutter-m); }

  .instagram {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px var(--gutter-m);
  }

  .instagram__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
  }

  .instagram__grid .ig-cell:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .footer { padding: 80px var(--gutter-m) 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 64px; }
  .footer__intro { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }

  /* nuove sezioni mobile */
  .chi { padding: 100px var(--gutter-m); }
  .chi__grid { grid-template-columns: 1fr; gap: 40px; }
  .chi__image { max-width: 100%; aspect-ratio: 4 / 5; }

  .dove { padding: 56px var(--gutter-m); }

  .team { padding: 100px var(--gutter-m); }
  .team__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }

  .faq { padding: 100px var(--gutter-m); }
  .faq__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }

  .preventivo { padding: 100px var(--gutter-m); }
  .preventivo__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
}

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

@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
  .intro__meta .since { margin-left: 0; padding-left: 0; border-left: none; }
}

/* ============================================
   MOBILE NAV — burger menu + overlay
   ============================================ */

.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
  margin-left: auto;
  pointer-events: auto;
  transition: color 0.3s;
}

.nav-burger__icon {
  display: block;
  width: 26px;
  height: 26px;
  position: relative;
}

.nav-burger__icon::before,
.nav-burger__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1.2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(.16, 1, .3, 1), background 0.3s;
}

.nav-burger__icon::before { transform: translate(-50%, -50%) rotate(0deg); }
.nav-burger__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.nav-burger:hover .nav-burger__icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-burger:hover .nav-burger__icon::after { transform: translate(-50%, -50%) rotate(-45deg); }
.nav-burger:hover { color: var(--accent); }

.nav-burger[aria-expanded="true"] .nav-burger__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-burger[aria-expanded="true"] .nav-burger__icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-burger[aria-expanded="true"]:hover .nav-burger__icon::before {
  transform: translate(-50%, -50%) rotate(0deg);
}
.nav-burger[aria-expanded="true"]:hover .nav-burger__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-soft);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.36s var(--ease-out), visibility 0s linear 0.36s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--gutter-m) 40px;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.36s var(--ease-out), visibility 0s;
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu__list a {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 8vw, 44px);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.24s;
}

.mobile-menu.is-open .mobile-menu__list a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__list li:nth-child(1) a { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) a { transition-delay: 0.38s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(7) a { transition-delay: 0.44s; }

.mobile-menu__list a:hover { color: var(--accent); }

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28, 24, 20, 0.55);
}

.mobile-menu__footer a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-cities { display: none; }
  .nav-burger { display: inline-flex; align-items: center; }
  body.intro-locked .nav-burger { display: none; }
  .nav-right { gap: 14px; }
}

@media (min-width: 901px) {
  .mobile-menu { display: none; }
}
