/* FromDemo shared stylesheet - English site (/ , /work/, /blog/). The Hebrew page
   (/he/) keeps its own self-contained styles and is not affected by this file. */
:root {
  --ground: #f8f4ec;
  --surface: #ffffff;
  --surface-2: #f0e9db;
  --ink: #1c1712;
  --muted: #6d6459;
  --accent: #8a5216; /* darkened from #b56a1c 2026-09-01: original failed WCAG AA (3.79:1) on small text against --ground; this hits ~5.8:1 */
  --accent-ink: #ffffff;
  --line: #e7ddcb;
  --shadow: 0 20px 50px -30px rgba(30, 20, 5, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #121113;
    --surface: #1c1a1b;
    --surface-2: #262323;
    --ink: #f5f1ec;
    --muted: #a89f97;
    --accent: #dd8f3a;
    --accent-ink: #1a1109;
    --line: #35312d;
    --shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --ground: #121113;
  --surface: #1c1a1b;
  --surface-2: #262323;
  --ink: #f5f1ec;
  --muted: #a89f97;
  --accent: #dd8f3a;
  --accent-ink: #1a1109;
  --line: #35312d;
  --shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@keyframes frameIn {
  from { opacity: 0; transform: scale(0.97) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-frame { animation: frameIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-copy > * { animation: riseIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-copy .kicker { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.15s; }
.hero-copy p { animation-delay: 0.25s; }
.hero-copy .hero-ctas { animation-delay: 0.35s; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .hero-frame, .hero-copy > * { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.display { font-family: "Fraunces", Georgia, serif; text-wrap: balance; }
.mono { font-family: "IBM Plex Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }

a { color: inherit; }
button { font-family: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- Logo mark ---------- */
.logo-mark { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); }
.logo-mark svg { width: 22px; height: 22px; flex-shrink: 0; }
.logo-wordmark {
  font-family: "Fraunces", serif; font-weight: 700; font-size: 19px;
  letter-spacing: 0.02em; color: var(--ink);
}
.logo-wordmark b { color: var(--accent); font-weight: 700; }
.watermark {
  position: absolute; inset-inline-end: 14px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 5px; opacity: 0.82;
  color: #f5f1ec; text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.watermark svg { width: 13px; height: 13px; }
.watermark span {
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.08em;
  font-weight: 600; text-transform: uppercase;
}

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1040px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-cta {
  background: var(--accent); color: var(--accent-ink);
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  text-decoration: none; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-lang {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--line); padding-bottom: 1px; white-space: nowrap;
}
.nav-lang:hover { color: var(--ink); border-color: var(--ink); }

@media (max-width: 620px) {
  .nav-links { display: none; }
}
/* Below ~470px the logo + language select + nav CTA overflow the viewport.
   The fixed bottom CTA is already visible at this width, so the nav copy of it
   is redundant rather than missing. */
@media (max-width: 560px) {
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.hero-frame {
  position: relative;
  max-width: 340px; width: 100%; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
.letterbar { position: absolute; inset-inline: 0; height: 34px; background: #000; z-index: 3; }
.letterbar.top { top: 0; }
.letterbar.bottom { bottom: 0; }
.hero-frame video, .hero-frame img { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; }
.title-card {
  position: absolute; inset-inline: 0; top: 34px; padding: 18px 20px 0; z-index: 2;
  color: #f4eee1; text-shadow: 0 2px 16px rgba(0,0,0,0.6); pointer-events: none;
}
.eyebrow-onvideo {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #dd8f3a;
}
.hero-copy { text-align: start; max-width: 34rem; margin: 0; }
.kicker {
  display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  font-weight: 600; margin-bottom: 16px;
}
h1 { font-size: clamp(32px, 5.4vw, 50px); font-weight: 900; margin: 0 0 18px; line-height: 1.12; letter-spacing: -0.01em; }
.hero-copy p { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.hero-ctas { display: flex; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
.hero-note {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.04em;
  color: var(--muted); margin: 18px 0 0 !important; max-width: 40ch;
}
@media (max-width: 880px) {
  .hero { padding: 36px 0 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: none; }
  .hero-frame { max-width: 268px; }
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: none; cursor: pointer; transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* ---------- Proof strip ---------- */
.proof-strip { padding: 8px 0 64px; }
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0;
}
.proof-item { text-align: center; padding: 0 12px; border-inline-start: 1px solid var(--line); }
.proof-item:first-child { border-inline-start: none; }
.proof-num {
  font-family: "IBM Plex Mono", monospace; font-size: clamp(26px, 5vw, 38px); font-weight: 600;
  color: var(--accent); display: block;
}
.proof-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) {
  .proof-grid { grid-template-columns: 1fr; gap: 20px; }
  .proof-item { border-inline-start: none; border-top: 1px solid var(--line); padding-top: 16px; }
  .proof-item:first-child { border-top: none; padding-top: 0; }
}

/* ---------- Section shell ---------- */
section { padding: 76px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 620px; margin: 0 0 40px; }
.section-kicker {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; font-family: "Fraunces", serif; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; max-width: 56ch; }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.format-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.format-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.format-num { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent); font-weight: 600; }
.format-card h3 { font-size: 18px; font-weight: 700; margin: 0; font-family: "Fraunces", serif; color: var(--ink); }
.format-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.format-still {
  margin: 0 -24px 4px; overflow: hidden; position: relative;
  aspect-ratio: 16/10; background: var(--ground);
}
.format-still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.format-still .play-badge {
  position: absolute; inset-inline-start: 12px; bottom: 10px;
  display: flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, #000 55%, transparent);
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px);
}
.format-still .play-badge svg { width: 10px; height: 10px; fill: #fff; }
.format-more { margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--accent); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan.featured:hover { transform: translateY(-6px); }
.plan-badge {
  position: absolute; top: -12px; inset-inline-end: 24px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.plan-name { font-family: "Fraunces", serif; font-weight: 700; font-size: 21px; }
.plan-price { font-family: "IBM Plex Mono", monospace; font-size: 28px; font-weight: 600; }
.plan-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: 14.5px; color: var(--ink); padding-inline-start: 22px; position: relative; }
.plan li::before { content: "-"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 700; }
.plan-note { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.pilot-strip {
  margin-top: 22px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px; font-size: 14.5px; color: var(--muted);
}
.pilot-strip b { color: var(--ink); }

/* ---------- Agreement ---------- */
.agreement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .agreement-grid { grid-template-columns: 1fr; } }
.agreement-col { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.agreement-col h3 {
  font-size: 15px; font-weight: 700; margin: 0 0 18px;
  font-family: "IBM Plex Mono", monospace; letter-spacing: 0.02em;
}
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.step-dot {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ground); border: 1.5px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; font-weight: 700;
}
.steps p { margin: 0; font-size: 14.5px; }
.steps span { color: var(--muted); }
.terms { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.terms li { font-size: 14.5px; padding-inline-start: 20px; position: relative; }
.terms li::before { content: "•"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 700; }
.terms b { color: var(--ink); }
.agreement-fineprint {
  grid-column: 1 / -1; font-size: 12.5px; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px;
}

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.trust-card .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 9px; border-radius: 4px; margin-bottom: 10px; font-family: "IBM Plex Mono", monospace;
}
.tag.no { background: color-mix(in srgb, #b0442f 18%, transparent); color: #b0442f; }
.tag.care { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }
.trust-card p { margin: 0; font-size: 14px; color: var(--muted); }
.trust-card p b { color: var(--ink); }

/* ---------- Qualifier ---------- */
.qualifier { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px; box-shadow: var(--shadow); }
.q-step { margin-bottom: 26px; }
.q-step:last-of-type { margin-bottom: 0; }
.q-label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.q-label .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; font-weight: 700; flex-shrink: 0;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-opt {
  background: var(--ground); border: 1.5px solid var(--line); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: all 0.15s ease;
}
.chip-opt:hover { border-color: var(--accent); }
.chip-opt.selected { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.budget-warning {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  font-size: 13.5px; color: var(--ink);
}
.budget-warning.show { display: block; }
.q-preview { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.preview-box {
  background: var(--ground); border: 1px dashed var(--line); border-radius: 12px;
  padding: 16px 18px; font-size: 14px; color: var(--muted); min-height: 52px; white-space: pre-wrap;
}
.preview-box.ready { color: var(--ink); border-style: solid; }
.q-final { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-mail { background: var(--accent); color: var(--accent-ink); opacity: 0.45; pointer-events: none; }
.btn-mail.enabled { opacity: 1; pointer-events: auto; }
.btn-mail svg { width: 18px; height: 18px; }
.btn-copy {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; opacity: 0.45; pointer-events: none;
}
.btn-copy.enabled { opacity: 1; pointer-events: auto; }
.btn-copy.copied { border-color: var(--accent); color: var(--accent); }
.q-hint { font-size: 13px; color: var(--muted); width: 100%; }

/* ---------- Footer ---------- */
footer {
  padding: 40px 0 60px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
footer p { margin: 0; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.sticky-cta {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 50;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 12px 16px; display: none;
  box-shadow: 0 -10px 30px -20px rgba(0,0,0,0.4);
}
.sticky-cta a { display: block; text-align: center; }
@media (max-width: 680px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 68px; }
}
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .hero { padding: 40px 0 12px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 22px 0 0; font-size: 13.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span.sep { opacity: 0.6; }
.breadcrumb span.current { color: var(--ink); font-weight: 600; }

/* ---------- Page header (work/blog index + detail) ---------- */
.page-header { padding: 30px 0 10px; }
.page-header .section-kicker { margin-bottom: 12px; }
.page-header h1 { font-size: clamp(30px, 5vw, 44px); }
.page-header p.lede { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0; }

/* ---------- Work detail ---------- */
.work-still-large {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16/10; background: var(--ground); margin-bottom: 8px;
}
.work-still-large img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-meta {
  display: flex; gap: 24px; flex-wrap: wrap; padding: 18px 0; margin-bottom: 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.work-meta-item { font-size: 13.5px; }
.work-meta-item .k { color: var(--muted); display: block; margin-bottom: 3px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.work-meta-item .v { font-weight: 700; }
.work-body { max-width: 68ch; font-size: 16.5px; }
.work-body p { margin: 0 0 18px; }
.work-body h2 { margin-top: 40px; }
.work-nav-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.work-nav-strip a { font-weight: 700; text-decoration: none; color: var(--accent); font-size: 14.5px; }

/* ---------- Blog list ---------- */
.post-list { display: flex; flex-direction: column; gap: 2px; }
.post-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none;
}
.post-list .post-card:last-child { border-bottom: 1px solid var(--line); }
.post-date { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--muted); }
.post-card h2 { margin: 0 0 6px; font-size: 19px; font-family: "Fraunces", serif; color: var(--ink); font-weight: 700; line-height: 1.3; }
.post-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 560px) {
  .post-card { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Blog post prose ---------- */
.post-header { padding: 30px 0 0; }
.post-header .section-kicker { margin-bottom: 14px; }
.post-header h1 { font-size: clamp(28px, 4.6vw, 42px); margin-bottom: 14px; }
.post-header .post-meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13.5px; font-family: "IBM Plex Mono", monospace; }
.prose { max-width: 68ch; font-size: 17px; }
.prose p { margin: 0 0 20px; }
.prose h2 { margin: 44px 0 16px; font-size: clamp(20px, 3vw, 26px); }
.prose h3 { margin: 32px 0 12px; font-size: 18px; font-family: "Fraunces", serif; font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 20px; padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 20px; border-inline-start: 3px solid var(--accent);
  color: var(--muted); font-style: italic; font-size: 16px;
}
.post-cta {
  margin-top: 48px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 26px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.post-cta p { margin: 0; font-size: 15px; }

/* ---------- Newsletter signup (footer) ---------- */
.newsletter {
  border-top: 1px solid var(--line); padding: 40px 0;
}
.newsletter .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.newsletter-copy h3 {
  font-family: "Fraunces", serif; font-size: 18px; font-weight: 700; margin: 0 0 4px;
}
.newsletter-copy p { margin: 0; font-size: 13.5px; color: var(--muted); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-family: inherit;
  min-width: 240px;
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent); color: var(--accent-ink); border: none;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
/* Honeypot. Uses the clip technique, not a large negative offset: on RTL pages
   a negative left offset adds thousands of pixels to scrollWidth. */
.newsletter-hp {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 560px) {
  .newsletter .wrap { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input[type="email"] { flex: 1; min-width: 0; }
}

/* ---------- Video carousel ---------- */
.reel-wrap { position: relative; }
.reel {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 4px; margin: 0 -24px; padding-inline: 24px;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel-slide {
  flex: 0 0 min(560px, 88vw); scroll-snap-align: start; position: relative;
  border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow);
}
.reel-slide video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.reel-caption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 16px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: #f4eee1; pointer-events: none;
}
.reel-caption .reel-tag {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #dd8f3a; display: block; margin-bottom: 4px;
}
.reel-caption h3 { font-family: "Fraunces", serif; font-size: 17px; font-weight: 700; margin: 0; color: #f4eee1; }
.reel-nav {
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px;
}
.reel-nav button {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.reel-nav button:hover { border-color: var(--accent); transform: translateY(-1px); }
.reel-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 620px) {
  .reel-nav { display: none; }
}

/* ---------- Accessibility utilities (added 2026-09-01, WCAG 2.1 AA / Israeli standard 5568) ---------- */
/* Hidden until focused. Clipped rather than pushed to left:-9999px, which on an
   RTL page produced ~10,000px of horizontal scroll. */
.skip-link {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 999;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  background: var(--accent); color: var(--accent-ink);
  padding: 0; border-radius: 0 0 10px 0; font-weight: 700; text-decoration: none;
}
.skip-link:focus {
  width: auto; height: auto; overflow: visible; clip: auto;
  padding: 12px 18px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Language switcher (added 2026-09-02) ---------- */
.lang-switch {
  appearance: none; -webkit-appearance: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 30px 7px 14px; font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6459' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 14px;
}
[dir="rtl"] .lang-switch { padding: 7px 14px 7px 30px; background-position: left 8px center; }
.lang-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Affiliate resource block ---------- */
.affiliate-block { margin: 44px 0; }
.affiliate-label {
  display: block; font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.affiliate-block a {
  display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #f6efe2;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.affiliate-block a:hover { border-color: var(--accent); transform: translateY(-1px); }
.affiliate-block a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.affiliate-block img { display: block; width: 100%; height: auto; }
.affiliate-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.55; }
.prose .affiliate-block img { margin: 0; }

/* ---------- Selected work (homepage) ---------- */
.work-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card { margin: 0; }
.work-play {
  display: block; position: relative; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; line-height: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.work-play:hover { border-color: var(--accent); transform: translateY(-2px); }
.work-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.work-play img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.work-card video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; border-radius: 14px; border: 1px solid var(--line); }
.play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 92%, transparent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px -8px rgba(0,0,0,0.6);
}
.play-icon svg { width: 24px; height: 24px; fill: var(--accent-ink); margin-inline-start: 3px; }
.work-card figcaption { padding-top: 14px; }
.work-tag {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.work-card figcaption h3 {
  font-family: "Fraunces", Georgia, serif; font-size: 20px; font-weight: 700;
  margin: 6px 0 8px; line-height: 1.25;
}
.work-card figcaption a { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.work-card figcaption a:hover { text-decoration: underline; }
.work-more { margin-top: 30px; }
@media (max-width: 720px) {
  .work-cards { grid-template-columns: 1fr; gap: 30px; }
}
