/* LoreFilms public site. Direction A, "Lamplight". Self-hosted: no third-party fonts, scripts or trackers. */

/* Fraunces (SIL OFL, /static/OFL-fraunces.txt) is served by us, so a visitor's address never reaches a third party */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fraunces.woff2) format("woff2"); }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/static/fraunces-italik.woff2) format("woff2"); }

:root {
  --dusk: #1C2438; --deep: #121A2B; --night: #0A0F1A; --paper: #F3EEE6; --mist: #9AA6BD;
  --lamp: #F2C879; --lamp-day: #C9963F; --ember: #E2A24E; --slate: #5B6377;
  --serif: Fraunces, "Iowan Old Style", Georgia, serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 5vw, 72px);
  /* day (documents) */
  --bg: var(--paper); --card: #FBF8F3; --ink: var(--dusk); --soft: var(--slate);
  --line: rgba(28, 36, 56, .14); --accent: #9A6E22; --btn: var(--dusk); --btn-ink: var(--paper);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: var(--deep); --card: var(--dusk); --ink: var(--paper); --soft: var(--mist);
          --line: rgba(243, 238, 230, .13); --accent: var(--lamp); --btn: var(--lamp); --btn-ink: var(--dusk); color-scheme: dark; }
}
/* The home page, the film page and the expired page are always at night: night is the brand's native state */
.night { --bg: var(--night); --card: #111827; --ink: var(--paper); --soft: var(--mist);
         --line: rgba(243, 238, 230, .12); --accent: var(--lamp); --btn: var(--lamp); --btn-ink: var(--dusk); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--ui);
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lamp); color: var(--dusk); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display, h1, h2 { line-height: 1.04; font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144; letter-spacing: -.018em; }
.eyebrow { font: 600 11.5px/1.2 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.night .eyebrow { color: var(--lamp); }
.night .eyebrow::before { background: var(--lamp); }

/* ---------- App Store badge (placeholder link until the listing is live) ---------- */
.appstore { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border-radius: 14px;
            background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .28);
            box-shadow: 0 0 0 0 rgba(242, 200, 121, 0), 0 10px 30px -12px rgba(0, 0, 0, .6);
            transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.appstore svg { width: 24px; height: 24px; fill: currentColor; margin-top: -3px; }
.appstore span { display: flex; flex-direction: column; line-height: 1; }
.appstore small { font: 500 11px/1 var(--ui); letter-spacing: .01em; }
.appstore b { font: 600 22px/1.05 var(--ui); letter-spacing: -.02em; margin-top: 3px; }
.appstore:hover { transform: translateY(-2px); border-color: rgba(242, 200, 121, .7); box-shadow: 0 0 0 4px rgba(242, 200, 121, .12), 0 18px 40px -14px rgba(242, 200, 121, .45); }

/* ---------- Top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
       padding: calc(env(safe-area-inset-top) + 14px) var(--gutter) 14px; transition: background .6s, backdrop-filter .6s, border-color .6s;
       border-bottom: 1px solid transparent; }
.bar .wm { width: 128px; height: auto; }
.bar .wm-link { display: block; border-radius: 6px; }
.bar nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.bar nav a.l { text-decoration: none; color: var(--soft); transition: color .3s; display: none; }
.bar nav a.l:hover { color: var(--ink); }
.bar .pill { text-decoration: none; font: 600 13.5px/1 var(--ui); padding: 10px 16px; border-radius: 99px; color: var(--dusk); background: var(--lamp);
             transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bar .pill:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(242, 200, 121, .6); }
.bar.solid { background: rgba(10, 15, 26, .72); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-color: rgba(243, 238, 230, .08); }
@media (min-width: 900px) { .bar nav a.l { display: inline; } .bar .wm { width: 150px; } }

/* document pages: a quiet bar that scrolls away */
.doc-bar { position: static; padding-top: calc(env(safe-area-inset-top) + 22px); }
.doc-bar .wm-dark { display: none; }
@media (prefers-color-scheme: dark) { .doc-bar .wm-light { display: none; } .doc-bar .wm-dark { display: block; } }
.doc-bar .back { font-size: 14px; color: var(--soft); text-decoration: none; }
.doc-bar .back:hover { color: var(--ink); }

/* ======================================================================
   HOME
   ====================================================================== */
.home { background: var(--night); }
.grain { position: absolute; inset: -50%; pointer-events: none; background: url(/static/site/grain.png) repeat; opacity: .07; mix-blend-mode: overlay; z-index: 6; }
.cine .grain { animation: grain 1s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-7%, 4%) } 40% { transform: translate(5%, -6%) } 60% { transform: translate(-3%, 8%) } 80% { transform: translate(8%, 2%) } 100% { transform: translate(0, 0) } }

/* ---------- Hero: the lamp comes on, then the window opens into the film ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; }
.cine .hero { height: 250svh; }
.stage { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; container-type: size; isolation: isolate;
         background: radial-gradient(120% 70% at 50% 0%, #182037 0%, var(--night) 62%);
         /* window geometry (phone first); the icon's proportions: height = 1.184 x width */
         --ww: min(46cqw, 34cqh, 230px); --wh: calc(var(--ww) * 1.184);
         --wx: calc(50cqw - var(--ww) / 2); --wy: max(calc(env(safe-area-inset-top) + 92px), 13cqh);
         --et: 10cqh; --eb: 25cqh; --p: 0; --shift: 0cqw; }
.cine .stage { --p: 0; }
.still .stage, .nojs .stage { --p: 0; }
@media (min-width: 700px) and (max-width: 899.98px) { .stage { --ww: min(34cqw, 30cqh, 260px); } }
@media (min-width: 900px) {
  .stage { --ww: clamp(240px, min(23cqw, 44cqh), 400px); --wx: calc(70cqw - var(--ww) / 2); --wy: calc(47cqh - var(--wh) / 2 - 3cqh);
           --et: 0cqh; --eb: 0cqh; --shift: 11cqw; }
}
.rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; transition: opacity 1.2s; }
.cine .rain { opacity: 0; }
.cine.lit .rain { opacity: calc(1 - var(--p) * 1.4); transition: none; }

.halo { position: absolute; z-index: 0; left: calc(var(--wx) + var(--ww) / 2); top: calc(var(--wy) + var(--wh) * .55);
        width: calc(var(--ww) * 4.4); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
        background: radial-gradient(closest-side, rgba(233, 164, 82, .30), rgba(233, 164, 82, .11) 40%, rgba(233, 164, 82, 0) 100%);
        opacity: calc(1 - var(--p) * 1.6); }
.bloom { position: absolute; z-index: 2; left: calc(var(--wx) - var(--ww) * .3); top: calc(var(--wy) - var(--ww) * .3); width: calc(var(--ww) * 1.6); height: calc(var(--wh) + var(--ww) * .5);
         pointer-events: none; opacity: calc(1 - var(--p) * 2.2);
         background: radial-gradient(50% 50% at 50% 50%, rgba(242, 200, 121, .62) 0%, rgba(242, 200, 121, .5) 58%, rgba(227, 154, 66, .22) 76%, rgba(227, 154, 66, 0) 100%); }
.cine .halo, .cine .bloom { visibility: hidden; }
.cine.lit .halo, .cine.lit .bloom { visibility: visible; animation: lamp-on 1.7s linear both; }
@keyframes lamp-on { 0% { filter: opacity(0) } 9% { filter: opacity(.55) } 13% { filter: opacity(.12) } 22% { filter: opacity(.8) } 27% { filter: opacity(.45) } 40% { filter: opacity(.95) } 100% { filter: opacity(1) } }

/* The film is a box that starts as the window and grows into the frame as you scroll */
.film { position: absolute; z-index: 3; background: #1B2338; overflow: hidden; contain: strict;
        left: calc(var(--wx) * (1 - var(--p)));
        top: calc(var(--wy) + (var(--et) - var(--wy)) * var(--p));
        width: calc(var(--ww) + (100cqw - var(--ww)) * var(--p));
        height: calc(var(--wh) + (100cqh - var(--et) - var(--eb) - var(--wh)) * var(--p));
        border-radius: calc(var(--ww) / 2 * (1 - var(--p))) calc(var(--ww) / 2 * (1 - var(--p))) 0 0; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
        transform: scale(calc(1.12 - .12 * var(--p))); transform-origin: 50% 40%; opacity: 0; transition: opacity 2.2s var(--ease); }
.rolling .film video { opacity: 1; }
@media (min-width: 900px) { .film video { object-position: 64% 50%; } }
.film .glass { position: absolute; inset: 0; background: radial-gradient(circle calc(var(--ww) * .99) at 50% 89%, #FBEACB 0%, #F0CB85 45%, #C9963F 100%); transition: opacity 2.2s var(--ease); }
.cine .film .glass { opacity: 0; }
.cine.lit .film .glass { animation: lamp-on 1.7s linear both; opacity: 1; }
.lit.rolling .film .glass { animation: none; opacity: 0; }
.film .tint { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 70%, rgba(242, 200, 121, .55), rgba(201, 150, 63, .35)); mix-blend-mode: soft-light;
        opacity: calc(1 - var(--p) * 1.3); pointer-events: none; }
.film .shade { position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(180deg, rgba(10, 15, 26, .5) 0%, rgba(10, 15, 26, 0) 22%, rgba(10, 15, 26, 0) 50%, rgba(10, 15, 26, .8) 100%);
        opacity: var(--p); }
.film .transom, .film .mullion { position: absolute; background: #1E1B22; opacity: calc(1 - var(--p) * 3); }
.film .transom { left: 0; right: 0; top: calc(var(--ww) * .462); height: calc(var(--ww) * .0755); }
.film .mullion { left: calc(50% - var(--ww) * .03775); width: calc(var(--ww) * .0755); top: calc(var(--ww) * .5); bottom: 0; }

.street { position: absolute; z-index: 2; left: calc(var(--wx) - var(--ww) * .0613); top: calc(var(--wy) + var(--wh) - var(--ww) * .0001);
          width: calc(var(--ww) * 1.1226); height: auto; overflow: visible; pointer-events: none; opacity: calc(1 - var(--p) * 2.5); }
.cine .street { visibility: hidden; }
.cine.lit .street { visibility: visible; animation: lamp-on 1.7s linear both; }
.street .ripple { transform-box: fill-box; transform-origin: 50% 50%; }
.cine .street .ripple { animation: ripple 5s ease-in-out infinite alternate; }
.cine .street .ripple:nth-child(2) { animation-delay: -1.2s; } .cine .street .ripple:nth-child(3) { animation-delay: -2.4s; } .cine .street .ripple:nth-child(4) { animation-delay: -3.3s; }
@keyframes ripple { 0% { transform: scaleX(1) translateX(0) } 50% { transform: scaleX(.93) translateX(1.5%) } 100% { transform: scaleX(1.04) translateX(-1%) } }

/* hero copy */
.hero-copy { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 6cqh);
             opacity: calc(1 - var(--p) * 2.6); transform: translateY(calc(var(--p) * -60px)); }
.hero-copy h1 { font-size: clamp(40px, 11.2cqw, 92px); line-height: .98; margin: 16px 0 16px; font-weight: 330; text-wrap: balance; }
.hero-copy h1 em { font-style: italic; color: var(--lamp); font-weight: 300; }
.hero-copy .lede { margin: 0 0 26px; max-width: 34em; color: rgba(243, 238, 230, .78); font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
.hero-copy .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-copy .fine { font-size: 13px; color: var(--mist); letter-spacing: .01em; }
.hero-copy .fine b { color: var(--paper); font-weight: 600; }
@media (max-width: 380px) { .hero-copy .lede { font-size: 15.5px; } .hero-copy h1 { margin: 12px 0; } }
@media (max-height: 760px) and (max-width: 899.98px) { .hero-copy .lede { display: none; } }
@media (min-width: 900px) {
  .hero-copy { left: var(--gutter); right: auto; width: min(46cqw, 640px); top: 50%; bottom: auto; transform: translateY(calc(-50% + var(--p) * -80px)); }
  .hero-copy h1 { font-size: clamp(56px, 6.4cqw, 104px); }
  .hero-copy .lede { font-size: 18px; }
}
.cine .hero-copy > * { opacity: 0; transform: translateY(18px); filter: blur(8px); }
.cine.lit .hero-copy > * { opacity: 1; transform: none; filter: blur(0); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); }
.cine.lit .hero-copy > :nth-child(1) { transition-delay: .7s; }
.cine.lit .hero-copy > :nth-child(2) { transition-delay: .9s; }
.cine.lit .hero-copy > :nth-child(3) { transition-delay: 1.2s; }
.cine.lit .hero-copy > :nth-child(4) { transition-delay: 1.45s; }

/* the subtitle that appears once the window has opened */
.caption { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 7cqh); text-align: center;
           opacity: clamp(0, calc((var(--p) - .82) * 6), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - .8) * 5), 1)) * 16px)); pointer-events: none; }
.caption q { quotes: none; display: block; font: italic 330 clamp(22px, 6.2cqw, 46px)/1.2 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.01em; color: var(--paper);
             text-shadow: 0 2px 30px rgba(0, 0, 0, .6); text-wrap: balance; max-width: 22em; margin: 0 auto; }
.caption small { display: block; margin-top: 14px; font: 600 11px/1.2 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--lamp); }
@media (min-width: 900px) { .caption { bottom: 9cqh; } .caption q { font-size: clamp(30px, 3.2cqw, 50px); } }

.cue { position: absolute; z-index: 5; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 14px); translate: -50% 0; width: 1px; height: 38px;
       background: linear-gradient(rgba(242, 200, 121, 0), rgba(242, 200, 121, .8)); opacity: calc(.8 - var(--p) * 4); display: none; }
.cine .cue { display: block; animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }
@media (max-width: 899.98px) { .cine .cue { display: none; } }

/* ---------- Generic section scaffolding ---------- */
.sec { position: relative; padding: clamp(96px, 14vw, 180px) var(--gutter); }
.wrap { max-width: 1240px; margin: 0 auto; }
.sec h2 { font-size: clamp(38px, 9.5vw, 78px); line-height: 1.02; margin: 18px 0 0; font-weight: 320; text-wrap: balance; }
.sec h2 em { font-style: italic; color: var(--lamp); }
.sec .intro { color: rgba(243, 238, 230, .72); font-size: 17px; max-width: 36em; margin: 22px 0 0; text-wrap: pretty; }
.rule { height: 1px; background: linear-gradient(90deg, rgba(243, 238, 230, 0), rgba(243, 238, 230, .14) 20%, rgba(243, 238, 230, .14) 80%, rgba(243, 238, 230, 0)); border: 0; margin: 0; }

/* reveal on scroll */
.cine .rv { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.cine .rv.in { opacity: 1; transform: none; }

/* ---------- Reel: every line becomes a scene ---------- */
.reel { position: relative; padding: clamp(80px, 12vw, 150px) var(--gutter) 40px; }
.reel-head { max-width: 1240px; margin: 0 auto 48px; }
.beats { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; gap: 64px; }
.beat { display: grid; gap: 22px; }
.beat .line { margin: 0; font: 330 clamp(24px, 6.4vw, 30px)/1.3 var(--serif); font-variation-settings: "opsz" 96; letter-spacing: -.01em; text-wrap: balance; }
.beat .line .w { display: inline-block; }
.beat .meta { font: 600 11px/1.2 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.beat .meta b { color: var(--lamp); font-weight: 600; }
.frame { position: relative; aspect-ratio: 960 / 528; border-radius: 14px; overflow: hidden; background: #111827;
         box-shadow: 0 0 0 1px rgba(243, 238, 230, .08), 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 120px -40px rgba(242, 200, 121, .25); }
.frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame video { opacity: 0; transition: opacity .9s var(--ease); }
.frame video.on { opacity: 1; }
.frame .tc { position: absolute; z-index: 2; left: 14px; bottom: 12px; font: 600 10.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; color: rgba(243, 238, 230, .85);
             text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.frame .tc i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lamp); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 10px var(--lamp); }

/* cinematic mode: one sticky stage, the beats take turns */
.cine .reel { height: 460svh; padding: 0; }
.cine .reel-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 72px var(--gutter) 28px; }
.cine .reel-head { margin-bottom: clamp(20px, 4svh, 44px); width: 100%; }
.cine .reel-head h2 { font-size: clamp(34px, 8.6vw, 72px); }
.cine .beats { position: relative; width: 100%; display: block; }
.cine .beat { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.cine .beat:first-child { position: relative; }
.cine .beat .frame { order: -1; }
.cine .beat .frame { opacity: 0; transform: scale(1.04); filter: brightness(1.6) saturate(.6); transition: opacity 1s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); }
.cine .beat.on .frame { opacity: 1; transform: none; filter: none; }
.cine .beat .frame::after { content: ""; position: absolute; inset: -20% -60%; z-index: 3; pointer-events: none; opacity: 0;
             background: linear-gradient(100deg, rgba(242, 200, 121, 0) 35%, rgba(242, 200, 121, .55) 48%, rgba(255, 236, 200, .8) 50%, rgba(242, 200, 121, .5) 52%, rgba(242, 200, 121, 0) 65%);
             mix-blend-mode: screen; transform: translateX(-60%); }
.cine .beat.on .frame::after { animation: leak 1.5s var(--ease-io) .05s both; }
@keyframes leak { 0% { opacity: 0; transform: translateX(-60%) } 20% { opacity: 1 } 100% { opacity: 0; transform: translateX(60%) } }
.cine .beat .meta { opacity: 0; transition: opacity .6s; }
.cine .beat.on .meta { opacity: 1; transition-delay: .2s; }
.cine .beat .line .w { opacity: 0; filter: blur(10px); transform: translateY(.3em); color: var(--lamp);
             transition: opacity .5s var(--ease), filter .6s var(--ease), transform .7s var(--ease), color 1.2s var(--ease); }
.cine .beat.on .line .w { opacity: 1; filter: blur(0); transform: none; color: var(--paper); transition-delay: calc(var(--i) * 45ms + .1s), calc(var(--i) * 45ms + .1s), calc(var(--i) * 45ms + .1s), calc(var(--i) * 45ms + .7s); }
.cine .beat.was .line .w { opacity: 0; filter: blur(8px); transform: translateY(-.35em); transition-delay: 0s; }
.reel-progress { display: none; }
.cine .reel-progress { display: flex; gap: 8px; margin-top: 22px; max-width: 1240px; width: 100%; }
.reel-progress span { flex: 1; height: 2px; background: rgba(243, 238, 230, .14); border-radius: 2px; overflow: hidden; }
.reel-progress span i { display: block; height: 100%; width: 100%; background: var(--lamp); transform: scaleX(var(--f, 0)); transform-origin: left; }
.reel .note { max-width: 1240px; margin: 28px auto 0; color: var(--mist); font-size: 13.5px; }
.cine .reel .note { margin: 14px 0 0; width: 100%; }
@media (min-width: 900px) {
  .beat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; }
  .beat .line { font-size: clamp(30px, 3vw, 44px); }
  .cine .beat .frame { order: 0; }
  .beats { gap: 96px; }
}
@media (max-width: 899.98px) {
  .cine .beat .line { font-size: clamp(22px, 6vw, 28px); }
  .cine .reel-pin { justify-content: flex-start; padding-top: calc(env(safe-area-inset-top) + 92px); }
}

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 0 34px 64px; border-top: 1px solid rgba(243, 238, 230, .1); }
.step:last-child { border-bottom: 1px solid rgba(243, 238, 230, .1); }
.step .n { position: absolute; left: 0; top: 26px; font: italic 300 40px/1 var(--serif); font-variation-settings: "opsz" 144; color: var(--lamp); }
.step h3 { margin: 0 0 8px; font: 400 26px/1.15 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.01em; }
.step p { margin: 0; color: rgba(243, 238, 230, .7); font-size: 15.5px; max-width: 30em; }
.step svg { position: absolute; right: 0; top: 30px; width: 30px; height: 30px; stroke: var(--mist); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 88px; }
  .step { padding: 92px 34px 0 0; border: 0 !important; }
  .step .n { top: 0; font-size: 56px; }
  .step svg { left: 0; right: auto; top: auto; bottom: auto; display: none; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 74px; height: 1px; background: rgba(243, 238, 230, .12); }
  .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 74px; height: 1px; background: linear-gradient(90deg, var(--lamp), rgba(242, 200, 121, .2)); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease); }
  .steps.in::after { transform: scaleX(1); }
  .step::before { content: ""; position: absolute; left: 0; top: 70px; width: 9px; height: 9px; border-radius: 50%; background: var(--night); border: 1px solid var(--lamp); transition: background .6s, box-shadow .6s; transition-delay: var(--d, 0s); }
  .steps.in .step::before { background: var(--lamp); box-shadow: 0 0 14px 2px rgba(242, 200, 121, .55); }
}

/* ---------- Styles ---------- */
.styles .grid { display: grid; gap: 18px; margin-top: 56px; }
.style-card { position: relative; margin: 0; }
.style-card .frame { aspect-ratio: 880 / 484; border-radius: 16px; }
.style-card figcaption { padding: 20px 2px 0; }
.style-card h3 { margin: 0; font: italic 330 32px/1.1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.01em; }
.style-card p { margin: 8px 0 0; color: rgba(243, 238, 230, .68); font-size: 15px; max-width: 26em; }
@media (max-width: 899.98px) {
  .styles .grid { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
                  padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .styles .grid::-webkit-scrollbar { display: none; }
  .style-card { scroll-snap-align: start; }
}
@media (min-width: 900px) {
  .styles .grid { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 80px; }
  .style-card:nth-child(2) { transform: translateY(56px); }
  .cine .style-card.rv:nth-child(2) { transform: translateY(84px); }
  .cine .style-card.rv.in:nth-child(2) { transform: translateY(56px); }
  .style-card .frame { transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
  .style-card:hover .frame { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(242, 200, 121, .35), 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 140px -30px rgba(242, 200, 121, .4); }
  .styles { padding-bottom: clamp(150px, 16vw, 230px); }
}

/* ---------- A moment from a film ---------- */
.moment { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 120px var(--gutter); isolation: isolate; }
.moment .bg { position: absolute; inset: -12% 0; z-index: -2; }
.moment .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: translateY(var(--py, 0)) scale(1.06); }
.moment::before { content: ""; position: absolute; inset: 0; z-index: -1;
                  background: linear-gradient(180deg, var(--night) 0%, rgba(10, 15, 26, .3) 24%, rgba(10, 15, 26, .35) 72%, var(--night) 100%), radial-gradient(70% 60% at 30% 50%, rgba(10, 15, 26, .6), rgba(10, 15, 26, 0)); }
.moment blockquote { margin: 0 auto; max-width: 1100px; width: 100%; }
.moment blockquote p { margin: 0; font: italic 300 clamp(38px, 10vw, 104px)/1.04 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.02em; text-wrap: balance; }
.moment blockquote .w { transition: color .5s, text-shadow .5s; }
.cine .moment blockquote .w { color: rgba(243, 238, 230, .2); }
.cine .moment blockquote .w.lit { color: var(--paper); text-shadow: 0 0 40px rgba(242, 200, 121, .35); }
.moment footer { margin-top: 30px; font-size: 14px; color: rgba(243, 238, 230, .75); }
.moment footer b { display: block; font: 600 11px/1.2 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--lamp); margin-bottom: 8px; }

/* ---------- Made with care / private by design ---------- */
.care .wrap { position: relative; }
.care .arch { width: 84px; height: auto; margin: 0 0 30px; opacity: .8; pointer-events: none; }
@media (min-width: 900px) { .care .arch { position: absolute; right: 0; top: 10px; width: min(30vw, 400px); margin: 0; opacity: .6; } .care .promises, .care .small { max-width: calc(100% - min(30vw, 400px) - 64px); } }
.care .arch path, .care .arch line { fill: none; stroke: var(--lamp); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cine .care .arch path, .cine .care .arch line { stroke-dasharray: 2400; stroke-dashoffset: 2400; transition: stroke-dashoffset 3.2s var(--ease-io); }
.cine .care .arch.in path, .cine .care .arch.in line { stroke-dashoffset: 0; }
.promises { list-style: none; padding: 0; margin: 64px 0 0; display: grid; gap: 0; }
.promises li { padding: 28px 0; border-top: 1px solid rgba(243, 238, 230, .1); display: grid; gap: 8px; }
.promises h3 { margin: 0; font: 400 25px/1.2 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 14px; }
.promises h3::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 12px 1px rgba(242, 200, 121, .7); transform: translateY(-4px); }
.promises p { margin: 0 0 0 21px; color: rgba(243, 238, 230, .7); font-size: 15.5px; max-width: 32em; }
.care .small { margin-top: 36px; font-size: 13.5px; color: var(--mist); }
.care .small a { color: var(--paper); }
@media (min-width: 900px) {
  .promises { grid-template-columns: 1fr 1fr; column-gap: 72px; margin-top: 88px; max-width: 1040px; }
  .promises li { padding: 34px 0 38px; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 18px; margin-top: 56px; max-width: 920px; }
.plan { position: relative; border-radius: 22px; padding: 32px 28px 30px; background: linear-gradient(180deg, rgba(28, 36, 56, .9), rgba(18, 26, 43, .9));
        box-shadow: inset 0 0 0 1px rgba(243, 238, 230, .09); overflow: hidden; }
.plan.best { box-shadow: inset 0 0 0 1px rgba(242, 200, 121, .55), 0 30px 80px -40px rgba(242, 200, 121, .35); }
.plan.best::before { content: ""; position: absolute; right: -30%; top: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 200, 121, .18), rgba(242, 200, 121, 0)); pointer-events: none; }
.plan h3 { margin: 0; font: 600 12px/1.2 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.plan.best h3 { color: var(--lamp); }
.plan .price { margin: 18px 0 6px; font: 300 64px/1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.03em; display: flex; align-items: flex-start; gap: 4px; }
.plan .price sup { font-size: 26px; line-height: 1.3; letter-spacing: 0; color: var(--mist); }
.plan .per { color: var(--mist); font-size: 14px; margin: 0; }
.plan p.d { margin: 18px 0 0; color: rgba(243, 238, 230, .74); font-size: 15.5px; }
.plan .tag { position: absolute; top: 28px; right: 24px; font: 600 11px/1 var(--ui); letter-spacing: .08em; padding: 7px 10px; border-radius: 99px; color: var(--dusk); background: var(--lamp); }
.pricing .after { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.pricing .after p { margin: 0; color: var(--mist); font-size: 14px; max-width: 34em; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; } .plan { padding: 40px 36px 38px; } }

/* ---------- FAQ ---------- */
.faq .list { margin-top: 48px; max-width: 880px; border-top: 1px solid rgba(243, 238, 230, .1); }
.faq details { border-bottom: 1px solid rgba(243, 238, 230, .1); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font: 400 21px/1.3 var(--serif); font-variation-settings: "opsz" 48; letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1px; background: var(--lamp); transition: transform .5s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { margin: -6px 0 26px; color: rgba(243, 238, 230, .72); max-width: 40em; font-size: 15.5px; }
@media (min-width: 900px) { .faq .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; } .faq .list { margin-top: 0; } .faq summary { font-size: 23px; } }

/* ---------- Finale ---------- */
.finale .wrap { display: grid; gap: 56px; align-items: center; }
.finale .portal { position: relative; width: min(78vw, 400px); margin: 0 auto; aspect-ratio: 1 / 1.3; border-radius: 999px 999px 0 0; overflow: hidden;
                  box-shadow: 0 0 0 1px rgba(242, 200, 121, .5), 0 0 60px 4px rgba(242, 200, 121, .25), 0 0 180px 20px rgba(227, 154, 66, .2); }
.finale .portal img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.finale .portal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 26, 0) 60%, rgba(10, 15, 26, .35)); }
.finale .sill { width: min(86vw, 440px); height: 10px; margin: 10px auto 0; border-radius: 6px; background: var(--lamp); box-shadow: 0 0 30px rgba(242, 200, 121, .5); }
.finale h2 { font-size: clamp(44px, 11vw, 96px); }
.finale .cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.finale .cta small { color: var(--mist); font-size: 13.5px; }
@media (min-width: 900px) { .finale .wrap { grid-template-columns: 6fr 5fr; gap: 80px; } .finale .art { order: 2; } }

/* ---------- Footer ---------- */
.foot { padding: 72px var(--gutter) calc(env(safe-area-inset-bottom) + 40px); border-top: 1px solid var(--line); }
.foot .wrap { display: grid; gap: 28px; }
.foot .wm { width: 150px; height: auto; }
.foot .wm-light { display: none; }
.foot p { margin: 0; color: var(--soft); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; }
.foot nav a { text-decoration: none; color: var(--ink); opacity: .85; }
.foot nav a:hover { opacity: 1; color: var(--accent); }
.foot .legal { font-size: 12.5px; }
.doc .foot .wm-light { display: block; } .doc .foot .wm-dark { display: none; }
@media (prefers-color-scheme: dark) { .doc .foot .wm-light { display: none; } .doc .foot .wm-dark { display: block; } }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1fr auto; align-items: end; } .foot .right { text-align: right; } .foot nav { justify-content: flex-end; } }

/* ======================================================================
   DOCUMENT PAGES (privacy, terms, support)
   ====================================================================== */
.doc main { padding: 40px var(--gutter) 96px; }
.doc article { max-width: 680px; margin: 0 auto; }
.doc h1 { font-size: clamp(44px, 11vw, 72px); line-height: 1; margin: 18px 0 28px; font-weight: 320; }
.doc h3 { font: 400 24px/1.2 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.01em; margin: 48px 0 10px; }
.doc p { margin: 0 0 16px; line-height: 1.7; font-size: 16.5px; text-wrap: pretty; }
.doc article > p:first-of-type { font-size: 19px; line-height: 1.6; }
.doc a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc .alt { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.doc .eyebrow { color: var(--accent); }
.doc .eyebrow::before { background: var(--accent); }

/* ======================================================================
   FILM PAGE (a recipient opens a private link) and EXPIRED PAGE
   ====================================================================== */
.watch { min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(100% 60% at 50% 0%, #182037, var(--night) 70%); }
.watch .top { display: flex; justify-content: center; padding: calc(env(safe-area-inset-top) + 18px) 16px 16px; }
.watch .top img { width: 112px; height: auto; opacity: .9; }
.watch main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 0 40px; }
.screen { position: relative; }
.screen::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 200, 121, .22), rgba(242, 200, 121, 0)); filter: blur(30px); z-index: 0; pointer-events: none; }
.screen video { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
@media (min-width: 720px) { .watch main { padding: 12px 24px 56px; } .screen video { border-radius: 16px; box-shadow: 0 0 0 1px rgba(243, 238, 230, .08), 0 40px 100px -40px rgba(0, 0, 0, .9); } }
.watch .ic { max-width: 640px; margin: 0 auto; padding: 28px 24px 0; text-align: center; }
.watch .kimden { font: 600 11.5px/1.4 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--lamp); }
.watch h1 { font-size: clamp(38px, 10vw, 60px); line-height: 1.02; margin: 12px 0 14px; font-weight: 320; text-wrap: balance; }
.watch .not { font: italic 330 19px/1.5 var(--serif); font-variation-settings: "opsz" 24; color: rgba(243, 238, 230, .78); margin: 0 auto 30px; max-width: 30em; text-wrap: pretty; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 99px; text-decoration: none;
       font: 600 16.5px/1 var(--ui); background: var(--btn); color: var(--btn-ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(242, 200, 121, .55); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.watch .ana { width: 100%; max-width: 360px; }
.watch .alt { color: var(--mist); font-size: 13.5px; margin: 18px 0 0; }
.watch .ikinci { display: inline-block; margin-top: 44px; font-size: 13.5px; color: var(--mist); text-decoration: none; border-bottom: 1px solid rgba(154, 166, 189, .35); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.watch .ikinci:hover { color: var(--lamp); border-color: var(--lamp); }

.expired main { display: grid; place-items: center; text-align: center; padding: 24px 24px 64px; }
.expired .unlit { width: 120px; height: auto; margin: 0 auto 36px; }
.expired h1 { margin-top: 0; }
.expired .ikinci { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
}

/* ======================================================================
   IDEA PAGES (/ideas and the pages it lists): a document page with a picture, sections and a call to action
   ====================================================================== */
.guide .kirinti { font-size: 13.5px; color: var(--soft); margin-bottom: 26px; }
.guide .kirinti a { color: inherit; text-decoration: none; }
.guide .kirinti a:hover { color: var(--accent); }
.guide .kirinti span { opacity: .5; margin: 0 6px; }
.guide h1 { font-size: clamp(38px, 8.5vw, 60px); line-height: 1.04; }
.guide h2 { font-size: clamp(28px, 5.5vw, 36px); line-height: 1.12; margin: 56px 0 16px; font-weight: 360; }
.guide h3.soru { margin-top: 30px; font-size: 21px; }
.guide article ul { margin: 0 0 16px; padding-left: 1.15em; }
.guide article li { margin: 0 0 10px; line-height: 1.65; font-size: 16.5px; padding-left: .2em; }
.guide article li::marker { color: var(--accent); }
.guide .kare { margin: 32px 0 8px; }
@media (min-width: 900px) { .guide .kare { margin: 40px -48px 8px; } .guide .kare figcaption { padding: 0 48px; } }
.guide .kare img, .guide .kare video { width: 100%; height: auto; border-radius: 18px; background: var(--card);
                                       box-shadow: 0 24px 60px -28px rgba(10, 15, 26, .55); }
.guide .kare figcaption { margin-top: 12px; font-size: 13.5px; color: var(--soft); }
.guide .davet { margin: 56px 0 8px; padding: 28px; border-radius: 20px; background: var(--night); color: var(--paper);
                display: grid; gap: 18px; justify-items: start; }
.guide .davet p { margin: 0; font: 400 21px/1.35 var(--serif); font-variation-settings: "opsz" 48; }
.guide .davet b { color: var(--lamp); font-weight: 500; }
.guide ul.ilgili { list-style: none; padding: 0; }
.guide ul.ilgili li { padding: 0; border-top: 1px solid var(--line); margin: 0; }
.guide ul.ilgili a { display: block; padding: 14px 0; text-decoration: none; }
.guide ul.fikirler { list-style: none; padding: 0; margin: 36px 0; }
.guide ul.fikirler li { padding: 0; margin: 0; border-top: 1px solid var(--line); }
.guide ul.fikirler li:last-child { border-bottom: 1px solid var(--line); }
.guide ul.fikirler a { display: grid; gap: 6px; padding: 22px 0; text-decoration: none; color: var(--ink); }
.guide ul.fikirler b { font: 400 23px/1.25 var(--serif); font-variation-settings: "opsz" 48; }
.guide ul.fikirler a:hover b { color: var(--accent); }
.guide ul.fikirler span { color: var(--soft); font-size: 15px; line-height: 1.55; }
.faq .faq-more { margin: 22px 0 0; color: rgba(243, 238, 230, .72); font-size: 15.5px; max-width: 22em; }
.faq .faq-more a { color: var(--lamp); text-underline-offset: 3px; }
.guide .davet .appstore { color: #fff; text-decoration: none; }
