/* Florence Space — decorative backgrounds for the public pages (light, warm, never dark). */

/* ---------- drifting colour mesh behind everything ---------- */
.bg-mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.bg-mesh i:nth-child(1) { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: #f6d3c8; }
.bg-mesh i:nth-child(2) { width: 46vw; height: 46vw; right: -10vw; top: 6vh; background: #f3dcc4; }
.bg-mesh i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; bottom: -16vw; background: #ead7e6; }
.bg-mesh i:nth-child(4) { width: 30vw; height: 30vw; right: 18vw; bottom: 10vh; background: #f8e1d6; opacity: .7; }
.motion .bg-mesh i:nth-child(1) { animation: drift1 28s ease-in-out infinite alternate; }
.motion .bg-mesh i:nth-child(2) { animation: drift2 34s ease-in-out infinite alternate; }
.motion .bg-mesh i:nth-child(3) { animation: drift3 40s ease-in-out infinite alternate; }
.motion .bg-mesh i:nth-child(4) { animation: drift2 30s ease-in-out -8s infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -12vh) scale(1.1); } }
/* film grain */
.bg-mesh::after { content: ""; position: absolute; inset: -50%; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
body { background: var(--bg) !important; }

/* ---------- hero: sparkle field + giant monogram watermark ---------- */
.hero-sparks { position: absolute; inset: -30px calc(-1 * clamp(18px, 4vw, 64px)); pointer-events: none; z-index: -1; overflow: hidden; }
.hero-sparks span { position: absolute; color: var(--gold); opacity: .0; }
.motion .hero-sparks span { animation: twinkle 4.5s ease-in-out infinite; }
html:not(.motion) .hero-sparks span { opacity: .35; }
.hero::after { content: "FS"; position: absolute; right: -2vw; bottom: -8vw; z-index: -1; pointer-events: none;
  font: italic 500 clamp(220px, 34vw, 520px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(176, 122, 102, .16); letter-spacing: -.04em; }

/* ---------- section watermarks ---------- */
.section { position: relative; overflow: hidden; }
.section[data-bg]::before { content: attr(data-bg); position: absolute; right: -1vw; top: 10px; z-index: -1; pointer-events: none; white-space: nowrap;
  font: italic 400 clamp(110px, 17vw, 260px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(176, 122, 102, .17); }
.motion .section[data-bg].in::before { animation: wm-in 1.6s var(--ease) both; }
@keyframes wm-in { from { opacity: 0; transform: translateX(60px); } }

/* themes: soft rose band with arcs */
#tema { background:
  radial-gradient(60% 80% at 0% 100%, rgba(246, 211, 200, .55), transparent 70%),
  radial-gradient(40% 60% at 100% 0%, rgba(243, 220, 196, .55), transparent 70%) !important;
  margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.theme-card { background: linear-gradient(155deg, color-mix(in srgb, var(--c) 13%, #fff) 0%, #fff 55%); }
.theme-card:hover { background: linear-gradient(155deg, color-mix(in srgb, var(--c) 22%, #fff) 0%, #fff 70%); }
.themes { background: rgba(176, 122, 102, .22); border-color: rgba(176, 122, 102, .22); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(120, 70, 55, .35); }

/* packages: dotted paper */
#paket { background-image: radial-gradient(rgba(176, 122, 102, .18) 1.2px, transparent 1.3px) !important; background-size: 22px 22px !important;
  margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.tier { backdrop-filter: blur(2px); }

/* contact: warm gradient band */
#kontak { background: linear-gradient(120deg, rgba(246, 211, 200, .7), rgba(243, 220, 196, .55) 50%, rgba(234, 215, 230, .6)) !important;
  margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); border-top: 0; }
.contact a { background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); }

/* marquee: rose-gold ribbon */
.marquee { background: linear-gradient(90deg, #a96f5b, #d6a08d 30%, #c08571 60%, #a96f5b); border: 0; color: #fff; box-shadow: 0 18px 40px -26px rgba(120, 70, 55, .6); }
.marquee span { color: #fff; }
.marquee span::after { color: #fff6f1; }

/* top bar + footer */
.topbar { background: rgba(255, 249, 246, .72); }
footer.site { background: linear-gradient(180deg, transparent, #f4dfd8); border-top: 0; padding-top: 60px; }

/* booking page */
.book-head { position: relative; }
.book-head::after { content: "Booking"; position: absolute; right: 0; top: -10px; z-index: -1; pointer-events: none;
  font: italic 400 clamp(90px, 14vw, 210px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(176, 122, 102, .17); }
.book .card, .done.card { background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); box-shadow: 0 30px 60px -44px rgba(120, 70, 55, .45); }
@media (max-width: 760px) { .hero::after { font-size: 260px; bottom: auto; top: 40%; } .section[data-bg]::before { font-size: 96px; } }

/* ---------- portfolio ---------- */
#portofolio { background: radial-gradient(50% 70% at 100% 100%, rgba(234, 215, 230, .5), transparent 70%), radial-gradient(40% 60% at 0% 0%, rgba(246, 211, 200, .45), transparent 70%) !important;
  margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.pf-tabs { margin-bottom: 22px; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pf-card { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; cursor: pointer; border: 0; padding: 0; text-align: left;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c, #b07a66) 35%, #fff), #f4dfd8); box-shadow: 0 24px 44px -30px rgba(120, 70, 55, .6);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; opacity: 0; }
.pf-card img.ok { opacity: 1; }
.pf-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(30, 18, 15, .72)); }
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -32px rgba(120, 70, 55, .75); }
.pf-card:hover img { transform: scale(1.06); }
.pf-card .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; z-index: 2;
  background: rgba(255, 255, 255, .88); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; backdrop-filter: blur(4px); }
.pf-card .play::before { content: ""; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.pf-card:hover .play { transform: scale(1.12); background: #fff; }
.pf-card .meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff; }
.pf-card .meta .tag { background: rgba(255, 255, 255, .92); color: var(--ink); border: 0; margin-bottom: 8px; }
.pf-card .meta p { margin: 0; font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.pf-card .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.pf-card .ph img { position: static; inset: auto; width: 62%; height: auto; aspect-ratio: 1; object-fit: contain; opacity: .55; filter: brightness(0) invert(1); transform: none !important; }
.pf-card.pf-brand { background: linear-gradient(160deg, color-mix(in srgb, var(--c, #b07a66) 70%, #fff), color-mix(in srgb, var(--c, #b07a66) 85%, #2a1f1d)); }
.pf-card.pf-brand .ph { align-items: start; padding-top: 16%; }
.pf-card.pf-brand .ph img { opacity: .92; width: 56%; }
.pf-more { text-align: center; margin-top: 26px; }
.pf-creator { display: flex; justify-content: center; }
.pf-creator .tiktok-embed { margin: 0 auto !important; max-width: 780px !important; min-width: 300px !important; width: 100%; }
/* lightbox */
.pf-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(28, 18, 16, .78); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; }
.motion .pf-lightbox:not(.hide) { animation: bg-in .3s ease both; }
.pf-player { position: relative; display: flex; flex-direction: column; height: min(86vh, 900px); width: min(420px, calc(100vw - 40px)); max-width: calc(100vw - 40px); background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.motion .pf-lightbox:not(.hide) .pf-player { animation: done-in .45s var(--ease) both; }
.pf-player iframe { width: 100%; flex: 1; border: 0; display: block; background: #fff; }
.pf-open { display: block; text-align: center; padding: 10px; background: #fff; color: var(--ink); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-top: 1px solid var(--line); }
.pf-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.pf-nav { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font: 400 30px/1 var(--serif); cursor: pointer; flex: none; transition: transform .3s var(--ease); }
.pf-nav:hover { transform: scale(1.08); }
@media (max-width: 640px) { .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .pf-nav { position: absolute; bottom: 22px; } .pf-nav.prev { left: 22px; } .pf-nav.next { right: 22px; } .pf-card .play { width: 48px; height: 48px; margin: -24px 0 0 -24px; } }

/* unused */ .pf-card .pf-cover { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .6s; transform: scale(1.02); }
.pf-card .pf-cover.ok { opacity: 1; }
.pf-card .play, .pf-card .meta { z-index: 3; }

.pf-loading { flex: 1; display: grid; place-items: center; color: var(--gold); font-size: 30px; background: #fff; }
.motion .pf-loading { animation: twinkle 1.2s ease-in-out infinite; }
.pf-slides { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: #111; scrollbar-width: none; }
.pf-slides::-webkit-scrollbar { display: none; }
.pf-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.pf-dots { position: absolute; left: 0; right: 0; bottom: 98px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pf-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .2s, transform .2s; }
.pf-dots i.on { background: #fff; transform: scale(1.3); }
.pf-cap { background: #fff; padding: 12px 16px 2px; font-size: 14.5px; color: var(--ink-2); max-height: 64px; overflow: auto; }

.pf-watch { flex: 1; position: relative; display: grid; place-items: center; background: linear-gradient(160deg, #c99a8a, #5b3c35) center / cover no-repeat; text-decoration: none; }
.pf-watch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); }
.pf-watch-logo { width: 55%; filter: brightness(0) invert(1); opacity: .85; position: absolute; top: 18%; }
.pf-watch-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 14px 24px 14px 18px; border-radius: 999px; font: 500 15px var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.pf-watch:hover .pf-watch-btn { transform: scale(1.06); }
.pf-watch-btn i { width: 0; height: 0; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

#busana { background: radial-gradient(45% 60% at 0% 100%, rgba(243,220,196,.55), transparent 70%) !important; margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.cos-grid.home { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cos-grid.home .cos-card { text-decoration: none; color: inherit; }
@media (max-width: 640px) { .cos-grid.home { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
