/*
 * Harei Yehuda site styles: Meshi Barnea's CSS, verbatim and unedited.
 * Source: website/source-meshi-2026-10-18/src/ - index.css, styles/shell.css, styles/home.css,
 * styles/pages.css, concatenated in that order (the import order in src/main.jsx).
 * Each file starts after a "==== src/<file> ====" marker comment.
 * Do not edit by hand. To regenerate, rebuild this file from the four sources in the same order:
 * this header, then for each file a marker comment line followed by the file's exact contents.
 * WordPress-specific overrides, if any, live in wp.css.
 */

/* ==== src/index.css ==== */
/* ============================================================
   Harei Yehuda Stables — Design System
   Warm · Modern · Pastoral · Calm · Premium
   ============================================================ */

:root {
  /* --- Warm neutrals / backgrounds --- */
  --cream: #faf6ee;
  --cream-2: #f4ecdd;
  --cream-3: #ece0cb;
  --paper: #fffdf8;
  --beige: #e6d8bf;
  --beige-soft: #f0e6d3;

  /* --- Greens --- */
  --olive: #6b7a45;
  --olive-deep: #55632f;
  --olive-dark: #3c4a26;
  --olive-darker: #2f3a1e;
  --sage: #93a173;
  --sage-soft: #b7c19c;

  /* --- Earth / warm accents --- */
  --clay: #c07a52;
  --clay-soft: #d59a72;
  --terracotta: #b5623d;
  --gold: #c9a24b;
  --rose: #cf8d86;

  /* --- Text --- */
  --ink: #33302a;
  --ink-soft: #55503f;
  --muted: #7c745f;
  --muted-2: #9a927c;
  --on-dark: #f3eddf;
  --on-dark-muted: #c2c2ad;

  /* --- Lines / surfaces --- */
  --line: #e3d8c3;
  --line-soft: #ede3d2;
  --white: #ffffff;

  /* --- Radius --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* --- Shadows (soft, warm) --- */
  --sh-xs: 0 1px 3px rgba(74, 64, 40, 0.06);
  --sh-sm: 0 4px 14px rgba(74, 64, 40, 0.08);
  --sh-md: 0 10px 30px rgba(74, 64, 40, 0.10);
  --sh-lg: 0 22px 55px rgba(60, 55, 30, 0.16);
  --sh-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.5);

  /* --- Typography --- */
  --font-body: 'Heebo', system-ui, -apple-system, 'Segoe UI', 'Arial Hebrew',
    Arial, sans-serif;
  --font-display: 'Rubik', 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial,
    sans-serif;

  /* --- Layout --- */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 78px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.3s var(--ease);
  --t-slow: 0.55s var(--ease);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--olive-dark);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sage-soft);
  color: var(--olive-dark);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.container-wide {
  max-width: 1440px;
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
}

.section-tight {
  padding-block: clamp(40px, 5vw, 72px);
}

/* ---------- Typographic scale ---------- */
.display {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.08;
}

.h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}
.h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--clay);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--clay-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 54px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .lead {
  margin-top: 14px;
}

.text-muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--olive);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t),
    filter var(--t);
  box-shadow: var(--sh-sm);
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--olive-dark);
  box-shadow: inset 0 0 0 1.5px var(--sage);
}
.btn-ghost:hover {
  --btn-bg: rgba(147, 161, 115, 0.12);
  filter: none;
}

.btn-clay {
  --btn-bg: var(--clay);
}

.btn-whatsapp {
  --btn-bg: #25a865;
}

.btn-light {
  --btn-bg: var(--paper);
  --btn-fg: var(--olive-dark);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.92rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--clay);
  font-weight: 600;
  transition: gap var(--t-fast), color var(--t-fast);
}
.link-arrow:hover {
  gap: 12px;
  color: var(--terracotta);
}
/* arrow points right→left visually for RTL via flip */
.link-arrow svg {
  width: 1.05em;
  height: 1.05em;
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--cream-2);
  color: var(--olive-deep);
}

.chip-soon {
  background: linear-gradient(135deg, var(--gold), var(--clay-soft));
  color: #fff;
}

/* ---------- Image placeholder (designed) ---------- */
.img-ph {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  color: var(--olive-deep);
  background: linear-gradient(135deg, var(--cream-2), var(--beige-soft));
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(147, 161, 115, 0.18),
      transparent 55%
    ),
    radial-gradient(circle at 82% 78%, rgba(192, 122, 82, 0.14), transparent 55%);
  overflow: hidden;
}

.img-ph::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1.5px dashed rgba(107, 122, 69, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.img-ph .img-ph-icon {
  width: 46px;
  height: 46px;
  opacity: 0.65;
}

.img-ph .img-ph-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0.85;
}

.img-ph .img-ph-sub {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 220px;
}

/* frame that fixes aspect ratio for a swappable image */
.media {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}
.media > img,
.media > .img-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media.ratio-16-9 {
  aspect-ratio: 16 / 9;
}
.media.ratio-4-3 {
  aspect-ratio: 4 / 3;
}
.media.ratio-3-2 {
  aspect-ratio: 3 / 2;
}
.media.ratio-1-1 {
  aspect-ratio: 1 / 1;
}
.media.ratio-3-4 {
  aspect-ratio: 3 / 4;
}
.media.ratio-4-5 {
  aspect-ratio: 4 / 5;
}

/* ---------- Decorative divider (botanical dot) ---------- */
.leaf-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--sage);
}
.leaf-rule::before,
.leaf-rule::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(to left, transparent, var(--sage-soft));
}
.leaf-rule::after {
  background: linear-gradient(to right, transparent, var(--sage-soft));
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  right: 16px;
  z-index: 2000;
  background: var(--olive-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: top var(--t);
}
.skip-link:focus {
  top: 16px;
}

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

/* ---------- Entrance animation ----------
   Content is ALWAYS visible by default. The hidden-then-reveal effect only
   applies once JS enables it (adds `.reveal-enabled` on <html>), and a
   safety timeout in useReveal guarantees nothing stays hidden even if the
   IntersectionObserver never fires (screenshots, print, no-scroll renders). */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}
.reveal-enabled .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-enabled .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* page top spacing to clear fixed header */
.page {
  padding-top: var(--header-h);
}

/* ==== src/styles/shell.css ==== */
/* ============================================================
   Global shell — header, side menu, cart drawer, footer
   ============================================================ */

/* ---------- Shared: icon button ---------- */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  color: var(--olive-dark);
  font-size: 1.35rem;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  position: relative;
}
.icon-btn:hover {
  background: rgba(107, 122, 69, 0.12);
}
.icon-btn:active {
  transform: scale(0.94);
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  padding: 3px;
  box-shadow: var(--sh-xs);
  flex-shrink: 0;
}
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--olive-dark);
}
.brand-loc {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--clay);
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-header.is-solid {
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: saturate(1.1) blur(12px);
  box-shadow: 0 1px 0 rgba(227, 216, 195, 0.9), var(--sh-xs);
}
.site-header.is-transparent {
  background: linear-gradient(to bottom, rgba(35, 40, 20, 0.42), transparent);
}
.site-header.is-transparent .brand-name {
  color: #fff;
}
.site-header.is-transparent .brand-loc {
  color: var(--beige);
}
.site-header.is-transparent .icon-btn {
  color: #fff;
}
.site-header.is-transparent .icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.site-header.is-transparent .brand-logo {
  background: rgba(255, 255, 255, 0.92);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-btn .cart-badge {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--clay);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.header-cta {
  margin-inline: 6px;
}
.site-header.is-transparent .header-cta {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.menu-btn {
  width: auto;
  padding-inline: 14px;
  gap: 8px;
  background: rgba(107, 122, 69, 0.1);
}
.site-header.is-transparent .menu-btn {
  background: rgba(255, 255, 255, 0.16);
}
.menu-btn-label {
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .header-social,
  .menu-btn-label {
    display: none;
  }
  .brand-loc {
    display: none;
  }
  .brand-name {
    font-size: 1.1rem;
  }
}

/* ---------- Overlay (shared by menu + cart) ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 44, 24, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
  border: none;
  cursor: pointer;
  z-index: 1;
}

/* ---------- Side menu ---------- */
.menu-root {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.menu-root.open {
  pointer-events: auto;
}
.menu-root.open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
/* Site is RTL: the menu slides in from the RIGHT (inline-start).
   Physical anchoring + physical transform avoids the logical/RTL flip bug. */
.menu-panel {
  position: fixed;
  inset-block: 0;
  right: 0;
  width: min(440px, 92vw);
  background: var(--cream);
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 30px));
  transition: transform var(--t-slow);
  z-index: 2;
}
.menu-root.open .menu-panel {
  transform: translateX(0);
}
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.menu-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px var(--gutter) 8px;
}
.menu-section {
  margin-bottom: 18px;
}
.menu-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--clay);
  margin-bottom: 6px;
  padding-inline-start: 6px;
}
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-weight: 500;
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast), padding var(--t-fast);
}
.menu-link:hover {
  background: var(--paper);
  color: var(--olive-deep);
  padding-inline-start: 20px;
}
.menu-link-arrow {
  font-size: 1.1rem;
  color: var(--sage);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.menu-link:hover .menu-link-arrow {
  opacity: 1;
}
.menu-foot {
  display: flex;
  gap: 12px;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
}
.menu-foot-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--olive-dark);
  font-weight: 600;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.menu-foot-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.menu-foot-btn svg {
  font-size: 1.25rem;
}

/* ---------- Side menu — new IA hierarchy ---------- */
.menu-list--lead {
  margin-bottom: 14px;
}
/* Primary rows = the six main areas + הסיפור שלנו: most prominent (Rubik). */
.menu-link--primary {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--olive-dark);
}
/* Secondary resource links + general links: lighter than the main areas. */
.menu-link--secondary,
.menu-link--general {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}

/* Umbrella accordion parent — a button that expands, never navigates. */
.menu-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: start;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: none;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--olive-dark);
  transition: background var(--t-fast), color var(--t-fast);
}
.menu-parent:hover {
  background: var(--paper);
  color: var(--olive-deep);
}
.menu-parent.is-open {
  color: var(--olive-deep);
}

/* + / − indicator (horizontal bar always; vertical bar collapses when open). */
.menu-plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--sage);
}
.menu-parent.is-open .menu-plus {
  color: var(--olive-deep);
}
.menu-plus::before,
.menu-plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.menu-plus::before {
  top: 50%;
  inset-inline: 2px;
  height: 2px;
  transform: translateY(-50%);
}
.menu-plus::after {
  inset-block: 2px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.menu-parent.is-open .menu-plus::after,
.menu-subtoggle.is-open .menu-plus::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

/* Hybrid row: a navigating label + an independent expand/collapse control. */
.menu-linkgroup {
  display: flex;
  align-items: center;
}
.menu-linkgroup-link {
  flex: 1;
  min-width: 0;
}
.menu-subtoggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  color: var(--sage);
  transition: background var(--t-fast), color var(--t-fast);
}
.menu-subtoggle:hover {
  background: var(--paper);
  color: var(--olive-deep);
}
.menu-subtoggle.is-open .menu-plus {
  color: var(--olive-deep);
}

/* Child items — visually subordinate, indented from the RTL start edge. */
.menu-sub {
  margin: 2px 12px 8px;
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--line);
  animation: menuSubIn 0.28s var(--ease) both;
}
@keyframes menuSubIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.menu-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast), padding var(--t-fast);
}
.menu-sublink:hover {
  background: var(--paper);
  color: var(--olive-deep);
  padding-inline-start: 18px;
}

/* Items with no destination page yet: shown, but not clickable. */
.menu-item--pending,
.menu-sublink--pending {
  color: var(--muted-2);
  cursor: default;
}
.menu-item--pending:hover,
.menu-sublink--pending:hover {
  background: none;
  color: var(--muted-2);
  padding-inline-start: 12px;
}
.menu-soon {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--cream-2);
  padding: 2px 9px;
  border-radius: var(--r-pill);
}

/* Legal links — subtle, separate from the resource section. */
.menu-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 12px 14px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.menu-legal-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  transition: color var(--t-fast);
}
.menu-legal-link:hover {
  color: var(--olive-deep);
}

/* ---------- Cart drawer ---------- */
.cart-root {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}
.cart-root.open {
  pointer-events: auto;
}
.cart-root.open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
/* Site is RTL: the cart slides in from the LEFT (inline-end).
   Physical anchoring + physical transform avoids the logical/RTL flip bug. */
.cart-panel {
  position: fixed;
  inset-block: 0;
  left: 0;
  width: min(440px, 94vw);
  background: var(--cream);
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(calc(-100% - 30px));
  transition: transform var(--t-slow);
  z-index: 2;
}
.cart-root.open .cart-panel {
  transform: translateX(0);
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.cart-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--r-pill);
  background: var(--sage-soft);
  color: var(--olive-dark);
  font-size: 0.82rem;
  font-family: var(--font-body);
  margin-inline-start: 8px;
}
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  text-align: center;
}
.cart-empty-icon {
  font-size: 2.6rem;
  color: var(--sage);
  margin-bottom: 6px;
}
.cart-empty p {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--olive-dark);
}
.cart-empty .btn {
  margin-top: 8px;
}
.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px var(--gutter);
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-item-media {
  width: 74px;
  height: 74px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-2);
}
.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 1.6rem;
}
.cart-item-body {
  flex: 1;
  min-width: 0;
}
.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.cart-item-title {
  font-weight: 600;
  color: var(--ink);
}
.cart-item-variant {
  font-size: 0.85rem;
  color: var(--muted);
}
.cart-remove {
  color: var(--muted-2);
  font-size: 1.05rem;
  padding: 2px;
  transition: color var(--t-fast);
  flex-shrink: 0;
}
.cart-remove:hover {
  color: var(--terracotta);
}
.cart-item-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.cart-item-tag.physical {
  background: var(--cream-3);
  color: var(--olive-deep);
}
.cart-item-tag.digital {
  background: #e5ded0;
  color: var(--clay);
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
}
.qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-dark);
  font-size: 1rem;
  transition: background var(--t-fast);
}
.qty button:hover {
  background: var(--cream-2);
}
.qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}
.cart-item-price {
  font-weight: 700;
  color: var(--olive-dark);
}
/* Compact upgrade nudges inside the drawer, directly above the summary/foot. */
.cart-upsell {
  flex-shrink: 0;
  max-height: 38vh;
  overflow-y: auto;
  padding: 12px var(--gutter);
  border-top: 1px solid var(--line-soft);
  background: var(--cream-2);
}
.cart-upsell-title {
  font-weight: 600;
  color: var(--olive-dark);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.cart-upsell-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-upsell-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.cart-upsell-media {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream-2);
}
.cart-upsell-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-upsell-media .cart-item-ph {
  font-size: 1.2rem;
}
.cart-upsell-body {
  flex: 1;
  min-width: 0;
}
.cart-upsell-name {
  font-weight: 600;
  color: var(--olive-deep);
  font-size: 0.85rem;
  line-height: 1.3;
}
.cart-upsell-delta {
  color: var(--sage);
  font-weight: 600;
  font-size: 0.76rem;
  margin-top: 2px;
}
.cart-upsell-btn {
  flex-shrink: 0;
  padding: 7px 14px;
}
.cart-foot {
  padding: 18px var(--gutter) 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.15rem;
}
.cart-total {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--olive-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.cart-total-note {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-body);
}
.cart-checkout {
  width: 100%;
}
.cart-continue {
  width: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 500;
  padding: 8px;
}
.cart-continue:hover {
  color: var(--olive-deep);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--olive-dark);
  color: var(--on-dark);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
}
.brand-on-dark .brand-name {
  color: #fff;
}
.brand-on-dark .brand-loc {
  color: var(--beige);
}
.footer-tagline {
  margin-top: 18px;
  color: var(--on-dark-muted);
  max-width: 34ch;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social .icon-btn {
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
}
.footer-social .icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.footer-col-title {
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a,
.footer-contact span {
  color: var(--on-dark-muted);
  transition: color var(--t-fast);
  font-size: 0.96rem;
}
.footer-col a:hover {
  color: #fff;
}
.footer-contact li {
  margin-bottom: 12px;
}
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-contact svg {
  font-size: 1.1rem;
  color: var(--sage-soft);
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 20px;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-legal a:hover {
  color: #fff;
}
.footer-legal .dot {
  opacity: 0.5;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==== src/styles/home.css ==== */
/* ============================================================
   Homepage
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 50% 42%,
      rgba(30, 34, 18, 0.12),
      rgba(30, 34, 18, 0.5) 100%
    ),
    linear-gradient(to bottom, rgba(30, 34, 18, 0.28), rgba(30, 34, 18, 0.15) 45%, rgba(40, 46, 26, 0.55));
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  animation: rise 1s var(--ease) both;
}
.hero-title {
  color: #fff;
  text-shadow: 0 2px 30px rgba(20, 24, 10, 0.4);
  font-weight: 700;
}
.hero-tagline {
  margin: 22px auto 0;
  max-width: 30ch;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 400;
  line-height: 1.7;
  color: #fbf7ee;
  text-shadow: 0 1px 18px rgba(20, 24, 10, 0.5);
}
.hero-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  z-index: 1;
}
.hero-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Story + What's New ---------- */
.story-section {
  background: linear-gradient(to bottom, var(--cream), var(--cream-2));
}
.story-grid {
  max-width: 1360px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
}
.story-text {
  padding: clamp(30px, 3.2vw, 46px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.story-text .eyebrow {
  margin-bottom: 18px;
}
.story-text h2 {
  margin-bottom: 20px;
}
.story-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.story-leaf {
  color: var(--sage);
  font-size: 1.8rem;
  margin: 10px 0 20px;
}
.story-btn {
  margin-top: auto;
  align-self: flex-start;
}
.story-media {
  height: 100%;
}
.story-media .media {
  height: 100%;
  min-height: 440px;
  box-shadow: var(--sh-md);
}
.whatsnew {
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.whatsnew-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--olive-dark);
}
.whatsnew-head svg {
  font-size: 1.4rem;
  color: var(--clay);
}
.whatsnew-all {
  margin-top: 18px;
  width: 100%;
}

/* ---------- Calendar ---------- */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--olive-dark);
}
.cal-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-deep);
  background: var(--cream-2);
  font-size: 1.1rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.cal-nav:hover {
  background: var(--sage-soft);
  transform: scale(1.05);
}
.cal-dow,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cal-dow {
  margin-bottom: 4px;
}
.cal-dow span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-2);
  padding: 4px 0;
}
.cal-cell {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
}
.cal-cell.empty {
  visibility: hidden;
}
.cal-cell:disabled {
  cursor: default;
  color: var(--muted-2);
}
.cal-cell.today {
  color: var(--clay);
  font-weight: 700;
}
.cal-cell.has-event {
  color: var(--olive-dark);
  font-weight: 700;
  background: var(--cream-2);
  cursor: pointer;
}
.cal-cell.has-event:hover {
  background: var(--sage-soft);
}
.cal-cell.selected {
  background: var(--olive);
  color: #fff;
}
.cal-dot {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}
.cal-cell.selected .cal-dot {
  background: #fff;
}
.cal-events {
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.cal-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 10px 0;
}
.cal-event {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}
.cal-event + .cal-event {
  border-top: 1px solid var(--line-soft);
}
.cal-event-media {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}
.cal-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cal-event-title {
  font-weight: 700;
  color: var(--olive-dark);
  font-size: 0.98rem;
  line-height: 1.3;
}
.cal-event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3px 0 5px;
  font-size: 0.82rem;
  color: var(--muted);
}
.cal-event-date {
  font-weight: 700;
  color: var(--clay);
}
.cal-event-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cal-event-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.cal-event-cta {
  font-size: 0.85rem;
  margin-top: 5px;
}

/* ---------- Areas (הדרך שלנו) ---------- */
.areas-section {
  background: var(--cream);
}
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 820px;
  margin: 0 auto;
}
/* Six main areas → balanced 3 across (2 rows of 3) on desktop */
.area-card-wrap {
  flex: 0 1 calc(33.333% - 15px);
  min-width: 160px;
  max-width: 236px;
}
.area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 26px 18px 24px;
  height: 100%;
  background: var(--paper);
}
.area-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--cream-2), var(--beige-soft));
  color: var(--olive-deep);
  font-size: 1.85rem;
  transition: background var(--t), color var(--t), transform var(--t);
}
.area-card:hover .area-icon {
  background: linear-gradient(140deg, var(--olive), var(--sage));
  color: #fff;
  transform: scale(1.06) rotate(-3deg);
}
/* Supplied PNG activity icons: use exact file, centered in the existing
   container, aspect preserved. Keep the badge light on hover so the icon
   (transparent green line-art) stays visible. */
.area-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* The therapy-center icon's artwork fills more of its own canvas than the other
   supplied icons, so inset only this image (object-fit keeps it centered inside
   the SAME container) to match their visual scale. The file itself is unchanged;
   its transparent area still lets the beige container show through. */
.area-icon-img[src*='therapy-center-icon'] {
  padding: 15%;
}
.area-card:hover .area-icon.has-img {
  background: linear-gradient(140deg, var(--cream-2), var(--beige-soft));
  transform: scale(1.06) rotate(-3deg);
}
.area-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--olive-dark);
}
.area-blurb {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}
/* Cards whose destination route is not defined yet: still styled like a card,
   but not clickable (no hover lift / pointer). */
.area-card--static {
  cursor: default;
}

/* ---------- Gallery (יום בחווה) ---------- */
.day-section {
  background: linear-gradient(to bottom, var(--cream-2), var(--cream));
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--sh-xs);
  cursor: pointer;
}
.gallery-item.feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40, 44, 24, 0.28), transparent 50%);
  opacity: 0;
  transition: opacity var(--t);
}
.gallery-item:hover .gallery-veil {
  opacity: 1;
}
.day-more {
  text-align: center;
  margin-top: 30px;
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rise 0.3s var(--ease);
}
.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 14, 0.9);
  border: none;
  cursor: zoom-out;
}
.lb-figure {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
}
.lb-caption {
  color: #f3eddf;
  margin-top: 14px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lb-counter {
  color: #b7b7a0;
  font-size: 0.85rem;
}
.lb-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lb-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lb-prev {
  inset-inline-end: 20px;
}
.lb-next {
  inset-inline-start: 20px;
}

/* ---------- Knowledge center ---------- */
.knowledge-section {
  background: var(--cream);
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
.knowledge-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.knowledge-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}
.knowledge-icon {
  position: absolute;
  top: -26px;
  inset-inline-end: 22px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--sh-sm);
}
.knowledge-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.knowledge-blurb {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.knowledge-link {
  align-self: flex-start;
}

/* ---------- TheraNote promo ---------- */
.theranote-promo-section {
  background: linear-gradient(to bottom, var(--cream), var(--cream-2));
}
.theranote-promo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, #1f3a34, #2c5049);
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 56px);
  color: #eaf3f0;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.theranote-promo::before {
  content: '';
  position: absolute;
  inset-block-start: -40%;
  inset-inline-start: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(120, 200, 180, 0.16), transparent 65%);
}
.theranote-promo-body {
  position: relative;
}
.theranote-eyebrow {
  color: #8fd3c2;
}
.theranote-eyebrow::before {
  background: #8fd3c2;
}
.theranote-title {
  color: #fff;
  margin: 12px 0 10px;
}
.theranote-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: #b6e3d6;
  margin-bottom: 14px;
}
.theranote-text {
  color: #cfe4de;
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 46ch;
}
.theranote-btn {
  --btn-bg: #7fd0bd;
  --btn-fg: #10302a;
  font-weight: 700;
}
.theranote-promo-media .media {
  box-shadow: var(--sh-lg);
  border: 4px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Event CTA ---------- */
.event-cta-section {
  background: var(--cream-2);
}
.event-cta {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  min-height: 340px;
  background: linear-gradient(135deg, #6d5334, #877046);
}
.event-cta-media {
  position: relative;
}
.event-cta-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-cta-body {
  padding: clamp(30px, 4vw, 56px);
  color: #fbf3e6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.event-cta-leaf {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}
.event-cta-body h2 {
  color: #fff;
  margin-bottom: 14px;
}
.event-cta-body p {
  color: #f1e6d3;
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 44ch;
}
.event-cta-body .btn {
  align-self: flex-start;
}

/* ---------- Contact / Visit ---------- */
.contact-section {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.3fr;
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}
.contact-brand-card {
  background: var(--olive-dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.contact-brand-logo {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
  margin-bottom: 18px;
}
.contact-brand-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #fff;
}
.contact-brand-leaf {
  font-size: 2.2rem;
  color: var(--sage-soft);
  margin-top: 16px;
}
.contact-brand-social {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}
.contact-brand-social .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.contact-brand-social .icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.contact-details {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-2);
  font-weight: 600;
}
.contact-list a,
.contact-list div > span:last-child {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast);
}
.contact-list a:hover {
  color: var(--clay);
}
.contact-details .btn {
  margin-top: 24px;
}
.contact-map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 300px;
  box-shadow: var(--sh-sm);
  background: var(--cream-2);
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9);
}
.contact-waze {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-start: 16px;
  z-index: 1;
  box-shadow: var(--sh-md);
}

/* ============================================================
   Responsive — homepage
   ============================================================ */
@media (max-width: 1080px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .whatsnew {
    grid-column: 1 / -1;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-map {
    grid-column: 1 / -1;
    min-height: 320px;
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .areas-grid {
    max-width: 640px;
  }
  .area-card-wrap {
    flex: 0 1 calc(33.333% - 15px);
  }
}

@media (max-width: 760px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-media {
    order: -1;
  }
  .story-media .media {
    min-height: 300px;
  }
  .theranote-promo {
    grid-template-columns: 1fr;
  }
  .theranote-promo-media {
    order: -1;
  }
  .event-cta {
    grid-template-columns: 1fr;
  }
  .event-cta-media {
    min-height: 220px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.feature {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .area-card-wrap {
    flex: 0 1 calc(50% - 9px);
    max-width: none;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 82vh;
  }
}

/* ==== src/styles/pages.css ==== */
/* ============================================================
   Internal pages
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 72px));
  padding-bottom: clamp(36px, 6vw, 66px);
  overflow: hidden;
}
.page-hero.plain {
  background: linear-gradient(135deg, var(--cream-2), var(--beige-soft));
}
.page-hero.has-image {
  color: #fff;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 34, 18, 0.55), rgba(30, 34, 18, 0.4)),
    linear-gradient(to top, rgba(30, 34, 18, 0.6), transparent 60%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero.align-center .page-hero-inner {
  margin-inline: auto;
  text-align: center;
}
.page-hero.align-center .eyebrow,
.page-hero.align-center .crumbs {
  justify-content: center;
}
.page-hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-top: 8px;
}
.page-hero.has-image .page-hero-title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(20, 24, 10, 0.4);
}
.page-hero.has-image .eyebrow {
  color: #ffdca8;
}
.page-hero.has-image .eyebrow::before {
  background: #ffdca8;
}
.page-hero-sub {
  margin-top: 16px;
}
.page-hero.has-image .page-hero-sub {
  color: #f3ecdd;
  text-shadow: 0 1px 14px rgba(20, 24, 10, 0.4);
}
.page-hero-badge {
  margin-bottom: 12px;
}
.page-hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.page-hero.align-center .page-hero-actions {
  justify-content: center;
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: var(--muted);
}
.page-hero.has-image .crumbs {
  color: rgba(255, 255, 255, 0.85);
}
.crumbs a:hover {
  color: var(--clay);
}
.page-hero.has-image .crumbs a:hover {
  color: #fff;
}
.crumbs svg {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ---------- Prose / content ---------- */
.prose-wrap {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.prose-narrow {
  max-width: 820px;
  margin-inline: auto;
}
.prose-single {
  max-width: 760px;
  margin-inline: auto;
}
.prose-single .intro-lead {
  color: var(--ink-soft);
}

/* Area side column (audience + intake + cta) */
.area-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.intake-card {
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
}
.intake-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--sage);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.intake-card h3 {
  margin-bottom: 8px;
}
.intake-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.area-side-cta {
  align-self: flex-start;
}
/* Inline secondary CTA that belongs to a specific prose section (e.g. ASTride). */
.prose-cta {
  margin-top: 10px;
}
/* External CTA on a simplified partner/program page (Beit Daniella, Hosen). */
.area-simple-cta {
  margin-top: 22px;
}
/* ============================================================
   /therapeutic-riding editorial content (page-specific)
   Only used by RidingContent.jsx — no other area page is affected.
   ============================================================ */
.ir-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 88px);
}

/* 1 — Intro: comfortable editorial reading width */
.ir-intro {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
}
.ir-intro .h2 {
  margin-bottom: 18px;
}
.ir-intro p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.ir-intro p:last-child {
  margin-bottom: 0;
}

/* 2 — Image + text */
.ir-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.ir-split-text .h2 {
  margin-bottom: 16px;
}
.ir-split-text p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.ir-split-text p:last-child {
  margin-bottom: 0;
}
.ir-split-media .media {
  box-shadow: var(--sh-md);
}

/* 3 — Research block: distinct, restrained beige container */
.ir-research {
  max-width: 880px;
  width: 100%;
  margin-inline: auto;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--sh-sm);
}
.ir-research-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--olive-deep);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.ir-research .h3 {
  margin-bottom: 14px;
}
.ir-research p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.ir-research-cta {
  margin-top: 6px;
}

/* 4 — Intake CTA band: full-width conclusion before the gallery */
.ir-intake {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  background: linear-gradient(140deg, var(--cream-2), var(--beige-soft));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  box-shadow: var(--sh-sm);
}
.ir-intake-text {
  max-width: 620px;
}
.ir-intake-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--sage);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.ir-intake-text .h3 {
  margin-bottom: 8px;
}
.ir-intake-text p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.ir-intake-cta {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .ir-split {
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 32px);
  }
  .ir-intake {
    flex-direction: column;
    align-items: stretch;
  }
  .ir-intake-cta {
    align-self: flex-start;
  }
}

/* ============================================================
   /therapeutic-dog editorial content (page-specific)
   Only used by DogContent.jsx — no other area page is affected.
   ============================================================ */
.dt-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 88px);
}

/* 1 — Intro: comfortable editorial reading width */
.dt-intro {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
}
.dt-intro .h2 {
  margin-bottom: 18px;
}
.dt-intro p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.dt-intro p:last-child {
  margin-bottom: 0;
}

/* 2 — Six therapeutic areas: compact editorial blocks (2 x 3 on desktop).
   Wider and shorter than cards: an icon + title header row, then the text,
   with only a very subtle surface so they read as content sections, not
   clickable buttons (no shadow). */
.dt-areas-head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  text-align: center;
}
.dt-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 26px) clamp(24px, 3vw, 44px);
}
.dt-area-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  /* Reduced vertical padding to trim empty space; horizontal padding (width)
     unchanged. Rows stay equal-height via the grid's default stretch. */
  padding: clamp(12px, 1.1vw, 16px) clamp(18px, 1.9vw, 26px);
}
.dt-area-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dt-area-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--olive-deep);
  font-size: 1.2rem;
}
.dt-area-title {
  font-size: 1.05rem;
  color: var(--olive-dark);
}
.dt-area-card p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* 3 — Image + text */
.dt-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.dt-split-text .h2 {
  margin-bottom: 16px;
}
.dt-split-text p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.dt-split-text p:last-child {
  margin-bottom: 0;
}
.dt-split-media .media {
  box-shadow: var(--sh-md);
}

/* 4 — Session: soft panel */
.dt-session {
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--sh-sm);
}
.dt-session-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--olive-deep);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.dt-session .h2 {
  margin-bottom: 14px;
}
.dt-session p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.dt-session p:last-child {
  margin-bottom: 0;
}

/* 5 — Intake CTA band */
.dt-intake {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  background: linear-gradient(140deg, var(--cream-2), var(--beige-soft));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  box-shadow: var(--sh-sm);
}
.dt-intake-text {
  max-width: 620px;
}
.dt-intake-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--sage);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.dt-intake-text .h3 {
  margin-bottom: 8px;
}
.dt-intake-text p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.dt-intake-cta {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .dt-areas-grid {
    grid-template-columns: 1fr;
  }
  .dt-split {
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 32px);
  }
  .dt-intake {
    flex-direction: column;
    align-items: stretch;
  }
  .dt-intake-cta {
    align-self: flex-start;
  }
}

/* ============================================================
   /animal-assisted-therapy editorial content (page-specific)
   Only used by AnimalContent.jsx — no other area page is affected.
   Intentionally lighter and more concise than the dog page: three open
   themes in a centered row (not bordered cards), one split, then intake.
   ============================================================ */
.aa-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 88px);
}

/* 1 — Intro: comfortable editorial reading width */
.aa-intro {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
}
.aa-intro .h2 {
  margin-bottom: 18px;
}
.aa-intro p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.aa-intro p:last-child {
  margin-bottom: 0;
}

/* 2 — Three themes: open columns, centered, no card chrome (distinct from
   the dog page's bordered grid). A soft divider between the title and row. */
.aa-themes-title {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}
.aa-themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.4vw, 52px);
}
.aa-theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: clamp(4px, 0.8vw, 12px);
}
.aa-theme-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  color: var(--olive-deep);
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.aa-theme-title {
  font-size: 1.1rem;
  color: var(--olive-dark);
  margin-bottom: 10px;
}
.aa-theme p {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 0.96rem;
}

/* 3 — Image + text (one authentic photo of the farm space) */
.aa-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.aa-split-text .h2 {
  margin-bottom: 16px;
}
.aa-split-text p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.aa-split-text p:last-child {
  margin-bottom: 0;
}
.aa-split-media .media {
  box-shadow: var(--sh-md);
}

/* 4 — Intake CTA band (matches the shared editorial pattern) */
.aa-intake {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  background: linear-gradient(140deg, var(--cream-2), var(--beige-soft));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  box-shadow: var(--sh-sm);
}
.aa-intake-text {
  max-width: 620px;
}
.aa-intake-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--sage);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.aa-intake-text .h3 {
  margin-bottom: 8px;
}
.aa-intake-text p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.aa-intake-cta {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .aa-themes-grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
    max-width: 520px;
    margin-inline: auto;
  }
  .aa-split {
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 32px);
  }
  .aa-intake {
    flex-direction: column;
    align-items: stretch;
  }
  .aa-intake-cta {
    align-self: flex-start;
  }
}

/* Animals list (animal-assisted therapy) */
.animals-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.animals-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  color: var(--olive-deep);
  font-weight: 600;
  font-size: 0.95rem;
}
.animals-list svg {
  color: var(--sage);
  font-size: 1.05rem;
}
.intro-lead {
  margin-bottom: 30px;
  color: var(--ink-soft);
}
.prose-block {
  margin-bottom: 26px;
}
.prose-block h2,
.prose-block h3 {
  margin-bottom: 10px;
}
.prose-block p {
  color: var(--ink-soft);
  line-height: 1.8;
}

/* Audience card */
.audience-card {
  padding: clamp(24px, 3vw, 32px);
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--paper);
}
.audience-card h3 {
  margin-bottom: 16px;
}
.audience-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.audience-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 500;
}
.audience-list svg {
  color: var(--sage);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Poster (designed graphic, e.g. resilience) */
.poster-section {
  background: var(--cream-2);
}
.poster-image {
  display: block;
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}

/* Area gallery + related */
.area-gallery-section {
  background: var(--cream-2);
}
.related-section {
  background: var(--cream);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 30px 22px;
  height: 100%;
  background: var(--paper);
}
.related-card .link-arrow {
  margin-top: auto;
}

/* ---------- Products (books) ---------- */
.books-intro {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  /* Cap to the width of exactly two cards + gap and center the pair, so the
     two products don't sit against the right with an empty track on the left.
     On narrow screens the grid is naturally < max-width, so it collapses to a
     single centered column exactly as before. */
  max-width: 730px;
  margin-inline: auto;
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-media {
  position: relative;
}
.product-age {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}
.product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title {
  font-size: 1.3rem;
  color: var(--olive-dark);
}
.product-subtitle {
  color: var(--clay);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 2px 0 10px;
}
.product-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
/* Variant selector — compact 2-column grid of selectable cards.
   The radio inputs stay for accessibility/keyboard but are visually hidden;
   the cards themselves carry the selected state. */
.product-variants {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.variant-option {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--cream-2);
  border: 1.5px solid var(--line-soft);
  cursor: pointer;
  text-align: start;
  transition: border var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.variant-option:hover {
  border-color: var(--olive);
}
/* Visually hidden radio (kept accessible for keyboard/AT). */
.variant-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.variant-option-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--olive-deep);
  line-height: 1.25;
}
.variant-option-price {
  font-weight: 700;
  color: var(--olive-dark);
  font-size: 0.92rem;
  white-space: nowrap;
}
.variant-option.active {
  border-color: var(--olive);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--olive);
}
.variant-option:focus-within {
  border-color: var(--olive);
}
@media (max-width: 380px) {
  .product-variants {
    grid-template-columns: 1fr;
  }
}
/* Digital "כולל דיגיטלי" badge + preview button */
.product-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--olive);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}
.product-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  color: var(--olive-deep);
  font-weight: 600;
  font-size: 0.86rem;
  transition: border var(--t-fast), background var(--t-fast);
}
.product-preview-btn:hover {
  border-color: var(--olive);
}
.product-preview-btn svg {
  font-size: 1.05rem;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.product-price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  /* Body font (matches the variant-selector prices and the rest of the page);
     weight/size carry the emphasis instead of a second font family. */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--olive-dark);
}
.product-vat {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}
.books-note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  margin: clamp(34px, 4vw, 52px) auto 0;
  padding: 20px 26px;
  background: var(--cream-2);
  border-radius: var(--r-lg);
  color: var(--ink-soft);
}
.books-note svg {
  color: var(--gold);
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Skeleton placeholders */
.is-placeholder {
  opacity: 0.85;
}
.skeleton-line {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cream-2), var(--beige-soft), var(--cream-2));
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  margin-bottom: 10px;
}
.w-90 { width: 90%; }
.w-70 { width: 70%; }
.w-50 { width: 50%; }
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
.btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  box-shadow: none;
}

/* ---------- "בקרוב" grids & empty states ---------- */
.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
  max-width: 900px;
  margin-inline: auto;
}
.soon-card {
  display: flex;
  flex-direction: column;
}
.soon-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.soon-body p {
  color: var(--muted);
  flex: 1;
}
.empty-state {
  padding: clamp(34px, 4vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--paper);
}
.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--cream-2);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.empty-state p {
  color: var(--muted);
  max-width: 42ch;
}

/* Lectures */
.lectures-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}
.block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.block-ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.lectures-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 12px;
}

/* Feature split (games etc.) */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.feature-split-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.feature-split-body .lead {
  margin: 4px 0;
}

/* ---------- Research / ASTride ---------- */
.research-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  margin-top: 8px;
}
.research-feature-media {
  position: relative;
  min-height: 320px;
}
.research-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.astride-badge {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  color: var(--olive-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
  box-shadow: var(--sh-sm);
}
.research-feature-body {
  padding: clamp(28px, 3.5vw, 46px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.research-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--olive-dark);
  margin-top: 6px;
}
.research-sub {
  color: var(--clay);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.research-desc {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 8px 0 18px;
}
.articles-more {
  margin-top: clamp(30px, 4vw, 48px);
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- ASTride page ---------- */
.astride-intro-section {
  padding-bottom: clamp(28px, 4vw, 48px);
}
.astride-lead {
  text-align: center;
}
.astride-lead .lead {
  margin-bottom: 18px;
}
.astride-lead p {
  color: var(--ink-soft);
  line-height: 1.85;
}

/* Editorial text blocks (sections 2–4) */
.astride-editorial {
  padding-top: 0;
}
.astride-block .eyebrow {
  margin-bottom: 12px;
}
.astride-block h2 {
  margin-bottom: 14px;
}
.astride-block p {
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 14px;
}
.astride-divider {
  margin-block: clamp(30px, 4.5vw, 48px);
}

/* Research carousel */
.astride-carousel-section {
  background: var(--cream-2);
}
.astride-carousel {
  max-width: 560px;
  margin-inline: auto;
}
.ac-viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line-soft);
  touch-action: pan-y;
}
.ac-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}
.ac-slide {
  flex: 0 0 100%;
}
.ac-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--cream);
}
.ac-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.ac-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--olive-dark);
  box-shadow: var(--sh-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.ac-arrow:hover {
  background: var(--cream-2);
  transform: scale(1.06);
}
.ac-dots {
  display: flex;
  gap: 8px;
}
.ac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-soft);
  transition: background var(--t-fast), transform var(--t-fast);
}
.ac-dot.active {
  background: var(--olive);
  transform: scale(1.3);
}
.ac-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 42px;
  text-align: center;
  direction: ltr;
}

/* Dr. Chen profile */
.astride-profile {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 48px);
  box-shadow: var(--sh-sm);
}
.astride-profile-media .media {
  box-shadow: var(--sh-md);
}
.astride-profile-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.astride-profile-body h2 {
  margin: 8px 0 6px;
}
.astride-profile-role {
  color: var(--clay);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 16px;
}
.astride-profile-body p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* Research CTA */
.astride-cta-section {
  background: var(--cream-2);
}
.astride-cta {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.astride-cta .lead {
  margin: 12px 0 24px;
}
.astride-cta-primary[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.astride-cta-secondary {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.astride-cta-secondary p {
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- TheraNote page (own brand) ---------- */
.tn-page {
  --tn-deep: #143a33;
  --tn-mid: #1e5049;
  --tn-teal: #2f8f7d;
  --tn-mint: #7fd0bd;
  --tn-bg: #f2f7f5;
  --tn-ink: #21403a;
  background: var(--tn-bg);
}
.tn-hero {
  position: relative;
  background: linear-gradient(160deg, var(--tn-deep), var(--tn-mid));
  color: #eaf5f1;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
  text-align: center;
}
.tn-hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, rgba(127, 208, 189, 0.22), transparent 60%);
  pointer-events: none;
}
.tn-hero-inner {
  position: relative;
}
.tn-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.tn-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tn-mint);
  color: var(--tn-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.tn-logo-word {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: #fff;
}
.tn-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: #fff;
  letter-spacing: -0.01em;
}
.tn-hero-tagline {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--tn-mint);
  margin-top: 12px;
  font-weight: 500;
}
.tn-hero-mock {
  max-width: 820px;
  margin: 40px auto 0;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(8, 30, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.tn-section {
  padding-block: clamp(44px, 6vw, 84px);
}
.tn-narrow {
  max-width: 780px;
}
.tn-intro.center {
  text-align: center;
  margin-inline: auto;
  max-width: 720px;
}
.tn-eyebrow {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--tn-teal);
  display: inline-block;
  margin-bottom: 12px;
}
.tn-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--tn-deep);
  letter-spacing: -0.01em;
}
.tn-lead {
  color: #40615a;
  font-size: 1.12rem;
  line-height: 1.8;
  margin-top: 14px;
}
.tn-features-section {
  background: #fff;
}
.tn-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.tn-feature {
  background: var(--tn-bg);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid #e2ede9;
  transition: transform var(--t), box-shadow var(--t);
}
.tn-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(20, 58, 51, 0.12);
}
.tn-feature-ic {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--tn-teal), var(--tn-mint));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.tn-feature-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--tn-deep);
  margin-bottom: 8px;
}
.tn-feature p {
  color: #567069;
  font-size: 0.95rem;
  line-height: 1.6;
}
.tn-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.tn-shots .media {
  border: 1px solid #dcebe6;
  box-shadow: 0 12px 30px rgba(20, 58, 51, 0.08);
}
.tn-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.tn-join-section {
  background: linear-gradient(160deg, var(--tn-deep), var(--tn-mid));
  color: #eaf5f1;
}
.tn-join {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.tn-join .tn-h2 {
  color: #fff;
}
.tn-join .tn-lead {
  color: #bfe0d7;
}
.tn-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  background: var(--tn-mint);
  color: var(--tn-deep);
  font-weight: 700;
  box-shadow: var(--sh-md);
  transition: transform var(--t-fast), filter var(--t);
}
.tn-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.tn-join-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: #9ccabd;
}

/* ---------- Cart page ---------- */
.cart-page-empty {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 0;
}
.cart-page-empty > svg {
  font-size: 3rem;
  color: var(--sage);
}
.cart-page-empty-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.cart-lines-head {
  margin-bottom: 12px;
}
.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-line-media {
  width: 84px;
  height: 84px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-2);
}
.cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-line-title {
  font-weight: 600;
  color: var(--ink);
}
.cart-line-variant {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 2px 0 6px;
}
.cart-line-price {
  font-weight: 700;
  color: var(--olive-dark);
  min-width: 90px;
  text-align: end;
}
.cart-summary {
  padding: clamp(24px, 3vw, 32px);
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--paper);
}
.cart-summary h3 {
  margin-bottom: 18px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--ink-soft);
}
.cart-summary-row.muted {
  color: var(--muted);
  font-size: 0.92rem;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--olive-dark);
}
.cart-summary-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}
.cart-summary-checkout {
  width: 100%;
  margin-top: 20px;
  opacity: 0.55;
  pointer-events: none;
}
.cart-summary-soon {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--clay);
  margin-top: 14px;
  text-align: center;
}
.cart-summary-soon svg {
  flex-shrink: 0;
}
.cart-summary-contact {
  width: 100%;
  margin-top: 14px;
}

/* ---------- Legal / NotFound ---------- */
.legal-content .lead {
  margin-bottom: 24px;
}
.legal-contact {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.legal-contact a {
  color: var(--clay);
  font-weight: 600;
}
.notfound {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(30px, 6vw, 70px) 0;
}
.notfound > svg {
  font-size: 2.4rem;
  color: var(--sage);
}
.notfound-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  color: var(--sage-soft);
  line-height: 1;
}
.notfound-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

/* ============================================================
   Responsive — internal pages
   ============================================================ */
@media (max-width: 960px) {
  .prose-wrap {
    grid-template-columns: 1fr;
  }
  .audience-card {
    position: static;
  }
  .research-feature,
  .feature-split,
  .tn-split,
  .astride-profile {
    grid-template-columns: 1fr;
  }
  .research-feature-media {
    min-height: 240px;
  }
  .astride-profile {
    gap: 26px;
  }
  .tn-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .tn-shots {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .lectures-wrap {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .feature-split-media {
    order: -1;
  }
  .tn-features {
    grid-template-columns: 1fr;
  }
  .cart-line {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas:
      'media info info'
      'media qty price';
    row-gap: 10px;
  }
  .cart-line-media {
    grid-area: media;
    width: 64px;
    height: 64px;
  }
  .cart-line-info {
    grid-area: info;
  }
  .cart-line .qty {
    grid-area: qty;
  }
  .cart-line-price {
    grid-area: price;
    text-align: end;
  }
  .cart-line .cart-remove {
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 18px;
  }
  .cart-line {
    position: relative;
  }
}

/* ============================================================
   /our-story editorial composition (page-specific)
   Only used by OurStory.jsx — namespaced .os-* so no other page
   is affected. Cream / olive / natural tones, rounded, restrained
   shadows, RTL via logical properties.
   ============================================================ */
.os-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 6.5vw, 96px);
}

/* Comfortable reading measure for text-only sections */
.os-opening,
.os-chapter {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
}
.os-opening p,
.os-chapter p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.os-opening p:last-child,
.os-chapter p:last-child {
  margin-bottom: 0;
}
.os-chapter .h2 {
  margin-bottom: 18px;
}

/* Strong opening lead */
.os-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.55;
  color: var(--olive-dark);
  margin-bottom: 22px;
}

/* Stat chapter (the activities fair) */
.os-chapter--stat {
  max-width: 900px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(22px, 3vw, 44px);
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.6vw, 44px);
  box-shadow: var(--sh-sm);
}
.os-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline-end: clamp(20px, 2.6vw, 36px);
  border-inline-end: 1px solid var(--line-soft);
  min-width: clamp(120px, 12vw, 168px);
}
.os-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1;
  color: var(--olive);
  direction: ltr;
  unicode-bidi: isolate;
}
.os-stat-label {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}
.os-chapter-body .h2 {
  margin-bottom: 16px;
}
.os-chapter-body p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 14px;
}
.os-chapter-body p:last-child {
  margin-bottom: 0;
}

/* Alternating image + text splits */
.os-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.os-split-text .h2 {
  margin-bottom: 16px;
}
.os-split-text p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}
.os-split-text p:last-child {
  margin-bottom: 0;
}
.os-split-media .media {
  box-shadow: var(--sh-md);
}
/* Flip: image to the other side (DOM order stays media → text) */
.os-split--flip .os-split-media {
  grid-column: 2;
  grid-row: 1;
}
.os-split--flip .os-split-text {
  grid-column: 1;
  grid-row: 1;
}

/* Distinct transition band: the 2022 vision */
.os-vision {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  width: 100%;
  margin-inline: auto;
  background: linear-gradient(150deg, var(--olive-deep), var(--olive-dark));
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.6vw, 60px);
  box-shadow: var(--sh-md);
}
.os-vision-year {
  position: absolute;
  inset-block-start: clamp(-8px, -0.4vw, -2px);
  inset-inline-start: clamp(12px, 2vw, 28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  user-select: none;
}
.os-vision-body {
  position: relative;
  z-index: 1;
}
.os-vision-body .h2 {
  color: var(--cream);
  margin-bottom: 18px;
}
.os-vision-body p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
  margin-bottom: 16px;
}
.os-vision-body p:last-child {
  margin-bottom: 0;
}
.os-vision-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.5;
  color: #fff !important;
  padding-inline-start: 18px;
  border-inline-start: 3px solid var(--sage);
  margin-block: 22px 16px !important;
}

/* Present-day conclusion */
.os-closing {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
}
.os-closing .h2 {
  margin-bottom: 18px;
}
.os-closing > p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* Subtle "הדרך שלנו" journey device */
.os-journey {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0;
  padding: 0;
  position: relative;
}
.os-journey-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-inline-start: 4px;
  padding-block: 10px;
}
.os-journey-step:not(:last-child) .os-journey-dot::after {
  content: '';
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 5px;
  width: 2px;
  height: calc(100% + 20px);
  background: var(--line-soft);
}
.os-journey-dot {
  position: relative;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-block-start: 6px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px var(--beige-soft);
}
.os-journey-text {
  color: var(--olive-dark);
  font-weight: 500;
  line-height: 1.7;
}
.os-finale {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  line-height: 1.5;
  color: var(--olive-dark);
  margin-block: 8px 0;
}
.os-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-start: clamp(26px, 3.4vw, 40px);
}

@media (max-width: 860px) {
  .os-chapter--stat {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .os-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding-inline-end: 0;
    padding-block-end: 18px;
    border-inline-end: none;
    border-block-end: 1px solid var(--line-soft);
  }
  .os-split {
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 30px);
  }
  /* When stacked, always show the image first for a consistent rhythm */
  .os-split--flip .os-split-media,
  .os-split--flip .os-split-text {
    grid-column: 1;
  }
  .os-split-media {
    grid-row: 1;
  }
  .os-split-text {
    grid-row: 2;
  }
  .os-split--flip .os-split-media {
    grid-row: 1;
  }
  .os-split--flip .os-split-text {
    grid-row: 2;
  }
}

/* ============================================================
   Hub / landing pages (/therapy-center, /horse-farm, /dog-boarding)
   Shared .hub-* layout: hero + concise intro + visual nav cards.
   Distinct from the .ir-/.dt-/.aa-/.os- editorial page layouts.
   ============================================================ */
.hub-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}

/* Concise intro */
.hub-intro {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.hub-intro p {
  color: var(--ink-soft);
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.hub-intro p:last-child {
  margin-bottom: 0;
}

/* Nav cards block */
.hub-cards-title {
  text-align: center;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}
.hub-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
  gap: clamp(20px, 2.6vw, 32px);
}
.hub-nav-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: start;
}
.hub-nav-media {
  width: 100%;
}
.hub-nav-media .media {
  border-radius: 0;
}
.hub-nav-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px);
}
.hub-nav-title {
  font-size: 1.15rem;
  color: var(--olive-dark);
}
.hub-nav-blurb {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}
.hub-nav-link {
  margin-top: auto;
  padding-top: 4px;
  color: var(--olive-deep);
  font-weight: 600;
}

/* Non-interactive factual highlights */
.hub-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hub-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  color: var(--olive-deep);
  font-weight: 600;
  font-size: 0.95rem;
}
.hub-fact svg {
  color: var(--sage);
  font-size: 1.05rem;
}

/* Contact CTA band */
.hub-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
  background: linear-gradient(140deg, var(--cream-2), var(--beige-soft));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 44px);
  box-shadow: var(--sh-sm);
}
.hub-cta-text {
  max-width: 560px;
}
.hub-cta-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--olive-deep);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.hub-cta-text .h3 {
  margin-bottom: 8px;
}
.hub-cta-text p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.hub-cta-btn {
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .hub-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-cta-btn {
    align-self: flex-start;
  }
}

/* ============================================================
   Cart contextual recommendations ("אולי תרצו לצרף גם…")
   Subtle, compact cards inside the cart page — intentionally lighter
   than the order summary / checkout CTA.
   ============================================================ */
.cart-recs {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--line-soft);
}
.cart-recs-title {
  color: var(--olive-dark);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: clamp(14px, 2vw, 20px);
}
.cart-recs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 330px));
  justify-content: start;
  gap: clamp(12px, 1.6vw, 18px);
}
.cart-rec {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.cart-rec-media {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream-2);
  display: block;
}
.cart-rec-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-rec-media .cart-item-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}
.cart-rec-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-rec-title {
  font-weight: 600;
  color: var(--olive-dark);
  font-size: 0.95rem;
  line-height: 1.3;
}
.cart-rec-variant {
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.cart-rec-delta {
  color: var(--sage);
  font-weight: 600;
  font-size: 0.78rem;
  margin-top: 2px;
}
.cart-rec-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}
.cart-rec-price {
  color: var(--olive-deep);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.cart-rec-add {
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .cart-recs-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Digital-book preview modal (lazy video)
   ============================================================ */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 40px);
}
.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 20, 0.72);
  backdrop-filter: blur(2px);
  border: 0;
  cursor: pointer;
}
.preview-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(14px, 2vw, 20px);
  box-shadow: var(--sh-lg);
}
.preview-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  box-shadow: var(--sh-sm);
}
.preview-video {
  width: 100%;
  max-height: 74vh;
  border-radius: var(--r-md);
  background: #000;
  display: block;
}
.preview-fallback {
  text-align: center;
  padding: 20px;
}
.preview-fallback img {
  max-width: 100%;
  border-radius: var(--r-md);
  margin-bottom: 12px;
}
.preview-fallback p {
  color: var(--ink-soft);
}
.preview-caption {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============================================================
   Cart shipping selection (cart page summary)
   ============================================================ */
.cart-shipping {
  margin: 8px 0 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cart-shipping-title {
  font-weight: 600;
  color: var(--olive-dark);
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.cart-shipping-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-shipping-opt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  background: var(--cream-2);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border var(--t-fast), background var(--t-fast);
}
.cart-shipping-opt-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Pickup address inside the self-pickup option, under its title/price. */
.cart-shipping-opt-address {
  padding-inline-start: 26px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}
.cart-shipping-opt.active {
  border-color: var(--olive);
  background: var(--paper);
}
.cart-shipping-opt input {
  accent-color: var(--olive);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cart-shipping-label {
  flex: 1;
  font-weight: 600;
  color: var(--olive-deep);
  font-size: 0.9rem;
}
.cart-shipping-price {
  font-weight: 700;
  color: var(--olive-dark);
  font-size: 0.9rem;
  white-space: nowrap;
}
.cart-shipping-hint {
  margin-top: 8px;
  color: var(--clay);
  font-size: 0.8rem;
}
.cart-shipping-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}
/* Delivery-coordination nudge under the pickup option (no fixed shipping fee). */
.cart-shipping-help {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--cream-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-shipping-help-text {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}
.cart-shipping-help-btn {
  align-self: flex-start;
}
.cart-summary-vat {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
  text-align: center;
}

/* ============================================================
   Books & Cards — sales content (below the product cards)
   Warm, sectioned, RTL. Additive only; shop logic untouched.
   ============================================================ */
.books-sales {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, var(--cream), var(--paper));
}
.bs-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 6vw, 88px);
}
.bs-section {
  max-width: 820px;
  width: 100%;
  margin-inline: auto;
}
.bs-title {
  text-align: center;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}
.bs-prose {
  max-width: 720px;
  margin-inline: auto;
}
.bs-prose p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 15px;
}
.bs-prose p:last-child {
  margin-bottom: 0;
}
.bs-prose-lead {
  font-weight: 600;
  color: var(--olive-dark) !important;
}

/* Two-image pairs (books / cards) */
.bs-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 18px);
  max-width: 560px;
  margin: 0 auto clamp(20px, 2.4vw, 30px);
}
.bs-media-pair .media {
  box-shadow: var(--sh-sm);
}

/* Highlighted professional credit (Dr. Chen) */
.bs-credit {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px);
  margin: 8px 0 16px;
}
.bs-credit-name {
  font-weight: 700;
  color: var(--olive-dark) !important;
  margin-bottom: 8px !important;
}

/* Question list ("אפשר לשאול") */
.bs-questions {
  list-style: none;
  margin: 6px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bs-questions li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--olive-dark);
  line-height: 1.7;
}
.bs-questions li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

/* Digital previews */
.bs-digital {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 26px);
  max-width: 720px;
  margin: clamp(18px, 2.4vw, 28px) auto 0;
}
.bs-digital-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bs-digital-item .media {
  box-shadow: var(--sh-sm);
}
.bs-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  color: var(--olive-deep);
  font-weight: 600;
  font-size: 0.88rem;
  transition: border var(--t-fast), background var(--t-fast);
}
.bs-preview-btn:hover {
  border-color: var(--olive);
}
.bs-preview-btn svg {
  font-size: 1.05rem;
}

/* Author field-experience testimonial (feature) */
.bs-feature {
  max-width: 760px;
  margin-inline: auto;
  background: linear-gradient(140deg, var(--cream-2), var(--beige-soft));
  border: 1px solid var(--line-soft);
  border-inline-start: 4px solid var(--olive);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--sh-sm);
}
.bs-feature p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 14px;
}
.bs-feature p:last-child {
  margin-bottom: 0;
}
.bs-feature-author {
  /* Same family as the page body; bold weight keeps it distinct. */
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--olive-dark) !important;
  margin-bottom: 16px !important;
}
.bs-feature-q {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--olive-deep) !important;
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--sage);
  margin: 6px 0 14px !important;
}
.bs-feature-quotes {
  list-style: none;
  margin: 4px 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bs-feature-quotes li {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  color: var(--olive-deep);
  font-weight: 500;
}

/* Testimonials (structure ready for real recommendations) */
.bs-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 760px;
  margin-inline: auto;
}
.bs-testimonial {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 30px);
}
.bs-testimonial--soon {
  border-style: dashed;
  text-align: center;
}
.bs-testimonial--soon p {
  color: var(--ink-soft);
  line-height: 1.8;
}
.bs-testimonial-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--olive-deep);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.bs-testimonial-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.bs-testimonial-tags span {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  color: var(--olive-deep);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (max-width: 460px) {
  .bs-media-pair {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}
