/* FOK Brand Performance Layer · Recognition before Decision */
:root{
  --fok-paper:#f2efe7;
  --fok-paper-2:#e7e2d8;
  --fok-white:#fffdf8;
  --fok-ink:#10141a;
  --fok-ink-2:#1a2028;
  --fok-muted:#646c77;
  --fok-line:rgba(16,20,26,.16);
  --fok-red:#c4352e;
  --fok-blue:#2149c9;
  --fok-green:#2f6a5d;
  --fok-serif:Iowan Old Style,Baskerville,"Times New Roman",Georgia,serif;
  --fok-sans:Inter,"Helvetica Neue",Arial,sans-serif;
  --fok-shadow:0 28px 80px rgba(16,20,26,.10);
}
::selection{background:var(--fok-blue);color:#fff}

/* PUBLIC WEBSITE */
html:has(body.fok-public){background:var(--fok-paper)}
body.fok-public{background:var(--fok-paper);color:var(--fok-ink);font-family:var(--fok-sans)}
.fok-public .noise{opacity:.018;mix-blend-mode:multiply}
.fok-public .site-header{background:rgba(242,239,231,.92);border-color:var(--fok-line);color:var(--fok-ink);box-shadow:0 1px 0 rgba(255,255,255,.7)}
.fok-public .site-brand small,.fok-public .site-header nav a{color:var(--fok-muted)}
.fok-public .site-header nav a:hover{color:var(--fok-ink)}
.fok-public .mark{border:0;border-radius:0;background:var(--fok-ink);color:var(--fok-white);box-shadow:none}
.fok-public .mark::after{height:4px;width:62px;background:var(--fok-red);box-shadow:none}
.fok-public .language,.fok-public .cart-button{border-color:var(--fok-line);color:var(--fok-ink);background:rgba(255,255,255,.46)}
.fok-public .button{border-radius:0;border-color:var(--fok-line);color:var(--fok-ink);background:transparent}
.fok-public .button.red{background:var(--fok-ink);border-color:var(--fok-ink);color:var(--fok-white);box-shadow:8px 8px 0 var(--fok-red)}
.fok-public .button.light{background:var(--fok-white);color:var(--fok-ink);border-color:var(--fok-line)}
.fok-public .button.review-access{background:var(--fok-blue);color:white;border-color:var(--fok-blue)}
.fok-public .hero{background:
  linear-gradient(90deg,transparent 0 63%,rgba(33,73,201,.055) 63% 100%),
  var(--fok-paper);color:var(--fok-ink)}
.fok-public .hero::before{content:"RECOGNITION";position:absolute;left:clamp(18px,4vw,70px);bottom:2.2rem;font:700 clamp(5rem,14vw,14rem)/.75 var(--fok-serif);letter-spacing:-.075em;color:rgba(16,20,26,.035);pointer-events:none}
.fok-public .hero h1{font-family:var(--fok-serif);font-weight:500;letter-spacing:-.085em;text-transform:none}
.fok-public .hero h1 span{display:inline;margin-right:.12em}
.fok-public .hero h1 em{color:var(--fok-red)}
.fok-public .lead{color:var(--fok-muted);border-left:4px solid var(--fok-blue);padding-left:20px}
.fok-public .eyebrow{color:var(--fok-red)}
.fok-public .trust span{border-color:var(--fok-line);color:var(--fok-muted);background:rgba(255,255,255,.45)}
.fok-public .showpiece{border-radius:0;background:var(--fok-ink);border:0;box-shadow:var(--fok-shadow)}
.fok-public .showpiece,.fok-public .showpiece *{color:var(--fok-white)}
.fok-public .show-core{border-color:rgba(255,255,255,.2)}
.fok-public .signal{background:var(--fok-paper);color:var(--fok-ink);border-color:rgba(255,255,255,.12)}
.fok-public .s2{background:var(--fok-red);color:#fff}
.fok-public .s3{background:var(--fok-blue);color:#fff}
.fok-public .impact-strip{background:var(--fok-ink);color:var(--fok-white);border:0}
.fok-public .impact-strip article+article{border-color:rgba(255,255,255,.15)}
.fok-public .section{background:var(--fok-paper);color:var(--fok-ink)}
.fok-public .section-head h2,.fok-public .cinema-copy h2,.fok-public .final-cta h2,.fok-public .author-copy h2{font-family:var(--fok-serif);font-weight:500;letter-spacing:-.055em}
.fok-public .section-head p,.fok-public .principle-flow p,.fok-public .author-copy p,.fok-public .integrity-copy p{color:var(--fok-muted)}
.fok-public .principle-flow article,.fok-public .path-grid article,.fok-public .claim-grid article,.fok-public .product-card,.fok-public .faq-list details{background:var(--fok-white);border-color:var(--fok-line);box-shadow:none}
.fok-public .principle-flow article:nth-child(2){border-top:5px solid var(--fok-blue)}
.fok-public .principle-flow article:nth-child(1){border-top:5px solid var(--fok-red)}
.fok-public .principle-flow article:nth-child(3){border-top:5px solid var(--fok-green)}
.fok-public .gate-system{
  background:var(--fok-white);
  color:var(--fok-ink);
  border:1px solid var(--fok-line);
  border-top:6px solid var(--fok-red);
  border-radius:2px;
  box-shadow:0 22px 58px rgba(16,20,26,.08);
}
.fok-public .gate-intro{border-color:var(--fok-line)}
.fok-public .gate-intro h3{color:var(--fok-ink)}
.fok-public .gate-intro>p:not(.eyebrow){color:#4f5965}
.fok-public .gate-rule span{
  background:var(--fok-paper);
  color:var(--fok-ink);
  border-color:rgba(16,20,26,.22);
}
.fok-public .gate-rule span:first-child{color:var(--fok-green);border-color:rgba(47,106,93,.48)}
.fok-public .gate-rule span:last-child{color:var(--fok-red);border-color:rgba(196,53,46,.48)}
.fok-public .gate-list li{
  background:var(--fok-paper);
  color:var(--fok-ink);
  border-color:rgba(16,20,26,.18);
}
.fok-public .gate-list li b{color:var(--fok-ink)}
.fok-public .gate-list li span{color:var(--fok-red)}
.fok-public .gate-list li:last-child{
  background:#fff2ed;
  border-color:rgba(196,53,46,.62);
}
.fok-public .cinema-frame{border-radius:0;box-shadow:var(--fok-shadow)}
.fok-public .book-section,.fok-public .app-section,.fok-public .integrity-section,.fok-public .author-section{background:var(--fok-paper-2);color:var(--fok-ink)}
.fok-public .site-footer{background:var(--fok-ink);color:var(--fok-white)}

/* ENTRY / APP / PORTALS */
body.fok-entry,body.fok-showcase,body.fok-social{--fok-black:var(--fok-paper);--fok-ink:var(--fok-ink);--fok-panel:var(--fok-white);--fok-line:var(--fok-line);background:var(--fok-paper);color:var(--fok-ink)}
.fok-entry .entry-head,.fok-social .preview-head,.fok-showcase .showcase-header{background:rgba(242,239,231,.92);border-color:var(--fok-line);color:var(--fok-ink)}
.fok-entry .entry-hero,.fok-social .preview-hero{background:linear-gradient(100deg,var(--fok-paper),var(--fok-paper-2));color:var(--fok-ink)}
.fok-entry .entry-hero h1,.fok-social .preview-hero h1,.fok-showcase h1{font-family:var(--fok-serif);font-weight:500;letter-spacing:-.07em}
.fok-entry .entry-stage,.fok-social .asset-card{border-radius:0}

body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form{background:#ece8df;color:var(--fok-ink)}
.fok-app{--bg:#ece8df;--bg-2:#e3ded4;--panel:#fffdf8;--panel-2:#f4f0e8;--paper:#11151b;--paper-2:#505862;--muted:#69717b;--line:rgba(17,21,27,.11);--line-2:rgba(17,21,27,.19);--red:var(--fok-red);--blue:var(--fok-blue);color-scheme:light}
.fok-portal{--ink:#ece8df;--panel:#fffdf8;--panel2:#f4f0e8;--line:rgba(17,21,27,.13);--paper:#11151b;--muted:#69717b;--red:var(--fok-red);--gold:var(--fok-blue);--green:#397d69;--yellow:#b88720;color-scheme:light}
.fok-admin{--bg:#ece8df;--panel:#fffdf8;--panel2:#f4f0e8;--paper:#11151b;--muted:#69717b;--line:rgba(17,21,27,.12);--red:var(--fok-red);--green:#397d69;--amber:#b88720;--blue:var(--fok-blue);color-scheme:light}
.fok-app .side,.fok-portal .portal-top,.fok-admin .admin-top{background:rgba(255,253,248,.92);backdrop-filter:blur(20px)}
.fok-app .brand-mark,.fok-admin .admin-brand b{background:var(--fok-ink);color:white;border-radius:0}
.fok-app .panel,.fok-portal .portal-card,.fok-admin .admin-card,.fok-review-form .sandbox-card{box-shadow:0 18px 60px rgba(16,20,26,.06)}

/* FORM CONTRAST: entered values remain visible in every light-brand login. */
:where(body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)
:where(
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="number"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="time"],
  input[type="month"],
  input[type="week"],
  textarea,
  select
){
  background:var(--fok-white)!important;
  color:var(--fok-ink)!important;
  -webkit-text-fill-color:var(--fok-ink)!important;
  caret-color:var(--fok-ink)!important;
  border-color:rgba(16,20,26,.28)!important;
  opacity:1!important;
}
:where(body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)
:where(input,textarea)::placeholder{
  color:#5c6570!important;
  -webkit-text-fill-color:#5c6570!important;
  opacity:1!important;
}
:where(body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)
:where(input,textarea,select):focus{
  border-color:var(--fok-blue)!important;
  box-shadow:0 0 0 3px rgba(33,73,201,.18)!important;
  outline:2px solid transparent;
}
:where(body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)
:where(input,textarea,select):disabled{
  background:var(--fok-paper-2)!important;
  color:#414954!important;
  -webkit-text-fill-color:#414954!important;
  opacity:1!important;
}
:where(body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)
input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px var(--fok-white) inset!important;
  -webkit-text-fill-color:var(--fok-ink)!important;
  caret-color:var(--fok-ink)!important;
}

/* OWNER BOOK SHOWCASE: presentation access without exposing owner credentials. */
.fok-portal .owner-book-showcase{display:grid;gap:24px}
.fok-portal .owner-book-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:22px;align-items:stretch}
.fok-portal .owner-book-intro .portal-card{margin:0}
.fok-portal .owner-book-note{background:var(--fok-ink)!important;color:var(--fok-white);border:0!important}
.fok-portal .owner-book-note p{color:rgba(255,253,248,.72)}
.fok-portal .owner-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fok-portal .owner-book-card{min-height:330px;display:flex;flex-direction:column;gap:14px;overflow:hidden;position:relative}
.fok-portal .owner-book-cover{display:block;width:100%;aspect-ratio:1054/1492;object-fit:cover;object-position:center;border-radius:14px;background:var(--fok-ink);box-shadow:0 18px 42px rgba(16,20,26,.18)}
.fok-portal .owner-book-card[data-language="de"] .owner-book-cover{border-bottom:8px solid var(--fok-red)}
.fok-portal .owner-book-card[data-language="en"] .owner-book-cover{border-bottom:8px solid var(--fok-blue)}
.fok-portal .owner-book-card h2{font-family:var(--fok-serif);font-weight:500;letter-spacing:-.035em;margin:0}
.fok-portal .owner-book-card p{color:var(--fok-muted);margin:0;line-height:1.55}
.fok-portal .owner-book-card .portal-button{margin-top:auto}
.fok-portal .owner-book-card .fok-protected-actions{display:grid;gap:9px;margin-top:auto}
.fok-portal .owner-resource-card{background:linear-gradient(145deg,var(--fok-white),var(--fok-paper-2))!important}
.fok-portal .owner-resource-visual{display:flex;min-height:180px;flex-direction:column;justify-content:flex-end;gap:4px;padding:22px;background:var(--fok-ink);color:#fff;border-radius:14px;box-shadow:0 18px 42px rgba(16,20,26,.18)}
.fok-portal .owner-resource-card[data-language="de"] .owner-resource-visual{border-bottom:8px solid var(--fok-red)}
.fok-portal .owner-resource-card[data-language="en"] .owner-resource-visual{border-bottom:8px solid var(--fok-blue)}
.fok-portal .owner-resource-visual span{font-size:.78rem;font-weight:900;letter-spacing:.16em}
.fok-portal .owner-resource-visual strong{font:500 clamp(2.4rem,4vw,4.8rem)/.86 var(--fok-serif);letter-spacing:-.06em}
.fok-portal .owner-card-files{padding-top:4px;border-top:1px solid rgba(16,20,26,.14)}
.fok-portal .owner-file-list{display:grid;gap:8px}
.fok-portal .owner-file-link{display:grid;gap:3px;padding:11px 12px;background:var(--fok-ink);color:#fff!important;text-decoration:none;border-left:4px solid var(--fok-red)}
.fok-portal .owner-book-card[data-language="en"] .owner-file-link{border-left-color:var(--fok-blue)}
.fok-portal .owner-file-link span{font-weight:850;line-height:1.25;overflow-wrap:anywhere}
.fok-portal .owner-file-link strong{color:rgba(255,255,255,.72);font-size:.72rem;letter-spacing:.1em}
.fok-portal .owner-file-link:hover,.fok-portal .owner-file-link:focus-visible{background:var(--fok-red)}
.fok-portal .owner-book-card[data-language="en"] .owner-file-link:hover,.fok-portal .owner-book-card[data-language="en"] .owner-file-link:focus-visible{background:var(--fok-blue)}
.fok-portal .owner-file-status{margin:0!important;font-weight:750;color:var(--fok-muted)}
.fok-portal .owner-file-status.is-error{color:#9f211b}
.fok-portal .owner-book-security{border-left:4px solid var(--fok-blue);padding-left:16px;color:var(--fok-muted)}
.fok-portal .owner-book-download-access{display:grid;gap:18px;margin:0 0 34px;padding:24px;border:1px solid rgba(16,20,26,.14);border-top:5px solid var(--fok-red);border-radius:22px;background:rgba(255,253,248,.82);box-shadow:0 24px 70px rgba(16,20,26,.08)}
.fok-portal .owner-book-full-access-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.fok-portal .owner-book-full-access-head h2{margin:.2rem 0 .45rem;font:500 clamp(2rem,3.2vw,3.6rem)/.95 var(--fok-serif);letter-spacing:-.055em}
.fok-portal .owner-book-full-access-head p{max-width:820px;margin:0;color:var(--fok-muted);line-height:1.6}
.fok-portal .owner-book-download-access .owner-book-card{min-height:290px}
.fok-portal .owner-library-launch{
  background:var(--fok-blue)!important;
  border:2px solid var(--fok-ink)!important;
  box-shadow:4px 4px 0 var(--fok-red)!important;
  color:#fff!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  white-space:nowrap;
}
.fok-portal .owner-library-launch:hover,
.fok-portal .owner-library-launch:focus-visible{
  background:var(--fok-ink)!important;
  box-shadow:4px 4px 0 var(--fok-blue)!important;
  color:#fff!important;
}
.fok-portal .portal-nav .owner-library-nav{
  background:var(--fok-blue)!important;
  border-left:5px solid var(--fok-red)!important;
  color:#fff!important;
  font-weight:900!important;
  letter-spacing:.055em;
}
.fok-portal .owner-library-launch-mobile{display:none}

/* SOCIAL: editorial interruption, not visual noise */
.fok-social .preview-hero h1 span{color:var(--fok-red)}
.fok-social .strategy-band{background:var(--fok-line)}
.fok-social .strategy-band article{background:var(--fok-white);color:var(--fok-ink)}
.fok-social .feed-section,.fok-social .guardrails{background:var(--fok-paper);color:var(--fok-ink)}
.fok-social .asset-card,.fok-social .guard-grid article{background:var(--fok-white);border-color:var(--fok-line);color:var(--fok-ink)}
.fok-social .filters button{border-radius:0;background:var(--fok-white);border-color:var(--fok-line);color:var(--fok-muted)}
.fok-social .filters button.active{background:var(--fok-ink);color:#fff}

@media(max-width:1280px){.fok-portal .owner-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.fok-public .site-actions .review-access{display:none}.fok-public .hero::before{display:none}.fok-portal .owner-book-intro{grid-template-columns:1fr}.fok-portal .owner-book-full-access-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.fok-portal .owner-book-grid{grid-template-columns:1fr}}

/* RESPONSIVE PARITY
   One automatic layout system for public web, FOK OS, review, portals,
   showcase and social. No separate mobile page and no hidden core content. */
@media(max-width:900px){
  :where(body.fok-public,body.fok-entry,body.fok-showcase,body.fok-social,body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form){
    overflow-x:clip;
  }
  :where(
    .fok-public .hero>*,
    .fok-public .section>*,
    .fok-entry .entry-hero>*,
    .fok-social .preview-hero>*,
    .fok-showcase main>*,
    .fok-app .page>*,
    .fok-portal .portal-area,
    .fok-portal .portal-main>*
  ){
    min-width:0;
    max-width:100%;
  }
}

@media(max-width:780px){
  .fok-portal .owner-library-launch-mobile{
    position:fixed;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    top:max(12px,env(safe-area-inset-top));
    left:14px;
    z-index:2147483001;
    min-height:44px;
    max-width:calc(100vw - 130px);
    overflow:hidden;
    padding-inline:13px!important;
    text-overflow:ellipsis;
    background:var(--fok-blue)!important;
    border:2px solid var(--fok-ink)!important;
    box-shadow:4px 4px 0 var(--fok-red)!important;
    color:#fff!important;
    font-weight:900!important;
    letter-spacing:.055em!important;
    white-space:nowrap;
  }
  .fok-portal .portal-top{
    gap:10px;
    padding-inline:14px;
  }
  .fok-portal .portal-top>small{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .fok-portal .portal-main{
    width:100%;
    padding:24px 16px 96px;
  }
  .fok-portal .owner-book-download-access{
    gap:16px;
    padding:18px;
    border-radius:18px;
  }
  .fok-portal .owner-book-card{
    min-height:0;
    padding:18px;
  }
  .fok-portal .owner-book-card::before{
    min-height:112px;
    padding:16px;
    font-size:clamp(3.2rem,16vw,4.8rem);
  }
  .fok-portal .owner-book-download-access .owner-book-card{
    min-height:0;
  }
}

@media(max-width:650px){
  .fok-social .preview-head{
    padding-inline:16px;
  }
  .fok-social .preview-hero,
  .fok-social .feed-section,
  .fok-social .guardrails{
    padding-inline:16px;
  }
  .fok-social .preview-hero h1{
    max-width:100%;
    font-size:clamp(3.15rem,15vw,4.65rem);
    line-height:.84;
    letter-spacing:-.065em;
    overflow-wrap:normal;
  }
  .fok-social .preview-hero h1 span{
    display:block;
  }
  .fok-social .strategy-band article,
  .fok-social .guard-grid article{
    min-height:0;
    padding:22px 18px;
  }
  .fok-social .feed-section>header{
    gap:18px;
  }
  .fok-social .filters{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .fok-social .filters button{
    min-width:0;
    padding-inline:8px;
  }
  .fok-social .asset-grid{
    gap:16px;
  }
  .fok-social footer{
    display:grid;
    gap:6px;
    padding-inline:16px;
  }
}

@media(max-width:640px){
  .fok-showcase .showcase-header{
    gap:12px;
    padding:12px 16px;
  }
  .fok-showcase .hero,
  .fok-showcase .credo,
  .fok-showcase .shock-test,
  .fok-showcase .formats{
    padding-inline:16px;
  }
  .fok-showcase .hero{
    padding-top:42px;
    padding-bottom:56px;
  }
  .fok-showcase .hero h1{
    max-width:100%;
    font-size:clamp(2.8rem,13vw,4rem);
    line-height:.91;
    letter-spacing:-.055em;
  }
  .fok-showcase .format-picker{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin-top:0;
  }
  .fok-showcase .format-picker button{
    width:100%;
    min-width:0;
    padding-inline:8px;
  }
  .fok-showcase .video-shell{
    width:100%;
    max-width:100%;
    border-radius:16px;
  }
  .fok-showcase .credo-grid article,
  .fok-showcase .format-grid article{
    min-height:0;
    padding:22px 18px;
  }
  .fok-showcase .credo-grid b{
    margin-top:28px;
  }
}

/* BRAND SETTLEMENT R1.3 · FOUNDER APPROVAL, FACE-CLEAR PORTRAIT */
:root{
  --fok-crimson:#c4352e;
  --fok-cobalt:#2149c9;
  --fok-bone:#f2efe7;
  --fok-black:#10141a;
  --fok-frame:rgba(16,20,26,.18);
  --fok-founder-ratio:4/5;
}

:where(.fok-founder-stage,.fok-founder-hero,.fok-founder-bridge figure,.fok-founder-os){
  position:relative;
  isolation:isolate;
}

:where(.fok-founder-stage,.fok-founder-hero,.fok-founder-bridge figure)::before,
.fok-founder-os::before{
  content:"";
  position:absolute;
  z-index:2;
  pointer-events:none;
  background:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}

.fok-founder-refraction{
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(103deg,rgba(196,53,46,.18),transparent 28% 68%,rgba(33,73,201,.2)),
    linear-gradient(180deg,transparent 48%,rgba(16,20,26,.9));
}

/* The approval lives with the copy below the face. It never crosses the portrait. */
.fok-approved-stamp{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:max-content;
  margin:clamp(8px,1.5vw,18px) 0;
  padding:.62em 1.15em .56em;
  overflow:visible;
  color:#ff6258!important;
  background:rgba(16,20,26,.72);
  border:clamp(2px,.22vw,4px) solid currentColor;
  border-radius:999px;
  box-shadow:inset 0 0 0 3px rgba(16,20,26,.82),inset 0 0 0 4px currentColor;
  font:950 clamp(.82rem,1.5vw,1.35rem)/1 var(--fok-sans,Inter,Arial,sans-serif);
  letter-spacing:.16em;
  text-indent:.16em;
  white-space:nowrap;
  transform-origin:50% 50%;
  opacity:0;
  animation:fok-approved-arrival .82s cubic-bezier(.16,1.28,.28,1) 1.05s forwards;
}
.fok-approved-stamp::after{
  content:"";
  position:absolute;
  inset:-7px;
  border:1px solid currentColor;
  border-radius:999px;
  opacity:.58;
}
.author-copy .fok-approved-stamp{
  color:var(--fok-crimson)!important;
  background:transparent;
  box-shadow:inset 0 0 0 3px var(--fok-bone),inset 0 0 0 4px currentColor;
}
@keyframes fok-approved-arrival{
  0%{opacity:0;transform:translate3d(120px,-64px,0) rotate(-24deg) scale(1.7);filter:blur(3px)}
  64%{opacity:1;transform:translate3d(-7px,5px,0) rotate(-5deg) scale(.94);filter:blur(0)}
  82%{transform:translate3d(3px,-2px,0) rotate(-8deg) scale(1.04)}
  100%{opacity:1;transform:translate3d(0,0,0) rotate(-7deg) scale(1);filter:blur(0)}
}

/* Primary public threshold: the agreed portrait is the visual lead. */
.fok-entry .entry-hero{
  grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr);
  align-items:stretch;
  min-height:calc(100svh - 72px);
}
.fok-entry .fok-founder-stage{
  min-height:clamp(560px,72vh,900px);
  margin:0;
  overflow:hidden;
  border:1px solid var(--fok-frame);
  border-radius:0;
  box-shadow:18px 18px 0 var(--fok-crimson),-18px -18px 0 rgba(33,73,201,.13);
  background:var(--fok-black);
}
.fok-entry .fok-founder-stage::before{inset:0}
.fok-entry .fok-founder-stage-image{
  width:100%;height:100%;display:block;object-fit:cover;object-position:50% 34%;filter:saturate(.92) contrast(1.03);
}
.fok-entry .fok-founder-stage figcaption,
.fok-public .fok-founder-hero figcaption{
  position:absolute;z-index:3;left:0;right:0;bottom:0;padding:clamp(24px,4vw,52px);color:#fffdf8;
  display:grid;gap:12px;
}
.fok-entry .fok-founder-stage figcaption small,
.fok-public .fok-founder-hero figcaption small{
  font-size:.67rem;font-weight:950;letter-spacing:.2em;color:#fffdf8;
}
.fok-entry .fok-founder-stage blockquote,
.fok-public .fok-founder-hero blockquote{
  margin:0;max-width:720px;font:500 clamp(1.45rem,2.7vw,3rem)/1.03 var(--fok-serif);letter-spacing:-.04em;color:#fffdf8;
}
.fok-entry .fok-founder-stage figcaption b,
.fok-public .fok-founder-hero figcaption b{
  width:max-content;padding-top:12px;border-top:4px solid var(--fok-crimson);font-size:.66rem;letter-spacing:.18em;
}

/* Public sales surface: Founder + architecture become one hero, not two unrelated stories. */
.fok-public .hero{grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr)}
.fok-public .fok-founder-hero{
  min-height:clamp(600px,76vh,940px);margin:0;overflow:hidden;background:var(--fok-black);border:0;border-radius:0;
  box-shadow:22px 22px 0 var(--fok-crimson),-22px -22px 0 rgba(33,73,201,.14);
}
.fok-public .fok-founder-hero::before{inset:0}
.fok-public .fok-founder-hero img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 34%}
.fok-public .fok-founder-hero *{color:#fffdf8}
.fok-public .fok-founder-video-hotspot{
  position:absolute;
  z-index:4;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  appearance:none;
  cursor:pointer;
}
.fok-public .fok-founder-video-hotspot:focus-visible{
  outline:4px solid var(--fok-cobalt);
  outline-offset:-8px;
}

/* Showcase and social use the same editorial Founder bridge. */
.fok-founder-bridge{
  width:min(1320px,calc(100% - 40px));margin:clamp(38px,7vw,96px) auto;padding:0;
  display:grid;grid-template-columns:minmax(300px,.84fr) minmax(0,1.16fr);align-items:stretch;
  background:var(--fok-black);color:#fffdf8;border-top:7px solid var(--fok-crimson);box-shadow:20px 20px 0 rgba(33,73,201,.18);
}
.fok-founder-bridge figure{min-height:520px;margin:0;overflow:hidden;background:#080a0e}
.fok-founder-bridge figure::before{inset:0}
.fok-founder-bridge figure img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 32%}
.fok-founder-bridge>div{padding:clamp(34px,6vw,86px);display:flex;flex-direction:column;justify-content:center}
.fok-founder-bridge .eyebrow{color:#ff6b61}
.fok-founder-bridge blockquote{margin:18px 0 26px;font:500 clamp(2.2rem,4.6vw,5.8rem)/.91 var(--fok-serif);letter-spacing:-.065em;max-width:920px}
.fok-founder-bridge>div>p:last-child{max-width:620px;margin:0;color:rgba(255,253,248,.7);font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.65;border-left:4px solid var(--fok-cobalt);padding-left:18px}
.fok-social .fok-founder-social{margin-top:0;margin-bottom:0;width:100%;box-shadow:none}

/* FOK OS: Founder at method entry only; working canvases stay owner-led. */
.fok-app .fok-founder-os{
  min-height:260px;margin:16px 0 8px;padding:clamp(26px,4vw,48px) clamp(28px,5vw,64px) clamp(26px,4vw,48px) clamp(250px,27vw,400px);
  overflow:hidden;background:var(--fok-black);color:#fffdf8;border-top:6px solid var(--fok-crimson);box-shadow:12px 12px 0 rgba(33,73,201,.15);
}
.fok-app .fok-founder-os::before{inset:0}
.fok-app .fok-founder-os img{
  position:absolute;z-index:1;left:0;top:0;width:clamp(210px,24vw,350px);height:100%;object-fit:cover;object-position:50% 32%;
}
.fok-app .fok-founder-os>div{position:relative;z-index:3;max-width:800px}
.fok-app .fok-founder-os small{font-weight:900;letter-spacing:.18em;color:#ff6b61}
.fok-app .fok-founder-os blockquote{margin:14px 0;font:500 clamp(1.65rem,3.1vw,3.6rem)/.96 var(--fok-serif);letter-spacing:-.055em}
.fok-app .fok-founder-os p{margin:0;color:rgba(255,253,248,.68);line-height:1.55}

/* Shared brand geometry across customer/account/control surfaces. */
:where(.fok-public,.fok-entry,.fok-showcase,.fok-social,.fok-app,.fok-portal,.fok-admin,.fok-review-form) :where(.panel,.portal-card,.admin-card,.sandbox-card,.product-card,.format-grid article,.credo-grid article){
  border-radius:0;
}
:where(.fok-public,.fok-entry,.fok-showcase,.fok-social,.fok-app,.fok-portal,.fok-admin,.fok-review-form) :where(h1,h2){text-wrap:balance}
:where(.fok-public,.fok-entry,.fok-showcase,.fok-social,.fok-app,.fok-portal,.fok-admin,.fok-review-form) :where(.eyebrow,.portal-eyebrow,.label){letter-spacing:.18em}

@media(max-width:980px){
  .fok-entry .entry-hero,.fok-public .hero,.fok-founder-bridge{grid-template-columns:1fr}
  .fok-entry .fok-founder-stage,.fok-public .fok-founder-hero{min-height:min(760px,88svh)}
  .fok-founder-bridge figure{min-height:620px}
}
@media(max-width:680px){
  .fok-entry .entry-hero{padding-inline:16px}
  .fok-entry .fok-founder-stage,.fok-public .fok-founder-hero{min-height:66svh;box-shadow:9px 9px 0 var(--fok-crimson),-9px -9px 0 rgba(33,73,201,.15)}
  .fok-entry .fok-founder-stage figcaption,.fok-public .fok-founder-hero figcaption{padding:22px 18px}
  .fok-entry .fok-founder-stage blockquote,.fok-public .fok-founder-hero blockquote{font-size:clamp(1.2rem,6.5vw,1.85rem)}
  .fok-founder-bridge{width:calc(100% - 24px);box-shadow:9px 9px 0 rgba(33,73,201,.2)}
  .fok-founder-bridge figure{min-height:66svh}
  .fok-founder-bridge>div{padding:30px 20px 36px}
  .fok-founder-bridge blockquote{font-size:clamp(2rem,10.5vw,3.2rem)}
  .fok-app .fok-founder-os{padding:280px 20px 28px;min-height:0}
  .fok-app .fok-founder-os img{width:100%;height:270px;object-position:50% 28%}
}

@media(max-width:620px){
  .fok-public .site-header{
    gap:8px;
    padding-inline:12px;
  }
  .fok-public .site-brand{
    min-width:0;
  }
  .fok-public .site-brand strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.64rem;
    letter-spacing:.12em;
  }
  .fok-public .site-actions{
    flex:0 0 auto;
    gap:5px;
  }
  .fok-public .hero{
    min-height:auto;
    padding:104px 16px 64px;
    gap:38px;
    align-content:start;
  }
  .fok-public .hero h1{
    max-width:100%;
    margin:18px 0 26px;
    font-size:clamp(3.55rem,18vw,5.1rem);
    line-height:.79;
    letter-spacing:-.072em;
  }
  .fok-public .hero h1 span,
  .fok-public .hero h1 em{
    display:block;
    margin:0!important;
  }
  .fok-public .hero h1 span:nth-child(2){
    padding-left:.35em;
  }
  .fok-public .hero h1 em{
    padding-left:.7em;
  }
  .fok-public .lead{
    max-width:none;
    padding-left:15px;
    font-size:1rem;
    line-height:1.58;
  }
  .fok-public .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .fok-public .hero-actions .button{
    width:100%;
  }
  .fok-public .trust{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .fok-public .showpiece{
    width:100%;
    height:430px;
    min-height:430px;
  }
  .fok-public .impact-strip{
    margin:0 16px 58px;
  }
  .fok-public .section{
    padding:72px 16px;
  }
  .fok-public .section h2,
  .fok-public .author-copy h2{
    max-width:100%;
    font-size:clamp(2.35rem,11vw,3.5rem);
    line-height:.96;
    letter-spacing:-.045em;
    overflow-wrap:anywhere;
  }
  .fok-public .cinema-section{
    padding:58px 10px;
  }
  .fok-public .cinema-frame{
    min-height:560px;
  }
  .fok-public .cinema-copy{
    padding:26px 18px 58px;
  }
  .fok-public .cinema-copy h2{
    font-size:clamp(2.55rem,12vw,3.85rem);
    line-height:.94;
  }
  .fok-public .principle-flow{
    margin-top:38px;
    border-radius:16px;
  }
  .fok-public .principle-flow article,
  .fok-public .path-grid article{
    min-height:0;
    padding:24px 20px;
  }
  .fok-public .principle-flow b,
  .fok-public .path-grid h3{
    margin-top:28px;
  }
  .fok-public .book-object{
    width:min(300px,calc(100vw - 48px));
    height:420px;
    transform:rotateY(-5deg);
  }
  .fok-public .book-face{
    left:24px;
    padding:26px;
  }
  .fok-public .author-signature{
    min-height:320px;
  }
  .fok-public .site-footer{
    padding:34px 16px;
  }
  .fok-public .site-footer nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .fok-app .top{
    height:64px;
    padding-inline:12px;
  }
  .fok-app .main{
    padding-top:64px;
  }
  .fok-app .crumb strong{
    max-width:86px;
  }
  .fok-app .page{
    width:100%;
    padding:24px 16px calc(176px + env(safe-area-inset-bottom));
  }
  .fok-app .page h1{
    max-width:100%;
    font-size:clamp(2.55rem,12vw,3.45rem);
    line-height:.94;
    letter-spacing:-.045em;
    overflow-wrap:anywhere;
  }
  .fok-app .section-head{
    margin-bottom:16px;
  }
  .fok-app .section-head h2{
    font-size:clamp(1.75rem,8vw,2.35rem);
    line-height:1.05;
  }
  .fok-app .download-list{
    gap:12px;
  }
  .fok-app .file-row{
    grid-template-columns:58px minmax(0,1fr);
    gap:9px 12px;
    align-items:start;
    padding:16px;
    border-radius:16px;
  }
  .fok-app .file-icon{
    grid-row:1 / span 2;
    width:58px;
    height:58px;
    border-radius:12px;
    font-size:.56rem;
  }
  .fok-app .file-row>span:nth-child(2){
    min-width:0;
  }
  .fok-app .file-row>span:nth-child(2)>strong{
    display:none;
  }
  .fok-app .file-row>span:nth-child(2)>span{
    margin-top:0;
    font-size:.72rem;
    line-height:1.5;
  }
  .fok-app .file-row .btn{
    grid-column:2;
    width:auto;
    min-height:42px;
    justify-self:start;
    padding-inline:16px;
  }
  .fok-app .panel{
    padding:20px;
    border-radius:18px;
  }
  .fok-app .panel .subtitle{
    font-size:.84rem;
    line-height:1.55;
  }

  .fok-admin .admin-top{
    height:auto;
    min-height:64px;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:8px;
    padding:10px 12px;
  }
  .fok-admin .admin-actions{
    min-width:0;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:6px;
  }
  .fok-admin .admin-main{
    width:100%;
    max-width:100%;
    padding-inline:14px;
  }
  .fok-review-form .sandbox-shell{
    width:100%;
    max-width:100%;
    padding:16px;
  }
  .fok-review-form .sandbox-card{
    width:100%;
    max-width:100%;
    padding:22px 18px;
    border-radius:18px;
  }
  .fok-review-form .sandbox-card h1{
    max-width:100%;
    font-size:clamp(2.45rem,12vw,3.35rem);
    line-height:.94;
    overflow-wrap:anywhere;
  }
  .fok-review-form .form-grid{
    grid-template-columns:1fr;
  }
  .fok-review-form.checkout-body{
    padding:16px;
  }
  .fok-review-form .sandbox-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .fok-review-form .portal-button{
    width:100%;
    min-width:0;
    white-space:normal;
  }

  :where(body.fok-public,body.fok-entry,body.fok-showcase,body.fok-social,body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)>aside[role="status"][style*="z-index: 99999"]{
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    min-height:44px;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    justify-content:stretch!important;
    align-items:center!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
    padding:8px 10px!important;
    border-radius:12px!important;
    background:var(--fok-red)!important;
    color:#fff!important;
    font:850 .56rem/1.2 var(--fok-sans)!important;
    letter-spacing:.04em;
    box-shadow:0 12px 34px rgba(16,20,26,.28)!important;
  }
  :where(body.fok-public,body.fok-entry,body.fok-showcase,body.fok-social,body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)>aside[role="status"][style*="z-index: 99999"]>span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  :where(body.fok-public,body.fok-entry,body.fok-showcase,body.fok-social,body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)>aside[role="status"][style*="z-index: 99999"]>a{
    color:#fff!important;
    white-space:nowrap;
  }
  :where(body.fok-public,body.fok-entry,body.fok-showcase,body.fok-social,body.fok-app,body.fok-portal,body.fok-admin,body.fok-review-form)>aside[role="status"][style*="z-index: 99999"]>a[href="/review-hub"]{
    display:none!important;
  }
  body.fok-app>aside[role="status"][style*="z-index: 99999"]{
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
  }
}

/* BRAND SETTLEMENT R1.4 · LEGIBLE FOUNDER HERO + APPROVAL IMPACT */
/* Keep the sales headline inside its own column. R1.3's inline override caused
   THE to run underneath the portrait. */
.fok-public .hero{
  grid-template-columns:minmax(0,1.02fr) minmax(400px,.98fr);
  gap:clamp(46px,5vw,84px);
}
.fok-public .hero-copy{
  position:relative;
  z-index:4;
  min-width:0;
}
.fok-public .hero h1{
  max-width:100%;
  font-size:clamp(4.8rem,7.35vw,8.35rem);
  line-height:.78;
}
.fok-public .hero h1 span,
.fok-public .hero h1 em{
  display:block;
  width:max-content;
  max-width:100%;
}
.fok-public .hero h1 span:nth-child(2){
  margin-left:12%;
}
.fok-public .hero h1 em{
  margin-left:25%;
}

/* The copy occupies the empty architectural field above and left of the face.
   It is deliberately small; Paul remains the visual testimonial. */
.fok-entry .fok-founder-stage figcaption,
.fok-public .fok-founder-hero figcaption{
  top:clamp(28px,3.2vw,52px);
  right:auto;
  bottom:auto;
  left:clamp(26px,3.2vw,52px);
  width:min(42%,390px);
  padding:0;
  gap:8px;
  align-content:start;
  text-shadow:0 2px 18px rgba(0,0,0,.72);
}
.fok-entry .fok-founder-stage figcaption small,
.fok-public .fok-founder-hero figcaption small{
  font-size:clamp(.52rem,.55vw,.64rem);
  line-height:1.35;
}
.fok-entry .fok-founder-stage blockquote,
.fok-public .fok-founder-hero blockquote{
  max-width:340px;
  font:650 clamp(.82rem,1.02vw,1.08rem)/1.24 var(--fok-sans,Inter,Arial,sans-serif);
  letter-spacing:.025em;
  text-wrap:balance;
}
.fok-entry .fok-founder-stage figcaption b,
.fok-public .fok-founder-hero figcaption b{
  display:none;
}
.fok-entry .fok-founder-stage .fok-approved-stamp,
.fok-public .fok-founder-hero .fok-approved-stamp{
  margin:7px 0 0;
  padding:.55em 1em .5em;
  font-size:clamp(.76rem,.9vw,.98rem);
}

/* APPROVED arrives oversized in the two photographic hero treatments only,
   then settles without changing the separate Showcase or app layouts. */
.fok-entry .fok-founder-stage .fok-approved-stamp,
.fok-public .fok-founder-hero .fok-approved-stamp{
  animation:fok-approved-arrival-r14 1.18s cubic-bezier(.16,1,.24,1) .72s forwards;
  will-change:transform,opacity,filter;
}
@keyframes fok-approved-arrival-r14{
  0%{opacity:0;transform:translate3d(145%,-75%,0) rotate(-22deg) scale(5.4);filter:blur(5px)}
  18%{opacity:1;transform:translate3d(64%,-34%,0) rotate(-15deg) scale(3.9);filter:blur(1px)}
  62%{opacity:1;transform:translate3d(-7px,5px,0) rotate(-5deg) scale(.78);filter:blur(0)}
  82%{transform:translate3d(3px,-2px,0) rotate(-9deg) scale(1.12)}
  100%{opacity:1;transform:translate3d(0,0,0) rotate(-7deg) scale(1);filter:blur(0)}
}

@media(max-width:1180px) and (min-width:981px){
  .fok-public .hero{
    grid-template-columns:minmax(0,1fr) minmax(390px,.92fr);
  }
  .fok-public .hero h1{
    font-size:clamp(4.25rem,7.2vw,6.35rem);
  }
}

@media(max-width:980px){
  .fok-public .hero{
    grid-template-columns:1fr;
  }
  .fok-public .hero h1{
    font-size:clamp(4.2rem,14vw,7.4rem);
  }
}

@media(max-width:680px){
  .fok-public .hero h1{
    font-size:clamp(3.65rem,20vw,5.6rem);
  }
  .fok-entry .fok-founder-stage,
  .fok-public .fok-founder-hero{
    min-height:calc(62svh + 150px);
    background:var(--fok-black);
  }
  .fok-entry .fok-founder-stage-image,
  .fok-public .fok-founder-hero>img{
    height:62svh;
    bottom:auto;
  }
  .fok-entry .fok-founder-stage .fok-founder-refraction,
  .fok-public .fok-founder-hero .fok-founder-refraction{
    bottom:150px;
  }
  .fok-entry .fok-founder-stage figcaption,
  .fok-public .fok-founder-hero figcaption{
    top:62svh;
    right:0;
    left:0;
    width:100%;
    min-height:150px;
    padding:18px 20px;
    background:var(--fok-black);
  }
  .fok-entry .fok-founder-stage blockquote,
  .fok-public .fok-founder-hero blockquote{
    max-width:31rem;
    font-size:.78rem;
  }
}

@media(prefers-reduced-motion:reduce){
  .fok-entry .fok-founder-stage .fok-approved-stamp,
  .fok-public .fok-founder-hero .fok-approved-stamp{
    opacity:1;
    animation:none!important;
    transform:rotate(-7deg);
    will-change:auto;
  }
}

@media(max-width:540px){
  .fok-entry .entry-head{
    padding-inline:16px;
  }
  .fok-entry .entry-hero{
    min-height:auto;
    padding:42px 16px 64px;
  }
  .fok-entry .entry-copy h1{
    max-width:100%;
    font-size:clamp(3.15rem,16vw,4.55rem);
    line-height:.82;
    letter-spacing:-.06em;
    overflow-wrap:normal;
  }
  .fok-entry .entry-copy h1 em{
    display:block;
  }
  .fok-entry .entry-actions{
    gap:10px;
  }
  .fok-entry .interrupt{
    padding-inline:16px;
  }
  .fok-entry .interrupt h2{
    max-width:100%;
    font-size:clamp(2.65rem,13vw,4rem);
    line-height:.9;
  }
  .fok-entry .entry-proof article{
    min-height:0;
  }
}

@media(max-width:470px){
  .fok-portal .auth-art{
    min-height:36svh;
    padding:24px 20px;
  }
  .fok-portal .auth-statement h1{
    max-width:100%;
    font-size:clamp(2.75rem,13vw,4rem);
    line-height:.9;
  }
  .fok-portal .auth-panel{
    padding:28px 16px 76px;
  }
  .fok-portal .portal-title{
    max-width:100%;
    font-size:clamp(2.35rem,12vw,3rem);
    line-height:.96;
    overflow-wrap:anywhere;
  }
  .fok-portal .owner-book-full-access-head h2{
    font-size:clamp(2rem,10vw,2.75rem);
  }
}

@media(max-width:380px){
  .fok-app .cloud-pill{
    display:none;
  }
  .fok-app .crumb strong{
    max-width:72px;
  }
  .fok-public .trust{
    grid-template-columns:1fr;
  }
  .fok-social .filters,
  .fok-showcase .format-picker{
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}
  .fok-approved-stamp{opacity:1;animation:none!important;transform:rotate(-7deg)}
}

/* Final cascade guard: later legacy mobile rules must never hide the Founder master. */
@media(max-width:680px){
  .fok-entry .fok-founder-stage,
  .fok-public .fok-founder-hero{
    width:100%;
    height:auto;
    min-height:66svh;
    border-radius:0;
    box-shadow:9px 9px 0 var(--fok-crimson),-9px -9px 0 rgba(33,73,201,.15);
  }
  .fok-entry .fok-founder-stage-image,
  .fok-public .fok-founder-hero>img{
    position:absolute;
    inset:0;
  }
}

/* BRAND SETTLEMENT R1.5 · HOLISTIC DELIVERY + MOBILE CASCADE GUARD */
/* Keep all photographic Founder copy inside the deliberately empty left field. */
.fok-entry .fok-founder-stage figcaption,
.fok-public .fok-founder-hero figcaption{
  width:min(36%,340px);
}

/* The same APPROVED impact is used on every Founder surface. The final state is
   compact; reduced-motion users receive that state immediately. */
.fok-approved-stamp{
  animation:fok-approved-arrival-r15 1.14s cubic-bezier(.16,1,.24,1) .72s forwards;
  will-change:transform,opacity,filter;
}
@keyframes fok-approved-arrival-r15{
  0%{opacity:0;transform:translate3d(120%,-68%,0) rotate(-22deg) scale(4.8);filter:blur(5px)}
  20%{opacity:1;transform:translate3d(52%,-28%,0) rotate(-15deg) scale(3.25);filter:blur(1px)}
  64%{opacity:1;transform:translate3d(-7px,5px,0) rotate(-5deg) scale(.8);filter:blur(0)}
  84%{transform:translate3d(3px,-2px,0) rotate(-9deg) scale(1.1)}
  100%{opacity:1;transform:translate3d(0,0,0) rotate(-7deg) scale(1);filter:blur(0)}
}

/* On phones the portrait and testimonial become two explicit grid rows. This
   prevents later legacy height/position rules from clipping the copy or stamp. */
@media(max-width:680px){
  .fok-entry .fok-founder-stage,
  .fok-public .fok-founder-hero{
    display:grid;
    grid-template-rows:minmax(420px,62svh) auto;
    width:100%;
    height:auto;
    min-height:0;
    overflow:hidden;
  }
  .fok-entry .fok-founder-stage-image,
  .fok-public .fok-founder-hero>img{
    position:relative;
    inset:auto;
    grid-area:1/1;
    width:100%;
    height:100%;
    min-height:0;
    object-fit:cover;
    object-position:50% 32%;
  }
  .fok-entry .fok-founder-stage .fok-founder-refraction,
  .fok-public .fok-founder-hero .fok-founder-refraction{
    position:relative;
    inset:auto;
    grid-area:1/1;
    width:100%;
    height:100%;
  }
  .fok-entry .fok-founder-stage figcaption,
  .fok-public .fok-founder-hero figcaption{
    position:relative;
    inset:auto;
    grid-area:2/1;
    width:100%;
    min-height:0;
    padding:18px 20px 22px;
    background:var(--fok-black);
    text-shadow:none;
  }
  .fok-entry .fok-founder-stage blockquote,
  .fok-public .fok-founder-hero blockquote{
    max-width:31rem;
    font-size:.78rem;
  }
}

@media(max-width:420px){
  .fok-entry .fok-founder-stage,
  .fok-public .fok-founder-hero{
    grid-template-rows:minmax(360px,58svh) auto;
  }
}

@media(prefers-reduced-motion:reduce){
  .fok-approved-stamp{
    opacity:1;
    animation:none!important;
    transform:rotate(-7deg);
    filter:none;
    will-change:auto;
  }
}

/* FOK R1.10 · RENDER PRECISION
   Native system typography, clean resting composites and hard window geometry. */
:where(body.fok-public, body.fok-entry, body.fok-showcase, body.fok-social,
       body.fok-app, body.fok-portal, body.fok-admin, body.fok-review-form) {
  --fok-ui-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fok-precision-line: rgba(16, 20, 26, 0.30);
  font-family: var(--fok-ui-sans) !important;
  font-synthesis: none;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

:where(body.fok-public, body.fok-entry, body.fok-showcase, body.fok-social,
       body.fok-app, body.fok-portal, body.fok-admin, body.fok-review-form)
  :where(button, input, select, textarea) {
  font-family: var(--fok-ui-sans) !important;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
}

/* Decorative grain must never sit above glyph edges. */
:where(body.fok-public, body.fok-entry, body.fok-showcase, body.fok-social,
       body.fok-app, body.fok-portal, body.fok-admin, body.fok-review-form)::after {
  opacity: 0 !important;
  background-image: none !important;
}
:where(.fok-public, .fok-entry, .fok-showcase, .fok-social,
       .fok-app, .fok-portal, .fok-admin, .fok-review-form) .noise {
  display: none !important;
}

/* No text remains on a composited translate/tilt after its reveal. */
:where(.fok-public, .fok-entry, .fok-showcase, .fok-social,
       .fok-app, .fok-portal, .fok-admin, .fok-review-form)
  :where(.reveal.visible, .reveal.is-visible, .reveal.in-view) {
  filter: none !important;
  will-change: auto !important;
}
.fok-public .fok-founder-hero,
.fok-entry .fok-founder-stage {
  transform: none !important;
  transform-style: flat !important;
  backface-visibility: visible !important;
}

:where(.fok-public, .fok-entry, .fok-showcase, .fok-social,
       .fok-app, .fok-portal, .fok-admin, .fok-review-form)
  :where(.app-window, .panel, .portal-card, .admin-card, .sandbox-card,
         .product-card, .format-grid article, .credo-grid article,
         .asset-card, .file-row, .platform-card, .release-dialog,
         .release-card, .video-shell):hover {
  transform: none !important;
}

/* The testimonial remains legible without a soft 18px halo. */
.fok-entry .fok-founder-stage figcaption,
.fok-public .fok-founder-hero figcaption {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.92), 0 0 1px rgba(0, 0, 0, 0.88) !important;
}
.fok-entry .fok-founder-stage figcaption small,
.fok-public .fok-founder-hero figcaption small {
  font-size: clamp(0.66rem, 0.70vw, 0.76rem) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

/* Microcopy below 10px breaks on ordinary Windows displays. */
:where(.fok-public, .fok-entry, .fok-showcase, .fok-social,
       .fok-app, .fok-portal, .fok-admin, .fok-review-form)
  :where(.entry-brand small, .site-brand small, .micro, .status-note,
         .release-card small, .release-card em, .cinema-meta span,
         .fok-view-badge, .portal-eyebrow, .eyebrow, .label) {
  font-size: max(0.66rem, 10.5px) !important;
  line-height: 1.35 !important;
}

/* Crisp 1px inner edge and at most a 2px corner radius for embedded windows. */
:where(.fok-public, .fok-entry, .fok-showcase, .fok-social,
       .fok-app, .fok-portal, .fok-admin, .fok-review-form)
  :where(.app-window, .panel, .portal-card, .admin-card, .sandbox-card,
         .product-card, .format-grid article, .credo-grid article,
         .asset-card, .file-row, .mock-input, .mock-gate,
         .claim-grid article, .path-grid article, .failure-grid article,
         .platform-card, .faq-list details, .release-dialog, .release-card,
         .video-shell, .transcript, fieldset, .test-result, .owner-book-card) {
  border-radius: 2px !important;
  outline: 1px solid var(--fok-precision-line) !important;
  outline-offset: -1px !important;
  background-clip: padding-box !important;
  transform-style: flat !important;
  backface-visibility: visible !important;
}

.fok-public .app-window,
.fok-public .video-shell,
.fok-showcase .video-shell {
  --fok-precision-line: rgba(255, 255, 255, 0.30);
}

@media (max-width: 620px) {
  :where(.fok-public, .fok-entry, .fok-showcase, .fok-social,
         .fok-app, .fok-portal, .fok-admin, .fok-review-form)
    :where(.panel, .portal-card, .admin-card, .sandbox-card, .file-row,
           .product-card, .format-grid article, .credo-grid article) {
    border-radius: 2px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fok-approved-stamp {
    filter: none !important;
    will-change: auto !important;
  }
}

/* FOK R1.11 · FEEDBACK CONTRAST
   The review card is a light precision surface; all copy keeps WCAG contrast. */
body.fok-review-form {
  --panel: #fffdf8;
  --paper: #10141a;
  --muted: #4f5864;
  --line: rgba(16, 20, 26, 0.24);
}
body.fok-review-form .sandbox-card {
  background: #fffdf8 !important;
  color: #10141a !important;
  border-color: rgba(16, 20, 26, 0.28) !important;
}
body.fok-review-form .sandbox-card h1 {
  color: #10141a !important;
  -webkit-text-fill-color: #10141a !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
body.fok-review-form .sandbox-card > p:not(.portal-eyebrow),
body.fok-review-form .sandbox-card .fineprint {
  color: #4f5864 !important;
  -webkit-text-fill-color: #4f5864 !important;
}
body.fok-review-form .sandbox-card .portal-eyebrow {
  color: #a51f2b !important;
  -webkit-text-fill-color: #a51f2b !important;
}

/* FOK-R14-CONTRAST-FINAL
   Final contrast correction for the cyclic --fok-ink declaration. */
body.fok-entry {
  --fok-ink: #10141a;
  --fok-line: rgba(16, 20, 26, .18);
  color: #10141a;
}
body.fok-entry .entry-head,
body.fok-entry .entry-hero,
body.fok-entry .interrupt {
  color: #10141a;
}
body.fok-entry .entry-head nav a,
body.fok-entry .entry-head nav button {
  color: #343c47;
  opacity: 1;
}
body.fok-entry .entry-brand small {
  color: #46505c;
  opacity: 1;
}
body.fok-entry .entry-hero h1,
body.fok-entry .entry-hero p,
body.fok-entry .interrupt,
body.fok-entry .interrupt a {
  opacity: 1;
}
body.fok-entry .interrupt a {
  color: #10141a;
}
body.fok-entry .entry-proof article {
  color: #f2efe8;
}
/* /FOK-R14-CONTRAST-FINAL */

/* FOK R8.23 · MOBILE VISUAL INTEGRITY
   One late, canonical guard for the public light cards, the dark Owner hero,
   and the ambient-audio control. This deliberately sits at the end of the
   brand layer so later legacy component rules cannot undo the contrast model. */
.fok-public .claim-grid article {
  color: #10141a;
}
.fok-public .claim-grid article > span {
  color: #1f6755;
  -webkit-text-fill-color: #1f6755;
}
.fok-public .claim-grid .claim-no > span {
  color: #76520c;
  -webkit-text-fill-color: #76520c;
}
.fok-public .claim-grid li {
  color: #46505c;
  -webkit-text-fill-color: #46505c;
  opacity: 1;
}

.fok-portal .leader-hero {
  color: #fffdf8;
}
.fok-portal .leader-hero h2,
.fok-portal .leader-hero .leader-health strong {
  color: #fffdf8;
  -webkit-text-fill-color: #fffdf8;
  text-shadow: none;
  opacity: 1;
}
.fok-portal .leader-hero p,
.fok-portal .leader-hero .leader-health small {
  color: #d7dde6;
  -webkit-text-fill-color: #d7dde6;
  opacity: 1;
}

@media (max-width: 720px), (max-height: 520px) {
  body:not(.fok-portal) .fok-ambient-control {
    width: 3rem !important;
    min-width: 3rem !important;
    height: 3rem !important;
    min-height: 3rem !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 2px !important;
    box-sizing: border-box !important;
  }
  body:not(.fok-portal) .fok-ambient-control__icon {
    width: 100% !important;
    height: 100% !important;
    border-right: 0 !important;
  }
  body:not(.fok-portal) .fok-ambient-control__copy {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .fok-public .site-header {
    gap: 8px;
  }
  .fok-public .site-brand > span:last-child {
    display: none;
  }
  .fok-public .site-actions {
    min-width: 0;
    gap: 5px;
  }
  .fok-public .site-actions > .button.light.compact {
    display: inline-flex !important;
    min-height: 42px;
    padding-inline: 10px;
    font-size: .64rem;
  }
  .fok-public .site-actions > .review-access {
    display: none !important;
  }
  .fok-public .cart-button {
    gap: 5px;
    padding-inline: 8px;
  }
  .fok-public .cart-button span {
    display: inline !important;
    font-size: .58rem;
    letter-spacing: .02em;
  }
}
/* /FOK R8.23 · MOBILE VISUAL INTEGRITY */

/* claude-c12 20261116: BOSS MEDIA neben WEBMAIL statt darueber */
@media (max-width:780px){.fok-portal .owner-library-launch-mobile{top:max(16px,env(safe-area-inset-top))!important;left:calc(max(16px,env(safe-area-inset-left)) + 148px)!important;height:48px!important}}
