:root {
  --charcoal: #2b2926;
  --cream: #fdf8ee;
  --maroon: #7c2335;
  --maroon-light: #9a3a4d;
  --text-muted: #6f6b66;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  background-image: url("../assets/pattern-skyline.svg");
  background-repeat: repeat;
  background-size: 1200px auto;
  font-weight: 300;
}

html[lang="he"] body {
  font-family: 'Heebo', sans-serif;
}

h1, h2, .hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] .hero-name {
  font-family: 'Frank Ruhl Libre', serif;
}

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

/* ---------- Focus ring for keyboard navigation ---------- */
:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  gap: 1.5rem;
}

.topbar-link:hover {
  color: var(--maroon-light);
}

.lang-toggle {
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.4);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.4rem 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: inherit;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.lang-toggle:hover {
  border-color: var(--maroon-light);
  background: rgba(245, 240, 232, 0.14);
}

.lang-sep {
  opacity: 0.35;
}

.lang-en, .lang-he {
  opacity: 0.5;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

html[lang="en"] .lang-en,
html[lang="he"] .lang-he {
  opacity: 1;
  font-weight: 700;
  background: var(--maroon);
  color: var(--cream);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(43, 41, 38, 0.08);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 0.6rem;
}

.main-nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(124, 35, 53, 0.25);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.main-nav a:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}

.main-nav a.nav-jc {
  font-size: 0.6rem;
  display: none;
}

html[lang="he"] .main-nav a.nav-jc {
  display: block;
}

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(124, 35, 53, 0.25);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 18, 17, 0.75) 0%, rgba(20, 18, 17, 0.45) 45%, rgba(20, 18, 17, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  color: var(--cream);
  max-width: 540px;
}

.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(245, 240, 232, 0.35);
  border-radius: 999px;
  background: rgba(124, 35, 53, 0.3);
  backdrop-filter: blur(4px);
}

.hero-name {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--cream);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.btn-outline {
  color: var(--cream);
  background: transparent;
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.btn-solid {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}

.btn-solid:hover {
  background: var(--maroon-light);
  border-color: var(--maroon-light);
}

/* Photo over the video, anchored to the bottom corner of the hero */
.hero-photo-frame {
  position: absolute;
  right: 0;
  bottom: 92px;
  z-index: 2;
  width: 600px;
  height: 700px;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(135deg, transparent 0%, #000 22%);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--charcoal);
  color: var(--cream);
}

.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2.5rem;
  text-align: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-badge-icon {
  color: var(--maroon-light);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about {
  padding: 6rem 2rem;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-photo {
  flex-shrink: 0;
  width: 320px;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1.18);
}

.about-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

.about-subtitle .accent-word {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.3em;
}

html[lang="he"] .about-subtitle .accent-word {
  font-family: 'Frank Ruhl Libre', serif;
}

.about-license {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.about-text h2 {
  font-size: 2.6rem;
  margin-bottom: 1.25rem;
}

.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

/* ---------- Reviews ---------- */
.reviews {
  padding: 6rem 2rem;
  background-color: #f5efe1;
  background-image: url("../assets/pattern-skyline.svg");
  background-repeat: repeat;
  background-size: 1200px auto;
  text-align: center;
}

.reviews-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.reviews h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.reviews-stars,
.review-stars {
  color: var(--maroon);
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(43, 41, 38, 0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html[dir="rtl"] .review-card {
  text-align: right;
}

.review-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.review-author {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.6;
}

.btn-outline-dark {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(124, 35, 53, 0.35);
  border-radius: 999px;
  color: var(--maroon);
  background: transparent;
  transition: all 0.25s ease;
}

.btn-outline-dark:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Recently Rented ---------- */
.rentals {
  padding: 6rem 2rem;
  text-align: center;
}

.rentals-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.rentals h2 {
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.rentals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.rental-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(43, 41, 38, 0.06);
  text-align: left;
}

html[dir="rtl"] .rental-card {
  text-align: right;
}

.rental-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.rental-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rental-card:hover .rental-photo img {
  transform: scale(1.05);
}

.rental-info {
  padding: 1.5rem 1.75rem;
}

.rental-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--maroon);
}

html[dir="rtl"] .rental-info h3 {
  font-family: 'Frank Ruhl Libre', serif;
}

.rental-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .rentals-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1c1a18 100%);
  color: var(--cream);
  padding: 6rem 2rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  background: rgba(253, 248, 238, 0.04);
  border: 1px solid rgba(253, 248, 238, 0.08);
  border-radius: var(--radius);
  padding: 3rem;
}

.contact-card-photo {
  flex-shrink: 0;
  width: 280px;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact-card-no-photo {
  display: block;
  text-align: center;
}

.contact-card-no-photo .contact-card-text {
  max-width: 640px;
  margin: 0 auto;
}

.contact-card-no-photo .contact-card-lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-card-no-photo h2::after,
html[dir="rtl"] .contact-card-no-photo h2::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.contact-card-no-photo .social-icons {
  justify-content: center;
}

.contact-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1.18);
}

.contact-card-text {
  flex: 1;
}

.contact .section-eyebrow {
  color: var(--maroon-light);
  font-size: 0.95rem;
  letter-spacing: 0.45em;
  font-weight: 600;
}

.contact h2 {
  font-size: 3.4rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.contact h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 80px;
  height: 3px;
  background: var(--maroon-light);
  border-radius: 999px;
}

html[dir="rtl"] .contact h2::after {
  left: auto;
  right: 0;
}

.contact-card-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 480px;
  margin: 1.5rem 0 2rem;
}

.contact-card-btn {
  margin-bottom: 2.5rem;
  border: none;
  cursor: pointer;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.contact-line:hover {
  color: var(--maroon-light);
}

.contact-license {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.contact-card .social-icons {
  justify-content: flex-start;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 240, 232, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: all 0.25s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: var(--maroon);
  border-color: var(--maroon);
}

/* ---------- Page Hero (About / Contact) ---------- */
.page-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero .section-eyebrow {
  color: var(--maroon-light);
  font-size: 0.95rem;
  letter-spacing: 0.45em;
  font-weight: 600;
}

.page-hero h1 {
  font-size: 3.4rem;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- About page ---------- */
.about-page {
  padding: 6rem 2rem;
}

.about-page-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 4rem;
}

.about-page-text {
  order: 1;
}

.about-page-photo {
  order: 2;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: -2rem;
  width: 540px;
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-page-photo--portrait {
  width: 380px;
  height: 576px;
}

.about-page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-page-photo--portrait img {
  object-position: top center;
}

.about-page-text h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.about-page-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.about-page-text .btn {
  margin-top: 1rem;
}

/* ---------- Jewish Community page ---------- */
.draft-note {
  font-size: 0.85rem !important;
  font-style: italic;
  opacity: 0.6;
}

.jc-map-section {
  padding: 2rem 2rem 6rem;
  text-align: center;
}

.jc-map-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.jc-map-inner h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.jc-map-subtitle {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.jc-map {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(43, 41, 38, 0.1);
}

.jc-map-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--maroon-light);
  margin-bottom: 0.75rem;
}

html[lang="he"] .jc-map-tagline {
  font-family: 'Frank Ruhl Libre', serif;
  font-style: normal;
}

/* ---------- Map legend ---------- */
.jc-map-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.jc-map-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jc-legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px rgba(43, 41, 38, 0.15);
}

.jc-legend-swatch {
  display: inline-block;
  width: 18px;
  height: 12px;
  border: 2px dashed #c79a4b;
  background: rgba(199, 154, 75, 0.08);
}

/* ---------- Map popups ---------- */
.jc-popup {
  font-family: 'Jost', sans-serif;
  text-align: left;
  min-width: 200px;
}

html[lang="he"] .jc-popup {
  font-family: 'Heebo', sans-serif;
  text-align: right;
  direction: rtl;
}

.jc-popup h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--maroon);
  margin-bottom: 0.35rem;
}

.jc-popup-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.jc-popup p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.jc-popup-btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--maroon);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
}

.jc-popup-btn:hover {
  background: var(--maroon-light);
}

/* ---------- Eruv overlay ---------- */
.jc-eruv-label {
  background: rgba(253, 248, 238, 0.85);
  border: 1px dashed #c79a4b;
  color: var(--charcoal);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.2rem 0.6rem;
  box-shadow: none;
}

.jc-eruv-label::before {
  display: none;
}

/* ---------- Map toggle control ---------- */
.jc-map-toggle {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--maroon);
  background: var(--cream);
  border: 1px solid var(--maroon-light);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(43, 41, 38, 0.15);
}

.jc-map-toggle:hover {
  background: var(--maroon-light);
  color: var(--cream);
}

/* ---------- WhatsApp CTA ---------- */
.whatsapp-cta {
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: #f5efe1;
  border-radius: var(--radius);
}

.whatsapp-cta-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

/* ---------- Booking page ---------- */
.booking-page {
  padding: 5rem 2rem 6rem;
}

.booking-page-inner {
  max-width: 700px;
  margin: 0 auto;
}

.booking-card {
  text-align: center;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.booking-card h3 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.booking-card-text {
  max-width: 480px;
  margin: 0 auto 2rem;
  opacity: 0.85;
}

.booking-interest-row {
  justify-content: center;
  margin-bottom: 2rem;
}

.booking-card .form-status {
  margin-top: 1.25rem;
}

/* ---------- Contact page ---------- */
.contact-page {
  padding: 5rem 2rem 6rem;
}

.contact-page-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.contact-form {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #ffffff;
  background-image: url("../assets/pattern-skyline.svg");
  background-repeat: repeat;
  background-size: 1200px auto;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(43, 41, 38, 0.08);
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(43, 41, 38, 0.15);
  border-radius: 10px;
  background: var(--cream);
  color: var(--charcoal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon);
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(43, 41, 38, 0.15);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-pill:has(input:checked) {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}

.checkbox-pill input {
  accent-color: var(--maroon);
}

.contact-form .btn-solid {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contact-form .btn-solid:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  font-size: 0.9rem;
  margin: 0;
}

.form-status-success {
  color: #2f6f4f;
}

.form-status-error {
  color: var(--maroon);
}

.contact-page-direct {
  flex: 1;
  text-align: center;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 12px 40px rgba(43, 41, 38, 0.12);
}

.contact-direct-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--maroon-light);
}

.contact-direct-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1.18);
}

.contact-page-direct .section-eyebrow {
  color: var(--maroon-light);
}

.contact-page-direct h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

html[lang="he"] .contact-page-direct h3 {
  font-family: 'Frank Ruhl Libre', serif;
}

.contact-direct-license {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.contact-page-direct .contact-line {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
  color: var(--cream);
}

.contact-page-direct .contact-line:hover {
  color: var(--maroon-light);
}

.contact-page-direct .social-icons {
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .page-hero h1 {
    font-size: 2.4rem;
  }

  .about-page-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-page-photo {
    margin-top: 0;
    width: 280px;
    height: 280px;
  }

  .about-page-photo--portrait {
    width: 240px;
    height: 364px;
  }

  .about-page-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-page-inner {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  text-align: center;
  padding: 2.5rem 2rem;
}

.footer-logo {
  height: 56px;
  margin-bottom: 1.25rem;
}

.site-footer p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-license {
  margin-top: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
}

.footer-legal-links {
  margin-top: 0.75rem;
}

.footer-legal-links a {
  text-decoration: underline;
}

.footer-legal-links a:hover {
  color: var(--maroon-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .site-header-inner {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(43, 41, 38, 0.08);
    box-shadow: 0 12px 24px rgba(43, 41, 38, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(43, 41, 38, 0.08);
    padding: 0.9rem 1.5rem;
    text-align: center;
    white-space: normal;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .hero {
    display: block;
    height: auto;
    min-height: auto;
    padding-bottom: 90px;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    justify-content: center;
    padding-top: 6rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-name {
    font-size: 3rem;
  }

  .hero-photo-frame {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    width: 240px;
    height: 300px;
    border-radius: var(--radius);
    margin: 1.5rem auto 1rem;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .about-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .about-photo {
    width: 240px;
    height: 280px;
  }

  .about-body {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 2rem;
  }

  .contact-card-photo {
    width: 220px;
    height: 260px;
  }

  .contact-card-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .contact h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  html[dir="rtl"] .contact h2::after {
    right: 50%;
    transform: translateX(50%);
  }

  .contact-card .social-icons {
    justify-content: center;
  }
}

/* ---------- RTL adjustments ---------- */
html[dir="rtl"] .topbar-contact {
  flex-direction: row-reverse;
}

html[dir="rtl"] .main-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-text {
  text-align: right;
}

html[dir="rtl"] .hero-photo-frame {
  right: auto;
  left: 0;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(225deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(225deg, transparent 0%, #000 22%);
}

html[dir="rtl"] .about-inner {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contact-card {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .contact-card .social-icons {
  justify-content: flex-end;
}

html[dir="rtl"] .about-text {
  text-align: right;
}

@media (max-width: 900px) {
  html[dir="rtl"] .about-inner {
    flex-direction: column;
  }

  html[dir="rtl"] .main-nav {
    flex-direction: column;
  }
}

/* ---------- Newsletter popup ---------- */
.newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(20, 18, 17, 0.6);
}

.newsletter-popup-overlay.is-visible {
  display: flex;
}

.newsletter-popup {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--cream);
  background-image: url("../assets/pattern-skyline.svg");
  background-repeat: repeat;
  background-size: 1200px auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: newsletter-pop 0.35s ease;
}

@keyframes newsletter-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.newsletter-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}

html[dir="rtl"] .newsletter-popup-close {
  right: auto;
  left: 0.6rem;
}

.newsletter-popup-close:hover {
  color: var(--maroon);
}

.newsletter-popup-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.newsletter-popup h3 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.newsletter-popup-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1 1 200px;
  padding: 0.7rem 1.2rem;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid rgba(43, 41, 38, 0.18);
  border-radius: 999px;
}

.newsletter-form .btn {
  border-color: var(--maroon);
  cursor: pointer;
  font-family: inherit;
}

.newsletter-popup .form-status {
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    padding: 0.5rem 1rem;
  }

  .topbar-link[href^="mailto:"] {
    display: none;
  }

  .jc-map {
    height: 320px;
  }
}
