/* Font ospitati sul sito (licenza SIL OFL): nessuna richiesta a Google, a norma GDPR */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/great-vibes-latin-400-normal.woff2') format('woff2'); }
/* ================================================================
   MICHELE & [NOME SPOSA] — FOGLIO DI STILE
   ================================================================
   Tutto il "sistema" del sito (colori, font, spaziature) è definito
   qui sotto nelle variabili :root. Per cambiare la palette o i font
   basta modificare queste righe: il resto del CSS si aggiorna da solo.
   ================================================================ */

:root {
  /* ---- MODIFICA QUI: palette colori ---- */
  --c-ivory:        #FBF6EF;   /* sfondo principale, caldo avorio */
  --c-cream:        #F3EAE0;   /* sfondo alternato, sezioni chiare */
  --c-lilac-pale:   #E3E1F5;   /* indaco tenue, sfondi decorativi */
  --c-lilac:        #9B93D9;   /* indaco lavanda, accenti */
  --c-lilac-deep:   #5A54A6;   /* indaco intenso, titoli/link */
  --c-plum:         #2B2A54;   /* indaco scurissimo, testo e sezioni notte */
  --c-plum-soft:    #403C7A;
  --c-gold:         #C9A961;   /* oro candelabro */
  --c-gold-light:   #E9D9AC;
  --c-ink:          #2B2A54;   /* colore testo principale */
  --c-white:        #FFFFFF;

  /* ---- MODIFICA QUI: font ---- */
  --f-display: 'Cormorant Garamond', 'Georgia', serif;
  --f-body:    'EB Garamond', 'Georgia', serif;
  --f-script:  'Great Vibes', cursive;

  --radius: 4px;
  --shadow-soft: 0 20px 45px -20px rgba(43, 42, 84, 0.35);
  --max-width: 1180px;
}

/* ---------------------------------------------------------------
   RESET DI BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-ivory);
  font-size: 22px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; margin: 0; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.amp { font-family: var(--f-script); font-weight: 400; padding: 0 0.08em; }

/* Etichette piccole maiuscole-spaziate, usate sopra ogni titolo di sezione */
.eyebrow {
  font-family: var(--f-body);
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--c-lilac-deep);
  margin: 0 0 0.9rem;
}
.eyebrow--light { color: var(--c-gold-light); }

/* ---------------------------------------------------------------
   HEADER / NAVIGAZIONE
--------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(43, 42, 84, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
}
.monogram {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--c-white);
  text-decoration: none;
}
.monogram__amp { font-family: var(--f-script); color: var(--c-gold-light); padding: 0 0.15em; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(43, 42, 84, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  padding: 8px;
  z-index: 51;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.45);
  transition: background 0.25s ease;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] {
  background: var(--c-plum);
  border-color: var(--c-gold-light);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav ul { display: flex; gap: 1.8rem; }
.primary-nav a {
  color: var(--c-white);
  text-decoration: none;
  font-size: 1.31rem;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 2px;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--c-gold-light);
  transition: right 0.25s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { right: 0; }

/* Menu mobile a comparsa */
@media (max-width: 860px) {
  .site-header {
    /* Il backdrop-filter sull'header creerebbe un "contenitore" per gli
       elementi position:fixed al suo interno (come il menu qui sotto),
       schiacciandolo nell'altezza della sola barra invece di coprire
       tutto lo schermo. Lo togliamo solo qui, dove il menu è a schermo intero. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 0;
    background: var(--c-plum);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 5rem 1.5rem 3rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    text-align: center;
    width: 100%;
  }
  .primary-nav a {
    display: block;
    font-size: 1.57rem;
    font-family: var(--f-display);
    padding: 0.5rem 0;
  }
}
@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

/* Evidenzia il link della sezione visibile */
.primary-nav a.is-active::after { right: 0; }

/* ---------------------------------------------------------------
   HERO / HOME
--------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--c-white);
  background-color: var(--c-plum);
}
.hero::before {
  /* MODIFICA QUI: la vera foto degli sposi.
     C'è già un'immagine segnaposto in /images/hero-sposi.jpg: ti basta
     sostituire quel file con la vostra foto (stesso nome) perché cambi
     da solo, senza bisogno di toccare questo CSS.
     L'opacità è tenuta leggermente ridotta (invece che a piena intensità)
     così il testo sopra resta sempre ben leggibile: per un contrasto
     ancora più forte, abbassa il valore di opacity qui sotto.
  */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/hero-sposi.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 42, 84,0.6) 0%, rgba(43, 42, 84,0.45) 40%, rgba(43, 42, 84,0.8) 100%);
}
.hero__petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  top: -5%;
  width: 14px;
  height: 14px;
  background: var(--c-lilac);
  opacity: 0.75;
  border-radius: 70% 30% 65% 35% / 60% 40% 60% 40%;
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(110vh) translateX(var(--drift, 40px)) rotate(300deg); }
}

.hero__content { position: relative; z-index: 2; max-width: 640px; padding: 6.5rem 1.5rem 3rem; }
.hero__title {
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero__script {
  font-family: var(--f-script);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--c-gold-light);
  margin-bottom: 2rem;
}

.save-the-date {
  border-top: 1px solid rgba(233,217,172,0.5);
  border-bottom: 1px solid rgba(233,217,172,0.5);
  padding: 1.1rem 0;
  margin-bottom: 2rem;
}
.save-the-date__label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 1.02rem;
  color: var(--c-gold-light);
  margin-bottom: 0.4rem;
}
.save-the-date__date {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  letter-spacing: 0.04em;
}

.countdown { display: flex; justify-content: center; gap: clamp(0.7rem, 4vw, 1.6rem); margin-bottom: 2.6rem; }
.countdown__item { display: flex; flex-direction: column; align-items: center; min-width: 3.4rem; }
.countdown__num { font-family: var(--f-display); font-size: clamp(1.6rem, 5vw, 2.3rem); font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 1.0rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-lilac-pale); }

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-white);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.scroll-cue__line { width: 1px; height: 32px; background: var(--c-gold-light); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0%,100% { transform: scaleY(1); opacity: 0.5; } 50% { transform: scaleY(0.5); opacity: 1; } }

/* ---------------------------------------------------------------
   DIVISORE ORNAMENTALE — elemento firma del sito
   Un piccolo "candelabro con ortensie" disegnato in CSS puro,
   ripetuto fra ogni sezione come filo conduttore fiabesco.
--------------------------------------------------------------- */
.divider {
  position: relative;
  height: 84px;
  margin: 0 auto;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold) 20%, var(--c-gold) 80%, transparent);
}
.divider::after {
  content: "✦";
  position: relative;
  background: var(--c-ivory);
  padding: 0 1.1rem;
  color: var(--c-gold);
  font-size: 1.28rem;
}

/* ---------------------------------------------------------------
   STRUTTURA GENERALE DELLE SEZIONI
--------------------------------------------------------------- */
.section { padding: 5rem 1.25rem; }
.section__inner { max-width: var(--max-width); margin: 0 auto; }
.section__inner--narrow { max-width: 620px; text-align: center; }
.section__title { font-size: clamp(2.2rem, 5vw, 3.05rem); margin-bottom: 1.4rem; color: var(--c-plum); }
.section__intro { max-width: 640px; font-size: 1.39rem; color: var(--c-plum-soft); }

.section--story { background: var(--c-cream); }
.section--reception { background: var(--c-cream); }
.section--rsvp { background: var(--c-lilac-pale); text-align: center; }
.section--rsvp .section__intro { margin: 0 auto; }

/* Reveal all'ingresso in viewport (gestito in JS con IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   LA NOSTRA STORIA
--------------------------------------------------------------- */
.story-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.story-text p { font-size: 1.39rem; }
.story-text cite { font-style: italic; color: var(--c-lilac-deep); }

.story-quote {
  margin: 1.8rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--c-gold);
  background: var(--c-lilac-pale);
  border-radius: var(--radius);
}
.story-quote p {
  font-family: var(--f-script);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--c-lilac-deep);
  margin: 0;
  line-height: 1.35;
}

.story-media { margin: 0; }
.story-video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--c-plum);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.meet-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--c-plum);
}
.img-fallback--basket { background: linear-gradient(160deg, #e9d9ac, #c9a961 60%, #5A54A6); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.img-fallback--basket .meet-photo { opacity: 0; aspect-ratio: 4/3; }

.story-media figcaption {
  margin-top: 0.7rem;
  font-size: 1.22rem;
  font-style: italic;
  color: var(--c-plum-soft);
  text-align: center;
}

/* ---------------------------------------------------------------
   VENUE — CHIESA / VILLA
--------------------------------------------------------------- */
.venue-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.venue-layout--reverse .venue-media { order: 2; }
.venue-layout--reverse .venue-text { order: 1; }

.venue-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  position: relative;
}
.venue-media img { width: 100%; height: 100%; object-fit: cover; }
.venue-media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 1rem;
  font-size: 1.18rem;
  color: var(--c-white);
  background: linear-gradient(0deg, rgba(43, 42, 84,0.75), transparent);
}

.venue-text h3 { font-size: 1.85rem; color: var(--c-plum); margin-bottom: 0.2rem; }

.venue-cta {
  margin-top: 2.2rem;
  text-align: center;
}
.venue-text p { color: var(--c-plum-soft); font-size: 1.33rem; }
.venue-time { font-style: italic; color: var(--c-lilac-deep); font-size: 1.33rem; }

.btn {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn--outline {
  border: 1px solid var(--c-lilac-deep);
  color: var(--c-lilac-deep);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--c-lilac-deep);
  color: var(--c-white);
}

.btn--solid {
  background: var(--c-gold);
  color: var(--c-plum);
  font-size: 1.34rem;
  padding: 0.85rem 2.2rem;
  margin-top: 1.4rem;
  box-shadow: 0 10px 25px -12px rgba(43, 42, 84,0.5);
}
.btn--solid:hover, .btn--solid:focus-visible {
  background: var(--c-gold-light);
}

/* Immagini non ancora caricate: illustrazione di riserva a gradiente,
   una diversa per ciascun luogo, cosi la pagina resta bella da subito */
.img-fallback--church img,
.img-fallback--villa img,
.img-fallback--la img,
.img-fallback--canyon img,
.img-fallback--yosemite img,
.img-fallback--universal img,
.img-fallback--maui img { opacity: 0; }

.img-fallback--church { background: radial-gradient(circle at 30% 30%, #efe1c2, #c9a961 70%); }
.img-fallback--villa   { background: radial-gradient(circle at 70% 30%, #E3E1F5, #5A54A6 75%); }
.img-fallback--la      { background: linear-gradient(160deg, #f0b98d, #a65f7b 70%, #403C7A); }
.img-fallback--canyon  { background: linear-gradient(160deg, #e3a469, #b5602f 70%, #6b3418); }
.img-fallback--yosemite{ background: linear-gradient(160deg, #b7d9a8, #4f7a5a 70%, #2c4432); }
.img-fallback--universal{ background: linear-gradient(160deg, #5A54A6, #403C7A 70%, #1A1A3A); }
.img-fallback--maui    { background: linear-gradient(160deg, #8fd9d0, #2a8fa0 70%, #123b4a); }

/* ---------------------------------------------------------------
   NOTA DI VICINANZA TRA I DUE LUOGHI
--------------------------------------------------------------- */
.proximity-note { background: var(--c-plum); color: var(--c-white); }
.proximity-note__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.6rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.proximity-note__icon { color: var(--c-gold-light); font-size: 1.39rem; }
.proximity-note p { margin: 0; font-size: 1.28rem; }
.proximity-note__link {
  color: var(--c-gold-light);
  text-decoration: none;
  font-style: italic;
  border-bottom: 1px solid transparent;
}
.proximity-note__link:hover, .proximity-note__link:focus-visible { border-color: var(--c-gold-light); }

/* ---------------------------------------------------------------
   REGALO DI NOZZE
--------------------------------------------------------------- */
.section--gift {
  background: var(--c-plum);
  color: var(--c-white);
  text-align: center;
}
.section--gift .section__title { color: var(--c-white); }
.section--gift .section__intro { color: var(--c-lilac-pale); margin: 0 auto 2.5rem; }

.gift-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-gold);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: left;
}
.gift-card__details { margin: 0; }
.gift-card__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(233,217,172,0.25);
}
.gift-card__row:last-child { border-bottom: none; }
.gift-card__row dt { color: var(--c-gold-light); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.1em; }
.gift-card__row dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.33rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.gift-card__row dd code {
  font-family: var(--f-body);
  letter-spacing: 0.05em;
  font-size: 1.28rem;
  background: none;
}

.copy-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--c-gold-light);
  background: transparent;
  color: var(--c-gold-light);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.copy-btn:hover, .copy-btn:focus-visible { background: var(--c-gold-light); color: var(--c-plum); }
.copy-btn.is-copied { background: var(--c-gold); color: var(--c-plum); border-color: var(--c-gold); }

.gift-card__thanks { margin: 1.6rem 0 0; font-family: var(--f-script); font-size: 1.4rem; color: var(--c-gold-light); text-align: center; }

@media (max-width: 600px) {
  .gift-card__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }
  .gift-card__row dd { justify-content: center; width: 100%; }
}

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.site-footer {
  background: #1A1A3A;
  color: var(--c-lilac-pale);
  text-align: center;
  padding: 2.4rem 1rem;
  font-size: 1.15rem;
}
.site-footer__monogram { font-family: var(--f-display); font-size: 1.4rem; color: var(--c-white); margin-bottom: 0.3rem; }

/* ---------------------------------------------------------------
   RESPONSIVE — smartphone first per i contenuti principali
--------------------------------------------------------------- */
@media (max-width: 780px) {
  body { font-size: 21px; }
  .section { padding: 3.6rem 1.1rem; }
  .story-layout,
  .venue-layout,
  .venue-layout--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .venue-layout--reverse .venue-media,
  .venue-layout--reverse .venue-text { order: initial; }
  .story-video { aspect-ratio: 9 / 14; }
}

@media (min-width: 1000px) {
  .hero__content { padding-top: 5rem; }
}

/* ================================================================
   STILE "REGENCY" — oro, rosa cipria, damascati e movimento
   ================================================================ */
:root {
  --c-blush:      #F3D9DC;
  --c-rose:       #C98A98;
  --c-powder:     #CFE3EE;
  --c-lagoon:     #2A8FA0;
  --c-lagoon-pale:#DDF0EE;
  --damask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C9A961' stroke-width='1' opacity='.55'%3E%3Cpath d='M60 8c10 14 22 20 22 34S70 62 60 62 38 56 38 42 50 22 60 8z'/%3E%3Cpath d='M60 112c-10-14-22-20-22-34S50 58 60 58s22 6 22 20-12 20-22 34z'/%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3Cpath d='M0 60c14-10 20-22 34-22M120 60c-14-10-20-22-34-22M0 60c14 10 20 22 34 22M120 60c-14 10-20 22-34 22'/%3E%3C/g%3E%3C/svg%3E");
}


/* titoli con filetto dorato */
.section__title::after {
  content: "";
  display: block;
  width: 96px;
  height: 2px;
  margin-top: 0.8rem;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}
.section__inner--narrow .section__title::after { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); }

/* divisore che brilla */
.divider::after {
  content: "✦";
  animation: twinkle 3.6s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(201,169,97,0.8);
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.75; }
  50%      { transform: scale(1.35) rotate(45deg); opacity: 1; }
}

/* ---------------- HERO ---------------- */
.hero::before { animation: heroZoom 28s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(233,217,172,0.35), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(243,217,220,0.22), transparent 50%);
  animation: candle 5s ease-in-out infinite alternate;
}
@keyframes candle { from { opacity: 0.65; } to { opacity: 1; } }
.hero__title .amp {
  background: linear-gradient(100deg, #E9D9AC 20%, #fff 45%, #C9A961 60%, #E9D9AC 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldShine 4.5s linear infinite;
}
@keyframes goldShine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.hero__content > * { animation: riseIn 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero__content > *:nth-child(2) { animation-delay: .15s; }
.hero__content > *:nth-child(3) { animation-delay: .3s; }
.hero__content > *:nth-child(4) { animation-delay: .45s; }
.hero__content > *:nth-child(5) { animation-delay: .6s; }
.hero__content > *:nth-child(6) { animation-delay: .75s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.petal--gold  { background: var(--c-gold-light); }
.petal--blush { background: var(--c-blush); }
.sparkle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(233,217,172,0.9);
  animation: sparkle 3.2s ease-in-out infinite;
}
@keyframes sparkle { 0%,100% { opacity: 0; transform: scale(0.4); } 50% { opacity: 1; transform: scale(1.4); } }

/* ---------------- CORNICI DORATE ANIMATE (foto) ---------------- */
.frame, .venue-media, .stop__media { position: relative; overflow: hidden; }
.frame { border-radius: var(--radius); box-shadow: var(--shadow-soft); outline: 1px solid var(--c-gold); outline-offset: 8px; }
.venue-media { outline: 1px solid var(--c-gold); outline-offset: 8px; }
.frame .meet-photo { box-shadow: none; border-radius: 0; height: 100%; transform: scale(1.14); animation: kenburns 20s ease-in-out infinite alternate; }
.venue-media img { transform: scale(1.14); animation: kenburns 22s ease-in-out infinite alternate; }
.venue-layout--reverse .venue-media img { animation-direction: alternate-reverse; }
@keyframes kenburns {
  from { transform: scale(1.1) translate(-1.5%, 1%); }
  to   { transform: scale(1.24) translate(1.5%, -1.5%); }
}
.frame::before, .venue-media::before {
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(233,217,172,0.85);
  box-shadow: inset 0 0 0 4px rgba(233,217,172,0.18);
}
.frame::after, .venue-media::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  animation: sweep 7s ease-in-out infinite;
}
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.venue-media figcaption { z-index: 4; }


.btn--outline, .btn--solid { position: relative; overflow: hidden; }
.btn--solid::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); animation: sweep 5s ease-in-out infinite;
}

/* ================================================================
   VIAGGIO DI NOZZE — percorso verticale pensato per smartphone
   ================================================================ */
.section--trip { background: linear-gradient(180deg, var(--c-ivory) 0%, #FBEFEF 55%, var(--c-ivory) 100%); }

.trip-stats {
  display: flex; justify-content: center; gap: clamp(1rem, 6vw, 3rem);
  margin: 2.2rem 0 2.8rem; padding: 1.1rem 0;
  border-top: 1px solid var(--c-gold); border-bottom: 1px solid var(--c-gold);
}
.trip-stats__item { display: flex; flex-direction: column; align-items: center; }
.trip-stats__num { font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1; color: var(--c-lilac-deep); }
.trip-stats__label { font-style: italic; letter-spacing: 0.16em; text-transform: uppercase; font-size: 1.0rem; color: var(--c-plum-soft); }

.journey { position: relative; max-width: 760px; margin: 0 auto; padding-left: 3.1rem; }
.journey__line {
  position: absolute; left: 1.05rem; top: 0; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(201,169,97,0.45) 0 6px, transparent 6px 12px);
}
.journey__fill {
  position: absolute; left: -1px; top: 0; width: 4px; height: var(--progress, 0px);
  background: linear-gradient(180deg, var(--c-gold), var(--c-rose));
  border-radius: 4px; box-shadow: 0 0 12px rgba(201,169,97,0.8);
}
.journey__fill::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: #fff; border: 3px solid var(--c-gold);
  box-shadow: 0 0 0 6px rgba(201,169,97,0.25), 0 0 18px rgba(201,169,97,0.9);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(201,169,97,0.05), 0 0 24px rgba(201,169,97,1); } }

/* biglietti aerei */
.ticket {
  position: relative; margin: 0 0 2.6rem; padding: 1.1rem 1rem 0.9rem;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6rem;
  background: var(--c-plum); color: #fff; border-radius: 10px;
  border: 1px solid var(--c-gold); box-shadow: var(--shadow-soft);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 56%; width: 18px; height: 18px; border-radius: 50%;
  background: #FBEFEF; border: 1px solid var(--c-gold);
}
.ticket::before { left: -10px; } .ticket::after { right: -10px; }
.ticket__side { display: flex; flex-direction: column; align-items: center; min-width: 4.4rem; text-align: center; }
.ticket__code { font-family: var(--f-display); font-size: 2.0rem; letter-spacing: 0.08em; color: var(--c-gold-light); line-height: 1; }
.ticket__city { font-size: 1.05rem; letter-spacing: 0.06em; opacity: 0.85; }
.ticket__path { position: relative; height: 24px; border-bottom: 2px dashed rgba(233,217,172,0.55); margin-bottom: 8px; overflow: visible; }
.ticket__plane { position: absolute; bottom: -13px; left: 0; font-size: 1.4rem; color: var(--c-gold-light); animation: fly 4.5s ease-in-out infinite; }
@keyframes fly { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 1.4rem); opacity: 0; } }
.ticket__meta {
  grid-column: 1 / -1; margin: 0.5rem 0 0; padding-top: 0.7rem; text-align: center;
  border-top: 1px dashed rgba(233,217,172,0.45);
  font-style: italic; letter-spacing: 0.06em; color: var(--c-gold-light); font-size: 1.25rem;
}
.ticket--pacific { background: linear-gradient(135deg, #1d5f73, var(--c-plum)); }

/* capitoli */
.chapter { margin: 0 0 2.2rem; }
.chapter__num {
  font-family: var(--f-display); font-size: 1.28rem; letter-spacing: 0.3em; color: var(--c-rose);
  display: inline-block; padding: 0.15rem 0.9rem; border: 1px solid var(--c-rose); border-radius: 999px;
}
.chapter__title { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.5rem, 11vw, 3.6rem); color: var(--c-lilac-deep); line-height: 1.1; margin: 0.4rem 0 0.1rem; }
.chapter__sub { margin: 0; font-style: italic; color: var(--c-plum-soft); font-size: 1.34rem; }
.chapter--lagoon .chapter__num { color: var(--c-lagoon); border-color: var(--c-lagoon); }
.chapter--lagoon .chapter__title { color: var(--c-lagoon); }

/* tappe */
.stop { position: relative; margin-bottom: 2.4rem; }
.stop__node {
  position: absolute; left: -3.1rem; top: 1.2rem; width: 2.1rem; height: 2.1rem; margin-left: 0.0rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 600; font-size: 1.28rem; color: var(--c-plum);
  background: var(--c-ivory); border: 2px solid var(--c-gold); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--c-ivory); z-index: 2; transition: all .5s ease;
}
.stop.is-current .stop__node { background: var(--c-gold); color: #fff; transform: scale(1.22); box-shadow: 0 0 0 4px var(--c-ivory), 0 0 18px rgba(201,169,97,0.9); }
.stop--lagoon .stop__node { border-color: var(--c-lagoon); }
.stop--lagoon.is-current .stop__node { background: var(--c-lagoon); box-shadow: 0 0 0 4px var(--c-ivory), 0 0 18px rgba(42,143,160,0.8); }

.stop__card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(201,169,97,0.55);
  box-shadow: 0 22px 40px -24px rgba(43,42,84,0.5);
}
.stop__media { margin: 0; aspect-ratio: 16 / 10; background: var(--c-plum); }
.stop__media > img:not(.stop__polaroid) { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 16s ease-in-out infinite alternate; position: relative; z-index: 1; }
.stop__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(26,25,58,0.55), transparent 45%);
}
.stop__nights {
  position: absolute; z-index: 3; top: 0.8rem; right: 0.8rem; padding: 0.2rem 0.8rem;
  font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-plum);
  background: rgba(233,217,172,0.95); border-radius: 999px;
}
.stop__polaroid {
  position: absolute; z-index: 4; left: 0.8rem; bottom: 0.8rem; width: 34%; aspect-ratio: 1; object-fit: cover;
  border: 4px solid #fff; border-bottom-width: 12px; box-shadow: 0 8px 18px rgba(0,0,0,0.4); transform: rotate(-6deg);
}
.stop__body { padding: 1.1rem 1.3rem 1.4rem; }
.stop__date { margin: 0 0 0.15rem; font-style: italic; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.02rem; color: var(--c-rose); }
.stop--lagoon .stop__date { color: var(--c-lagoon); }
.stop__body h3 { font-size: 1.85rem; color: var(--c-plum); margin-bottom: 0.4rem; }
.stop__body p:last-child { margin: 0; font-size: 1.38rem; color: var(--c-plum-soft); line-height: 1.55; }

/* stage reveal laterale per le tappe */
.stop.reveal { transform: translateX(34px); }
.stop.reveal.is-visible { transform: none; }

/* illustrazioni di riserva (finché non ci sono le foto vere) */
.scene::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 74% 30%, rgba(255,255,255,0.9) 0 6%, rgba(255,240,200,0.5) 7% 16%, transparent 38%); }
.scene > span::before { display: none; }
.scene::after { z-index: 1; }
.stop__media.scene::after { background: none; }
.scene .scene__land { display: none; }
.scene { background: linear-gradient(170deg, var(--sky-a, #f0b98d), var(--sky-b, #a65f7b)); }
.scene--sf      { --sky-a:#f6c9a8; --sky-b:#7d6fb5; }
.scene--vegas   { --sky-a:#7b3fa0; --sky-b:#1b1346; }
.scene--bryce   { --sky-a:#f4a261; --sky-b:#b5485f; }
.scene--page    { --sky-a:#f9d27d; --sky-b:#d9693f; }
.scene--monument{ --sky-a:#f7b267; --sky-b:#b23a3a; }
.scene--canyon  { --sky-a:#e3a469; --sky-b:#7a3b22; }
.scene--kingman { --sky-a:#ffb27a; --sky-b:#5b4b8a; }
.scene--la      { --sky-a:#f0b98d; --sky-b:#a65f7b; }
.scene--bora    { --sky-a:#7fe0d4; --sky-b:#1f7f9a; }
.scene--moorea  { --sky-a:#a8e6cf; --sky-b:#2a8fa0; }
.stop__media.scene { background-image:
  linear-gradient(170deg, var(--sky-a), var(--sky-b)); }
/* sagoma del paesaggio */
.stop__media.scene { --land: rgba(26,25,58,0.55); }
.stop__media.scene > img:not(.stop__polaroid) ~ .stop__nights { }
.stop__media.scene { isolation: isolate; }
.stop__media.scene::after { content: ""; position: absolute; top: auto; left: 0; right: 0; bottom: 0; height: 62%; background: var(--land); z-index: 0; clip-path: var(--shape); }
.scene--sf, .scene--vegas { --shape: polygon(0 100%,0 62%,6% 62%,6% 48%,12% 48%,12% 70%,18% 70%,18% 40%,24% 40%,24% 66%,32% 66%,32% 52%,38% 52%,38% 74%,46% 74%,46% 44%,52% 44%,52% 68%,60% 68%,60% 36%,66% 36%,66% 60%,74% 60%,74% 50%,82% 50%,82% 72%,90% 72%,90% 56%,100% 56%,100% 100%); }
.scene--bryce { --shape: polygon(0 100%,0 75%,4% 50%,7% 72%,11% 38%,15% 70%,19% 46%,23% 76%,28% 30%,32% 70%,37% 52%,41% 78%,46% 34%,50% 68%,55% 44%,59% 74%,64% 28%,68% 66%,73% 48%,77% 76%,82% 38%,86% 70%,91% 50%,95% 72%,100% 58%,100% 100%); }
.scene--page, .scene--canyon, .scene--kingman, .scene--la { --shape: polygon(0 100%,0 60%,15% 50%,30% 64%,48% 46%,66% 62%,82% 48%,100% 60%,100% 100%); }
.scene--monument { --shape: polygon(0 100%,0 78%,12% 78%,14% 46%,24% 46%,26% 78%,48% 78%,50% 30%,60% 30%,62% 78%,76% 78%,78% 52%,88% 52%,90% 78%,100% 78%,100% 100%); }
.scene--bora { --shape: polygon(0 100%,0 82%,25% 80%,36% 70%,42% 40%,46% 22%,50% 30%,52% 55%,60% 68%,75% 80%,100% 82%,100% 100%); --land: rgba(10,70,60,0.6); }
.scene--moorea { --shape: polygon(0 100%,0 80%,15% 74%,24% 52%,30% 60%,38% 34%,44% 56%,52% 44%,60% 62%,72% 50%,84% 70%,100% 78%,100% 100%); --land: rgba(10,80,60,0.55); }
.stop__media.scene > img:not(.stop__polaroid) { z-index: 1; }

@media (min-width: 900px) {
  .journey { padding-left: 3.6rem; }
  .stop__node { left: -3.6rem; }
  .journey__line { left: 1.2rem; }
}


/* ================================================================
   FILO D'ORO — cornice di ogni sezione, come busta e invito
   Doppio filo sottile con angoli ornati. Sta sotto il testo.
   ================================================================ */
.section { position: relative; }
.section > .section__inner { position: relative; z-index: 1; }
.section::before, .section::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
}
.section::before {
  inset: 10px;
  border: 1.5px solid var(--c-gold);
  border-image: linear-gradient(135deg, #E9D9AC, #C9A961 35%, #F4E7BD 50%, #B8933F 70%, #E9D9AC) 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg transform='rotate%280 24 24%29'%3E%3Cpath d='M3 46V15Q3 3 15 3H46' fill='none' stroke='%23C9A961' stroke-width='1.6'/%3E%3Cpath d='M10 38V19Q10 10 19 10H38' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.8'/%3E%3Cpath d='M16 30Q16 16 30 16' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.7'/%3E%3Cpath d='M3 3l6 0-3 3z M3 3l0 6 3-3z' fill='%23C9A961'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A961'/%3E%3C/g%3E%3C/svg%3E") left top / 48px 48px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg transform='rotate%2890 24 24%29'%3E%3Cpath d='M3 46V15Q3 3 15 3H46' fill='none' stroke='%23C9A961' stroke-width='1.6'/%3E%3Cpath d='M10 38V19Q10 10 19 10H38' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.8'/%3E%3Cpath d='M16 30Q16 16 30 16' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.7'/%3E%3Cpath d='M3 3l6 0-3 3z M3 3l0 6 3-3z' fill='%23C9A961'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A961'/%3E%3C/g%3E%3C/svg%3E") right top / 48px 48px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg transform='rotate%28180 24 24%29'%3E%3Cpath d='M3 46V15Q3 3 15 3H46' fill='none' stroke='%23C9A961' stroke-width='1.6'/%3E%3Cpath d='M10 38V19Q10 10 19 10H38' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.8'/%3E%3Cpath d='M16 30Q16 16 30 16' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.7'/%3E%3Cpath d='M3 3l6 0-3 3z M3 3l0 6 3-3z' fill='%23C9A961'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A961'/%3E%3C/g%3E%3C/svg%3E") right bottom / 48px 48px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg transform='rotate%28270 24 24%29'%3E%3Cpath d='M3 46V15Q3 3 15 3H46' fill='none' stroke='%23C9A961' stroke-width='1.6'/%3E%3Cpath d='M10 38V19Q10 10 19 10H38' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.8'/%3E%3Cpath d='M16 30Q16 16 30 16' fill='none' stroke='%23C9A961' stroke-width='.9' opacity='.7'/%3E%3Cpath d='M3 3l6 0-3 3z M3 3l0 6 3-3z' fill='%23C9A961'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A961'/%3E%3C/g%3E%3C/svg%3E") left bottom / 48px 48px no-repeat;
}
.section::after {
  inset: 17px;
  border: 1px solid rgba(201, 169, 97, 0.45);
}
@media (max-width: 780px) {
  .section { padding: 4rem 1.7rem; }
  .section::before { inset: 7px; }
  .section::after  { inset: 13px; }
}


/* ================================================================
   IL GRANDE GIORNO — data e orari ben visibili
   ================================================================ */
.section--day { background: var(--c-ivory); text-align: center; }
.day__date { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.3rem, 9vw, 3.4rem); line-height: 1.15; color: var(--c-lilac-deep); margin: 0 0 2rem; }
.day__events { display: grid; gap: 1.4rem; }
.day__event { background: #fff; border: 1.5px solid var(--c-gold); border-radius: 12px; padding: 1.5rem 1.2rem 1.7rem; box-shadow: 0 20px 36px -26px rgba(43,42,84,0.5); }
.day__time { font-family: var(--f-display); font-weight: 600; font-size: clamp(3.4rem, 15vw, 4.6rem); line-height: 1; margin: 0 0 0.3rem; color: #A8832F; }
.day__event h3 { font-size: 2rem; color: var(--c-plum); margin-bottom: 0.4rem; }
.day__event p:not(.day__time) { font-size: 1.3rem; color: var(--c-plum-soft); margin-bottom: 0.8rem; }

.venue-time {
  font-style: normal; font-weight: 600; font-size: 1.5rem; line-height: 1.35; color: var(--c-plum);
  border-left: 3px solid var(--c-gold); padding-left: 0.9rem; margin-top: 1.2rem;
}

/* ================================================================
   ON THE ROAD — miniature
   ================================================================ */
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--c-gold); }
.thumbs li { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-plum); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease; }
.thumbs li:hover img, .thumbs li:focus-within img { transform: scale(1.16); }
.thumbs span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.6rem 0.5rem; text-align: center;
  font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.15; color: #fff;
  background: linear-gradient(0deg, rgba(26,25,58,0.85), transparent); text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
@media (min-width: 900px) { .hero__gate { width: 520px; } }

/* date, etichette e piccoli testi più leggibili */
.eyebrow { font-size: 1.2rem; font-weight: 600; letter-spacing: 0.14em; }
.stop__date { font-size: 1.2rem; font-weight: 600; font-style: normal; letter-spacing: 0.06em; color: #A8832F; line-height: 1.3; }
.stop--lagoon .stop__date { color: var(--c-lagoon); }
.stop__nights { font-size: 1rem; font-weight: 600; }
.trip-stats__label { font-size: 1rem; }
.venue-media figcaption, .story-media figcaption { font-size: 1.1rem; }


/* ================================================================
   TITOLI DELLE SEZIONI: centrali e grandi
   ================================================================ */
.section .eyebrow, .section__title, .section__intro { text-align: center; }
.section__title { font-size: clamp(2.7rem, 10vw, 4.2rem); line-height: 1.1; margin-bottom: 1.6rem; }
.section__title::after { margin-left: auto; margin-right: auto; width: 130px; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); }
.section__intro { margin-left: auto; margin-right: auto; }
.section--trip .section__intro { text-align: center; }

html, body { overflow-x: clip; }
.journey { overflow-x: clip; }

/* apertura: data e orari ben visibili sopra la foto */
.save-the-date__date { display: block; font-size: clamp(2.1rem, 8.5vw, 3rem); font-weight: 600; line-height: 1.15; }
.save-the-date__label { font-size: 1.05rem; }
.save-the-date__times { margin: 0.7rem 0 0; font-size: 1.35rem; font-weight: 500; line-height: 1.4; color: var(--c-gold-light); }
.hero .eyebrow { font-size: 1.2rem; }


/* ================================================================
   COPERTINA: pulsante "Continua a leggere" ben riconoscibile
   ================================================================ */
.hero__scrim { background: linear-gradient(180deg, rgba(26,25,58,0.72) 0%, rgba(26,25,58,0.55) 45%, rgba(26,25,58,0.88) 100%); }
.hero__content { max-width: 700px; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.hero .eyebrow { font-size: 1.3rem; }
.hero__title { font-size: clamp(3.2rem, 14vw, 5.4rem); }
.hero__script { font-size: clamp(2.1rem, 8vw, 2.8rem); }
.save-the-date__label { font-size: 1.15rem; }
.save-the-date__date { font-size: clamp(2.3rem, 9.5vw, 3.4rem); }
.save-the-date__times { font-size: 1.5rem; color: #fff; }
.countdown__num { font-size: clamp(2.5rem, 10vw, 3.4rem); }
.countdown__label { font-size: 1.05rem; color: #fff; }

.hero-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 0.8rem;
  margin-top: 0.6rem; padding: 1.1rem 2.3rem; border-radius: 999px; text-decoration: none; text-shadow: none;
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.03em; color: var(--c-plum);
  background: linear-gradient(135deg, #F6E7B0, #D9BB6C 55%, #B8933F);
  border: 2px solid #FBF0CB;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6);
  animation: btnPulse 2.4s ease-out infinite;
}
.hero-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-18deg); animation: sweep 4s ease-in-out infinite;
}
.hero-btn__arrow { font-size: 1.9rem; line-height: 1; animation: nudge 1.3s ease-in-out infinite; }
.hero-btn:hover, .hero-btn:focus-visible { filter: brightness(1.08); transform: translateY(-2px); }
.hero-btn:active { transform: scale(0.97); }
@keyframes btnPulse { 0% { box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6), 0 0 0 0 rgba(246,231,176,0.75); } 70%,100% { box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6), 0 0 0 20px rgba(246,231,176,0); } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
.hero__content { padding-bottom: 4rem; }

/* ================================================================
   INDICE DEL SITO (pagina interna)
   ================================================================ */
.section--index { background: var(--c-ivory); padding-top: 7rem; }
.site-footer__back { color: var(--c-gold-light); font-size: 1.15rem; }

/* ================================================================
   TESTI PIÙ GRANDI SU SMARTPHONE
   ================================================================ */
@media (max-width: 780px) {
  body { font-size: 22px; }
  .section :is(p, li, dd):not([class]) { font-size: 1.4rem; line-height: 1.6; }
  .section__intro { font-size: 1.4rem; }
  .eyebrow { font-size: 1.25rem; }
  .venue-text h3 { font-size: 2.1rem; }
  .venue-time { font-size: 1.6rem; }
  .stop__date { font-size: 1.3rem; }
  .stop__nights { font-size: 1.1rem; }
  .stop__body h3 { font-size: 2.2rem; }
  .stop__body p:last-child { font-size: 1.35rem; }
  .thumbs span { font-size: 1.35rem; }
  .trip-stats__label { font-size: 1.15rem; }
  .trip-stats__num { font-size: 3.2rem; }
  .btn { font-size: 1.25rem; padding: 0.9rem 2rem; }
  .btn--solid { font-size: 1.4rem; }
  figcaption, .venue-media figcaption, .story-media figcaption { font-size: 1.2rem; }
  .gift-card__row dt { font-size: 1.1rem; }
  .gift-card__row dd { font-size: 1.4rem; }
  .gift-card__row dd code { font-size: 1.2rem; }
  .copy-btn { font-size: 1.15rem; padding: 0.5rem 1.2rem; }
  .gift-card__thanks { font-size: 1.8rem; }
  .primary-nav a { font-size: 1.6rem; }
  .site-footer { font-size: 1.2rem; }
  .story-quote p { font-size: 2.1rem; }
}

/* copertina compatta: tutto in una schermata, pulsante incluso */
.hero__content { padding: 5rem 1.25rem 2rem; }
.hero__title { font-size: clamp(2.6rem, 10.6vw, 5.4rem); margin-bottom: 0.2rem; }
.hero__script { font-size: clamp(1.9rem, 7vw, 2.6rem); margin-bottom: 1.1rem; }
.save-the-date { padding: 0.9rem 0; margin-bottom: 1.3rem; }
.save-the-date__date { font-size: clamp(1.9rem, 7.5vw, 3.2rem); white-space: nowrap; }
.save-the-date__times { font-size: 1.35rem; margin-top: 0.4rem; }
.countdown { margin-bottom: 1.6rem; }
.countdown__num { font-size: clamp(2.2rem, 8.6vw, 3.2rem); }

.hero-btn { white-space: nowrap; font-size: clamp(1.3rem, 5.2vw, 1.6rem); padding: 1rem clamp(1.3rem, 6vw, 2.3rem); }
@media (max-height: 700px) {
  .hero__content { padding-top: 4.2rem; }
  .hero__script { margin-bottom: 0.7rem; }
  .countdown { margin-bottom: 1rem; }
}


/* ================================================================
   COPERTINA — luoghi di cerimonia e ricevimento
   ================================================================ */
.save-the-date__events { margin-top: 0.7rem; }
.save-the-date__events p { margin: 0 0 0.55rem; line-height: 1.25; }
.ev__what { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; color: #fff; }
.ev__where { display: block; font-size: 1.25rem; color: var(--c-gold-light); }
.save-the-date__events .ev__city { margin: 0.2rem 0 0; font-size: 1.1rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0.9; }
.save-the-date { margin-bottom: 1.1rem; }
.countdown { margin-bottom: 1.2rem; }

/* ================================================================
   INDICE — cammei, sigillo e pulsanti sfarzosi
   ================================================================ */
.crest { display: flex; align-items: center; justify-content: center; gap: clamp(0.6rem, 4vw, 1.4rem); margin-bottom: 1.4rem; }
.cameo { width: 66px; height: auto; filter: drop-shadow(0 4px 6px rgba(120,90,30,0.28)); }
.seal {
  position: relative; width: 104px; height: 104px; border-radius: 50%; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 1px;
  background: radial-gradient(circle at 30% 24%, #FBF0CB 0%, #E3C985 32%, #C2993F 68%, #8F6C22 100%);
  box-shadow: 0 10px 22px -6px rgba(110,80,20,0.55), inset 0 0 0 3px rgba(255,248,220,0.55), inset 0 0 0 5px #9A7424;
  color: #5A4210; text-shadow: 0 1px 0 rgba(255,244,205,0.85), 0 -1px 0 rgba(90,60,10,0.25);
}
.seal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px dotted rgba(90,66,16,0.65); }
.seal__m, .seal__g { font-family: var(--f-display); font-weight: 600; font-size: 2.1rem; line-height: 1; position: relative; }
.seal__amp { font-family: var(--f-script); font-size: 1.7rem; line-height: 1; position: relative; top: 4px; }
.seal__shine { position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent); transform: skewX(-20deg); animation: sweep 5.5s ease-in-out infinite; z-index: 2; }

.index-list { display: grid; gap: 1.15rem; max-width: 640px; margin: 2rem auto 0; }
.index-item {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.3rem 1.25rem 1.2rem;
  text-decoration: none; color: var(--c-plum); border: 2px solid transparent; border-radius: 16px;
  background:
    linear-gradient(135deg, #FFFDF5 0%, #FBF0D2 55%, #FFF8E6 100%) padding-box,
    linear-gradient(135deg, #F7EBC4, #B8933F 35%, #F4E3A8 55%, #A8832F 80%, #F7EBC4) border-box;
  box-shadow:
    inset 0 0 0 4px #FFFDF5, inset 0 0 0 5.5px rgba(201,169,97,0.7),
    0 22px 32px -22px rgba(120,90,30,0.65), 0 2px 0 rgba(255,255,255,0.8);
  transition: transform .25s ease, box-shadow .25s ease;
}
.index-item::before { /* ornamenti agli angoli */
  content: "✦"; position: absolute; top: 9px; left: 12px; font-size: 0.9rem; color: #C9A961; opacity: 0.85; z-index: 1;
}
.index-item::after { /* riflesso di luce */
  content: ""; position: absolute; top: 0; bottom: 0; width: 35%; left: -60%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.8), transparent); transform: skewX(-18deg);
  animation: sweep 7s ease-in-out infinite;
}
.index-item:nth-child(2)::after { animation-delay: .6s; } .index-item:nth-child(3)::after { animation-delay: 1.2s; }
.index-item:nth-child(4)::after { animation-delay: 1.8s; } .index-item:nth-child(5)::after { animation-delay: 2.4s; }
.index-item:nth-child(6)::after { animation-delay: 3s; }   .index-item:nth-child(7)::after { animation-delay: 3.6s; }
.index-item:hover, .index-item:focus-visible { transform: translateY(-3px) scale(1.01); box-shadow: inset 0 0 0 4px #FFFDF5, inset 0 0 0 5.5px rgba(201,169,97,0.9), 0 28px 36px -20px rgba(120,90,30,0.75); }
.index-item:active { transform: scale(0.985); }
.index-item__num {
  position: relative; z-index: 1; flex: none; width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; color: #5A4210; text-shadow: 0 1px 0 rgba(255,244,205,0.9);
  background: radial-gradient(circle at 30% 24%, #FBF0CB 0%, #E3C985 35%, #C2993F 75%, #9A7424 100%);
  box-shadow: 0 6px 12px -4px rgba(110,80,20,0.6), inset 0 0 0 2px rgba(255,248,220,0.6);
}
.index-item__text { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
.index-item__title { font-family: var(--f-display); font-weight: 700; font-size: 1.8rem; line-height: 1.12; letter-spacing: 0.01em; }
.index-item__sub { margin-top: 0.15rem; font-style: italic; font-size: 1.2rem; color: var(--c-lilac-deep); line-height: 1.3; }
.index-item__go {
  position: relative; z-index: 1; margin-left: auto; flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  border: 1.5px solid #B8933F; border-radius: 50%; font-size: 1.7rem; line-height: 1; padding-bottom: 0.2rem; color: #A8832F;
  transition: background .25s ease, color .25s ease;
}
.index-item:hover .index-item__go, .index-item:focus-visible .index-item__go { background: #B8933F; color: #fff; }
.index-item.reveal:nth-child(odd) { transform: translateX(-26px); } .index-item.reveal:nth-child(even) { transform: translateX(26px); }
.index-item.reveal.is-visible { transform: none; }
.section--index .crest { margin-top: 0.5rem; }

.index-item__text { flex: 1 1 auto; }
@media (max-width: 560px) {
  .index-item { gap: 0.8rem; padding: 1.1rem 0.9rem 1.1rem 0.9rem; }
  .index-item__num { width: 2.9rem; height: 2.9rem; font-size: 1.5rem; }
  .index-item__title { font-size: 1.55rem; }
  .index-item__sub { font-size: 1.1rem; }
  .index-item__go { width: 2.1rem; height: 2.1rem; font-size: 1.5rem; }
}


/* ================================================================
   PAGINA UNICA: copertina compatta, indice a tessere, torna su
   ================================================================ */
.hero__content { padding: 3rem 1.25rem 3.5rem; }
.hero .eyebrow { margin-bottom: 0.2rem; }
.hero__script { font-size: clamp(1.9rem, 7vw, 2.6rem); margin: 0 0 1.1rem; line-height: 1.2; }
.hero__title { font-size: clamp(2.8rem, 11.2vw, 5.4rem); margin-bottom: 0; }
.hero__sposi { font-family: var(--f-script); font-size: clamp(2.2rem, 8vw, 3rem); color: var(--c-gold-light); margin: 0 0 1.4rem; line-height: 1.1; }
.save-the-date { margin-bottom: 1.4rem; padding: 1rem 0; }
.save-the-date__date { font-size: clamp(2rem, 7.8vw, 3.2rem); white-space: nowrap; }
.hero__down { position: absolute; z-index: 3; left: 50%; bottom: 1rem; margin-left: -0.5em; font-size: 2.6rem; line-height: 1; color: var(--c-gold-light); animation: nudgeDown 1.6s ease-in-out infinite; }
@keyframes nudgeDown { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(8px); opacity: 1; } }

.section--index { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.7rem; }
.section--index .section__inner { width: 100%; }
.section--index .crest { margin: 0 0 0.8rem; }
.section--index .cameo { width: 54px; }
.section--index .seal { width: 90px; height: 90px; }
.section--index .seal__m, .section--index .seal__g { font-size: 1.85rem; }
.section--index .seal__amp { font-size: 1.5rem; }
.section--index .section__title { font-size: clamp(2.1rem, 8.2vw, 3rem); margin-bottom: 1rem; }
.section--index .section__title::after { margin-top: 0.5rem; }
.index-list { grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.4rem; }
.index-item { flex-direction: column; justify-content: flex-start; text-align: center; gap: 0.4rem; padding: 0.85rem 0.55rem 0.8rem; }
.index-item::before { top: 6px; left: 9px; font-size: 0.75rem; }
.index-item__num { width: 2.5rem; height: 2.5rem; font-size: 1.35rem; }
.index-item__text { align-items: center; flex: none; }
.index-item__title { font-size: 1.3rem; line-height: 1.12; }
.index-item__sub, .index-item__go { display: none; }
.index-item:last-child { grid-column: 1 / -1; }

.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; font-weight: 700; line-height: 1; text-decoration: none; color: #5A4210;
  background: radial-gradient(circle at 30% 24%, #FBF0CB 0%, #E3C985 35%, #C2993F 75%, #9A7424 100%);
  border: 2px solid #FBF0CB; box-shadow: 0 10px 22px -6px rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:active { transform: scale(0.94); }

.hero__title { font-size: clamp(2.5rem, 10.2vw, 5.4rem); }
.hero__sposi { margin-top: 0.1rem; }


/* ================================================================
   ROUND 7 — home con cammei e sigillo, foto più in basso, carosello
   viaggio, pulsanti Maps sfarzosi, torna-su più evidente
   ================================================================ */
/* foto sposi: nella metà bassa, volti ben visibili */
.hero::before {
  inset: auto 0 0 0; height: 56%; opacity: 1; background-size: cover; background-position: 42% 30%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
}
.hero__scrim { background: linear-gradient(180deg, rgba(43,42,84,0.88) 0%, rgba(43,42,84,0.55) 45%, rgba(43,42,84,0.15) 70%, rgba(43,42,84,0.55) 100%); }
.hero { align-items: flex-start; }
.hero__content { padding-top: 1.4rem; padding-bottom: 0; }
.hero .crest { margin: 0 0 0.7rem; gap: 0.7rem; }
.hero .cameo { width: 40px; }
.hero .seal { width: 64px; height: 64px; }
.hero .seal::before { inset: 6px; }
.hero .seal__m, .hero .seal__g { font-size: 1.3rem; }
.hero .seal__amp { font-size: 1.05rem; top: 2px; }
.hero__script { margin-bottom: 0.6rem; }
.hero__sposi { margin-bottom: 0.7rem; }
.save-the-date { margin-bottom: 0.9rem; padding: 0.7rem 0; }
.countdown { margin-bottom: 0; }

/* indice: solo titolo e tessere */
.section--index .section__title { margin-top: 0; }

/* torna su: ben visibile */
.to-top { width: 3.8rem; height: 3.8rem; right: 0.9rem; bottom: 0.9rem; font-size: 2.1rem; z-index: 9999; box-shadow: 0 10px 22px -6px rgba(0,0,0,0.55), 0 0 0 3px rgba(251,240,203,0.35); }

/* viaggio: carosello orizzontale */
.section--trip .section__inner { max-width: none; }
.section--trip .section__intro, .section--trip .section__title, .section--trip .eyebrow, .section--trip .trip-stats { max-width: 760px; margin-left: auto; margin-right: auto; }
.journey {
  display: flex; gap: 1rem; max-width: none; padding: 0.4rem 1.2rem 1.2rem; margin: 0 -1.7rem;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 1.2rem;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
}
.journey::-webkit-scrollbar { display: none; }
.journey__line { display: none; }
.stop { flex: 0 0 82%; max-width: 400px; margin: 0; scroll-snap-align: start; opacity: 1; transform: none; }
.stop.reveal, .stop.reveal.is-visible { transform: none; opacity: 1; }
.stop__node { left: 0.7rem; top: 0.7rem; z-index: 5; margin: 0; }
.stop__card { height: 100%; }
.stop__body p:last-child { font-size: 1.28rem; line-height: 1.5; }
.stop__body h3 { font-size: 2rem; }
.swipe-hint { text-align: center; margin: 0.4rem 0 0.6rem; font-size: 1.15rem; letter-spacing: 0.22em; text-transform: uppercase; color: #A8832F; font-weight: 600; }
.swipe-hint i { font-style: normal; display: inline-block; animation: swipeNudge 1.3s ease-in-out infinite; }
@keyframes swipeNudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.journey-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.2rem; }
.journey-dots i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(168,131,47,0.35); transition: all .3s ease; }
.journey-dots i.on { background: #C2993F; width: 1.8rem; border-radius: 1rem; }
@media (min-width: 900px) { .stop { flex-basis: 380px; } .journey { padding-left: calc(50% - 380px); } }

/* pulsanti Google Maps: sigillo d'oro */
.btn--map, .btn--map:visited {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1.05rem 1.6rem 1.05rem 1.3rem; border-radius: 999px; overflow: hidden; text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.04em; color: #4A3509;
  background: linear-gradient(135deg, #FBF0CB 0%, #E8CF8E 28%, #C9A04A 62%, #F2DDA0 100%);
  border: 2px solid #FFF6D8; text-shadow: 0 1px 0 rgba(255,246,216,0.8);
  box-shadow: 0 0 0 3px #B38A33, 0 0 0 5px rgba(251,240,203,0.9), 0 14px 26px -8px rgba(110,80,20,0.6);
  transition: transform .2s ease, filter .2s ease;
}
.btn--map::before { content: ""; position: absolute; top: 0; bottom: 0; width: 38%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.75), transparent); transform: skewX(-20deg); animation: sweep 4.5s ease-in-out infinite; pointer-events: none; }
.btn--map:hover, .btn--map:focus-visible { filter: brightness(1.07); transform: translateY(-2px); color: #4A3509; }
.btn--map:active { transform: scale(0.97); }
.btn--map__pin { font-size: 1.5rem; filter: drop-shadow(0 2px 2px rgba(90,60,10,0.4)); }
.btn--map__arrow { font-size: 1.9rem; line-height: 1; margin-left: 0.1rem; }
.btn--map-sm { font-size: 1.2rem; padding: 0.7rem 1.3rem; margin-top: 0.4rem; box-shadow: 0 0 0 2px #B38A33, 0 0 0 4px rgba(251,240,203,0.9), 0 10px 20px -8px rgba(110,80,20,0.55); }
.venue-cta { text-align: center; margin-top: 1.8rem; }

.hero::before { height: auto; aspect-ratio: 3 / 2; background-size: 100% 100%; background-position: center; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }

.btn--map { white-space: nowrap; line-height: 1.2; font-size: 1.3rem; padding: 0.9rem 1.3rem 0.9rem 1.1rem; }
.btn--map-sm { font-size: 1.1rem; }

/* ===== desktop: testi a sinistra, foto a destra (volti interi) ===== */
@media (min-width: 760px) and (min-aspect-ratio: 1/1) {
  .hero { align-items: center; }
  .hero::before {
    inset: 0 0 0 auto; width: 68%; height: auto; aspect-ratio: auto; background-size: auto 100%; background-repeat: no-repeat; background-position: 100% 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
  }
  .hero__scrim { background: linear-gradient(90deg, rgba(43,42,84,0.9) 0%, rgba(43,42,84,0.55) 45%, rgba(43,42,84,0.1) 100%); }
  .hero__content { margin-right: auto; margin-left: 0; width: 42%; max-width: none; padding: 2rem 3vw; }
  .hero__title { font-size: clamp(2.6rem, 4.6vw, 5rem); }
  .hero__script { font-size: clamp(1.8rem, 2.6vw, 2.8rem); }
  .save-the-date__date { font-size: clamp(1.6rem, 2.4vw, 2.6rem); }
}

/* viaggio: scorrimento solo con i tasti (il dito scorre la pagina) */
.journey { overflow-x: hidden; touch-action: pan-y; }
.journey-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 0.6rem; }
.journey-btn {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 2px solid #FBF0CB; cursor: pointer; font-size: 2.2rem; line-height: 1; padding: 0 0 0.25rem; color: #4A3509;
  background: radial-gradient(circle at 30% 24%, #FBF0CB 0%, #E3C985 35%, #C2993F 75%, #9A7424 100%);
  box-shadow: 0 0 0 2px #B38A33, 0 8px 16px -6px rgba(90,60,10,0.55);
}
.journey-btn:active { transform: scale(0.94); }

/* home mobile/portrait: foto sotto i testi, mai sovrapposta; conto alla rovescia più piccolo */
@media not all and (min-width: 760px) and (min-aspect-ratio: 1/1) {
  .hero { flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100svh; }
  .hero__content { order: 1; width: 100%; padding-bottom: 1.2rem; }
  .hero::before {
    order: 2; position: relative; inset: auto; flex: none; width: 100%; height: auto; aspect-ratio: 3 / 2; margin-top: auto;
    background-size: cover; background-position: center;
  }
  .countdown__num { font-size: 1.6rem; }
  .countdown__label { font-size: 0.78rem; letter-spacing: 0.12em; }
  .countdown { gap: 0.9rem; }
}


/* ================= VIAGGIO: libro da sfogliare ================= */
.section--trip .section__title { margin-bottom: 0.4rem; }
.book-hint { text-align: center; font-style: italic; font-size: 1.45rem; color: #A8832F; margin: 0 0 1.4rem; font-weight: 600; }
.book { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 1.38 / 1; perspective: 1600px; }
.book::before { content: ""; position: absolute; inset: -7px -9px -11px; border-radius: 10px; background: linear-gradient(135deg, #E9D08C, #B38A33 60%, #8F6C22); box-shadow: 0 18px 30px -12px rgba(60,40,10,0.6); }
.spread { position: absolute; inset: 0; display: none; grid-template-columns: 1fr 1fr; background: #FBF4E3; border-radius: 4px; overflow: hidden; }
.spread.is-on { display: grid; }
.spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 26px; margin-left: -13px; background: linear-gradient(90deg, transparent, rgba(110,80,30,0.32) 46%, rgba(255,255,255,0.35) 50%, rgba(110,80,30,0.32) 54%, transparent); pointer-events: none; z-index: 3; }
.page { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.page--l { background: #2B2A54; }
.page--l > img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.page--r { padding: 0.9rem 0.8rem 0.9rem 1.2rem; text-align: center; align-items: center; background: linear-gradient(90deg, #F3E6C6 0%, #FBF4E3 14%, #FBF4E3 100%); box-shadow: inset 0 0 0 1px rgba(201,160,74,0.5); }
.page--r::before { content: "✦"; color: #C2993F; font-size: 1.1rem; margin-bottom: 0.3rem; }
.page--r h3 { font-size: 1.7rem; line-height: 1.1; color: var(--c-plum); margin: 0 0 0.5rem; }
.page--r p { margin: 0; font-size: 1.15rem; line-height: 1.38; color: var(--c-plum-soft); }
.page-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; width: 100%; height: 100%; background: #C2993F; }
.page-thumbs li { overflow: hidden; } .page-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.page--l:has(.page-date) { background: linear-gradient(160deg, #3A3870, #2B2A54); color: #F6E7B0; align-items: center; text-align: center; }
.page-date { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.5rem; }
.page-date span, .page-date-inline { font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase; color: #E3C985; font-style: normal; }
.page-date b { font-size: 2.1rem; line-height: 1.05; color: #fff; font-weight: 600; }
.page-date i { font-size: 1.3rem; color: #E3C985; }
.page--r .ret { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--c-plum); font-weight: 600; margin-top: 0.15rem; }
.page-date-inline { color: #A8832F; display: block; }

.spread.flip-next .page--r { transform-origin: left center; animation: flipR .75s cubic-bezier(.3,.7,.2,1) both; }
.spread.flip-next .page--l { animation: fadeP .75s ease both; }
.spread.flip-prev .page--l { transform-origin: right center; animation: flipL .75s cubic-bezier(.3,.7,.2,1) both; }
.spread.flip-prev .page--r { animation: fadeP .75s ease both; }
@keyframes flipR { from { transform: rotateY(88deg); filter: brightness(.7); } to { transform: none; filter: none; } }
@keyframes flipL { from { transform: rotateY(-88deg); filter: brightness(.7); } to { transform: none; filter: none; } }
@keyframes fadeP { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spread[class*="flip"] .page { animation: none !important; } }

.book-nav { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1.6rem; }
.book-count { font-size: 1.3rem; letter-spacing: 0.14em; color: #A8832F; font-weight: 600; min-width: 4.5rem; text-align: center; }
@media (min-width: 560px) { .page--r h3 { font-size: 2.2rem; } .page--r p { font-size: 1.4rem; } .page-date b { font-size: 2.8rem; } .page--r .ret { font-size: 2.5rem; } }

/* mobile: tutti i testi centrati */
@media (max-width: 759px) {
  .section, .section__inner, .section p, .section li, .section dd, .section dt, .section h2, .section h3, .section figcaption,
  .story-text, .story-text p, .venue-text, .venue-text p, .venue-time, .section__intro, .proximity-note, .proximity-note p,
  .gift-card, .gift-card__row, .site-footer { text-align: center; }
  .story-quote { text-align: center; border-left: 0; border-top: 2px solid #C9A04A; border-bottom: 2px solid #C9A04A; }
  .gift-card__row { align-items: center; justify-content: center; }
  .venue-time { border-left: 0; padding-left: 0; }
  .venue-time, .venue-time time { display: block; text-align: center; }
}

@media (max-width: 559px) { .book { aspect-ratio: 1 / 1.02; } .page--r { padding: 0.7rem 0.6rem 0.7rem 1rem; } .page--r h3 { font-size: 1.6rem; } .page--r p { font-size: 1.12rem; line-height: 1.32; } .page-date b, .page--r .ret { font-size: 1.8rem; } }

/* ================= VIAGGIO: percorso verticale minimal ================= */
.route-dates { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 0.4rem 0 2rem; text-align: center; }
.route-dates span { display: block; font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase; color: #A8832F; font-weight: 600; }
.route-dates b { display: block; font-size: 2.1rem; line-height: 1.1; color: var(--c-plum); font-weight: 600; }
.route-dates__plane { font-size: 2rem; color: #C2993F; transform: rotate(0deg); }
.route { position: relative; max-width: 520px; margin: 0 auto; padding-left: 3.1rem; }
.route::before { content: ""; position: absolute; left: 1.05rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(180deg, #E3C985, #B38A33 50%, #E3C985); }
.leg { position: relative; margin-bottom: 1.8rem; }
.leg:last-child { margin-bottom: 0; }
.leg__node { position: absolute; left: -3.1rem; top: 0.9rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: #FBF4E3; border: 2px solid #C2993F; color: #4A3509; font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 4px var(--c-ivory, #FBF4E3); z-index: 2; }
.leg--lagoon .leg__node { border-color: #2A8FA0; }
.leg__card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(201,160,74,0.6), 0 14px 26px -14px rgba(60,40,10,0.45); }
.leg__media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-plum); }
.leg__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-in-out infinite alternate; }
.leg__name { margin: 0; padding: 0.9rem 0.8rem 1rem; text-align: center; font-size: 1.9rem; line-height: 1.15; color: var(--c-plum); }
.leg__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #C2993F; }
.leg__thumbs li { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.leg__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.leg__thumbs span { position: absolute; inset: auto 0 0 0; padding: 1.2rem 0.3rem 0.4rem; text-align: center; color: #fff; font-size: 1.1rem; font-weight: 600; line-height: 1.1; background: linear-gradient(180deg, transparent, rgba(30,20,40,0.8)); }

.route-dates { margin-top: 1.4rem; }

/* ================= ROUND 8 — palette estiva: prima e ultima sezione chiare ================= */
.hero { background: linear-gradient(180deg, #EAEFFB 0%, #F4EEF8 55%, #FBEFEA 100%); color: var(--c-plum); }
.hero::before { opacity: 1; }
.hero__scrim { background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 55%, rgba(255,255,255,0) 100%); }
.hero__glow { background: radial-gradient(ellipse at 50% 12%, rgba(255,243,205,0.75), transparent 60%), radial-gradient(ellipse at 10% 90%, rgba(250,222,226,0.5), transparent 50%); }
.hero__petals { display: none; }
.hero .eyebrow, .hero .eyebrow--light { color: #8F6C22; text-shadow: none; }
.hero__script { color: var(--c-plum-soft); text-shadow: none; }
.hero__title { color: var(--c-plum); text-shadow: none; }
.hero__title .amp { background: linear-gradient(100deg, #B38A33 20%, #E3C985 45%, #9A7424 60%, #B38A33 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; }
.hero__sposi { color: #A8832F; text-shadow: none; }
.save-the-date, .save-the-date__date { color: var(--c-plum); text-shadow: none; border-color: rgba(168,131,47,0.55); }
.countdown, .countdown__num { color: var(--c-plum); text-shadow: none; }
.countdown__label { color: var(--c-plum-soft); text-shadow: none; }
.hero__down { color: #A8832F; }
@media (min-width: 760px) and (min-aspect-ratio: 1/1) {
  .hero__scrim { background: linear-gradient(90deg, rgba(251,246,239,0.85) 0%, rgba(251,246,239,0.35) 40%, rgba(255,255,255,0) 65%); }
}

.section--gift { background: linear-gradient(180deg, #F4EEF8 0%, #E9EDFA 100%); color: var(--c-plum); }
.section--gift .section__title { color: var(--c-plum); }
.section--gift .section__intro { color: var(--c-plum-soft); }
.gift-card { background: rgba(255,255,255,0.75); border-color: #C2993F; }
.gift-card__row { border-bottom-color: rgba(168,131,47,0.3); }
.gift-card__row dt { color: #8F6C22; }
.gift-card__row dd, .gift-card__row dd code { color: var(--c-plum); }
.copy-btn { border-color: #B38A33; color: #7A5A18; background: rgba(255,255,255,0.6); }
.copy-btn:hover, .copy-btn:focus-visible { background: #E3C985; color: var(--c-plum); }
.gift-card__thanks { color: #8F6C22; }
.site-footer { background: #EDEAF8; color: var(--c-plum-soft); border-top: 1px solid rgba(168,131,47,0.4); }
.site-footer__monogram { color: var(--c-plum); }

@media (min-width: 760px) and (min-aspect-ratio: 1/1) { .hero__scrim { background: linear-gradient(90deg, rgba(251,246,239,0.85) 0%, rgba(251,246,239,0.3) 32%, rgba(255,255,255,0) 48%); } }

.section--gift .eyebrow { color: #8F6C22; }

/* striscia vicinanza: chiara */
.proximity-note { background: linear-gradient(90deg, #F4EEF8, #EAEFFB); color: var(--c-plum); border-top: 1px solid rgba(168,131,47,0.35); border-bottom: 1px solid rgba(168,131,47,0.35); }
.proximity-note__icon { color: #A8832F; }
.proximity-note p { color: var(--c-plum-soft); }
.site-footer__legal { max-width: 560px; margin: 0.9rem auto 0; padding: 0 1rem; font-size: 0.95rem; line-height: 1.4; opacity: 0.85; }

/* come ci siamo conosciuti: minimal e romantico */
.section--meet .story-text p { text-align: center; font-style: italic; }
.section--meet .story-text p:first-child::first-letter { font-family: var(--f-script); font-size: 1.9em; line-height: 1; color: #A8832F; }
.section--meet .story-text p:last-child { margin-top: 1.1rem; }
.section--meet .story-text::after { content: "♥"; display: block; text-align: center; margin-top: 1.3rem; color: #C2993F; font-size: 1.4rem; }
