/* ==========================================================================
   Wedding Magic · Fun Events
   --------------------------------------------------------------------------
   PALETTE "oro e lilla", ricavata dal volantino Fun Events
   (lilla acquerello, testi prugna/magenta, scritta e venature oro).
   Se arrivano gli HEX ufficiali dal CSS di funevents.party basta
   aggiornare queste variabili: il resto del foglio usa solo loro.
   ========================================================================== */
:root {
  --brand: #7E2E6E;        /* prugna/magenta dei testi del volantino: CTA, dettagli */
  --brand-dark: #5E1F52;   /* hover */
  --brand-2: #B9A3D6;      /* lilla della borsa: micro-dettagli, bordi, icone */
  --lilac: 185, 163, 214;  /* lilla in RGB, per gli acquerelli trasparenti */
  --magic: #C9A240;        /* oro: scintille, venature, riflessi */
  --magic-dark: #A8832A;   /* oro leggibile su fondo chiaro */
  --magic-light: #F1DFA6;

  --bg: #FFFFFF;
  --bg-tint: #F7F3FA;      /* lilla chiarissimo delle sezioni Wedding */
  --line: #E8DFF0;
  --text: #2A2230;
  --text-soft: #5F5566;
  --plum-deep: #2E1A33;    /* footer e velature scure */
  --on-dark: #FFFFFF;

  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 11vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 500; }
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(24px, 2.2vw, 28px); }
h1 em, h2 em { font-style: italic; color: var(--brand); }
p { margin: 0 0 1em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding: var(--section-y) 0; }
.section-tint {
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(var(--lilac), .30), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(var(--lilac), .24), transparent 70%),
    var(--bg-tint);
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--on-dark); opacity: .9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 30px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--on-dark);
  font: 500 13px/1.2 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-small { padding: 11px 18px; font-size: 12px; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--on-dark); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { background: var(--on-dark); border-color: var(--on-dark); color: var(--text); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- Image slots (placeholder finché la foto non c'è) ---------- */
.slot {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #F1EAF7, #E3D7EE);
}
.slot img, .slot video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slot.is-empty img { display: none; }
.slot.is-empty::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 16px;
  text-align: center;
  font: 400 13px/1.4 var(--font-body);
  letter-spacing: .04em;
  color: #8A7A9C;
  border: 1px dashed #CDBEDD;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto;
  z-index: 50;
  color: var(--on-dark);
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid {
  background: rgba(255,255,255,.96);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-main { font: 600 24px/1 var(--font-title); letter-spacing: .02em; margin: 0; }
.brand-sub { font: 500 10px/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; margin: 6px 0 0; opacity: .85; }
.site-header.is-solid .brand-main { color: var(--magic-dark); }
.site-header.is-solid .brand-sub { color: var(--brand); opacity: 1; }

.main-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.main-nav a:not(.btn):hover { border-color: currentColor; }
.nav-back { display: none; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 24px; height: 1.5px; background: currentColor;
    transition: transform .25s var(--ease), opacity .25s;
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-open .nav-toggle-bar { background: transparent; }
  .nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: fixed; inset: 76px 0 0;
    background: var(--bg);
    color: var(--text);
    padding: 32px var(--gutter);
    display: flex; flex-direction: column; justify-content: space-between;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open.site-header { background: var(--bg); color: var(--text); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-nav a:not(.btn) { font: 500 28px/1.4 var(--font-title); letter-spacing: 0; }
  .main-nav .btn { margin-top: 16px; }
  .main-nav a.nav-back { display: block; font: 400 14px/1.4 var(--font-body); letter-spacing: .04em; color: var(--text-soft); }
}

/* ---------- 01 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video { position: absolute; inset: 0; }
.hero-media.is-empty::after { place-items: start end; padding: 100px var(--gutter) 0; border: 0; }
.contact-media.is-empty::after { place-items: start end; padding: 24px var(--gutter) 0; border: 0; color: rgba(255,255,255,.7); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,26,51,.4) 0%, rgba(46,26,51,.05) 35%, rgba(46,26,51,.6) 100%);
}
.hero-content { position: relative; padding-bottom: clamp(64px, 12vh, 120px); padding-top: 120px; }
.hero-title {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero-title em { color: inherit; }
.hero-pillars {
  font-size: 13px; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
  opacity: .9;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 02 Posizionamento ---------- */
.lead {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 48px;
}
.lead strong { font-weight: 500; color: var(--brand); }
.pillars {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px 44px;
  list-style: none; margin: 0; padding: 0;
  font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
}
.pillars li { position: relative; }
.pillars li + li::before {
  content: "✦";
  position: absolute; left: -30px; top: 50%;
  font-size: 11px; letter-spacing: 0;
  color: var(--magic);
  transform: translateY(-50%);
}

/* ---------- 03 Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.card { grid-column: span 2; display: flex; flex-direction: column; background: var(--bg); text-decoration: none; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card-media { aspect-ratio: 4 / 3; }
.card-media img { transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--text-soft); font-size: 16px; }
.card-link {
  margin-top: auto;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
}
.card-link::after { content: " →"; transition: margin .2s var(--ease); }
.card:hover .card-link::after { margin-left: 4px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: span 1; }
}

/* ---------- 04 Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step { position: relative; padding: 36px 24px 0 0; }
.step::before {
  content: "✦";
  position: absolute; top: -12px; left: -4px;
  font-size: 18px; line-height: 1;
  color: var(--magic);
  background: var(--bg);
  padding: 0 4px;
}
.step-num {
  display: block;
  font: italic 400 20px/1 var(--font-title);
  color: var(--brand);
  margin-bottom: 14px;
}
.step p { color: var(--text-soft); font-size: 16px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
  .step { padding: 0 0 36px 32px; }
  .step::before { top: 0; left: -13px; padding: 4px 0; }
}

/* ---------- 05 Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(220px, 26vw, 340px);
  gap: clamp(12px, 1.6vw, 20px);
}
.gallery-item {
  position: relative;
  padding: 0; border: 0; background: none;
  cursor: pointer; text-align: left; color: var(--on-dark);
  font: inherit;
}
.gallery-item .slot { position: absolute; inset: 0; }
.gallery-item img { transition: transform .9s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(46,26,51,.6));
  display: flex; flex-direction: column;
}
.gallery-caption span { font: 500 26px/1.1 var(--font-title); }
.gallery-caption small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }

@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gi-tall { grid-row: span 2; }
  .gi-wide { grid-column: span 2; }
}

/* ---------- Case study dialog ---------- */
.case {
  width: min(1000px, 100% - 32px);
  max-height: calc(100% - 32px);
  padding: 0; border: 0;
  background: var(--bg); color: var(--text);
  overflow-y: auto;
}
.case::backdrop { background: rgba(46,26,51,.75); }
.case-close {
  position: sticky; top: 12px; float: right; z-index: 2;
  margin: 12px 12px -56px 0;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--bg); color: var(--text);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.case-hero { aspect-ratio: 16 / 9; }
.case-body { padding: clamp(24px, 5vw, 56px); }
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 32px 0 40px;
}
.case-grid .slot { aspect-ratio: 4 / 5; }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 06/07 Split sections ---------- */
.split-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-media { aspect-ratio: 4 / 5; }
.split-text h2 { margin-bottom: 28px; }
.tick-list { list-style: none; margin: 0 0 36px; padding: 0; }
.tick-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tick-list strong { color: var(--text); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.tag-list li {
  padding: 8px 18px;
  border: 1px solid var(--brand-2);
  border-radius: 999px;
  font-size: 14px;
}
@media (max-width: 860px) {
  .split-inner { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
}

/* ---------- 08 Chi siamo ---------- */
.about {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about-media { aspect-ratio: 3 / 4; }
.about-text p { color: var(--text-soft); max-width: 52ch; }
.signature { font: italic 400 24px/1.3 var(--font-title); color: var(--brand) !important; margin-top: 28px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3; }
}

/* ---------- 09 Contatti ---------- */
.contact { position: relative; padding: var(--section-y) 0; color: var(--on-dark); overflow: hidden; }
.contact-media { position: absolute; inset: 0; }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(46,26,51,.72), rgba(126,46,110,.45)); }
.contact-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-head h2 { font-size: clamp(38px, 5vw, 64px); }
.contact-head p { opacity: .9; }

.lead-form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  background: var(--bg);
  color: var(--text);
  padding: clamp(24px, 4vw, 44px);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-tint);
  color: var(--text);
  font: 400 16px/1.4 var(--font-body);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--bg); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.field-check label { font-weight: 300; letter-spacing: 0; font-size: 14px; color: var(--text-soft); }
.form-actions .btn { width: 100%; }
.form-status { margin: 12px 0 0; font-size: 14px; min-height: 1.4em; }
.form-status.is-error { color: #B3261E; }
.form-status.is-ok { color: var(--brand-dark); }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lead-form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,.85); padding: 56px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer .brand-main { color: var(--magic); }
.site-footer .brand-sub { color: var(--brand-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-legal a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-legal { margin: 0; opacity: .7; }

/* ---------- Reveal (una sola animazione discreta) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ==========================================================================
   MAGIC — piccoli tocchi scenografici
   Polvere dorata (canvas in js/main.js), stelline, riflessi.
   Tutto si spegne con prefers-reduced-motion.
   ========================================================================== */

/* Stellina davanti alle eyebrow */
.eyebrow::before { content: "✦"; margin-right: .7em; color: var(--magic); }
.eyebrow-light::before { color: var(--magic-light); }
.center .eyebrow::after { content: "✦"; margin-left: .7em; color: var(--magic); }

/* Parole in corsivo: riflesso dorato che scorre lentamente */
h2 em {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand) 38%, var(--magic) 50%, var(--brand) 62%, var(--brand) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
.hero-title em {
  background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--magic-light) 50%, #fff 62%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
  padding-right: .08em; /* evita il taglio del corsivo */
}
@keyframes shimmer { from { background-position: 125% 0; } to { background-position: -125% 0; } }

/* Hero: il titolo appare riga per riga, da sfocato a nitido */
.js .hero-line { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(10px); animation: appear 1.4s var(--ease) forwards; }
.js .hero-line:nth-child(3) { animation-delay: .35s; }
.js .hero-line:nth-child(5) { animation-delay: .7s; }
.js .hero-pillars, .js .hero-ctas, .js .hero .eyebrow { opacity: 0; animation: appear 1.2s var(--ease) 1.1s forwards; }
@keyframes appear { to { opacity: 1; filter: none; transform: none; } }

/* Canvas della polvere dorata */
.magic-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .magic-dust { z-index: 0; }
.hero-content { z-index: 1; }

/* Bottoni: lampo di luce al passaggio */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { left: 130%; }

/* Card e gallery: una stellina compare al passaggio */
.card { position: relative; }
.card::after, .gallery-item::after {
  content: "✦";
  position: absolute; top: 14px; right: 16px; z-index: 2;
  font-size: 22px; line-height: 1;
  color: var(--magic);
  text-shadow: 0 0 6px #fff, 0 0 14px var(--magic-light);
  opacity: 0;
  transform: scale(.3) rotate(-90deg);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.card:hover::after, .gallery-item:hover::after,
.card:focus-visible::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }

/* Stelline del metodo: brillano a turno */
.step::before { animation: twinkle 3.2s ease-in-out infinite; }
.step:nth-child(2)::before { animation-delay: .6s; }
.step:nth-child(3)::before { animation-delay: 1.2s; }
.step:nth-child(4)::before { animation-delay: 1.8s; }
.step:nth-child(5)::before { animation-delay: 2.4s; }
@keyframes twinkle {
  0%, 100% { opacity: .55; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 10px rgba(201,162,64,.8); }
}

/* Divisore con stellina tra le sezioni */
.magic-divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--magic); font-size: 14px; line-height: 1;
}
.magic-divider::before, .magic-divider::after {
  content: ""; width: 72px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--magic));
}
.magic-divider::after { transform: scaleX(-1); }
.intro .magic-divider { margin: -8px 0 40px; }

/* Scintille al click sui bottoni principali (create da js) */
.spark {
  position: fixed; z-index: 100;
  pointer-events: none;
  font-size: 12px; line-height: 1;
  color: var(--magic);
  text-shadow: 0 0 8px var(--magic-light);
  animation: spark .9s var(--ease) forwards;
}
@keyframes spark {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2) rotate(180deg); }
}

/* Footer: una stellina accanto a Wedding Magic */
.brand-sub::after { content: " ✦"; color: var(--magic); }

@media (prefers-reduced-motion: reduce) {
  h2 em, .hero-title em, .step::before { animation: none; }
  .js .hero-line, .js .hero-pillars, .js .hero-ctas, .js .hero .eyebrow { opacity: 1; filter: none; transform: none; animation: none; }
  .magic-dust { display: none; }
}

/* ---------- Oro e lilla: venature dorate come nel volantino ---------- */
.veins { position: relative; isolation: isolate; overflow: hidden; }
.veins::before, .veins::after {
  content: "";
  position: absolute; z-index: -1;
  width: clamp(120px, 20vw, 300px);
  height: clamp(180px, 30vw, 450px);
  background: url("gold-veins.svg") no-repeat center / contain;
  opacity: .9;
  pointer-events: none;
}
.veins::before { top: 0; left: 0; }
.veins::after { bottom: 0; right: 0; transform: rotate(180deg); }
@media (max-width: 700px) {
  .veins::before, .veins::after { opacity: .45; }
}

/* Citazione dal volantino */
.quote-band { padding: clamp(64px, 9vw, 112px) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 760px; }
.quote-band p {
  font: italic 400 clamp(28px, 3.6vw, 44px)/1.3 var(--font-title);
  color: var(--brand);
  margin: 0 0 20px;
}
.quote-band footer { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--magic-dark); }

/* Link telefono nella CTA finale */
.contact-head a { color: inherit; text-decoration-color: var(--magic-light); text-underline-offset: 4px; }
