/* Vendored from design/samples/assets/concept-15/f.css by scripts/vendor-c14.mjs — edit the design file, then re-run. */
/* RANI, sketch 15F "card stack": a clean white site, a floating black pill for the bar, and the featured projects
   as full-width rounded cards that pin and land on top of each other while you scroll; the card underneath
   shrinks back and darkens a little. Loaded after c14.css; concept 14 itself is untouched. */

/* the floating pill */
.f-nav { position: fixed; inset-inline: 0; top: 14px; z-index: 60; display: flex; justify-content: center; padding-inline: var(--m); pointer-events: none; }
.f-nav .bar { pointer-events: auto; width: min(1000px, 100%); background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 8px 8px 26px; gap: 20px;
  box-shadow: 0 18px 44px -18px rgba(10, 10, 10, 0.55); transition: transform 420ms var(--ease-out); }
:lang(he) .f-nav .bar { padding: 8px 26px 8px 8px; }
.f-nav .bar.is-hidden { transform: translateY(-140%); }
.f-nav .bar__mark { color: var(--paper); }
.f-nav .bar__nav { font-size: 1rem; }
.f-nav .bar__tail .button { border-radius: 999px; min-height: 44px; }
main { padding-top: 92px; }

/* the hero: one sentence, two actions, the name in its window */
main .hero__top h1 { font-size: clamp(2.5rem, 1rem + 5vw, 6rem); line-height: 0.96; }
.hero__top h1 em { font-style: normal; color: var(--pink); }
main .hero__side { flex-direction: column; align-items: stretch; justify-content: end; gap: 20px; }
main .hero__side p { font-size: var(--s-lead); line-height: 1.3; max-width: 30ch; }
.f-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.f-acts .button { border-radius: 999px; }
.f-ghost { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.hero__name { border-radius: 36px; }
.colophon .all { border-radius: 999px; }

/* the stack */
.f-stack { padding: var(--section) var(--m) 0; }
.f-stack__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.f-stack__head h2 { grid-column: 1 / span 7; font-size: var(--s-display); }
.f-stack__head p { grid-column: 8 / span 5; font-size: var(--s-lead); line-height: 1.3; max-width: 28ch; }
.f-stack__list { display: grid; padding-bottom: 8svh; }
.f-card { --top: calc(96px + var(--i) * 14px); position: sticky; top: var(--top); height: max(460px, min(720px, calc(100svh - 196px))); }
.f-card + .f-card { margin-top: 14svh; }
.f-card__in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 40px);
  padding: clamp(18px, 2.2vw, 32px); border-radius: 36px; background: var(--bg); color: var(--ink2); overflow: clip; isolation: isolate;
  transform-origin: 50% 0; transform: scale(var(--sc, 1)); box-shadow: 0 -24px 60px -36px rgba(10, 10, 10, 0.45); will-change: transform; }
.f-card__shade { position: absolute; inset: 0; background: #000; opacity: var(--dk, 0); pointer-events: none; z-index: 3; }
.f-card__text { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 10px; min-width: 0; }
.f-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.f-card__logo { height: 46px; width: auto; max-width: 60%; object-fit: contain; filter: brightness(0); }
.f-card--dark .f-card__logo { filter: brightness(0) invert(1); }
.f-card__n { font-weight: 800; font-size: 0.9375rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.f-card__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; box-shadow: 0 0 0 1.5px currentColor inset; font-weight: 800; font-size: 0.875rem; margin-bottom: 14px; }
.f-card h3 { font-size: clamp(2.4rem, 1rem + 3.6vw, 5.25rem); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 14px; }
.f-card p { font-size: var(--s-lead); line-height: 1.3; max-width: 26ch; }
.f-card__go { align-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink2); color: var(--bg); font-weight: 800; text-decoration: none; transition: transform 200ms var(--ease-out); }
.f-card__go::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 36px; }
.f-card__go:hover { transform: scale(1.04); }
:lang(he) .f-card__go .arr { transform: scaleX(-1); }
.f-card__media { position: relative; border-radius: 24px; overflow: clip; min-height: 0; background: rgba(0, 0, 0, 0.08); }
.f-card__media video, .f-card__media .f-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f-card__media--pack { background: radial-gradient(70% 70% at 50% 60%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)); }
.f-card__media--phones { background: radial-gradient(70% 70% at 50% 55%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1)); }
.f-card__objs { position: absolute; inset: 8% 6%; display: flex; align-items: center; justify-content: center; gap: 2%; direction: ltr; }
.f-card__objs img { height: 62%; width: auto; max-width: 34%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); transition: transform 900ms var(--ease-out); }
.f-card__objs img:nth-child(2) { height: 84%; max-width: 30%; z-index: 1; }
.f-card__objs img:nth-child(1) { transform: rotate(-8deg) translateX(14%); }
.f-card__objs img:nth-child(3) { transform: rotate(7deg) translateX(-14%); }
.f-card__objs--ph img { height: 80%; max-width: 40%; filter: drop-shadow(0 26px 30px rgba(80, 60, 0, 0.35)); }
.f-card__objs--ph img:nth-child(2) { height: 96%; }
.f-card:hover .f-card__objs img:nth-child(1) { transform: rotate(-12deg) translateX(4%); }
.f-card:hover .f-card__objs img:nth-child(3) { transform: rotate(11deg) translateX(-4%); }

/* after the stack: the categories, rounder */
.intro { padding-top: clamp(64px, 7vw, 120px); }
.cats__nav a { border-radius: 999px; }
.cats__nav a:hover { background: var(--pink); color: var(--ink); }
.bn, .bn__it { border-radius: 28px; }
.contact { margin-inline: var(--m); border-radius: 36px; }
.contact .button { border-radius: 999px; }

@media (max-width: 1100px) { .f-stack__head h2, .f-stack__head p { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .f-nav { top: 10px; }
  .f-nav .bar { padding: 6px 6px 6px 18px; grid-template-columns: 1fr auto; }
  :lang(he) .f-nav .bar { padding: 6px 18px 6px 6px; }
  .f-nav .bar__nav { display: none; }
  main { padding-top: 76px; }
  .f-card { --top: calc(78px + var(--i) * 8px); height: max(480px, calc(100svh - 132px)); }
  .f-card + .f-card { margin-top: 10svh; }
  .f-card__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding: 12px; border-radius: 28px; }
  .f-card__media { order: -1; border-radius: 18px; }
  .f-card__text { gap: 12px; padding: 6px 8px 8px; }
  .f-card__top { order: 1; }
  .f-card__logo { height: 32px; }
  .f-card h3 { font-size: clamp(2rem, 1rem + 5vw, 2.75rem); margin-bottom: 8px; }
  .f-card p { font-size: 1.0625rem; }
  .f-card__tag { display: none; }
  main .hero__name { width: 100%; margin-inline: 0; border-radius: 28px; }
  .f-card__go { min-height: 46px; padding: 0 20px; }
  .f-card__objs { inset: 6% 4%; }
}
@media (prefers-reduced-motion: reduce) { .f-card__in { transform: none; } .f-card__shade { opacity: 0; } }

/* pack card: real ingredient cut-outs behind the products */
.f-card__els { position: absolute; inset: 0; pointer-events: none; }
.f-card__els img { position: absolute; width: var(--w); left: var(--x); top: var(--y); transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.4)); transition: transform 1100ms var(--ease-out); }
.f-card__els .e1 { --w: 34%; --x: -6%; --y: 4%; --r: -18deg; }
.f-card__els .e2 { --w: 24%; --x: 76%; --y: -4%; --r: 24deg; }
.f-card__els .e3 { --w: 36%; --x: 30%; --y: 72%; --r: -6deg; }
.f-card__els .e4 { --w: 20%; --x: 2%; --y: 70%; --r: 12deg; }
.f-card__els .e5 { --w: 24%; --x: 78%; --y: 62%; --r: -14deg; }
.f-card__els .e6 { --w: 15%; --x: 58%; --y: 4%; --r: 20deg; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.4)) blur(1.5px); opacity: 0.9; }
.f-card__els .e7 { --w: 18%; --x: 20%; --y: 0%; --r: 0deg; filter: blur(2px); opacity: 0.75; }
.f-card:hover .f-card__els img { transform: rotate(var(--r, 0deg)) scale(1.05); }
@media (max-width: 760px) { .f-card__els .e6, .f-card__els .e7 { display: none; } }
/* a vertical (9:16) commercial in a card: shown whole, standing in the card's media box */
.f-card__media--tall { background: color-mix(in srgb, #000 10%, var(--bg)); }
.f-card__media--tall video { object-fit: contain; padding: 4% 0; }
/* a brand whose logo is its colour (Wissotzky's red W): the colour file, unfiltered */
.f-card__logo.f-card__logo--colour { filter: none; height: 56px; }
