/* Pilpelet link page — pastel light and liquid glass.
   A still pastel field (rose, peach, lilac, sky, mint) with the chrome pepper drawn faintly into it;
   glass surfaces float directly on that field and never on each other. Text sits on solid-enough
   glass to keep AA contrast even over the strongest pastel; reduced transparency/contrast get solid fills. */

/* ---------------------------------------------------------------- fonts (self-hosted, OFL) */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/rubik-hebrew-wght-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/rubik-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bellefair"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/bellefair-hebrew-400-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Bellefair"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/bellefair-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------------------------------------------------------------- tokens */
:root {
  --cream: #FBF4F0;
  --rose: #F2B9CB;
  --peach: #F8CFB3;
  --lilac: #D4C8F2;
  --sky: #BEDAF4;
  --mint: #C1E6D4;

  --ink: #2B2240;        /* plum-navy: 8.9:1 or better on every pastel */
  --muted: #524968;      /* 5.0:1 on full rose (worst case), 5.6+ on glass */
  --rasp: #93183F;       /* the podcast's own raspberry, 5.1+ */

  /* glass */
  --glass: linear-gradient(150deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .22));
  --glass-hover: linear-gradient(150deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  --rim: linear-gradient(135deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .25) 38%,
         rgba(255, 214, 230, .7) 62%, rgba(206, 226, 255, .85) 82%, rgba(255, 255, 255, .95) 100%);
  --lift: 0 18px 40px -20px rgba(76, 52, 120, .38), 0 2px 8px rgba(76, 52, 120, .07);
  --lift-small: 0 10px 22px -12px rgba(76, 52, 120, .34), 0 1px 4px rgba(76, 52, 120, .06);
  --solid: #FFFDFC;      /* surfaces that sit *inside* glass are solid, never glass on glass */
  --solid-2: #FBEFF3;

  --text: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Bellefair", "Times New Roman", Georgia, serif;

  --s-small: 0.9375rem;                                 /* 15px */
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);  /* 17–18px */
  --s-lead: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);     /* 22–28px */
  --s-head: clamp(2.25rem, 1.8rem + 2vw, 3rem);         /* 36–48px */

  --col: 31rem;
  --r-panel: 2rem;
  --r-inner: 1.125rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--cream); }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--s-body);
  font-weight: 400;
  line-height: 1.55;
  /* no background here: the pastel field (body::before) and the drawings (.bloom) sit behind the body */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* the pastel field: still (no full-screen motion), fixed so glass shows it shifting as you scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58vmax 46vmax at 8% 6%, var(--rose) 0%, rgba(242, 185, 203, 0) 62%),
    radial-gradient(52vmax 44vmax at 100% 14%, var(--sky) 0%, rgba(190, 218, 244, 0) 62%),
    radial-gradient(48vmax 40vmax at 52% 46%, var(--peach) 0%, rgba(248, 207, 179, 0) 64%),
    radial-gradient(60vmax 48vmax at 92% 92%, var(--lilac) 0%, rgba(212, 200, 242, 0) 62%),
    radial-gradient(54vmax 44vmax at 0% 96%, var(--mint) 0%, rgba(193, 230, 212, 0) 62%),
    var(--cream);
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
.icon { width: 1.5rem; height: 1.5rem; fill: currentColor; flex: none; }
.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; /* taste-skill-ignore: screen-reader-only text, not a rule */
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; font-weight: 600; text-decoration: none; border-radius: 999px;
}
.skip:focus { top: 1rem; }

/* the chrome pepper, drawn large and white into the field; glass passing over it shows the refraction */
.bloom {
  position: fixed;
  z-index: -1;
  aspect-ratio: 1000 / 1121;
  background: rgba(255, 255, 255, .62);
  -webkit-mask: url(/assets/img/pepper-line.png) center / contain no-repeat;
  mask: url(/assets/img/pepper-line.png) center / contain no-repeat;
  pointer-events: none;
}
.bloom--a { width: min(40rem, 92vw); inset-inline-end: -18vw; top: 4vh; transform: rotate(-12deg); }
.bloom--b { width: min(26rem, 60vw); inset-inline-start: -12vw; bottom: -6vh; transform: rotate(14deg); }

/* ---------------------------------------------------------------- liquid glass */
.glass, .langswitch, .contact__dot, .ticket, .more .bar, .back__inner, .player__btn, .home-btn {
  position: relative;
  isolation: isolate;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(185%);
  backdrop-filter: blur(20px) saturate(185%);
  border: 1px solid transparent;            /* becomes a real border in forced-colours mode */
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), inset 0 -10px 24px -14px rgba(255, 255, 255, .8), var(--lift-small);
}
/* the rim: light catching the edge, slightly iridescent */
.langswitch::after, .contact__dot::after, .ticket::after, .more .bar::after, .back__inner::after, .player__btn::after, .home-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1.25px;
  background: var(--rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
/* the sheen: a soft specular bloom at the top */
.ticket::before, .back__inner::before, .more .bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 30% -10%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}
.ticket, .back__inner { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -18px 40px -24px rgba(255, 255, 255, .9), var(--lift); }
.ticket { -webkit-backdrop-filter: blur(28px) saturate(190%); backdrop-filter: blur(28px) saturate(190%); }

/* ---------------------------------------------------------------- page frame */
.page {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 1rem clamp(2.5rem, 6vw, 4rem);
}
.topbar { display: flex; justify-content: flex-end; padding: 1rem 0 .5rem; }
.langswitch {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.125rem;
  border-radius: 999px; font-size: var(--s-small); font-weight: 500; text-decoration: none;
  transition: transform .1s ease-out, background .2s;
}
.langswitch:hover { background: var(--glass-hover); }
.langswitch:active { transform: scale(.96); }
.sheet { outline: none; }

/* ---------------------------------------------------------------- intro */
.intro { text-align: center; padding-top: clamp(.5rem, 3vw, 2rem); }
.intro__title { font: inherit; }
.intro__logo { display: block; width: min(88%, 21rem); margin: 0 auto; }
.intro__logo img { filter: drop-shadow(0 6px 14px rgba(76, 52, 120, .18)); }
.intro__tagline {
  display: block;
  margin-top: 1.125rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.35rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.contact {
  margin: 1.75rem auto 0;
  max-width: 25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.contact__link {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: .25rem 0; text-decoration: none; border-radius: 1rem;
}
.contact__link:focus-visible { outline: none; }
.contact__link:focus-visible .contact__dot { outline: 3px solid var(--ink); outline-offset: 3px; }
.contact__dot {
  display: grid; place-items: center;
  width: clamp(3.75rem, 3.2rem + 2vw, 4.375rem); aspect-ratio: 1; border-radius: 50%;
  color: var(--ink);
  transition: transform .1s ease-out, background .2s;
}
.contact__dot .icon { width: 1.6rem; height: 1.6rem; }
.contact__link--primary .contact__dot { color: #25D366; }   /* WhatsApp's own green; the label below names it */
.contact__label { font-size: var(--s-small); font-weight: 500; line-height: 1.2; }
.contact__link:hover .contact__dot { background: var(--glass-hover); }
.contact__link:active .contact__dot { transform: scale(.94); }

/* ---------------------------------------------------------------- podcast (glass panel; everything inside is solid) */
.podcast { margin-top: clamp(2rem, 1.6rem + 2vw, 2.75rem); }
.ticket { border-radius: var(--r-panel); padding: 1.25rem; }
/* cover beside the show's name and subtitle, the text block centred against the picture */
.ticket__head { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.125rem; align-items: center; }
.ticket__name { min-width: 0; container-type: inline-size; }   /* the name sizes itself to this column */
.ticket__cover { width: 6.5rem; height: 6.5rem; object-fit: cover; border-radius: var(--r-inner); box-shadow: var(--lift-small); }
.ticket__title {
  font-family: var(--display); font-weight: 400;
  font-size: 1.75rem;                            /* fallback for browsers without container units */
  font-size: min(var(--s-head), 10.6cqi);        /* sized to the space beside the cover, so it never wraps */
  white-space: nowrap;
  line-height: 1.05; letter-spacing: -0.01em; color: var(--rasp);
}
.ticket__sub { margin-top: .375rem; font-size: var(--s-small); line-height: 1.4; color: var(--ink); }
.ticket__body { margin-top: 1.25rem; }
.ticket__ep { font-family: var(--display); font-weight: 400; font-size: var(--s-lead); line-height: 1.15; }
.ticket__meta { margin-top: .25rem; font-size: var(--s-small); color: var(--muted); }
.ticket__lead { margin-top: 1rem; }
.dot { color: var(--rasp); }
html[dir="ltr"] [dir="rtl"] { text-align: left; }

.player { margin-top: 1rem; }
.player__facade {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-inner); background: var(--solid-2); text-decoration: none;
  box-shadow: var(--lift-small);
}
.player__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.player--spotify .player__facade img { object-fit: contain; }
.player__facade:hover img { transform: scale(1.03); }
/* a glass play button floating over the picture */
.player__btn {
  position: absolute; inset: 0; margin: auto;
  width: 4.75rem; height: 4.75rem; display: grid; place-items: center;
  border-radius: 50%; color: var(--rasp);
  background: linear-gradient(150deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5));
  transition: transform .1s ease-out;
}
.player__btn .icon { width: 2rem; height: 2rem; margin-inline-start: .2rem; }
html[dir="rtl"] .player__btn .icon { margin-inline-start: 0; margin-inline-end: .2rem; }
.player__facade:hover .player__btn { transform: scale(1.05); }
.player__facade:active .player__btn { transform: scale(.95); }
.player__facade:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.player iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-inner); background: var(--ink); }
.player--spotify iframe { aspect-ratio: auto; height: 22rem; background: transparent; }

.ticket__stub { margin-top: 1.25rem; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.platform {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .375rem;
  min-height: 4.75rem; padding: .75rem .25rem; border-radius: var(--r-inner);
  background: var(--solid); text-decoration: none; text-align: center;
  font-size: var(--s-small); font-weight: 500; line-height: 1.2;
  box-shadow: 0 1px 2px rgba(76, 52, 120, .08);
  transition: transform .1s ease-out, background .2s, color .2s;
}
.platform:hover { background: var(--ink); color: #fff; }
.platform:active { transform: scale(.96); }

.earlier { margin-top: 1.5rem; }
.earlier__title { font-size: var(--s-body); font-weight: 500; margin-bottom: .5rem; }

.pairs { margin-top: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pill {
  display: flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .625rem .875rem;
  border-radius: 999px; background: var(--solid-2); text-decoration: none;
  font-size: var(--s-small); font-weight: 500; line-height: 1.25;
  transition: transform .1s ease-out, background .2s, color .2s;
}
.pill .icon { width: 1.125rem; height: 1.125rem; }
.pill:hover { background: var(--ink); color: #fff; }
.pill:active { transform: scale(.97); }

/* ---------------------------------------------------------------- link bars */
.more { margin-top: clamp(2rem, 1.6rem + 2vw, 2.75rem); }
.more__title {
  font-family: var(--display); font-weight: 400; font-size: var(--s-lead);
  line-height: 1.2; text-align: center; margin-bottom: .875rem;
}
.bars { display: grid; gap: .625rem; }
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.75rem; padding: .875rem 1.375rem; border-radius: 999px; text-decoration: none;
  transition: transform .1s ease-out, background .2s, color .2s;
}
.bars--blush .bar { background: var(--solid); border-radius: var(--r-inner); min-height: 3.5rem; padding: .75rem 1rem; box-shadow: 0 1px 2px rgba(76, 52, 120, .08); }
.bar__text { display: grid; gap: .125rem; }
.bar__label { font-size: var(--s-body); font-weight: 500; line-height: 1.3; }
.bar__meta { font-size: var(--s-small); color: var(--muted); }
.bar__arrow { width: 1.25rem; height: 1.25rem; transition: transform .25s var(--ease); }
html[dir="ltr"] .bar__arrow { transform: scaleX(-1); }
.more .bar:hover { background: var(--glass-hover); }
.bars--blush .bar:hover { background: var(--ink); color: #fff; }
.bars--blush .bar:hover .bar__meta { color: #EDE7F6; }
.bar:active { transform: scale(.98); }
html[dir="rtl"] .bar:hover .bar__arrow { transform: translateX(-4px); }
html[dir="ltr"] .bar:hover .bar__arrow { transform: scaleX(-1) translateX(-4px); }

/* ---------------------------------------------------------------- page not found */
.lost { text-align: center; padding: clamp(2rem, 8vh, 5rem) 0 clamp(2rem, 6vh, 4rem); }
.lost__logo { display: block; width: min(70%, 15rem); margin: 0 auto 2rem; }
.lost__logo img { filter: drop-shadow(0 6px 14px rgba(76, 52, 120, .18)); }
.lost__title { font-family: var(--display); font-weight: 400; font-size: var(--s-head); line-height: 1.05; letter-spacing: -0.01em; }
.lost__text { margin: 1rem auto 0; max-width: 24rem; font-size: var(--s-body); }
.home-btn {
  display: inline-flex; align-items: center; gap: .625rem; margin-top: 2rem;
  min-height: 3.5rem; padding: .875rem 1.75rem; border-radius: 999px;
  font-size: var(--s-body); font-weight: 500; text-decoration: none;
  transition: transform .1s ease-out, background .2s;
}
.home-btn:hover { background: var(--glass-hover); }
.home-btn:active { transform: scale(.97); }
.home-btn__arrow { width: 1.25rem; height: 1.25rem; }
html[dir="rtl"] .home-btn__arrow { transform: scaleX(-1); }   /* points back, toward the start of the line */

/* ---------------------------------------------------------------- legal pages */
.doc {
  position: relative; isolation: isolate; margin-top: .5rem; padding: clamp(1.5rem, 1rem + 3vw, 2.5rem);
  border-radius: var(--r-panel);
  background: linear-gradient(150deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .62));
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), var(--lift);
}
.doc__back { margin-bottom: 1.5rem; }
.doc__back a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  font-weight: 500; font-size: var(--s-small); text-underline-offset: 4px;
}
.doc__arrow { width: 1.125rem; height: 1.125rem; }
html[dir="rtl"] .doc__arrow { transform: scaleX(-1); }
.doc__title { font-family: var(--display); font-weight: 400; font-size: var(--s-head); line-height: 1.05; letter-spacing: -0.01em; }
.doc__lead { margin-top: 1rem; font-size: var(--s-lead); font-family: var(--display); line-height: 1.3; }
.doc h2 { margin-top: 2rem; margin-bottom: .5rem; font-family: var(--display); font-weight: 400; font-size: var(--s-lead); line-height: 1.2; }
.doc p + p { margin-top: .75rem; }
.doc a { text-underline-offset: 3px; }
.list { padding-inline-start: 1.25rem; display: grid; gap: .5rem; }
.facts { margin-top: .75rem; display: grid; gap: .25rem; }
.doc__date { margin-top: 2rem !important; font-size: var(--s-small); color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.back { padding: 0 1rem 2rem; }
.back__inner {
  max-width: calc(var(--col) - 2rem); margin: 0 auto; padding: 2rem 1.25rem 1.5rem;
  border-radius: var(--r-panel); text-align: center;
}
.back__mark {
  width: min(62%, 15rem); aspect-ratio: 1200 / 299; margin: 0 auto;
  background: linear-gradient(100deg, #5A5170 0%, #2B2240 45%, #6B5C8A 70%, #2B2240 100%);
  -webkit-mask: url(/assets/img/wordmark-he.png) center / contain no-repeat;
  mask: url(/assets/img/wordmark-he.png) center / contain no-repeat;
}
.back__tagline { margin-top: .75rem; font-family: var(--display); font-size: var(--s-lead); line-height: 1.25; }
.back__links { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
.back__links a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: var(--s-small); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.back__links a:hover { color: var(--rasp); }
.back__imprint { margin-top: .5rem; font-size: var(--s-small); color: var(--muted); }

/* ---------------------------------------------------------------- motion: surfaces materialise, controls answer the press */
@keyframes rise { from { opacity: 0; transform: translateY(.75rem) scale(.97); } }
.rise { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 60ms); }
.d-0 { --i: 0; } .d-1 { --i: 1; } .d-2 { --i: 2; } .d-3 { --i: 3; } .d-4 { --i: 4; } .d-5 { --i: 5; }
.d-6 { --i: 6; } .d-7 { --i: 7; } .d-8 { --i: 8; } .d-9 { --i: 9; } .d-10 { --i: 10; } .d-11 { --i: 11; }
.d-12 { --i: 12; } .d-13 { --i: 13; }

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

/* ---------------------------------------------------------------- accessibility preferences */
@media (prefers-reduced-transparency: reduce) {
  .langswitch, .contact__dot, .ticket, .more .bar, .back__inner, .player__btn, .doc, .home-btn {
    background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .bloom { display: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3A3350; }
  .langswitch, .contact__dot, .ticket, .more .bar, .back__inner, .player__btn, .doc, .platform, .pill, .bars--blush .bar, .home-btn {
    background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--ink);
  }
  .contact__link--primary .contact__dot { color: #128C7E; }
}
@media (forced-colors: active) {
  .bloom, body::before { display: none; }
  .back__mark { background: CanvasText; }
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 30rem) {
  .ticket { padding: 1rem; border-radius: 1.75rem; }
  .ticket__head { grid-template-columns: 4.75rem 1fr; gap: .75rem; }
  .ticket__cover { width: 4.75rem; height: 4.75rem; }
  .pairs { grid-template-columns: 1fr; }
  .contact { gap: .25rem; }
}
