/* Dem Halleri başlığının altında, ortak eksende tek okuma daveti. */ .demlen-gallery-head { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 8px; margin-bottom: clamp(10px, calc(8vw - 52px), 53px); } .demlen-read-link { justify-self: center; } .demlen-read-link, .poem-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 500 20px / 1.3 var(--serif); letter-spacing: .08em; color: var(--gold-ink); white-space: nowrap; } .demlen-read-link:hover, .poem-back:hover { text-decoration: underline; text-underline-offset: 6px; } .demlen-read-link:focus-visible, .poem-back:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 5px; } /* Ayrı beyaz okuma sayfası: metin, başlık ve sessiz geri dönüş. */ .poem-reading-page { background: #FFFFFF; min-height: 100vh; } .poem-return { padding-top: clamp(20px, 3vw, 42px); } .poem-back { font-size: 17px; } .demlen-poem { padding-top: clamp(24px, 3vw, 44px); padding-bottom: clamp(38px, 4vw, 58px); } .demlen-poem-inner { width: min(100%, 700px); margin-inline: auto; } .demlen-poem-title { margin: 0 0 clamp(30px, 3vw, 44px); text-align: center; font: 400 36px / 1 var(--serif); letter-spacing: 0; color: var(--gold); white-space: nowrap; } .demlen-poem-work, .demlen-poem-text { margin: 0; padding: 0; border: 0; } .demlen-poem-text .demlen-poem-stanza { margin: 0 0 1.05em; font: 400 var(--editorial-body) / var(--editorial-leading) var(--serif); color: var(--ink); text-align: left; letter-spacing: 0; } .demlen-poem-text .demlen-poem-stanza:last-child { margin-bottom: 0; } .demlen-poem-line { display: block; overflow-wrap: normal; word-break: normal; } .demlen-poem-credit { display: grid; gap: 4px; margin-top: 1.4em; font: 400 22px / 1.3 var(--serif); color: var(--muted); text-align: left; } .demlen-poem-credit cite { font-style: normal; } @media (max-width: 600px) { .demlen-gallery-head { margin-bottom: 3px; } .demlen-poem { padding-top: 24px; padding-bottom: 34px; } .demlen-poem-title { margin-bottom: 30px; } } /* Mühürlü mektup: küçük bir nesne, ölçülü bir açılış. */ .demlen-gallery-head:has(.letter-invitation) { row-gap: 28px; margin-bottom: clamp(30px, 4vw, 54px); } .demlen-gallery-head #demlen-gallery-title { text-align: center; font-style: italic; font-weight: 400; line-height: 1.05; letter-spacing: -.02em; color: var(--gold); } .letter-invitation { display: flex; flex-direction: column; gap: 14px; padding: 6px 12px; font-size: 22px; font-weight: 400; font-style: italic; letter-spacing: 0; text-decoration: none; } .letter-invitation:hover { text-decoration: none; } .letter-invitation:hover .letter-label { text-decoration: underline; text-underline-offset: 5px; } .letter-envelope { position: relative; display: block; width: 164px; height: 110px; perspective: 700px; isolation: isolate; transition: transform 180ms ease; } .letter-invitation:hover .letter-envelope { transform: translateY(-2px); } .letter-back, .letter-paper, .letter-pocket, .letter-flap { position: absolute; display: block; } .letter-back { inset: 0; background: #f1ece2; border: 1px solid #e3dccf; box-shadow: 0 5px 14px rgba(20, 18, 16, .07); z-index: 0; } .letter-paper { inset: 12px 16px 10px; background: #FFFFFF; border: 1px solid #e8e4df; z-index: 1; } .letter-pocket { inset: 0; background: #e5ddcf; clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); z-index: 2; } .letter-pocket::after { content: ''; position: absolute; inset: 1px; background: linear-gradient(148deg, #f7f4ed 49.5%, #f3eee4 50%); clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); } .letter-flap { inset: 0 0 auto; height: 64px; background: #e3dccf; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: center top; backface-visibility: visible; z-index: 3; } .letter-flap::after { content: ''; position: absolute; inset: 1px 1px 2px; background: linear-gradient(180deg, #faf7f1, #f5f0e7); clip-path: polygon(0 0, 100% 0, 50% 100%); } .letter-seal { position: absolute; left: calc(50% - 20px); top: 42px; width: 40px; height: auto; z-index: 4; filter: drop-shadow(0 2px 2px rgba(20, 18, 16, .12)); } .letter-invitation.is-opening .letter-seal { animation: seal-release 320ms ease-in-out forwards; } .letter-invitation.is-opening .letter-flap { animation: envelope-open 600ms 180ms cubic-bezier(.4, 0, .2, 1) forwards; } .letter-invitation.is-opening .letter-paper { animation: letter-rise 950ms 550ms cubic-bezier(.4, 0, .2, 1) forwards; } @keyframes seal-release { to { transform: translateY(-12px) rotate(-7deg); opacity: 0; } } @keyframes envelope-open { to { transform: rotateX(175deg); z-index: 0; } } @keyframes letter-rise { to { transform: translateY(-60px); } } /* Beyaz mektup modalı: metin ayrı kayar, kapatma her an görünür. */ .poem-modal { width: min(940px, calc(100vw - 64px)); height: min(90dvh, 1040px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 0; background: #FFFFFF; color: var(--ink); box-shadow: 0 12px 64px rgba(20, 18, 16, .12); overflow: hidden; } .poem-modal[open] { display: flex; flex-direction: column; animation: letter-reveal 420ms cubic-bezier(.4, 0, .2, 1); } .poem-modal::backdrop { background: rgba(245, 243, 239, .88); } .poem-modal-toolbar { display: flex; justify-content: flex-end; flex-shrink: 0; padding: 12px 20px 4px; background: #FFFFFF; } .poem-modal-close { display: inline-flex; align-items: center; gap: 12px; min-width: 100px; min-height: 44px; padding: 8px 10px; border: 0; background: transparent; color: var(--gold-ink); font: 500 17px / 1.3 var(--serif); letter-spacing: .08em; cursor: pointer; } .poem-modal-close span { font-size: 26px; line-height: 1; } .poem-modal-close:hover { color: var(--ink); } .poem-modal-close:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; } .poem-modal-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px clamp(28px, 5vw, 72px) 48px; -webkit-overflow-scrolling: touch; } .poem-modal-scroll:focus-visible { outline: 1px solid var(--gold-ink); outline-offset: -4px; } .poem-modal .demlen-poem-title:focus { outline: none; } @keyframes letter-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 600px) { .demlen-gallery-head:has(.letter-invitation) { row-gap: 24px; margin-bottom: 32px; } .poem-modal { width: 100%; height: 100dvh; margin: 0; box-shadow: none; } .poem-modal-toolbar { padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 4px 10px; } .poem-modal-scroll { padding: 16px max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); } } @media (prefers-reduced-motion: reduce) { .letter-envelope { transition: none; } .letter-invitation:hover .letter-envelope { transform: none; } .letter-invitation.is-opening .letter-seal, .letter-invitation.is-opening .letter-flap, .letter-invitation.is-opening .letter-paper, .poem-modal[open] { animation: none; } } /* İkiye katlanmış kâğıt: iki yüzey ve tek kat açılımı. */ .poem-unfold { display: none; position: absolute; inset: 64px 20px 20px; align-items: center; justify-content: center; pointer-events: none; perspective: 1200px; z-index: 2; } .poem-modal.is-unfolding .poem-unfold { display: flex; animation: unfold-surface-fade 2300ms linear forwards; } .poem-modal.is-unfolding .poem-modal-scroll { visibility: hidden; } .folded-letter { position: relative; width: min(320px, 68vw); height: clamp(130px, 30vw, 195px); transform-style: preserve-3d; transform: translateY(50%) rotateX(8deg) rotateZ(-2deg); animation: paper-settle 1900ms cubic-bezier(.4, 0, .2, 1) forwards; } .folded-letter-center, .folded-letter-top { position: absolute; display: block; width: 100%; height: 100%; border: 1px solid #e7e2d9; background: #fffdfa; backface-visibility: visible; box-shadow: 0 6px 18px rgba(20, 18, 16, .07); } .folded-letter-center { inset: 0; background: linear-gradient(180deg, #f4f0e8, #fffcf7 24%, #fffcf7); } .folded-letter-top { bottom: 100%; transform-origin: center bottom; transform: rotateX(-180deg); background: linear-gradient(0deg, #eee8dd, #fffcf7 18%); z-index: 4; animation: unfold-top 1500ms 240ms cubic-bezier(.4, 0, .2, 1) forwards; } @keyframes unfold-top { to { transform: rotateX(0deg); } } @keyframes paper-settle { to { transform: translateY(50%) rotateX(0deg) rotateZ(0deg); } } @keyframes unfold-surface-fade { 0%, 83% { opacity: 1; } 100% { opacity: 0; } } .poem-modal.is-reading .poem-modal-scroll { animation: reading-reveal 450ms cubic-bezier(.4, 0, .2, 1); } @keyframes reading-reveal { from { opacity: 0; } to { opacity: 1; } } @media (prefers-reduced-motion: reduce) { .poem-unfold { display: none !important; } .poem-modal.is-reading .poem-modal-scroll { animation: none; } } /* Davet anlaşılır kalsın; açıklama mektubun önüne geçmesin. */ .letter-caption { display: flex; flex-direction: column; align-items: center; gap: 4px; } .letter-label { font-size: 24px; } .letter-hint { color: var(--gold-ink); font: 400 17px / 1.3 var(--serif); letter-spacing: 0; } .letter-hint-touch { display: none; } @media (pointer: coarse) { .letter-hint-pointer { display: none; } .letter-hint-touch { display: inline; } } /* Açılan kâğıt, düz ekrandan ayrışan bir okuma yüzeyine dönüşür. */ .poem-modal, .poem-modal-toolbar { background: #f7f5f0; } .poem-modal-scroll { padding: 12px clamp(20px, 3vw, 40px) 36px; } .poem-modal .demlen-poem-inner, .poem-reading-page .demlen-poem-inner { box-sizing: border-box; width: min(100%, 820px); padding: clamp(32px, 4vw, 52px) clamp(20px, 4vw, 56px) 48px; border: 1px solid #e8e1d5; background-color: #fffcf7; background-image: linear-gradient(to bottom, transparent calc(50% - 5px), rgba(176, 140, 88, .025) calc(50% - 2px), rgba(176, 140, 88, .055) 50%, rgba(255, 255, 255, .7) calc(50% + 1px), transparent calc(50% + 6px)), linear-gradient(105deg, rgba(255, 255, 255, .6), transparent 32%, rgba(176, 140, 88, .015)); box-shadow: 0 2px 4px rgba(20, 18, 16, .025), 0 8px 24px rgba(20, 18, 16, .055); } @media (max-width: 600px) { .poem-modal-scroll { padding: 12px max(10px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); } .poem-modal .demlen-poem-inner, .poem-reading-page .demlen-poem-inner { padding: 32px 16px 36px; } } /* Mühürlü mektup daveti ortak merkezde. */ .letter-invitation-group { display: grid; justify-items: center; gap: 4px; } /* Tek sözcük vurgusu: ortak gövde ölçüsü aynen miras alınır. */ .demlen-reading-column .demlen-autonomous { color: #B08C58; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; font-style: italic; } /* Ortak Meditatif Yaşam Gustosu kapanışı; yalnız yeni imza sınıflarını etkiler. */ .site-gusto-signature { padding: clamp(40px, 5vw, 60px) 0; background: #fff; color: var(--ink); } .site-gusto-signature .container { width: 100%; } .site-gusto-signature .gusto-signature-inner { width: min(100%, 680px); max-width: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 30px); } .site-gusto-signature .gusto-signature-lockup { min-width: 0; flex: 0 1 auto; } .site-gusto-signature .gusto-signature-lockup > p.gusto-signature-first, .site-gusto-signature .gusto-signature-lockup > p.gusto-signature-second { margin: 0; color: var(--ink); font: 400 clamp(31.2px, 3.18vw, 40.8px) / 1.02 var(--serif); letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; } .site-gusto-signature .gusto-signature-lockup > p.gusto-signature-second { padding-top: .16em; letter-spacing: .07em; } .site-gusto-signature .gusto-signature-seal { display: block; flex: 0 0 clamp(100px, 8vw, 120px); width: clamp(100px, 8vw, 120px); height: auto; aspect-ratio: 1038 / 1009; object-fit: contain; } .site-gusto-signature--compact { padding-block: clamp(32px, 4vw, 48px); } .site-gusto-signature--compact .gusto-signature-inner { width: min(100%, 600px); gap: clamp(12px, 2.5vw, 24px); } .site-gusto-signature--compact .gusto-signature-lockup > p.gusto-signature-first, .site-gusto-signature--compact .gusto-signature-lockup > p.gusto-signature-second { font-size: clamp(31.2px, 2.76vw, 37.2px); } .site-gusto-signature--compact .gusto-signature-seal { flex-basis: clamp(100px, 7vw, 112px); width: clamp(100px, 7vw, 112px); } .site-gusto-signature--with-photo { padding-block: clamp(28px, 4vw, 54px); } .site-gusto-signature--with-photo .gusto-signature-figure { width: min(100%, 960px); margin: 0 auto clamp(20px, 3vw, 36px); } .site-gusto-signature--with-photo .gusto-signature-photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1405 / 851; object-fit: contain; } .site-gusto-signature--with-photo .container { box-sizing: border-box; padding-inline: clamp(16px, 4vw, 40px); } .site-gusto-signature--with-photo .gusto-signature-inner { width: min(100%, 640px); gap: clamp(10px, 2.4vw, 22px); } .site-gusto-signature--with-photo .gusto-signature-seal { flex-basis: clamp(72px, 6.3vw, 96px); width: clamp(72px, 6.3vw, 96px); } .site-gusto-signature--with-photo .gusto-signature-motto { max-width: 42rem; margin: clamp(18px, 2.6vw, 30px) auto 0; color: var(--gold-ink); font: italic 400 clamp(20px, 2vw, 25px) / 1.35 var(--serif); text-align: center; text-wrap: balance; } @media (max-width: 600px) { .site-gusto-signature { padding-block: 40px; } .site-gusto-signature .gusto-signature-inner { width: min(100%, 360px); gap: clamp(8px, 2.4vw, 14px); } .site-gusto-signature .gusto-signature-lockup > p.gusto-signature-first, .site-gusto-signature .gusto-signature-lockup > p.gusto-signature-second { font-size: clamp(21.6px, 6.72vw, 27.6px); letter-spacing: .08em; } .site-gusto-signature .gusto-signature-lockup > p.gusto-signature-second { letter-spacing: .045em; } .site-gusto-signature .gusto-signature-seal { flex-basis: clamp(68px, 24vw, 84px); width: clamp(68px, 24vw, 84px); } .site-gusto-signature--compact { padding-block: 32px; } .site-gusto-signature--compact .gusto-signature-lockup > p.gusto-signature-first, .site-gusto-signature--compact .gusto-signature-lockup > p.gusto-signature-second { font-size: clamp(21.6px, 6vw, 25.2px); } .site-gusto-signature--compact .gusto-signature-seal { flex-basis: clamp(68px, 21vw, 76px); width: clamp(68px, 21vw, 76px); } .site-gusto-signature--with-photo .gusto-signature-inner { width: 100%; } .site-gusto-signature--with-photo .gusto-signature-seal { flex-basis: clamp(56px, 18vw, 72px); width: clamp(56px, 18vw, 72px); } .site-gusto-signature--with-photo .gusto-signature-motto { font-size: clamp(18px, 4.9vw, 21px); } }
