/* ==========================================================================
   EMUNA — Design system + layout
   Palette: ~55% white & cream · 25% deep blue · 15% sky · 5% gold
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Deep blue */
  --navy-950: #081a30;
  --navy-900: #0c2340;
  --navy: #12335c;
  --navy-700: #1d4778;
  /* Sky */
  --sky-50: #f3f8fc;
  --sky-100: #e6f0f9;
  --sky-200: #d2e4f3;
  --sky-300: #b5d2ec;
  --sky-500: #7aa9d4;
  /* Gold (accents only) */
  --gold: #b8955a;
  --gold-600: #9c7b44;
  --gold-soft: #e3d2ad;
  /* Neutrals */
  --white: #ffffff;
  --cream: #faf7f1;
  --cream-200: #f3eee4;
  --stone: #e7e9ec;
  --line: #e4e2dc;
  --ink: #102138;
  --muted: #56657a;
  --danger: #b2413a;
  --success: #2f6b4f;

  /* Type */
  --font-display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --font-body: "Assistant", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-latin: "Cormorant Garamond", "Frank Ruhl Libre", Georgia, serif;
  --font-rashi: "Noto Rashi Hebrew", "Frank Ruhl Libre", serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --fs-3xl: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);

  /* Space + shape */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 35, 64, 0.06), 0 2px 8px rgba(12, 35, 64, 0.05);
  --shadow: 0 10px 30px -12px rgba(12, 35, 64, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(12, 35, 64, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: #fdfbf7;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; margin: 0 0 0.6em; color: var(--navy-900); letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-200); color: var(--navy-900); }
[hidden] { display: none !important; }
[lang="en"] { font-family: var(--font-latin); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; right: 16px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--sky { background: var(--sky-50); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.04em;
  color: var(--gold-600); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.title-xl { font-size: var(--fs-3xl); line-height: 1.08; }
.title-lg { font-size: var(--fs-2xl); }
.title-md { font-size: var(--fs-xl); }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); color: var(--muted); line-height: 1.75; max-width: 40rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.ornament { display: flex; align-items: center; gap: 10px; width: 120px; margin: 1.6rem 0; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.7; }
.ornament i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; flex: none; }
.center .ornament { margin-inline: auto; }
.src { font-family: var(--font-rashi); font-size: 0.86em; color: var(--gold-600); white-space: nowrap; }
.quote-line { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.4rem; }
.latin { font-family: var(--font-latin); font-style: italic; letter-spacing: 0.02em; }

/* ---------- 4. Buttons, chips, inputs ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::after { /* soft light sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(120%); transition: transform 0.8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(-120%); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn-primary:hover { --btn-bg: var(--navy-900); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: color-mix(in srgb, var(--navy) 35%, transparent); }
.btn-ghost:hover { --btn-bg: var(--sky-50); --btn-bd: var(--navy); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.18); --btn-bd: #fff; }
.btn-gold { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: #fff; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(-4px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold-soft); padding-bottom: 2px; transition: gap 0.3s var(--ease), border-color 0.3s; }
.link-arrow::after { content: "←"; font-family: var(--font-body); }
.link-arrow:hover { gap: 14px; border-color: var(--gold); }

.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-900); text-decoration: none; font-size: var(--fs-sm); transition: all 0.25s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip[aria-current="true"], .chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.tag-soon {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--navy-900); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.tag-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(184, 149, 90, 0.18); }

.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid #d7dbe1; background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(29, 71, 120, 0.12); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-xs); min-height: 1em; }
.form-status { font-size: var(--fs-sm); margin-top: 12px; min-height: 1.4em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--navy-900); }
.form-status strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.demo-tag, .form-demo-note { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }
.form-demo-note { margin-top: 10px; }

/* ---------- 5. Announcement bar ---------- */
.announcement { background: var(--navy-900); color: #fff; font-size: var(--fs-xs); letter-spacing: 0.06em; }
.announcement { position: relative; }
.bsd { position: absolute; top: 0; bottom: 0; right: var(--gutter); z-index: 1; display: grid; place-items: center; font-family: var(--font-display); font-size: 0.8rem; color: var(--gold-soft); letter-spacing: 0; }
.announcement-track { position: relative; height: 38px; overflow: hidden; }
.announcement-msg {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding-inline: 64px; text-align: center; font-family: var(--font-display); font-size: 0.92rem; letter-spacing: 0;
  opacity: 0; transform: translateY(70%); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announcement-msg.is-active { opacity: 1; transform: translateY(0); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 35, 64, 0.35); background: rgba(255, 255, 255, 0.94); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: var(--header-h); }
.header-inner .menu-toggle { display: none; }

.logo { display: inline-grid; grid-template-columns: auto; justify-items: center; text-decoration: none; color: var(--navy-900); line-height: 1; gap: 2px; }
.logo-mark { width: 34px; height: 18px; color: var(--gold); margin-bottom: 2px; }
.logo-he { font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; line-height: 0.95; letter-spacing: 0.02em; }
.logo-word { font-family: var(--font-latin); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.5em; margin-inline-end: -0.5em; color: var(--gold-600); margin-top: 3px; }

.main-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 26px; }
.main-nav a { position: relative; display: inline-block; padding: 8px 0; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--navy-900); white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 0; color: var(--navy-900); text-decoration: none; transition: background 0.25s; }
.icon-btn:hover { background: var(--sky-100); }
.badge { position: absolute; top: 4px; left: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }

/* ---------- 7. Drawers + search ---------- */
.drawer, .search-overlay { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 26, 48, 0.42); opacity: 0; transition: opacity 0.32s var(--ease); backdrop-filter: blur(2px); }
.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform 0.42s var(--ease-out); box-shadow: var(--shadow-lg); }
.drawer-panel--start { right: 0; transform: translateX(100%); }
.drawer-panel--end { left: 0; transform: translateX(-100%); }
.is-open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-title { font-size: 1.35rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; }
.drawer-logo .logo-he { font-size: 1.5rem; }
.mobile-nav { padding: 12px 20px; overflow: auto; }
.mobile-nav a { display: block; padding: 14px 4px; font-family: var(--font-display); font-size: 1.35rem; text-decoration: none; color: var(--navy-900); border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--gold-600); }
.mobile-extra { display: grid; gap: 4px; padding: 12px 20px; }
.mobile-extra a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--muted); }
.mobile-slogan { margin-top: auto; padding: 20px; background: var(--sky-50); color: var(--navy); font-family: var(--font-display); font-size: 1.1rem; text-align: center; }

.search-panel { position: absolute; inset-inline: 0; top: 0; background: #fff; padding-block: 18px 32px; transform: translateY(-100%); transition: transform 0.45s var(--ease-out); box-shadow: var(--shadow-lg); max-height: 90vh; overflow: auto; }
.is-open .search-panel { transform: translateY(0); }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.search-form > .icon { color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-family: var(--font-display); padding: 8px 0; background: transparent; }
.search-form input:focus { outline: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-results { padding-top: 22px; }
.search-empty { color: var(--muted); }
.search-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.search-list li a { display: flex; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-list img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); }
.search-list span { flex: 1; }
.search-results .link-arrow { margin-top: 16px; }

.mini-lines { display: grid; gap: 16px; }
.mini-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; }
.mini-line img, .mini-ph { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); background: var(--sky-50); }
.mini-line a { font-weight: 600; text-decoration: none; }
.mini-line small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.mini-foot { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* ---------- 8. Empty states ---------- */
.empty-state { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 12px; margin: auto 0; }
.empty-state p { color: var(--muted); margin: 0 0 12px; }
.empty-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sky-50); color: var(--gold); margin-bottom: 8px; }
.empty-icon .icon { width: 34px; height: 34px; }
.empty-title { font-size: 1.6rem; margin: 0; }

/* ---------- 9. Hero ---------- */
.hero { position: relative; padding: clamp(12px, 2vw, 24px) var(--gutter) 0; }
.hero-frame {
  position: relative; min-height: min(86vh, 860px); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; align-items: end; isolation: isolate; background: var(--sky-200);
}
.hero-media { position: absolute; inset: 0; z-index: -2; clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; transform: scale(1.06); animation: slowZoom 22s var(--ease) both; }
.hero-frame::before { /* readable-text wash, deepest behind the copy */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 26, 48, 0.72) 0%, rgba(8, 26, 48, 0.38) 38%, rgba(8, 26, 48, 0.05) 70%),
    linear-gradient(to left, rgba(8, 26, 48, 0.35), transparent 60%);
}
.hero-light { /* the small floating light */
  position: absolute; z-index: -1; top: 14%; left: 18%; width: clamp(160px, 22vw, 340px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 222, 0.75) 0%, rgba(255, 236, 196, 0.25) 35%, transparent 70%);
  filter: blur(6px); mix-blend-mode: screen; animation: floatLight 14s ease-in-out infinite;
}
.hero-content { padding: clamp(28px, 5vw, 72px); max-width: min(560px, 46%); color: #fff; }
.hero-content .eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: var(--fs-3xl); line-height: 1.06; margin-bottom: 0.4em; text-shadow: 0 2px 30px rgba(8, 26, 48, 0.25); }
.hero-quote { text-shadow: 0 1px 14px rgba(8, 26, 48, 0.75); font-family: var(--font-display); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); color: var(--gold-soft); margin-bottom: 1rem; }
.hero-quote .src { color: rgba(255, 255, 255, 0.7); margin-inline-start: 6px; }
.hero-text { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: rgba(255, 255, 255, 0.9); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-actions .btn { min-width: min(300px, 100%); justify-content: center; }
.hero-scroll { position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(24px, 4vw, 48px); display: none; padding: 8px; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 56px; margin: 0 auto; background: linear-gradient(rgba(255, 255, 255, 0.8), transparent); animation: scrollCue 2.4s var(--ease) infinite; }

/* Intro choreography (runs once html.is-ready is set) */
.intro { opacity: 0; }
.intro-logo { transform: translateY(-6px); }
.intro-up { transform: translateY(28px); }
.hero-media { clip-path: inset(6% 4% 6% 4% round var(--radius-lg)); opacity: 0; }
.is-ready .intro { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease-out); }
.is-ready .hero-media { opacity: 1; clip-path: inset(0 0 0 0 round var(--radius-lg)); transition: clip-path 1.6s var(--ease-out) 0.25s, opacity 1.2s var(--ease) 0.2s; }
.is-ready .intro-logo { transition-delay: 0s; }
.is-ready .intro-d1 { transition-delay: 0.65s; }
.is-ready .intro-d2 { transition-delay: 0.85s; }
.is-ready .intro-d3 { transition-delay: 1.05s; }
.is-ready .intro-d4 { transition-delay: 1.25s; }
.hero-light { opacity: 0; transition: opacity 2s var(--ease) 1.4s; }
body[data-page="home"] .header-logo { opacity: 0; transform: translateY(-6px); }
.is-ready body[data-page="home"] .header-logo { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease-out); }
.is-ready .hero-light { opacity: 1; }

/* ---------- 10. Marquee ---------- */
.marquee { overflow: hidden; background: var(--sky-100); color: var(--navy); padding-block: 22px; margin-top: clamp(24px, 4vw, 48px); border-block: 1px solid var(--sky-200); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-inline-end: clamp(20px, 3vw, 44px); font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); white-space: nowrap; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.marquee .latin { font-family: var(--font-latin); letter-spacing: 0.25em; font-style: normal; font-weight: 600; }

/* ---------- 11. Split sections (concept / story) ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 96px); align-items: center; grid-template-columns: 1fr; }
.split-media { position: relative; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sky-100); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), opacity 0.8s; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
.frame:hover img { transform: scale(1.035); }
.split-media .frame-accent { display: none; position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold-soft); bottom: -6%; left: -6%; z-index: -1; }
.split-media .frame-caption { position: absolute; bottom: 18px; right: 18px; background: rgba(255, 255, 255, 0.92); padding: 10px 16px; border-radius: 999px; font-size: var(--fs-xs); color: var(--navy-900); letter-spacing: 0.06em; }
.split-copy p { color: var(--muted); font-size: 1.08rem; }

/* ---------- 12. Category cards ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 30rem; }
.cat-grid { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: 1fr; }
.cat-card {
  position: relative; display: grid; align-content: end; min-height: 420px; padding: 26px; border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; text-decoration: none; isolation: isolate; background: var(--navy);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 26, 48, 0.82) 0%, rgba(8, 26, 48, 0.25) 52%, rgba(8, 26, 48, 0) 75%); transition: opacity 0.5s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card .tag-soon { position: absolute; top: 20px; right: 20px; }
.cat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); margin-bottom: 14px; color: #fff; }
.cat-card h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); margin-bottom: 6px; }
.cat-card p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: var(--fs-sm); max-width: 22rem; }
.cat-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-sm); font-weight: 600; color: var(--gold-soft); }
.cat-more .icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.cat-card:hover .cat-more .icon { transform: translateX(-6px); }

/* ---------- 13. Brand band (deep blue) ---------- */
.brand-band { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; isolation: isolate; }
.brand-band .bg-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; mix-blend-mode: luminosity; }
.brand-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(122, 169, 212, 0.35), transparent 70%), linear-gradient(180deg, rgba(12, 35, 64, 0.6), var(--navy-900)); }
.brand-band h2 { color: #fff; }
.brand-band p { color: rgba(255, 255, 255, 0.82); }
.brand-band .eyebrow { color: var(--gold-soft); }
.rays { position: absolute; top: -40%; left: 50%; width: min(1100px, 160vw); aspect-ratio: 1; transform: translateX(-50%); z-index: -1; opacity: 0.5; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(227, 210, 173, 0.07) 0deg 3deg, transparent 3deg 12deg);
  mask-image: radial-gradient(circle, #000 0%, transparent 62%); -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: spin 160s linear infinite;
}
.brand-mark { width: 74px; height: 40px; color: var(--gold); margin: 0 auto 26px; }
.brand-quote { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.1; margin-bottom: 0.5em; }

/* ---------- 14. Collection placeholders ---------- */
.placeholder-grid { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-card { display: grid; gap: 14px; }
.ph-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--sky-50), var(--cream)); border: 1px solid var(--line); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; filter: saturate(0.85); }
.ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(100%); animation: shimmer 4.5s var(--ease) infinite; }
.ph-media .tag-soon { position: absolute; top: 14px; right: 14px; z-index: 1; }
.ph-mark { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.ph-mark svg { width: 48px; height: 26px; opacity: 0.85; }
.ph-lines { display: grid; gap: 8px; }
.ph-lines span { height: 10px; border-radius: 99px; background: var(--stone); }
.ph-lines span:first-child { width: 70%; }
.ph-lines span:last-child { width: 36%; background: var(--sky-100); }
.ph-card:nth-child(2) .ph-media { animation-delay: 0.3s; }

/* ---------- 15. Values ---------- */
.values-grid { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: 1fr; }
.value-card { position: relative; padding: 34px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s; overflow: hidden; }
.value-card::after { content: ""; position: absolute; inset-inline: 28px; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 0.6s var(--ease-out); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.value-card:hover::after { transform: scaleX(1); }
.value-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sky-100); color: var(--navy); margin-bottom: 22px; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-out); }
.value-card:hover .value-icon { background: var(--navy); color: var(--gold-soft); transform: rotate(-6deg); }
.value-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); margin: 0; }

/* ---------- 16. Verses ---------- */
.verses { position: relative; background: linear-gradient(180deg, var(--sky-50), #fff); overflow: hidden; }
.verses::before { content: ""; position: absolute; top: -120px; right: -120px; width: 380px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(181, 210, 236, 0.55), transparent 70%); }
.verse-grid { position: relative; display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: 1fr; }
.verse { position: relative; background: #fffdf8; padding: clamp(30px, 4vw, 48px) clamp(24px, 3vw, 40px); display: grid; align-content: space-between; justify-items: center; text-align: center; gap: 22px; min-height: 230px; border: 1px solid var(--gold-soft); border-radius: 4px; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.verse::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(184, 149, 90, 0.35); border-radius: 2px; pointer-events: none; }
.verse:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.verse blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.95rem); line-height: 1.5; color: var(--navy-900); }
.verse figcaption { font-family: var(--font-rashi); color: var(--gold-600); font-size: var(--fs-sm); }
.verse figcaption small { font-family: var(--font-body); color: var(--muted); font-size: var(--fs-xs); margin-inline-start: 6px; }
.daily { position: relative; max-width: 860px; margin: 0 auto clamp(28px, 4vw, 48px); padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 64px); text-align: center; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
.daily::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(227, 210, 173, 0.35); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.daily::after { content: ""; position: absolute; z-index: -1; top: -60%; left: 50%; width: 140%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle, rgba(122, 169, 212, 0.3), transparent 60%); }
.daily-label { display: inline-block; font-size: var(--fs-sm); color: var(--gold-soft); margin-bottom: 14px; }
.daily blockquote { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); line-height: 1.4; color: #fff; }
.daily .src { color: var(--gold-soft); font-size: var(--fs-sm); }
.daily small { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.6); font-size: var(--fs-xs); }
.verse-note { margin-top: 18px; color: var(--muted); font-size: var(--fs-xs); text-align: center; }

/* ---------- 17. Coming soon ---------- */
.soon { position: relative; overflow: hidden; isolation: isolate; }
.soon-card { position: relative; display: grid; gap: 32px; padding: clamp(32px, 6vw, 80px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--sky-100); }
.soon-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.soon-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.86) 55%, rgba(255, 255, 255, 0.95) 100%); }
.soon-copy { max-width: 560px; }
.soon-copy p { color: var(--muted); font-size: 1.1rem; }
.signup { display: grid; gap: 10px; max-width: 520px; }
.signup-row { display: flex; gap: 8px; padding: 6px; background: #fff; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.signup-row .input { border: 0; min-height: 48px; border-radius: 999px; background: transparent; box-shadow: none; padding-inline: 18px; }
.signup-row .input:focus { box-shadow: none; }
.signup-row:focus-within { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(29, 71, 120, 0.12); }
.signup-row .btn { min-height: 48px; }
.signup.is-done .signup-row { opacity: 0.6; }

/* ---------- 18. Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-900); color: rgba(255, 255, 255, 0.8); padding-top: clamp(56px, 7vw, 96px); isolation: isolate; }
.footer-glow { position: absolute; top: -220px; left: 50%; width: 700px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(122, 169, 212, 0.22), transparent 65%); z-index: -1; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding-bottom: 48px; }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { color: #fff; justify-items: start; }
.footer-logo .logo-word { color: var(--gold-soft); }
.footer-logo .logo-he { font-size: 2.4rem; }
.footer-slogan { margin-top: 18px; font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; color: var(--gold-soft); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 6px; }
.footer-col a, .soon-link { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.soon-link { color: rgba(255, 255, 255, 0.55); }
.soon-link em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.2); }
.social-list .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 22px 28px; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6); }
.footer-bottom p { margin: 0; }

/* ---------- 19. Inner pages ---------- */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 110px) clamp(32px, 4vw, 56px); background: linear-gradient(180deg, var(--sky-50), #fff); overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: var(--fs-3xl); margin-bottom: 0.3em; }
.page-hero::after { content: ""; position: absolute; top: -160px; left: -120px; width: 460px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 239, 205, 0.7), transparent 65%); pointer-events: none; }
.breadcrumbs { list-style: none; padding: 0; margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line); }

.cat-banner { position: relative; min-height: clamp(280px, 38vw, 440px); display: grid; align-items: end; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff; margin-top: 18px; }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: slowZoom 20s var(--ease) both; }
.cat-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(8, 26, 48, 0.92) 0%, rgba(8, 26, 48, 0.82) 40%, rgba(8, 26, 48, 0.35) 72%, rgba(8, 26, 48, 0.12) 100%), linear-gradient(to top, rgba(8, 26, 48, 0.55), rgba(8, 26, 48, 0) 70%); }
.cat-banner h1, .cat-banner p { text-shadow: 0 2px 14px rgba(8, 26, 48, 0.6); }
.cat-banner-copy { padding: clamp(24px, 4vw, 52px); max-width: 640px; }
.cat-banner h1 { color: #fff; font-size: var(--fs-3xl); margin-bottom: 0.2em; }
.cat-banner p { color: rgba(255, 255, 255, 0.88); margin: 0; font-size: 1.1rem; }

.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 22px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.shop-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; max-width: 100%; }
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chips .chip { flex: none; }
.shop-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.shop-controls .select, .shop-controls .input { min-height: 44px; width: auto; border-radius: 999px; padding-inline: 16px; }
.shop-controls .input { width: min(260px, 100%); }
.result-count { color: var(--muted); font-size: var(--fs-sm); }
/* Collection / category pages: keep the header short so products show on the first screen. */
.page-hero--shop { padding-block: clamp(16px, 2.5vw, 32px) clamp(4px, 1vw, 12px); }
.page-hero--shop .breadcrumbs { margin-bottom: 8px; }
.page-hero--shop .eyebrow { display: none; }
.page-hero--shop h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); margin-bottom: 0.15em; }
.page-hero--shop .lead { font-size: 1rem; line-height: 1.6; margin: 0; }
.cat-banner { min-height: clamp(150px, 20vw, 250px); margin-top: 8px; }
.cat-banner-copy { padding: clamp(18px, 3vw, 36px); }
.cat-banner h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.cat-banner p { font-size: 0.98rem; line-height: 1.55; }
.shop-toolbar { gap: 10px; padding-block: 12px; margin-bottom: 18px; }
@media (max-width: 760px) {
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-toolbar > * { min-width: 0; max-width: 100%; }
  .shop-controls { flex-wrap: nowrap; gap: 6px; width: 100%; }
  .shop-controls .input { flex: 1 1 0; width: 0; min-width: 0; }
  .shop-controls .select { flex: none; padding-inline: 10px; max-width: 120px; }
  .shop-controls .btn { flex: none; padding: 0 14px; }
}
.filter-panel { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; background: var(--cream); }
.filter-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.filter-row .field { min-width: 140px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }

.product-grid { display: grid; gap: clamp(16px, 2vw, 28px) clamp(12px, 1.6vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-card { position: relative; display: grid; gap: 12px; }
.p-card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sky-50); }
.p-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity 0.6s; }
.p-card-media img + img { position: absolute; inset: 0; opacity: 0; }
.p-card:hover .p-card-media img:first-child { transform: scale(1.04); }
.p-card:hover .p-card-media img + img { opacity: 1; }
.p-card-badges { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.p-badge { padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--navy-900); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.p-badge--sale { background: var(--gold); color: #fff; }
.p-badge--out { background: var(--stone); color: var(--muted); }
.p-wish { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, 0.92); }
.p-wish[aria-pressed="true"] { color: var(--danger); }
.p-wish[aria-pressed="true"] .icon { fill: currentColor; }
.p-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0; }
.p-card h3 a { text-decoration: none; }
.p-card-verse { font-family: var(--font-display); color: var(--muted); font-size: var(--fs-sm); margin: -4px 0 0; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-weight: 600; color: var(--navy-900); }
.price s { color: var(--muted); font-weight: 400; font-size: 0.9em; }
/* The price after a discount (only when a struck-through price precedes it) is green. */
.price s + span { color: #15803d; font-weight: 700; }
.price-note { font-size: 0.8em; font-weight: 500; color: var(--muted); margin-inline-start: 6px; }
.pdp-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pdp-ship { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-200); color: var(--navy); font-size: var(--fs-sm); font-weight: 600; }
.pdp-ship .icon { width: 18px; height: 18px; color: var(--gold-600); }
.pdp-price, .price-row { display: flex; align-items: baseline; flex-wrap: wrap; }

.coming-panel { display: grid; gap: 28px; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--sky-50), var(--cream)); border: 1px solid var(--line); text-align: center; justify-items: center; }
.coming-panel h2 { margin: 0; }
.coming-panel p { color: var(--muted); max-width: 34rem; margin: 0; }
.coming-panel .placeholder-grid { width: 100%; text-align: start; }

/* Product page */
.pdp-wrap { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--sky-50) 0, #fdfbf7 560px); }
.pdp-glow { position: absolute; z-index: -1; top: -220px; left: -160px; width: 620px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 196, 0.75), transparent 62%); pointer-events: none; }
.pdp { display: grid; gap: clamp(28px, 5vw, 72px); padding-block: 24px clamp(48px, 6vw, 88px); }
.pdp-gallery { display: grid; gap: 12px; }
.pdp-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--sky-50); box-shadow: var(--shadow-lg); }
.pdp-main::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(227, 210, 173, 0.75); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.pdp-seal { position: absolute; z-index: 1; bottom: 22px; right: 22px; display: grid; place-items: center; align-content: center; gap: 2px; width: 78px; height: 78px; border-radius: 50%; background: rgba(12, 35, 64, 0.92); border: 1px solid var(--gold); box-shadow: 0 0 0 4px rgba(12, 35, 64, 0.25), var(--shadow); color: var(--gold-soft); }
.pdp-seal svg { width: 30px; height: 16px; }
.pdp-seal b { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: #fff; line-height: 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; }
.pdp-thumbs button { flex: none; width: 76px; aspect-ratio: 4 / 5; padding: 0; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; background: var(--sky-50); }
.pdp-thumbs button[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(184, 149, 90, 0.25); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 22px; align-content: start; }
.pdp-info h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); line-height: 1.08; margin: 0; }
.pdp-price { font-size: 1.4rem; }
.pdp-verse { position: relative; margin: 0; padding: 26px 24px 20px; text-align: center; background: #fffdf8; border: 1px solid var(--gold-soft); border-radius: 4px; }
.pdp-verse::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184, 149, 90, 0.35); border-radius: 2px; pointer-events: none; }
.pdp-verse blockquote { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.45; color: var(--navy-900); }
.pdp-verse figcaption small { color: var(--muted); font-size: var(--fs-xs); }
.pdp-engrave { padding: 16px; border: 1px solid var(--gold-soft); border-radius: var(--radius); background: #fffdf8; }
.pdp-engrave label { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.pdp-engrave .input { font-family: var(--font-display); font-size: 1.3rem; text-align: center; letter-spacing: 0.04em; }
.pdp-why { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pdp-why-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); }
.pdp-why h2 { font-size: 1.2rem; margin: 2px 0 6px; }
.pdp-why p { margin: 0; color: #3b4a60; }
.pdp-promise { display: grid; gap: 8px; margin-top: -6px; }
.pdp-promise li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--muted); }
.pdp-promise .icon { width: 20px; height: 20px; color: var(--gold-600); }
.pdp-band { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #fff; padding-block: clamp(56px, 8vw, 110px); }
.pdp-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 0%, rgba(122, 169, 212, 0.35), transparent 70%); }
.pdp-band .eyebrow { color: var(--gold-soft); }
.pdp-band blockquote { margin: 0 auto 14px; max-width: 22ch; font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.3; }
.pdp-band .src { color: var(--gold-soft); font-size: var(--fs-sm); }
.pdp-band small { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.6); font-size: var(--fs-xs); }
.pdp-desc { color: var(--muted); }
.opt-group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.opt-group legend { font-weight: 600; font-size: var(--fs-sm); margin-bottom: 8px; }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-values label { position: relative; }
.opt-values input { position: absolute; opacity: 0; inset: 0; }
.opt-values span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: all 0.2s; }
.opt-values input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 0 0 3px rgba(184, 149, 90, 0.35); }
.opt-values span:hover { border-color: var(--navy-700); }
.opt-values .swatch { width: 20px; height: 20px; }
.opt-add { font-size: 0.68rem; font-weight: 600; color: var(--gold-600); margin-inline-start: -2px; }
.opt-values input:checked + span .opt-add { color: var(--gold-soft); }
.opt-values input:focus-visible + span { outline: 2px solid var(--navy-700); outline-offset: 2px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }
.opt-group--big { padding: 16px; border: 2px solid var(--gold-600, #b58a3a); border-radius: 18px; background: linear-gradient(160deg, #fffaf0, #fff); box-shadow: 0 8px 26px rgba(12, 35, 64, 0.08); }
.opt-group--big legend { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; color: var(--navy); float: none; margin-bottom: 12px; }
.opt-group--big .opt-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-group--big .opt-values span { justify-content: center; min-height: 62px; font-size: 1.2rem; font-weight: 700; border: 2px solid var(--navy); border-radius: 14px; width: 100%; }
.opt-group--big .opt-values input:checked + span { box-shadow: 0 6px 18px rgba(12, 35, 64, 0.3); transform: translateY(-1px); }
.opt-step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-600, #b58a3a); color: #fff; font-size: 0.85rem; font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.qty button .icon { width: 16px; height: 16px; }
.qty input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pdp-buy .btn-primary { flex: 1; min-width: 200px; min-height: 58px; font-size: 1.05rem; box-shadow: inset 0 -3px 0 var(--gold), 0 14px 30px -14px rgba(12, 35, 64, 0.6); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-weight: 600; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-600); transition: transform 0.3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding-bottom: 18px; color: var(--muted); }
.accordion .acc-body ul { list-style: disc; padding-inline-start: 20px; }

/* Cart + checkout */
.cart-layout, .checkout-layout { display: grid; gap: clamp(24px, 4vw, 56px); padding-bottom: var(--section); align-items: start; }
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line .mini-ph { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-line h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.cart-line h3 a { text-decoration: none; }
.cart-line small { display: block; color: var(--muted); }
.cart-line-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--muted); text-decoration: underline; text-underline-offset: 0.2em; font-size: var(--fs-sm); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; padding: 26px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); }
.summary h2 { font-size: 1.4rem; margin: 0; }
.summary .row-between { font-size: var(--fs-sm); }
.summary .total { padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.summary-note { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.checkout-form { display: grid; gap: 28px; }
.checkout-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
.checkout-form legend { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-900); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-body); font-size: 0.85rem; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--sky-200); color: var(--navy-900); font-size: var(--fs-sm); }
.notice .icon { color: var(--gold-600); margin-top: 2px; }
.notice p { margin: 0; }
.delivery-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.delivery-opt:has(input:checked) { border-color: var(--navy); background: var(--sky-50); }
.mini-summary-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: var(--fs-sm); }
.mini-summary-line img, .mini-summary-line .mini-ph { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); }

/* Success */
.success { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: var(--section); }
.success-icon { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--sky-100); color: var(--navy); margin-bottom: 12px; position: relative; }
.success-icon::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--gold-soft); animation: pulseRing 2.6s var(--ease) infinite; }
.success-icon .icon { width: 40px; height: 40px; }
.order-box { width: min(560px, 100%); text-align: start; padding: 24px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); display: grid; gap: 10px; margin-top: 12px; }

/* Prose pages (about, FAQ, legal) */
.prose { max-width: 720px; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; }
.prose p, .prose li { color: #33435a; }
.prose ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 1em; }
.draft-banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: #fff8ec; border: 1px solid var(--gold-soft); font-size: var(--fs-sm); margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; cursor: pointer; font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-900); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-600); font-size: 1.6rem; transition: transform 0.3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding-bottom: 22px; color: var(--muted); }

.about-hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: slowZoom 24s var(--ease) both; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 26, 48, 0.75), rgba(8, 26, 48, 0.08) 70%); }
.about-hero .container { padding-block: clamp(40px, 7vw, 96px); }
.about-hero h1 { color: #fff; font-size: var(--fs-3xl); max-width: 14ch; }
.about-hero p { color: rgba(255, 255, 255, 0.9); max-width: 34rem; font-size: 1.15rem; }
.statement { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.4; color: var(--navy-900); max-width: 24em; margin-inline: auto; text-align: center; }
.statement em { font-style: normal; color: var(--gold-600); }
.pillars { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); grid-template-columns: 1fr; }
.pillar { background: #fff; padding: clamp(26px, 3vw, 40px); }
.pillar-num { font-family: var(--font-display); font-weight: 500; font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 14px; display: block; }
.pillar h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; }
.photo-duo { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: 1fr; }

.contact-grid { display: grid; gap: clamp(28px, 5vw, 72px); padding-bottom: var(--section); }
.contact-form { display: grid; gap: 16px; }
.contact-aside { display: grid; gap: 16px; align-content: start; }
.contact-aside .frame { aspect-ratio: 4 / 3; }

/* ---------- 20. Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 120; transform: translate(-50%, 30px); opacity: 0; background: var(--navy-900); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: var(--fs-sm); box-shadow: var(--shadow-lg); transition: all 0.4s var(--ease-out); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 21. Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="image"] { transform: none; clip-path: inset(10% 0 0 0 round var(--radius-lg)); transition: opacity 1s var(--ease), clip-path 1.4s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="image"].is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.reveal-words .w { display: inline-block; opacity: 0; transform: translateY(0.5em); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-out); }
.is-visible .reveal-words .w, .reveal-words.is-visible .w { opacity: 1; transform: none; }

/* ---------- 22. Keyframes ---------- */
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes floatLight { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-30px, 18px); } 66% { transform: translate(20px, -14px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes shimmer { 0%, 30% { transform: translateX(100%); } 70%, 100% { transform: translateX(-100%); } }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes scrollCue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes pulseRing { 0% { transform: scale(0.92); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

/* ---------- 23. Responsive (mobile first; widen up) ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-inner .menu-toggle { display: inline-grid; }
  .header-inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .header-logo { justify-self: center; }
  .header-actions { justify-self: end; }
}
@media (max-width: 760px) {
  .hero-frame { align-items: stretch; min-height: min(92svh, 760px); }
  .hero-content { max-width: none; padding: 28px 20px 20px; display: flex; flex-direction: column; }
  .hero-actions { margin-top: auto; margin-bottom: clamp(36px, 12svh, 100px); align-items: center; gap: 12px; }
  .hero-actions .btn { width: min(320px, 86%); min-height: 52px; padding: 0 16px; font-size: 0.95rem; }
  .hero-actions .btn .icon { display: none; }
  .hero-media img { object-position: 50% 60%; }
  .hero-frame::before { background: linear-gradient(to bottom, rgba(8, 26, 48, 0.82) 0%, rgba(8, 26, 48, 0.5) 36%, rgba(8, 26, 48, 0) 56%, rgba(8, 26, 48, 0) 80%, rgba(8, 26, 48, 0.55) 100%); }
  .hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3rem); }
  .hero-text { margin-bottom: 1.4rem; }
  .hero-light { display: none; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .hide-sm { display: none; }
  .logo-he { font-size: 1.6rem; }
  .icon-btn { width: 42px; height: 42px; }
  .hero-frame { min-height: 78vh; border-radius: 18px; }
  .hero-media { clip-path: inset(0 0 0 0 round 18px) !important; }

  .signup-row { flex-direction: column; border-radius: var(--radius); }
  .signup-row .btn { width: 100%; }
  .cat-card { min-height: 360px; }
  .pdp-seal { width: 64px; height: 64px; bottom: 18px; right: 18px; }
  .pdp-seal b { font-size: 0.8rem; }
}
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .photo-duo { grid-template-columns: 1.2fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-media { order: 2; }
  .split-media .frame-accent { display: block; }
  .placeholder-grid, .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-card { min-height: 520px; }
  .cat-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-grid--four .cat-card { min-height: 540px; }
  .values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .verse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1.1fr 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1.6fr 1fr; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .soon-card { grid-template-columns: 1fr; }
  .hero-scroll { display: block; }
  .footer-grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .cat-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .intro, [data-reveal], .reveal-words .w, .hero-light, body[data-page="home"] .header-logo { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-media { opacity: 1 !important; clip-path: none !important; }
}

.paypal-box { display: grid; gap: 10px; }
.paypal-box [data-paypal-buttons] { min-height: 50px; }

/* Free shipping: always green and bold, wherever it appears. */
.free-ship { color: #15803d; font-weight: 800; }
.field-label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); }
.home-type span { min-width: 120px; justify-content: center; }

/* Bit payment */
.pay-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: var(--fs-sm); }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-bit { --btn-bg: #fff; --btn-fg: #0b7c8c; --btn-bd: #13a9b8; min-height: 50px; font-size: 1rem; }
.btn-bit:hover { --btn-bg: #effafb; }
.bit-box { margin-top: 12px; padding: 18px; border: 1px solid #b9e6eb; border-radius: var(--radius); background: #f5fcfd; display: grid; gap: 12px; }
.bit-box p { margin: 0; }
.bit-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-900); }
.bit-confirm { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); line-height: 1.55; cursor: pointer; }
.bit-confirm input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
