/* Palette variant (Cedric 2026-10-31 09:11): option1 layout/content/behavior
   unchanged; colors shifted from pink/mauve to the ORIGINAL cream+gold palette
   of official production 9953a02a (values sampled from its main.css). */

:root { --ink: #5d3036; }

/* page + entry backgrounds: pink -> warm cream */
body { background: #f9eaeb; }
body:not(.opened) { background-color: #f9eaeb !important; }
body:not(.opened) .portal-screen stop:first-child { stop-color: #f9eeef !important; }
body:not(.opened) .portal-screen stop:last-child { stop-color: #f5e0e2 !important; }

/* entry text: mauve -> gold-brown (ornamental gold gradients already gold) */
body:not(.opened) .entry, body:not(.opened) .entry-hint, body:not(.opened) .entry-names,
body:not(.opened) .entry-names span, body:not(.opened) .language-selector button { color: #773a44 !important; }
body:not(.opened) .entry-eyebrow, body:not(.opened) .entry-signoff, body:not(.opened) .entry-open { color: #b67984 !important; }
body:not(.opened) .language-selector button[aria-pressed=true] { border-bottom-color: #cc949e !important; color: #773a44 !important; }

/* invite text */
.invite-eyebrow { color: #b67984 !important; }
.invite-names { color: #5d3036 !important; }
.invite-amp { color: #cc949e !important; }
.invite-lead { color: #a55967 !important; }
.hf-venue, .cds, .cdn i, .eye, .vloc, .vlinks, .pcard .ds { color: #a55967; }
.hf-venue .orn, .vname small, .pcard li.sep { color: #cc949e; }
.cdnote, .vaddr { color: #b67984; }
.vmap .mp { background: #fdf6f3cc; color: #a55967; }

/* scratch card: pink cream -> official ivory card, rose accents -> gold */
.scratch-under { background: #fdf3f4; }
.scratch-under::before { border-color: #ddb2b8; }
.scratch-under-rule { background: #c0818c; }
.scratch-rsvp, .scratch-wrap a.scratch-rsvp { background: #a55967; color: #fcebee; }
.heart { fill: #c0818c; }

/* scroll cue */
.scroll-cue { color: #b67984; }

/* lower sections */
.pcard { background: #f5e0e2; box-shadow: inset 0 0 0 1px #773a44; }
.pcard .ti { color: #6a383f; }
.dh { color: #f7e4e6; }
.dd { color: #edd2d5; }

/* sound control (visual color only; behavior untouched) */
.snd { background: #96525ecc; }
.snd::before { color: #a55967; background: #fdf6f3d9; }

/* flourish divider: rose -> gold */
.flourish { stroke: #c0818c; fill: #c0818c; }

/* === Cédric 2026-10-31: "El gran dia" schedule section redesign (gold branch only) === */
/* Section: drop the olive band; keep it on the page cream */
.dayband{background:transparent!important;box-shadow:none!important;clip-path:none!important;padding:52px 20px 48px}
.dayband .dh{color:#773a44!important;margin-bottom:8px}
.dayband .dd{color:#b67984!important;margin-bottom:26px}
.dayband .sp-dy{opacity:.9!important}

/* Card: modern rounded soft-shadow card instead of clipped-corner block */
.pcard{background:#fffcfc!important;clip-path:none!important;border-radius:18px;border:1px solid #e7c9cd;box-shadow:0 14px 34px rgba(150,82,94,.13)!important;padding:22px 20px 18px}

/* Schedule rows: time column + details, hairline dividers */
.pcard li:not(.sep){display:grid;grid-template-columns:60px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:start;text-align:left;padding:13px 2px}
.pcard li b{grid-row:1/3;align-self:start;font-size:21px;line-height:1.15;color:#a55967}
.pcard .ti{font-size:11px;letter-spacing:.18em;line-height:1.4}
.pcard .ds{max-width:none;margin-top:3px}
.pcard li.sep{font-size:0!important;margin:0!important;border-top:1px solid #efd5d9;height:0}
.pcard li.sep::before{content:none}

/* Top corner plants: bring the barely-visible top sprays on screen (all widths) */
#edge .e-tr{right:-4px!important}
#edge .e-tl{left:-4px!important}

/* === Cédric 2026-10-31: audio toggle + clickable cue + sakura sprig === */
.snd{opacity:.92!important;cursor:pointer!important}
.scroll-cue{cursor:pointer;pointer-events:auto!important}
.cr-music{font-size:8.5px;letter-spacing:.08em;color:#c79099;margin:10px 0 0;text-align:center;opacity:.85}
.cr-music a{color:#b67984}
.dayband .sp-dy img{display:none}

/* sakura day bloom: keep the whole open flower on-screen, clear of the heading */
.dayband .sp-dy{left:14px!important;top:-2px!important;transform:none!important}

/* Rose-gold pass (2026-11-15): align standalone RSVP button with rose-gold accent */
.standalone-button{background:#a55967!important;color:#fdf3f4!important}
.standalone-button:hover{background:#96525e!important}

/* Anti-spoiler (2026-11-15): nothing below the scratch card before the reveal */
body.opened:not(:has(.scratch-wrap.is-revealed)) .cdbox,
body.opened:not(:has(.scratch-wrap.is-revealed)) .dayband,
body.opened:not(:has(.scratch-wrap.is-revealed)) .pcard,
body.opened:not(:has(.scratch-wrap.is-revealed)) .closing,
body.opened:not(:has(.scratch-wrap.is-revealed)) .invite-foot,
body.opened:not(:has(.scratch-wrap.is-revealed)) .vn,
body.opened:not(:has(.scratch-wrap.is-revealed)) .save-section,
body.opened:not(:has(.scratch-wrap.is-revealed)) .rsvp-form,
body.opened:not(:has(.scratch-wrap.is-revealed)) .rsvp-intro,
body.opened:not(:has(.scratch-wrap.is-revealed)) .rsvp-help,
body.opened:not(:has(.scratch-wrap.is-revealed)) .elopement-note,
body.opened:not(:has(.scratch-wrap.is-revealed)) .scroll-cue{display:none!important}

/* --- video-style restyle 2026-11-15: countdown, sakura timeline, venue --- */
.cdbox::before,.cdbox::after{display:none!important}
.cdbox .fr{display:none!important}
.cdbox{padding:30px 10px 10px!important}
.cdn{display:flex!important;grid-template-columns:none!important;justify-content:center;align-items:flex-start;gap:16px}
.cdn div{display:flex;flex-direction:column;align-items:center}
.cdn b{font-family:'Playfair Display',Georgia,serif!important;font-weight:400!important;font-size:46px!important;line-height:1;color:#6e3c44!important}
.cdn i{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:12.5px;letter-spacing:.02em;text-transform:lowercase;margin-top:8px}
.cdn .csep{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:32px;line-height:46px;color:#cc949e}
.tline{position:relative;max-width:440px;margin:30px auto 0;padding:8px 0 14px}
.tl-rail{position:absolute;left:50%;top:10px;bottom:20px;width:1px;background:linear-gradient(#e0b3bb,#b67984 30%,#b67984 70%,#e0b3bb)}
.tl-sakura{position:absolute;left:50%;top:0;width:28px;height:28px;transform:translate(-50%,-50%);z-index:2;transition:top .3s ease-out,transform .3s ease-out;filter:drop-shadow(0 3px 7px rgba(150,82,94,.35))}
.tl-sakura svg{width:100%;height:100%;display:block}
.pcard{background:transparent!important;border:none!important;box-shadow:none!important;clip-path:none!important;padding:0!important;border-radius:0!important}
.pcard ol{display:flex;flex-direction:column;gap:36px}
.pcard li:not(.sep){display:grid;grid-template-columns:1fr 26px 1fr;grid-template-rows:none;column-gap:0;align-items:center;text-align:left;padding:0}
.pcard .tm{grid-column:1;grid-row:1;text-align:right}
.pcard li .tm b{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:25px;line-height:1.1;color:#773a44}
.pcard li.prov .tm b::after{content:'*'}
.pcard li.prov b::after{content:none}
.pcard .tdot{grid-column:2;grid-row:1;justify-self:center;width:7px;height:7px;border-radius:50%;background:#a55967;box-shadow:0 0 0 3.5px #f9eaeb}
.pcard .tcol{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.pcard .tcol .ti{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:500;font-size:19px;letter-spacing:.03em;line-height:1.25;color:#6e3c44;text-transform:none}
.pcard .tcol .ds{font-size:10.5px;font-style:italic;letter-spacing:.03em;margin-top:0;color:#b67984;max-width:none}
.vill{margin:20px auto 4px;max-width:430px}
.vill img{width:100%;display:block;border-radius:14px;border:1px solid #ecd1d4;box-shadow:0 14px 32px rgba(150,82,94,.15)}
.vmap{margin:16px auto 0;max-width:430px}
.vmap iframe{width:100%;height:225px;border:0;border-radius:14px;box-shadow:0 12px 30px rgba(150,82,94,.13);border:1px solid #ecd1d4}
.vlinks{margin-top:16px}
@media(max-width:380px){.cdn b{font-size:38px!important}.cdn{gap:11px}.cdn .csep{font-size:27px;line-height:38px}.pcard li .tm b{font-size:22px}.pcard .tcol .ti{font-size:17px}}

/* sakura hop + containment (feedback 2026-11-15) */
.tl-sakura{transition:top .45s cubic-bezier(.34,1.4,.64,1),transform .45s cubic-bezier(.34,1.4,.64,1)}
.tl-sakura.hop{animation:sak-hop .55s ease}
@keyframes sak-hop{0%{margin-top:0}35%{margin-top:-13px}70%{margin-top:2px}100%{margin-top:0}}

/* venue band in illustration cream + illustration/map toggle (feedback 2026-11-15 b) */
.vn{background:#fcefd9!important;box-shadow:0 0 0 100vmax #fcefd9!important;clip-path:inset(0 -100vmax)!important;padding:42px 4px 36px!important;margin-top:18px}
.vill{margin:14px auto 2px;max-width:470px}
.vill img{border:none!important;border-radius:0!important;box-shadow:none!important}
.vtog{display:flex;justify-content:center;gap:8px;margin:18px 0 2px}
.vtog button{font-family:'Josefin Sans',sans-serif;font-size:10px;letter-spacing:.18em;padding:7px 16px;border-radius:999px;border:1px solid #ce909b;background:rgba(255,252,247,.45);color:#a55967;cursor:pointer;transition:all .25s ease}
.vtog button.on{background:#b76e79;border-color:#b76e79;color:#fdedef;box-shadow:0 4px 12px rgba(150,82,94,.25)}
.vmap{display:none;margin:14px auto 0;max-width:470px}
.vmap iframe{border:none!important;box-shadow:0 10px 28px rgba(150,82,94,.16)!important}
.vlinks{margin-top:18px}

/* remove decorative bg sakura from El gran dia; keep moving marker only (feedback 2026-11-15 c) */
.dayband .sp-dy{display:none!important}
.vmap iframe{border:0!important;outline:none!important}

/* revert cream band; restore carded illustration (feedback 2026-11-15 d) */
.vn{background:transparent!important;box-shadow:none!important;clip-path:none!important;padding:36px 4px 20px!important;margin-top:0!important}
.vill img{border:1px solid #ecd1d4!important;border-radius:14px!important;box-shadow:0 14px 32px rgba(150,82,94,.15)!important}
.vtog button{background:#fff3f4}

/* timeline redesign (feedback 2026-11-15 c): more air for the flower, text-weighted columns, provisional note */
.pcard li:not(.sep){grid-template-columns:.8fr 48px 1.2fr}
.tl-rail{left:calc(40% + 4.8px)}
.tl-sakura{left:calc(40% + 4.8px)}
.pcard .tcol .ds{font-size:11.5px}
.dayband .dnote{margin:16px 0 0;font-size:10.5px;font-style:italic;letter-spacing:.04em;color:#b67984;text-align:center}

/* dress code section (feedback 2026-11-15 d) */
.dcx{max-width:470px;margin:44px auto 0;padding:0 20px;text-align:center}
.dcx .dch{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:400;font-size:34px;line-height:1.15;color:#773a44;margin:0 0 10px}
.dcx .dcd{font-size:13px;line-height:1.55;font-style:italic;color:#8a5059;max-width:390px;margin:0 auto}
.dcx .dcill{margin:18px auto 4px;max-width:430px}
.dcx .dcill img{width:100%;display:block;border-radius:14px;border:1px solid #ecd1d4;box-shadow:0 14px 32px rgba(150,82,94,.15)}

/* RSVP wax-seal restyle + floral closure (feedback 2026-11-15 e) */
.rsvp-form{text-align:center}
.rsvp-intro h2{font-family:'Playfair Display',Georgia,serif!important;font-style:italic;font-weight:400!important;font-size:34px;line-height:1.15;color:#773a44}
.rsvp-intro p{max-width:400px;margin:0 auto;font-style:italic;color:#8a5059;font-size:13px;line-height:1.55}
.rsvp-form a[href^="formulari.html"]{position:relative;width:120px;height:120px;margin:22px auto 10px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:47% 53% 50% 50%/53% 47% 53% 47%;background:radial-gradient(circle at 34% 28%,#f0b3c6 0%,#dd84a2 52%,#c06484 100%);text-shadow:0 1px 2px rgba(140,50,80,.35);color:#fdf3f4;font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:23px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;box-shadow:0 12px 26px rgba(190,96,124,.4),inset 0 2px 5px rgba(254,235,237,.5),inset 0 -6px 12px rgba(150,60,80,.35);transform:rotate(-3deg);transition:transform .15s ease}
.rsvp-form a[href^="formulari.html"]:hover{transform:rotate(-3deg) scale(1.05)}
.rsvp-form a[href^="formulari.html"]::after{content:'';position:absolute;inset:8px;border:1.5px solid rgba(253,243,244,.55);border-radius:inherit}
.rsvp-form .rsvp-help{max-width:400px;margin:6px auto 0;font-size:11px;color:#b67984}
footer.closing{position:relative;overflow:hidden}
footer.closing>*:not(.cl-fl){position:relative;z-index:1}

/* tancament floral: sakura CC0 (rawpixel) amb alfa real; dos rams esvaïts ancorats a la caixa del peu; mides referides al disseny aprovat a 390px, en vw */
footer.closing{position:relative;z-index:0}
footer.closing .cl-fl{position:absolute;left:0;top:0;width:100%;height:100%;transform:none;background:none;pointer-events:none;z-index:-1}
footer.closing .cl-fl::before,footer.closing .cl-fl::after{content:'';position:absolute;background:url(sak-foot.webp?v=2) 0 0/100% 100% no-repeat;pointer-events:none}
footer.closing .cl-fl::before{left:-15.13vw;bottom:-12.82vw;width:84.6vw;aspect-ratio:1175/693}
footer.closing .cl-fl::after{left:-3.59vw;bottom:1.85vw;width:42.3vw;aspect-ratio:1175/693;transform:scaleX(-1)}
@media(min-width:701px){footer.closing .cl-fl::before{left:max(-85px,-15.13vw);bottom:clamp(-80px,-12.82vw,-25px);width:min(84.6vw,470px)}footer.closing .cl-fl::after{left:max(-40px,-3.59vw);bottom:clamp(14px,1.85vw,30px);width:min(42.3vw,235px)}}
@media(max-width:700px){footer.closing{padding-left:72px}}
/* fix peu mòbil: la caixa 100svh quedava curta quan Chrome Android amaga la barra -> tall sec sota les flors */
body:not(.skipentry) .invitation-card:has(.entry){height:100dvh!important;padding-top:56px!important}
/* selector d'idioma: espai reservat de 56px a dalt del tot (padding a la caixa; un marge col·lapsaria i faria scroll la finestra). 2px de marge al peu contra arrodoniment sub-píxel; l'scroll comença a sota, així mai no tapa text */
body:not(.skipentry) .invitation-card:has(.entry) .invitation-stage{height:calc(100dvh - 54px)!important}

/* marc floral (#edge) DAVANT del contingut a la pantalla inicial (demana Judith); fade proporcional en baixar el deixa invisible */
body.opened #edge{z-index:50}
/* escriptori: la línia de noms/data del peu, centrada com la resta del peu */
@media(min-width:701px){footer.closing{text-align:center;padding-bottom:215px!important}}
/* «Guarda la data»: mateixa cursiva serif marró que la resta de títols (com «Dress code») */
.save-heading{font-family:'Playfair Display',Georgia,serif!important;font-style:italic!important;font-weight:400!important;color:#773a44!important}
.elope-section{padding:6px 0 0;text-align:center}
.elope-section .elh{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:400;font-size:34px;line-height:1.15;color:#773a44;margin:0 0 10px}
@media(max-width:700px){.vloc{max-width:185px;margin-left:auto;margin-right:auto}}

footer.closing,footer.closing p,footer.closing b,footer.closing strong,.invite-foot{color:#6e3c44}

/* «La celebració»: la explicación al mateix color que la resta d'explicacions (petició Judith) */
.elopement-note{color:#a55967!important}
/* Judith 2026-11-16: espai uniforme ~72px de contingut a contingut entre apartats */
.cdbox{margin-top:42px!important}
.elope-section{margin-top:48px!important}
.vn{margin-top:36px!important}
.dayband{margin-top:-20px!important}
.dcx{margin:24px auto 0!important}
.rsvp-form{margin-top:39px!important}
footer.closing{margin-top:2px!important}

