/* Giovanna & Enzo — 18.09.2027
   Palette and type taken 1:1 from the wireframe. Motion states live at the bottom. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/bodoni-moda.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/bodoni-moda-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/inter.woff2') format('woff2'); }

:root {
  --wine-950: #2E0A13;
  --wine-900: #3A0C17;
  --wine-800: #4B0F1E;
  --wine-600: #6E1A2C;
  --gold: #C9A45E;
  --gold-light: #E2C78C;
  --gold-dark: #B08D4F;
  --bronze: #7A5A24;
  --cream: #F8F2E9;
  --sand: #F1E7DA;
  --paper: #FFFDF9;
  --line: #D9C6A5;
  --line-soft: #E2D3BF;
  --ink: #2A0B12;
  --body: #4A3A36;
  --muted: #6B5A55;
  --card-text: #5A4843;
  --on-dark: #F1E6D6;
  --on-dark-soft: #EADBC7;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 24px 48px -36px rgba(74, 15, 30, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
a { color: var(--wine-600); }
a:hover { color: var(--wine-800); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-light); color: var(--wine-950); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--wine-950); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--lg { max-width: 1164px; }
.wrap--md { max-width: 1040px; }
.wrap--sm { max-width: 824px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stack-10 > * + * { margin-top: 10px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-22 > * + * { margin-top: 22px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-26 > * + * { margin-top: 26px; }
.stack-40 > * + * { margin-top: 40px; }
.stack-56 > * + * { margin-top: 56px; }
.measure { max-width: 680px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 72px); }
.split--top { align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--reverse > figure { order: 2; }
.todo { color: var(--bronze); font-style: italic; }

/* ---------- Type ---------- */
.eyebrow { font: 400 12px/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--bronze); }
.eyebrow--gold { color: var(--gold-light); }
.h1 { font: 400 clamp(52px, 7vw, 96px)/1 var(--serif); color: var(--wine-800); letter-spacing: -.01em; }
.h2 { font: 400 clamp(36px, 4.4vw, 52px)/1.1 var(--serif); color: var(--wine-800); }
.h2--lg { font-size: clamp(38px, 4.8vw, 56px); }
.h2--xl { font-size: clamp(44px, 5.6vw, 64px); line-height: 1.05; }
.h3 { font: 400 clamp(30px, 3.4vw, 40px)/1.15 var(--serif); color: var(--wine-800); }
.lead-italic { font: italic 400 clamp(20px, 2.2vw, 24px)/1.4 var(--serif); color: var(--wine-600); }
.lead-italic--sm { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--wine-800); }
.body-lg { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--body); }
.small { font-size: 15px; line-height: 1.6; color: var(--card-text); }
.meta { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.on-dark { color: var(--cream); }
.on-dark-soft { color: var(--on-dark-soft); }
.on-dark-gold { color: var(--gold-light); }
.prose > p:not(.eyebrow):not(.lead-italic):not(.punchline) { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--body); }
.prose--center { max-width: 820px; margin: 0 auto; text-align: center; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ornament span { width: 64px; height: 1px; background: var(--gold-dark); }
.ornament svg { fill: var(--gold-dark); }
.ornament--light span { background: var(--gold); width: 72px; }
.ornament--light svg { fill: var(--gold); }

/* split text helpers */
.line-mask { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-char, .split-word { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn-row--start { justify-content: flex-start; }
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 34px; border-radius: 999px; font: 500 15px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.btn--sm { min-height: 48px; padding: 0 24px; font-size: 14px; }
.btn--lg { min-height: 58px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--wine-950); box-shadow: 0 14px 30px -18px rgba(201, 164, 94, .8); }
.btn--gold:hover { background: var(--gold-light); color: var(--wine-950); box-shadow: 0 20px 40px -18px rgba(201, 164, 94, .9); }
.btn--ghost-light { border-color: var(--gold); color: var(--on-dark); }
.btn--ghost-light:hover { background: rgba(201, 164, 94, .16); color: var(--cream); }
.btn--wine { background: var(--wine-600); color: var(--cream); box-shadow: 0 14px 30px -18px rgba(110, 26, 44, .8); }
.btn--wine:hover { background: var(--wine-800); color: var(--cream); }
.btn--outline { border-color: var(--wine-600); color: var(--wine-600); }
.btn--outline:hover { background: var(--wine-600); color: var(--cream); }
.btn .i-arrow { transition: transform .4s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
/* Light sweep across the button every few seconds */
.btn--shine::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); transform: translateX(-120%); animation: shine 5.5s var(--ease) infinite 2.4s; }
@keyframes shine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }
.btn__spinner { display: none; width: 20px; height: 20px; border: 2px solid rgba(248, 242, 233, .35); border-top-color: var(--cream); border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn__label { opacity: .0; }
.btn.is-loading .btn__spinner { display: block; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Monogram ---------- */
.mono { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--gold); font-family: var(--serif); color: var(--gold-light); line-height: 1; }
.mono i { font-style: italic; font-size: .64em; margin: .32em .06em 0; }
.mono--sm { width: 46px; height: 46px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--wine-800); border-bottom: 1px solid rgba(201, 164, 94, .35); transition: transform .5s var(--ease), background-color .4s; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { background: rgba(75, 15, 30, .92); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); }
.site-header__inner { max-width: 1240px; margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.brand__name { font: 400 21px/1 var(--serif); color: var(--cream); }
.brand:hover .mono { transform: rotate(-8deg); }
.brand .mono { transition: transform .6s var(--ease); }
.nav { display: none; align-items: center; gap: 4px 28px; }
.nav__link { position: relative; color: var(--on-dark); text-decoration: none; font-size: 14px; letter-spacing: .04em; padding: 12px 0; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover { color: var(--gold-light); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current] { color: var(--gold-light); }
.nav__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background-color .4s var(--ease), color .4s var(--ease); }
.nav__cta:hover, .nav__cta.is-current { background: var(--gold); color: var(--wine-950); }
.burger { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 7px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--gold-light); transition: transform .4s var(--ease), width .4s var(--ease); }
.burger span:last-child { width: 16px; margin-left: auto; }
.burger:hover span:last-child { width: 24px; }
@media (min-width: 1080px) { .nav { display: flex; } .burger { display: none; } }
@media (max-width: 420px) { .brand__name { font-size: 18px; } .mono--sm { width: 40px; height: 40px; font-size: 15px; } }

/* ---------- Mobile menu ---------- */
.menu { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; color: var(--cream); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__bg { position: absolute; inset: 0; z-index: -1; background: var(--wine-800); background-image: radial-gradient(120% 60% at 100% 0%, rgba(201, 164, 94, .16), transparent 60%); }
.menu__top { padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(201, 164, 94, .35); }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--gold-light); cursor: pointer; }
.menu__nav { flex: 1 1 auto; padding: 32px 24px; display: flex; flex-direction: column; }
.menu__link { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(201, 164, 94, .25); text-decoration: none; overflow: hidden; }
.menu__num { font: 400 15px var(--serif); color: var(--gold); }
.menu__label { font: 400 clamp(30px, 8vw, 40px)/1.1 var(--serif); color: var(--cream); transition: color .3s, transform .5s var(--ease); }
.menu__link[aria-current] .menu__label, .menu__link:hover .menu__label { color: var(--gold-light); }
.menu__link:hover .menu__label { transform: translateX(8px); }
.menu__foot { padding: 0 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.menu__date { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #D9C7B2; }
.menu__tag { font: italic 16px var(--serif); color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero { background: var(--wine-900); padding: clamp(10px, 1.7vw, 24px); }
.hero__frame { position: relative; z-index: 0; overflow: hidden; border: 1px solid rgba(201, 164, 94, .45); border-radius: clamp(20px, 2vw, 28px); min-height: max(640px, calc(100svh - var(--header-h) - 48px)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(80px, 9vw, 112px) 24px; }
.hero__media { position: absolute; z-index: -3; inset: -8% 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__shade { position: absolute; z-index: -2; inset: 0; background: radial-gradient(90% 70% at 50% 45%, rgba(46, 10, 19, .5), rgba(46, 10, 19, .78)), rgba(46, 10, 19, .2); }
.hero__stars { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__content { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero__mono { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.hero__mono svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1; }
.hero__mono svg .dim { stroke: rgba(201, 164, 94, .5); }
.hero__mono-letters { position: relative; display: flex; align-items: center; font-family: var(--serif); color: var(--gold-light); line-height: 1; }
.hero__mono-letters b { font-weight: 400; font-size: 44px; }
.hero__mono-letters i { font-size: 22px; margin: 16px 2px 0; }
.hero__title { font: 400 clamp(56px, 8.4vw, 128px)/1 var(--serif); letter-spacing: -.01em; color: var(--cream); }
.hero__title em { color: var(--gold-light); }
.hero__tagline { font: italic 400 clamp(22px, 2.4vw, 28px)/1.3 var(--serif); color: var(--gold-light); }
.hero__date { font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark); }
.hero .btn-row { margin-top: 12px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(226, 199, 140, .6); border-radius: 999px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--gold-light); animation: scrollcue 2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@media (max-width: 640px) { .hero__date { letter-spacing: .14em; } .hero__mono { width: 104px; height: 104px; } .hero__mono-letters b { font-size: 34px; } .hero__scroll { display: none; } .hero__content { gap: 20px; } }

/* ---------- Countdown ---------- */
.countdown { padding: clamp(72px, 9vw, 96px) var(--gutter) clamp(72px, 9vw, 96px); }
.countdown .wrap { padding: 0; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: center; gap: 16px; width: 100%; }
.arch-card { background: var(--paper); border: 1px solid var(--line); border-radius: 999px 999px 18px 18px; padding: 52px 12px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.arch-card__num { display: block; position: relative; font: 400 clamp(46px, 5vw, 64px)/1 var(--serif); color: var(--wine-600); font-variant-numeric: lining-nums tabular-nums; height: 1em; overflow: hidden; min-width: 2ch; }
.arch-card__num .roll { display: block; }
.arch-card__label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .countdown__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .arch-card { padding: 40px 8px 24px; } }

/* ---------- Arch images ---------- */
.arch-img { position: relative; overflow: hidden; border-radius: 999px 999px 24px 24px; background: #E7D9CA; height: 600px; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch-img--xl { height: 760px; }
.arch-img--form { height: 720px; flex: 1 1 340px !important; }
@media (max-width: 900px) { .arch-img { height: 520px; } .arch-img--xl { height: 600px; } .arch-img--form { height: 460px; } }
@media (max-width: 520px) { .arch-img { height: 440px; } .arch-img--xl { height: 500px; } }

/* ---------- Welcome ---------- */
.welcome { padding: 24px 0 clamp(88px, 10vw, 120px); }
.signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.signature__name { font: italic 400 28px var(--serif); color: var(--wine-600); }
.signature__tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--bronze); }

/* ---------- Cards ---------- */
.pages-grid { background: var(--sand); padding: clamp(88px, 10vw, 112px) 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; perspective: 1200px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; color: var(--ink); text-decoration: none; transform-style: preserve-3d; overflow: hidden; }
.card--link { min-height: 290px; transition: box-shadow .5s var(--ease), border-color .5s var(--ease); }
.card--link:hover { color: var(--ink); border-color: var(--gold); box-shadow: 0 40px 70px -40px rgba(74, 15, 30, .5); }
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(226, 199, 140, .32), transparent 45%); opacity: 0; transition: opacity .5s; }
.card:hover::before { opacity: 1; }
.card__num { font: 400 20px var(--serif); color: var(--bronze); }
.card__title { font: 400 32px/1.15 var(--serif); color: var(--wine-800); }
.card__title--sm { font-size: 28px; }
.card__text { flex-grow: 1; font-size: 15px; line-height: 1.6; color: var(--card-text); }
.card__more { display: inline-flex; align-items: center; gap: 8px; font: italic 400 20px var(--serif); color: var(--wine-600); text-decoration: none; }
.card__more .i-arrow { transition: transform .5s var(--ease); }
.card:hover .card__more .i-arrow { transform: translateX(6px); }
.card--info { padding: 40px 36px; gap: 24px; }
.card--dashed { border-style: dashed; border-color: #CDB9A0; box-shadow: none; }
.card__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--wine-600); background: var(--cream); }
.card--stay { gap: 14px; }
.card__bignum { position: absolute; right: 18px; top: -18px; font: italic 400 120px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(176, 141, 79, .4); pointer-events: none; }
.dl { display: flex; flex-direction: column; gap: 18px; }
.dl dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.dl dd { font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- Share / hashtag ---------- */
.share { padding: clamp(96px, 11vw, 120px) 0; }
.hashtag { width: calc(100vw - 2 * var(--gutter)); max-width: 1100px; white-space: nowrap; font: 400 min(72px, calc((100vw - 2 * var(--gutter)) / 14.8))/1.15 var(--serif); color: var(--wine-600); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--wine-950); border-block: 1px solid rgba(201, 164, 94, .3); padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; white-space: nowrap; font: 400 clamp(26px, 3vw, 40px)/1 var(--serif); color: var(--on-dark); }
.marquee__track i { color: var(--gold-light); }
.marquee__track b { font-weight: 400; color: var(--gold); font-size: .5em; }

/* ---------- RSVP band ---------- */
.rsvp-band { position: relative; overflow: hidden; background: var(--wine-800); padding: clamp(96px, 11vw, 120px) 0; }
.rsvp-band__glow { position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 199, 140, .28), transparent 62%); pointer-events: none; transform: translate(50vw, 50%); }
.rsvp-band .wrap { position: relative; }

/* ---------- Closing ---------- */
.closing { padding: clamp(104px, 12vw, 128px) 0; }
.closing__letter { display: flex; flex-direction: column; gap: 22px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.8; color: var(--body); }
.closing__names { font: 400 clamp(36px, 4vw, 44px)/1 var(--serif); color: var(--wine-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-950); padding: 72px var(--gutter) 40px; color: #E9DCC8; }
.site-footer__inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-mono { width: 64px; height: 64px; overflow: visible; }
.footer-mono circle { fill: none; stroke: var(--gold); stroke-width: 1; }
.footer-mono text { font: 400 22px var(--serif); fill: var(--gold-light); }
.site-footer__name { font: 400 30px var(--serif); color: var(--cream); }
.site-footer__date { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #D9C7B2; }
.site-footer__tag { font: italic 18px var(--serif); color: var(--gold-light); }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-top: 8px; }
.site-footer__nav a { color: #E9DCC8; text-decoration: none; font-size: 14px; padding: 12px 0; background: linear-gradient(var(--gold), var(--gold)) 0 80% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.site-footer__nav a:hover { color: var(--gold-light); background-size: 100% 1px; }
.site-footer__rule { width: 100%; height: 1px; background: rgba(201, 164, 94, .25); margin-top: 16px; }
.site-footer__credit { font-size: 12px; color: #B9A79A; }
.site-footer__credit a { color: inherit; text-decoration-color: rgba(201, 164, 94, .5); text-underline-offset: 3px; }
.site-footer__credit a:hover { color: var(--gold-light); }

/* ---------- Page titles / next ---------- */
.page-title { padding: clamp(88px, 10vw, 112px) 0 clamp(64px, 7vw, 80px); }
.page-title--tall { min-height: 70vh; display: flex; align-items: center; }
.next { padding: 64px 0 88px; }
.next--rule { border-top: 1px solid var(--line-soft); }
.next__link { display: inline-flex; align-items: center; gap: 16px; font: italic 400 clamp(36px, 5vw, 56px)/1.1 var(--serif); color: var(--wine-800); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; padding-bottom: 6px; transition: background-size .7s var(--ease), color .3s; }
.next__link:hover { background-size: 100% 1px; color: var(--wine-600); }
.next__link .i-arrow { color: var(--bronze); transition: transform .6s var(--ease); }
.next__link:hover .i-arrow { transform: translateX(10px); }

/* ---------- Storia ---------- */
.chapter { padding: 0 0 clamp(96px, 11vw, 128px); }
.chapter--sand { background: var(--sand); padding: clamp(88px, 10vw, 112px) 0; }
/* the quote gets wrapped in a pin-spacer, so a sibling selector won't reach this */
.chapter--after-quote { padding-top: clamp(112px, 12vw, 160px); }
.punchline { font: italic 400 clamp(26px, 3vw, 34px)/1.3 var(--serif); color: var(--wine-600); display: inline-block; position: relative; padding-bottom: 6px; }
.punchline::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(var(--u, 1)); }
.yes { font-weight: 500; color: var(--wine-600); background: linear-gradient(transparent 62%, rgba(226, 199, 140, .55) 62%) 0 0 / var(--hl, 100%) 100% no-repeat; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__img { overflow: hidden; border-radius: 24px; height: 640px; background: #E7D9CA; }
.duo__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo__img { height: 480px; } }
.quote { position: relative; overflow: hidden; background: var(--wine-800); padding: clamp(96px, 12vw, 140px) 0; min-height: 70vh; display: flex; align-items: center; }
.quote__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.quote .wrap { position: relative; }
.quote__mark { font: 400 clamp(110px, 14vw, 180px)/.6 var(--serif); color: var(--gold); display: block; height: .55em; }
.quote__text { font: italic 400 clamp(36px, 5.4vw, 72px)/1.15 var(--serif); color: var(--cream); max-width: 15em; }
.quote__text .split-word { transition: color .4s; }
.arch-img--ring { overflow: visible; background: none; }
.arch-img--ring img { border-radius: 999px 999px 24px 24px; background: #E7D9CA; }
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkle { position: absolute; width: 16px; height: 16px; margin: -8px; fill: var(--gold-light); filter: drop-shadow(0 0 6px rgba(226, 199, 140, .9)); }
.chapters-rail { display: none; }
@media (min-width: 1400px) {
  .chapters-rail { position: fixed; left: 28px; top: 50%; z-index: 50; transform: translateY(-50%); display: flex; flex-direction: column; gap: 48px; padding: 8px 0; opacity: 0; pointer-events: none; transition: opacity .5s; }
  .chapters-rail.is-on { opacity: 1; pointer-events: auto; }
  .chapters-rail__line { position: absolute; left: 13px; top: 0; bottom: 0; width: 1px; background: var(--line); }
  .chapters-rail__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
  .chapters-rail a { position: relative; display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .chapters-rail a span { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line); font: 400 11px var(--serif); color: var(--bronze); transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease); }
  .chapters-rail a em { font: italic 13px var(--serif); color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s var(--ease); }
  .chapters-rail a:hover em, .chapters-rail a.is-active em { opacity: 1; transform: none; }
  .chapters-rail a.is-active span { background: var(--wine-600); border-color: var(--wine-600); color: var(--gold-light); transform: scale(1.12); }
}
.finale { background: var(--wine-900); padding: clamp(10px, 1.7vw, 24px); }
.finale__stage { height: calc(100svh - clamp(20px, 3.4vw, 48px)); min-height: 560px; display: grid; place-items: center; }
.finale__frame { position: relative; overflow: hidden; width: 100%; height: 100%; border: 1px solid rgba(201, 164, 94, .45); border-radius: 28px; display: grid; place-items: center; padding: 48px 24px; }
.finale__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.finale__frame { z-index: 0; }
.finale__shade { position: absolute; inset: 0; z-index: -1; background: rgba(46, 10, 19, .62); }

/* ---------- Giorno ---------- */
.schedule { --s-bg: #F1E7DA; --s-ink: #4B0F1E; --s-body: #4A3A36; --s-muted: #7A5A24; --s-line: #D9C6A5; --s-dot: #FFFDF9; position: relative; overflow: clip; background: var(--s-bg); padding: clamp(88px, 10vw, 104px) 0; }
.schedule__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--s-stars, 0); pointer-events: none; }
.schedule__grid { position: relative; display: flex; flex-wrap: wrap; gap: 56px 72px; }
.schedule__intro { flex: 1 1 300px; }
.schedule__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.eyebrow--var { color: var(--s-muted); }
.h2--var { color: var(--s-ink); }
.schedule__note { font-size: 17px; line-height: 1.7; color: var(--s-body); }
.clock { display: flex; align-items: center; gap: 20px; padding-top: 12px; }
.clock__time { font: 400 clamp(56px, 6vw, 84px)/1 var(--serif); color: var(--s-ink); font-variant-numeric: lining-nums tabular-nums; }
.clock__sky { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--s-line); overflow: hidden; }
.clock__sun { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 22px 6px rgba(226, 199, 140, .6); }
.timeline { flex: 2 1 560px; position: relative; }
.timeline__line { position: absolute; left: 100px; top: 10px; bottom: 10px; width: 1px; background: var(--s-line); }
.timeline__line span { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--gold-light)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px rgba(226, 199, 140, .7); }
.timeline__list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.tl-item { position: relative; display: grid; grid-template-columns: 76px 48px 1fr; align-items: start; padding-bottom: clamp(40px, 7vh, 72px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item__time { font: 400 22px/1.2 var(--serif); color: var(--s-muted); text-align: right; padding-top: 2px; transition: color .4s; }
.tl-item__dot { justify-self: center; margin-top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--s-dot); border: 1px solid var(--gold); position: relative; z-index: 1; transition: background-color .5s, box-shadow .5s, transform .5s var(--ease); }
.tl-item.is-active .tl-item__dot { background: var(--gold); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(201, 164, 94, .18), 0 0 18px rgba(226, 199, 140, .8); }
.tl-item.is-active .tl-item__time { color: var(--s-ink); }
.tl-item__body h3 { font: 400 26px/1.2 var(--serif); color: var(--s-ink); margin-bottom: 8px; }
.tl-item__body p { font-size: 16px; line-height: 1.65; color: var(--s-body); }
@media (max-width: 640px) {
  .tl-item { grid-template-columns: 58px 36px 1fr; }
  .tl-item__time { font-size: 18px; }
  .timeline__line { left: 76px; }
  .tl-item__body h3 { font-size: 23px; }
  .schedule__sticky { position: static; }
  .clock { display: none; }
}
.ceremony { position: relative; overflow: hidden; background: var(--wine-800); padding: clamp(96px, 11vw, 112px) 0; }
.ceremony .wrap { position: relative; }
.olive { position: absolute; width: clamp(120px, 16vw, 220px); height: auto; bottom: -20px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
.olive--left { left: 2%; }
.olive--right { right: 2%; transform: scaleX(-1); }
.olive__leaf { fill: rgba(201, 164, 94, .08); }
@media (max-width: 720px) { .olive { opacity: .25; } }
.location { background: var(--cream); padding: clamp(88px, 10vw, 112px) 0; }
.location__grid { display: flex; flex-wrap: wrap; gap: 32px; }
.map { flex: 3 1 520px; min-height: 600px; position: relative; overflow: hidden; background: #EADFD2; border: 1px solid #D2BFA9; border-radius: 24px; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__contours path, .map__contours ellipse { fill: none; stroke: #CDB9A0; stroke-width: 1; }
.map__road-bg { fill: none; stroke: #F8F2E9; stroke-width: 10; stroke-linecap: round; }
.map__road { fill: none; stroke: var(--gold-dark); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.map__trees circle { fill: #B9AE8E; opacity: .7; }
.map__label { font: italic 18px var(--serif); fill: var(--bronze); }
.map__label--sea { text-anchor: end; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: grid; place-items: center; }
.map__pin svg { position: relative; filter: drop-shadow(0 8px 10px rgba(74, 15, 30, .35)); }
.map__pulse { position: absolute; left: 50%; bottom: -4px; width: 16px; height: 6px; margin-left: -8px; border-radius: 50%; background: rgba(110, 26, 44, .35); }
.map__pulse::before, .map__pulse::after { content: ''; position: absolute; left: 50%; top: 50%; width: 80px; height: 30px; margin: -15px -40px; border-radius: 50%; border: 1px solid rgba(110, 26, 44, .45); animation: pulse 2.6s var(--ease) infinite; }
.map__pulse::after { animation-delay: 1.3s; }
@keyframes pulse { 0% { transform: scale(.1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.map__tag { position: absolute; left: 50%; top: calc(50% + 14px); transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: italic 16px var(--serif); color: var(--wine-800); white-space: nowrap; box-shadow: var(--shadow); }
.location__side { flex: 2 1 360px; display: flex; flex-direction: column; gap: 28px; }
.location__side p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--body); }
.location__side .small { font-size: 15px; color: var(--card-text); }
.photo-ph { min-height: 240px; border-radius: 24px; border: 1px dashed #CDB9A0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--bronze); font-size: 14px; letter-spacing: .04em; background: linear-gradient(110deg, #F1E7DA 30%, #F8F2E9 50%, #F1E7DA 70%) 0 0 / 300% 100%; animation: shimmer 3.2s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.address { padding: 20px 22px; border-radius: 16px; background: var(--sand); border: 1px solid var(--line-soft); }
.address .eyebrow { margin-bottom: 8px; }
.menu-sec { background: var(--sand); padding: clamp(88px, 10vw, 112px) 0; perspective: 1600px; }
.menu-card { background: var(--paper); border-radius: 28px; padding: 14px; box-shadow: 0 40px 80px -50px rgba(74, 15, 30, .5); transform-origin: top center; }
.menu-card__inner { border: 1px solid var(--gold); outline: 1px solid rgba(201, 164, 94, .45); outline-offset: -8px; border-radius: 20px; padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: 48px; }
.menu-card__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 56px; }
.course { text-align: center; }
.course h3 { font: italic 400 24px var(--serif); color: var(--wine-600); margin-bottom: 10px; }
.course p { font-size: 16px; line-height: 1.75; color: var(--body); }
.course::after { content: '✦'; display: block; margin-top: 18px; color: var(--gold); font-size: 10px; }
.dresscode { background: var(--wine-800); padding: clamp(88px, 10vw, 112px) 0; }
.dresscode .wrap--sm { margin: 0 auto; }
.dress-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; perspective: 1400px; }
.dress-card { border: 1px solid rgba(201, 164, 94, .45); border-radius: 22px; padding: 40px 32px; text-align: center; background: rgba(46, 10, 19, .35); display: flex; flex-direction: column; align-items: center; gap: 14px; transition: background-color .5s, border-color .5s, transform .6s var(--ease); }
.dress-card:hover { background: rgba(46, 10, 19, .6); border-color: var(--gold); transform: translateY(-6px); }
.dress-card__icon svg { fill: none; stroke: var(--gold-light); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.dress-card h3 { font: 400 28px var(--serif); color: var(--cream); }
.dress-card p { color: var(--on-dark-soft); line-height: 1.65; }

/* ---------- Viaggio ---------- */
.travel { padding: 0 0 clamp(88px, 10vw, 112px); }
.route { max-width: 1000px; margin-left: auto; margin-right: auto; }
.route svg { width: 100%; height: auto; overflow: visible; }
.route__dash { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 8; }
.route__trail { fill: none; stroke: var(--gold-dark); stroke-width: 2; }
.route__stop circle { fill: var(--wine-600); }
.route__stop .ring { fill: none; stroke: var(--gold); stroke-width: 1; }
.route__city { font: italic 22px var(--serif); fill: var(--wine-800); }
.route__time { font: 500 13px var(--sans); letter-spacing: .2em; fill: var(--bronze); }
@media (max-width: 640px) { .route__city { font-size: 46px; } .route__time { font-size: 26px; } .route__stop circle { r: 14px; } .route__stop .ring { r: 26px; } }
.route__plane path { fill: none; stroke: var(--wine-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note { max-width: 760px; margin-left: auto; margin-right: auto; padding: 24px 28px; border-radius: 18px; background: var(--sand); border: 1px solid var(--line-soft); text-align: center; }
.note .eyebrow { margin-bottom: 8px; }
.note p:not(.eyebrow) { color: var(--body); }
.stay { background: var(--sand); padding: clamp(88px, 10vw, 112px) 0; }
.stay__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.stay__head > * { flex: 1 1 380px; }
.discover { background: var(--wine-800); overflow: hidden; }
.discover__pin { padding: clamp(88px, 10vw, 112px) 0; display: flex; flex-direction: column; gap: 56px; }
.discover__head { display: flex; flex-direction: column; gap: 16px; }
.discover__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto; width: 100%; }
.place { position: relative; border: 1px solid rgba(201, 164, 94, .4); border-radius: 22px; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; background: rgba(46, 10, 19, .3); overflow: hidden; }
.place__num { position: absolute; right: 22px; top: 18px; font: italic 400 28px var(--serif); color: var(--gold); }
.place__art { width: 120px; height: 80px; fill: none; stroke: var(--gold-light); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.place h3 { font: 400 32px/1.1 var(--serif); color: var(--cream); }
.place p { color: var(--on-dark-soft); line-height: 1.65; }
.discover__foot { margin: 0 auto; max-width: 900px; text-align: center; }
/* horizontal pinned gallery on large screens (class added by JS) */
.discover.is-horizontal .discover__pin { height: 100svh; justify-content: center; gap: 48px; padding: calc(var(--header-h) + 24px) 0 48px; }
.discover.is-horizontal .discover__track { display: flex; gap: 32px; max-width: none; margin: 0; padding: 0 0 0 max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); width: max-content; }
.discover.is-horizontal .place { width: min(560px, 42vw); min-height: 380px; padding: 48px 44px; justify-content: flex-end; }
.discover.is-horizontal .place h3 { font-size: clamp(40px, 4vw, 56px); }
.discover.is-horizontal .place__num { font-size: 44px; }
.discover.is-horizontal .place p { font-size: 18px; max-width: 26em; }

/* ---------- Lista nozze ---------- */
.petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.fund { padding: 0 0 clamp(88px, 10vw, 112px); perspective: 1600px; }
.fund__card { display: flex; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(74, 15, 30, .4); }
.fund__dest { position: relative; overflow: hidden; flex: 1 1 360px; min-height: 460px; background: var(--wine-800); padding: 48px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; isolation: isolate; }
.fund__sun { position: absolute; z-index: -1; right: -40px; top: 40px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #D9475B, #9E2238 70%); box-shadow: 0 0 80px rgba(217, 71, 91, .35); opacity: .9; }
.fund__torii { position: absolute; z-index: -1; right: 24px; bottom: 0; width: 220px; height: auto; fill: none; stroke: rgba(226, 199, 140, .55); stroke-width: 3; stroke-linecap: round; }
.fund__icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-light); }
.fund__country { font: 400 clamp(52px, 6vw, 72px)/1 var(--serif); color: var(--cream); }
.fund__body { flex: 1.3 1 420px; padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px); }
.lockbox { display: flex; align-items: flex-start; gap: 14px; background: #F6EEE3; border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px 22px; color: var(--bronze); }
.lockbox svg { flex: 0 0 auto; margin-top: 2px; }
.lockbox p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* ---------- RSVP ---------- */
.rsvp { padding: 0 0 clamp(88px, 10vw, 112px); }
.split--form > .rsvp__panel { flex: 1.25 1 480px; }
.rsvp__panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 36px; }
.field-group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.legend { font: 400 28px/1.2 var(--serif); color: var(--wine-800); padding: 0; margin-bottom: 14px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { flex: 1 1 220px; position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid #CDB9A0; background: #fff; font-size: 16px; color: var(--ink); cursor: pointer; transition: border-color .35s, background-color .35s, color .35s, transform .35s var(--ease); }
.choice:hover { border-color: var(--wine-600); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--wine-600); }
.choice:has(input:checked) { border-color: var(--wine-600); background: #F6E9E4; color: var(--wine-800); font-weight: 500; }
.choice:active { transform: scale(.98); }
.hint { font-size: 14px; line-height: 1.6; color: var(--muted); }
.guests { display: flex; flex-direction: column; gap: 16px; }
.guest { position: relative; display: grid; gap: 14px; padding: 20px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line-soft); }
.guest__remove { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--wine-600); display: grid; place-items: center; cursor: pointer; transition: background-color .3s, transform .4s var(--ease); }
.guest__remove:hover { background: #F6E9E4; transform: rotate(90deg); }
.guest:first-child .guest__remove { display: none; }
.guest .field:first-child { padding-right: 48px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 14px; font-weight: 500; color: var(--wine-800); letter-spacing: .01em; }
.input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #CDB9A0; border-radius: 14px; background: #fff; font: 16px var(--sans); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.input::placeholder { color: #A8968A; }
.input:hover { border-color: var(--gold-dark); }
.input:focus { outline: none; border-color: var(--wine-600); box-shadow: 0 0 0 4px rgba(110, 26, 44, .12); }
.input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179, 38, 30, .1); }
.input--area { padding: 14px 16px; min-height: 120px; resize: vertical; line-height: 1.6; }
.add-guest { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px dashed var(--wine-600); background: none; color: var(--wine-600); font-weight: 500; cursor: pointer; transition: background-color .3s, border-style .3s; }
.add-guest:hover { background: #F6E9E4; border-style: solid; }
.add-guest svg { transition: transform .4s var(--ease); }
.add-guest:hover svg { transform: rotate(90deg); }
.kids { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: end; padding-top: 6px; }
.kids[hidden] { display: none; }
@media (max-width: 560px) { .kids { grid-template-columns: 1fr; } }
.kids__count { display: flex; flex-direction: column; gap: 8px; }
.stepper { display: flex; align-items: center; gap: 4px; border: 1px solid #CDB9A0; border-radius: 999px; padding: 4px; background: #fff; width: max-content; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--wine-600); display: grid; place-items: center; cursor: pointer; transition: background-color .3s; }
.stepper button:hover { background: #F6E9E4; }
.stepper output { min-width: 40px; text-align: center; font: 400 24px var(--serif); color: var(--wine-800); }
.form__status { min-height: 1.4em; font-size: 14px; color: #B3261E; text-align: center; }
.form__status:empty { display: none; }
.thanks { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 40px 0; outline: none; }
.thanks[hidden] { display: none; }
.thanks__check circle { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.thanks__check path { fill: none; stroke: var(--wine-600); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
[data-yes-only].is-off { display: none; }
.faq { background: var(--sand); padding: clamp(88px, 10vw, 112px) 0; }
.faq__grid { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.faq__grid > :first-child { flex: 1 1 280px; }
.accordion { flex: 2 1 520px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 clamp(20px, 2vw, 24px)/1.3 var(--serif); color: var(--wine-800); transition: color .3s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--wine-600); }
.acc-icon { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .4s, border-color .4s; }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px -6px; background: var(--wine-600); transition: transform .5s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
details[open] .acc-icon { background: var(--wine-600); border-color: var(--wine-600); transform: rotate(180deg); }
details[open] .acc-icon::before, details[open] .acc-icon::after { background: var(--gold-light); }
details[open] .acc-icon::after { transform: rotate(0deg); }
.acc-body { overflow: hidden; }
.acc-body p { padding: 0 56px 24px 0; font-size: 17px; line-height: 1.7; color: var(--body); }

/* ---------- Overlays: intro, veil, progress, cursor ---------- */
.intro, .veil { display: none; }
.motion .intro { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--wine-950); }
.motion .intro.is-done { display: none; }
.intro__mono { width: min(200px, 46vw); height: auto; overflow: visible; }
.intro__ring { fill: none; stroke: var(--gold); stroke-width: 1; }
.intro__ring--in { stroke: rgba(201, 164, 94, .5); }
.intro__letters { font: 400 64px var(--serif); fill: var(--gold-light); }
.intro__date { font: 400 12px var(--sans); letter-spacing: .5em; color: var(--gold-light); padding-left: .5em; }
.motion .veil { position: fixed; inset: 0; z-index: 390; display: grid; place-items: center; background: var(--wine-950); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.motion .veil.is-covering, .motion.veil-in .veil { transform: scaleY(1); }
.motion.veil-in .veil__mono { opacity: 1; }
.veil__mono { font: 400 40px var(--serif); color: var(--gold-light); opacity: 0; }
.veil__mono i { font-size: .6em; margin: 0 .08em; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px; background: var(--gold); }
  .cursor__ring { width: 36px; height: 36px; margin: -18px; border: 1px solid rgba(201, 164, 94, .7); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px; background: rgba(201, 164, 94, .14); border-color: var(--gold); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Motion initial states (only while JS animates) ---------- */
.motion [data-reveal], .motion [data-split], .motion [data-arch], .motion [data-hero-content] > *, .motion [data-countdown] .arch-card, .motion [data-cards] > *, .motion [data-flip-cards] > *, .motion .course, .motion [data-menu-card], .motion [data-fund], .motion [data-duo] .duo__img, .motion [data-ring], .motion .place, .motion [data-finale-content], .motion [data-quote-text], .motion [data-hashtag], .motion [data-punch], .motion [data-map-pin], .motion .map__tag, .motion [data-ornament] { visibility: hidden; }
.motion .is-ready { visibility: visible !important; }

/* Reduced motion / JS fallback: everything static and visible */
.reduce .btn--shine::after, .reduce .photo-ph, .reduce .hero__scroll span, .reduce .map__pulse::before, .reduce .map__pulse::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
