/* ============================================================
   font-page.css · the dedicated page of one font (fonts-<slug>.html), 20.10.2026
   One skeleton (hero, chapters, gallery, alphabet, playground, mockups, next font)
   and one theme per font on <body class="fp fp--<key>">. Each theme sets the palette,
   the world behind the letters and its own motion. The letters are always the star:
   backgrounds stay behind, never under the text being judged.
   Motion only with transform/opacity/filter; everything stops under reduced motion.
   ============================================================ */

body.fp { --fp-bg: var(--night); --fp-fg: var(--text); --fp-muted: var(--muted); --fp-acc: var(--gold); --fp-acc2: var(--teal);
  --fp-panel: rgba(255,255,255,.04); --fp-line: rgba(255,255,255,.14); --fp-ink: var(--ink);
  --fp-ff: var(--f-brand); --fp-fw: 400; --fp-ease: cubic-bezier(.2,.8,.2,1); --fp-spring: cubic-bezier(.34,1.56,.64,1);
  background: var(--fp-bg); color: var(--fp-fg); }
body.fp .sky { display: none; }
.fp main { position: relative; overflow: clip; }
.fp .font { font-family: var(--fp-ff); font-weight: var(--fp-fw); }
.fp .wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- breadcrumb + font switcher ---------- */
.fp-crumbs { position: relative; z-index: 3; width: var(--wrap); margin: calc(96px + env(safe-area-inset-top)) auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font: 600 var(--fs-small)/1.3 var(--f-text); color: var(--fp-muted); }
.fp-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.fp-crumbs a:hover, .fp-crumbs a:focus-visible { color: var(--fp-fg); border-color: currentColor; }
.fp-crumbs__sep { opacity: .5; }
.fp-crumbs__now { color: var(--fp-fg); }
.fp-switch { margin-inline-start: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.fp-switch a { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--fp-line); color: var(--fp-fg); text-decoration: none; font: 600 .85rem/1 var(--f-text); background: var(--fp-panel); transition: transform .2s var(--fp-ease), background .2s, border-color .2s; }
.fp-switch a:hover, .fp-switch a:focus-visible { transform: translateY(-2px); border-color: var(--fp-acc); }
.fp-switch a[aria-current="page"] { background: var(--fp-acc); color: var(--fp-ink); border-color: var(--fp-acc); }

/* ---------- hero ---------- */
.fp-hero { position: relative; min-height: min(100svh, 980px); display: grid; align-content: center; padding: clamp(40px, 8vw, 90px) 0 clamp(70px, 10vw, 120px); isolation: isolate; }
.fp-hero__inner { position: relative; z-index: 2; width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.5vw, 30px); }
.fp-hero__kicker { font: 700 var(--fs-label)/1.2 var(--f-text); letter-spacing: .06em; color: var(--fp-acc); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fp-hero__kicker span + span::before { content: "·"; margin-inline-end: 12px; opacity: .6; }
.fp-hero__word { margin: 0; font-family: var(--fp-ff); font-weight: var(--fp-fw); font-size: clamp(5rem, 2rem + 17vw, 15rem); line-height: .9; color: var(--fp-fg); overflow-wrap: anywhere; }
.fp-hero__latin { font: 600 clamp(1rem, .9rem + .6vw, 1.4rem)/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); }
.fp-hero__lead { max-width: 56ch; font: 400 var(--fs-lead)/1.65 var(--f-text); color: var(--fp-muted); }
.fp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fp-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: 700 1rem/1 var(--f-text); text-decoration: none; cursor: pointer; border: 2px solid var(--fp-acc); background: var(--fp-acc); color: var(--fp-ink); transition: transform .2s var(--fp-ease), box-shadow .2s; }
.fp-btn:hover, .fp-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px -12px var(--fp-acc); }
.fp-btn--ghost { background: transparent; color: var(--fp-fg); border-color: var(--fp-line); }
.fp-hero__scroll { position: absolute; inset-inline-start: 50%; bottom: 22px; z-index: 2; translate: 50% 0; font: 600 .8rem/1 var(--f-text); color: var(--fp-muted); display: grid; justify-items: center; gap: 8px; }
.fp-hero__scroll i { width: 2px; height: 34px; background: linear-gradient(var(--fp-acc), transparent); transform-origin: top; }
.js-motion .fp-hero__scroll i { animation: fp-drip 2.2s var(--fp-ease) infinite; }
@keyframes fp-drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.fp-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* letters of a split word */
.fp-w { display: inline-block; white-space: nowrap; }
.fp-l { display: inline-block; }

/* ---------- chapters ---------- */
.fp-sec { position: relative; padding: var(--section) 0; }
.fp-sec__head { width: var(--wrap); margin: 0 auto clamp(28px, 4vw, 56px); display: grid; gap: 10px; }
.fp-sec__num { font: 700 .85rem/1 var(--f-text); letter-spacing: .2em; color: var(--fp-acc); }
.fp-sec__title { margin: 0; font-family: var(--f-brand); font-weight: 900; font-size: var(--fs-h2); line-height: 1.05; color: var(--fp-fg); }
.fp-sec__lead { max-width: 60ch; margin: 0; font: 400 var(--fs-lead)/1.6 var(--f-text); color: var(--fp-muted); }

/* ---------- story / facts ---------- */
.fp-about { width: var(--wrap); margin-inline: auto; display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: 1.15fr .85fr; align-items: start; }
.fp-about__story p { margin: 0 0 1em; font: 400 clamp(1.05rem, 1rem + .3vw, 1.2rem)/1.75 var(--f-text); color: var(--fp-fg); max-width: 62ch; }
.fp-facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--fp-line); }
.fp-facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--fp-line); }
.fp-facts dt { font: 600 var(--fs-small)/1.4 var(--f-text); color: var(--fp-muted); }
.fp-facts dd { margin: 0; font: 500 1rem/1.5 var(--f-text); color: var(--fp-fg); }
.fp-facts dd .font { font-size: 1.5em; line-height: 1.1; }
@media (max-width: 860px) { .fp-about { grid-template-columns: 1fr; } }

/* ---------- traits: what makes the letters (annotated big letters) ---------- */
.fp-traits { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.fp-trait { position: relative; display: grid; gap: 10px; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--fp-panel); border: 1px solid var(--fp-line); overflow: hidden; }
.fp-trait__glyph { font-family: var(--fp-ff); font-weight: var(--fp-fw); font-size: clamp(6rem, 4rem + 6vw, 10rem); line-height: 1; color: var(--fp-acc); text-align: center; padding-block: .1em; }
.fp-trait h3 { margin: 0; font: 800 1.15rem/1.3 var(--f-brand); color: var(--fp-fg); }
.fp-trait p { margin: 0; font: 400 .98rem/1.6 var(--f-text); color: var(--fp-muted); }
@media (max-width: 860px) { .fp-traits { grid-template-columns: 1fr; } }

/* ---------- styles strip ---------- */
.fp-strip { width: var(--wrap); margin-inline: auto; display: grid; }
.fp-strip__row { display: grid; grid-template-columns: 8.5em 1fr; align-items: baseline; gap: 18px; padding: clamp(8px, 1.2vw, 14px) 0; border-bottom: 1px solid var(--fp-line); }
.fp-strip__label { font: 600 .9rem/1 var(--f-text); color: var(--fp-muted); }
.fp-strip__text { font-size: clamp(1.8rem, 1rem + 3.4vw, 3.8rem); line-height: 1.15; color: var(--fp-fg); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.js-motion .fp-strip__row { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--fp-ease), transform .6s var(--fp-ease); transition-delay: calc(var(--i) * 60ms); }
.js-motion .is-in .fp-strip__row { opacity: 1; transform: none; }
@media (max-width: 600px) { .fp-strip__row { grid-template-columns: 1fr; gap: 4px; } .fp-strip__text { white-space: normal; } }

/* ---------- gallery: a composed wall, not equal cards ---------- */
.fp-gal { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); grid-auto-flow: dense; }
.fp-g { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--fp-panel); border: 1px solid var(--fp-line); padding: clamp(20px, 3vw, 44px); display: grid; align-content: center; min-height: 220px; isolation: isolate; }
.fp-g--12 { grid-column: span 12; } .fp-g--8 { grid-column: span 8; } .fp-g--7 { grid-column: span 7; } .fp-g--6 { grid-column: span 6; }
.fp-g--5 { grid-column: span 5; } .fp-g--4 { grid-column: span 4; } .fp-g--tall { grid-row: span 2; }
.fp-g__cap { position: absolute; inset-inline-start: 18px; bottom: 14px; font: 600 .78rem/1 var(--f-text); letter-spacing: .08em; color: var(--fp-muted); opacity: .85; z-index: 2; }
.fp-g .font { color: var(--fp-fg); }
.fp-g__mega { font-size: clamp(5rem, 3rem + 11vw, 13rem); line-height: .85; }
.fp-g__big { font-size: clamp(3rem, 1.8rem + 5vw, 6.6rem); line-height: 1; }
.fp-g__mid { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.1; }
.fp-g__body { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); line-height: 1.55; }
.fp-g__small { font-size: 1.15rem; line-height: 1.7; }
.fp-g__glyph { font-size: clamp(10rem, 6rem + 16vw, 22rem); line-height: .8; text-align: center; }
.fp-g--center { text-align: center; justify-items: center; }
.fp-g--end { text-align: end; }
.fp-g--clear { background: none; border: 0; }
.js-motion .fp-g { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .8s var(--fp-ease), transform .8s var(--fp-ease); }
.js-motion .fp-g.is-in { opacity: 1; transform: none; }
@media (hover: hover) { .fp-g { transition: transform .45s var(--fp-ease), border-color .3s, opacity .8s var(--fp-ease); } .fp-g.is-in:hover { transform: translateY(-4px); border-color: var(--fp-acc); } }
@media (max-width: 900px) { .fp-g--8, .fp-g--7, .fp-g--6, .fp-g--5, .fp-g--4 { grid-column: span 12; } .fp-g--tall { grid-row: auto; } }
@media (min-width: 600px) and (max-width: 900px) { .fp-g--4, .fp-g--5 { grid-column: span 6; } }

/* ---------- alphabet + inspector ---------- */
.fp-alpha-wrap { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 32vw, 420px); gap: clamp(18px, 3vw, 40px); align-items: start; }
.fp-alpha { display: grid; gap: 26px; }
.fp-alpha__h { margin: 0 0 10px; font: 700 .85rem/1 var(--f-text); letter-spacing: .12em; color: var(--fp-muted); }
.fp-alpha__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.fp-tile { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--fp-line); background: var(--fp-panel); color: var(--fp-fg); font-family: var(--fp-ff); font-weight: var(--fp-fw); font-size: 2.1rem; line-height: 1; cursor: pointer; transition: transform .25s var(--fp-spring), background .2s, border-color .2s, color .2s; }
.fp-tile:hover, .fp-tile:focus-visible { transform: translateY(-3px) scale(1.06); border-color: var(--fp-acc); outline: none; }
.fp-tile[aria-pressed="true"] { background: var(--fp-acc); color: var(--fp-ink); border-color: var(--fp-acc); }
.fp-alpha__group--marks .fp-tile, .fp-alpha__group--nikud .fp-tile { font-size: 2.4rem; }
.fp-insp { position: sticky; top: 96px; border-radius: var(--r-lg); border: 1px solid var(--fp-line); background: var(--fp-panel); padding: 20px; display: grid; gap: 10px; text-align: center; overflow: hidden; }
.fp-insp__glyph { font-family: var(--fp-ff); font-weight: var(--fp-fw); font-size: clamp(9rem, 6rem + 9vw, 15rem); line-height: 1.05; color: var(--fp-acc); min-height: 1.1em;
  background: linear-gradient(transparent calc(50% - .5px), var(--fp-line) 0 calc(50% + .5px), transparent 0); }
.fp-insp__name { font: 700 1.05rem/1.2 var(--f-text); color: var(--fp-fg); }
.fp-insp__word { font-family: var(--fp-ff); font-weight: var(--fp-fw); font-size: 2.2rem; line-height: 1.2; color: var(--fp-fg); min-height: 1.2em; }
.fp-insp__note { font: 400 .85rem/1.5 var(--f-text); color: var(--fp-muted); }
@media (max-width: 860px) { .fp-alpha-wrap { grid-template-columns: 1fr; } .fp-insp { position: relative; top: 0; order: -1; } .fp-insp__glyph { font-size: 8rem; } }

/* ---------- playground ---------- */
.fp-play { width: var(--wrap); margin-inline: auto; border-radius: var(--r-lg); border: 1px solid var(--fp-line); background: var(--fp-panel); overflow: hidden; }
.fp-play__bar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding: 16px clamp(14px, 2vw, 24px); border-bottom: 1px solid var(--fp-line); }
.fp-play__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fp-play__label { font: 600 .82rem/1 var(--f-text); color: var(--fp-muted); }
.fp-chip { min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--fp-line); background: transparent; color: var(--fp-fg); font: 600 .9rem/1 var(--f-text); cursor: pointer; transition: transform .2s var(--fp-spring), background .2s, border-color .2s, color .2s; }
.fp-chip:hover, .fp-chip:focus-visible { transform: translateY(-2px); border-color: var(--fp-acc); }
.fp-chip[aria-pressed="true"] { background: var(--fp-acc); color: var(--fp-ink); border-color: var(--fp-acc); }
.fp-chip.is-loading { color: transparent; position: relative; }
.fp-chip.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--fp-fg) transparent var(--fp-fg) var(--fp-fg); animation: fp-spin .7s linear infinite; }
@keyframes fp-spin { to { transform: rotate(1turn); } }
.fp-icon { width: 40px; padding: 0; display: inline-grid; place-items: center; }
.fp-icon svg { width: 18px; height: 18px; }
.fp-range { display: flex; align-items: center; gap: 10px; font: 600 .82rem/1 var(--f-text); color: var(--fp-muted); }
.fp-range input { width: clamp(90px, 14vw, 160px); accent-color: var(--fp-acc); }
.fp-range output { min-width: 2.2em; color: var(--fp-fg); font-variant-numeric: tabular-nums; }
.fp-play__stage { --fp-size: 80px; --fp-track: 0em; --fp-lead: 1.25; --fp-align: start; --fp-feat: normal; position: relative; padding: clamp(18px, 3vw, 40px); min-height: 280px; display: grid; align-content: center; transition: background .4s, color .4s; }
.fp-play__text { min-height: 1.3em; outline: none; font-family: var(--fp-ff); font-size: var(--fp-size); letter-spacing: var(--fp-track); line-height: var(--fp-lead); text-align: var(--fp-align); font-feature-settings: var(--fp-feat); color: var(--fp-fg); white-space: pre-wrap; overflow-wrap: anywhere; caret-color: var(--fp-acc); cursor: text; }
.fp-play__text:empty::before { content: attr(data-placeholder); opacity: .35; }
.fp-play__text:focus-visible { outline: 2px dashed var(--fp-acc); outline-offset: 10px; border-radius: 6px; }
.fp-play__stage.is-inverted { background: var(--fp-fg); }
.fp-play__stage.is-inverted .fp-play__text { color: var(--fp-bg); }
.fp-play__samples { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px clamp(14px, 2vw, 24px) 18px; border-top: 1px solid var(--fp-line); }
.fp-play__samples .fp-play__label { width: 100%; }
.fp-play__tip { padding: 0 clamp(14px, 2vw, 24px) 18px; margin: 0; font: 400 .88rem/1.5 var(--f-text); color: var(--fp-muted); }
.fp-play__stage.is-comp-poster { text-align: center; } .fp-play__stage.is-comp-poster .fp-play__text { text-align: center; font-size: calc(var(--fp-size) * 1.6); line-height: .95; }
.fp-play__stage.is-comp-stack .fp-play__text { font-size: calc(var(--fp-size) * 1.2); line-height: .9; max-width: 6ch; margin-inline: auto; text-align: center; }
.fp-play__stage.is-comp-line .fp-play__text { font-size: calc(var(--fp-size) * .55); line-height: 1.5; max-width: 32ch; }
.fp-play__stage.is-comp-wide .fp-play__text { letter-spacing: .12em; text-align: center; }
@media (max-width: 600px) { .fp-play__bar { gap: 12px; } .fp-range input { width: 110px; } }

/* ---------- context mockups ---------- */
.fp-mocks { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 26px); align-items: center; }
.fp-mock { position: relative; grid-column: span 4; }
.fp-mock--wide { grid-column: span 8; } .fp-mock--half { grid-column: span 6; }
.fp-mock__obj { position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.fp-mock figcaption { margin-top: 12px; font: 600 .82rem/1.3 var(--f-text); color: var(--fp-muted); }
.js-motion .fp-mock { opacity: 0; transform: translateY(30px) rotate(var(--rot, 0deg)); transition: opacity .9s var(--fp-ease), transform .9s var(--fp-ease); }
.js-motion .fp-mock.is-in { opacity: 1; transform: rotate(var(--rot, 0deg)); }
@media (max-width: 900px) { .fp-mock, .fp-mock--wide, .fp-mock--half { grid-column: span 12; } }

/* ---------- glyph set: digits & punctuation in real text ---------- */
.fp-set { width: var(--wrap); margin-inline: auto; display: grid; gap: 18px; }
.fp-set__line { font-family: var(--fp-ff); font-weight: var(--fp-fw); font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); line-height: 1.35; color: var(--fp-fg); overflow-wrap: anywhere; }
.fp-set__cap { font: 600 .8rem/1 var(--f-text); color: var(--fp-muted); letter-spacing: .08em; }
.fp-missing { width: var(--wrap); margin-inline: auto; font: 400 .95rem/1.6 var(--f-text); color: var(--fp-muted); border-inline-start: 3px solid var(--fp-acc); padding-inline-start: 14px; }

/* ---------- next font ---------- */
.fp-next { position: relative; display: block; width: var(--wrap); margin: 0 auto var(--section); padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); border: 1px solid var(--fp-line); background: var(--fp-panel); text-decoration: none; color: var(--fp-fg); overflow: hidden; }
.fp-next small { display: block; font: 600 .85rem/1 var(--f-text); letter-spacing: .12em; color: var(--fp-muted); margin-bottom: 14px; }
.fp-next b { display: block; font-size: clamp(3rem, 2rem + 6vw, 8rem); line-height: 1; font-weight: 400; transition: transform .5s var(--fp-ease); }
.fp-next span.fp-next__go { display: inline-flex; margin-top: 16px; font: 700 1rem/1 var(--f-text); color: var(--fp-acc); }
.fp-next:hover b, .fp-next:focus-visible b { transform: translateX(-12px); }
.fp-back { display: flex; justify-content: center; margin: -40px auto var(--section); }

/* ---------- reduced motion: everything visible, nothing moves ---------- */
html:not(.js-motion) .fp-l, html:not(.js-motion) [data-fp-depth] { animation: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }

/* ===================================================================== */
/* ==========  THEMES  =================================================== */
/* ===================================================================== */

/* ---------- Daniel Letters: the studio desk - paper, blue marker, quick strokes ---------- */
body.fp--dl { --fp-bg: #f5f1e8; --fp-fg: #14205a; --fp-muted: #535b86; --fp-acc: #2a59d8; --fp-acc2: #ff6b4a; --fp-panel: rgba(255,255,255,.62); --fp-line: rgba(20,32,90,.14); --fp-ink: #fff;
  background-color: #f5f1e8;
  background-image: linear-gradient(rgba(42,89,216,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(42,89,216,.06) 1px, transparent 1px);
  background-size: 32px 32px; }
.fp--dl .topnav__pill { background: rgba(20,32,90,.92); }
.fp--dl .fp-hero__word { color: #14205a; }
.fp--dl .fp-hero__word .fp-l { clip-path: inset(0 0 0 0); }
.js-motion .fp--dl .fp-hero__word .fp-l { animation: dl-write .55s var(--fp-ease) both; animation-delay: calc(.25s + var(--i) * .07s); }
@keyframes dl-write { from { clip-path: inset(0 0 0 100%); transform: translateY(.04em); } to { clip-path: inset(0 0 0 0); transform: none; } }
.fp--dl .dl-scribble { position: absolute; inset-inline-end: -4vw; top: 12%; width: min(46vw, 620px); color: rgba(42,89,216,.16); }
.fp--dl .dl-scribble path { stroke-dasharray: 1600; stroke-dashoffset: 0; }
.js-motion .fp--dl .dl-scribble path { animation: dl-draw 2.6s .4s var(--fp-ease) both; }
@keyframes dl-draw { from { stroke-dashoffset: 1600; } }
.fp--dl .dl-underline { display: block; height: .14em; width: 62%; margin-top: -.08em; background: var(--fp-acc2); border-radius: 99px; transform-origin: right; }
.js-motion .fp--dl .dl-underline { animation: dl-under .7s 1.2s var(--fp-ease) both; }
@keyframes dl-under { from { transform: scaleX(0); } }
.fp--dl .fp-g { background: #fff; box-shadow: 0 18px 40px -28px rgba(20,32,90,.45); }
.fp--dl .fp-g--ink { background: #14205a; color: #f5f1e8; } .fp--dl .fp-g--ink .font { color: #f5f1e8; } .fp--dl .fp-g--ink .fp-g__cap { color: rgba(245,241,232,.7); }
.fp--dl .fp-g--coral { background: #ff6b4a; } .fp--dl .fp-g--coral .font { color: #fff; } .fp--dl .fp-g--coral .fp-g__cap { color: rgba(255,255,255,.8); }
.fp--dl .fp-g--yellow { background: #ffd84d; }
.fp--dl .dl-weights { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .25em; font-size: clamp(2.6rem, 1.6rem + 4vw, 5.4rem); line-height: 1.05; }
.fp--dl .fp-next { background: #14205a; color: #f5f1e8; } .fp--dl .fp-next small { color: rgba(245,241,232,.7); }

/* ---------- Kishuf: cinematic night, gold glow, lightning ---------- */
body.fp--kishuf { --fp-bg: #0b0716; --fp-fg: #fff1c9; --fp-muted: #b9a9d8; --fp-acc: #f5c842; --fp-acc2: #8a5cff; --fp-panel: rgba(255,255,255,.035); --fp-line: rgba(245,200,66,.16); --fp-ink: #1a0f2e;
  background: radial-gradient(1200px 700px at 80% -10%, rgba(138,92,255,.22), transparent 60%), radial-gradient(900px 600px at 0% 40%, rgba(245,200,66,.07), transparent 60%), #0b0716; }
.fp--kishuf .fp-hero__word { color: #ffe9a6; text-shadow: 0 0 .25em rgba(245,200,66,.45), 0 0 1.2em rgba(138,92,255,.35); }
.js-motion .fp--kishuf .fp-hero__word .fp-l { animation: k-flicker 1.4s steps(1) both, k-rise 1.1s var(--fp-ease) both; animation-delay: calc(.2s + var(--i) * .09s); }
@keyframes k-flicker { 0% { opacity: 0; } 18% { opacity: .9; } 22% { opacity: .1; } 30% { opacity: 1; } 34% { opacity: .35; } 42%, 100% { opacity: 1; } }
@keyframes k-rise { from { transform: translateY(.18em); filter: blur(6px); } to { transform: none; filter: blur(0); } }
.fp--kishuf .k-stars { position: absolute; inset: 0; background-image: radial-gradient(1.4px 1.4px at 12% 22%, #fff8 50%, transparent 51%), radial-gradient(1px 1px at 33% 68%, #fff6 50%, transparent 51%), radial-gradient(1.6px 1.6px at 58% 14%, #ffe9a6aa 50%, transparent 51%), radial-gradient(1px 1px at 76% 44%, #fff7 50%, transparent 51%), radial-gradient(1.3px 1.3px at 88% 80%, #fff5 50%, transparent 51%), radial-gradient(1px 1px at 22% 88%, #fff5 50%, transparent 51%), radial-gradient(1.2px 1.2px at 46% 36%, #fff6 50%, transparent 51%);
  background-size: 420px 420px; opacity: .8; transform: translateY(calc(var(--fp-p, 0) * 40px)); }
.js-motion .fp--kishuf .k-stars { animation: k-twinkle 6s ease-in-out infinite alternate; }
@keyframes k-twinkle { to { opacity: .45; } }
.fp--kishuf .k-glow { position: absolute; width: 60vmax; height: 60vmax; inset-inline-end: calc(var(--mx, .7) * 100% - 30vmax); top: calc(var(--my, .3) * 100% - 30vmax); background: radial-gradient(circle, rgba(245,200,66,.16), transparent 60%); transition: inset-inline-end .6s var(--fp-ease), top .6s var(--fp-ease); }
.fp--kishuf .k-bolt { position: absolute; inset-inline-end: 18%; top: 0; height: 100%; width: 140px; color: rgba(255,233,166,.85); opacity: 0; filter: drop-shadow(0 0 12px rgba(245,200,66,.8)); }
.js-motion .fp--kishuf .k-bolt { animation: k-strike 7s 1.6s infinite; }
@keyframes k-strike { 0%, 100% { opacity: 0; } 1% { opacity: 1; } 2% { opacity: .2; } 3% { opacity: .9; } 6% { opacity: 0; } }
.fp--kishuf .fp-g { background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.fp--kishuf .fp-g .font { color: #ffe9a6; text-shadow: 0 0 .3em rgba(245,200,66,.3); }
.fp--kishuf .fp-g--violet { background: radial-gradient(80% 90% at 80% 0%, rgba(138,92,255,.45), transparent 70%), #160c2c; }
.fp--kishuf .fp-g--gold { background: linear-gradient(160deg, #f5c842, #c4921b); } .fp--kishuf .fp-g--gold .font { color: #1a0f2e; text-shadow: none; } .fp--kishuf .fp-g--gold .fp-g__cap { color: rgba(26,15,46,.7); }
.fp--kishuf .k-duel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.fp--kishuf .k-duel > div { padding: clamp(24px, 4vw, 56px); display: grid; gap: 8px; justify-items: center; text-align: center; }
.fp--kishuf .k-duel > div + div { border-inline-start: 1px solid var(--fp-line); }
@media (max-width: 700px) { .fp--kishuf .k-duel { grid-template-columns: 1fr; } .fp--kishuf .k-duel > div + div { border-inline-start: 0; border-top: 1px solid var(--fp-line); } }

/* ---------- Space: deep space, wooden planks floating ---------- */
body.fp--space { --fp-bg: #050a24; --fp-fg: #fff4d6; --fp-muted: #a9b4e6; --fp-acc: #ffc93c; --fp-acc2: #ff7a2f; --fp-panel: rgba(255,255,255,.04); --fp-line: rgba(255,201,60,.18); --fp-ink: #1d1006;
  background: radial-gradient(900px 600px at 15% 10%, rgba(76,94,214,.35), transparent 65%), radial-gradient(800px 700px at 90% 70%, rgba(255,122,47,.12), transparent 60%), #050a24; }
.fp--space .s-stars, .fp--space .s-stars2 { position: absolute; inset: -10%; background-repeat: repeat; }
.fp--space .s-stars { background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 60%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 40% 80%, #ffd88a 50%, transparent 51%), radial-gradient(1px 1px at 90% 20%, #fff 50%, transparent 51%); background-size: 300px 300px; opacity: .7; transform: translateY(calc(var(--fp-p, 0) * 60px)); }
.fp--space .s-stars2 { background-image: radial-gradient(1px 1px at 10% 10%, #fff9 50%, transparent 51%), radial-gradient(1px 1px at 60% 40%, #fff7 50%, transparent 51%), radial-gradient(1.2px 1.2px at 80% 90%, #fff8 50%, transparent 51%); background-size: 180px 180px; opacity: .5; transform: translateY(calc(var(--fp-p, 0) * 25px)); }
.fp--space .s-planet { position: absolute; border-radius: 50%; }
.fp--space .s-planet--a { width: clamp(140px, 22vw, 340px); aspect-ratio: 1; inset-inline-end: -4vw; bottom: 8%; background: radial-gradient(circle at 35% 30%, #ffb35c, #c2491f 60%, #4a1406); box-shadow: 0 0 80px rgba(255,122,47,.35); transform: translateY(calc(var(--fp-p, 0) * -90px)); }
.fp--space .s-planet--b { width: clamp(60px, 8vw, 120px); aspect-ratio: 1; inset-inline-end: 10%; top: 18%; background: radial-gradient(circle at 30% 30%, #b9c6ff, #4b5bd6 60%, #141c5c); transform: translateY(calc(var(--fp-p, 0) * 70px)); }
.fp--space .s-planet--b::after { content: ""; position: absolute; inset: 38% -40%; border-radius: 50%; border: 3px solid rgba(255,201,60,.7); transform: rotate(-18deg); }
.js-motion .fp--space .fp-hero__word .fp-l { animation: s-drift 1.2s var(--fp-spring) both, s-bob 5.5s ease-in-out infinite; animation-delay: calc(.2s + var(--i) * .08s), calc(1.5s + var(--i) * .3s); }
@keyframes s-drift { from { opacity: 0; transform: translateY(-40%) rotate(-14deg) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes s-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5%) rotate(2deg); } }
.fp--space .fp-g { background: linear-gradient(170deg, rgba(76,94,214,.16), rgba(255,255,255,.02)); }
.fp--space .fp-g--sun { background: radial-gradient(80% 80% at 50% 120%, #ff7a2f, #7a1d06 65%, #1b0702); }
.fp--space .fp-g--paper { background: #f3ead2; } .fp--space .fp-g--paper .fp-g__cap { color: #6d5a3a; }
.js-motion .fp--space .s-float { animation: s-bob 6s ease-in-out infinite; }

/* ---------- Marauder: parchment, brown ink, footsteps ---------- */
body.fp--marauder { --fp-bg: #ead8b1; --fp-fg: #3a2414; --fp-muted: #6b4a2a; --fp-acc: #7a1f1a; --fp-acc2: #2f4a2a; --fp-panel: rgba(255,248,230,.5); --fp-line: rgba(58,36,20,.22); --fp-ink: #f6ead0;
  background: radial-gradient(900px 600px at 85% 0%, rgba(255,255,255,.4), transparent 60%), radial-gradient(1000px 700px at 0% 100%, rgba(122,74,34,.25), transparent 60%), linear-gradient(170deg, #efe0bd, #d8bd8a); }
.fp--marauder .topnav__pill { background: rgba(58,36,20,.9); }
.fp--marauder .m-paper { position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply; background-image: radial-gradient(rgba(58,36,20,.08) 1px, transparent 1.4px), radial-gradient(rgba(58,36,20,.05) 1px, transparent 1.2px); background-size: 7px 7px, 13px 13px; }
.fp--marauder .m-steps { position: absolute; inset-inline-end: 6%; bottom: 0; width: 120px; height: 100%; }
.fp--marauder .m-steps span { position: absolute; width: 16px; height: 26px; border-radius: 50% 50% 45% 45%; background: rgba(58,36,20,.4); }
.js-motion .fp--marauder .m-steps span { opacity: 0; animation: m-step 9s infinite; }
@keyframes m-step { 0% { opacity: 0; } 4% { opacity: 1; } 40% { opacity: 1; } 60%, 100% { opacity: 0; } }
.js-motion .fp--marauder .fp-hero__word .fp-l { animation: m-ink 1.3s var(--fp-ease) both; animation-delay: calc(.25s + var(--i) * .1s); }
@keyframes m-ink { from { opacity: 0; filter: blur(8px); transform: scale(1.06); } 60% { opacity: .85; filter: blur(1px); } to { opacity: 1; filter: blur(0); transform: none; } }
.fp--marauder .fp-g { background: rgba(255,248,230,.55); box-shadow: inset 0 0 40px rgba(122,74,34,.18); }
.fp--marauder .fp-g--dark { background: #3a2414; } .fp--marauder .fp-g--dark .font { color: #f1e2c0; } .fp--marauder .fp-g--dark .fp-g__cap { color: rgba(241,226,192,.7); }
.fp--marauder .fp-g--red .font { color: #7a1f1a; }
.fp--marauder .m-dash { border-top: 2px dashed rgba(58,36,20,.4); }

/* ---------- HP Hebrew (2008): candlelit library, warm and nostalgic ---------- */
body.fp--hp { --fp-bg: #140b06; --fp-fg: #f3d9a4; --fp-muted: #bfa27a; --fp-acc: #f3c46b; --fp-acc2: #7e2814; --fp-panel: rgba(243,196,107,.05); --fp-line: rgba(243,196,107,.16); --fp-ink: #1c0f07;
  background: radial-gradient(800px 600px at 20% 0%, rgba(243,196,107,.16), transparent 60%), radial-gradient(900px 700px at 100% 100%, rgba(126,40,20,.35), transparent 60%), #140b06; }
.fp--hp .h-candle { position: absolute; inset-inline-end: 12%; top: 18%; width: clamp(160px, 26vw, 360px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,110,.38), transparent 65%); }
.js-motion .fp--hp .h-candle { animation: h-flame 3.2s ease-in-out infinite; }
@keyframes h-flame { 0%, 100% { opacity: .85; transform: scale(1); } 30% { opacity: 1; transform: scale(1.05); } 60% { opacity: .7; transform: scale(.97); } }
.fp--hp .h-dust { position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 30% 40%, rgba(255,220,160,.5) 50%, transparent 51%), radial-gradient(1px 1px at 70% 70%, rgba(255,220,160,.4) 50%, transparent 51%), radial-gradient(1.4px 1.4px at 50% 20%, rgba(255,220,160,.35) 50%, transparent 51%); background-size: 260px 260px; transform: translateY(calc(var(--fp-p, 0) * 50px)); }
.fp--hp .fp-hero__word { color: #f3c46b; text-shadow: 0 0 .35em rgba(243,196,107,.35); }
.js-motion .fp--hp .fp-hero__word .fp-l { animation: h-glow 1.8s ease-out both; animation-delay: calc(.3s + var(--i) * .14s); }
@keyframes h-glow { from { opacity: 0; filter: blur(10px) brightness(2); } to { opacity: 1; filter: none; } }
.fp--hp .fp-g { background: linear-gradient(170deg, rgba(243,196,107,.07), rgba(0,0,0,.2)); }
.fp--hp .fp-g .font { color: #f3c46b; }
.fp--hp .fp-g--wine { background: radial-gradient(80% 80% at 70% 20%, #6b1f10, #1f0a05); }

/* ---------- Yeladim Block: the kids channel - orange, purple, green, a speech bubble, bouncy ---------- */
body.fp--yeladim { --y-orange: #ff8a1a; --y-purple: #7a3fe0; --y-green: #8cc63f; --y-ink: #170a2e;
  --fp-bg: #fff7ec; --fp-fg: var(--y-ink); --fp-muted: #5a4a7a; --fp-acc: var(--y-orange); --fp-acc2: var(--y-green); --fp-panel: #fff; --fp-line: rgba(23,10,46,.14); --fp-ink: #fff; background: #fff7ec; }
.fp--yeladim .topnav__pill { background: rgba(23,10,46,.92); }
.fp--yeladim .fp-hero { background: radial-gradient(55% 65% at 92% 8%, rgba(255,138,26,.95), transparent 62%), radial-gradient(45% 55% at 4% 96%, rgba(140,198,63,.85), transparent 60%), linear-gradient(155deg, #9a55ff, #6a2fd0 70%); }
.fp--yeladim .fp-hero__latin, .fp--yeladim .fp-hero__lead { color: #fff; }
.fp--yeladim .fp-hero__kicker { color: #ffe9a8; text-shadow: 0 1px 0 rgba(23,10,46,.35); }
.fp--yeladim .fp-crumbs { color: rgba(23,10,46,.7); }
.fp--yeladim .fp-btn { background: var(--y-orange); border-color: var(--y-ink); color: var(--y-ink); box-shadow: 0 4px 0 var(--y-ink); }
.fp--yeladim .fp-btn--ghost { background: #fff; }

/* the channel-logo look: three real layer styles stacked (shadow, outline, white fill) */
.y-stack { display: inline-grid; vertical-align: top; letter-spacing: .15em; } /* room so no letter's shadow or outline touches its neighbour */
.y-stack > .y-l { grid-area: 1 / 1; white-space: pre-wrap; }
.y-l--shadow { font-family: 'FS Yeladim Shadow', var(--f-brand); color: var(--y-shadow, #000); }
.y-l--line { font-family: 'FS Yeladim Outline', var(--f-brand); color: var(--y-line, #000); }
.y-l--fill { font-family: 'FS Yeladim', var(--f-brand); color: var(--y-fill, #fff); }
.fp-hero__word.y-hero { line-height: .95; }
.y-bubble { position: relative; width: max-content; max-width: 100%; padding: .14em .32em .22em; background: var(--y-green); border: .045em solid var(--y-ink); border-radius: .14em;
  box-shadow: .07em .09em 0 rgba(0,0,0,.45); transform: rotate(-3deg); --y-shadow: #000; }
.y-bubble::after { content: ""; position: absolute; inset-inline-end: 18%; bottom: -.32em; width: .42em; height: .36em; background: var(--y-green);
  border-inline-end: .045em solid var(--y-ink); border-bottom: .045em solid var(--y-ink); transform: skewX(-28deg) rotate(8deg); border-bottom-right-radius: .06em; }
.y-bubble .y-l { position: relative; z-index: 1; }
.fp--yeladim .y-confetti { position: absolute; inset: 0; }
.fp--yeladim .y-confetti i { position: absolute; width: 14px; height: 14px; border-radius: 3px; background: var(--c, #ffb21a); border: 2px solid rgba(23,10,46,.5); top: var(--t); inset-inline-start: var(--l); transform: rotate(var(--r)) translateY(calc(var(--fp-p, 0) * var(--d, 40px))); }
.js-motion .fp--yeladim .y-confetti i { animation: y-wob 3.6s ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
@keyframes y-wob { to { rotate: 40deg; } }
.js-motion .fp--yeladim .fp-hero__word .fp-l { animation: y-pop .7s var(--fp-spring) both; animation-delay: calc(.2s + var(--i) * .06s); }
@keyframes y-pop { 0% { opacity: 0; transform: translateY(40%) scale(.4, 1.4); } 60% { opacity: 1; transform: translateY(-8%) scale(1.15, .85); } 100% { transform: none; } }
.js-motion .fp--yeladim .y-bubble { animation: y-bubble-in .8s var(--fp-spring) both; }
@keyframes y-bubble-in { from { opacity: 0; transform: rotate(-12deg) scale(.6); } to { opacity: 1; transform: rotate(-3deg); } }

.fp--yeladim .fp-g { background: #fff; box-shadow: 0 6px 0 var(--y-ink); border: 2.5px solid var(--y-ink); }
.fp--yeladim .fp-g--orange { background: var(--y-orange); } .fp--yeladim .fp-g--orange .fp-g__cap { color: var(--y-ink); }
.fp--yeladim .fp-g--orange .font[style] { color: #fff; }
.fp--yeladim .fp-g--purple { background: var(--y-purple); } .fp--yeladim .fp-g--purple .font[style] { color: #fff; } .fp--yeladim .fp-g--purple .fp-g__cap { color: #fff; }
.fp--yeladim .fp-g--green { background: var(--y-green); } .fp--yeladim .fp-g--green .fp-g__cap { color: var(--y-ink); }
.fp--yeladim .fp-g--green .font[style] { color: var(--y-ink); }
.fp--yeladim .fp-trait__glyph { color: inherit; }
.fp--yeladim .fp-trait:nth-child(1) { background: #fff3e2; } .fp--yeladim .fp-trait:nth-child(2) { background: #f3ecff; } .fp--yeladim .fp-trait:nth-child(3) { background: #f0f8e4; }
.fp--yeladim .fp-tile, .fp--yeladim .fp-chip, .fp--yeladim .fp-play, .fp--yeladim .fp-insp, .fp--yeladim .fp-trait, .fp--yeladim .fp-next { border: 2.5px solid var(--y-ink); box-shadow: 0 4px 0 var(--y-ink); }
.fp--yeladim .fp-tile:hover { transform: translateY(-3px) rotate(-4deg) scale(1.08); }
.fp--yeladim .fp-tile[aria-pressed="true"], .fp--yeladim .fp-chip[aria-pressed="true"] { background: var(--y-orange); color: var(--y-ink); }
.fp--yeladim .fp-insp__glyph { color: var(--y-purple); }
.fp--yeladim .fp-next { background: var(--y-purple); color: #fff; } .fp--yeladim .fp-next small { color: #fff; }
.fp--yeladim .fp-next .fp-next__go { color: #ffd27a; }
.fp--yeladim .fp-sec__num { color: var(--y-purple); }
/* mockups in the channel colors */
.fp--yeladim .mk-tv { background: radial-gradient(60% 80% at 85% 10%, var(--y-orange), transparent 70%), linear-gradient(150deg, #9a55ff, #6a2fd0 75%); border-color: var(--y-ink); }
.fp--yeladim .mk-tv__tag { background: var(--y-green); color: var(--y-ink); }
.fp--yeladim .mk-box { background: linear-gradient(170deg, #ffb24a, var(--y-orange)); border-color: var(--y-ink); }
.fp--yeladim .mk-box__sub { color: var(--y-ink) !important; }
.fp--yeladim .mk-invite--kids { background: radial-gradient(60% 60% at 80% 10%, var(--y-green), transparent 70%), linear-gradient(160deg, var(--y-orange), var(--y-purple)); border-color: var(--y-ink); }
.fp--yeladim .mk-thumb { background: radial-gradient(60% 80% at 15% 90%, var(--y-green), transparent 70%), linear-gradient(150deg, #9a55ff, #3d1a80); border-color: var(--y-ink); }

/* light themes: readable focus ring */
.fp--dl :focus-visible, .fp--marauder :focus-visible, .fp--yeladim :focus-visible { outline-color: var(--fp-acc); }

/* ===================================================================== */
/* ==========  MOCKUP OBJECTS (the font in real contexts)  ============== */
/* ===================================================================== */
.mk-board { aspect-ratio: 16/9; background: #fbfbf8; border: 12px solid #c9ced6; border-radius: 6px; padding: clamp(18px, 4vw, 44px); display: grid; align-content: center; gap: 10px; box-shadow: inset 0 0 40px rgba(0,0,0,.05), 0 30px 60px -30px rgba(0,0,0,.5); }
.mk-board p { margin: 0; font-size: clamp(1.8rem, 1rem + 3vw, 3.4rem); color: #1f3fbf; line-height: 1.1; }
.mk-board ul { margin: 0; padding-inline-start: 1.1em; font-size: clamp(1.2rem, .9rem + 1.4vw, 2rem); color: #c2312b; line-height: 1.5; }
.mk-note { aspect-ratio: 1; background: linear-gradient(170deg, #fff38a, #ffe14d); padding: clamp(18px, 3vw, 30px); display: grid; align-content: center; box-shadow: 0 18px 30px -14px rgba(0,0,0,.4); border-radius: 2px; }
.mk-note p { margin: 0; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); line-height: 1.2; color: #2b2a6b; }
.mk-phone { width: min(320px, 100%); margin-inline: auto; aspect-ratio: 9/17; border-radius: 38px; border: 10px solid #14205a; background: #fff; padding: 46px 20px 20px; display: grid; align-content: start; gap: 12px; }
.mk-phone__top { font-size: 2rem; color: #14205a; }
.mk-phone__row { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; color: #14205a; padding: 12px 14px; border-radius: 14px; background: #f1f4ff; }
.mk-box-ui { flex: none; width: 18px; height: 18px; border: 2.5px solid #2a59d8; border-radius: 5px; }
.mk-box-ui.is-done { background: #2a59d8; box-shadow: inset 0 0 0 3px #f1f4ff; }
.mk-card { aspect-ratio: 1.75; background: #fffdf7; border-radius: 10px; padding: clamp(18px, 3vw, 34px); display: grid; align-content: center; gap: 4px; color: #14205a; }
.mk-card p { margin: 0; } .mk-card p:first-child { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.6rem); line-height: 1; } .mk-card p:nth-child(2) { font-size: 1.4rem; } .mk-card p:last-child { font-size: 1.1rem; color: #ff6b4a; }
.mk-poster { aspect-ratio: 2/3; display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; padding: 24px; }
.mk-poster p { margin: 0; }
.mk-poster__kick { font: 700 .8rem/1 var(--f-text); letter-spacing: .3em; opacity: .8; }
.mk-poster__title { font-size: clamp(3.4rem, 2rem + 5vw, 6rem); line-height: .9; }
.mk-poster__sub { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.mk-poster--night { background: radial-gradient(70% 50% at 50% 30%, rgba(245,200,66,.35), transparent 70%), linear-gradient(180deg, #1a0f2e, #05030c); color: #ffe9a6; text-shadow: 0 0 .3em rgba(245,200,66,.5); }
.mk-poster--space { aspect-ratio: 16/10; background: radial-gradient(40% 60% at 85% 80%, #ff7a2f, transparent 70%), radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%) 0 0/90px 90px, #0a1240; color: #fff4d6; }
.mk-book { aspect-ratio: 3/4.3; border-radius: 4px 10px 10px 4px; background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 7%), linear-gradient(160deg, #2a1650, #120826); color: #ffe9a6; display: grid; align-content: center; justify-items: center; text-align: center; padding: 24px; box-shadow: inset -6px 0 12px rgba(0,0,0,.4); }
.mk-book__t { margin: 0; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: .95; text-shadow: 0 0 .3em rgba(245,200,66,.4); }
.mk-book__a { margin: 14px 0 0; font: 600 .9rem/1 var(--f-text); letter-spacing: .2em; opacity: .75; }
.mk-book--space { background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 7%), radial-gradient(60% 40% at 70% 85%, #ff7a2f, transparent 70%), linear-gradient(170deg, #1d2a7a, #070c2c); color: #fff4d6; }
.mk-bottle { aspect-ratio: 3/4.3; display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 40%, rgba(138,92,255,.35), transparent 70%), #0d0820; }
.mk-bottle::before { content: ""; position: absolute; width: 46%; height: 66%; bottom: 10%; border-radius: 40% 40% 18% 18%; background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(138,92,255,.5) 40%, rgba(80,40,160,.8)); }
.mk-bottle::after { content: ""; position: absolute; width: 16%; height: 16%; top: 12%; border-radius: 6px 6px 2px 2px; background: linear-gradient(#7a4a22, #3a2414); }
.mk-bottle__label { position: relative; z-index: 1; margin-top: 30%; padding: 12px 18px; background: #efe0bd; border-radius: 4px; text-align: center; color: #2a1650; box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.mk-bottle__label p { margin: 0; font-size: 2rem; line-height: 1.05; } .mk-bottle__label p + p { font-size: 1.2rem; }
.mk-screen { aspect-ratio: 16/9; display: grid; align-content: center; justify-items: center; gap: 18px; background: radial-gradient(60% 70% at 50% 40%, rgba(138,92,255,.35), transparent 70%), linear-gradient(180deg, #120826, #05030c); color: #ffe9a6; border-radius: 14px; }
.mk-screen p:first-child { margin: 0; font-size: clamp(3.4rem, 2rem + 7vw, 8rem); line-height: .9; text-shadow: 0 0 .25em rgba(245,200,66,.55); }
.mk-screen__btn { margin: 0; padding: 12px 26px; border-radius: 999px; border: 2px solid rgba(245,200,66,.6); font: 700 1rem/1 var(--f-text); color: #ffe9a6; }
.mk-ticket { aspect-ratio: 2.2; display: grid; align-content: center; padding: 18px 26px; background: #f5c842; color: #1a0f2e; border-radius: 12px; }
.mk-ticket::before, .mk-ticket::after { content: ""; position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--fp-bg); }
.mk-ticket::before { inset-inline-start: -13px; } .mk-ticket::after { inset-inline-end: -13px; }
.mk-ticket p { margin: 0; } .mk-ticket p:first-child { font-size: 1.5rem; } .mk-ticket p:nth-child(2) { font-size: clamp(2.2rem, 1.4rem + 2vw, 3rem); line-height: 1; }
.mk-ticket__n { font: 700 .85rem/1 var(--f-text); margin-top: 8px !important; }
.mk-stickers { aspect-ratio: 16/10; background: #f3ead2; display: grid; grid-template-columns: repeat(2, 1fr); place-items: center; gap: 12px; padding: 22px; }
.mk-stickers span { display: grid; place-items: center; width: min(150px, 80%); aspect-ratio: 1; border-radius: 50%; background: #0a1240; font-size: clamp(1.8rem, 1rem + 2vw, 2.8rem); box-shadow: 0 0 0 6px #fff, 0 10px 20px -8px rgba(0,0,0,.4); }
.mk-app { aspect-ratio: 16/10; display: grid; place-items: center; align-content: center; gap: 18px; background: radial-gradient(1.5px 1.5px at 30% 30%, #fff 50%, transparent 51%) 0 0/70px 70px, linear-gradient(180deg, #1d2a7a, #070c2c); }
.mk-app p { margin: 0; font-size: clamp(2.4rem, 1.4rem + 3vw, 3.6rem); }
.mk-app__btn { padding: 10px 34px; border-radius: 22px; background: #ff7a2f; font-size: 2.2rem; box-shadow: 0 6px 0 #9a3a0d; }
.mk-map { aspect-ratio: 16/9; background: radial-gradient(80% 70% at 50% 50%, #f1e2c0, #d6b780); color: #3a2414; padding: 20px; box-shadow: inset 0 0 60px rgba(90,50,20,.35); }
.mk-map svg { position: absolute; inset: 18% 6% 10%; width: 88%; height: 72%; color: rgba(58,36,20,.55); }
.mk-map__t { position: relative; margin: 0; text-align: center; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.mk-map__l { position: absolute; font-size: clamp(1.1rem, .8rem + 1vw, 1.6rem); z-index: 1; }
.mk-credits { aspect-ratio: 3/4; background: #0a0806; color: #efe0bd; display: grid; align-content: center; justify-items: center; text-align: center; gap: 2px; padding: 20px; }
.mk-credits p { margin: 0; font-size: 1.1rem; opacity: .7; } .mk-credits p:nth-child(even) { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.2rem); opacity: 1; margin-bottom: 12px; }
.mk-letter { aspect-ratio: 4/3; background: linear-gradient(160deg, #f6ead0, #e3cc9c); color: #3a2414; display: grid; align-content: center; justify-items: center; text-align: center; padding: 24px; }
.mk-letter p { margin: 0; } .mk-letter p:first-child { font-size: clamp(2.6rem, 1.6rem + 3vw, 3.8rem); } .mk-letter p:nth-child(2) { font-size: 1.3rem; }
.mk-seal { width: 54px; height: 54px; margin-top: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9443a, #7a1f1a 70%); box-shadow: 0 4px 8px rgba(0,0,0,.35); }
.mk-paper { aspect-ratio: 16/10; background: #efe6d2; color: #2a1d12; padding: 22px 26px; display: grid; align-content: start; gap: 8px; }
.mk-paper p { margin: 0; } .mk-paper__mast { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); text-align: center; border-bottom: 3px double #2a1d12; padding-bottom: 6px; }
.mk-paper p:nth-child(2) { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); } .mk-paper p:nth-child(3) { font-size: 1.15rem; line-height: 1.5; }
.mk-shelf { aspect-ratio: 16/7; display: flex; align-items: flex-end; gap: 6px; padding: 18px 18px 0; background: linear-gradient(180deg, #2a160c, #140b06); border-bottom: 14px solid #5a3218; }
.mk-shelf span { writing-mode: vertical-rl; display: grid; place-items: center; flex: 1; height: calc(70% + var(--h, 0%)); padding: 10px 0; border-radius: 4px 4px 0 0; font-family: var(--fp-ff); font-size: clamp(1.1rem, .8rem + 1.2vw, 1.8rem); color: #f3c46b; background: linear-gradient(90deg, rgba(0,0,0,.3), transparent 30%, rgba(0,0,0,.25)), var(--b, #6b1f10); }
.mk-shelf span:nth-child(2) { --b: #1f3a2a; --h: 18%; } .mk-shelf span:nth-child(3) { --b: #2a1f4a; --h: 8%; } .mk-shelf span:nth-child(4) { --b: #4a2a10; --h: 22%; } .mk-shelf span:nth-child(5) { --b: #6b1f10; --h: 12%; }
.mk-plate { aspect-ratio: 3/4; display: grid; align-content: center; justify-items: center; text-align: center; padding: 26px; background: #efe0bd; color: #3a1a0c; box-shadow: inset 0 0 0 10px #efe0bd, inset 0 0 0 12px #7e2814, inset 0 0 0 18px #efe0bd, inset 0 0 0 19px #7e2814; }
.mk-plate p { margin: 0; font-size: 1.5rem; } .mk-plate__name { font-size: clamp(3rem, 2rem + 3vw, 4.4rem) !important; line-height: 1; margin-top: 10px !important; }
.mk-invite { aspect-ratio: 16/10; display: grid; align-content: center; justify-items: center; text-align: center; padding: 24px; background: radial-gradient(60% 80% at 50% 30%, rgba(243,196,107,.25), transparent 70%), #2a1309; color: #f3c46b; font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); }
.mk-invite p { margin: 0; line-height: 1.1; }
.mk-invite--kids { aspect-ratio: 3/4; background: radial-gradient(60% 60% at 80% 10%, #ffe14d, transparent 70%), linear-gradient(160deg, #2eb4ff, #8f3dff); color: #fff; border: 3px solid #1d1240; }
.mk-tv { aspect-ratio: 16/9; border-radius: 26px; border: 14px solid #1d1240; background: radial-gradient(60% 80% at 80% 10%, #ffb02e, transparent 70%), linear-gradient(150deg, #ff5fa2, #8f3dff 75%); display: grid; place-items: center; }
.mk-tv p { margin: 0; font-size: clamp(3rem, 1.6rem + 6vw, 7rem); line-height: 1; }
.mk-tv__tag { position: absolute; top: 14px; inset-inline-start: 18px; padding: 6px 16px; border-radius: 999px; background: #ffe14d; color: #1d1240; font-size: 1.4rem; }
.mk-box { aspect-ratio: 3/4.2; background: linear-gradient(170deg, #ffe14d, #ffb02e); border: 3px solid #1d1240; display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; padding: 20px; }
.mk-box p { margin: 0; font-size: clamp(2.8rem, 1.8rem + 3vw, 4rem); line-height: 1; } .mk-box__sub { font-size: 1.6rem !important; color: #ff3d8b; }
.mk-thumb { aspect-ratio: 16/9; background: radial-gradient(60% 80% at 20% 90%, #7dffb2, transparent 70%), linear-gradient(150deg, #2eb4ff, #1d1240); display: grid; place-items: center; border: 3px solid #1d1240; }
.mk-thumb p { margin: 0; font-size: clamp(2.8rem, 1.6rem + 4vw, 5rem); line-height: 1; text-align: center; }

/* fixes after the first review */
.fp--space .fp-g__mega { font-size: clamp(4rem, 2rem + 8vw, 10rem); }
.fp-hero__word.is-fit { white-space: nowrap; }

@media (max-width: 600px) {
  .mk-board, .mk-paper, .mk-map, .mk-letter, .mk-poster--space, .mk-screen, .mk-stickers, .mk-app, .mk-tv, .mk-thumb { aspect-ratio: auto; min-height: 220px; }
  .mk-map { min-height: 300px; }
  .fp-strip__text { font-size: clamp(1.6rem, 1rem + 4vw, 2.4rem); }
}

@media (max-width: 600px) { .fp--marauder .m-steps { opacity: .3; } }
