/* טל גיגי | צילום חתונות — עיצוב
   מגזין אופנה וחתונות: התמונות קודם, הרבה לבן, טיפוגרפיה עם אופי, ורוד עתיק רק בפרטים.
   Mobile-first: כל כלל בסיס נכתב לטלפון, והמחשב מקבל קומפוזיציות רחבות משלו. */

:root {
  /* פלטה */
  --white: #ffffff;
  --ivory: #faf8f6;
  --blush: #f2e6e7;
  --rose: #ad858d;        /* קווים, נקודות, פרטים גרפיים */
  --rose-deep: #91666f;   /* כפתורים ראשיים */
  --rose-deeper: #7a535c; /* ריחוף */
  --rose-ink: #7f5660;    /* טקסט קטן בוורוד: ניגודיות AA גם על Blush */
  --ink: #302b2d;
  --ink-2: #756e69;       /* טקסט משני: רק על לבן ו-Ivory */
  --line: #ebe4e1;
  --line-strong: #948a84; /* גבולות שדות (3:1 לפחות) */
  --focus: #302b2d;
  --error: #9b2c2c;
  --ok: #2f5d3a;

  /* שמות ישנים שתצוגת העריכה משתמשת בהם */
  --paper: var(--white);
  --paper-2: var(--ivory);
  --paper-3: #e9e1dc;
  --sheet: #fffdfa;

  /* טיפוגרפיה: גופן אחד לכל העמוד (Noto Sans Hebrew, כולל אנגלית וספרות). ההיררכיה נבנית ממשקל וגודל */
  --f-body: "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-display: var(--f-body);
  --f-head: var(--f-display);
  --f-latin: var(--f-display);
  --serif: var(--f-display);
  --sans: var(--f-body);

  /* מידות */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 60px;
  --section: clamp(44px, 8vw, 120px);
  --mbar-h: 60px;
  --nl-badge-h: 0px; /* המקום שתופס התג של Netlify, כשהוא קיים (ראו "התג של Netlify") */
  --r-sm: 3px;
  --r: 6px;
  --r-lg: 10px;
  --ease: cubic-bezier(.22, .7, .25, 1);
}
@media (min-width: 900px) { :root { --header-h: 76px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
/* בנייד: הסרגל התחתון לא מסתיר את מה שנמצא בפוקוס */
@media (max-width: 899px) {
  html { scroll-padding-bottom: calc(var(--mbar-h) + var(--nl-badge-h) + 20px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  /* רשת ביטחון בלבד. המקורות של גלישה לרוחב תוקנו ברכיבים עצמם */
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--blush); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 500;
}
.skip:focus { top: 12px; outline-color: var(--rose); }

.i-ext {
  display: inline-block;
  width: 0.8em; height: 0.8em;
  margin-inline-start: 0.35em;
  vertical-align: -0.05em;
  flex: none;
}
[dir="rtl"] .i-ext { transform: scaleX(-1); }
.icon { display: block; flex: none; }

/* ---------- טיפוגרפיה ---------- */
.section-title {
  font-family: var(--f-display);
  font-weight: 300;
  letter-spacing: -0.01em;
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3.25rem);
  line-height: 1.15;
  text-wrap: balance;
}
.lead { margin: 0; color: var(--ink-2); max-width: 34em; }
.section-head { margin-bottom: clamp(28px, 5vw, 56px); }
.section-head--split { display: grid; gap: 12px 64px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 28em); } }

/* ---------- כפתורים וקישורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font: 500 0.9375rem/1.25 var(--f-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--rose-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rose-deep); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: 0.875rem; }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 0.9375rem/1.4 var(--f-body);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  cursor: pointer;
}
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.link-btn {
  background: none;
  border: 0;
  padding: 10px 2px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rose);
  cursor: pointer;
  color: var(--ink);
  font-size: 0.9375rem;
}

/* ריחוף רק במכשירים עם עכבר. במסך מגע :hover "נדבק" אחרי נגיעה,
   ובגרסה הקודמת זה הגדיל תמונות בזמן גלילה (התמונה "זזה עם האצבע") */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--rose-deeper); }
  .btn-ghost:hover { background: var(--blush); }
  .text-link:hover { text-decoration-color: var(--rose-deep); }
  a:hover > .arrow { transform: translateX(-4px); }
  [dir="ltr"] a:hover > .arrow { transform: translateX(4px); }
}

/* "עוד" שנפתח במקום (details) */
.more { margin-top: 18px; }
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-underline-offset: 7px;
}
.more-btn::-webkit-details-marker { display: none; }
.more-icon { position: relative; width: 11px; height: 11px; flex: none; }
.more-icon::before,
.more-icon::after { content: ""; position: absolute; top: 50%; inset-inline: 0; height: 1px; background: var(--rose-deep); }
.more-icon::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.more[open] > .more-btn .more-icon::after { transform: rotate(0deg); }
.more-body { padding-top: 14px; }
.more-body > p { max-width: 36em; }

/* ---------- כותרת עליונה ---------- */
/* רקע לבן אטום: בזמן גלילה טקסט ותמונות לא משתקפים מאחורי הלוגו והתפריט */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open { border-bottom-color: var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: 12px 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: auto; text-decoration: none; }
.brand-logo { height: 34px; width: auto; }
@media (min-width: 900px) { .brand-logo { height: 42px; } }
.brand-name { font-size: 1.25rem; font-weight: 400; }
.brand-role { font-size: 0.75rem; color: var(--ink-2); margin-inline-start: 8px; }
.header-tools { display: flex; align-items: center; gap: 14px; }

/* בורר שפה: EN / HE תמיד באותו סדר, בקצה הסרגל, בנפרד מכפתור התפריט */
.lang-switch { display: inline-flex; align-items: center; direction: ltr; font-size: 0.8125rem; letter-spacing: 0.08em; }
.lang-switch a { display: inline-grid; place-items: center; min-width: 30px; min-height: 44px; padding: 0 3px; color: var(--ink-2); text-decoration: none; }
.lang-switch a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.lang-sep { color: var(--line-strong); padding: 0 1px; }
@media (hover: hover) and (pointer: fine) { .lang-switch a:not([aria-current]):hover { color: var(--ink); } }

.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; display: inline-block; padding: 10px 0; font-size: 0.875rem; text-decoration: none; white-space: nowrap; }
.nav ul a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 6px;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
[dir="ltr"] .nav ul a::after { transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .nav ul a:hover::after { transform: scaleX(1); } }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 4px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.9375rem;
}
.nav-toggle-lines,
.nav-toggle-lines::before { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .25s var(--ease); }
.nav-toggle-lines { position: relative; transform: translateY(-3px); }
.nav-toggle-lines::before { content: ""; position: absolute; top: 6px; }
[aria-expanded="true"] > .nav-toggle-lines { transform: translateY(0) rotate(45deg); }
[aria-expanded="true"] > .nav-toggle-lines::before { transform: translateY(-6px) rotate(-90deg); }
/* בטלפון צר המילה "תפריט" נשארת רק לקוראי מסך, כדי שהלוגו, הכפתור והבורר יישארו בשורה אחת */
@media (max-width: 379px) {
  .nav-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { justify-content: center; }
}
@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 6px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header.is-open { box-shadow: 0 18px 30px -24px rgba(48, 43, 45, .35); }
  .site-header.is-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 13px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); white-space: normal; }
  .nav ul a::after { display: none; }
  .header-cta { align-self: flex-start; }
}

/* ---------- תמונות ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper-3); }
.frame > img,
.frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--f, 50% 50%);
}
@media (max-width: 699px) {
  .frame > img,
  .frame > picture > img { object-position: var(--fm, var(--f, 50% 50%)); }
}

/* ---------- פתיחה: שער של מגזין ---------- */
/* בטלפון: התמונה מקצה לקצה, והשם והכותרת נקראים יחד כחתימה מתחת לתצלום.
   במחשב: הטקסט יושב ישר על התמונה, בלבן, בפינה התחתונה בצד שבו הטקסט מתחיל,
   ומתחתיו הכהיה עדינה של התמונה (מלמטה ומהצד של הטקסט) כדי שיהיה קריא. */
.hero { position: relative; }
.hero-media { height: clamp(300px, calc(100svh - var(--header-h) - 250px), 640px); }
.hero-panel { display: grid; justify-items: center; gap: 26px; padding: 22px var(--gutter) 26px; text-align: center; }
.hero-title { display: grid; gap: 4px; }
/* שורת "טל גיגי · צלם חתונות": אותיות קטנות ומרווחות, עם קו דק */
.hero-kicker { display: flex; align-items: center; gap: 14px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.28em; color: var(--rose-ink); }
.hero-kicker::before,
.hero-kicker::after { content: ""; flex: none; width: 28px; height: 1px; background: var(--rose); }
.hero-headline {
  font-family: var(--f-display);
  font-weight: 200;
  letter-spacing: -0.01em;
  font-size: clamp(1.875rem, 1.25rem + 2.6vw, 3.25rem);
  line-height: 1.14;
}
.hl-line { display: block; }
.hero-actions { display: grid; justify-items: center; gap: 2px; width: 100%; max-width: 360px; }
.hero-actions .btn { width: 100%; }
@media (max-width: 899px) {
  .hero-kicker { justify-content: center; }
}
/* באנגלית השורה "Tal Gigi · Wedding Photographer" ארוכה בהרבה מבעברית. במסכים צרים מ-1100px
   הריווח בין האותיות קטן יותר (ובטלפון גם הקווים קצרים יותר), כדי שתישאר בשורה אחת */
@media (max-width: 1099px) {
  [dir="ltr"] .hero-kicker { letter-spacing: 0.14em; }
}
@media (max-width: 899px) {
  [dir="ltr"] .hero-kicker { gap: 10px; }
  [dir="ltr"] .hero-kicker::before,
  [dir="ltr"] .hero-kicker::after { width: 20px; }
}
@media (max-width: 359px) {
  [dir="ltr"] .hero-kicker { gap: 8px; letter-spacing: 0.08em; }
  [dir="ltr"] .hero-kicker::before,
  [dir="ltr"] .hero-kicker::after { width: 12px; }
}
@media (min-width: 900px) {
  .hero-media { height: clamp(560px, calc(100svh - var(--header-h)), 940px); }
  /* ההכהיה: מלמטה ומהצד של הטקסט, ועוד הכהיה מרוכזת בפינה שבה הטקסט יושב.
     הפינה מכסה את הטקסט ולא מגיעה לזוג: היא נבדקה על התמונה הנוכחית, כך שגם השורה הקטנה "טל גיגי · צלם חתונות"
     נשארת קריאה מול הנורות שברקע (ניגודיות של 4.5:1 לפחות ב-95% מהרקע שמאחוריה), והפנים של הזוג לא מוכהות יותר */
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 55% 85% at 100% 100%, rgba(30, 26, 27, .6) 0%, rgba(30, 26, 27, .5) 80%, transparent 100%),
      linear-gradient(to top, rgba(30, 26, 27, .6) 0%, rgba(30, 26, 27, .18) 38%, transparent 62%),
      linear-gradient(to left, rgba(30, 26, 27, .32), transparent 55%);
  }
  [dir="ltr"] .hero-media::after {
    background:
      radial-gradient(ellipse 55% 85% at 0% 100%, rgba(30, 26, 27, .6) 0%, rgba(30, 26, 27, .5) 80%, transparent 100%),
      linear-gradient(to top, rgba(30, 26, 27, .6) 0%, rgba(30, 26, 27, .18) 38%, transparent 62%),
      linear-gradient(to right, rgba(30, 26, 27, .32), transparent 55%);
  }
  /* הטקסט נשאר ב-38% החיצוניים של התמונה (מהקצה עד הרווח שבצד), כי הזוג בתמונת פתיחה עומד בדרך כלל במרכז
     (בתמונה הנוכחית: בערך בין 40% ל-60% מהרוחב). הכותרת קטנה מספיק כדי ששתי השורות ייכנסו ברוחב הזה, בעברית ובאנגלית */
  .hero-panel {
    position: absolute;
    inset-inline-start: var(--gutter);
    bottom: clamp(44px, 6vw, 96px);
    width: min(640px, calc(38vw - var(--gutter)));
    justify-items: start;
    gap: 30px;
    padding: 0;
    color: #fff;
    text-align: start;
  }
  .hero-kicker { color: #fff; }
  .hero-kicker::after { display: none; }
  .hero-kicker::before { width: 48px; background: rgba(255, 255, 255, .85); }
  .hero-headline {
    color: #fff;
    font-size: clamp(2.375rem, 4.25vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-shadow: 0 1px 28px rgba(0, 0, 0, .18);
  }
  .hl-line { white-space: nowrap; }
  .hl-line + .hl-line { padding-inline-start: 1.1em; }
  /* הכפתור והקישור באותה שורה. במחשב צר (בערך מתחת ל-1200px) אין לשניהם מקום ליד הזוג, והקישור יורד מתחת לכפתור */
  .hero-actions { display: flex; flex-flow: row wrap; align-items: center; gap: 4px 28px; max-width: none; width: auto; }
  .hero-actions .btn { width: auto; }
  .hero .btn-primary { background: #fff; color: var(--ink); }
  .hero .text-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .7); }
  .hero-panel :focus-visible { outline-color: #fff; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .hero .btn-primary:hover { background: var(--blush); }
  .hero .text-link:hover { text-decoration-color: #fff; }
}
/* מצב ניגודיות מאולצת (Windows): הצבעים נקבעים במערכת, אז הטקסט חוזר לרקע אחיד ולא יושב על התמונה */
@media (min-width: 900px) and (forced-colors: active) {
  .hero-media::after { display: none; }
  .hero-panel { background: Canvas; color: CanvasText; padding: 28px 32px; }
  .hero-kicker, .hero-headline { color: CanvasText; text-shadow: none; }
  .hero-kicker::before { background: CanvasText; }
}

/* ---------- היכרות: כתבת פרופיל ---------- */
/* קודם הכותרת והטקסט, אחריהם צמד הפורטרטים. הקטן בשחור־לבן חופף לפינה התחתונה (שמאל בעברית) של הגדול */
.about { padding-block: var(--section); }
.about-grid { display: grid; gap: 30px; }
.about-copy { max-width: 36em; }
.about-copy .section-title { margin-bottom: 16px; }
.about-lede { font-size: 1.0625rem; line-height: 1.7; }
.about-text { color: var(--ink-2); }
.about-quote {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--rose);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.4;
  color: var(--rose-ink);
  text-wrap: balance;
}
.about-quote p { margin: 0; }
.about-more .more-body > p { color: var(--ink-2); }
.about-work { margin: 22px 0 0; }
.about-work-frame { aspect-ratio: 3 / 2; border-radius: var(--r-sm); }
.about-visual { position: relative; margin: 0; padding-bottom: 30px; }
.about-portrait { width: 80%; aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.about-inset {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 40%;
  aspect-ratio: 1;
  border: 6px solid var(--white);
  border-radius: var(--r-sm);
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
  .about-portrait { width: 84%; }
  .about-inset { width: 38%; }
  .about-lede { font-size: 1.1875rem; }
}

/* ---------- בדיקת זמינות ---------- */
.avail-sec { background: var(--ivory); padding-block: var(--section); }
.avail-grid { display: grid; gap: 40px; }
.avail-panel .lead { margin-top: 12px; }
.avail-photo { display: none; margin: 0; }
.avail-frame { aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.avail-caption { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .avail-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
  .avail-photo { display: block; }
}

.lead-form { margin-top: 26px; max-width: 34rem; }
.fields { display: grid; gap: 22px 24px; }
@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--names { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.field label, .field .label { font-size: 0.9375rem; font-weight: 500; }
.opt { font-weight: 400; font-size: 0.8125rem; color: var(--ink-2); }
.field input:not([type="checkbox"]),
.field textarea,
.date-btn {
  width: 100%;
  min-height: 44px;
  padding: 4px 2px 8px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.field input:focus,
.field textarea:focus,
.date-btn:focus { border-bottom-color: var(--rose-deep); box-shadow: 0 1px 0 0 var(--rose-deep); outline: none; }
.field input:focus-visible,
.field textarea:focus-visible,
.date-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.field [aria-invalid="true"] { border-bottom-color: var(--error) !important; box-shadow: 0 1px 0 0 var(--error); }
.field-hint { margin: 2px 0 0; font-size: 0.8125rem; color: var(--ink-2); }
.field-error { margin: 4px 0 0; color: var(--error); font-size: 0.875rem; }

/* לוח שנה */
.datepick { position: relative; }
.date-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; text-align: start; color: var(--ink); min-height: 48px !important; }
.date-btn .date-value.is-empty { color: var(--ink-2); }
.date-btn:disabled { cursor: default; opacity: .5; }
.date-icon { width: 22px; height: 22px; color: var(--rose-deep); }
.cal {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  z-index: 30;
  width: min(320px, calc(100vw - 2 * var(--gutter)));
  padding: 14px 12px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 20px 40px -26px rgba(48, 43, 45, .4);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-title { font-size: 1rem; font-weight: 500; }
.cal-nav { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; cursor: pointer; font-size: 1.125rem; color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-dow { padding: 4px 0; font-size: 0.75rem; color: var(--ink-2); }
.cal-day {
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--rose); }
.cal-day[aria-pressed="true"] { background: var(--rose-deep); color: #fff; }
.cal-day:disabled { color: #b9b0ab; cursor: default; }
.cal-day:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) {
  .cal-day:not(:disabled):not([aria-pressed="true"]):hover,
  .cal-nav:not(:disabled):hover { background: var(--blush); }
}
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; margin-top: 8px; font-size: 0.9375rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--rose-deep); }

.notes-more { margin-top: 10px; }
.notes-more .more-btn { font-weight: 400; color: var(--ink); }
.form-actions { margin-top: 22px; display: grid; gap: 8px; justify-items: start; }
.form-note { margin: 0; font-size: 0.8125rem; color: var(--ink-2); }
.direct-link { font-weight: 400; font-size: 0.9375rem; }
.form-status:empty { display: none; }
.form-status { margin-top: 18px; padding: 14px 16px; background: var(--white); border-inline-start: 2px solid var(--rose-deep); }
.form-status[data-state="ok"] { border-color: var(--ok); }
.form-status p { margin: 0 0 6px; }
.status-sub { font-size: 0.875rem; color: var(--ink-2); }
.avail-result:empty { display: none; }
.avail-result { margin-top: 10px; padding: 10px 12px; background: var(--white); border-inline-start: 2px solid var(--rose-deep); font-size: 0.9375rem; }
.avail-result[data-state="busy"] { border-color: var(--error); }
.avail-result[data-state="free"] { border-color: var(--ok); }
.avail-result p { margin: 0; }



/* ---------- חתונות מלאות: אינדקס כתבות ---------- */
/* כל כרטיס הוא קישור אחד: תמונה, שמות, מקום (אם ידוע) וחץ קטן */
.weddings { padding-block: var(--section); }
.w-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
.w-tile { position: relative; min-width: 0; }
.w-link { display: block; color: inherit; text-decoration: none; border-radius: var(--r-sm); }
.w-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.w-media { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.w-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 12px; }
.w-text { display: grid; gap: 2px; min-width: 0; }
.w-names { font-weight: 400; font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.3; }
.w-venue { font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
.w-arrow { flex: none; font-size: 0.9375rem; line-height: 1.35; color: var(--rose-deep); }
.js .w-grid:not(.is-expanded) .is-extra { display: none; }
.w-more { margin-top: 30px; text-align: center; }
.w-more-count { color: var(--ink-2); font-weight: 400; }
.w-note { margin: 12px auto 0; max-width: 32em; text-align: center; font-size: 0.8125rem; color: var(--ink-2); }
@media (max-width: 899px) {
  .w-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .w-tile:last-child:nth-child(odd) .w-media { aspect-ratio: 16 / 10; }
}
@media (min-width: 900px) {
  .w-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 28px; }
  .w-tile { width: calc((100% - 3 * 28px) / 4); }
  .w-tile:nth-child(even) { margin-top: 56px; }
}
@media (hover: hover) and (pointer: fine) {
  .w-media img { transition: transform .6s var(--ease); }
  .w-link:hover .w-media img { transform: scale(1.03); }
  .w-arrow { transition: transform .25s var(--ease); }
  .w-link:hover .w-arrow { transform: translateX(-4px); }
  [dir="ltr"] .w-link:hover .w-arrow { transform: translateX(4px); }
}

/* ---------- גלריה נעה: תמונות נבחרות מכמה חתונות ---------- */
/* כל תמונה בגובה הרצועה וברוחב לפי היחס שלה (--r), בלי חיתוך. הגובה תואם ל-SC_H ב-render.mjs */
/* בטלפון: תמונת רוחב נכנסת כולה במסך (רוחב פחות שוליים, חלקי 1.5), ולא יותר מ-300 פיקסלים גובה */
.showcase { --sc-h: min(300px, calc((100vw - 2 * var(--gutter)) / 1.5)); padding-block: var(--section); }
@media (min-width: 700px) { .showcase { --sc-h: 380px; } }
@media (min-width: 1100px) { .showcase { --sc-h: 460px; } }
.sc-head { margin-bottom: 0; }
.sc-bar { display: flex; justify-content: flex-end; min-height: 12px; margin: clamp(12px, 2vw, 20px) 0 6px; }
.marquee-toggle { font-size: 0.875rem; color: var(--ink); text-decoration-color: var(--rose-deep); }
.sc-track {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(145, 102, 111, .45) transparent;
  padding-bottom: 12px;
}
.sc-track:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.sc-list {
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 1.2vw, 14px);
  width: max-content;
  margin: 0;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 10px;
  list-style: none;
}
.sc-item { flex: none; position: relative; }
.sc-media { display: block; height: var(--sc-h); aspect-ratio: var(--r, 2 / 3); border-radius: var(--r-sm); }
.showcase--empty { padding-block: 24px; }

/* ---------- המלצות ---------- */
/* הוורוד הבהיר עבר לכאן: הוא הרקע סביב בועות ההודעה, והצבעים של צילומי המסך נשארים כמו שהם */
.voices { --card: min(335px, calc(100vw - 2 * var(--gutter))); background: var(--blush); padding-block: var(--section); }
.voices-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(22px, 4vw, 40px); }
.voices-toggle { font-size: 0.875rem; color: var(--ink); text-decoration-color: var(--rose-deep); }
.voices-track {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(145, 102, 111, .45) transparent;
  padding-bottom: 12px;
}
.voices-track:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.voices-list {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: max-content;
  margin: 0;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 10px;
  list-style: none;
}
.voice { flex: none; width: var(--card); }
.voice-fig { margin: 0; }
.voice-shot { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 30px -22px rgba(48, 43, 45, .55); }
.voice-tr { margin-top: 14px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink); }
.voice-tr-label { display: block; margin-bottom: 4px; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--rose-ink); }
/* תרגום ארוך מוצג בשש שורות, והשאר נפתח בכפתור, כדי שהכרטיסים יישארו בגובה סביר */
.voice-tr-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.voice-tr.is-open .voice-tr-text { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.voice-more { min-height: 36px; padding: 6px 0; font-size: 0.875rem; text-decoration-color: var(--rose-deep); }
.voices--empty { padding-block: 24px; background: none; }

/* ---------- חבילת הצילום ---------- */
/* רשימה קצרה ומאווררת: בלי מספור ובלי קו בין סעיף לסעיף, רק קו עדין אחד בתחילתה */
.package { background: var(--ivory); padding-block: var(--section); }
.pk-grid { display: grid; gap: 26px; grid-template-areas: "head" "main"; }
.pk-head { grid-area: head; }
.pk-head .lead { margin-top: 10px; }
.pk-media { display: none; margin: 0; }
.pk-frame { aspect-ratio: 3 / 4; border-radius: var(--r-sm); }
.pk-caption { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-2); }
.pk-main { grid-area: main; }
.pk-values { border-top: 1px solid var(--line); padding-top: 10px; }
.pk-value { position: relative; padding: 10px 0; padding-inline-start: 22px; font-size: 1.0625rem; line-height: 1.55; }
.pk-value::before { content: ""; position: absolute; inset-inline-start: 2px; top: calc(10px + 0.78em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.pk-more { margin-top: 16px; }
.pk-list { margin-top: 6px; }
.pk-row { padding: 14px 0; }
.pk-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 1.0625rem; font-weight: 500; }
.pk-text { margin: 4px 0 0; color: var(--ink-2); max-width: 36em; }
.pk-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pk-facts li { padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: 0.8125rem; line-height: 1.4; }
.pk-tag {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--rose-deep);
  border-radius: var(--r-sm);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--rose-ink);
}
.pk-link { margin-top: 4px; font-size: 0.9375rem; }
.pk-actions { margin-top: 28px; }
@media (min-width: 1000px) {
  .pk-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "head media" "main media";
    column-gap: clamp(48px, 7vw, 112px);
    row-gap: 30px;
    align-items: start;
  }
  .pk-media { display: block; grid-area: media; position: sticky; top: calc(var(--header-h) + 32px); }
  .pk-value { font-size: 1.1875rem; padding-block: 12px; }
  .pk-value::before { top: calc(12px + 0.78em - 3px); }
}

/* ---------- יום החתונה: סיפור של יום אחד ---------- */
/* כל תחנה: שעה · שם השלב, והסבר קצר רק כשהוא מוסיף. קו אחד = הצלם הראשי, קו כפול = שני צלמים */
.day { padding-block: var(--section); }
.day-grid { display: grid; gap: 30px; }
@media (min-width: 1000px) {
  .day-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(48px, 7vw, 112px); align-items: start; }
  .day-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.season { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.season-legend { padding: 0; margin-bottom: 8px; font-size: 0.8125rem; color: var(--ink-2); }
.season-options { display: inline-flex; padding: 4px; gap: 4px; background: var(--white); border: 1px solid var(--rose-deep); border-radius: var(--r); }
.season-options input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.season-options label { display: grid; place-items: center; min-width: 84px; min-height: 40px; padding: 0 18px; border-radius: 4px; font-size: 0.9375rem; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.season-options input:checked + label { background: var(--rose-deep); color: #fff; }
.season-options input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .season-options input:not(:checked) + label:hover { background: var(--blush); } }
.t-winter { display: none; }
.day.is-winter .t-summer,
.day:has(#season-winter:checked) .t-summer { display: none; }
.day.is-winter .t-winter,
.day:has(#season-winter:checked) .t-winter { display: inline; }

.crew { display: grid; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.crew-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.crew-key { display: block; height: 40px; margin-top: 4px; justify-self: center; }
.crew-key--main { width: 1px; background: var(--rose-deep); }
.crew-key--second { width: 6px; border-inline: 1px solid var(--rose-deep); }
.crew-title { font-size: 0.9375rem; font-weight: 500; }
.crew-hours { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.1875rem; line-height: 1.3; text-align: left; font-variant-numeric: lining-nums tabular-nums; }
[dir="rtl"] .crew-hours { text-align: right; }
.crew-item p:not(.crew-hours) { margin: 2px 0 0; font-size: 0.8125rem; line-height: 1.55; color: var(--ink-2); }
.day-note { margin: 18px 0 0; font-size: 0.8125rem; color: var(--ink-2); }

/* בנייד בלי מסגרת: התחנות על אותו קו יישור כמו שאר התוכן */
.program { margin: 0; }
.pg-row { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 14px; }
.pg-rail { position: relative; }
.pg-rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); background: var(--rose); }
.has-second .pg-rail::before { width: 7px; background: none; border-inline: 1px solid var(--rose-deep); }
.pg-row:first-child .pg-rail::before { top: 13px; }
.pg-row:last-child .pg-rail::before { bottom: auto; height: 13px; }
.pg-rail::after { content: ""; position: absolute; top: 8px; left: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--rose-deep); }
.has-second .pg-rail::after { width: 11px; height: 11px; top: 7px; }
.pg-row--end .pg-rail::after { background: var(--rose-deep); }
.pg-body { padding: 0 0 18px; min-width: 0; }
.pg-row:last-child .pg-body { padding-bottom: 0; }
/* עמודת שעה ברוחב קבוע: הכותרות וההסברים מתיישרים לאותו קו, וכותרת ארוכה נשברת בתוך העמודה שלה */
.program { --tw: 3.3rem; --sep: 0.5rem; --g: 8px; }
.pg-head { display: grid; grid-template-columns: var(--tw) var(--sep) minmax(0, 1fr); align-items: baseline; gap: 0 var(--g); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.pg-text { padding-inline-start: calc(var(--tw) + var(--sep) + 2 * var(--g)); }
.pg-time { font-family: var(--f-display); font-weight: 300; font-size: 1.125rem; color: var(--rose-ink); font-variant-numeric: lining-nums tabular-nums; }
.pg-sep { font-weight: 300; color: var(--rose); }
.pg-text { margin: 2px 0 0; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.pg-time mark.pending { display: inline-block; }
@media (min-width: 700px) {
  .program { background: var(--ivory); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); }
  .pg-rail::after { background: var(--ivory); }
  .pg-row--end .pg-rail::after { background: var(--rose-deep); }
  .pg-row { column-gap: 20px; }
  .pg-body { padding-bottom: 24px; }
  .program { --tw: 4.2rem; --g: 12px; }
  .pg-head { font-size: 1.125rem; }
  .pg-time { font-size: 1.375rem; }
  .pg-row:first-child .pg-rail::before { top: 15px; }
  .pg-row:last-child .pg-rail::before { height: 15px; }
  .pg-rail::after { top: 10px; }
  .has-second .pg-rail::after { top: 9px; }
}

/* ---------- אלבומים ---------- */
.albums { background: var(--ivory); padding-block: var(--section); }
.albums-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .albums-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
}
.albums-text .section-title { margin-bottom: 16px; }
.albums-lede { margin: 0; font-size: 1.0625rem; max-width: 30em; }
.albums-h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px; font-size: 1.0625rem; font-weight: 500; }
/* טבלה קלילה: שם הפריט במשקל בינוני, הפרטים במשקל רגיל, והרבה אוויר */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table thead th { padding: 0 0 8px; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.04em; color: var(--ink-2); text-align: start; border-bottom: 1px solid var(--line); }
.specs-table tbody th,
.specs-table td { padding: 13px 0; text-align: start; vertical-align: baseline; border-bottom: 1px solid var(--line); }
.specs-table tbody tr:last-child > * { border-bottom: 0; }
.specs-table tbody th { width: 40%; padding-inline-end: 20px; font-weight: 500; }
.specs-table td { color: var(--ink-2); }
.albums-books { margin-top: clamp(36px, 6vw, 64px); }
.albums-hint { margin: 0 0 16px; color: var(--ink-2); }
.book-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.book-cover { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: start; cursor: pointer; touch-action: manipulation; }
.book-cover:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.book-cover-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.book-cover-title { display: block; margin-top: 8px; font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) {
  .book-cover-img img { transition: transform .5s var(--ease); }
  .book-cover:hover .book-cover-img img { transform: scale(1.03); }
}
/* overflow: hidden — הספר התלת־ממדי לא יכול לחרוג מהאזור שלו בזמן דפדוף ולהרחיב את העמוד */
.book-panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 40px); overflow: hidden; }
.book-back { margin-bottom: 8px; }

/* ---------- אלבום ---------- */
.album { min-width: 0; }
.album-head { margin-bottom: 14px; text-align: center; }
.album-title { font-family: var(--f-head); font-weight: 400; font-size: 1.375rem; }
.album-hint { color: var(--ink-2); margin: 4px auto 0; font-size: 0.9375rem; max-width: 30em; }

.album-stage {
  position: relative;
  aspect-ratio: 2 / 1;
  width: 100%;
  perspective: 2400px;
  perspective-origin: 50% 20%;
  touch-action: pan-y pinch-zoom; /* גלילה אנכית וצביטה לזום נשארות של הדפדפן; רק החלקה אופקית מדפדפת */
  user-select: none;
  -webkit-user-select: none;
  margin-block: 8px 4px;
}
.book {
  position: absolute;
  inset: 4% 3% 8%;
  transform-style: preserve-3d;
  direction: ltr;
  transform: rotateX(12deg);
  transition: transform .9s cubic-bezier(.3,.7,.2,1);
}
.book.is-closed { transform: translateX(25%) rotateX(12deg); }

.cover-static,
.cover-face {
  position: absolute;
  inset: 0 50% 0 0;
  background-color: var(--cloth, #b9a497);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.16), transparent 60%);
  border-radius: 3px 2px 2px 3px;
  box-shadow:
    -1px 1px 0 #f6f1ea, -2px 2px 0 #dcd2c6, -3px 3px 0 #f6f1ea, -4px 4px 0 #dcd2c6,
    -5px 5px 0 #f6f1ea, -6px 6px 0 #dcd2c6, -7px 7px 0 color-mix(in srgb, var(--cloth, #b9a497) 80%, #000),
    -6px 26px 34px -14px rgba(51,46,44,.4);
  display: grid;
  place-items: end center;
  padding-bottom: 22%;
  overflow: visible;
}
.cover-static::before,
.cover-face::before {
  /* שדרה בצד ימין, כמו באלבום בעברית */
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 7%;
  background: linear-gradient(90deg, rgba(0,0,0,.0), rgba(0,0,0,.12) 60%, rgba(255,255,255,.12) 85%, rgba(0,0,0,.18));
  border-radius: 0 2px 2px 0;
}
.emboss {
  font-family: var(--f-head);
  font-size: clamp(0.85rem, 0.5rem + 1.3vw, 1.5rem);
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--cloth, #b9a497) 74%, #000);
  text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 -1px 0 rgba(0,0,0,.22);
  direction: rtl;
}

.album-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.album-status { margin: 0; text-align: center; color: var(--ink-2); font-size: 0.9375rem; }
.album-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--rose-deep);
  background: transparent;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .album-btn:hover { background: var(--blush); } }
.album-btn--main { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
@media (hover: hover) and (pointer: fine) { .album-btn--main:hover { background: var(--rose-deeper); } }
.album-btn:disabled { opacity: .35; cursor: default; }
.album-tools { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: center; margin-top: 4px; }

@media (max-width: 699px) {
  .album-controls { grid-template-columns: 1fr 1fr; }
  .album-status { grid-column: 1 / -1; grid-row: 1; }
}

/* תצוגה פשוטה של אותן כפולות */
.album-simple ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.album-simple figure { margin: 0; }
.album-simple figcaption { color: var(--ink-2); font-size: 0.9375rem; margin-top: 6px; }

.album-dialog {
  width: min(96vw, 1400px);
  max-height: 96vh;
  border: 0;
  border-radius: var(--r);
  padding: clamp(12px, 2vw, 24px);
  background: var(--white);
  color: var(--ink);
}
.album-dialog::backdrop { background: rgba(48, 43, 45, .78); }
.album-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.album-dialog .album-stage { width: min(100%, calc((96vh - 170px) * 2)); margin-inline: auto; }


/* ---------- צלמי וידאו ---------- */
.video { background: var(--white); padding-block: var(--section); }
.video-grid { display: grid; gap: 18px; }
.video-text { max-width: 38em; }
.video-text p { color: var(--ink); }
.video-emph {
  margin-top: 22px !important;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.35;
  color: var(--rose-ink) !important;
  text-wrap: balance;
}
@media (min-width: 900px) {
  .video-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); }
}

/* ---------- שאלות נפוצות ---------- */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; gap: 22px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-intro { margin-top: 14px; color: var(--ink-2); }
.faq-intro a { color: var(--ink); text-decoration-color: var(--rose); text-underline-offset: 5px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1rem; font-weight: 500; line-height: 1.45; }
.faq-icon { position: relative; flex: none; width: 13px; height: 13px; }
.faq-icon::before,
.faq-icon::after { content: ""; position: absolute; top: 50%; inset-inline: 0; height: 1px; background: var(--rose-deep); transition: transform .25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 0 20px; max-width: 40em; color: var(--ink-2); }
.faq-link { min-height: auto; font-size: inherit; }
.faq-more { margin-top: 0; }
.faq-more > .more-btn { margin-top: 14px; }
.faq-more > .more-body { padding-top: 0; }
@media (min-width: 900px) { .faq-q { font-size: 1.0625rem; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq, .about, .package, .video, .avail-sec { interpolate-size: allow-keywords; }
    .faq-item::details-content,
    .more::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
    .faq-item[open]::details-content,
    .more[open]::details-content { height: auto; }
  }
}

/* ---------- סיום ---------- */
/* התמונה מקצה לקצה; כפתור ורוד אחד וקישור טקסט עדין */
.closing { background: var(--blush); }
.closing-grid { display: grid; }
.closing-media { aspect-ratio: 16 / 11; width: 100%; }
.closing-panel { display: grid; place-items: center; padding: clamp(36px, 8vw, 120px) var(--gutter); }
.closing-inner { max-width: 30rem; text-align: center; }
.closing-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.3; text-wrap: balance; }
.closing-actions { display: grid; justify-items: center; gap: 6px; margin: 28px auto 0; max-width: 340px; }
.closing-actions .btn { width: 100%; }
.closing-wa { font-weight: 400; }
@media (min-width: 900px) {
  .closing-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(86svh, 880px); }
  .closing-media { aspect-ratio: auto; height: 100%; }
}

/* ---------- תחתית ---------- */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding-block: 40px calc(28px + var(--nl-badge-h)); }
.footer-inner { display: grid; gap: 26px; }
.footer-logo { height: 40px; width: auto; }
@media (min-width: 900px) { .footer-logo { height: 46px; } }
.footer-line { margin: 10px 0 0; font-size: 0.875rem; color: var(--ink-2); }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
@media (min-width: 900px) { .details { display: flex; flex-wrap: wrap; gap: 12px 32px; } }
.details a { overflow-wrap: anywhere; }
.details li { display: flex; flex-direction: column; }
.details .dl { font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-2); }
.details a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; border-bottom: 1px solid transparent; }
@media (hover: hover) and (pointer: fine) { .details a:hover { border-bottom-color: var(--rose); } }
.footer-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-2); }
.footer-copy p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.footer-links .footer-a11y { color: var(--ink); letter-spacing: 0.02em; }
.footer-links a[aria-current="page"] { text-decoration-color: var(--rose-deep); text-decoration-thickness: 2px; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .footer-copy { grid-column: 1 / -1; }
}

/* ---------- סרגל תחתון בנייד ---------- */
.mbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  gap: 8px;
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .22s var(--ease), visibility 0s linear .22s;
}
.mbar.is-shown { transform: none; visibility: visible; transition: transform .22s var(--ease); }
.mbar-primary {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: var(--r-sm);
  background: var(--rose-deep);
  color: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.mbar-wa { display: grid; place-items: center; width: 52px; min-height: 44px; border: 1px solid var(--rose-deep); border-radius: var(--r-sm); color: var(--rose-deep); }
.wa-icon { width: 24px; height: 24px; }
@media (max-width: 899px) {
  /* העמוד מתארך בגובה הסרגל, כך שהוא לעולם לא מכסה את סוף התוכן */
  .site-footer { padding-bottom: calc(32px + var(--mbar-h) + var(--nl-badge-h) + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) { .mbar { display: none; } }

/* ---------- התג של Netlify ----------
   בחבילה החינמית Netlify מוסיפה לאתר החי תג "Powered by Netlify" בפינה הימנית התחתונה, מעל כל העמוד
   (מסגרת עם המזהה nl-badge-frame). בחבילה הזו אי אפשר להסתיר אותו, ולכן כשהוא קיים מפנים לו מקום:
   בנייד הסרגל התחתון עולה מעליו והופך לסרגל צף, כדי שהתג לא יכסה את הכפתור הראשי,
   ובכל המסכים סוף העמוד מתארך, כדי שהתג לא יכסה את השורה האחרונה.
   64px: גובה התג (38) ומרחקו מתחתית המסך (18), ועוד רווח של 8.
   בלי התג (בתצוגה המקומית, או אחרי מעבר לחבילה בתשלום) הכול נשאר כרגיל. */
:root:has(#nl-badge-frame) { --nl-badge-h: 64px; }
@media (min-width: 900px) {
  :root:has(#nl-badge-frame) { scroll-padding-bottom: calc(var(--nl-badge-h) + 16px); }
  /* בעברית הטקסט של הפתיחה יושב באותה פינה כמו התג, אז הוא עולה מעט כדי שהתג לא יכסה את הכפתורים */
  :root[dir="rtl"]:has(#nl-badge-frame) .hero-panel { bottom: max(clamp(44px, 6vw, 96px), calc(var(--nl-badge-h) + 12px)); }
}
@media (max-width: 899px) {
  :root:has(#nl-badge-frame) .mbar {
    bottom: var(--nl-badge-h);
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 14px 30px -18px rgba(48, 43, 45, .45);
    transform: translateY(calc(100% + var(--nl-badge-h) + 32px));
  }
  :root:has(#nl-badge-frame) .mbar.is-shown { transform: none; }
}

/* ---------- פרופורציות במחשב ---------- */
/* כותרות המקטעים גדולות ודקות יותר ועם יותר אוויר מתחתיהן, וטקסט ההקדמה קטן מעט,
   כדי להגדיל את הפער בין גדול לקטן. (הכותרת של הצהרת הנגישות נשארת כמו שהיא) */
@media (min-width: 900px) {
  .section-title:not(.a11y-title) { font-weight: 200; font-size: clamp(2.25rem, 1.2rem + 3vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; }
  .section-head { margin-bottom: clamp(48px, 6vw, 88px); }
  /* בגלריה הנעה כפתור העצירה יושב בין הכותרת לתמונות, אז האוויר נוסף מעליו */
  .sc-head { margin-bottom: 0; }
  .sc-bar { margin-top: clamp(28px, 3.5vw, 48px); }
  .about-copy .section-title, .albums-text .section-title { margin-bottom: 28px; }
  .lead { font-size: 1rem; }
}

/* ---------- תנועה ---------- */
/* רק למי שלא ביקש הפחתת תנועה, ורק opacity, ‏transform ו-clip-path.
   כניסה לדף (פעם אחת): התמונה הראשית נכנסת בפייד ובזום, ואחריה עולים זה אחר זה השם, שתי שורות הכותרת והכפתורים.
   חשיפה בגלילה: כל רכיב נחשף פעם אחת ונשאר. ההסתרה שלפני החשיפה קיימת רק תחת ‎.fx על ‎<html>,
   שהסקריפט בראש העמוד מוסיף, כך שבלי הסקריפט הכול גלוי.
   החשיפה לא חלה על התמונות בגלריה הנעה, על ההמלצות הנעות או על שום רכיב שיש לו תנועה משלו. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hx-img { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
  @keyframes hx-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-media img { animation: hx-img 2s var(--ease) both; }
  .hero-kicker { animation: hx-up .9s var(--ease) .5s both; }
  .hl-line { animation: hx-up .9s var(--ease) .7s both; }
  .hl-line + .hl-line { animation-delay: .85s; }
  .hero-actions { animation: hx-up .9s var(--ease) 1.1s both; }

  /* כותרות וטקסטים: עולים 15px בפייד */
  .fx :is(.section-title, .lead, .about-lede, .about-text, .albums-lede, .closing-title) { opacity: 0; transform: translateY(15px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .fx :is(.section-title, .lead, .about-lede, .about-text, .albums-lede, .closing-title).in { opacity: 1; transform: none; }

  /* תמונות סטטיות גדולות: וילון מלמטה למעלה, והתמונה שבתוכו מזום 108% ל-100% */
  .fx :is(.about-portrait, .about-inset, .avail-frame, .pk-frame, .closing-media) { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); }
  .fx :is(.about-portrait, .about-inset, .avail-frame, .pk-frame, .closing-media) img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
  .fx :is(.about-portrait, .about-inset, .avail-frame, .pk-frame, .closing-media).in { clip-path: inset(0); }
  .fx :is(.about-portrait, .about-inset, .avail-frame, .pk-frame, .closing-media).in img { transform: none; }
  .fx .about-inset { transition-delay: .35s; }

  /* הקו שמעל הציטוט נמתח מתחילת השורה לסופה */
  .fx .about-quote { position: relative; border-top-color: transparent; }
  .fx .about-quote::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 1.3s var(--ease) .2s; }
  .fx[dir="ltr"] .about-quote::before { transform-origin: 0 50%; }
  .fx .about-quote.in::before { transform: none; }

  /* יום החתונה: כל קטע של הקו נמשך למטה כשהשלב מגיע לבערך 60% מגובה המסך, והנקודה שלו מתמלאת בוורוד.
     הנקודה מתחלפת לוורוד בבת אחת כשהקו כבר בדרך (בלי הנפשת צבע). הנקודה האחרונה נשארת בצבע שלה */
  .fx .pg-rail::before { transform: translateX(-50%) scaleY(0); transform-origin: 50% 0; transition: transform .8s var(--ease); }
  .fx .pg-row.in .pg-rail::before { transform: translateX(-50%) scaleY(1); }
  .fx .pg-rail::after { transition: background-color 0s linear .4s; }
  .fx .pg-row.in:not(.pg-row--end) .pg-rail::after { background: var(--rose); }
}

/* ---------- הפחתת תנועה ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- ניגודיות גבוהה ---------- */
@media (forced-colors: active) {
  .btn, .album-btn, .mbar-primary, .mbar-wa, .season-options, .date-btn { border: 2px solid ButtonText; }
  .w-link:focus-visible, .book-cover:focus-visible, .sc-track:focus-visible, .voices-track:focus-visible { outline: 2px solid Highlight; }
  .voice-shot { outline: 1px solid CanvasText; }
  .season-options input:checked + label, .cal-day[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* ---------- הדפסה ---------- */
@media print {
  .site-header, .mbar, .album-viewer, .books, .marquee-toggle { display: none !important; }
  .voices-track, .sc-track { overflow: visible; }
  .voices-list, .sc-list { flex-wrap: wrap; width: auto; }
  /* בהדפסה הכול גלוי: בלי מצב "לפני חשיפה" ובלי תנועת כניסה */
  .hero-media img, .hero-kicker, .hl-line, .hero-actions { animation: none !important; }
  .fx :is(.section-title, .lead, .about-lede, .about-text, .albums-lede, .closing-title, .about-portrait, .about-inset, .avail-frame, .pk-frame, .closing-media),
  .fx :is(.about-portrait, .about-inset, .avail-frame, .pk-frame, .closing-media) img { opacity: 1 !important; clip-path: none !important; transform: none !important; }
  .fx .about-quote::before { transform: none !important; }
  .fx .pg-rail::before { transform: translateX(-50%) !important; }
}
/* ---------- אלבום: חלקי הספר (נבנים ב-album.js) ---------- */
.board,
.pc.pc-cover,
.face.is-cover {
  background-color: var(--cloth, #b9a497);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.16), transparent 60%);
}
.board { position: absolute; top: -1.6%; bottom: -1.6%; border-radius: 3px; box-shadow: 0 20px 34px -16px rgba(51,46,44,.45); }
.board-left { left: -1.4%; right: 50%; border-radius: 3px 0 0 3px; }
.board-right { left: 50%; right: -1.4%; border-radius: 0 3px 3px 0; }
.pg { position: absolute; top: 0; bottom: 0; background: var(--sheet); }
.pg-left { left: 0; right: 50%; }
.pg-right { left: 50%; right: 0; }
.gutter {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 12%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(90deg, rgba(51,46,44,0) 0%, rgba(51,46,44,.05) 30%, rgba(51,46,44,.18) 49.4%, rgba(255,255,255,.14) 50.6%, rgba(51,46,44,.05) 70%, rgba(51,46,44,0) 100%);
}
.cover-face { z-index: 2; }
.leaf {
  position: absolute; top: 0; bottom: 0; left: 0; width: 50%;
  transform-origin: 100% 50%;
  transform-style: preserve-3d;
  z-index: 6;
}
.face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: var(--sheet);
  overflow: hidden;
}
.face-back { transform: rotateY(180deg); }
.face.is-cover { border-radius: 3px 0 0 3px; }
.shade { position: absolute; inset: 0; background: #332e2c; opacity: 0; pointer-events: none; z-index: 2; }
.pc { position: absolute; inset: 0; overflow: hidden; background: var(--sheet); }
.pc img { position: absolute; max-width: none; }
.pc-photo.fit-contain img { inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.pc-photo.fit-cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-designed img { top: 0; height: 100%; width: 200%; object-fit: contain; }
.pc-designed.side-left img { left: 0; }
.pc-designed.side-right img { right: 0; }
.pc.pc-cover { display: grid; place-items: end center; padding-bottom: 22%; }
.pc-ph {
  inset: 7%;
  display: grid; place-items: center; text-align: center;
  direction: rtl;
  color: var(--ink-2);
  font-size: clamp(.7rem, .5rem + .6vw, .95rem);
  line-height: 1.4;
  border: 1.5px dashed #a59d90;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(173,131,135,.12) 10px 20px), var(--sheet);
}
.cover-ph {
  position: absolute; top: 8%; inset-inline: 0;
  text-align: center; direction: rtl;
  font-size: clamp(.7rem, .5rem + .5vw, .9rem);
  color: #231f1a;
}
.album-dialog [data-act="zoom"] { display: none; }

.simple-spread {
  position: relative;
  aspect-ratio: 2 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sheet);
  box-shadow: 0 12px 26px -16px rgba(51,46,44,.4);
}
.simple-spread .pc { position: relative; inset: auto; }
.simple-spread .pc-ph { margin: 7%; }
.simple-spread::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: rgba(51,46,44,.16);
}
.simple-spread.is-designed { display: block; }
.simple-spread.is-designed::after { display: none; }
.simple-spread.is-designed img { width: 100%; height: 100%; object-fit: contain; }
.status-sub { font-weight: 400 !important; }

@media (max-width: 1099px) {
  .site-header.is-open { box-shadow: 0 18px 30px -24px rgba(51, 46, 44, .35); }
}

/* ---------- ניגודיות מוגברת (הגדרת "הגברת ניגודיות" במכשיר) ---------- */
@media (prefers-contrast: more) {
  :root {
    --ink-2: #4f4945;
    --line: #948a84;
    --line-strong: #5f5853;
    --rose: #7f5660;
    --rose-deep: #7a535c;
    --rose-ink: #6a4650;
  }
  .text-link, .faq-intro a, .details a, .footer-links a { text-decoration: underline; text-decoration-color: currentColor; }
  .mbar { background: var(--white); }
}

/* ---------- הצהרת נגישות ---------- */
.page-a11y .header-inner { justify-content: space-between; }
.a11y-back { font-size: 0.9375rem; }
.a11y-page { padding-block: clamp(36px, 6vw, 88px) var(--section); }
.a11y-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.a11y-head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.a11y-title { margin-bottom: 10px; }
.a11y-updated { margin: 0; font-size: 0.875rem; color: var(--ink-2); }
.a11y-intro p { max-width: 40em; }
.a11y-intro .lead { color: var(--ink); font-size: 1.125rem; margin-bottom: 1em; }
.a11y-level { padding: 18px 20px; margin-top: 24px; background: var(--ivory); border-inline-start: 2px solid var(--rose-deep); }
.a11y-sec { margin-top: clamp(36px, 5vw, 56px); }
.a11y-h2 { margin-bottom: 14px; font-weight: 400; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.35; }
.a11y-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.a11y-list li { position: relative; padding: 12px 0; padding-inline-start: 22px; border-bottom: 1px solid var(--line); }
.a11y-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: calc(12px + 0.85em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.a11y-contact { padding: clamp(22px, 4vw, 36px); background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-sm); }
.a11y-who { margin-top: 1em; font-weight: 500; }
.a11y-details { margin-top: 14px; }
@media (forced-colors: active) { .a11y-list li::before { background: CanvasText; } .a11y-level { border-inline-start-color: CanvasText; } }
.page-a11y .site-footer { padding-bottom: calc(28px + var(--nl-badge-h)); }
.a11y-details { grid-template-columns: minmax(0, 1fr); }
/* כתובת המייל בשורה משלה בנייד, כדי שלא תישבר באמצע */
@media (max-width: 899px) { .details li:has(a[href^="mailto:"]) { grid-column: 1 / -1; order: 9; } }
