/* ScattoViaggiando — sito pubblico. Usa le variabili di tokens.css (caricato prima). */

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; outline: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 600; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
::selection { background: var(--c-red); color: #fff; }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 1000;
  background: var(--c-ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-s);
  transform: translateY(-150%); transition: transform .2s var(--ease); text-decoration: none; font-weight: 600;
}
.skip-link:focus { transform: none; }

.wrap { width: min(var(--w-max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--wide { width: min(var(--w-wide), 100% - 2 * var(--gutter)); }
.hand { font-family: var(--f-hand); font-weight: 600; line-height: 1; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-red);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.eyebrow--orange { color: var(--c-orange); }
.eyebrow--light { color: #fff; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.section-head--sub { margin-top: 4rem; margin-bottom: 1.5rem; }
.section-title {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-top: .6rem;
}
.section-title a { text-decoration: none; }
.section-title--s { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); margin-bottom: 1.5rem; }
.section-lead { margin-top: .9rem; max-width: 36rem; color: var(--c-muted); font-size: 1.08rem; }

.link-arrow {
  font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center;
  border-bottom: 2px solid var(--c-red); padding-bottom: .15rem; white-space: nowrap;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: #fff; border-color: var(--c-orange); }

/* ------------------------------------------------------------------ bottoni & chip */
.btn {
  --bg: var(--c-ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-weight: 650; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn--red { --bg: var(--c-red); }
.btn--red:hover { --bg: var(--c-red-dark); }
.btn--ink { --bg: var(--c-ink); }
.btn--outline { --bg: transparent; --fg: var(--c-ink); border-color: var(--c-ink); }
.btn--outline:hover { --bg: var(--c-ink); --fg: #fff; }
.btn--ghost-light { --bg: rgb(255 255 255 / .12); --fg: #fff; border-color: rgb(255 255 255 / .7); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--c-ink); }

.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .85rem; border-radius: 999px;
  font-size: .8rem; font-weight: 650; letter-spacing: .02em; text-decoration: none;
  background: var(--c-white); color: var(--c-ink); border: 1px solid var(--c-line);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip span { font-weight: 500; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.chip:hover span { color: rgb(255 255 255 / .7); }
.chip--light { background: rgb(255 255 255 / .16); color: #fff; border-color: rgb(255 255 255 / .45); backdrop-filter: blur(8px); }
.chip--light span { color: rgb(255 255 255 / .75); }
.chip--light:hover { background: #fff; color: var(--c-ink); }
.chip--red { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1.5rem; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(250 246 240 / .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(22 20 18 / .07);
  transition: background-color .3s var(--ease), border-color .3s, box-shadow .3s, color .3s;
}
.site-header__inner {
  height: 100%;
  width: min(var(--w-max), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand__pill { display: flex; align-items: center; border-radius: 999px; transition: background-color .3s, padding .3s, box-shadow .3s; }
.brand__logo { height: 2.9rem; width: auto; }

.main-nav { margin-left: auto; display: none; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; }
.main-nav a {
  position: relative; display: block; padding: .5rem .85rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; letter-spacing: .005em;
  transition: background-color .2s, color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
  background: var(--c-red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgb(22 20 18 / .07); }
.burger { display: grid; gap: 5px; width: 22px; }
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-actions { margin-left: .25rem; }
  .menu-toggle { display: none; }
}

/* header trasparente sopra la foto */
.has-hero .site-header.is-transparent { position: fixed; inset: 0 0 auto 0; }
.site-header.is-transparent:not(.is-solid) {
  background: transparent; border-color: transparent; color: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header.is-transparent:not(.is-solid)::before {
  content: ""; position: absolute; inset: 0 0 -3rem 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgb(0 0 0 / .45), transparent);
}
.site-header.is-transparent:not(.is-solid) .brand__pill {
  background: rgb(250 246 240 / .94); padding: .25rem 1rem .25rem .55rem; box-shadow: var(--shadow-s);
}
.site-header.is-transparent:not(.is-solid) .brand__logo { height: 2.5rem; }
.site-header.is-transparent:not(.is-solid) .main-nav a { text-shadow: 0 1px 8px rgb(0 0 0 / .35); }
.site-header.is-transparent:not(.is-solid) .main-nav a::after { background: var(--c-orange); }
.site-header.is-transparent:not(.is-solid) .icon-btn:hover { background: rgb(255 255 255 / .15); }
.site-header.is-solid { box-shadow: 0 6px 24px -12px rgb(22 20 18 / .25); }

.site-header.is-compact { --header-h: 3.75rem; }
.site-header.is-compact .brand__logo { height: 2.4rem; }

/* pannello ricerca */
.search-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-paper); color: var(--c-ink);
  border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
  padding: 1.1rem var(--gutter);
  animation: drop .25s var(--ease);
}
.search-panel .search-form { width: min(44rem, 100%); margin-inline: auto; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

.search-form { display: flex; gap: .5rem; }
.search-form input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1.05rem; color: var(--c-ink);
  padding: .85rem 1.2rem; border-radius: 999px;
  border: 2px solid var(--c-line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search-form input:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 4px rgb(242 162 27 / .3); }
.search-form--stack { flex-direction: column; }
.search-form--big { margin-top: 1.75rem; max-width: 40rem; width: 100%; }
.search-form--big input { font-size: 1.2rem; padding: 1.05rem 1.4rem; }

/* menu mobile */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--c-paper); color: var(--c-ink);
  padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 1.75rem;
  animation: menu-in .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--c-line); }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem 0; text-decoration: none;
  font-family: var(--f-serif); font-size: 1.9rem; font-weight: 600;
}
.mobile-menu nav a::after { content: "→"; font-family: var(--f-sans); font-size: 1.1rem; color: var(--c-red); }
.mobile-menu nav a[aria-current="page"] { color: var(--c-red); }
.mobile-menu__seagull { width: 7.5rem; margin: auto auto 0; transform: rotate(-6deg); }
.mobile-menu__hand { text-align: center; font-family: var(--f-hand); font-size: 1.6rem; color: var(--c-red); margin-top: -1rem; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header.is-transparent { background: var(--c-paper); color: var(--c-ink); }
body.menu-open .site-header.is-transparent::before { display: none; }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* barra di lettura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-red), var(--c-orange)); transform-origin: left; transform: scaleX(0); }
body:not(.page-story) .progress { display: none; }

/* ------------------------------------------------------------------ hero home */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 60rem); display: grid; align-items: end;
  color: #fff; background: var(--c-ink); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: kenburns 22s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgb(14 12 10 / .88) 0%, rgb(14 12 10 / .45) 38%, rgb(14 12 10 / 0) 65%),
    linear-gradient(100deg, rgb(14 12 10 / .5) 0%, rgb(14 12 10 / 0) 55%);
}
.hero__inner {
  width: min(var(--w-max), 100% - 2 * var(--gutter)); margin-inline: auto;
  padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(4.5rem, 9vh, 6.5rem);
  display: grid; gap: 2.5rem; align-items: end;
}
.hero__content { max-width: 50rem; }
.hero__label { margin-bottom: .9rem; }
.hero__label .hand {
  display: inline-block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--c-orange);
  transform: rotate(-3deg);
}
.hero .chip { margin-bottom: 1rem; }
.hero__title {
  font-size: clamp(2.2rem, .6rem + 9vw, 8.5rem);
  overflow-wrap: break-word; hyphens: manual;
  font-weight: 800;
  letter-spacing: -.01em; line-height: 1.05;
  text-shadow: 0 2px 30px rgb(0 0 0 / .25);
}
.hero__title a { text-decoration: none; }
.hero__excerpt { margin-top: 1.4rem; max-width: 38rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); color: rgb(255 255 255 / .88); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__strip { display: none; }
@media (min-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 21rem; }
  .hero__strip {
    display: block; align-self: end;
    background: rgb(20 18 16 / .35); border: 1px solid rgb(255 255 255 / .18);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius); padding: 1rem;
  }
  .hero__strip-title { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .7); margin: .2rem .35rem .6rem; }
  .hero__strip ul { list-style: none; display: grid; gap: .25rem; }
  .hero__strip a { display: flex; gap: .85rem; align-items: center; padding: .45rem; border-radius: 10px; text-decoration: none; transition: background-color .2s; }
  .hero__strip a:hover { background: rgb(255 255 255 / .12); }
  .hero__thumb { width: 4rem; height: 4rem; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
  .hero__strip span { font-family: var(--f-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
  .hero__strip small { display: block; font-family: var(--f-sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-orange); margin-bottom: .2rem; }
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0;
  width: 1.6rem; height: 2.6rem; border: 2px solid rgb(255 255 255 / .7); border-radius: 999px;
}
.hero__scroll span { position: absolute; left: 50%; top: .5rem; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll span { animation: scrolldot 1.8s ease-in-out infinite; }
  @keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }
.hero--plain { min-height: 70vh; background: var(--c-paper-2); color: var(--c-ink); }
.hero--plain::after { display: none; }

/* ------------------------------------------------------------------ intro + numeri */
.intro { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 3vw, 2rem); }
.intro__grid { display: grid; gap: 3rem; align-items: center; }
.intro__title {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem); font-weight: 500;
  letter-spacing: -.01em; line-height: 1.12;
}
.intro__title em { font-style: italic; color: var(--c-red); font-weight: 500; }
.intro__lead { margin-top: 1.4rem; font-size: 1.12rem; color: var(--c-ink-2); max-width: 38rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--c-paper); padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column-reverse; gap: .2rem; }
.stats dd { font-family: var(--f-serif); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.5vw, 3.8rem); line-height: 1; letter-spacing: -.01em; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.stats > div:first-child dd { color: var(--c-red); }
.stats dt { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1.35fr 1fr; gap: 5rem; }
}
.stats--band { margin-top: 4rem; }
@media (min-width: 800px) { .stats--band { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ card */
.card { position: relative; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c-paper-2); aspect-ratio: 4 / 3; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.card__link:hover .card__img, .card__link:focus-visible .card__img { transform: scale(1.06); }
.card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgb(242 162 27 / .35), transparent 55%),
    radial-gradient(circle at 80% 90%, rgb(215 20 26 / .25), transparent 55%),
    var(--c-paper-2);
}
.card__placeholder span { font-family: var(--f-serif); font-size: 5rem; font-weight: 800; font-style: italic; color: rgb(22 20 18 / .15); }
.card__body { padding: 1.1rem .15rem 0; display: flex; flex-direction: column; gap: .45rem; }
.card__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--c-red); }
.card__title { font-size: 1.5rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.15; }
.card__title span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .45s var(--ease);
}
.card__link:hover .card__title span, .card__link:focus-visible .card__title span { background-size: 100% 2px; }
.card__excerpt { color: var(--c-ink-2); font-size: .97rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; gap: .45rem; flex-wrap: wrap; font-size: .82rem; color: var(--c-muted); margin-top: .15rem; }

/* overlay: testo sopra la foto */
.card--overlay .card__link, .card--feature .card__link { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c-ink); color: #fff; }
.card--overlay .card__media, .card--feature .card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.card--overlay .card__media::after, .card--feature .card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(14 12 10 / .88), rgb(14 12 10 / .25) 50%, rgb(14 12 10 / 0) 75%);
  transition: opacity .4s;
}
.card--overlay .card__body, .card--feature .card__body { position: relative; margin-top: auto; padding: 1.4rem; }
.card--overlay, .card--overlay .card__link { min-height: 15rem; }
@media (min-width: 640px) { .card--overlay, .card--overlay .card__link { min-height: 19rem; } }
.card--overlay .card__kicker, .card--feature .card__kicker { color: var(--c-orange); }
.card--overlay .card__meta, .card--feature .card__meta { color: rgb(255 255 255 / .75); }
.card--overlay .card__title { font-size: 1.45rem; }
.card--feature .card__link { min-height: 30rem; }
.card--feature .card__body { padding: clamp(1.5rem, 3vw, 2.6rem); max-width: 40rem; }
.card--feature .card__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 750; letter-spacing: -.01em; line-height: 1; }
.card--feature .card__excerpt { color: rgb(255 255 255 / .85); font-size: 1.05rem; }

/* compact: riga orizzontale */
.card--compact .card__link { flex-direction: row; gap: 1rem; align-items: center; }
.card--compact .card__media { width: 6.5rem; flex-shrink: 0; aspect-ratio: 1; border-radius: var(--radius-s); }
.card--compact .card__body { padding: 0; gap: .25rem; }
.card--compact .card__title { font-size: 1.15rem; }
.card--compact .card__placeholder span { font-size: 2.4rem; }

/* tip: per la sezione consigli (sfondo scuro) */
.card--tip .card__link { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); padding: .6rem; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.card--tip .card__link:hover { background: rgb(255 255 255 / .08); border-color: rgb(242 162 27 / .5); transform: translateY(-4px); }
.card--tip .card__media { aspect-ratio: 16 / 10; border-radius: calc(var(--radius) - 6px); }
.card--tip .card__body { padding: 1rem .6rem .6rem; }
.card--tip .card__kicker { color: var(--c-orange); }
.card--tip .card__title { color: #fff; font-size: 1.35rem; }
.card--tip .card__excerpt { color: rgb(255 255 255 / .72); font-size: .92rem; }
.card--tip .card__meta { color: rgb(255 255 255 / .55); }
.card__num {
  position: absolute; left: .75rem; top: .6rem;
  font-family: var(--f-serif); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1;
  color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / .45);
}
.card--tip.card--nocover .card__placeholder { background: radial-gradient(circle at 30% 20%, rgb(242 162 27 / .4), transparent 60%), #2a2622; }
.card--tip.card--nocover .card__placeholder span { color: rgb(255 255 255 / .12); }

/* ------------------------------------------------------------------ griglie */
.grid-cards { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 640px) { .grid-cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.mosaic { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .card--feature { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .mosaic { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, minmax(17rem, 1fr)); gap: 1.25rem; }
  .mosaic .card--feature { grid-column: 1; grid-row: 1 / span 2; }
  .mosaic .card--feature .card__link { min-height: 100%; }
  .mosaic .card--overlay, .mosaic .card--overlay .card__link { min-height: 0; height: 100%; }
}
.latest__more { display: grid; gap: 1.25rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--c-line); }
@media (min-width: 700px) { .latest__more { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

/* ------------------------------------------------------------------ destinazioni (home) */
.destinations-home { background: var(--c-paper-2); }
.continents { display: grid; gap: 1rem; grid-auto-flow: column; grid-auto-columns: min(80%, 20rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.continent { scroll-snap-align: start; }
.continent__link {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; border-radius: var(--radius-l); text-decoration: none; color: #fff; background: var(--c-ink);
}
.continent__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.continent__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(14 12 10 / .85), rgb(14 12 10 / .1) 60%); }
.continent__link:hover .continent__img { transform: scale(1.07); }
.continent__body { padding: 1.5rem; width: 100%; }
.continent__count {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--c-red); padding: .3rem .65rem; border-radius: 999px; margin-bottom: .8rem;
}
.continent__name { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
.continent__countries { margin-top: .5rem; font-size: .9rem; color: rgb(255 255 255 / .8); }
@media (min-width: 1000px) {
  .continents { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .continent:nth-child(even) { transform: translateY(2.5rem); }
  .destinations-home { padding-bottom: calc(clamp(3.5rem, 8vw, 7rem) + 2.5rem); }
}

/* ------------------------------------------------------------------ mappa (fallback se manca il teaser) */
.map-cta__inner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l); padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 85% 30%, rgb(31 95 116 / .25), transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgb(31 95 116 / .08) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgb(31 95 116 / .08) 39px 40px),
    #eaf0ee;
}
.map-cta__inner > div { max-width: 34rem; }
.map-cta__inner p:not(.eyebrow) { margin: 1rem 0 1.5rem; color: var(--c-ink-2); font-size: 1.08rem; }

/* ------------------------------------------------------------------ consigli (sezione scura) */
.tips { background: var(--c-ink); color: #fff; position: relative; overflow: hidden; }
.tips::before {
  content: ""; position: absolute; width: 40rem; height: 40rem; right: -12rem; top: -18rem; border-radius: 50%;
  background: radial-gradient(circle, rgb(215 20 26 / .35), transparent 65%); pointer-events: none;
}
.tips .section-title { color: #fff; }
.tips .section-lead { color: rgb(255 255 255 / .7); }
.tips__grid { display: grid; gap: 1.25rem; position: relative; }
@media (min-width: 640px) { .tips__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tips__grid { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ chi siamo (strip) */
.about-strip__inner { display: grid; gap: 2rem; align-items: center; }
.about-strip__art { position: relative; justify-self: center; width: min(19rem, 70%); }
.about-strip__art::before {
  content: ""; position: absolute; inset: 8% 4% 4% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--c-orange), var(--c-red) 75%);
  opacity: .9;
}
.about-strip__art img { filter: drop-shadow(0 18px 24px rgb(22 20 18 / .25)); }
.about-strip__art figcaption { position: absolute; right: -1rem; bottom: .5rem; font-size: 1.6rem; color: var(--c-ink); transform: rotate(-8deg); }
.about-strip__text p:not(.eyebrow) { margin-top: 1.1rem; font-size: 1.12rem; color: var(--c-ink-2); max-width: 38rem; }
.about-strip__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 1.75rem; }
@media (min-width: 800px) {
  .about-strip__inner { grid-template-columns: 22rem 1fr; gap: 5rem; width: min(var(--w-wide), 100% - 2 * var(--gutter)); }
  .about-strip__art { width: 100%; }
}

/* ------------------------------------------------------------------ footer */
.site-footer { background: #11100e; color: rgb(255 255 255 / .78); margin-top: 0; position: relative; }
.site-footer__top {
  width: min(var(--w-max), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; gap: 2.5rem; padding: clamp(3.5rem, 7vw, 5.5rem) 0 3rem; position: relative;
}
.site-footer__seagull { position: absolute; width: 7.5rem; top: -4.2rem; right: 0; transform: scaleX(-1) rotate(-4deg); filter: drop-shadow(0 10px 14px rgb(0 0 0 / .35)); }
.wordmark { font-family: var(--f-serif); font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1; color: #fff; }
.wordmark em { font-style: italic; font-weight: 500; color: var(--c-red); margin-left: .1em; }
.site-footer__tagline { margin-top: 1rem; max-width: 26rem; }
.site-footer .hand { font-size: 1.5rem; color: var(--c-orange); margin-top: .8rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 2rem; }
.footer-title { font-family: var(--f-sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--c-orange); }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / .1); }
.site-footer__bottom p { width: min(var(--w-max), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 1.4rem 0 calc(1.4rem + env(safe-area-inset-bottom)); font-size: .82rem; color: rgb(255 255 255 / .55); }
@media (min-width: 900px) {
  .site-footer__top { grid-template-columns: 1.2fr 1.5fr; gap: 4rem; }
  .site-footer__seagull { width: 9rem; top: -5rem; right: 2rem; }
}

/* ------------------------------------------------------------------ briciole */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .5rem; list-style: none; font-size: .84rem; font-weight: 500; }
.breadcrumbs li { display: flex; align-items: center; gap: .5rem; }
.breadcrumbs li + li::before { content: "/"; opacity: .45; }
.breadcrumbs a { text-decoration: none; opacity: .8; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { opacity: .6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }

/* ------------------------------------------------------------------ hero liste / categorie */
.list-hero { position: relative; isolation: isolate; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--c-line); }
.list-hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
.list-hero__inner--narrow { width: min(var(--w-text), 100% - 2 * var(--gutter)); }
.list-hero .breadcrumbs { margin-bottom: 2rem; }
.list-hero__title {
  margin-top: .7rem;
  font-size: clamp(2.8rem, 1.5rem + 6vw, 6.5rem); font-weight: 800;
  letter-spacing: -.01em; line-height: 1.05;
}
.list-hero__lead { margin-top: 1.4rem; max-width: 42rem; font-size: 1.15rem; color: var(--c-ink-2); }
.list-hero__count { margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--c-muted); letter-spacing: .02em; }
.list-hero--photo { color: #fff; border: 0; min-height: min(68vh, 40rem); display: flex; align-items: flex-end; background: var(--c-ink); }
.list-hero--photo > .wrap { width: min(var(--w-max), 100% - 2 * var(--gutter)); }
.list-hero__media { position: absolute; inset: 0; z-index: 0; }
.list-hero--photo .list-hero__inner { position: relative; z-index: 2; }
.list-hero__img { width: 100%; height: 100%; object-fit: cover; }
.list-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(14 12 10 / .85), rgb(14 12 10 / .3) 55%, rgb(14 12 10 / .15)); }
.list-hero--photo .list-hero__lead { color: rgb(255 255 255 / .88); }
.list-hero--photo .list-hero__count { color: rgb(255 255 255 / .75); }
.list-hero--search, .list-hero--dest {
  background:
    radial-gradient(circle at 92% 10%, rgb(242 162 27 / .18), transparent 40%),
    radial-gradient(circle at 5% 100%, rgb(215 20 26 / .08), transparent 40%),
    var(--c-paper);
}
.list-hero--simple .list-hero__title { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.2rem); }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 4rem; }
.pagination ol { display: flex; gap: .35rem; list-style: none; }
.pagination ol a, .pagination ol span {
  display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; border: 1px solid var(--c-line); background: #fff;
}
.pagination ol a:hover { border-color: var(--c-ink); }
.pagination ol span { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.pagination__btn { font-weight: 600; text-decoration: none; padding: .6rem 1rem; border-radius: 999px; }
.pagination__btn:hover { background: var(--c-paper-2); }

.empty { text-align: center; max-width: 32rem; margin: 1rem auto 0; padding: 2rem; }
.empty img { width: 9rem; margin: 0 auto 1rem; transform: rotate(-8deg); }
.empty .hand { font-size: 2rem; color: var(--c-red); margin-bottom: .6rem; }
.empty a { color: var(--c-red); }

/* ------------------------------------------------------------------ pagina destinazioni */
.continent-block { border-top: 1px solid var(--c-line); padding-block: clamp(3rem, 6vw, 5.5rem); }
.continent-block--alt { background: var(--c-paper-2); }
.continent-block__grid { display: grid; gap: 2rem; }
.continent-block__num { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 1.4rem; color: var(--c-red); }
.continent-block__head .section-title { margin-top: .2rem; }
.continent-block__head .section-title a:hover { color: var(--c-red); }
.continent-block__meta { margin: .6rem 0 1rem; font-weight: 600; color: var(--c-muted); font-size: .92rem; }
.continent-block__head p:not([class]) { color: var(--c-ink-2); margin-bottom: 1.25rem; max-width: 30rem; }
.countries { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .countries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .continent-block__grid { grid-template-columns: 19rem 1fr; gap: 4rem; }
  .continent-block__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
@media (min-width: 1300px) { .countries { grid-template-columns: repeat(3, 1fr); } }
.country__link { display: block; text-decoration: none; position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; background: var(--c-ink); color: #fff; }
.country__media { position: absolute; inset: 0; z-index: -2; }
.country__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.country__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(14 12 10 / .8), transparent 55%); }
.country__link:hover .country__img { transform: scale(1.06); }
.country__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.4rem; }
.country__name { font-size: 1.9rem; font-weight: 700; letter-spacing: -.01em; }
.country__count { font-size: .85rem; font-weight: 600; color: rgb(255 255 255 / .8); margin-top: .2rem; }
.country__stories { list-style: none; margin-top: .9rem; display: grid; gap: .1rem; }
.country__stories a { display: flex; gap: .5rem; padding: .3rem 0; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--c-ink-2); }
.country__stories a::before { content: "→"; color: var(--c-red); }
.country__stories a:hover { color: var(--c-red); }

/* ------------------------------------------------------------------ storia: hero */
.draft-banner {
  position: sticky; top: var(--header-h); z-index: 40;
  background: repeating-linear-gradient(45deg, var(--c-orange) 0 14px, #f5b443 14px 28px); color: var(--c-ink);
  text-align: center; padding: .65rem var(--gutter); font-size: .95rem;
}
.has-hero .draft-banner { position: relative; top: 0; z-index: 55; }
.draft-banner a { font-weight: 700; margin-left: .5rem; }

.story-hero { position: relative; isolation: isolate; color: #fff; background: var(--c-ink); min-height: min(92svh, 56rem); display: flex; align-items: flex-end; overflow: hidden; }
.story-hero__media { position: absolute; inset: 0; z-index: -2; }
.story-hero__img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .story-hero__img { animation: kenburns 20s ease-out both; } }
.story-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(14 12 10 / .9) 0%, rgb(14 12 10 / .5) 40%, rgb(14 12 10 / .05) 70%, rgb(14 12 10 / .3) 100%);
}
.story-hero__inner {
  width: min(var(--w-wide), 100% - 2 * var(--gutter)); margin-inline: auto;
  padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 6vh, 4.5rem);
}
.story-hero .breadcrumbs { margin-bottom: 1.5rem; }
.story-hero__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; }
.story-hero__title {
  font-size: clamp(2.3rem, .8rem + 8.5vw, 8rem);
  overflow-wrap: break-word;
  font-weight: 800;
  letter-spacing: -.01em; line-height: 1.05;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgb(0 0 0 / .2);
}
.story-hero__dek { margin-top: 1.4rem; max-width: 40rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: rgb(255 255 255 / .88); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; list-style: none; margin-top: 2rem; font-size: .92rem; font-weight: 500; }
.story-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.story-meta svg { opacity: .85; }
.story-meta__author img { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-paper); padding: 2px; object-fit: contain; }
.story-hero--plain {
  min-height: 0; color: var(--c-ink);
  background:
    radial-gradient(circle at 88% 15%, rgb(242 162 27 / .22), transparent 45%),
    radial-gradient(circle at 0% 100%, rgb(215 20 26 / .1), transparent 40%),
    var(--c-paper-2);
  border-bottom: 1px solid var(--c-line);
}
.story-hero--plain::after { display: none; }
.story-hero--plain .story-hero__inner { padding-top: clamp(3rem, 8vw, 6rem); }
.story-hero--plain .story-hero__dek { color: var(--c-ink-2); }
.story-hero--plain .story-hero__title { text-shadow: none; }
.story-hero--plain .story-hero__title::after { content: "."; color: var(--c-red); }

/* ------------------------------------------------------------------ storia: corpo */
.story-main { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.prose {
  --side: calc((var(--w-wide) - var(--w-text)) / 2);
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, var(--side))
    [content-start] min(var(--w-text), 100% - 2 * var(--gutter))
    [content-end] minmax(0, var(--side))
    [wide-end] minmax(var(--gutter), 1fr) [full-end];
  font-size: clamp(1.06rem, 1rem + .25vw, 1.18rem);
  line-height: 1.8;
  color: var(--c-ink-2);
}
.prose > * { grid-column: content; margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { hyphens: auto; }
.prose a:not(.btn):not(.lightbox):not(.chip):not(.share__btn) {
  color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-red);
  text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s, background-color .2s;
  overflow-wrap: anywhere;
}
.prose a:not(.btn):not(.lightbox):not(.chip):not(.share__btn):hover { color: var(--c-red); }
.prose strong { color: var(--c-ink); font-weight: 650; }
.prose h2 {
  margin-top: 2.4em; color: var(--c-ink);
  font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.35rem); font-weight: 700;
  letter-spacing: -.01em; line-height: 1.12;
}
.prose h2.stop, .prose h3.stop { display: flex; align-items: baseline; gap: .7rem; }
.prose h2.stop::before, .prose h3.stop::before {
  content: ""; flex-shrink: 0; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--c-red); box-shadow: 0 0 0 4px rgb(215 20 26 / .18); transform: translateY(-.15em);
}
.prose h3 { margin-top: 2em; color: var(--c-ink); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 650; }
.prose h4 { margin-top: 1.6em; font-family: var(--f-sans); font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink); }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose > .gallery + h2, .prose > figure.photo + h2, .prose > .video + h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { color: var(--c-red); }
.prose ol li::marker { color: var(--c-red); font-weight: 700; font-family: var(--f-serif); }
.prose hr { border: 0; height: auto; margin-block: 3em; text-align: center; }
.prose hr::before { content: "✦ ✦ ✦"; color: var(--c-red); letter-spacing: 1em; font-size: .8rem; }
.prose p.dropcap::first-letter {
  float: left; font-family: var(--f-serif); font-weight: 800;
  font-size: 4.6em; line-height: .82; margin: .06em .1em 0 0; color: var(--c-red);
}
.prose p.dropcap { color: var(--c-ink); }
.prose blockquote {
  grid-column: wide; margin-block: 2.2em; padding: 0 0 0 clamp(1.2rem, 4vw, 3rem); position: relative;
  border-left: 3px solid var(--c-red);
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem); line-height: 1.3; color: var(--c-ink);
}
@media (min-width: 1100px) { .prose blockquote { grid-column: content; margin-left: -3rem; } }
.prose blockquote p + p { margin-top: .6em; }
.prose blockquote cite { display: block; margin-top: 1rem; font-family: var(--f-hand); font-style: normal; font-size: 1.35rem; color: var(--c-red); }
.prose blockquote cite::before { content: "— "; }
.prose small { font-size: .85em; }

/* foto & gallerie: escono dalla colonna */
.prose > figure.photo, .prose > .gallery, .prose > .video, .prose > figure.video-file { grid-column: wide; margin-block: 2.4em; }
.prose > figure.photo:first-child, .prose > .gallery:first-child { margin-top: 0; }
.lightbox { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c-paper-2); cursor: zoom-in; }
.lightbox img { width: 100%; transition: transform .7s var(--ease), filter .4s; }
.lightbox:hover img { transform: scale(1.03); }
.lightbox::after {
  content: ""; position: absolute; right: .8rem; bottom: .8rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgb(255 255 255 / .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161412' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 1rem no-repeat;
  opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease);
}
.lightbox:hover::after, .lightbox:focus-visible::after { opacity: 1; transform: none; }
.prose figcaption { margin-top: .7rem; font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.2; color: var(--c-muted); text-align: center; }

.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; min-width: 0; }
.gallery .lightbox { height: 100%; border-radius: calc(var(--radius) - 4px); }
.gallery .lightbox img { height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery-1 { grid-template-columns: 1fr; }
.gallery-1 .lightbox img { aspect-ratio: auto; }
.gallery-2 .lightbox img { aspect-ratio: 4 / 3.4; }
.gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-3 figure:first-child { grid-row: span 2; }
.gallery-3 figure:first-child .lightbox img { aspect-ratio: auto; height: 100%; }
.gallery-3 figure:not(:first-child) .lightbox img { aspect-ratio: 4 / 3; }
.gallery-4 { grid-template-columns: repeat(2, 1fr); }
.gallery-many { grid-template-columns: repeat(2, 1fr); }
.gallery-many figure:first-child { grid-column: span 2; }
.gallery-many figure:first-child .lightbox img { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .gallery { gap: .9rem; }
  .gallery-many { grid-template-columns: repeat(3, 1fr); }
  .gallery-many figure:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-many figure:first-child .lightbox img { aspect-ratio: auto; }
  .gallery-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery-4 .lightbox img { aspect-ratio: 3 / 4; }
}
.gallery figcaption { font-size: 1.1rem; }

/* video YouTube (facciata) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--c-ink); box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background-size: cover; background-position: center; background-color: var(--c-ink);
}
.video-play::before { content: ""; position: absolute; inset: 0; background: rgb(14 12 10 / .25); transition: background-color .3s; }
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; border-radius: 50%;
  background: var(--c-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") 55% 50% / 2rem no-repeat;
  box-shadow: 0 0 0 10px rgb(215 20 26 / .25), var(--shadow-l); transition: transform .3s var(--ease), box-shadow .3s;
}
.video-play:hover::before { background: rgb(14 12 10 / .1); }
.video-play:hover::after { transform: scale(1.08); box-shadow: 0 0 0 16px rgb(215 20 26 / .2), var(--shadow-l); }
.prose > figure.video-file video { width: 100%; border-radius: var(--radius); background: #000; }

/* pulsanti affiliati */
.prose p.cta { margin-top: 1.4em; }
.prose a.btn {
  --bg: var(--c-red); --fg: #fff;
  font-size: .95rem; text-transform: none; letter-spacing: .01em;
  box-shadow: 0 6px 18px -8px rgb(215 20 26 / .6);
}
.prose a.btn::after { content: "↗"; font-weight: 700; transition: transform .2s var(--ease); }
.prose a.btn:hover::after { transform: translate(2px, -2px); }
.prose a.btn[href*="amazon."] { --bg: var(--c-ink); box-shadow: 0 6px 18px -8px rgb(22 20 18 / .6); }
.prose .cta-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.prose .cta-row p.cta { margin: 0; }

/* recensione */
.prose aside { margin-block: 2.2em; }
.review {
  position: relative; padding: clamp(1.4rem, 4vw, 2.2rem); padding-top: clamp(2rem, 4vw, 2.6rem);
  background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); border: 1px solid var(--c-line);
  font-size: 1rem; line-height: 1.65;
}
.review::before {
  content: "la nostra recensione"; position: absolute; top: -1rem; left: 1.5rem;
  font-family: var(--f-hand); font-size: 1.45rem; font-weight: 600; line-height: 1;
  background: var(--c-red); color: #fff; padding: .35rem .9rem .45rem; border-radius: 999px; transform: rotate(-2deg);
}
.review h3 { margin-top: 0; font-size: 1.6rem; }
.review .ratings { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; gap: .1rem; }
.review .ratings li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--c-line); margin: 0; }
.review .ratings li span:first-child { font-weight: 600; color: var(--c-ink); font-size: .95rem; }
@media (min-width: 640px) { .review .ratings { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.stars { --v: 0; font-size: 0 !important; line-height: 1; white-space: nowrap; }
.stars::before {
  content: "★★★★★"; font-size: 1.2rem; letter-spacing: .1em;
  background: linear-gradient(90deg, var(--c-orange) calc(var(--v) * 20%), #e4dccf 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars[data-value="1"] { --v: 1; } .stars[data-value="2"] { --v: 2; } .stars[data-value="3"] { --v: 3; }
.stars[data-value="4"] { --v: 4; } .stars[data-value="5"] { --v: 5; }
.review p { margin-top: 1rem; }
.review p.cta { margin-top: 1.4rem; }

/* pro / contro */
.proscons { display: grid; gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); background: var(--c-paper-2); border-radius: var(--radius-l); font-size: 1rem; line-height: 1.6; }
.proscons > h3 { margin: 0 0 .25rem; font-size: 1.5rem; }
.proscons .pros, .proscons .cons { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem; border-top: 4px solid; }
.proscons .pros { border-color: #2e8b57; }
.proscons .cons { border-color: var(--c-red); }
.proscons h4 { margin: 0 0 .6rem; font-size: .85rem; }
.proscons ul { list-style: none; padding: 0; }
.proscons li { position: relative; padding-left: 1.6rem; }
.proscons li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.proscons .pros li::before { content: "+"; color: #2e8b57; }
.proscons .cons li::before { content: "−"; color: var(--c-red); }
.proscons p.cta { margin: .25rem 0 0; }
@media (min-width: 640px) { .proscons { grid-template-columns: 1fr 1fr; } .proscons > h3, .proscons > p { grid-column: 1 / -1; } }

/* nota */
.note { padding: 1.2rem 1.4rem 1.2rem 3.4rem; background: #fff8e8; border-radius: var(--radius); position: relative; font-size: 1rem; border: 1px solid #f3dfae; }
.note::before { content: "!"; position: absolute; left: 1.1rem; top: 1.1rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c-orange); color: var(--c-ink); font-weight: 800; display: grid; place-items: center; font-size: .9rem; line-height: 1; }

/* fine storia */
.story-foot { margin-top: 4rem !important; padding-top: 2rem; border-top: 1px solid var(--c-line); display: grid; gap: 2rem; font-size: 1rem; line-height: 1.5; }
.story-foot__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.story-foot__tags > span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-right: .5rem; }
.share { background: var(--c-paper-2); border-radius: var(--radius-l); padding: 1.5rem; display: grid; gap: 1rem; justify-items: start; }
.share__label { font-size: 1.7rem; color: var(--c-red); transform: rotate(-1.5deg); }
.share__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.share__btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; text-decoration: none; background: #fff; border: 1px solid var(--c-line); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.share__btn:hover { transform: translateY(-2px); }
.share__btn--wa:hover { background: #25d366; color: #0b3d1e; border-color: #25d366; }
.share__btn--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share__btn--copy:hover, .share__btn--copy.is-done { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* indice laterale */
.toc { margin: 0 auto 2.5rem; width: min(var(--w-text), 100% - 2 * var(--gutter)); }
.toc__box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.toc summary { cursor: pointer; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--c-red); list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.toc details[open] summary::after { content: "−"; }
.toc ol { list-style: none; counter-reset: toc; margin-top: .8rem; display: grid; gap: .1rem; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid; grid-template-columns: 1.8rem 1fr; padding: .4rem 0; text-decoration: none;
  font-size: .92rem; line-height: 1.35; color: var(--c-ink-2); transition: color .2s;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-serif); font-style: italic; color: var(--c-muted); font-size: .85rem; }
.toc a:hover, .toc a.is-active { color: var(--c-red); }
.toc a.is-active::before { color: var(--c-red); }
@media (min-width: 1200px) {
  .story-main.has-toc {
    display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem;
    width: min(var(--w-wide) + 4rem, 100% - 2 * var(--gutter)); margin-inline: auto;
  }
  .story-main.has-toc .toc { width: auto; margin: 0; }
  .story-main.has-toc .toc__box { position: sticky; top: calc(var(--header-h) + 2rem); background: transparent; border: 0; border-left: 2px solid var(--c-line); border-radius: 0; padding: 0 0 0 1.25rem; max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; }
  .story-main.has-toc .toc summary { pointer-events: none; }
  .story-main.has-toc .toc summary::after { display: none; }
  .story-main.has-toc .prose { grid-template-columns: [full-start wide-start content-start] minmax(0, var(--w-text)) [content-end] minmax(0, 1fr) [wide-end full-end]; }
  .story-main.has-toc .prose blockquote { margin-left: 0; }
}

/* mappa della storia + navigazione */
.story-map-slot { padding-block: 1rem 3rem; }
.pager-stories { padding-block: 2rem 1rem; }
.pager-stories__grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .pager-stories__grid { grid-template-columns: 1fr 1fr; } }
.pager-story {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 11rem;
  border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--c-ink); padding: 1.4rem;
}
.pager-story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; transition: transform .8s var(--ease), opacity .4s; }
.pager-story::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(14 12 10 / .85), rgb(14 12 10 / .15)); }
.pager-story:hover .pager-story__img { transform: scale(1.05); opacity: .9; }
.pager-story--next { justify-content: flex-end; text-align: right; }
.pager-story small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-orange); margin-bottom: .3rem; }
.pager-story strong { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.related { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ------------------------------------------------------------------ pagine statiche / chi siamo */
.prose--page { padding-bottom: 1rem; }
.prose--page > h2:first-child { margin-top: 0; }
.about-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; background: radial-gradient(circle at 80% 30%, rgb(242 162 27 / .2), transparent 45%), var(--c-paper-2); }
.about-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.about-hero .breadcrumbs { margin-bottom: 2rem; }
.about-hero__hello { font-size: 2.6rem; color: var(--c-red); transform: rotate(-4deg); display: inline-block; }
.about-hero__title { font-size: clamp(2.8rem, 1.5rem + 5.5vw, 6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.05; margin-top: .3rem; }
.about-hero__title em { font-style: italic; font-weight: 600; color: var(--c-red); }
.about-hero__lead { margin-top: 1.4rem; font-size: 1.2rem; color: var(--c-ink-2); max-width: 32rem; }
.about-hero__art { position: relative; min-height: 22rem; }
.about-hero__seagull { position: absolute; width: 13rem; right: 0; bottom: -1rem; z-index: 3; filter: drop-shadow(0 16px 20px rgb(22 20 18 / .25)); }
.polaroids { position: relative; height: 22rem; }
.polaroid { position: absolute; width: 13rem; background: #fff; padding: .6rem .6rem .4rem; box-shadow: var(--shadow-l); border-radius: 3px; }
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.polaroid figcaption { text-align: center; font-size: 1.35rem; padding: .35rem 0 .1rem; color: var(--c-ink-2); }
.polaroid--1 { left: 0; top: 1rem; transform: rotate(-7deg); }
.polaroid--2 { left: 32%; top: 0; transform: rotate(4deg); z-index: 1; }
.polaroid--3 { left: 14%; top: 7rem; transform: rotate(-2deg); z-index: 2; }
@media (max-width: 640px) {
  .polaroid { width: 9.5rem; }
  .polaroids { height: 17rem; }
  .about-hero__art { min-height: 17rem; }
  .about-hero__seagull { width: 9rem; }
  .polaroid--3 { top: 5.5rem; }
}
@media (min-width: 900px) { .about-hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .about-hero__art { min-height: 26rem; } .polaroids { height: 26rem; } .polaroid { width: 15rem; } .polaroid--3 { top: 9rem; } }
.about-cta { text-align: center; margin-top: 4rem; }
.about-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.page-about .page-body { padding-top: clamp(3rem, 6vw, 5rem); }
.page-legal .prose { font-size: 1.02rem; }

/* ------------------------------------------------------------------ 404 */
.notfound { padding-block: clamp(3rem, 8vw, 6rem); }
.notfound__grid { display: grid; gap: 2rem; align-items: center; margin-bottom: 4.5rem; }
.notfound__art { position: relative; justify-self: center; width: min(22rem, 80%); }
.notfound__art img { position: relative; z-index: 1; transform: rotate(-8deg); filter: drop-shadow(0 20px 24px rgb(22 20 18 / .2)); }
@media (prefers-reduced-motion: no-preference) {
  .notfound__art img { animation: float 5s ease-in-out infinite; }
  @keyframes float { 50% { transform: rotate(-4deg) translateY(-12px); } }
}
.notfound__code { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-serif); font-weight: 900; font-size: clamp(7rem, 20vw, 13rem); color: rgb(215 20 26 / .12); letter-spacing: -.01em; line-height: 1; z-index: 0; }
.notfound__hand { font-size: 2rem; color: var(--c-red); transform: rotate(-2deg); display: inline-block; }
.notfound__title { margin: .6rem 0 1rem; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.notfound__text > p:not([class]) { font-size: 1.1rem; color: var(--c-ink-2); max-width: 34rem; margin-bottom: 1.5rem; }
.notfound__text .search-form { max-width: 34rem; }
.notfound__links { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (min-width: 860px) { .notfound__grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }

/* ------------------------------------------------------------------ lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto;
  background: rgb(10 9 8 / .96); color: #fff; touch-action: pan-y;
  opacity: 0; transition: opacity .25s;
}
.lb.is-open { opacity: 1; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lb__count { opacity: .8; letter-spacing: .08em; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(.5rem, 5vw, 5rem); overflow: hidden; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; transition: opacity .25s, transform .3s var(--ease); }
.lb__img.is-loading { opacity: .3; }
.lb__cap { text-align: center; padding: .8rem 1rem calc(1.2rem + env(safe-area-inset-bottom)); font-family: var(--f-hand); font-size: 1.4rem; min-height: 3.2rem; color: rgb(255 255 255 / .85); }
.lb__btn { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.lb__btn:hover { background: rgb(255 255 255 / .22); }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 3.4rem; height: 3.4rem; }
.lb__prev { left: clamp(.4rem, 2vw, 1.5rem); }
.lb__next { right: clamp(.4rem, 2vw, 1.5rem); }
@media (max-width: 640px) { .lb__nav { display: none; } }
body.lb-open { overflow: hidden; }

/* ------------------------------------------------------------------ reveal */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .continent[data-reveal].is-visible:nth-child(even) { transform: none; }
  .hero__content { animation: rise 1s var(--ease); }
  @keyframes rise { from { transform: translateY(24px); } }
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .js .continent[data-reveal].is-visible:nth-child(even) { transform: translateY(2.5rem); }
}

/* ------------------------------------------------------------------ pagina mappa (layout a tutta altezza) */
body.page-map { height: 100dvh; min-height: 0; overflow: hidden; }
body.page-map main { flex: 1 1 auto; min-height: 0; position: relative; display: flex; flex-direction: column; }
body.page-map main > * { flex: 1 1 auto; min-height: 0; }

/* ------------------------------------------------------------------ stampa */
@media print {
  .site-header, .site-footer, .share, .pager-stories, .related, .toc, .progress, .hero__scroll { display: none !important; }
  .story-hero { min-height: 0; color: #000; background: none; }
  .story-hero__media, .story-hero::after { display: none; }
  body { background: #fff; }
}

/* ==================================================================
 * COLORE — toni per continente/argomento + fasce di sezione
 * (testo sempre su combinazioni AA: --tone-ink su chiaro, --tone-on su pieno)
 * ================================================================== */
:root, [data-tone] { --tone: var(--c-red); --tone-ink: var(--c-red); --tone-on: #fff; --tone-tint: var(--t-coral); }
[data-tone="ocean"] { --tone: var(--c-ocean); --tone-ink: var(--c-ocean); --tone-on: #fff; --tone-tint: var(--t-sky); }
[data-tone="sunset"] { --tone: var(--c-sunset); --tone-ink: var(--c-sunset-ink); --tone-on: var(--c-ink); --tone-tint: #fff0e4; }
[data-tone="sun"] { --tone: var(--c-sun); --tone-ink: var(--c-sun-ink); --tone-on: var(--c-ink); --tone-tint: var(--t-sun); }
[data-tone="turquoise"] { --tone: var(--c-turquoise); --tone-ink: var(--c-turquoise-ink); --tone-on: var(--c-ink); --tone-tint: var(--t-turquoise); }
[data-tone="coral"] { --tone: var(--c-coral); --tone-ink: var(--c-coral-ink); --tone-on: var(--c-ink); --tone-tint: var(--t-coral); }
[data-tone="green"] { --tone: var(--c-green); --tone-ink: var(--c-green-ink); --tone-on: var(--c-ink); --tone-tint: var(--t-green); }
[data-tone="sky"] { --tone: var(--c-sky); --tone-ink: var(--c-sky-ink); --tone-on: var(--c-ink); --tone-tint: var(--t-sky); }

body { background: var(--c-paper); }
::selection { background: var(--c-sun); color: var(--c-ink); }
:focus-visible { outline-color: var(--c-turquoise); }
.section-title em, .intro__title em, .list-hero__title em { font-style: italic; font-weight: 600; color: var(--c-coral-ink); }
.eyebrow--sun { color: var(--c-sun); }
.btn--sun { --bg: var(--c-sun); --fg: var(--c-ink); }
.btn--sun:hover { --bg: #ffd46b; }
.btn--red { background-image: none; }

/* header: bianco + filo "tramonto" */
.site-header { background: rgb(255 255 255 / .92); border-bottom-color: transparent; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--g-sunset); transition: opacity .3s; }
.site-header.is-transparent:not(.is-solid)::after { opacity: 0; }
.site-header.is-transparent:not(.is-solid) .main-nav a::after { background: var(--c-sun); }
.progress span { background: var(--g-sunset); }
.progress { height: 4px; }

/* card */
.card__kicker { color: var(--tone-ink); }
.card__title span { background-image: linear-gradient(var(--tone), var(--tone)); background-size: 0 3px; }
.card__link:hover .card__title span, .card__link:focus-visible .card__title span { background-size: 100% 3px; }
.card--default .card__media, .card--compact .card__media { box-shadow: 0 0 0 0 var(--tone); transition: box-shadow .35s var(--ease); }
.card--default .card__link:hover .card__media, .card--compact .card__link:hover .card__media { box-shadow: 0 0 0 4px var(--tone); }
.card--overlay .card__kicker, .card--feature .card__kicker {
  align-self: flex-start; color: var(--tone-on); background: var(--tone);
  padding: .3rem .6rem; border-radius: 999px; letter-spacing: .1em;
}
.card--overlay .card__link::after, .card--feature .card__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--tone);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card--overlay .card__link:hover::after, .card--feature .card__link:hover::after { transform: scaleX(1); }
.card__placeholder { background: radial-gradient(circle at 30% 20%, var(--tone), transparent 60%), var(--tone-tint); }
.card__placeholder span { color: rgb(22 20 18 / .18); }

/* chip col tono */
.chip--tone { background: var(--tone-tint); border-color: color-mix(in srgb, var(--tone) 55%, transparent); }
.chip--tone:hover { background: var(--tone); color: var(--tone-on); border-color: var(--tone); }
.chip--tone:hover span { color: inherit; opacity: .75; }

/* ---------- home: fasce ---------- */
.intro { background: #fff; padding-bottom: clamp(3rem, 6vw, 5rem); }
.stats { background: transparent; border: 0; gap: .75rem; overflow: visible; }
.stats > div { border-radius: var(--radius); }
.stats > div:nth-child(1) { background: var(--t-coral); }
.stats > div:nth-child(2) { background: var(--t-turquoise); }
.stats > div:nth-child(3) { background: var(--t-sun); }
.stats > div:nth-child(4) { background: var(--t-green); }
.stats > div:nth-child(1) dd { color: var(--c-red); }
.stats > div:nth-child(2) dd { color: var(--c-turquoise-ink); }
.stats > div:nth-child(3) dd { color: var(--c-sun-ink); }
.stats > div:nth-child(4) dd { color: var(--c-green-ink); }
.stats dt { color: var(--c-ink-2); }

.latest { background: var(--t-turquoise); }
.latest .section-title em { color: var(--c-turquoise-ink); }
.latest .eyebrow { color: var(--c-turquoise-ink); }
.latest .link-arrow { border-color: var(--c-turquoise); }
.latest__more { border-top-color: rgb(15 163 177 / .25); }

.destinations-home { background: var(--t-sun); }
.destinations-home .section-title em { color: var(--c-sunset-ink); }
.destinations-home .eyebrow { color: var(--c-sunset-ink); }
.destinations-home .link-arrow { border-color: var(--c-sunset); }
.continent__count { background: var(--tone); color: var(--tone-on); }
.continent__link { box-shadow: 0 0 0 0 var(--tone); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.continent__link:hover { box-shadow: 0 0 0 5px var(--tone), var(--shadow); }
.continent__link::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--tone); }

.tips { background: var(--c-ocean); overflow: visible; }
.tips::before { background: radial-gradient(circle, rgb(255 197 61 / .22), transparent 65%); right: -6rem; top: -10rem; width: 34rem; height: 34rem; overflow: hidden; }
.tips .section-title em { color: var(--c-sun); }
.wave { position: absolute; left: 0; width: 100%; height: clamp(24px, 4vw, 60px); display: block; pointer-events: none; }
.wave--top { bottom: calc(100% - 1px); color: var(--c-ocean); }
.tips .card--tip .card__link { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .14); }
.tips .card--tip .card__link:hover { background: rgb(255 255 255 / .12); border-color: var(--c-sun); }
.tips .card--tip .card__kicker { color: var(--c-sun); }
.tips .card--tip .card__excerpt { color: rgb(255 255 255 / .8); }
.tips .card--tip .card__meta { color: rgb(255 255 255 / .65); }
.tips .card__num { color: var(--c-sun); }
.topic-chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: -1rem 0 2.25rem; position: relative; }
.topic-chip {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .6rem; border-radius: 999px;
  background: rgb(255 255 255 / .1); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid rgb(255 255 255 / .18); transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.topic-chip .icon { width: 1.9rem; height: 1.9rem; padding: .35rem; border-radius: 50%; background: var(--tone); color: var(--tone-on); }
.topic-chip:hover { background: #fff; color: var(--c-ink); transform: translateY(-2px); }

.map-teaser-slot, .map-cta { background: var(--t-sky); }
.map-cta__inner { background: #fff; box-shadow: var(--shadow); }

.about-strip { background: var(--t-coral); }
.about-strip .section-title { color: var(--c-ink); }
.about-strip .eyebrow { color: var(--c-coral-ink); }
.about-strip__art::before { background: radial-gradient(circle at 35% 35%, var(--c-sun), var(--c-sunset) 45%, var(--c-coral) 80%); }
.about-strip__art figcaption { color: var(--c-coral-ink); }
.about-strip .link-arrow { border-color: var(--c-coral); }

/* footer oceano */
.site-footer { background: var(--c-ocean-dark); color: rgb(255 255 255 / .82); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--g-sunset); }
.wordmark em { color: var(--c-coral); }
.site-footer .hand { color: var(--c-sun); }
.site-footer a:hover { color: var(--c-sun); }
.site-footer__bottom { border-top-color: rgb(255 255 255 / .12); }
.site-footer__bottom p { color: rgb(255 255 255 / .7); }

/* ---------- liste / categorie / destinazioni ---------- */
.list-hero:not(.list-hero--photo) { background: radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 45%), var(--tone-tint); border-bottom: 0; }
.list-hero:not(.list-hero--photo) .eyebrow { color: var(--tone-ink); }
.list-hero--dest, .list-hero--search { background: radial-gradient(circle at 92% 0%, rgb(255 197 61 / .35), transparent 45%), radial-gradient(circle at 0% 100%, rgb(15 163 177 / .15), transparent 45%), var(--t-sun); }
.list-hero--photo .eyebrow { color: #fff; }
.list-hero--photo .eyebrow::before { background: var(--tone); height: 4px; }
.continent-block { background: var(--tone-tint); border-top: 0; }
.continent-block--alt { background: #fff; }
.continent-block__num { color: var(--tone-ink); font-weight: 600; }
.continent-block__head .section-title a:hover { color: var(--tone-ink); }
.continent-block .link-arrow { border-color: var(--tone); }
.country__link { box-shadow: 0 0 0 0 var(--tone); transition: box-shadow .35s var(--ease); }
.country__link:hover { box-shadow: 0 0 0 5px var(--tone); }
.country__count { display: inline-block; margin-top: .45rem; padding: .2rem .6rem; border-radius: 999px; background: var(--tone); color: var(--tone-on); font-size: .78rem; }
.country__stories a::before { color: var(--tone-ink); }
.country__stories a:hover { color: var(--tone-ink); }
.pagination ol span { background: var(--c-ocean); border-color: var(--c-ocean); }

/* ---------- storia ---------- */
.story .story-hero__chips .chip--light:first-child { background: var(--tone); color: var(--tone-on); border-color: var(--tone); }
.story .story-meta svg { color: var(--tone); opacity: 1; }
.story-hero--plain { background: radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--tone) 30%, transparent), transparent 45%), var(--tone-tint); }
.story-hero--plain .story-hero__title::after { color: var(--tone-ink); }
.story-hero--plain .chip { background: #fff; }
.story .prose p.dropcap::first-letter { color: var(--tone-ink); }
.story .prose h2:not(.stop)::before { content: ""; display: block; width: 2.6rem; height: 5px; border-radius: 5px; background: var(--tone); margin-bottom: .55em; }
.story .prose h2.stop::before, .story .prose h3.stop::before { background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 25%, transparent); }
.prose ul li::marker, .prose ol li::marker { color: var(--tone-ink); }
.prose a:not(.btn):not(.lightbox):not(.chip):not(.share__btn) { text-decoration-color: var(--tone); }
.prose a:not(.btn):not(.lightbox):not(.chip):not(.share__btn):hover { color: var(--tone-ink); }
.prose blockquote { border-left-color: var(--tone); }
.prose blockquote cite { color: var(--tone-ink); }
.prose hr::before { color: var(--tone-ink); }
.toc a:hover, .toc a.is-active, .toc a.is-active::before { color: var(--tone-ink); }
.toc summary { color: var(--tone-ink); }
.story-main.has-toc .toc__box { border-left-color: var(--tone); }
.review { background: linear-gradient(180deg, var(--t-sun), #fff 70%); border-color: #f5dfa6; }
.review::before { background: var(--c-sunset); color: var(--c-ink); }
.review .ratings li { border-bottom-color: #f0dca8; }
.stars::before { background-image: linear-gradient(90deg, var(--c-sunset) calc(var(--v) * 20%), #ead9b8 0); }
.proscons { background: var(--t-sky); }
.proscons .pros { background: var(--t-green); border-color: var(--c-green); }
.proscons .cons { background: var(--t-coral); border-color: var(--c-coral); }
.proscons .pros li::before { color: var(--c-green-ink); }
.proscons .cons li::before { color: var(--c-coral-ink); }
.note { background: var(--t-sun); border-color: #f3d48a; }
.note::before { background: var(--c-sun); }
.share { background: var(--tone-tint); }
.share__label { color: var(--tone-ink); }
.story-foot__tags .chip:hover { background: var(--tone); color: var(--tone-on); border-color: var(--tone); }
.video-play::after { background-color: var(--c-red); }

/* ---------- hub consigli ---------- */
.tips-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  background: radial-gradient(circle at 85% 20%, rgb(255 197 61 / .55), transparent 40%), radial-gradient(circle at 0% 110%, rgb(15 163 177 / .18), transparent 45%), var(--t-sun); }
.tips-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.tips-hero .breadcrumbs { margin-bottom: 2rem; }
.tips-hero .eyebrow { color: var(--c-sunset-ink); }
.tips-hero__title { margin-top: .6rem; font-size: clamp(3rem, 1.5rem + 6vw, 7rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.05; }
.tips-hero__title em { font-style: italic; font-weight: 600; color: var(--c-coral-ink); }
.tips-hero__lead { margin-top: 1.4rem; max-width: 36rem; font-size: 1.18rem; color: var(--c-ink-2); }
.tips-hero__facts { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin-top: 1.6rem; }
.tips-hero__facts li { background: #fff; border-radius: 999px; padding: .45rem 1rem; font-size: .9rem; box-shadow: var(--shadow-s); }
.tips-hero__facts strong { font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-ocean); margin-right: .2rem; }
.tips-hero__jump { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.6rem; }
.tips-hero__jump a { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--c-turquoise); padding-bottom: .1rem; }
.tips-hero__jump a:hover { color: var(--c-turquoise-ink); }
.tips-hero__art { position: relative; justify-self: center; width: min(24rem, 90%); min-height: 18rem; }
.tips-hero__art img { position: relative; z-index: 2; width: 62%; margin-left: auto; filter: drop-shadow(0 18px 24px rgb(22 20 18 / .25)); }
.tips-hero__note { position: absolute; left: 0; top: 8%; z-index: 1; width: 13rem; background: #fff; padding: 1rem 1.2rem 1.2rem; border-radius: 4px; box-shadow: var(--shadow-l); transform: rotate(-6deg);
  background-image: repeating-linear-gradient(transparent 0 1.9rem, #e3f0f5 1.9rem calc(1.9rem + 1px)); background-position: 0 2.6rem; }
.tips-hero__note::before { content: ""; position: absolute; top: -.7rem; left: 50%; width: 4.5rem; height: 1.4rem; margin-left: -2.25rem; background: rgb(15 163 177 / .45); transform: rotate(3deg); }
.tips-hero__note .hand { font-size: 1.6rem; color: var(--c-coral-ink); margin-bottom: .3rem; }
.tips-hero__note ul { list-style: none; font-family: var(--f-hand); font-size: 1.45rem; line-height: 1.9rem; color: var(--c-ink-2); }
.tips-hero__note li::before { content: "☐ "; color: var(--c-turquoise-ink); }
.tips-hero__note li.is-done { text-decoration: line-through; text-decoration-color: var(--c-coral); color: var(--c-muted); }
.tips-hero__note li.is-done::before { content: "☑ "; }
@media (min-width: 900px) { .tips-hero__grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; } .tips-hero__art { min-height: 24rem; } }

.topics { background: #fff; }
.topics__grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 620px) { .topics__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .topics__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1300px) { .topics__grid { grid-template-columns: repeat(4, 1fr); } }
.topic__link {
  position: relative; display: flex; flex-direction: column; gap: .45rem; height: 100%;
  padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--radius-l); text-decoration: none;
  background: var(--tone-tint); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
  transition: transform .3s var(--ease), box-shadow .3s, background-color .3s;
}
.topic__link:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px color-mix(in srgb, var(--tone) 80%, black); background: #fff; }
.topic__icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 1rem; background: var(--tone); color: var(--tone-on); margin-bottom: .5rem; transition: transform .35s var(--ease); }
.topic__link:hover .topic__icon { transform: rotate(-6deg) scale(1.06); }
.topic__count { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tone-ink); }
.topic__name { font-size: 1.55rem; font-weight: 700; letter-spacing: -.01em; }
.topic__text { color: var(--c-ink-2); font-size: .97rem; }
.topic__list { margin-top: auto; padding-top: .7rem; font-size: .85rem; color: var(--c-muted); border-top: 1px dashed color-mix(in srgb, var(--tone) 40%, transparent); }
.topic__go { position: absolute; right: 1.3rem; top: 1.4rem; font-size: 1.3rem; color: var(--tone-ink); transition: transform .25s var(--ease); }
.topic__link:hover .topic__go { transform: translateX(4px); }

.guides { background: var(--t-turquoise); }
.guides .eyebrow { color: var(--c-turquoise-ink); }
.guides__grid { display: grid; gap: 1.25rem; }
.guides__side { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) {
  .guides__grid { grid-template-columns: 1.5fr 1fr; }
  .guides__grid .card--feature .card__link { min-height: 34rem; height: 100%; }
  .guides__side .card--overlay, .guides__side .card--overlay .card__link { min-height: 0; height: 100%; }
}

.checklists { background: #fff; }
.checklists .eyebrow { color: var(--c-green-ink); }
.checklists__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .checklists__grid { grid-template-columns: repeat(3, 1fr); } }
.checklist { --tone: var(--c-sunset); --tone-ink: var(--c-sunset-ink); --tone-tint: #fff0e4; display: flex; flex-direction: column; border-radius: var(--radius-l); background: var(--tone-tint); padding: 1.6rem; border-top: 6px solid var(--tone); }
.checklist:nth-child(2) { --tone: var(--c-ocean); --tone-ink: var(--c-ocean); --tone-tint: var(--t-sky); }
.checklist:nth-child(3) { --tone: var(--c-green); --tone-ink: var(--c-green-ink); --tone-tint: var(--t-green); }
.checklist__head .hand { font-size: 1.5rem; color: var(--tone-ink); }
.checklist__head h3 { font-size: 1.7rem; margin-top: .15rem; }
.checklist__progress { margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--c-ink-2); }
.checklist__bar { height: 6px; border-radius: 6px; background: rgb(22 20 18 / .08); overflow: hidden; margin-top: .4rem; }
.checklist__bar span { display: block; height: 100%; background: var(--tone); transform-origin: left; transform: scaleX(0); transition: transform .4s var(--ease); }
.checklist ul { list-style: none; margin: 1.2rem 0; display: grid; gap: .15rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px dashed rgb(22 20 18 / .1); }
.checklist input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 1.4rem; height: 1.4rem; margin: .1rem 0 0;
  border: 2px solid var(--tone); border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s, transform .2s var(--ease);
}
.checklist input::after { content: ""; width: .4rem; height: .75rem; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform .2s var(--ease); }
.checklist input:checked { background: var(--tone); }
.checklist[data-checklist] li:nth-child(n) input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.checklist:first-child input:checked::after { border-color: var(--c-ink); }
.checklist input:active { transform: scale(.9); }
.checklist label { cursor: pointer; font-size: .97rem; line-height: 1.45; color: var(--c-ink); }
.checklist input:checked + label { color: var(--c-muted); text-decoration: line-through; text-decoration-color: var(--tone); }
.checklist__reset { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: .3rem 0; font-weight: 600; font-size: .88rem; color: var(--tone-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.checklist.is-complete .checklist__progress::after { content: " — buon viaggio! ✈"; color: var(--tone-ink); }

.tips-all { background: var(--t-sun); }
.tips-all .eyebrow { color: var(--c-sunset-ink); }
.tips-next { background: #fff; }
.tips-next__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .tips-next__grid { grid-template-columns: 1.4fr 1fr; } }
.next-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 22rem; border-radius: var(--radius-l); text-decoration: none; padding: clamp(1.5rem, 3vw, 2.5rem); transition: transform .35s var(--ease), box-shadow .35s; }
.next-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.next-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.next-card:hover .next-card__img { transform: scale(1.05); }
.next-card--photo { color: #fff; background: var(--c-ocean); }
.next-card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(12 62 79 / .92), rgb(12 62 79 / .2) 70%); }
.next-card--map { background: radial-gradient(circle at 80% 20%, rgb(91 192 235 / .5), transparent 50%), repeating-linear-gradient(0deg, transparent 0 31px, rgb(21 94 117 / .08) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgb(21 94 117 / .08) 31px 32px), var(--t-sky); color: var(--c-ink); }
.next-card__body { display: flex; flex-direction: column; gap: .5rem; max-width: 30rem; }
.next-card__body strong { font-family: var(--f-serif); font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); font-weight: 750; line-height: 1.05; letter-spacing: -.01em; }
.next-card__icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 1rem; background: var(--c-sun); color: var(--c-ink); margin-bottom: .4rem; }
.next-card--map .next-card__icon { background: var(--c-ocean); color: #fff; }
.next-card--map .eyebrow { color: var(--c-ocean); }
.next-card__cta { margin-top: .6rem; font-weight: 700; }
.next-card--photo .next-card__cta { color: var(--c-sun); }
.next-card--map .next-card__cta { color: var(--c-ocean); }

/* chi siamo / 404 un po' piu solari */
.about-hero { background: radial-gradient(circle at 80% 30%, rgb(255 197 61 / .45), transparent 45%), radial-gradient(circle at 10% 100%, rgb(255 90 95 / .18), transparent 45%), var(--t-sun); }
.about-hero__hello, .notfound__hand { color: var(--c-coral-ink); }
.about-hero__title em { color: var(--c-coral-ink); }
.notfound { background: radial-gradient(circle at 20% 30%, var(--t-sky), transparent 50%); }
.notfound__code { color: rgb(15 163 177 / .18); }
.tips::before { background: radial-gradient(circle closest-side, rgb(255 197 61 / .22), transparent); }
.card__placeholder { background: radial-gradient(circle at 25% 15%, color-mix(in srgb, var(--tone) 35%, transparent), transparent 60%), var(--tone-tint); }
.card__placeholder::before { content: ""; position: absolute; inset: 15%; background: url("../img/gabbiano.webp") center / contain no-repeat; opacity: .35; }
.card__placeholder span { display: none; }
/* consigli: sezioni numerate */
.story.is-tip .prose { counter-reset: tipsec; }
.story.is-tip .prose > h2 { counter-increment: tipsec; }
.story.is-tip .prose > h2:not(.stop)::before {
  content: counter(tipsec, decimal-leading-zero); width: auto; height: auto; background: none; border-radius: 0;
  font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: .7em; color: var(--tone-ink);
  display: block; margin-bottom: .2em; letter-spacing: 0;
}
.pager-story { background: var(--c-ocean); }
.tip-promo { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-l); background: var(--c-ocean); color: #fff; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.tip-promo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tip-promo strong { color: var(--c-sun); display: block; font-family: var(--f-serif); font-size: 1.2rem; }
.tip-promo__icon { flex-shrink: 0; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem; background: var(--c-sun); color: var(--c-ink); }
.tip-promo__go { margin-left: auto; font-size: 1.4rem; color: var(--c-sun); }
@media (max-width: 639px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .mosaic .card--feature { grid-column: 1 / -1; }
  .mosaic .card--feature .card__link { min-height: 24rem; }
  .mosaic .card--overlay, .mosaic .card--overlay .card__link { min-height: 14rem; }
  .mosaic .card--overlay .card__body { padding: 1rem .9rem; }
  .mosaic .card--overlay .card__title { font-size: 1.15rem; }
  .mosaic .card--overlay .card__meta span { display: none; }
  .tips__grid { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scrollbar-width: none; }
  .tips__grid > * { scroll-snap-align: start; }
}
.list-hero.list-hero--dest:not(.list-hero--photo), .list-hero.list-hero--search:not(.list-hero--photo) { background: radial-gradient(circle at 92% 0%, rgb(255 197 61 / .4), transparent 45%), radial-gradient(circle at 0% 100%, rgb(15 163 177 / .15), transparent 45%), var(--t-sun); }
.list-hero.list-hero--dest .eyebrow, .list-hero.list-hero--search .eyebrow { color: var(--c-sunset-ink); }
@media (max-width: 619px) {
  .topics__grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .topic__link { padding: 1.1rem 1rem; border-radius: var(--radius); }
  .topic__text, .topic__list, .topic__go { display: none; }
  .topic__icon { width: 2.8rem; height: 2.8rem; }
  .topic__name { font-size: 1.2rem; }
  .tips-hero__art { min-height: 13rem; width: min(20rem, 90%); }
  .tips-hero__note { width: 11rem; }
  .tips-hero__art img { width: 52%; }
}

/* ==================================================================
 * HOME — hero disegnato con collage di polaroid
 * ================================================================== */
.btn--white { --bg: #fff; --fg: var(--c-ink); border-color: rgb(22 20 18 / .12); box-shadow: var(--shadow-s); }
.btn--white:hover { --bg: var(--c-ink); --fg: #fff; border-color: var(--c-ink); }
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(155deg, #fff8e6 0%, #ffeccc 38%, #ffdcc4 70%, #ffd2cf 100%);
}
.home-hero::after {
  /* grana leggera */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.home-hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .7; }
.blob--sun { width: 34rem; height: 34rem; left: -10rem; top: -12rem; background: var(--c-sun); opacity: .55; }
.blob--turquoise { width: 30rem; height: 26rem; right: -6rem; top: -8rem; background: var(--c-turquoise); opacity: .35; border-radius: 45% 55% 60% 40%; }
.blob--coral { width: 28rem; height: 24rem; right: 18%; bottom: -12rem; background: var(--c-coral); opacity: .4; }
.blob--sky { width: 20rem; height: 20rem; left: 30%; bottom: -10rem; background: var(--c-sky); opacity: .3; }
.home-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.home-hero__hello { display: inline-block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: var(--c-coral-ink); transform: rotate(-3deg); margin-bottom: .6rem; }
.home-hero__title {
  font-size: clamp(2.9rem, 1.4rem + 6.2vw, 6.6rem); font-weight: 800;
  letter-spacing: -.01em; line-height: 1.05; color: var(--c-ink);
}
.home-hero__title em {
  font-style: italic; font-weight: 600; white-space: nowrap;
  background: linear-gradient(95deg, var(--c-red) 10%, var(--c-sunset-ink) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.home-hero__lead { margin-top: 1.3rem; max-width: 32rem; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--c-ink-2); }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.home-hero__chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin-top: 1.6rem; }
.home-hero__chips .chip { background: rgb(255 255 255 / .75); border-color: color-mix(in srgb, var(--tone) 60%, transparent); }
.home-hero__chips .chip::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--tone); }
.home-hero__chips .chip:hover { background: var(--tone); color: var(--tone-on); }
.home-hero__chips .chip:hover::before { background: currentColor; }
.home-hero__nums { margin-top: 1.2rem; font-size: .95rem; color: var(--c-ink-2); }
.home-hero__nums strong { font-family: var(--f-serif); font-size: 1.25rem; color: var(--c-ink); }

/* collage */
.collage { position: relative; width: 100%; max-width: 40rem; justify-self: center; aspect-ratio: 1 / .92; }
.collage__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.collage__route-line { fill: none; stroke: var(--c-red); stroke-width: 2.2; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .75; }
.collage__route-mask { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 0; }
.collage__plane { position: absolute; right: 2%; top: 1%; width: 2.6rem; height: 2.6rem; fill: var(--c-red); transform: rotate(18deg); z-index: 3; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .2)); }
.polaroid-link { position: absolute; display: block; z-index: 1; text-decoration: none; color: var(--c-ink-2);
  transform: rotate(var(--r, 0deg)); transition: transform .45s var(--ease), z-index 0s .2s; }
.polaroid-link:hover, .polaroid-link:focus-visible { transform: rotate(0deg) scale(1.08); z-index: 10; transition: transform .45s var(--ease), z-index 0s; }
.pol { background: #fff; padding: 4.5% 4.5% 0; border-radius: 3px; box-shadow: 0 2px 4px rgb(22 20 18 / .08), 0 18px 34px -14px rgb(22 20 18 / .45); }
.pol img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1px; }
.pol figcaption { font-size: clamp(1rem, .8rem + .6vw, 1.45rem); text-align: center; padding: .35em .2em .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-1 { left: 0; top: 6%; width: 39%; --r: -7deg; }
.pl-2 { left: 41%; top: 0; width: 33%; --r: 5deg; z-index: 2; }
.pl-3 { left: 25%; top: 39%; width: 35%; --r: -2deg; z-index: 3; }
.pl-4 { left: 69%; top: 30%; width: 31%; --r: 8deg; z-index: 2; }
.pl-5 { left: 1%; top: 58%; width: 29%; --r: 5deg; z-index: 2; }
.pl-6 { left: 60%; top: 64%; width: 32%; --r: -6deg; z-index: 4; }
.collage__seagull { position: absolute; width: 23%; left: 33%; bottom: -9%; z-index: 6; transform: rotate(-8deg); filter: drop-shadow(0 12px 14px rgb(22 20 18 / .3)); pointer-events: none; }
.just-out {
  position: absolute; z-index: 7; right: -1%; bottom: -6%; display: flex; gap: .8rem; align-items: center;
  max-width: 19rem; padding: .6rem .9rem .6rem .6rem; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--c-ink);
  border-left: 5px solid var(--c-turquoise); transition: transform .25s var(--ease), box-shadow .25s;
}
.just-out:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.just-out__img { width: 3.6rem; height: 3.6rem; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.just-out__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.just-out__label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-turquoise-ink); }
.just-out strong { font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.just-out time { font-size: .78rem; color: var(--c-muted); }

@media (min-width: 1000px) {
  .home-hero { min-height: min(calc(100svh - var(--header-h)), 54rem); display: flex; align-items: center; }
  .home-hero > .wrap { width: min(var(--w-max), 100% - 2 * var(--gutter)); }
  .home-hero__grid { grid-template-columns: 1fr 1.08fr; gap: 3rem; }
}
@media (max-width: 999px) {
  .collage { max-width: 34rem; margin-top: 1rem; }
}
@media (max-width: 600px) {
  .collage { aspect-ratio: 1 / .95; margin-bottom: 4.5rem; }
  .pl-5, .pl-6 { display: none; }
  .pl-1 { left: 0; top: 4%; width: 46%; }
  .pl-2 { left: 50%; top: 0; width: 44%; }
  .pl-3 { left: 6%; top: 47%; width: 44%; }
  .pl-4 { left: 52%; top: 44%; width: 42%; }
  .collage__seagull { width: 26%; left: 38%; bottom: -4%; }
  .collage__plane { width: 2rem; height: 2rem; right: 0; top: -4%; }
  .just-out { left: 0; right: 0; bottom: -4.2rem; max-width: none; }
  .home-hero__actions .btn--lg { padding: .85rem 1.2rem; font-size: .95rem; }
}

/* ingresso: polaroid che cadono e rotta che si disegna (solo se il movimento e consentito) */
@media (prefers-reduced-motion: no-preference) {
  .hero-anim .polaroid-link { animation: pol-drop .7s var(--ease) backwards; animation-delay: calc(var(--i) * 80ms); }
  @keyframes pol-drop { from { opacity: 0; transform: translateY(-36px) rotate(calc(var(--r, 0deg) - 12deg)) scale(1.06); } }
  .hero-anim .collage__route-mask { animation: route-draw 1.4s .35s ease-out backwards; }
  @keyframes route-draw { from { stroke-dashoffset: 1; } }
  .hero-anim .collage__plane { animation: plane-in 1s .9s var(--ease) backwards; }
  @keyframes plane-in { from { opacity: 0; transform: translate(-30px, 20px) rotate(18deg); } }
}
.home-hero__title span { display: block; }
.home-hero__title { font-size: clamp(2.9rem, 1.4rem + 5.6vw, 6rem); }
.pl-1 { width: 38%; top: 5%; }
.pl-3 { left: 30%; top: 43%; }
.pl-4 { top: 22%; }
.pl-6 { top: 67%; left: 63%; width: 31%; }
.just-out { position: relative; right: auto; bottom: auto; margin-top: 1.6rem; max-width: 24rem; }
@media (max-width: 600px) {
  .collage { margin-bottom: 1rem; }
  .just-out { left: auto; right: auto; bottom: auto; }
}

/* ==================================================================
 * TIPOGRAFIA NUNITO (titoli arrotondati) — pesi e interlinee
 * ================================================================== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: 0; }
.home-hero__title, .list-hero__title, .story-hero__title, .about-hero__title, .tips-hero__title, .wordmark { font-weight: 900; line-height: 1.05; letter-spacing: -.01em; }
.section-title, .notfound__title, .card--feature .card__title, .continent__name, .country__name, .next-card__body strong { font-weight: 900; line-height: 1.08; }
.intro__title { font-weight: 800; line-height: 1.15; }
.card__title, .topic__name, .prose h2, .mobile-menu nav a { font-weight: 800; }
.prose h3, .hero__strip span, .just-out strong { font-weight: 800; }
.stats dd, .home-hero__nums strong { font-weight: 900; letter-spacing: 0; }
/* corsivi colorati: Nunito italic */
.section-title em, .intro__title em, .list-hero__title em, .about-hero__title em, .tips-hero__title em, .home-hero__title em, .wordmark em { font-style: italic; font-weight: 900; }
.prose p.dropcap::first-letter { font-weight: 900; line-height: .8; margin-top: .04em; }
.prose blockquote { font-weight: 600; }
.continent-block__num { font-weight: 800; }
.prose ol li::marker { font-weight: 800; }
@media (max-width: 600px) {
  .home-hero { padding-top: 1.5rem; }
  .home-hero__grid { gap: 0; }
  .home-hero__text { display: contents; }
  .home-hero__chips { display: none; }
  .home-hero__actions { margin-top: 1.4rem; gap: .5rem; }
  .home-hero__actions .btn--lg { padding: .75rem 1rem; font-size: .92rem; }
  .collage { order: 2; margin-top: 2rem; }
  .just-out { order: 3; margin-top: 1.8rem; }
}
@media (max-width: 600px) {
  .collage { aspect-ratio: 1 / 1.08; }
  .pl-1 { left: 0; top: 5%; width: 47%; }
  .pl-2 { left: 51%; top: 0; width: 45%; }
  .pl-3 { left: 4%; top: 52%; width: 45%; z-index: 3; }
  .pl-4 { left: 52%; top: 47%; width: 44%; z-index: 2; }
  .collage__seagull { width: 24%; left: auto; right: -3%; bottom: -8%; transform: rotate(6deg); }
  .collage__plane { right: 40%; top: -7%; }
}

/* ------------------------------------------------------------------ scheda prodotto (link affiliati) */
.prose > .product-card { grid-column: wide; }
.product-card {
  display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: clamp(1rem, 3vw, 1.75rem); align-items: center;
  margin-block: 2.2em; padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s); position: relative; overflow: hidden;
}
.product-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--g-sunset); }
.product-card--noimg { grid-template-columns: 1fr; }
.product-card__media { display: block; aspect-ratio: 1; border-radius: var(--radius); background: var(--c-paper-2); overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.product-card__media:hover .product-card__img { transform: scale(1.05); }
.product-card__body { min-width: 0; }
.prose .product-card p { margin: 0; }
.product-card__kicker { font: 700 .72rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tone-ink); }
.product-card__title { font: 800 clamp(1.02rem, 2vw, 1.2rem)/1.3 var(--f-display); margin-top: .45rem !important; }
.prose .product-card__title a { color: var(--c-ink); text-decoration: none; }
.prose .product-card__title a:hover { color: var(--tone-ink); }
.product-card__note { color: var(--c-ink-2); font-size: .95rem; line-height: 1.55; white-space: pre-line; margin-top: .45rem !important; }
.product-card__buy { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-top: 1rem; }
.product-card__price { font: 900 1.6rem/1 var(--f-display); color: var(--c-ink); }
.prose a.btn.product-card__btn { --bg: var(--c-sun); --fg: var(--c-ink); color: var(--fg); text-decoration: none; }
.prose a.btn.product-card__btn:hover { --bg: var(--c-sunset); color: var(--fg); }
.product-card__fine { margin-top: .8rem !important; font-size: .74rem; line-height: 1.45; color: var(--c-muted); }
@media (max-width: 30rem) {
  .product-card { grid-template-columns: 6.5rem 1fr; align-items: start; }
  .product-card__price { font-size: 1.35rem; }
  .product-card__buy .btn { width: 100%; }
}
/* piu prodotti di fila: griglia di schede verticali */
.prose > .product-grid { grid-column: wide; display: grid; gap: 1rem; margin-block: 2.2em; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.product-grid .product-card { margin: 0; grid-template-columns: 1fr; align-content: start; align-items: start; text-align: left; padding: 1rem; }
.product-grid .product-card__media { aspect-ratio: 4 / 3; }
.product-grid .product-card__title { font-size: .98rem; }
.product-grid .product-card__note { font-size: .88rem; }
.product-grid .product-card__price { font-size: 1.3rem; }
.product-grid .product-card__buy { margin-top: .8rem; }
.product-grid .product-card__buy .btn { padding: .65rem 1.1rem; font-size: .92rem; }
.product-grid .product-card__body { display: flex; flex-direction: column; height: 100%; }
.product-grid .product-card__fine { margin-top: auto !important; padding-top: .7rem; }
.product-grid .product-card::before { inset: 0 0 auto 0; width: auto; height: 5px; }
@media (max-width: 30rem) {
  .prose > .product-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .product-grid .product-card { padding: .7rem; }
  .product-grid .product-card__kicker { display: none; }
  .product-grid .product-card__note { font-size: .8rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .product-grid .product-card__title { font-size: .86rem; margin-top: 0 !important; }
  .product-grid .product-card__buy .btn { width: 100%; padding: .55rem .5rem; font-size: .8rem; white-space: nowrap; gap: .3rem; }
}
.prose > .product-grid + .product-grid__fine { grid-column: wide; margin-top: -1.4em; font-size: .74rem; line-height: 1.45; color: var(--c-muted); }

/* ------------------------------------------------------------------ dati legali footer */
.site-footer__bottom p + .site-footer__legal { padding-top: 0; margin-top: -.6rem; }
.site-footer__legal a, .site-footer .linklike { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__links { display: inline-block; margin-left: .4rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__cols .linklike { text-decoration: none; }
.site-footer__cols .linklike:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ banner cookie */
.consent {
  position: fixed; z-index: 90; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(40rem, calc(100% - 2rem)); transform: translate(-50%, 1.5rem); opacity: 0;
  background: var(--c-white); color: var(--c-ink); border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  padding: 1.3rem 1.4rem 1.2rem; border-top: 6px solid var(--c-sun);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.consent.is-open { transform: translate(-50%, 0); opacity: 1; }
.consent__x { position: absolute; top: .5rem; right: .6rem; width: 2.4rem; height: 2.4rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--c-muted); cursor: pointer; border-radius: 50%; }
.consent__x:hover { background: var(--c-paper-2); color: var(--c-ink); }
.consent__title { font: 900 1.2rem/1.2 var(--f-display); margin: 0 2rem .4rem 0; }
.consent__text { font-size: .92rem; line-height: 1.55; color: var(--c-ink-2); margin: 0; }
.consent__text a { color: var(--c-red); }
.consent__prefs { display: grid; gap: .6rem; margin-top: 1rem; padding: .9rem; background: var(--c-paper); border-radius: var(--radius); }
.consent__opt { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.consent__opt input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; accent-color: var(--c-red); flex: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; justify-content: flex-end; }
.consent__actions .btn { padding: .65rem 1.2rem; font-size: .92rem; }
@media (max-width: 30rem) { .consent__actions .btn { flex: 1 1 40%; } }

/* video senza consenso: niente anteprima di Google, solo avviso */
.video--blocked .video-play { background: var(--g-sunset) !important; }
.video-consent { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem 1rem; font-size: .78rem; line-height: 1.4; color: #fff; background: rgb(14 12 10 / .55); pointer-events: none; display: none; }
.video--blocked .video-consent { display: block; }
.video-consent { z-index: 2; }
.consent [hidden] { display: none !important; }
.product-card__price--na { font: 700 .95rem var(--f-sans); color: var(--c-muted); }
