/* ==========================================================================
   תלתן שמחות — styles
   Palette: paper cream, clover green, gold. Motif: chuppah arches on photos.
   ========================================================================== */

:root {
  --paper: #f7f0e3;
  --paper-2: #fbf7ef;
  --paper-3: #ece2cd;
  --ink: #1c2620;
  --ink-2: #3d453e;
  --ink-3: #5f665b;

  --green-950: #0c261a;
  --green-900: #0f2e20;
  --green-800: #163d2b;
  --green-700: #1f5139;
  --green-600: #2c6a4b;

  --gold: #b8893a;
  --gold-deep: #8a6222;
  --gold-light: #e6cc8f;
  --gold-foil: linear-gradient(135deg, #f1dfaa 0%, #d2a957 38%, #b07f2f 62%, #e6c983 100%);

  --cream-on-dark: #f3ecdc;
  --muted-on-dark: rgba(243, 236, 220, 0.78);

  --font-display: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif;
  --font-body: "Assistant", "Heebo", "Arial Hebrew", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 1.25rem;
  --arch: 999px 999px 22px 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-photo: 0 40px 70px -40px rgba(15, 46, 32, 0.55);
}

/* ---------- base ---------- */
[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.36 0 0 0 0 0.2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* The tilted ribbon bleeds past the edges; clip it so phones never get a sideways scroll
   (clip, unlike hidden, keeps position: sticky working) */
main {
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--green-900);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.why :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--gold-light);
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--green-800);
  color: var(--cream-on-dark);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Parts that wait for the owner's details. Visible only with ?review */
.review-only {
  display: none !important;
}

.review .review-only {
  display: revert !important;
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
}

.section-head .eyebrow + h2 {
  margin-top: 0.9rem;
}

.lede {
  font-size: clamp(1.08rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  max-width: 54ch;
}

.section-head .lede {
  margin-top: 1.1rem;
}

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

.section-head.is-center .lede {
  margin-inline: auto;
}

.section-head.is-center .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.btn svg {
  width: 1.3em;
  height: 1.3em;
  flex: none;
}

.btn-primary {
  background: var(--green-700);
  color: var(--paper-2);
  box-shadow: 0 14px 30px -14px rgba(22, 61, 43, 0.75), inset 0 0 0 1px rgba(230, 204, 143, 0.28);
}

.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -16px rgba(22, 61, 43, 0.8), inset 0 0 0 1px rgba(230, 204, 143, 0.45);
}

.btn-outline {
  background: var(--paper-2);
  color: var(--green-800);
  box-shadow: inset 0 0 0 1.5px rgba(31, 81, 57, 0.55);
}

.btn-outline:hover {
  background: #fff;
}

.btn-gold {
  background: var(--gold-foil);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--green-950);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.3s var(--ease), background-position 0.6s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
}

.btn-sm {
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-size: 0.98rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 98, 34, 0.45);
  transition: border-color 0.3s, color 0.3s;
}

.btn-link:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn-link svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.hero-more:hover svg {
  transform: translateY(3px);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(22, 61, 43, 0.22);
  background: transparent;
  color: var(--green-900);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s;
}

.icon-btn:hover {
  background: var(--paper-2);
  border-color: rgba(22, 61, 43, 0.4);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

/* ---------- arch photo frames (the chuppah motif) ---------- */
.arch {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--paper-3);
  isolation: isolate;
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
  background-color: rgba(247, 240, 227, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(138, 98, 34, 0.18);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--green-900);
}

.brand-tag {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.4rem);
}

.nav a {
  position: relative;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 0.6rem;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0.3rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--green-900);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-call,
.menu-toggle,
.mobile-menu {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(4.5rem, 8vw, 7rem);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  margin-block: 1.2rem 1.5rem;
  font-size: clamp(2.55rem, 5.3vw, 4.75rem);
  font-weight: 500;
  line-height: 1.06;
  text-wrap: wrap;
}

.hero-title .accent {
  position: relative;
  color: var(--gold-deep);
  white-space: nowrap;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: -4%;
  bottom: -0.14em;
  height: 0.24em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14C70 5 150 3 296 10' fill='none' stroke='%23b8893a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-sub {
  max-width: 38ch;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.1rem;
}

.hero-call {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: var(--ink-2);
}

.hero-call a {
  display: inline-block;
  padding-block: 0.6rem;
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 98, 34, 0.45);
  line-height: 1;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
  color: var(--ink-2);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

.hero-visual {
  position: relative;
  height: clamp(480px, 46vw, 620px);
}

.hero-visual .arch-main {
  position: absolute;
  inset-block: 0 34px;
  inset-inline-end: 0;
  width: 76%;
  box-shadow: var(--shadow-photo);
}

.hero-visual .arch-outline {
  position: absolute;
  inset-block: -16px 18px;
  inset-inline-end: -16px;
  width: 76%;
  border: 1px solid rgba(184, 137, 58, 0.55);
  border-radius: var(--arch);
  pointer-events: none;
}

.hero-visual .arch-small {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 40%;
  aspect-ratio: 3 / 4;
  border: 7px solid var(--paper);
  box-shadow: var(--shadow-photo);
}

/* ---------- ribbon ---------- */
.ribbon {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--green-800);
  color: var(--gold-light);
  border-block: 1px solid rgba(230, 204, 143, 0.35);
  transform: rotate(-1.4deg) scale(1.03);
  margin-block: -0.5rem;
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-group {
  display: flex;
  align-items: center;
  flex: none;
}

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.05rem 0.8rem;
  padding-inline-end: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 500;
  white-space: nowrap;
}

.ribbon-item svg {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}

@keyframes marquee {
  to {
    transform: translateX(50%);
  }
}

/* ---------- the night (moments) ---------- */
.night .section-head {
  max-width: 720px;
}

.moments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.moment:nth-child(even) {
  margin-top: 3.75rem;
}

.moment .arch {
  aspect-ratio: 3 / 4.15;
  box-shadow: var(--shadow-photo);
}

.moment .arch img {
  transition: transform 1.2s var(--ease);
}

.moment:hover .arch img {
  transform: scale(1.05);
}

.moment-text {
  text-align: center;
}

.moment h3 {
  margin-top: 1.6rem;
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
}

.moment h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 auto 1rem;
  background: var(--gold);
}

.moment p {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 1.02rem;
}

/* ---------- why us (dark) ---------- */
.why {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(44, 106, 75, 0.55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(184, 137, 58, 0.16), transparent 60%),
    var(--green-900);
  color: var(--muted-on-dark);
}

.why h2,
.why h3 {
  color: var(--cream-on-dark);
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.why-intro h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
}

.why-statement {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--gold-light);
  max-width: 26ch;
}

.why-photo {
  margin-top: 2.4rem;
  width: min(100%, 360px);
  aspect-ratio: 4 / 4.6;
  border: 1px solid rgba(230, 204, 143, 0.35);
  padding: 8px;
  background: transparent;
}

.why-photo img {
  border-radius: 999px 999px 16px 16px;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-item {
  padding-block: 2.1rem;
  border-bottom: 1px solid rgba(230, 204, 143, 0.18);
}

.why-item:first-child {
  padding-top: 0.6rem;
}

.why-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.why-item h3 {
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
}

.why-item h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-bottom: 1.1rem;
  background: var(--gold-light);
  opacity: 0.8;
}

.why-item p {
  margin-top: 0.6rem;
  font-size: 1.06rem;
  max-width: 52ch;
}

/* ---------- team (review-only until filled in) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.team-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-3);
  border: 1.5px dashed rgba(138, 98, 34, 0.5);
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo:has(img:not([hidden])) {
  border: 0;
}

.team-photo img:not([hidden]) + .team-photo-empty {
  display: none;
}

.team-photo-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-weight: 600;
}

.team-copy h2 {
  margin-top: 0.9rem;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
}

.team-copy .lede {
  margin-top: 1.1rem;
}

.team-names {
  margin-top: 1rem;
  color: var(--ink-3);
}

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 230px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 16px);
}

.g-item {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--paper-3);
  cursor: zoom-in;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 38, 26, 0.45));
  opacity: 0;
  transition: opacity 0.5s;
}

.g-item:hover img {
  transform: scale(1.06);
}

.g-item:hover::after {
  opacity: 1;
}

.g-item.is-tall {
  grid-row: span 2;
}

.g-item.is-wide {
  grid-column: span 2;
}

.g-item.is-big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  margin-top: 2.5rem;
}

.lightbox {
  width: auto;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(10, 30, 21, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  inset-inline-end: -18px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--paper-2);
  color: var(--green-900);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* ---------- booking steps ---------- */
.booking {
  background: var(--paper-2);
  border-block: 1px solid rgba(184, 137, 58, 0.18);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  inset-inline: 16.6%;
  border-top: 1.5px dashed rgba(184, 137, 58, 0.6);
}

.step {
  position: relative;
  text-align: center;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid rgba(184, 137, 58, 0.7);
  box-shadow: 0 0 0 10px var(--paper-2);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-deep);
}

.step h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
}

.step p {
  margin: 0.6rem auto 0;
  max-width: 30ch;
  color: var(--ink-2);
}

.booking-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 110px;
}

.faq-aside h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.faq-aside p:not(.eyebrow) {
  margin-top: 1.1rem;
  color: var(--ink-2);
  max-width: 34ch;
}

.faq-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.faq-list {
  border-top: 1px solid rgba(28, 38, 32, 0.14);
}

.faq-item {
  border-bottom: 1px solid rgba(28, 38, 32, 0.14);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.38rem);
  font-weight: 500;
  color: var(--green-900);
  text-wrap: balance;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(184, 137, 58, 0.6);
  transition: background-color 0.3s, border-color 0.3s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--gold-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background-color 0.3s;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle {
  background: var(--green-800);
  border-color: var(--green-800);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: var(--gold-light);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item summary:hover {
  color: var(--green-700);
}

.faq-answer {
  padding-bottom: 1.5rem;
  padding-inline-end: 3rem;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ---------- closing ---------- */
.closing-wrap {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5.5rem, 11vw, 9rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6.5rem);
  border-radius: 50% 50% 28px 28px / 140px 140px 28px 28px;
  text-align: center;
  color: var(--cream-on-dark);
}

.closing-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.closing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(184, 137, 58, 0.26), transparent 70%),
    linear-gradient(180deg, rgba(12, 38, 26, 0.6) 0%, rgba(12, 38, 26, 0.88) 100%);
}

.closing .eyebrow {
  color: var(--gold-light);
}

.closing .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.closing h2 {
  margin: 1rem auto 0;
  max-width: 18ch;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  color: var(--paper-2);
}

.closing-text {
  margin: 1.2rem auto 0;
  max-width: 44ch;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--cream-on-dark);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.4rem;
}

.closing-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cream-on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 204, 143, 0.45);
}

.closing-phone svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--gold-light);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--muted-on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer .brand-name {
  color: var(--cream-on-dark);
}

.site-footer .brand-tag {
  color: var(--gold-light);
}

.footer-tagline {
  margin-top: 1.1rem;
  max-width: 34ch;
}

.footer-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted-on-dark);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--cream-on-dark);
}

.footer-links svg {
  width: 1.05em;
  height: 1.05em;
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(230, 204, 143, 0.14);
  font-size: 0.9rem;
  color: rgba(243, 236, 220, 0.6);
}

/* ---------- bottom contact bar (phones) ---------- */
.m-bar {
  display: none;
}

/* ---------- accessibility statement dialog ---------- */
.a11y-dialog {
  width: min(92vw, 640px);
  max-height: 86vh;
  padding: 2rem 2rem 1.6rem;
  border: 0;
  border-radius: 22px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.a11y-dialog::backdrop {
  background: rgba(10, 30, 21, 0.7);
}

.a11y-dialog h2 {
  font-size: 1.8rem;
}

.a11y-dialog p {
  margin-top: 0.9rem;
  color: var(--ink-2);
}

.a11y-dialog .btn {
  margin-top: 1.5rem;
}

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero .rise {
  animation: rise 1.05s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms + 80ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- review mode: ?review highlights facts to confirm ---------- */
.review [data-confirm] {
  background: #fff0b3;
  box-shadow: 0 0 0 2px #fff0b3;
  outline: 1px dashed #b8893a;
  outline-offset: 2px;
  border-radius: 3px;
  color: #5a3d06;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 6px);
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem;
    max-height: calc(100dvh - 5.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 18px;
    background: var(--paper-2);
    box-shadow: 0 24px 50px -20px rgba(12, 38, 26, 0.45), 0 0 0 1px rgba(184, 137, 58, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .mobile-menu > a {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--green-900);
    text-decoration: none;
  }

  .mobile-menu > a:hover {
    background: var(--paper);
  }

  .mobile-menu-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(184, 137, 58, 0.25);
  }

  .mobile-menu-contact .btn {
    min-height: 48px;
    padding-inline: 0.8rem;
  }

  .moments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .moment:nth-child(even) {
    margin-top: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 1.15rem;
  }

  .hero-grid,
  .why-grid,
  .faq-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.8rem, 7.5vw, 3.8rem);
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 1 / 1.08;
    margin-top: 0.5rem;
    margin-inline: auto;
  }

  .why-photo {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3.6;
  }

  .faq-aside {
    position: static;
  }

  .closing {
    border-radius: 50% 50% 22px 22px / 70px 70px 22px 22px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-bottom: 84px;
  }

  body {
    font-size: 1.04rem;
  }

  .faq-contact {
    display: none;
  }

  .header-inner {
    padding-block: 0.7rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .header-call {
    display: grid;
  }

  .header-wa {
    display: none;
  }

  /* Hero: get the photo into the first screen */
  .hero {
    padding-top: 1rem;
  }

  .hero-title {
    margin-block: 0.9rem 1.1rem;
    font-size: clamp(2.35rem, 10.4vw, 3.1rem);
  }

  .hero-sub {
    font-size: 1.1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .hero-actions .btn-primary {
    width: 100%;
  }

  .hero-more,
  .hero-points {
    display: none;
  }

  .hero-call {
    margin-top: 0.6rem;
    text-align: center;
  }

  .hero-visual .arch-main {
    width: 80%;
    inset-block-end: 26px;
  }

  .hero-visual .arch-outline {
    width: 80%;
    inset-inline-end: -10px;
    inset-block: -10px 16px;
  }

  .hero-visual .arch-small {
    width: 42%;
    border-width: 5px;
  }

  /* Moments: a calm list, photo beside the text, nothing hidden off-screen */
  .moments {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .moment,
  .moment:nth-child(even) {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 1.1rem;
    align-items: center;
    margin-top: 0;
  }

  .moment .arch {
    box-shadow: 0 24px 40px -28px rgba(15, 46, 32, 0.6);
  }

  .moment-text {
    text-align: start;
  }

  .moment h3 {
    margin-top: 0;
    font-size: 1.35rem;
  }

  .moment h3::before {
    margin: 0 0 0.75rem;
  }

  .moment p {
    font-size: 1rem;
  }

  .why-item {
    padding-block: 1.7rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .g-item.is-wide {
    grid-column: span 2;
  }

  .gallery-foot {
    flex-direction: column;
    align-items: center;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .steps::before {
    top: 38px;
    bottom: 38px;
    inset-inline: auto;
    inset-inline-start: 37px;
    border-top: 0;
    border-inline-start: 1.5px dashed rgba(184, 137, 58, 0.6);
  }

  .step {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 0 1.2rem;
    text-align: start;
    align-items: start;
  }

  .step-num {
    grid-row: span 2;
    margin: 0;
  }

  .step h3 {
    margin-top: 0.45rem;
  }

  .step p {
    margin: 0.4rem 0 0;
  }

  .booking-cta .btn-primary,
  .closing-actions .btn {
    width: 100%;
  }

  .faq-answer {
    padding-inline-end: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: calc(1.75rem + 84px);
  }

  .lightbox-close {
    top: 8px;
    inset-inline-end: 8px;
  }

  /* Phones get a two-button contact bar that appears between the built-in contact buttons */
  .m-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0.6rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(251, 247, 239, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -12px 28px -18px rgba(12, 38, 26, 0.5), 0 -1px 0 rgba(184, 137, 58, 0.25);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }

  .m-bar.is-visible {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }

  .menu-open .m-bar {
    transform: translateY(110%);
    visibility: hidden;
  }

  .m-bar .btn {
    min-height: 50px;
    padding-inline: 0.8rem;
    font-size: 1.02rem;
  }
}

@media (max-width: 340px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    white-space: nowrap;
  }

  .m-bar {
    grid-template-columns: auto 1fr;
  }

  .m-bar .btn {
    white-space: nowrap;
  }

  .m-bar .btn-outline {
    width: 50px;
    padding: 0;
    font-size: 0;
  }

  .m-bar .btn-outline svg {
    width: 22px;
    height: 22px;
  }

  .moment,
  .moment:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .moment .arch {
    max-width: 240px;
  }
}

/* Reduced motion: from the OS setting, or the "עצירת אנימציות" button */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.no-motion {
  scroll-behavior: auto;
}

.no-motion *,
.no-motion *::before,
.no-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

.no-motion .js .reveal,
.no-motion.js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- team portraits ---------- */
.team-people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  list-style: none;
}

.team-person .arch {
  aspect-ratio: 3 / 3.7;
  box-shadow: var(--shadow-photo);
}

.team-person .arch img {
  object-position: center 30%;
}

.team-name {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--green-900);
}

@media (max-width: 640px) {
  .team-people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.75rem;
  }
}

.team-group {
  max-width: 980px;
  margin: 0 auto;
}

.team-group img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-photo);
}

.team-group figcaption {
  margin-top: 1.2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--green-900);
}
