/* area: clients-projects */
/* The look of the kickstart-tv.com sites (il., uk., the root and the legal pages), taken from the views and votes site
   (clients/Kickstart/youtube/site/index.html, Yotam 24/11/2026: "בסגנון דומה לאיך שבנינו את האנליטיקות"): liquid glass on
   the Season 2 blues — frosted see-through panels over a slow aurora, the logo in a sticky glass bar that shrinks on scroll,
   titles in Kickstart Ultra Black Italic, pill buttons. One file for every page; nginx serves it with no-cache. */
@font-face { font-family: "KS Ultra"; src: url(/fonts/KickstartUltra-Black.otf?v=20261108) format("opentype"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "KS Ultra"; src: url(/fonts/KickstartUltra-BlackItalic.otf?v=20261108) format("opentype"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: Anton; src: url(/fonts/anton-latin.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Heebo; src: url(/fonts/heebo-hebrew.woff2) format("woff2"); unicode-range: U+0590-05FF, U+FB1D-FB4F; font-weight: 100 900; font-display: swap; }
@font-face { font-family: Heebo; src: url(/fonts/heebo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0b1b46; --royal: #14388a; --sky: #3a86f3; --white: #f5f5f5; --orange: #f3801b; --yellow: #f8ca26;
  --yt: #ff5a4f; --ig: #cf4fe0; --tt: #2ad8e6;
  --text: #eef3ff; --muted: rgba(225,233,255,.70); --faint: rgba(225,233,255,.46);
  --glass: linear-gradient(145deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.05) 45%, rgba(255,255,255,.08) 100%);
  --glass-edge: rgba(255,255,255,.22);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(255,255,255,.06), inset 0 0 0 1px rgba(255,255,255,.04), 0 12px 40px rgba(2,8,28,.38), 0 2px 6px rgba(2,8,28,.25);
  --display: "KS Ultra", "Arial Hebrew", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
html[lang^="en"] { --display: Anton, Impact, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
html, body { margin: 0; background: #070f2b; }
body { padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  color: var(--text); font: 400 16px/1.6 Heebo, system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid rgba(255,255,255,.8); outline-offset: 2px; border-radius: 10px; }
.skip { position: absolute; inset-inline-start: 18px; top: -60px; z-index: 50; background: var(--yellow); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the page: one rounded panel with an aurora of the channel colours drifting behind the glass */
.kv { position: relative; overflow: clip; isolation: isolate; max-width: 1240px; margin: 0 auto; border-radius: 26px;
  background: linear-gradient(170deg, #10275f 0%, #0b1b46 45%, #081436 100%); padding: clamp(12px, 2.4vw, 28px);
  display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); }
.kv-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.kv-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.kv-aurora .a1 { width: 520px; height: 520px; top: -160px; inset-inline-end: -120px; background: #2f6fe0; }
.kv-aurora .a2 { width: 420px; height: 420px; top: 28%; inset-inline-start: -160px; background: #b52fc9; opacity: .30; }
.kv-aurora .a3 { width: 380px; height: 380px; bottom: 10%; inset-inline-end: 18%; background: #13b8c9; opacity: .22; }
.kv-aurora .a4 { width: 360px; height: 360px; top: 58%; inset-inline-end: -140px; background: #e5332a; opacity: .20; }
@media (prefers-reduced-motion: no-preference) {
  .kv-aurora .a1 { animation: kvDrift 26s ease-in-out infinite alternate; }
  .kv-aurora .a2 { animation: kvDrift 32s ease-in-out infinite alternate-reverse; }
  @keyframes kvDrift { to { transform: translate(-60px, 50px) scale(1.12); } }
}

.kv-main { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); }

/* glass */
.glass { position: relative; background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); border-radius: 22px; }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 85% -10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%); }
a.glass, .lift { transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
a.glass:hover, .lift:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.38);
  background: linear-gradient(145deg, rgba(255,255,255,.19) 0%, rgba(255,255,255,.08) 45%, rgba(255,255,255,.11) 100%); }

/* the top bar: the logo big, the title in Ultra italic; once scrolled it shrinks to one line */
.kv-top { position: sticky; top: max(8px, env(safe-area-inset-top, 0px)); z-index: 30; padding: 16px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  transition: padding .35s var(--ease), background .35s, box-shadow .35s; }
.kv-brand { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px); flex: 1 1 18rem; min-width: 0; text-decoration: none; }
.kv-logo { flex: none; height: 76px; width: auto; filter: drop-shadow(0 3px 10px rgba(0,0,0,.35)); transition: height .35s var(--ease), transform .25s; }
.kv-brand:hover .kv-logo { transform: rotate(-3deg) scale(1.04); }
.kv-brand > span { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.kv-kicker { display: block; font-size: 11px; letter-spacing: .1em; color: var(--muted); font-weight: 600; max-height: 3em; overflow: hidden; transition: opacity .25s, max-height .35s; }
.kv-brand h1, .kv-brand .h1 { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(26px, 4vw, 40px); line-height: 1; margin: 4px 0 0; color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,.25); transition: font-size .35s var(--ease); }
.kv-nav { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.25), inset 0 -1px 0 rgba(255,255,255,.06); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.kv-nav::-webkit-scrollbar { display: none; }
.kv-nav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.kv-nav a:hover { color: var(--white); background: rgba(255,255,255,.10); }
.kv-nav a.on { color: var(--white); background: linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 8px rgba(0,0,0,.25); }
.kv-top.compact { padding: 8px 16px; background: linear-gradient(145deg, rgba(30,58,128,.90), rgba(14,32,82,.86)); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 14px 40px rgba(2,8,28,.55); }
.kv-top.compact::after { content: ""; position: absolute; left: 50%; width: 100vw; transform: translateX(-50%); bottom: 100%; height: 48px; background: #070f2b; pointer-events: none; }
.kv-top.compact .kv-logo { height: 36px; }
.kv-top.compact .kv-kicker { opacity: 0; max-height: 0; }
.kv-top.compact h1, .kv-top.compact .h1 { font-size: 20px; margin: 0; }
@media (max-width: 640px) { .kv-kicker { display: none; } .kv-logo { height: 52px; } .kv-top.compact .kv-logo { height: 30px; } .kv-top { gap: 10px; } .kv-nav { width: 100%; } }

/* the pill buttons */
.kv-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.kv-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--white); text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.10)); border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 18px rgba(2,8,28,.35); transition: transform .15s, background .2s; }
.kv-btn:hover { background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.14)); transform: translateY(-1px); }
.kv-btn:active { transform: scale(.96); }
.kv-btn.hot { color: var(--ink); background: linear-gradient(180deg, #ffd85a, var(--orange)); border-color: rgba(248,202,38,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 22px rgba(243,128,27,.35); }
.kv-btn.hot:hover { background: linear-gradient(180deg, #ffe27e, #ff9a3d); }

/* cards and their parts */
.kv-card { padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.kv-h2 { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.05; margin: 0; color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.kv-sub { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 64ch; }
.kv-sub b { color: var(--text); }
.kv-cardhead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.kv-more { font-size: 14px; font-weight: 700; color: var(--yellow); text-decoration: none; white-space: nowrap; }
.kv-more:hover { text-decoration: underline; }
.kv-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink);
  background: linear-gradient(180deg, #ffd85a, var(--orange)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.kv-tag.dim { color: var(--text); background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.yt { background: var(--yt); } .dot.ig { background: var(--ig); } .dot.tt { background: var(--tt); }

/* the hero */
.kv-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; padding: clamp(20px, 3.4vw, 40px); }
@media (max-width: 880px) { .kv-hero { grid-template-columns: 1fr; } }
.kv-hero h2 { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(40px, 6.4vw, 76px); line-height: .98; margin: 12px 0 14px; color: var(--white); text-shadow: 0 3px 18px rgba(0,0,0,.3); }
.kv-hero h2 em { white-space: nowrap; font-style: italic; background: linear-gradient(180deg, #ffe27e, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kv-hero p { color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); margin: 0 0 22px; max-width: 40ch; }

/* a video or a photo in glass */
.kv-media { display: block; text-decoration: none; overflow: hidden; padding: 10px; }
.kv-media .th { display: block; position: relative; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.08); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.kv-media .th img { display: block; width: 100%; height: auto; transition: transform .4s var(--ease); }
.kv-media:hover .th img { transform: scale(1.04); }
.kv-media .play { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ffd85a, var(--orange)); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 22px rgba(0,0,0,.4); transition: transform .2s; }
.kv-media:hover .play { transform: scale(1.1); }
.kv-media .play svg { width: 22px; fill: var(--ink); }
.kv-media .cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 6px 4px; }
.kv-media .cap b { font-weight: 700; color: var(--white); }
.kv-media .cap span { font-size: 13px; color: var(--faint); }
.kv-media .cap a { color: var(--yellow); }

/* tiles: a big number and a line */
.kv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 12px; }
.kv-tile { padding: 18px 20px; min-width: 0; }
.kv-tile .num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 40px; line-height: 1; color: var(--yellow); }
.kv-tile b { display: block; margin-top: 10px; font-size: 17px; color: var(--white); }
.kv-tile p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.kv-tile a { color: var(--yellow); font-weight: 700; }

/* grids */
.kv-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.kv-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .kv-grid, .kv-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kv-grid, .kv-grid.four { grid-template-columns: 1fr; } }
.kv-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(16px, 2.6vw, 30px); align-items: center; }
@media (max-width: 860px) { .kv-split { grid-template-columns: 1fr; } }
.kv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.kv-chip { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; color: var(--text); background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); transition: background .2s; }
.kv-chip:hover { background: rgba(255,255,255,.18); }
.kv-person { overflow: hidden; padding: 10px; }
.kv-person img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; transition: transform .4s var(--ease); }
.kv-person:hover img { transform: scale(1.03); }
.kv-person b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 22px; color: var(--white); margin: 12px 6px 0; }
.kv-person span { display: block; font-size: 13px; color: var(--muted); margin: 2px 6px 6px; }


/* the numbers: live from the views site, counting up as they come into view */
.kv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .kv-stats { grid-template-columns: repeat(2, 1fr); } }
.kv-stat { padding: 16px 20px; min-width: 0; }
.kv-stat .lbl { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.kv-stat b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(30px, 4.2vw, 46px); line-height: 1; margin-top: 10px; color: var(--white);
  direction: ltr; text-align: start; font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
html[dir="rtl"] .kv-stat b { text-align: right; }

/* the most watched moments: vertical cards, as the clips are */
.kv-reels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 980px) { .kv-reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .kv-reels { grid-template-columns: repeat(2, 1fr); } }
.kv-reel { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; text-decoration: none; padding: 0; }
.kv-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kv-reel:hover img { transform: scale(1.06); }
.kv-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,15,43,0) 40%, rgba(7,15,43,.92) 100%); pointer-events: none; }
.kv-reel .rank { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1;
  color: var(--ink); background: linear-gradient(180deg, #ffd85a, var(--orange)); padding: 4px 10px 6px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.kv-reel .v { position: absolute; top: 12px; inset-inline-end: 10px; z-index: 1; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(7,15,43,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kv-reel .t { position: absolute; inset-inline: 10px; bottom: 10px; z-index: 1; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--white); }

/* an episode's play mark on its card */
.kv-grid .kv-media .play { width: 42px; height: 42px; }
.kv-grid .kv-media .play svg { width: 18px; }

/* the player: a glass sheet over the page */
.kv-player { width: min(1000px, calc(100vw - 24px)); padding: 58px 14px 14px; border: 1px solid var(--glass-edge); color: var(--text); background: linear-gradient(145deg, rgba(34,64,140,.92), rgba(14,32,82,.92)); }
.kv-player::backdrop { background: rgba(4,9,26,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kv-player.tall { width: min(420px, calc(100vw - 24px)); }
.kv-player.tall .frame { aspect-ratio: 9 / 16; max-height: calc(100vh - 140px); margin: 0 auto; }
.kv-player .frame { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.kv-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.kv-player .kv-more { display: inline-block; margin: 12px 4px 2px; }
.kv-x { all: unset; cursor: pointer; position: absolute; top: 12px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(180deg, #ffd85a, var(--orange)); color: var(--ink); font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: transform .2s; }
.kv-x:hover { transform: rotate(90deg); }
@media (prefers-reduced-motion: no-preference) { .kv-player[open] { animation: kvPanel .28s cubic-bezier(.2,.8,.2,1.15) both; } @keyframes kvPanel { from { opacity: 0; transform: translateY(-8px) scale(.96); } } }

/* sections come in as they scroll into view */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .kv-stats .reveal:nth-child(2) { transition-delay: .08s; } .kv-stats .reveal:nth-child(3) { transition-delay: .16s; } .kv-stats .reveal:nth-child(4) { transition-delay: .24s; }
  .kv-hero { animation: kvIn .8s var(--ease) both; }
  @keyframes kvIn { from { opacity: 0; transform: translateY(16px); } }
}

/* the foot */
.kv-foot { padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.kv-foot a { text-decoration: none; }
.kv-foot a:hover { color: var(--white); }
.kv-foot .kv-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; font-size: 13px; color: var(--faint); }

/* a page of text: terms, privacy, accessibility */
.kv-doc { padding: clamp(20px, 3.4vw, 44px); }
.kv-doc h1 { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; margin: 0; color: var(--white); }
.kv-doc .date { color: var(--faint); font-size: 14px; margin: 8px 0 22px; }
.kv-doc h2 { font-size: 20px; font-weight: 800; color: var(--yellow); margin: 30px 0 8px; }
.kv-doc p, .kv-doc li { color: rgba(238,243,255,.86); max-width: 72ch; }
.kv-doc ul { padding-inline-start: 22px; }
.kv-doc li { margin-bottom: 6px; }
.kv-doc a { color: var(--yellow); }
.kv-doc code { background: rgba(255,255,255,.10); padding: 1px 6px; border-radius: 6px; }

/* the root's choice */
.kv-choose { min-height: calc(100vh - 24px); display: grid; place-items: center; }
.kv-choose .inner { text-align: center; padding: clamp(24px, 5vw, 56px); display: grid; gap: 24px; justify-items: center; }
.kv-choose img { width: min(320px, 70vw); height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.kv-choose .kv-btns { justify-content: center; }
.kv-choose .kv-btn { font-size: 18px; padding: 14px 26px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
