/* wf.css — tilted photo tiles over the text, Wispr's way (08.11.2026, LOCAL TRY, not pushed).
   Lauro: "auf dem localhost mit Wispr-Flow-artigen Dingen arbeiten, z.B. verschobene Bilder über Text, sodass der Text
   besser aussieht. Versuche das in der ganzen Website."
   Taken from Wispr as VALUES only (its testimonial row: portrait photos in their own frame, tilted, overlapping the
   corner of a text card): portrait 4:5, a 6 px frame, ~5° tilt, a soft drop. Ours: paper-white frame instead of
   Wispr's colours, our warm photos (Unsplash License, drafts/photos-1104) with our black pill on each.
   A tile never sits on words: on a card it takes the empty top-right corner; beside a title it stays outside the
   letters; in the questions it sits under the heading. Decorative: aria-hidden, alt="". */

.wf-at{position:relative}
.wf{position:absolute;z-index:3;margin:0;width:var(--wf-w,clamp(150px,14vw,206px));aspect-ratio:4/5;border-radius:20px;overflow:hidden;
  background:#2a2118;box-shadow:0 0 0 6px #fff,0 1px 0 6px rgba(21,21,21,.06),0 26px 60px rgba(30,20,10,.24);
  transform:rotate(var(--wf-r,5deg));pointer-events:none}
.wf img{display:block;width:100%;height:100%;object-fit:cover}

/* on the last card of a row: its empty top-right corner */
.wf.on-card{top:-66px;right:-30px}
/* in the questions' side column, under the heading */
.wf.in-side{position:relative;display:block;margin-top:44px;--wf-r:-4deg;--wf-w:clamp(150px,13vw,190px)}
/* home: two tiles flanking "Reading, without the work." */
.kx-feat.wf-at .wf.feat-l{left:calc(50% - min(600px,46vw));top:-34px;--wf-r:-6deg}
.kx-feat.wf-at .wf.feat-r{right:calc(50% - min(600px,46vw));top:-6px;--wf-r:5deg;--wf-w:clamp(130px,12vw,176px)}

@media (max-width:960px){
  .kx-feat.wf-at .wf.feat-l{left:2vw}
  .kx-feat.wf-at .wf.feat-r{right:2vw}
}
@media (max-width:600px){
  .wf{--wf-w:108px;border-radius:14px;box-shadow:0 0 0 4px #fff,0 14px 34px rgba(30,20,10,.22)}
  .wf.on-card{top:-40px;right:-4px}
  .wf.in-side{--wf-w:120px;margin-top:28px}
  /* phones: the two home tiles sit above the title, side by side, never on the words */
  .kx-feat.wf-at{padding-top:140px}
  .kx-feat.wf-at .wf.feat-l{left:calc(50% - 118px);top:0;--wf-w:96px}
  .kx-feat.wf-at .wf.feat-r{right:calc(50% - 118px);top:10px;--wf-w:88px}
}
@media (prefers-reduced-motion:no-preference){
  .wf{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
}

/* Page endings as a photo sheet (08.11.2026, LOCAL TRY). Lauro: "ich mag den Stil, wo du das Bild als Hintergrund
   genommen hast, dann Text darüber … bei gewissen Tabs kannst du das auch machen". Mobbin: Lightship, Wix Learn,
   Eventbrite (one big rounded photo, white headline, one button). Same recipe as the /press Pictures sheet.
   The ending's drawing is hidden; the photo (photos/wf/end-*.jpg) carries the mood. */
.ph-end .o-block{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:1240px;min-height:clamp(380px,42vw,560px);
  padding:clamp(48px,6vw,88px) 24px;border-radius:clamp(28px,4vw,56px);overflow:hidden;text-align:center;box-sizing:border-box;
  background:linear-gradient(180deg,rgba(24,14,4,.16),rgba(24,14,4,.40)),var(--ph-end) center/cover,#3a2c1e}
.ph-end .o-block>img{display:none}
.ph-end .o-block .r-h{margin:0;max-width:14em;color:#fff;font-size:var(--pg-d);line-height:.95;text-shadow:0 2px 30px rgba(20,10,0,.3);text-align:center}
.ph-end .o-block .r-acts{justify-content:center;margin-top:34px}
.ph-end .o-block .r-btn{background:var(--paper);color:var(--ink);box-shadow:0 10px 30px rgba(20,10,0,.25)}
.ph-end .o-block .r-os{color:rgba(255,255,255,.8);text-align:center}
.ph-end .o-block .r-btn,html.lf-phone .ph-end .o-block .r-btn{background:var(--paper)!important;color:var(--ink)!important;box-shadow:0 10px 30px rgba(20,10,0,.25)!important}
.ph-end .o-block .r-os,html.lf-phone .ph-end .o-block .r-os,.ph-end .o-block .r-os *{color:rgba(255,255,255,.88)!important}

/* Home: the founder's words on a photo sheet (10.11.2026, Lauro: "verschwommenes Bild, einen Text drüber und dann
   ein CTA — das mag ich mega"). Replaces the two tilted tiles beside "Reading, without the work." */
.kx-note.ph-end{max-width:1240px}
.kx-note.ph-end .o-block{padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(56px,7vw,96px)}
.kx-note.ph-end .kx-q2{padding-top:0}
.kx-note.ph-end .kx-q2 p{color:#fff;text-shadow:0 2px 30px rgba(20,10,0,.35);font-size:clamp(30px,3.6vw,50px)}
.kx-note.ph-end .kx-q2 figcaption,.kx-note.ph-end .kx-q2 figcaption a{color:rgba(255,255,255,.9)}
.kx-note.ph-end .kx-story-cta{margin-top:40px}
.kx-note.ph-end .kx-story-cta .r-btn{background:var(--paper,#fdfcf8)!important;color:var(--ink,#16150f)!important;box-shadow:0 10px 30px rgba(20,10,0,.25)!important}
.kx-note.ph-end .kx-story-cta .r-os{color:rgba(255,255,255,.88)!important}
@media (max-width:600px){
  .ph-end .o-block{border-radius:28px;min-height:0;padding:56px 20px}
  .kx-note.ph-end .kx-q2 p{font-size:28px}
}
section.ph-end>.o-block{width:calc(100% - 32px);margin-left:auto;margin-right:auto} /* a sheet not inside .r-w keeps the 16 px gutter on phones */
