/* ==========================================================================
   Real Judaism — 2026 design system
   Ink & paper editorial. Fraunces display / Hanken Grotesk text.
   Built from scratch — no legacy styles.
   ========================================================================== */

:root {
  /* palette */
  --ink: #1c1712;
  --ink-2: #262018;
  --ink-3: #322a20;
  --paper: #f5efe3;
  --paper-2: #ede4d1;
  --cream: #fbf7ee;
  --gold: #c2903a;
  --gold-bright: #d9ab55;
  --gold-deep: #96691f;
  --text: #2b241a;
  --muted: #71634e;
  --muted-on-ink: #b3a68e;
  --line: #d8cbb2;
  --line-on-ink: #3d3427;

  /* series hues */
  --hue-halashon: #c2903a;
  --hue-shabbos: #a34d42;
  --hue-mesilas: #7c8a4c;
  --hue-einayim: #5c7d93;
  --hue-bayis: #c07350;
  --hue-dating: #4f8a7b;
  --hue-rashi: #8a6952;

  /* type */
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Hanken Grotesk", "Segoe UI", sans-serif;

  --max: 1160px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --arch: 999px 999px 0 0;
}

/* ------- base ------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: inherit;
}
.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal; font-style: normal; font-size: 1.35rem; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block;
  white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

/* ------- skip link ------- */
.skip {
  position: absolute; top: 0; inset-inline-start: 0; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem;
  font-weight: 700; text-decoration: none;
}
.skip:not(:focus) {
  width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; padding: 0;
}

/* ------- nav ------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(10px);
  color: var(--paper);
  border-bottom: 1px solid var(--line-on-ink);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.25rem;
}
.wordmark {
  font-family: var(--serif); font-weight: 620; font-size: 1.3rem;
  letter-spacing: .01em; text-decoration: none; color: var(--paper);
  display: flex; align-items: baseline; gap: .4rem; flex-shrink: 0;
}
.wordmark i {
  font-style: normal; color: var(--gold-bright);
}
.wordmark .dot {
  width: .42em; height: .42em; border-radius: 50%;
  background: var(--gold); align-self: center;
}
.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .95rem; font-weight: 600;
  color: var(--muted-on-ink); transition: color .18s;
  padding: .35rem 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.nav-links .heb-link { font-family: var(--serif); color: var(--gold-bright); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-on-ink);
  color: var(--paper); border-radius: 6px; padding: .45rem .6rem; cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-on-ink);
    padding: .5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .7rem var(--pad); }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
}

/* ------- hero (home) ------- */
.hero {
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(194,144,58,.16), transparent 60%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 0;
}
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-bright);
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  margin: 1.1rem 0 1.4rem;
}
.hero h1 em {
  font-style: italic; font-weight: 480; color: var(--gold-bright);
}
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted-on-ink); max-width: 34em;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 3rem; }

.hero-figure { position: relative; align-self: end; }
.hero-figure .arch {
  border-radius: var(--arch);
  overflow: hidden;
  border: 1px solid var(--line-on-ink);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  background: var(--ink-2);
}
.hero-figure img { width: 100%; height: auto; filter: saturate(.92); }
.hero-figure figcaption {
  position: absolute; left: -1.2rem; bottom: 1.6rem;
  background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: .95rem; font-weight: 600;
  padding: .55rem 1rem; border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-on-ink);
  padding: 1.4rem 0 1.6rem; margin-top: 0;
}
.hero-stats div b {
  display: block; font-family: var(--serif); font-size: 1.7rem;
  font-weight: 620; color: var(--gold-bright);
}
.hero-stats div span { font-size: .85rem; color: var(--muted-on-ink); letter-spacing: .04em; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 320px; }
  .hero-figure figcaption { left: auto; right: -0.5rem; }
}

/* ------- buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: .8rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s, background .18s, color .18s, border-color .18s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { border-color: var(--line-on-ink); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn svg { flex-shrink: 0; }

/* ------- sections ------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 44em; }
.section-head .kicker { color: var(--gold-deep); }
.section-head .kicker::before { background: var(--gold-deep); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: .9rem; }
.section-head p { margin-top: 1rem; color: var(--muted); }
.on-ink .section-head .kicker { color: var(--gold-bright); }
.on-ink .section-head .kicker::before { background: var(--gold); }

/* ------- series index (home) ------- */
.series-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.series-card {
  --hue: var(--gold);
  position: relative;
  display: grid; grid-template-columns: 132px 1fr;
  gap: 1.35rem; align-items: center;
  padding: .85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.series-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--hue) 55%, var(--line));
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--hue) 45%, transparent);
}
.series-card .series-cover {
  display: block; aspect-ratio: 1; overflow: hidden; border-radius: 11px;
  background: var(--paper-2);
  box-shadow: 0 12px 28px -16px rgba(28,23,18,.55);
}
.series-card .series-cover img { width: 100%; height: 100%; object-fit: cover; }
.series-card .series-copy { padding: .65rem .8rem .65rem 0; }
.series-card .num {
  display: block; margin-bottom: .5rem;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--hue) 60%, var(--muted));
  font-size: .68rem;
}
.series-card h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.series-card .tag { display: block; color: var(--muted); font-size: .95rem; }
.series-card .meta {
  display: block; margin-top: .6rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--hue);
}
@media (max-width: 760px) {
  .series-grid { grid-template-columns: 1fr; }
  .series-card { grid-template-columns: 104px 1fr; }
}
@media (max-width: 420px) {
  .series-card { grid-template-columns: 86px 1fr; gap: 1rem; }
  .series-card h3 { font-size: 1.16rem; }
  .series-card .tag { font-size: .86rem; }
}

/* ==========================================================================
   Blog — editorial / literary-journal treatment
   ========================================================================== */

/* ------- index (contents page) ------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1.5rem;
}
.blog-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.9rem 1.7rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.blog-card::after {                 /* ghost numeral, watermark-style */
  content: attr(data-num);
  position: absolute; right: -.4rem; bottom: -2.4rem;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 8.5rem; line-height: 1; color: var(--paper-2);
  z-index: 0; pointer-events: none; transition: color .2s;
}
.blog-card > * { position: relative; z-index: 1; }
.blog-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--line));
  box-shadow: 0 22px 48px -22px color-mix(in srgb, var(--gold) 45%, transparent);
}
.blog-card:hover::after { color: color-mix(in srgb, var(--gold) 24%, var(--paper-2)); }
.blog-card .num {
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: .72rem; color: var(--gold-deep); margin-bottom: .9rem;
}
.blog-card h3 { font-size: 1.42rem; line-height: 1.14; margin-bottom: .55rem; }
.blog-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.blog-card .more {
  margin-top: 1.3rem; font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .45rem;
}
.blog-card .more svg { transition: transform .2s; }
.blog-card:hover .more svg { transform: translateX(4px); }

/* featured lead */
.blog-card.feature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; padding: clamp(1.9rem, 4vw, 2.6rem);
}
.blog-card.feature::after { display: none; }
.blog-card.feature .feat-num {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(4.5rem, 11vw, 8rem); line-height: .75; color: var(--gold);
}
.blog-card.feature h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.blog-card.feature p { font-size: 1.06rem; max-width: 44em; flex: none; }
@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.feature { grid-template-columns: 1fr; gap: .4rem; }
  .blog-card.feature .feat-num { font-size: 4rem; }
}

/* ------- article ------- */
.reading-bar {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  z-index: 200; transition: width .08s linear;
}
.article-hero .art-num {
  position: absolute; inset-inline-end: 1%; top: 50%;
  transform: translateY(-46%);
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(9rem, 25vw, 19rem); line-height: .8;
  color: color-mix(in srgb, var(--gold) 15%, transparent);
  pointer-events: none; z-index: 0; user-select: none;
}
.article-hero .wrap { position: relative; z-index: 1; }
.article-hero h1 { max-width: 20em; }
.article-meta {
  margin-top: 1.5rem; font-size: .85rem; letter-spacing: .05em;
  color: var(--muted-on-ink);
}
.article-meta b { color: var(--gold-bright); font-weight: 700; }

.blog-post .prose {
  margin: 0 auto; max-width: 39em;
  font-size: 1.15rem; line-height: 1.78;
  color: color-mix(in srgb, var(--text) 90%, var(--muted));
}
.blog-post .prose p { color: inherit; }
.blog-post .prose p + p { margin-top: 1.25rem; }
.blog-post .prose .lead { font-size: 1.22rem; }
.blog-post .prose .lead::first-letter {
  float: left; font-family: var(--serif); font-weight: 600;
  font-size: 3.9rem; line-height: .74;
  padding: .38rem .5rem 0 0; color: var(--gold-deep);
}
.blog-post .prose h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  margin: 2.9rem 0 1rem; padding-top: 1.5rem; position: relative;
}
.blog-post .prose h2::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0;
  width: 2.6rem; height: 2px; background: var(--gold);
}
.blog-post .prose blockquote {
  margin: 2.6rem 0; padding: .2rem 0 .2rem 2.1rem;
  border: 0; border-inline-start: 2px solid var(--gold);
  background: none; border-radius: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.55rem); line-height: 1.46;
  color: var(--ink-2);
}
.blog-post .todo {
  margin: 3rem 0 0; padding: 1.7rem 1.9rem;
  background: color-mix(in srgb, var(--gold) 9%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line));
  border-radius: 16px;
}
.blog-post .todo .todo-label {
  font-weight: 700; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep);
  display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem;
}
.blog-post .todo p { color: var(--text); font-size: 1.03rem; margin: 0; }

.blog-post .related { margin-top: 3.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.blog-post .related .related-head {
  font-weight: 700; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem;
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-card {
  display: block; padding: 1.3rem 1.4rem;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--cream); text-decoration: none;
  transition: border-color .18s, transform .18s;
}
.related-card:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, var(--line));
  transform: translateY(-3px);
}
.related-card .rc-kicker {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700;
}
.related-card h4 {
  font-family: var(--serif); font-weight: 560; font-size: 1.12rem;
  line-height: 1.2; margin-top: .5rem; color: var(--text);
}
@media (max-width: 620px) { .related-grid { grid-template-columns: 1fr; } }

/* ------- quote band ------- */
.quote-band { background: var(--ink); color: var(--paper); text-align: center; }
.quote-band blockquote {
  font-family: var(--serif); font-weight: 480; font-style: italic;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem); line-height: 1.35;
  max-width: 26em; margin: 0 auto;
}
.quote-band blockquote::before { content: "“"; color: var(--gold-bright); }
.quote-band blockquote::after { content: "”"; color: var(--gold-bright); }
.quote-band cite {
  display: block; margin-top: 1.6rem; font-style: normal;
  font-size: .9rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-on-ink);
}

/* ------- about split ------- */
.about-split {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.about-split .arch {
  border-radius: 50%; overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(43,36,26,.45);
  max-width: 380px;
}
.about-split .arch img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.2rem; }
.about-split p + p { margin-top: 1rem; }
.about-split p { color: var(--muted); }
.about-split .btn { margin-top: 1.8rem; }
@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split .arch { max-width: 300px; }
}

/* ------- speaking engagements ------- */
.speaking-cta {
  background: var(--ink-2); color: var(--paper);
  border-top: 1px solid var(--line-on-ink); border-bottom: 1px solid var(--line-on-ink);
}
.speaking-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 7vw, 5rem); align-items: center;
}
.speaking-grid h2 { margin-top: .9rem; font-size: clamp(1.9rem, 4vw, 3rem); }
.speaking-grid p { color: var(--muted-on-ink); margin-bottom: 1.5rem; }
@media (max-width: 760px) { .speaking-grid { grid-template-columns: 1fr; } }

/* ------- newsletter / coming soon ------- */
.newsletter {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.news-inner { max-width: 42em; margin: 0 auto; text-align: center; }
.news-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.news-inner p { color: var(--muted); margin: 1rem 0 1.8rem; }
.news-form { display: flex; gap: .7rem; max-width: 30em; margin: 0 auto; }
.news-form input[type="email"], .field input, .field textarea, .field select {
  width: 100%;
  font: inherit; color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .8rem 1.3rem;
}
.field select { appearance: none; border-radius: 999px; cursor: pointer; }
.field textarea { border-radius: 18px; min-height: 9rem; resize: vertical; }
.news-form input:focus, .field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
@media (max-width: 560px) { .news-form { flex-direction: column; } }

/* ------- footer ------- */
footer.site {
  background: var(--ink); color: var(--muted-on-ink);
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
  font-size: .95rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-on-ink);
}
footer.site .wordmark { font-size: 1.2rem; margin-bottom: .8rem; }
footer.site h4 {
  color: var(--paper); font-family: var(--sans); font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem;
}
footer.site ul { list-style: none; display: grid; gap: .55rem; }
footer.site a { color: var(--muted-on-ink); text-decoration: none; transition: color .15s; }
footer.site a:hover { color: var(--gold-bright); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem; font-size: .85rem;
}
.platform-row { display: flex; gap: .8rem; margin-top: 1.2rem; }
.platform-row a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-on-ink); border-radius: 50%;
  transition: border-color .15s, color .15s, transform .15s;
}
.platform-row a:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ------- page hero (interior) ------- */
.page-hero {
  --hue: var(--gold);
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -20%, color-mix(in srgb, var(--hue) 26%, transparent), transparent 65%),
    var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  overflow: hidden;
}
.page-hero .watermark {
  position: absolute; right: -4%; bottom: -18%;
  width: clamp(260px, 34vw, 460px); opacity: .1;
  color: var(--hue);
  pointer-events: none;
}
.page-hero .kicker { color: color-mix(in srgb, var(--hue) 70%, white); }
.page-hero .kicker::before { background: var(--hue); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); margin: 1rem 0 1.1rem; max-width: 18em; }
.page-hero .lede { color: var(--muted-on-ink); max-width: 38em; font-size: 1.1rem; }
.subscribe-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.series-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: clamp(2.5rem, 7vw, 6rem); align-items: center;
}
.series-cover-large {
  width: min(100%, 270px); aspect-ratio: 1; justify-self: end;
  border-radius: 22px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--hue) 48%, var(--line-on-ink));
  box-shadow: 0 32px 65px -24px rgba(0,0,0,.72);
  transform: rotate(1.25deg);
}
.series-cover-large img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .series-hero-grid { grid-template-columns: 1fr; }
  .series-cover-large {
    width: min(52vw, 200px); justify-self: start;
    order: -1; transform: rotate(-1deg);
  }
}

/* ------- episode browser ------- */
.ep-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-bottom: 1.8rem;
}
.ep-search { flex: 1 1 260px; position: relative; }
.ep-search input {
  width: 100%; font: inherit; color: var(--text);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: .75rem 1.2rem .75rem 2.9rem;
}
.ep-search input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.ep-search svg {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted);
}
.ep-count { font-size: .9rem; color: var(--muted); font-weight: 600; }

.ep-list { display: grid; gap: 1rem; list-style: none; }
.ep {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.ep:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--hue, var(--gold)) 52%, var(--line));
  box-shadow: 0 18px 42px -30px color-mix(in srgb, var(--hue, var(--gold)) 64%, transparent);
}
.episode-card { padding: 1.2rem 1.25rem 1.05rem; }
.ep-heading {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem; align-items: start; margin-bottom: 1rem;
}
.ep .ep-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 4.4rem; min-height: 2rem; padding: .35rem .65rem;
  border-radius: 999px; background: color-mix(in srgb, var(--hue, var(--gold)) 11%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--hue, var(--gold)) 34%, var(--line));
  font-family: var(--serif); font-style: italic; font-size: .84rem;
  color: var(--hue, var(--gold-deep));
}
.ep .ep-title {
  font-family: var(--sans); font-weight: 800; font-size: 1.04rem;
  line-height: 1.35; letter-spacing: -.005em;
}
.ep .ep-meta { display: block; margin-top: .28rem; font-size: .8rem; color: var(--muted); }
.ep-embed { margin-top: 1rem; }
.ep-embed iframe { border-radius: 12px; width: 100%; height: 152px; border: 0; }
.ep-audio { display: none; }
.episode-player {
  display: grid; grid-template-columns: 56px minmax(130px, 1fr) 42px 42px 42px;
  gap: .55rem; align-items: center;
  padding: .8rem .9rem;
  color: var(--text);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--hue, var(--gold)) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--cream), color-mix(in srgb, var(--hue, var(--gold)) 5%, var(--cream)));
  border: 1px solid color-mix(in srgb, var(--hue, var(--gold)) 26%, var(--line));
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    0 14px 34px -26px color-mix(in srgb, var(--hue, var(--gold)) 80%, transparent);
  transition: box-shadow .25s, border-color .25s;
}
.episode-player.is-playing {
  border-color: color-mix(in srgb, var(--hue, var(--gold)) 48%, var(--line));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    0 20px 46px -24px color-mix(in srgb, var(--hue, var(--gold)) 85%, transparent);
}
.episode-player button {
  border: 0; color: inherit; cursor: pointer;
  display: grid; place-items: center;
}
.ep-play {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background:
    linear-gradient(150deg,
      color-mix(in srgb, var(--hue, var(--gold)) 82%, white) 0%,
      var(--hue, var(--gold)) 55%,
      color-mix(in srgb, var(--hue, var(--gold)) 78%, black) 100%) !important;
  color: #fff !important;
  box-shadow:
    0 8px 20px -8px color-mix(in srgb, var(--hue, var(--gold)) 70%, transparent),
    inset 0 1px 1px rgba(255, 255, 255, .4);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.ep-play .material-symbols-rounded { font-size: 1.7rem; }
.ep-play:hover { transform: scale(1.06); }
.ep-play:active { transform: scale(.95); }
.episode-player.is-playing .ep-play {
  box-shadow:
    0 0 0 5px color-mix(in srgb, var(--hue, var(--gold)) 22%, transparent),
    0 8px 22px -8px color-mix(in srgb, var(--hue, var(--gold)) 75%, transparent);
}
.episode-player.has-error .ep-play {
  background: var(--muted) !important; color: var(--paper) !important;
  cursor: not-allowed; box-shadow: none;
}
.ep-timeline { min-width: 0; padding: 0 .2rem; }
.ep-progress {
  --progress: 0%;
  display: block; width: 100%; height: 22px; margin: 0;
  appearance: none; -webkit-appearance: none; cursor: pointer; background: transparent;
}
.ep-progress::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--hue, var(--gold)) 82%, white) 0%,
      var(--hue, var(--gold)) var(--progress),
      color-mix(in srgb, var(--hue, var(--gold)) 16%, var(--line)) var(--progress));
}
.ep-progress::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 15px; height: 15px;
  margin-top: -4.5px; border-radius: 50%; border: 0;
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hue, var(--gold)) 88%, transparent),
    0 2px 5px -1px rgba(0, 0, 0, .35);
  transform: scale(.72); transition: transform .16s;
}
.ep-progress:hover::-webkit-slider-thumb,
.ep-progress:active::-webkit-slider-thumb { transform: scale(1); }
.ep-progress::-moz-range-track { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--hue, var(--gold)) 16%, var(--line)); }
.ep-progress::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--hue, var(--gold)); }
.ep-progress::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--hue, var(--gold)) 88%, transparent); }
.ep-time {
  display: flex; justify-content: space-between; margin-top: .12rem;
  color: var(--muted); font-size: .72rem; font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.ep-skip, .ep-mute {
  width: 42px; height: 42px; border-radius: 50%;
  background: color-mix(in srgb, var(--hue, var(--gold)) 8%, transparent);
  color: var(--muted) !important;
  transition: color .16s, background .16s, transform .16s;
}
.ep-skip .material-symbols-rounded, .ep-mute .material-symbols-rounded { font-size: 1.25rem; }
.ep-skip:hover, .ep-mute:hover {
  color: var(--hue, var(--gold-deep)) !important;
  background: color-mix(in srgb, var(--hue, var(--gold)) 20%, var(--cream));
  transform: translateY(-1px);
}
.ep-skip:active, .ep-mute:active { transform: translateY(0) scale(.94); }
.ep-notes { margin-top: .8rem; }
.ep-notes-toggle {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .35rem 0; border: 0; background: none; color: var(--muted);
  font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.ep-notes-toggle:hover { color: var(--text); }
.ep-notes-toggle .material-symbols-rounded { font-size: 1.1rem; }
.ep-description {
  display: none; max-width: 68em; padding: .55rem 0 .25rem;
  color: var(--muted); font-size: .94rem; line-height: 1.62;
}
.ep-notes.open .ep-description { display: block; }
.ep button:focus-visible, .ep-progress:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hue, var(--gold)) 62%, white);
  outline-offset: 3px;
}
.ep-empty {
  text-align: center; color: var(--muted); padding: 3rem 1rem;
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
  display: none;
}
@media (max-width: 620px) {
  .episode-card { padding: 1rem; }
  .ep-heading { gap: .7rem; }
  .ep .ep-num { min-width: 3.8rem; }
  .episode-player { grid-template-columns: 52px minmax(0, 1fr) 40px 40px; gap: .3rem; padding: .65rem .55rem; border-radius: 18px; }
  .ep-play { width: 52px; height: 52px; }
  .ep-play .material-symbols-rounded { font-size: 1.55rem; }
  .ep-skip { width: 40px; height: 40px; }
  .ep-mute { display: none !important; }
}

/* ------- prose (about, legal, blog) ------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 .9rem; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { margin: 1rem 0 1rem 1.2rem; color: var(--muted); }
.prose blockquote {
  margin: 2rem 0; padding: 1.4rem 1.8rem;
  border-left: 3px solid var(--gold);
  background: var(--cream); border-radius: 0 12px 12px 0;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
}

/* pillars (about page) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.5rem; }
.pillar {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem;
}
.pillar .mark {
  width: 46px; height: 58px; border-radius: var(--arch);
  background: color-mix(in srgb, var(--gold) 15%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
  display: grid; place-items: center; color: var(--gold-deep);
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.pillar p { font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ------- coming soon ------- */
.soon {
  text-align: center; max-width: 40em; margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.soon .mark {
  width: 84px; height: 104px; margin: 0 auto 2rem;
  border-radius: var(--arch);
  background: color-mix(in srgb, var(--gold) 14%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
  display: grid; place-items: center; color: var(--gold-deep);
}
.soon h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
.soon p { color: var(--muted); margin-bottom: 2rem; }

/* ------- forms page ------- */
.form-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.6rem); max-width: 40em;
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .45rem; }

/* ------- contact ------- */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------- 404 ------- */
.lost { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.lost .big {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(5rem, 16vw, 9rem); color: var(--gold); line-height: 1;
}
.lost h1 { font-size: 1.8rem; margin: 1rem 0 .8rem; }
.lost p { color: var(--muted); margin-bottom: 2rem; }

/* ------- reveal animation ------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------- hebrew (rtl) ------- */
[dir="rtl"] body, body[dir="rtl"] { font-family: "Heebo", var(--sans); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .display,
[dir="rtl"] .wordmark, [dir="rtl"] blockquote, [dir="rtl"] .ep-num {
  font-family: "Frank Ruhl Libre", var(--serif);
}
[dir="rtl"] .kicker { letter-spacing: .06em; }
[dir="rtl"] .kicker::before { order: 2; }
[dir="rtl"] .ep-search input { padding: .75rem 2.9rem .75rem 1.2rem; }
[dir="rtl"] .ep-search svg { left: auto; right: 1.1rem; }
[dir="rtl"] .prose blockquote {
  border-left: 0; border-right: 3px solid var(--gold);
  border-radius: 12px 0 0 12px;
}
[dir="rtl"] .hero h1 em, [dir="rtl"] .hero h1 { letter-spacing: 0; }
