/* PİLOT KİMLİK FONTLARI @font-face ile fonts.css içinde bildirilir
   (projenin font sayfası orası ve davetiye görünümü onu yüklüyor).
   Burada YALNIZ aşağıdaki iki pilot satırının --theme-heading/
   --theme-body DEĞERLERİ değişti; .theme-* kurallarına dokunulmadı. */
:root{color-scheme:light dark}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-color:var(--inv-accent) var(--inv-bg);scrollbar-width:thin}
/* GOVDE FONTU var(--theme-body, <eski yigin>) uzerinden okunur.
   Degiskeni TANIMLAMAYAN sablonlarda ikinci deger devreye girer ve
   bugunku davranis BIREBIR ayni kalir; boylece pilot disi 17 sablonun
   govde fontu bu turdan etkilenmez (regresyonla kanitlaniyor). */
body{margin:0;min-width:320px;overflow-x:hidden;background:var(--inv-bg);color:var(--inv-text);font:400 clamp(.98rem,.94rem + .2vw,1.08rem)/1.75 var(--theme-body,"Manrope",system-ui,sans-serif);-webkit-font-smoothing:antialiased}
body[data-theme="luxury-gold"],body[data-theme="royal-black"],body[data-theme="emerald"],body[data-theme="dark-luxury"]{color-scheme:dark}
body[data-theme="minimal-white"],body[data-theme="modern"]{--theme-heading:"Manrope",system-ui,sans-serif}
body[data-theme="vintage"],body[data-theme="bohem"]{--theme-heading:Georgia,"Cormorant Garamond",serif}
body:not([data-theme="minimal-white"]):not([data-theme="modern"]):not([data-theme="vintage"]):not([data-theme="bohem"]):not([data-theme="deniz-kiyisi"]):not([data-theme="altin-ihtisam"]):not([data-theme="kina-gecesi"]):not([data-theme="dogum-uzay-kasifi"]):not([data-theme="sampanya-gecesi"]):not([data-theme="bahce-dugunu"]){--theme-heading:"Cormorant Garamond",Georgia,serif}

/* --- Faz 4B pilotlari: sablona ozgu tipografi --------------------------
   FONT DOSYALARI HENUZ YOK. Brifingteki Dancing Script / Quicksand /
   Playfair Display dosyalari assets/fonts/ altina birakilmadi, bu yuzden
   kimlik farki YUKLU IKI AILENIN eksenleriyle kuruluyor: aile, stil,
   agirlik ve harf araligi. Sahte el yazisi (cursive fallback) BILEREK
   kullanilmadi — ucuz durur ve her makinede baska bir sey gosterir.

   Deniz: baslik Cormorant ITALIK (akiskan, kiyi), govde Manrope (yumusak
   sans) — govde varsayilanla ayni ama ACIKCA yaziliyor ki dosyalar
   gelince tek satir degissin.
   Saray: baslik Cormorant AGIR + sik aralik (Didone yogunlugu), govde
   CORMORANT SERIF — asil kimlik farki burada: 17 sablonun tamami sans
   govdeyle akarken saray serif okunuyor. Cormorant'in latin-ext dosyasi
   mevcut, Turkce karakterler tam. */
body[data-theme="deniz-kiyisi"]{--theme-heading:"Dancing Script","Cormorant Garamond",serif;--theme-body:"Quicksand","Manrope",system-ui,sans-serif}
body[data-theme="altin-ihtisam"]{--theme-heading:"Playfair Display","Cormorant Garamond",Georgia,serif;--theme-body:"Cormorant Garamond",Georgia,serif}
/* Cormorant govde boyunda ince kaliyor: saray govdesi bir tik buyuk ve
   500 agirlikta okunur. Renk DEGISMIYOR — kontrast olcumleri gecerli. */
body[data-theme="altin-ihtisam"]{font-size:clamp(1.04rem,1rem + .22vw,1.16rem);font-weight:500}

/* --- Yayilim turu 1: dort sablon ---------------------------------------
   AYNI DOSYASIZ DAL: yeni woff2 birakilmadi, kimlik farki yuklu iki
   ailenin EKSENLERIYLE kuruluyor — aile, agirlik, boyut, harf araligi.
   Sahte italik ve cursive fallback YOK (4B kurali; test kilitliyor).

   Dordunun secimi ETKINLIK DILINE gore:
     kina        → baslik Cormorant AGIR + genis aralik: geleneksel,
                   toren havasi; govde Manrope (uzun program metinleri
                   sans'ta daha rahat okunuyor).
     uzay        → baslik MANROPE 800: tek "serif olmayan baslik" —
                   cocuk/uzay dili serif'in agirbasliligini tasimaz;
                   govde de Manrope, tek aileyle teknik bir butunluk.
     sampanya    → baslik Cormorant ince (300) + cok genis aralik:
                   gece, zarafet, art-deco afis hissi; govde Manrope.
     bahce       → baslik Cormorant orta; govde CORMORANT SERIF —
                   saray'dan sonraki ikinci serif govde; bahce dili
                   kagit/davetiye hissini tasiyor.
   Boylece dort sablon birbirinden de, pilotlardan da ayrisiyor. */
body[data-theme="kina-gecesi"]{--theme-heading:"Cormorant Garamond",Georgia,serif;--theme-body:"Manrope",system-ui,sans-serif}
body[data-theme="dogum-uzay-kasifi"]{--theme-heading:"Manrope",system-ui,sans-serif;--theme-body:"Manrope",system-ui,sans-serif}
body[data-theme="sampanya-gecesi"]{--theme-heading:"Cormorant Garamond",Georgia,serif;--theme-body:"Manrope",system-ui,sans-serif}
body[data-theme="bahce-dugunu"]{--theme-heading:"Cormorant Garamond",Georgia,serif;--theme-body:"Cormorant Garamond",Georgia,serif}
/* Bahce govdesi serif: Cormorant govde boyunda ince kalir (saray'daki
   ayni duzeltme). Renk DEGISMIYOR — kontrast olcumleri gecerli. */
body[data-theme="bahce-dugunu"]{font-size:clamp(1.04rem,1rem + .22vw,1.16rem);font-weight:500}
button,input,textarea,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit}
img{display:block;max-width:100%}
address{font-style:normal}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.theme-skip{position:fixed;z-index:1000;top:.75rem;inset-inline-start:.75rem;transform:translateY(-150%);padding:.75rem 1rem;background:var(--inv-text);color:var(--inv-bg);border-radius:.5rem}
.theme-skip:focus{transform:none}
:focus-visible{outline:3px solid var(--inv-accent);outline-offset:4px}
.theme-preview-banner{position:relative;z-index:90;padding:.45rem 1rem;background:#fff2b7;color:#3c3100;text-align:center;font-weight:700;font-size:.84rem}
.theme-toolbar{position:absolute;z-index:30;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:max(1rem,env(safe-area-inset-top)) clamp(1rem,4vw,4rem);color:var(--inv-text)}
.theme-toolbar>a{display:flex;align-items:center;gap:.65rem;text-decoration:none;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.76rem}
.theme-toolbar img{border-radius:50%;box-shadow:0 8px 24px #0002}
.toolbar-actions{display:flex;gap:.5rem;align-items:center}
.language-picker select,.install-button{border:1px solid var(--inv-border);border-radius:999px;background:color-mix(in srgb,var(--inv-surface) 82%,transparent);color:var(--inv-text);padding:.6rem .85rem;backdrop-filter:blur(12px)}
.theme-page{min-height:100vh}
.theme-hero{position:relative;isolation:isolate;display:grid;place-items:center;align-content:center;min-height:min(100svh,70rem);padding:8rem 1.2rem 5rem;text-align:center;overflow:hidden;background:
radial-gradient(circle at 50% 25%,color-mix(in srgb,var(--inv-secondary) 26%,transparent),transparent 34rem),
linear-gradient(145deg,color-mix(in srgb,var(--inv-bg) 88%,var(--inv-primary)),var(--inv-bg))}
.theme-hero::before,.theme-hero::after{content:"";position:absolute;z-index:-1;width:min(52vw,36rem);aspect-ratio:1;border:1px solid color-mix(in srgb,var(--inv-accent) 35%,transparent);border-radius:50%;opacity:.55}
.theme-hero::before{inset-block-start:-20%;inset-inline-start:-10%}.theme-hero::after{inset-block-end:-25%;inset-inline-end:-10%}
.theme-decoration{display:grid;place-items:center;width:3.25rem;height:3.25rem;margin:0 auto 1.4rem;border:1px solid var(--inv-border);border-radius:50%;color:var(--inv-accent)}
.theme-kicker{margin:0 0 .7rem;color:var(--inv-primary);font-size:.76rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.theme-hero h1,.theme-section h2,.opening-panel .opening-adlar{margin:.15em 0;font-family:var(--theme-heading);font-weight:600;line-height:.92;letter-spacing:-.035em;text-wrap:balance}
.theme-hero h1{max-width:16ch;font-size:clamp(3.4rem,12vw,9.5rem)}
.hero-event{margin:.7rem 0 2rem;color:var(--inv-muted);font-size:clamp(1.05rem,2vw,1.4rem)}
.theme-hero time{display:flex;flex-direction:column;gap:.35rem;font-size:clamp(1rem,2vw,1.22rem);letter-spacing:.08em;text-transform:uppercase}
.theme-hero time strong{font:600 clamp(2rem,6vw,4.2rem)/1 var(--theme-heading);color:var(--inv-primary)}
.hero-scroll{position:absolute;bottom:2rem;display:flex;flex-direction:column;text-decoration:none;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase}
.theme-section{position:relative;width:min(100% - 2rem,68rem);margin-inline:auto;padding:clamp(4.5rem,9vw,8.5rem) clamp(.4rem,3vw,2rem);text-align:center}
.theme-section+.theme-section{border-top:1px solid color-mix(in srgb,var(--inv-border) 60%,transparent)}
.theme-section h2{font-size:clamp(2.5rem,7vw,5.25rem)}
.theme-section>p:not(.theme-kicker){max-width:48rem;margin:1.25rem auto;color:var(--inv-muted)}
.theme-copy>p:not(.theme-kicker){font-family:var(--theme-heading);font-size:clamp(1.3rem,2.6vw,1.8rem);line-height:1.7}
.theme-card{border:1px solid var(--inv-border);border-radius:var(--inv-radius);background:color-mix(in srgb,var(--inv-surface) 94%,transparent);padding:clamp(1.25rem,3vw,2.2rem);box-shadow:0 18px 50px color-mix(in srgb,var(--inv-primary) 10%,transparent)}
body[data-shadow="none"] .theme-card{box-shadow:none}body[data-shadow="medium"] .theme-card{box-shadow:0 22px 60px color-mix(in srgb,var(--inv-primary) 18%,transparent)}body[data-shadow="dramatic"] .theme-card{box-shadow:0 30px 90px color-mix(in srgb,#000 38%,transparent)}
.family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:2.5rem}
.family-grid p{margin:.3rem}.family-grid h3{font:600 1.6rem var(--theme-heading);margin:0 0 .7rem}
.theme-button{display:inline-flex;align-items:center;justify-content:center;min-height:3.2rem;padding:.75rem 1.4rem;border:1px solid var(--inv-primary);border-radius:999px;background:var(--inv-primary);color:var(--inv-bg);font-weight:800;text-decoration:none;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.theme-button:hover{transform:translateY(-2px);box-shadow:0 12px 28px color-mix(in srgb,var(--inv-primary) 28%,transparent)}
.theme-button.secondary{background:transparent;color:var(--inv-primary)}
body[data-button="square"] .theme-button{border-radius:4px}body[data-button="rounded"] .theme-button{border-radius:12px}body[data-button="outline"] .theme-button{background:transparent;color:var(--inv-primary)}
.theme-button.disabled{opacity:.55;pointer-events:none}.theme-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.7rem;margin-top:2rem}
.theme-countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(.4rem,2vw,1rem);max-width:48rem;margin:2.5rem auto}
.theme-countdown div{padding:clamp(1rem,3vw,2rem) .5rem;border:1px solid var(--inv-border);border-radius:var(--inv-radius);background:var(--inv-surface)}
.theme-countdown strong{display:block;font:600 clamp(2rem,7vw,4.4rem)/1 var(--theme-heading);color:var(--inv-primary)}.theme-countdown span{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:var(--inv-muted)}
.schedule-list,.story-timeline{list-style:none;padding:0;margin:2.5rem auto 0;max-width:48rem}
.schedule-list{display:grid;gap:.8rem}.schedule-list li{display:grid;grid-template-columns:6rem 1fr;align-items:start;text-align:start}.schedule-list time{font:600 1.8rem var(--theme-heading);color:var(--inv-primary)}
.story-timeline{position:relative;display:grid;gap:2rem}.story-timeline::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--inv-border)}
.story-timeline li{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;text-align:start}.story-timeline li:nth-child(even) .theme-card{grid-column:1;grid-row:1}.story-timeline li:nth-child(even) img{grid-column:2}.story-timeline img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--inv-radius)}
.story-timeline time{color:var(--inv-accent);font-weight:700}.story-timeline h3{font:600 2rem var(--theme-heading);margin:.3rem 0}
body[data-timeline="compact"] .story-timeline::before,body[data-timeline="flow"] .story-timeline::before{left:1rem}body[data-timeline="compact"] .story-timeline li,body[data-timeline="flow"] .story-timeline li{grid-template-columns:1fr;padding-inline-start:2.5rem}body[data-timeline="compact"] .story-timeline img,body[data-timeline="flow"] .story-timeline img{grid-column:auto}
body[data-timeline="stamp"] .story-timeline .theme-card{border-style:dashed;transform:rotate(-.4deg)}body[data-timeline="petal"] .story-timeline .theme-card{border-radius:2rem 0 2rem 0}body[data-timeline="crystal"] .story-timeline .theme-card{backdrop-filter:blur(14px);background:color-mix(in srgb,var(--inv-surface) 70%,transparent)}
.theme-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(.55rem,2vw,1.2rem);margin-top:2.5rem}
.theme-gallery button{padding:0;border:0;background:none;cursor:zoom-in;overflow:hidden;border-radius:var(--inv-radius)}
.theme-gallery img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.theme-gallery button:hover img{transform:scale(1.04)}
body[data-gallery="masonry"] .theme-gallery button:nth-child(3n+2) img{aspect-ratio:4/6}body[data-gallery="editorial"] .theme-gallery{grid-template-columns:2fr 1fr}body[data-gallery="editorial"] .theme-gallery button:first-child{grid-row:span 2}body[data-gallery="editorial"] .theme-gallery button:first-child img{aspect-ratio:4/5}body[data-gallery="polaroid"] .theme-gallery button{padding:.6rem .6rem 2.4rem;background:#fff;box-shadow:0 15px 35px #0002;transform:rotate(-1deg)}body[data-gallery="polaroid"] .theme-gallery button:nth-child(even){transform:rotate(1.2deg)}body[data-gallery="wave"] .theme-gallery button:nth-child(odd){transform:translateY(1.5rem)}
.rsvp-form{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:44rem;margin:2.5rem auto;text-align:start}
.rsvp-form label>span,.rsvp-form legend{display:block;margin-bottom:.4rem;font-weight:800;color:var(--inv-text)}
.rsvp-form input:not([type=radio]),.rsvp-form textarea{width:100%;border:1px solid var(--inv-border);border-radius:12px;background:var(--inv-bg);color:var(--inv-text);padding:.85rem 1rem}
.rsvp-form textarea{min-height:7rem;resize:vertical}.rsvp-form fieldset{grid-column:1/-1;border:1px solid var(--inv-border);border-radius:12px;padding:1rem;display:flex;flex-wrap:wrap;gap:1rem}.rsvp-form .theme-button,.rsvp-form .form-status{grid-column:1/-1}.honeypot{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body[data-rsvp="framed"] .rsvp-form{outline:1px solid var(--inv-accent);outline-offset:.5rem}body[data-rsvp="minimal"] .rsvp-form{box-shadow:none;background:transparent;border:0}body[data-rsvp="glass"] .rsvp-form{backdrop-filter:blur(18px);background:color-mix(in srgb,var(--inv-surface) 65%,transparent)}body[data-rsvp="paper"] .rsvp-form{border-style:dashed}
.share-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem;margin-top:2rem}.share-grid a,.share-grid button{padding:.65rem 1rem;border:1px solid var(--inv-border);border-radius:999px;background:var(--inv-surface);color:var(--inv-text);text-decoration:none;cursor:pointer}
.iban-box{display:flex;align-items:center;justify-content:center;gap:.8rem;flex-wrap:wrap;margin:2rem auto}.iban-box code{padding:.8rem 1rem;border:1px solid var(--inv-border);border-radius:.7rem;word-break:break-all}.iban-box button{border:0;background:none;color:var(--inv-primary);font-weight:800;cursor:pointer}
.closing-section{min-height:70svh;display:grid;place-content:center}.closing-section strong{font:600 clamp(2.5rem,8vw,6rem)/1 var(--theme-heading);color:var(--inv-primary)}
.privacy-note{font-size:.86rem}
.theme-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:2rem clamp(1rem,5vw,4rem);border-top:1px solid var(--inv-border);color:var(--inv-muted);font-size:.8rem}.theme-footer a{text-decoration:none;font-weight:800}
.theme-lightbox{position:fixed;z-index:200;inset:0;display:grid;grid-template-columns:3rem minmax(0,1fr) 3rem;align-items:center;gap:.6rem;padding:clamp(.5rem,3vw,2rem);background:#050505eb}.theme-lightbox[hidden]{display:none}.theme-lightbox img{max-height:90vh;margin:auto;border-radius:1rem}.theme-lightbox button{width:3rem;height:3rem;border:1px solid #ffffff55;border-radius:50%;background:#0008;color:#fff;font-size:2rem}.theme-lightbox [data-lightbox-close]{position:absolute;top:1rem;right:1rem}
.music-player{position:fixed;z-index:80;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));display:flex;align-items:center;gap:.6rem}.music-player>button{width:3.5rem;height:3.5rem;border:1px solid var(--inv-border);border-radius:50%;background:var(--inv-primary);color:var(--inv-bg);box-shadow:0 15px 35px #0003}.music-player>button span{position:absolute;width:1px;height:1px;overflow:hidden}.music-details{display:none;min-width:13rem;padding:.75rem;border:1px solid var(--inv-border);border-radius:1rem;background:var(--inv-surface);box-shadow:0 15px 40px #0003}.music-player:focus-within .music-details,.music-player:hover .music-details{display:grid}.music-details input{width:100%}
.theme-opening{display:none}.opening-ready .theme-opening{position:fixed;z-index:150;inset:0;display:grid;place-items:center;padding:1rem;overflow:hidden;background:var(--inv-bg)}
.opening-cover{position:absolute;inset:0;background-position:center;background-size:cover;opacity:.16;filter:saturate(.7)}.opening-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--inv-bg) 55%,transparent),var(--inv-bg))}
.opening-panel{position:relative;width:min(92vw,38rem);padding:clamp(2rem,6vw,4.5rem);border:1px solid var(--inv-border);border-radius:var(--inv-radius);background:color-mix(in srgb,var(--inv-surface) 90%,transparent);text-align:center;box-shadow:0 35px 120px #0003;backdrop-filter:blur(18px)}
.opening-panel .opening-adlar{font-size:clamp(3rem,10vw,6.5rem)}.opening-panel small{display:block;margin-top:1rem;color:var(--inv-muted)}
.opening-effects{position:absolute;inset:0;pointer-events:none}.opening-effects i{position:absolute;width:.5rem;height:.5rem;border-radius:50%;background:var(--inv-accent);box-shadow:0 0 20px var(--inv-accent)}.opening-effects i:nth-child(1){left:12%;top:18%}.opening-effects i:nth-child(2){left:78%;top:20%}.opening-effects i:nth-child(3){left:25%;top:75%}.opening-effects i:nth-child(4){left:82%;top:68%}.opening-effects i:nth-child(5){left:52%;top:10%}.opening-symbol{position:absolute;inset:50% auto auto 50%;font-size:18rem;color:var(--inv-accent);opacity:.08;transform:translate(-50%,-50%)}
.opening-ready[data-opening="soft-fade"] .opening-panel{animation:openFade 1.1s both}
.opening-ready[data-opening="door-open"] .theme-opening::before,.opening-ready[data-opening="door-open"] .theme-opening::after{content:"";position:absolute;z-index:2;inset-block:0;width:50%;background:linear-gradient(135deg,var(--inv-primary),var(--inv-bg));animation:doorPanel 1.4s .2s both}.opening-ready[data-opening="door-open"] .theme-opening::before{left:0;transform-origin:left}.opening-ready[data-opening="door-open"] .theme-opening::after{right:0;transform-origin:right}
.opening-ready[data-opening="curtain"] .theme-opening::before,.opening-ready[data-opening="curtain"] .theme-opening::after{content:"";position:absolute;z-index:2;top:0;bottom:0;width:55%;background:repeating-linear-gradient(90deg,var(--inv-primary),color-mix(in srgb,var(--inv-primary) 65%,#000) 12%,var(--inv-primary) 24%);animation:curtain 1.5s .15s both}.opening-ready[data-opening="curtain"] .theme-opening::before{left:0}.opening-ready[data-opening="curtain"] .theme-opening::after{right:0;--curtain-direction:1}
.opening-ready[data-opening="flower-bloom"] .opening-symbol{animation:flower 1.7s both}.opening-ready[data-opening="gold-light"] .opening-effects{background:radial-gradient(circle,var(--inv-accent),transparent 4%,transparent 35%);animation:goldLight 1.8s both}.opening-ready[data-opening="heart-glow"] .opening-symbol{font-size:0}.opening-ready[data-opening="heart-glow"] .opening-symbol::after{content:"♥";font-size:15rem;animation:heart 1.4s both}.opening-ready[data-opening="controlled-confetti"] .opening-effects i{border-radius:1px;animation:confetti 1.8s both}.opening-ready[data-opening="wedding-car"] .opening-symbol::after{content:"▰";display:block;font-size:5rem;animation:car 1.8s both}.opening-ready[data-opening="crystal-shine"] .opening-panel{animation:crystal 1.5s both}.opening-ready[data-opening="light-fog"] .opening-effects{background:radial-gradient(ellipse at 20% 70%,#fff8,transparent 35%),radial-gradient(ellipse at 75% 30%,#fff5,transparent 40%);animation:fog 2s both}
@keyframes openFade{from{opacity:0;transform:translateY(20px) scale(.97)}}
@keyframes doorPanel{0%,35%{transform:perspective(900px) rotateY(0)}100%{transform:perspective(900px) rotateY(var(--door-angle,100deg));opacity:0}}
.theme-opening::before{--door-angle:100deg}.theme-opening::after{--door-angle:-100deg}
@keyframes curtain{0%,35%{width:55%}100%{width:0;opacity:.4}}
@keyframes flower{from{transform:translate(-50%,-50%) scale(.05) rotate(-90deg);opacity:.45}to{transform:translate(-50%,-50%) scale(1.3) rotate(30deg);opacity:.08}}
@keyframes goldLight{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1.3)}}
@keyframes heart{0%{opacity:0;transform:scale(.2)}55%{opacity:.35;transform:scale(1.15)}100%{opacity:.08;transform:scale(1)}}
@keyframes confetti{from{transform:translateY(-50vh) rotate(0);opacity:1}to{transform:translateY(80vh) rotate(540deg);opacity:0}}
@keyframes car{from{transform:translateX(-70vw);opacity:0}60%{opacity:.22}to{transform:translateX(70vw);opacity:0}}
@keyframes crystal{from{opacity:0;filter:brightness(3);transform:scale(.94) rotateX(12deg)}to{opacity:1;filter:brightness(1);transform:none}}
@keyframes fog{from{opacity:0;transform:translateX(-10%)}to{opacity:.6;transform:translateX(8%)}}
.motion-ready .reveal-section:not(.is-visible){opacity:0;transform:translateY(24px)}.motion-ready .reveal-section{transition:opacity .7s ease,transform .7s ease}.motion-ready .reveal-section.is-visible{opacity:1;transform:none}
body[data-section-animation="slide"].motion-ready .reveal-section:not(.is-visible){transform:translateX(32px)}body[data-section-animation="fade"].motion-ready .reveal-section:not(.is-visible){transform:none}body[data-animation-speed="slow"] .reveal-section{transition-duration:1.1s}body[data-animation-speed="fast"] .reveal-section{transition-duration:.4s}
body[data-theme="luxury-gold"] .theme-hero,body[data-theme="dark-luxury"] .theme-hero{background:radial-gradient(circle at 50% 20%,#d4af3726,transparent 32rem),linear-gradient(145deg,#080808,var(--inv-bg))}
body[data-theme="royal-black"] .theme-hero{background:radial-gradient(circle at 50% 30%,#6b142655,transparent 32rem),linear-gradient(160deg,#050505,var(--inv-bg))}
body[data-theme="minimal-white"] .theme-hero::before,body[data-theme="minimal-white"] .theme-hero::after{border-radius:0;transform:rotate(25deg)}
body[data-theme="rose-garden"] .theme-hero{background:radial-gradient(circle at 15% 20%,#d99aaa55,transparent 20rem),radial-gradient(circle at 85% 75%,#b9687e33,transparent 24rem),var(--inv-bg)}
body[data-theme="emerald"] .theme-hero{background:radial-gradient(ellipse at top,#0d594566,transparent 55%),var(--inv-bg)}
body[data-theme="crystal"] .theme-card{background:color-mix(in srgb,var(--inv-surface) 72%,transparent);backdrop-filter:blur(16px)}
body[data-theme="ocean-blue"] .theme-section{border-radius:50% 50% 0 0 / 2.5rem 2.5rem 0 0}
body[data-theme="vintage"]{background-image:repeating-linear-gradient(0deg,#00000008 0 1px,transparent 1px 4px)}
body[data-theme="bohem"] .theme-decoration{border-radius:50% 30% 60% 35%;transform:rotate(12deg)}
body[data-theme="modern"] .theme-hero{text-align:start;place-items:start;padding-inline:max(1.2rem,12vw)}body[data-theme="modern"] .theme-hero h1{max-width:11ch}body[data-theme="modern"] .theme-decoration{margin-inline:0}
body[data-background="solid"]{background:var(--inv-bg)}
body[data-background="soft-gradient"]{background:linear-gradient(145deg,var(--inv-bg),color-mix(in srgb,var(--inv-secondary) 16%,var(--inv-bg)))}
body[data-background="radial"]{background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--inv-accent) 24%,transparent),transparent 32rem),var(--inv-bg)}
body[data-background="dark-glow"]{background:radial-gradient(circle at 50% 10%,color-mix(in srgb,var(--inv-accent) 20%,transparent),transparent 34rem),color-mix(in srgb,var(--inv-bg) 88%,#000)}
body[data-album="framed"] .privacy-note{border:1px solid var(--inv-border);padding:1rem;border-radius:var(--inv-radius)}
body[data-album="minimal"] .privacy-note{font-style:italic}
body[data-album="glass"] .privacy-note{background:color-mix(in srgb,var(--inv-surface) 62%,transparent);backdrop-filter:blur(12px);padding:1rem;border-radius:var(--inv-radius)}
.qr-theme-modal{position:fixed;z-index:220;inset:0;display:grid;place-items:center;padding:1rem;background:#050505d9}.qr-theme-modal[hidden]{display:none}.qr-theme-card{position:relative;width:min(92vw,31rem);padding:clamp(1.25rem,5vw,2.5rem);border:1px solid var(--inv-border);border-radius:var(--inv-radius);background:var(--inv-surface);color:var(--inv-text);text-align:center;box-shadow:0 28px 90px #0007}.qr-theme-card img{width:min(100%,22rem);height:auto;margin:1rem auto;background:#fff;border-radius:.75rem}.qr-theme-card [data-qr-close]{position:absolute;inset:1rem 1rem auto auto;width:2.5rem;height:2.5rem;border:1px solid var(--inv-border);border-radius:50%;background:var(--inv-bg);color:var(--inv-text);font-size:1.5rem}.qr-test-warning{display:block;margin-top:1rem;color:#9d2e2e}
body[data-qr="framed"] .qr-theme-card{outline:1px solid var(--inv-accent);outline-offset:.5rem}body[data-qr="minimal"] .qr-theme-card{box-shadow:none;border:0}body[data-qr="glass"] .qr-theme-card{background:color-mix(in srgb,var(--inv-surface) 72%,transparent);backdrop-filter:blur(18px)}
.opening-ready [data-loader="ring"] .opening-panel::before,.opening-ready[data-loader="ring"] .opening-panel::before{content:"";display:block;width:2.2rem;height:2.2rem;margin:0 auto 1rem;border:.2rem solid var(--inv-border);border-top-color:var(--inv-accent);border-radius:50%;animation:loaderSpin 1s linear infinite}
.opening-ready[data-loader="sparkle"] .opening-panel::before{content:"✦";display:block;margin-bottom:.5rem;color:var(--inv-accent);font-size:2rem;animation:heart 1.4s infinite}
.opening-ready[data-loader="monogram"] .opening-panel::before{content:"P";display:grid;place-items:center;width:2.8rem;height:2.8rem;margin:0 auto 1rem;border:1px solid var(--inv-accent);border-radius:50%;color:var(--inv-accent);font-family:var(--theme-heading);font-size:1.5rem}
@keyframes loaderSpin{to{transform:rotate(360deg)}}
[dir="rtl"] .schedule-list li{grid-template-columns:1fr 6rem}[dir="rtl"] .schedule-list time{grid-column:2;grid-row:1}[dir="rtl"] .theme-toolbar,[dir="rtl"] .rsvp-form{text-align:right}
@media(max-width:700px){
  .theme-toolbar>a span{display:none}.theme-toolbar{padding-inline:1rem}.theme-section{width:min(100% - 1.1rem,68rem)}.family-grid{grid-template-columns:1fr}.theme-countdown{gap:.35rem}.theme-countdown div{padding:1rem .15rem}.theme-gallery{grid-template-columns:repeat(2,1fr)}body[data-gallery="editorial"] .theme-gallery{grid-template-columns:1fr 1fr}.story-timeline::before{left:1rem}.story-timeline li,.story-timeline li:nth-child(even){grid-template-columns:1fr;padding-inline-start:2.5rem}.story-timeline li:nth-child(even) .theme-card,.story-timeline li:nth-child(even) img{grid-column:auto;grid-row:auto}.schedule-list li{grid-template-columns:4.5rem 1fr}.rsvp-form{grid-template-columns:1fr}.rsvp-form fieldset,.rsvp-form .theme-button,.rsvp-form .form-status{grid-column:1}.theme-footer{flex-direction:column;text-align:center}.theme-lightbox{grid-template-columns:2.4rem minmax(0,1fr) 2.4rem}.theme-lightbox button{width:2.4rem;height:2.4rem}.music-details{max-width:70vw}
}
@media(max-width:390px){.theme-countdown strong{font-size:1.8rem}.theme-countdown span{font-size:.58rem}.theme-gallery{gap:.4rem}.theme-section{padding-inline:.25rem}.opening-panel{padding:2rem 1rem}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.opening-effects{display:none}.motion-ready .reveal-section{opacity:1!important;transform:none!important}.opening-ready .opening-panel{animation:none!important}
}
@media(forced-colors:active){.theme-button,.theme-card,.rsvp-form input,.rsvp-form textarea{border:1px solid ButtonText}.theme-kicker{color:CanvasText}}

/* --- MARKA ŞERİDİ (davetiye başlığı) --------------------------------
   Toolbar'daki genel `img` kuralı yuvarlak rozet varsayıyor
   (border-radius:50% + gölge). Marka yazısı bir rozet değil; o kural
   uygulanırsa harfler ovalleşir ve altına gölge düşer. Bu yüzden
   yazının kendi kuralı var ve genel kuralı açıkça geri alıyor.

   88px: site başlığındaki ölçüyle aynı. Davetiyeyi açan misafir aynı
   markayı aynı boyda görsün — tanınırlık tekrarla kuruluyor. */
/* MARKA YAZISI: MASKE + currentColor.

   Görsel yerine maske kullanılıyor; gerekçesi themes/view.php'deki
   işaretlemenin yanında yazılı (özetle: koyu fotoğraflı şablonlarda
   koyu bir logo kayboluyordu).

   ORAN SABİT: kaynak dosya 176x72, yani 2.444:1. `aspect-ratio` bu
   orandan geliyor; bir gün dosya değişirse tek sayı güncellenecek.

   SEÇİCİ İKİ SINIFLI — ÖZGÜLLÜK YÜZÜNDEN: bir üstteki
   `.theme-toolbar img` (0,1,1) tek sınıflı bir kuralı yeniyordu ve
   yatay yazıya %50 yuvarlaklık uygulanınca "DAVETIYE" yazısı "AVETIY"
   olarak kırpılıyordu. `.theme-toolbar .theme-marka__yazi` (0,2,0)
   sıradan bağımsız kazanıyor; `!important` gerekmiyor. */
.theme-toolbar .theme-marka{gap:0}
.theme-toolbar .theme-marka__yazi{
  display:block;
  width:88px;aspect-ratio:176/72;
  background:currentColor;
  -webkit-mask:url('/assets/img/marka/afrodit-yazi.png') left center/contain no-repeat;
          mask:url('/assets/img/marka/afrodit-yazi.png') left center/contain no-repeat;
  border-radius:0;box-shadow:none;border:0;
}
@media(max-width:700px){ .theme-toolbar .theme-marka__yazi{width:76px} }

/* --- ANA EKRANIN SIRALI GİRİŞİ (giriş sahnesi kapandıktan sonra) ------
   NEDEN: sahne kapanınca ana ekran tek parça halinde beliriyordu; video
   biter bitmez davetiye durağan bir afişe dönüşüyordu. Satırlar sırayla
   ve dönüşümlü olarak iki yandan girince göz üst başlıktan isimlere,
   oradan tarihe taşınır — açılışın hareketi ana ekranda da sürer.

   NEDEN `.opening-finished`: bu sınıfı giriş motorunun JS'i ekler. JS hiç
   çalışmazsa sınıf da hiç eklenmez, aşağıdaki kuralların HİÇBİRİ eşleşmez
   ve metinler olağan (görünür) halleriyle durur; JS'siz açılışı
   template-experience.css'teki güvenlik ağı zaten üstleniyor. Kural ortak
   `.theme-hero` işaretlemesine baktığı için tek yerden ON BEŞ ŞABLONUN
   tamamında birden çalışır; şablon başına kural yazılmaz.

   NEDEN başlangıç durumu YALNIZ `from` karesinde: `opacity:0` durağan bir
   kuralda dursaydı animasyon kapatıldığı anda metin KALICI olarak
   görünmez kalırdı. Burada saydamlık animasyonun kendi karesinden gelir;
   animasyon yoksa öğe doğal haliyle görünür.

   NEDEN kapanış karesi yazılmadı: yalnız `from` verilince %100 karesi
   öğenin kendi hesaplanan değerine eşitlenir. Böylece animasyon bitince
   `transform`/`opacity` KİLİTLENMEZ ve bu öğelere dokunan mevcut kurallar
   (kaydırma paralaksı, bölüm belirmesi) çalışmayı sürdürür.

   NEDEN yalnız transform + opacity: ikisi de yeniden yerleşim (layout)
   hesabı tetiklemez, telefonda da kare düşürmez. Kayma payı `clamp` ile
   ekrana bağlı ve `.theme-hero` zaten `overflow:hidden` — yatay kaydırma
   çubuğu doğmaz.

   KALP BİLEREK HAREKETSİZ: isimlerin arasındaki kalbin kendi nabız
   animasyonu var; ona dokunulsa nabız susardı. İki isim, yerinde duran
   kalbe doğru iki yandan gelip birleşir — hareketin anlamı da bu. */
.theme-hero{--hero-in-dur:.8s;--hero-in-step:.11s;--hero-in-lead:.38s;--hero-in-shift:clamp(1.8rem,6vw,3.5rem);--hero-in-ease:var(--ease-out,cubic-bezier(.22,.9,.28,1))}
/* Yöneticinin var olan "animasyon hızı" ayarı ana ekran girişini de
   sürükler; kullanıcıya ikinci bir hız ayarı icat edilmedi. */
body[data-animation-speed="slow"] .theme-hero{--hero-in-dur:1.05s;--hero-in-step:.15s}
body[data-animation-speed="fast"] .theme-hero{--hero-in-dur:.55s;--hero-in-step:.07s}
@keyframes heroFromLeft{from{opacity:0;transform:translateX(calc(var(--hero-in-shift) * -1))}}
@keyframes heroFromRight{from{opacity:0;transform:translateX(var(--hero-in-shift))}}
.opening-finished .theme-hero .theme-decoration{animation:heroFromLeft var(--hero-in-dur) var(--hero-in-ease) var(--hero-in-lead) both}
.opening-finished .theme-hero .theme-kicker{animation:heroFromRight var(--hero-in-dur) var(--hero-in-ease) calc(var(--hero-in-lead) + var(--hero-in-step)) both}
/* Tek parça isim (ayrılamayan "Ayşe ve Mehmet") başlığın kendisiyle,
   iki parçalı isim ise parçalarıyla gelir; ikisi de aynı sırada. */
.opening-finished .theme-hero .hero-names--single,
.opening-finished .theme-hero .hero-names .name-part:first-child{animation:heroFromLeft var(--hero-in-dur) var(--hero-in-ease) calc(var(--hero-in-lead) + var(--hero-in-step)*2) both}
.opening-finished .theme-hero .hero-names .name-part:last-child{animation:heroFromRight var(--hero-in-dur) var(--hero-in-ease) calc(var(--hero-in-lead) + var(--hero-in-step)*3) both}
.opening-finished .theme-hero .hero-event{animation:heroFromLeft var(--hero-in-dur) var(--hero-in-ease) calc(var(--hero-in-lead) + var(--hero-in-step)*4) both}
.opening-finished .theme-hero time{animation:heroFromRight var(--hero-in-dur) var(--hero-in-ease) calc(var(--hero-in-lead) + var(--hero-in-step)*5) both}
.opening-finished .theme-hero .hero-venue{animation:heroFromLeft var(--hero-in-dur) var(--hero-in-ease) calc(var(--hero-in-lead) + var(--hero-in-step)*6) both}
@media(prefers-reduced-motion:reduce){
  /* HAREKET KAPANIR, METİN KALIR. Süreyi kısaltmak yetmezdi: gecikmeler
     yerinde kalacağı için satırlar bir saniyeye yakın görünmez olurdu ve
     azaltılmış hareket isteyen kullanıcı boş bir ekrana bakardı.
     Animasyon tümden iptal edilince öğeler doğal, GÖRÜNÜR hallerine
     döner — bu kuralın tek işi bu. */
  .opening-finished .theme-hero .theme-decoration,
  .opening-finished .theme-hero .theme-kicker,
  .opening-finished .theme-hero .hero-names,
  .opening-finished .theme-hero .name-part,
  .opening-finished .theme-hero .hero-event,
  .opening-finished .theme-hero time,
  .opening-finished .theme-hero .hero-venue{animation:none!important}
}
