/* ============================================================
   TEMA: SİYAH & BEYAZ - sinematik film şeridi (bespoke)
   Kara fon + grain + akan film + B&W fotoğraf (tıkla → renklen)
   Özelleştirilebilir: arka plan, başlık, metin, kart renkleri.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; }

:root {
    /* sıcak film tonları - saf siyah yerine koyu kahve-siyah */
    /* zemin TAM SİYAH (nötr) */
    --bg-0: #000000;
    --bg-1: #0c0c0f;
    --bg-2: #151518;
    /* kart DOLGUSU ANTRASİT (nötr koyu gri); kenarlık soluk nötr */
    --card: #26262b;
    --card-border: rgba(255,255,255,0.11);
    --card-shadow: 0 14px 38px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
    --ink:    #f5f0e9;
    --ink-2:  #d8cdbb;
    --ink-3:  #bcac91;  /* krem - minik başlıklar okunur olsun */
    --muted:  #93876f;
    --line:   rgba(255,242,226,0.17);
    --line-soft: rgba(255,242,226,0.09);

    --font-h:    'Cormorant Garamond', Georgia, serif;
    --font-b:    'Cormorant Garamond', Georgia, serif;
    --font-cine: 'Oswald', 'Arial Narrow', sans-serif;
    --font-mono: 'Courier Prime', 'Courier New', monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    font-family: var(--font-b); color: var(--ink); line-height: 1.7;
    background: radial-gradient(120% 90% at 50% 0%, var(--bg-2) 0%, var(--bg-1) 45%, var(--bg-0) 100%);
    background-attachment: fixed;
    min-height: 100vh; -webkit-font-smoothing: antialiased;
    overflow: hidden;
}
body.is-reading { overflow-x: hidden; overflow-y: auto; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; color: inherit; background: 0; border: 0; padding: 0; }
::selection { background: #fff; color: #000; }

.grain { position: fixed; inset: -60%; z-index: 3; pointer-events: none; opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain .42s steps(3) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-4%,2%)} 66%{transform:translate(3%,-3%)} 100%{transform:translate(0,0)} }
.vignette { position: fixed; inset: 0; z-index: 4; pointer-events: none; box-shadow: inset 0 0 22vw rgba(0,0,0,0.85); }

/* sıcak film renk-derecelendirmesi (kahve haze) */
.film-tone { position: fixed; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(130% 100% at 50% 16%, rgba(156,110,58,0.09), transparent 52%),
                linear-gradient(rgba(46,30,15,0.10), rgba(22,13,6,0.16)); }

/* CANLI BG ANİMASYONU: sıcak projektör ışığı (nefes alır) + sürüklenen film çizikleri (titrer) */
.film-bg { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.film-bg::before { content: ''; position: absolute; left: 50%; top: -28%; width: 165vmax; height: 165vmax; transform: translate(-50%, 0);
    background: radial-gradient(circle at 50% 50%, rgba(158,112,60,0.11) 0%, rgba(158,112,60,0.04) 34%, transparent 60%);
    animation: kas-projector 13s ease-in-out infinite; }
@keyframes kas-projector {
    0%, 100% { opacity: .45; transform: translate(-51%, -2%); }
    50%      { opacity: .95; transform: translate(-49%, 2%); }
}
.film-bg::after { content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, transparent 0 6.5vw, rgba(255,248,236,0.05) 6.5vw 6.58vw, transparent 6.58vw 12vw, rgba(255,248,236,0.03) 12vw 12.06vw, transparent 12.06vw 19vw);
    background-size: 19vw 100%;
    animation: kas-scratch 17s linear infinite, kas-flicker 5s steps(5) infinite; }
@keyframes kas-scratch { from { background-position: 0 0; } to { background-position: 19vw 0; } }
@keyframes kas-flicker { 0%,100% { opacity: .5; } 20% { opacity: .2; } 40% { opacity: .6; } 60% { opacity: .15; } 80% { opacity: .45; } }

/* ════════════════════════════════════════════════════════════
   ESKİ FİLM BOZULMALARI - eski projeksiyonlarda ekrandaki kusurlar:
   yuvarlanan pozlama bandı + titreyip yer değiştiren çizikler +
   toz/leke + ani pozlama parlaması + hafif kare titremesi (gate weave)
   ════════════════════════════════════════════════════════════ */
.film-defects { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
    /* TOZ & LEKE: rastgele dağılmış minik benekler, adımlarla yer değiştirir */
    background-image:
        radial-gradient(circle, rgba(255,248,235,0.9) 0.5px, transparent 1.4px),
        radial-gradient(circle, rgba(0,0,0,0.85) 0.6px, transparent 1.6px),
        radial-gradient(circle, rgba(255,248,235,0.7) 0.5px, transparent 1.3px);
    background-size: 240px 320px, 300px 260px, 200px 380px;
    background-position: 0 0, 80px 120px, 150px 40px;
    animation: kas-dust 1.5s steps(1) infinite; }
@keyframes kas-dust {
    0%   { background-position: 12px 30px, 80px 120px, 150px 40px; opacity: .5; }
    25%  { background-position: 190px 200px, 30px 260px, 60px 300px; opacity: .35; }
    50%  { background-position: 70px 140px, 220px 60px, 240px 180px; opacity: .55; }
    75%  { background-position: 150px 280px, 120px 180px, 20px 90px; opacity: .3; }
    100% { background-position: 40px 60px, 200px 220px, 180px 260px; opacity: .5; }
}
/* YUVARLANAN POZLAMA BANDI (ışık sızıntısı) - yukarıdan aşağı süzülür */
.film-defects::before { content: ''; position: absolute; left: -5%; right: -5%; height: 42vh;
    background: linear-gradient(180deg, transparent, rgba(255,236,205,0.05) 32%, rgba(255,244,224,0.13) 50%, rgba(255,236,205,0.05) 68%, transparent);
    animation: kas-rollbar 11s linear infinite; }
@keyframes kas-rollbar { 0% { top: -50vh; opacity: 0; } 6% { opacity: 1; } 70% { opacity: .85; } 88% { opacity: .5; } 100% { top: 110vh; opacity: 0; } }
/* TİTREYEN DİKEY ÇİZİKLER - adımlarla yeni konumlara zıplar + flicker */
.film-defects::after { content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,250,240,0.55), rgba(255,250,240,0.55)),
        linear-gradient(90deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        linear-gradient(90deg, rgba(255,250,240,0.4), rgba(255,250,240,0.4));
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 1.5px 100%, 2px 100%, 1px 100%;
    background-position: 18% 0, 63% 0, 84% 0;
    opacity: .42;
    animation: kas-scratch-jump 1.9s steps(1) infinite, kas-scratch-flick .3s steps(2) infinite; }
@keyframes kas-scratch-jump {
    0%   { background-position: 18% 0, 63% 0, 84% 0; }
    33%  { background-position: 41% 0, 12% 0, 70% 0; }
    66%  { background-position: 27% 0, 88% 0, 55% 0; }
    100% { background-position: 9% 0, 49% 0, 92% 0; }
}
@keyframes kas-scratch-flick { 0%,100% { opacity: .42; } 50% { opacity: .12; } }
/* ANİ POZLAMA PARLAMASI - tüm sahne arada bir hafifçe parlar */
.film-weave { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: rgba(255,243,224,0); animation: kas-flash 7s ease-in-out infinite; }
@keyframes kas-flash {
    0%, 100% { background: rgba(255,243,224,0); }
    47%      { background: rgba(255,243,224,0); }
    49%      { background: rgba(255,243,224,0.07); }
    51%      { background: rgba(40,26,12,0.06); }
    53%      { background: rgba(255,243,224,0); }
}
/* hafif gate weave: SADECE film fotoğraflarının çok minik sallanması (makara oynaması).
   NOT: .memory'ye uygulanmaz - sabit müzik oynatıcıyı kapsayıp bozardı. */
.frame, .hero-photo { animation: kas-gate 7s ease-in-out infinite; }
@keyframes kas-gate {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(0.25px, -0.3px); }
    50%      { transform: translate(-0.3px, 0.2px); }
    75%      { transform: translate(0.2px, 0.25px); }
}

/* B&W fotoğraf: tıkla → renklen */
[data-colorize] img { filter: grayscale(1) sepia(0.32) contrast(1.05) brightness(1.0); transition: filter .9s ease; cursor: pointer; }
[data-colorize].is-color img { filter: grayscale(0) sepia(0) contrast(1) brightness(1); }
[data-colorize] { position: relative; }
[data-colorize]::after { content: 'RENKLENDİR'; position: absolute; left: 8px; bottom: 8px; z-index: 4; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.55); padding: 3px 6px; pointer-events: none; opacity: 0; transition: opacity .3s; }
[data-colorize]:hover::after { opacity: 1; }
[data-colorize].is-color::after { display: none; }
/* Büyüteç: lightbox bu butondan açılır (fotoğrafa tıklama = renklendirme).
   Dokunmatikte hover olmadığı için hep hafif görünür durur. */
.ph-zoom { position: absolute; right: 8px; bottom: 8px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  display: grid; place-items: center; cursor: pointer;
  background: rgba(0,0,0,.55); color: rgba(255,255,255,.85);
  opacity: .65; transition: opacity .25s, background .25s, transform .2s; }
.ph-zoom svg { width: 17px; height: 17px; }
.ph-zoom:hover, .ph-zoom:focus-visible { opacity: 1; background: rgba(0,0,0,.75); transform: scale(1.08); }
[data-colorize]:hover .ph-zoom { opacity: .9; }

/* FİLM ŞERİDİ */
.film { position: relative; background: #0b0b0b; padding: 13px 0; }
.film::before, .film::after { content: ''; position: absolute; left: 0; right: 0; height: 13px; background-image: repeating-linear-gradient(90deg, transparent 0 9px, #d9d9d9 9px 18px, transparent 18px 28px); opacity: .85; }
.film::before { top: 0; } .film::after { bottom: 0; }
.film-track { display: flex; gap: 8px; padding: 0 8px; }
.film-cell { flex: 0 0 auto; width: 150px; height: 100px; overflow: hidden; background: #000; border: 1px solid #1c1c1c; }
.film-cell img { width: 100%; height: 100%; object-fit: cover; }

/* ═══ ENTRY ═══ */
.entry { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; overflow: hidden; transition: opacity .8s var(--ease); }
.entry.is-leaving { opacity: 0; pointer-events: none; }
.entry-frame { position: absolute; inset: 18px; border: 1px solid var(--line-soft); pointer-events: none; }
.entry-corner { position: absolute; width: 26px; height: 26px; border: 1px solid var(--line); }
.entry-corner.tl { top: 26px; left: 26px; border-right: 0; border-bottom: 0; }
.entry-corner.tr { top: 26px; right: 26px; border-left: 0; border-bottom: 0; }
.entry-corner.bl { bottom: 26px; left: 26px; border-right: 0; border-top: 0; }
.entry-corner.br { bottom: 26px; right: 26px; border-left: 0; border-top: 0; }
.entry-top { text-align: center; z-index: 6; margin-bottom: 30px; }
.entry-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .55em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; padding-left: .55em; }
.entry-reel { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; color: var(--ink-2); }
.entry-reel svg { width: 26px; height: 26px; animation: reel-spin 6s linear infinite; }
@keyframes reel-spin { to { transform: rotate(360deg); } }
.entry-reel-line { width: 40px; height: 1px; background: var(--line); }
.entry-couple { font-family: var(--font-h); font-style: italic; font-weight: 500; font-size: clamp(40px, 8vw, 64px); color: var(--ink); line-height: 1.02; margin: 0 0 10px; }
.entry-amp { font-style: normal; color: var(--ink-3); margin: 0 6px; }
.entry-sub { font-family: var(--font-mono); font-size: clamp(11px, 2vw, 13px); letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; }
.entry-btn { margin-top: 26px; min-height: 52px; padding: 0 30px; background: #fff; color: #000; border-radius: 2px; font-family: var(--font-cine); font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; transition: transform .25s var(--ease), background .25s; }
.entry-btn:hover { transform: translateY(-2px); background: #ddd; }
.entry-btn svg { width: 14px; height: 14px; }
.entry-film { width: 100vw; }
.entry-film .film-track { animation: film-run 28s linear infinite; }
@keyframes film-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.entry-brand { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 6; font-family: var(--font-mono); font-size: 10px; letter-spacing: .4em; color: var(--muted); }

/* ═══ OPENING - countdown leader ═══ */
.opening { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; background: #000; opacity: 0; transition: opacity .4s ease; overflow: hidden; pointer-events: none; }
.opening.is-active { opacity: 1; }
.opening.is-done { opacity: 0; pointer-events: none; }
.leader { position: relative; width: min(72vmin, 460px); height: min(72vmin, 460px); }
.leader-ring { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,0.25); border-radius: 50%; }
.leader-ring.r2 { inset: 12%; border-color: rgba(255,255,255,0.15); }
.leader-cross::before, .leader-cross::after { content: ''; position: absolute; background: rgba(255,255,255,0.2); }
.leader-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.leader-cross::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.leader-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from -90deg, rgba(255,255,255,0.16) 0deg, rgba(255,255,255,0.02) 90deg, transparent 120deg 360deg); animation: sweep 1s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.leader-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-style: italic; font-weight: 600; font-size: min(34vmin, 220px); line-height: 1; color: #fff; transform: translateY(-4%); }

/* ═══ MEMORY ═══ */
.memory { position: relative; z-index: 5; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity .9s var(--ease); }
.memory.is-visible { opacity: 1; }
.block { position: relative; max-width: 760px; margin: 0 auto; padding: 60px 24px; z-index: 5; }
@media (min-width: 768px) { .block { padding: 84px 32px; } }
.block-head { text-align: center; margin-bottom: 40px; }
.block-scene { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .35em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.block-eyebrow { font-family: var(--font-cine); font-size: 12px; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.block-title { font-family: var(--font-h); font-style: italic; font-weight: 500; font-size: clamp(30px, 5.5vw, 46px); line-height: 1.12; color: var(--ink); margin: 0; }
.block-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 240px; margin: 18px auto 0; }
.block-ornament-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.block-ornament svg { width: 16px; height: 16px; color: var(--ink-2); flex-shrink: 0; }

/* foto çerçevesi - film karesi */
.frame { position: relative; padding: 13px 9px; background: #0b0b0b; border: 1px solid #1d1d1d; }
.frame::before, .frame::after { content: ''; position: absolute; left: 6px; right: 6px; height: 11px; background-image: repeating-linear-gradient(90deg, transparent 0 7px, #d9d9d9 7px 14px, transparent 14px 22px); opacity: .8; }
.frame::before { top: 1px; } .frame::after { bottom: 1px; }
.frame img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.frame.frame-sm img { aspect-ratio: 4/3; }

/* ─── HERO ─── */
.hero { position: relative; z-index: 5; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 110px 24px 60px; overflow: hidden; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .45em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; animation: fade-up .9s var(--ease) .2s both; }
.hero-divider { width: 60px; height: 1px; background: var(--line); margin: 0 auto 30px; animation: scale-x .8s var(--ease) .3s both; }
@keyframes scale-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-couple { font-family: var(--font-h); font-style: italic; font-size: clamp(52px, 11vw, 92px); color: var(--ink); line-height: 1; margin: 0 0 16px; animation: fade-up .9s var(--ease) .4s both; }
.hero-title { font-family: var(--font-h); font-weight: 500; margin: 0 0 26px; line-height: 1.04; color: var(--ink-2); animation: fade-up .9s var(--ease) .5s both; }
.hero-title em { display: block; font-style: italic; font-size: clamp(26px, 5vw, 40px); }
.hero-since { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 38px; animation: fade-up .9s var(--ease) .6s both; }
.hero-since-line { width: 30px; height: 1px; background: var(--line); }
.hero-photo { max-width: 340px; width: 82%; animation: fade-up 1.1s var(--ease) .7s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }
.hero-scroll::before { content: ''; display: block; width: 1px; height: 24px; margin: 0 auto 8px; background: linear-gradient(180deg, transparent, var(--ink-3)); animation: pulse-line 2.4s ease-in-out infinite; }
@keyframes pulse-line { 0%,100% { transform: scaleY(1); opacity: .6; } 50% { transform: scaleY(.4); opacity: .2; } }

/* ─── DAY COUNTER ─── */
.day-counter { text-align: center; }
.day-counter-card { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 44px 56px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); position: relative; }
.day-counter-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line-soft); pointer-events: none; }
.day-counter-star { color: var(--ink-2); margin-bottom: 8px; }
.day-counter-star svg { width: 26px; height: 26px; }
.day-counter-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.day-counter-num { font-family: var(--font-h); font-style: italic; font-weight: 500; font-size: clamp(64px, 14vw, 120px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; margin: 6px 0; }
.day-counter-label { font-family: var(--font-h); font-style: italic; font-size: clamp(18px, 3vw, 22px); color: var(--ink-2); }
.day-counter-foot { margin-top: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }

/* ─── MESSAGE ─── */
.message-card { position: relative; padding: 48px 32px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
@media (min-width: 768px) { .message-card { padding: 60px 48px; } }
.message-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line-soft); pointer-events: none; }
.message-icon { display: flex; justify-content: center; margin-bottom: 18px; color: var(--ink-2); }
.message-icon svg { width: 30px; height: 30px; }
.message-text { font-family: var(--font-h); font-style: italic; font-size: clamp(18px, 4vw, 24px); line-height: 1.7; color: var(--ink); text-align: center; margin: 0; }

/* ─── GALLERY (yatay film şeridi) ─── */
.gallery-strip { max-width: none; padding-left: 0; padding-right: 0; }
.gallery-strip .film-track { gap: 10px; overflow-x: auto; scroll-snap-type: none; -webkit-overflow-scrolling: touch; padding: 0 max(24px, calc(50vw - 380px)); }
.gallery-strip .film-track::-webkit-scrollbar { display: none; }
.gallery-cell { flex: 0 0 auto; width: clamp(220px, 60vw, 300px); scroll-snap-align: center; }
.gallery-cell .ph { aspect-ratio: 3/4; overflow: hidden; background: #000; border: 1px solid #1c1c1c; }
.gallery-cell .ph img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cap { font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; text-align: center; }
.gallery-hint { font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 18px; }

/* ─── NOTE ─── */
.note { max-width: 540px; text-align: center; }
.note-text { font-family: var(--font-h); font-style: italic; font-size: clamp(22px, 4.5vw, 32px); line-height: 1.5; color: var(--ink); }
.note-text::before, .note-text::after { display: inline-block; font-family: var(--font-h); color: var(--ink-3); font-size: 1.4em; line-height: 0; vertical-align: -0.2em; margin: 0 .1em; }
.note-text::before { content: '“'; } .note-text::after { content: '”'; }

/* ─── LETTER ─── */
.letter { max-width: 640px; }
.letter-paper { position: relative; padding: 46px 34px 40px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
@media (min-width: 768px) { .letter-paper { padding: 64px 56px 52px; } }
.letter-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px; }
.letter-mark::before { content: ''; width: 24px; height: 1px; background: var(--line); }
.letter-to { font-family: var(--font-h); font-style: italic; font-size: clamp(30px, 5vw, 40px); color: var(--ink); margin-bottom: 22px; }
.letter-body { font-family: var(--font-h); font-style: italic; font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.letter-body p { margin: 0 0 14px; } .letter-body p:last-child { margin-bottom: 0; }
.letter-from { margin-top: 30px; text-align: right; }
.letter-from-name { font-family: var(--font-h); font-style: italic; font-size: 26px; color: var(--ink); }

/* ─── TIMELINE ─── */
.timeline-list { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; }
.timeline-list::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 40px 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -36px; top: 6px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-0); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.tl-dot svg { width: 13px; height: 13px; color: var(--ink-2); }
.tl-card { display: flex; gap: 18px; flex-wrap: wrap; padding: 18px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.tl-photo { width: 130px; flex-shrink: 0; }
.tl-text { flex: 1; min-width: 200px; }
.tl-date { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; padding: 3px 10px; border: 1px solid var(--line-soft); }
.tl-title { font-family: var(--font-h); font-style: italic; font-weight: 600; font-size: clamp(20px, 4vw, 24px); color: var(--ink); margin: 0 0 6px; }
.tl-desc { font-family: var(--font-h); font-style: italic; font-size: 16px; line-height: 1.7; color: var(--ink-3); margin: 0; }

/* ─── SURPRISE ─── */
.surprise { text-align: center; padding: 50px 24px; }
.surprise-orb-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px; cursor: pointer; }
.surprise-ring { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 150px; height: 150px; border: 1px dashed var(--line); border-radius: 50%; animation: ring-spin 30s linear infinite; }
@keyframes ring-spin { to { transform: translateX(-50%) rotate(360deg); } }
.surprise-orb { position: relative; z-index: 1; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #2a2a2a, #000); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: transform .4s var(--ease); }
.surprise-orb-wrap:hover .surprise-orb { transform: scale(1.07); }
.surprise-orb svg { width: 44px; height: 44px; }
.surprise-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.surprise-card { margin: 16px auto 0; max-width: 480px; display: none; animation: reveal-up .6s var(--ease) both; }
.surprise-card.is-open { display: block; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.surprise-text { font-family: var(--font-h); font-style: italic; font-size: clamp(18px, 4vw, 22px); line-height: 1.7; color: var(--ink); text-align: center; margin: 0; }

/* ── İMZA SÜRPRİZ: KLAKET (clapperboard) şaklar ── */
.sb-surprise { text-align: center; padding: 50px 24px; }
.sb-surprise .clap-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 20px; cursor: pointer; padding: 24px; background: none; }
.clap { position: relative; width: clamp(200px, 62vw, 240px); filter: drop-shadow(0 14px 26px rgba(0,0,0,0.65)); }
.clap-top { height: 30px; border: 2px solid #f5f0e9; border-bottom: 0; transform-origin: 9px 100%; transform: rotate(-26deg);
    transition: transform .18s var(--ease); background: repeating-linear-gradient(118deg, #f5f0e9 0 17px, #121212 17px 34px); }
.clap-body { border: 2px solid #f5f0e9; background: #0e0e0e; padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; }
.clap-row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(245,240,233,0.22); padding-bottom: 6px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.clap-row:last-child { border-bottom: 0; padding-bottom: 0; }
.clap-row span:last-child { color: #f5f0e9; }
.clap-wrap:hover .clap-top { transform: rotate(-32deg); }
.sb-surprise .clap-wrap.is-gone .clap-top { animation: clap-snap .42s cubic-bezier(.5,0,.3,1) forwards; }
@keyframes clap-snap { 0% { transform: rotate(-28deg); } 45% { transform: rotate(3deg); } 65% { transform: rotate(-3deg); } 100% { transform: rotate(0deg); } }
.sb-surprise .surprise-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }

/* ─── GUESTBOOK ─── */
.guestbook { max-width: 640px; }
.gb-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.gb-entry { padding: 20px 24px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.gb-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.gb-head strong { font-family: var(--font-h); font-style: italic; font-size: 18px; color: var(--ink); }
.gb-head time { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gb-entry p { font-family: var(--font-h); font-style: italic; font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.gb-form { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.gb-form input, .gb-form textarea { width: 100%; padding: 11px 14px; background: #000; color: var(--ink); border: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 13px; outline: none; transition: border-color .2s ease; }
.gb-form input::placeholder, .gb-form textarea::placeholder { color: var(--muted); }
.gb-form textarea { resize: vertical; min-height: 70px; }
.gb-form input:focus, .gb-form textarea:focus { border-color: var(--ink-2); }
.gb-form button { align-self: flex-end; min-height: 44px; padding: 0 24px; background: #fff; color: #000; font-family: var(--font-cine); font-size: 12px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; transition: background .2s; }
.gb-form button:hover { background: #ddd; }

/* ─── FOOTER ─── */
.footer { text-align: center; padding: 60px 24px 40px; }
.footer-star { color: var(--ink-2); margin-bottom: 14px; }
.footer-star svg { width: 30px; height: 30px; }
.footer-couple { font-family: var(--font-h); font-style: italic; font-size: clamp(40px, 8vw, 60px); color: var(--ink); margin: 0 0 8px; line-height: 1; }
.footer-since { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .35em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 24px; }
.footer-counter { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.footer-counter-num { color: var(--ink); font-variant-numeric: tabular-nums; }
.footer-brand { margin-top: 32px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }

/* ═══ MÜZİK PLAYER ═══ */
/* ortalı, yuvarlak yüzen pill (full-width değil) - diğer temalarla aynı düzen */
.player { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50;
    width: min(360px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 10px 16px;
    border-radius: 100px; overflow: hidden;
    background: linear-gradient(180deg, rgba(40,40,46,0.96), rgba(10,10,12,0.97)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border); box-shadow: 0 18px 40px -14px rgba(0,0,0,0.7);
    transform: translate(-50%, 180%); transition: transform .6s var(--ease) .3s; }
body.is-reading .player { transform: translate(-50%, 0); }
.player-progress { position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 3px; background: rgba(255,255,255,0.1); }
.player-progress-fill { height: 100%; width: 0; background: #fff; transition: width .2s linear; }
.player-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.player-btn { width: 30px; height: 30px; border-radius: 50%; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.player-btn:hover { background: rgba(255,255,255,0.08); }
.player-btn svg { width: 16px; height: 16px; }
.player-btn.player-play { width: 34px; height: 34px; background: #fff; color: #000; }
.player-info { flex: 1; min-width: 0; }
.player-title { font-family: var(--font-h); font-style: italic; font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-3); margin-top: 2px; }
.player-note { flex-shrink: 0; color: var(--ink-2); }
.player-note svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .player { padding: 10px 14px; gap: 10px; } .player-note { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* === Düzenlenebilir renkler: arka plan, başlık, metin, kart === */
body.kas-tpl-siyah-beyaz {
    --kas-bg: #000000;    --kas-bg-rgb: 0,0,0;
    --kas-title: #f5f0e9; --kas-title-rgb: 245,240,233;
    --kas-text: #d8cdbb;  --kas-text-rgb: 216,205,187;
    --kas-card: #26262b;  --kas-card-rgb: 38,38,43;
    --bg-0: var(--kas-bg);
    /* türetilen tonlar SABİT (color-mix yok → her cihazda çalışır) */
    --bg-1: #0c0c0f;
    --bg-2: #151518;
    --card: var(--kas-card);
    --ink: var(--kas-title);
    --ink-2: var(--kas-text);
    --ink-3: #bcac91;
    --muted: #93876f;
}
