/* =====================================================================
   KRONOTES LETTERS — kronotes.com/letters  (1 Kasım 2026)
   Sitenin (Nayla teması) dili: #274433 yeşil, DM Sans, ferah beyaz alan.
   Mektup: ivory kâğıt, Patrick Hand el yazısı, koyu gri mürekkep.
   Zarf ve animasyonlar tamamen CSS; görsel/video dosyası yok.
   ===================================================================== */

/* Fontlar siteyle birlikte gelir (Google'a bağlanmaz). OFL-1.1 lisanslı: DM Sans, Patrick Hand. */
@font-face { font-family: 'Patrick Hand'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/patrick-hand-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Patrick Hand'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/patrick-hand-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
    --green: #274433;          /* site ana rengi (Pantone 553 karşılığı) */
    --green-deep: #1d3427;
    --green-soft: #2f5140;
    --ivory: #f8f4ea;
    --ivory-page: #ffffff;   /* site zemini (body.light --mainBackground) */
    --paper: #f7f1e3;
    --ink: #34363a;            /* koyu gri mürekkep */
    --gray: #53565a;           /* Cool Gray 11 */
    --gray-2: #8f8d8d;
    --line: #ebebeb;
    --white: #ffffff;
    --head-h: 64px;
    --ease: cubic-bezier(.65, 0, .35, 1);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --hand: 'Patrick Hand', 'Comic Sans MS', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.lt {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--ivory-page);
    color: var(--green);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ başlık */
.lt-head {
    height: var(--head-h);
    padding: 0 clamp(16px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ivory-page);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}
.lt-logo img { height: 22px; width: auto; }
.lt-lang { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .12em; color: var(--gray-2); }
.lt-lang button { color: var(--gray-2); padding: 6px 2px; transition: color .2s; }
.lt-lang button.on { color: var(--green); }

main { flex: 1; display: flex; flex-direction: column; position: relative; }

/* ------------------------------------------------------------ giriş: iki panel */
.split {
    flex: 1;
    display: flex;
    min-height: calc(100svh - var(--head-h) - 52px);
}
.panel {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    transition: flex-basis .7s var(--ease), flex-grow .7s var(--ease), background-color .7s var(--ease), color .7s var(--ease);
}
.panel-future { background: var(--ivory-page); color: var(--green); }
.panel-someone { background: var(--green); color: var(--ivory); }

.panel-intro {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vh, 40px);
    padding: clamp(28px, 6vh, 64px) clamp(20px, 5vw, 64px);
    text-align: center;
    cursor: pointer;
    outline: none;
    transition: opacity .35s var(--ease);
}
.panel-visual {
    margin: 0;
    width: min(300px, 62%);
    aspect-ratio: 4 / 5;
    max-height: 42vh;
    overflow: hidden;
    transition: transform .9s var(--ease-out);
}
.panel-visual img {
    width: 100%; height: 100%; object-fit: cover;
    /* görselin kenarları panel zeminine yumuşakça erir */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
            mask-composite: intersect;
}
.panel-intro:hover .panel-visual,
.panel-intro:focus-visible .panel-visual { transform: translateY(-6px); }

.panel-text { max-width: 380px; min-height: 250px; }
.eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: .3em; opacity: .55; }
.panel h1 {
    margin: 0 0 12px;
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -.02em;
}
.lede { margin: 0 0 10px; font-size: clamp(16px, 1.4vw, 18px); }
.small { margin: 0 auto; font-size: 14px; line-height: 1.6; opacity: .7; max-width: 320px; }
.cta-line {
    display: inline-flex;
    gap: 10px;
    margin-top: 26px;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
}
.cta-line i { font-style: normal; transition: transform .3s var(--ease-out); }
.panel-intro:hover .cta-line i { transform: translateX(5px); }

/* seçilen panel genişler, diğeri kapanır */
.split.chosen .panel:not(.active) { flex: 0 0 0px; min-width: 0; min-height: 0; }
.split.chosen .panel.active { flex: 1 1 auto; background: var(--ivory-page); color: var(--green); }
.split.settled .panel:not(.active) { display: none; }
.split.chosen .panel-intro { opacity: 0; pointer-events: none; }
.split.chosen .panel.active .panel-intro { position: absolute; inset: 0; }

/* ------------------------------------------------------------ yazma paneli */
.composer {
    position: relative;
    min-height: 100%;
    padding: 28px clamp(16px, 5vw, 48px) 64px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.composer.in { opacity: 1; transform: none; }
.back {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gray);
    display: inline-flex;
    gap: 8px;
    padding: 8px 0;
}
.back i { font-style: normal; }
.composer-inner { max-width: 640px; margin: 18px auto 0; }
.composer h2 {
    margin: 0 0 8px;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.composer-sub { margin: 0 0 36px; color: var(--gray); }

.lt-form { display: flex; flex-direction: column; gap: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; position: relative; }
.label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.label em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--gray-2); margin-left: 6px; font-size: 12px; }
.field input[type=text],
.field input[type=email],
.field input[type=date] {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    background: transparent;
    padding: 10px 0;
    font-size: 17px;
    color: var(--ink);
    border-radius: 0;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
}
.field input:focus { border-bottom-color: var(--green); }
.field textarea,
.field textarea.paper-input {
    width: 100%;
    min-height: 340px;
    resize: vertical;
    border: 1px solid #e3dccb;
    background-color: var(--paper);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .40 0 0 0 0 .30 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.55), transparent 70%);
    padding: clamp(26px, 5vw, 48px) clamp(22px, 5vw, 52px);
    font-family: var(--hand);
    font-size: clamp(21px, 2.5vw, 25px);
    line-height: 1.62;
    letter-spacing: .005em;
    color: var(--ink);
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 8px 26px rgba(39, 68, 51, .07);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea::placeholder { color: #a39c8c; opacity: 1; }
.field textarea:focus { border-color: #cfc3a6; box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 10px 30px rgba(39, 68, 51, .12); }
.field.bad input, .field.bad textarea { border-color: #a4473b; }
.count { position: absolute; right: 0; bottom: -22px; font-size: 11px; color: var(--gray-2); }
.count b { font-weight: 400; }
.hint { font-size: 13px; color: var(--gray-2); line-height: 1.5; }
.date-hint { color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
    font-size: 13px;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    color: var(--gray);
    transition: background-color .2s, border-color .2s, color .2s;
}
.chips button:hover, .chips button.on { border-color: var(--green); color: var(--green); }
.chips button.on { background: var(--green); color: var(--ivory); }

.photo-pick { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.photo-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    border: 1px dashed #d7d7d7;
    font-size: 14px;
    color: var(--green);
    cursor: pointer;
    transition: border-color .2s;
}
.photo-btn:hover { border-color: var(--green); }
.photo-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photo-thumb { position: relative; width: 64px; height: 64px; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.photo-remove {
    position: absolute; top: -8px; right: -8px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--green); color: var(--ivory); font-size: 15px; line-height: 24px;
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { margin: 0; color: #a4473b; font-size: 14px; }
.privacy-hint { margin: -10px 0 0; }

.actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.btn {
    min-height: 50px;
    padding: 0 28px;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.btn.primary { background: var(--green); color: var(--ivory); border: 1px solid var(--green); }
.btn.primary:hover { background: var(--green-deep); }
.btn.ghost { border: 1px solid #d7d7d7; color: var(--green); }
.btn.ghost:hover { border-color: var(--green); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ sahne & zarf */
.stage {
    position: fixed;
    inset: var(--head-h) 0 0 0;
    z-index: 15;
    background: var(--ivory-page);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 40px;
    text-align: center;
    overflow-y: auto;
}
.mode-l .stage, .mode-f .stage { position: relative; inset: auto; flex: 1; }
.stage-top {
    margin: 0 0 30px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.3;
    max-width: 560px;
    min-height: 1.3em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.stage-top.in { opacity: 1; transform: none; }
/* ------------------------------------------------------------ zarf (KX)
   Katmanlar (alttan üste): zemin gölgesi · arka yüz + iç astar · mektup · ön cep · kapak · logo
   Kapak açıkken JS onu mektubun arkasına alır (z-index 1). Tüm hareketler letters.js > KX. */
.stage-box {
    --w: min(340px, 78vw);
    position: relative;
    width: var(--w);
    margin-top: calc(var(--w) * .18);
}
.kx { position: relative; width: 100%; }
.kx.idle { animation: kxFloat 4.2s ease-in-out infinite; }
.kx.idle .kx-ground { animation: kxGround 4.2s ease-in-out infinite; }
@keyframes kxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes kxGround { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.92); opacity: .75; } }

.kx-env {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    container-type: inline-size;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.kx-env:focus-visible { outline: 2px solid rgba(39, 68, 51, .35); outline-offset: 10px; border-radius: 6px; }
.kx.idle .kx-env { cursor: pointer; }

.kx-ground {
    position: absolute;
    left: 6%; right: 6%;
    bottom: -9%;
    height: 16%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(18, 38, 27, .32), rgba(18, 38, 27, 0) 100%);
    filter: blur(5px);
    pointer-events: none;
}
.kx-part { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; will-change: transform, opacity; }
.kx-back { z-index: 0; filter: drop-shadow(0 1px 1px rgba(10, 26, 18, .25)) drop-shadow(0 10px 18px rgba(10, 26, 18, .16)); }
.kx-front { z-index: 3; pointer-events: none; }

.kx-flap {
    height: 60%;
    z-index: 5;
    transform-origin: 50% 0;
    transform: perspective(700px) rotateX(0deg);
    transform-style: preserve-3d;
    pointer-events: none;
}
.kx-flap-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.kx-flap-out { filter: drop-shadow(0 1.2px 1.4px rgba(6, 19, 12, .38)); }
.kx-flap-in { transform: rotateX(180deg); }
.kx-flap-shade {
    position: absolute; inset: 0;
    background: #06130c;
    opacity: 0;
    clip-path: polygon(0 0, 100% 0, 54.7% 88%, 50% 96%, 45.3% 88%);
    backface-visibility: hidden;
    pointer-events: none;
}

.kx-logo {
    left: 50%; top: 71%;
    width: 30%; height: auto;
    z-index: 4;
    transform: translate(-50%, -50%);
    opacity: .9;
    /* kabartma (deboss) baskı hissi */
    filter: drop-shadow(0 -.6px 0 rgba(4, 14, 9, .55)) drop-shadow(0 .6px 0 rgba(255, 255, 255, .07));
    pointer-events: none;
}

/* ---- mektup: 3 panel, kâğıt ön yüz (gerçek el yazısı) / arka yüz */
.kx-letter-wrap {
    position: absolute;
    z-index: 2;
    left: 5%;
    width: 90%;
    top: -35.7%;          /* orta panel cebin içinde dursun */
    height: 183.6%;       /* A4'e yakın oran: 0.9W × 1.224W */
    perspective: 1100px;
    pointer-events: none;
}
.kx-letter { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.kx-panel { position: absolute; left: 0; right: 0; height: 33.34%; transform-style: preserve-3d; }
.kx-p1 { top: 0; transform-origin: 50% 100%; transform: translateZ(2px) rotateX(-180deg); }
.kx-p2 { top: 33.33%; }
.kx-p3 { top: 66.66%; transform-origin: 50% 0; transform: translateZ(1px) rotateX(180deg); }
.kx-face {
    position: absolute; inset: 0;
    overflow: hidden;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .40 0 0 0 0 .30 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.kx-face.b { transform: rotateX(180deg); background-color: #efe6d2; box-shadow: inset 0 0 0 .5px rgba(60, 48, 25, .08); }
.kx-p2 .kx-face.f { box-shadow: inset 0 1px 0 rgba(0,0,0,.035), inset 0 -1px 0 rgba(0,0,0,.035); }
.kx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 32, 18, .55), rgba(40, 32, 18, .25)); opacity: 0; pointer-events: none; }
.kx-sheet {
    position: absolute; left: 0; right: 0;
    height: 300%;
    padding: 9% 9% 0;
    font-family: var(--hand);
    font-size: 3cqw;
    line-height: 1.55;
    color: var(--ink);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow: hidden;
    text-align: left;
}
.kx-p2 .kx-sheet { top: -100%; }
.kx-p3 .kx-sheet { top: -200%; }
.kx-sh-head { display: flex; justify-content: space-between; font-size: .82em; color: #5b5d61; margin-bottom: 1.4em; white-space: nowrap; }
.kx-sh-body { max-height: 74%; overflow: hidden; -webkit-mask: linear-gradient(#000 85%, transparent); mask: linear-gradient(#000 85%, transparent); }
.kx-sh-sign { text-align: right; margin-top: .8em; }
.kx-sh-logo { position: absolute; left: 50%; bottom: 5%; width: 22%; transform: translateX(-50%); opacity: .7; }

.stage-bottom {
    margin-top: 40px;
    max-width: 520px;
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.stage-bottom.in { opacity: 1; transform: none; }
.stage-bottom .tap {
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--green);
    border-bottom: 1px solid currentColor;
    padding-bottom: 6px;
}
.stage-bottom .msg { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; margin: 0 0 12px; }
.stage-bottom .sub { font-size: 15px; color: var(--gray); margin: 0 0 28px; line-height: 1.6; }
.stage-bottom .sub strong { color: var(--green); font-weight: 500; }
.share-btns { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 0 auto; }
.share-btns .btn { width: 100%; }
.note { margin: 22px auto 0; font-size: 12.5px; color: var(--gray-2); line-height: 1.6; max-width: 380px; }
.text-link {
    display: inline-block;
    margin-top: 26px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gray);
    text-decoration: none;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 4px;
}

/* ------------------------------------------------------------ mektup kâğıdı */
.reader {
    padding: 40px 16px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(24px) scale(.97);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.reader.in { opacity: 1; transform: none; }
.reader.overlay {
    position: fixed;
    inset: var(--head-h) 0 0 0;
    z-index: 16;
    background: var(--ivory-page);
    overflow-y: auto;
}
.paper-wrap { width: 100%; max-width: 680px; }
.paper {
    position: relative;
    background-color: var(--paper);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .40 0 0 0 0 .30 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.55), transparent 70%);
    color: var(--ink);
    padding: clamp(36px, 7vw, 72px) clamp(26px, 7vw, 76px) clamp(30px, 5vw, 48px);
    box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 12px 40px rgba(39, 68, 51, .10);
    border-radius: 2px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
}
.paper-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-family: var(--hand);
    font-size: clamp(18px, 2vw, 21px);
    color: #5b5d61;
    margin-bottom: 28px;
    min-height: 1em;
}
.paper-date { margin-left: auto; white-space: nowrap; }
.paper-body {
    font-family: var(--hand);
    font-size: clamp(21px, 2.5vw, 25px);
    line-height: 1.62;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    flex: 1;
    letter-spacing: .005em;
}
.paper-photo { margin: 34px auto 6px; max-width: 88%; transform: rotate(-1.2deg); }
.paper-photo img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: var(--white);
    border: 10px solid var(--white);
    border-bottom-width: 34px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.paper-sign {
    font-family: var(--hand);
    font-size: clamp(22px, 2.6vw, 26px);
    text-align: right;
    margin: 30px 0 0;
    min-height: 0;
}
.paper-sign:empty { display: none; }
.paper-logo { width: 78px; height: auto; margin: 46px auto 0; opacity: .75; }

.reader-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    width: 100%;
    max-width: 680px;
}
.save-menu { position: relative; }
.save-pop {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    min-width: 200px;
    z-index: 3;
}
.save-pop button { padding: 14px 18px; text-align: left; font-size: 14px; color: var(--green); }
.save-pop button + button { border-top: 1px solid var(--line); }
.save-pop button:hover { background: #f5f5f5; }

/* ------------------------------------------------------------ alt bilgi & bildirim */
.lt-foot {
    height: 52px;
    padding: 0 clamp(16px, 4vw, 48px);
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--gray-2);
    border-top: 1px solid var(--line);
    background: var(--ivory-page);
}
.lt-foot .tag { flex: 1; letter-spacing: .04em; font-size: 12px; }
.lt-foot a { color: var(--gray-2); text-decoration: none; }
.lt-foot a:hover { color: var(--green); }

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--ivory);
    padding: 12px 22px;
    font-size: 14px;
    border-radius: 2px;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    max-width: calc(100vw - 32px);
}

.spinner {
    width: 18px; height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ mobil */
@media (max-width: 760px) {
    :root { --head-h: 56px; }
    .lt-logo img { height: 19px; }
    .split { flex-direction: column; min-height: calc(100svh - var(--head-h)); }
    .panel { flex: 1 1 50%; transition: flex-basis .6s var(--ease), flex-grow .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease); }
    .panel-intro {
        flex-direction: row;
        text-align: left;
        gap: 18px;
        padding: 22px 20px;
    }
    .panel-visual { width: 34%; max-width: 150px; max-height: none; flex: 0 0 auto; }
    .panel-text { flex: 1; min-height: 0; }
    .split.chosen .panel:not(.active) { height: 0; }
    .eyebrow { margin-bottom: 8px; }
    .panel h1 { font-size: 27px; margin-bottom: 8px; }
    .lede { font-size: 15px; margin-bottom: 6px; }
    .small { font-size: 13px; margin: 0; }
    .cta-line { margin-top: 14px; font-size: 11px; }
    .row2 { grid-template-columns: 1fr; gap: 28px; }
    .actions { flex-direction: column-reverse; }
    .actions .btn { width: 100%; }
    .lt-foot .tag { display: none; }
    .lt-foot { justify-content: space-between; }
    .paper { min-height: 380px; }
    .reader { padding-top: 24px; }
    .reader-actions { flex-direction: column; }
    .reader-actions .btn, .reader-actions .save-menu { width: 100%; }
    .reader-actions .save-menu .btn { width: 100%; }
}

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