:root {
  --ink: #26241f;
  --ink-soft: #4d4a42;
  --sea: #14505c;
  --sea-deep: #0d3640;
  --olive: #6b7042;
  --sand: #f5f0e6;
  --sand-deep: #ece4d4;
  --terracotta: #c06a48;
  --gold: #c2a14f;
  --white: #fffdf8;
  --serif: "Cormorant Garamond", "Frank Ruhl Libre", Georgia, serif;
  --hebrew-serif: "Frank Ruhl Libre", "Cormorant Garamond", Georgia, serif;
  --sans: "Heebo", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 45px rgba(38, 36, 31, 0.16);
  --radius: 10px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

[lang="he"] { font-family: var(--hebrew-serif); }

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sea-deep);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
h2 em, h1 em { font-style: italic; color: var(--terracotta); }

.section { padding: 6.5rem 1.5rem; }
.section-inner, .about-grid, .section-head, .location-grid { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.1rem;
}
.eyebrow [lang="he"] { text-transform: none; font-size: 1rem; letter-spacing: 0; }
.eyebrow-light { color: var(--gold); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--ink-soft); }

.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--sea-deep); }
.btn-light:hover { background: var(--gold); color: var(--sea-deep); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.65);
}
.btn-ghost:hover { background: rgba(255, 253, 248, 0.14); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem 1.5rem;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(245, 240, 230, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(38, 36, 31, 0.1);
  padding: 0.6rem 1.5rem;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(13, 54, 64, 0.25);
}
.site-header.scrolled .brand-logo { height: 42px; }

.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.site-header.scrolled .site-nav a { color: var(--ink); }
.site-nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
}

.social { display: flex; gap: 0.6rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.5);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--sea-deep); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.site-header.scrolled .social a { color: var(--ink); border-color: rgba(38, 36, 31, 0.3); }
.site-header.scrolled .social a:hover { color: var(--sea-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/hero.jpg") center 30% / cover no-repeat;
  transform: scale(1.02);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 54, 64, 0.55) 0%, rgba(13, 54, 64, 0.42) 45%, rgba(22, 40, 36, 0.72) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-kicker {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}
.hero-kicker [lang="he"] { text-transform: none; font-size: 1.25rem; letter-spacing: 0; }
.hero-title {
  color: var(--white);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-hebrew {
  font-family: var(--hebrew-serif);
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 0.6rem;
  margin-bottom: 1.8rem;
}
.hero-sub {
  color: rgba(255, 253, 248, 0.95);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 2.4rem;
}
.hero-sub-alt { display: block; color: rgba(255, 253, 248, 0.72); font-size: 0.92em; margin-top: 0.3rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,253,248,0.85), transparent);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.55); opacity: 0.5; }
}

/* About */
.about { background: var(--sand); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 1.4rem; }
.about-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-text blockquote {
  margin-top: 2rem;
  padding-left: 1.4rem;
  border-left: 3px solid var(--gold);
}
.about-text blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.about-text blockquote cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--olive);
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photo figcaption {
  position: absolute;
  left: -0.75rem;
  bottom: -1.1rem;
  background: var(--sea-deep);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* Life */
.life { background: var(--sand-deep); }
.life-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.life-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(38, 36, 31, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.life-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.life-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.life-card figcaption { padding: 1.5rem 1.7rem 1.8rem; }
.life-card h3 { font-size: 1.55rem; margin-bottom: 0.45rem; }
.life-card p { color: var(--ink-soft); font-size: 0.97rem; }
.life-card--tall img { aspect-ratio: 4 / 5; }

/* Location */
.location { background: var(--sand); }
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.location-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.location-text h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 1.4rem; }
.location-text > p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.location-points {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.85rem;
}
.location-points li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.location-points [lang="he"] {
  color: var(--sea);
  font-size: 1.25rem;
  min-width: 2.6rem;
}

/* Visit */
.visit {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(194, 161, 79, 0.18), transparent 60%),
    linear-gradient(160deg, var(--sea-deep) 0%, var(--sea) 100%);
  text-align: center;
}
.visit-inner { max-width: 720px; margin: 0 auto; }
.visit h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin-bottom: 1.3rem;
}
.visit h2 em { color: var(--gold); }
.visit > .visit-inner > p, .visit-inner > p {
  color: rgba(255, 253, 248, 0.85);
  margin-bottom: 2rem;
}
.visit-actions { margin-bottom: 1.4rem; }
.visit .btn-light { color: var(--sea-deep); }
.visit-note {
  font-size: 0.88rem !important;
  color: rgba(255, 253, 248, 0.6) !important;
}

/* Footer */
.site-footer {
  background: #0a2a31;
  color: rgba(255, 253, 248, 0.75);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-logo {
  height: 46px;
  width: auto;
  margin: 0 auto 1.2rem;
  border-radius: 6px;
}
.social-footer { justify-content: center; margin: 0 auto 1.4rem; }
.social-footer a { color: rgba(255, 253, 248, 0.85); border-color: rgba(255, 253, 248, 0.35); }
.social-footer a:hover { color: var(--sea-deep); }
.footer-hebrew {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.footer-copy { font-size: 0.9rem; margin-bottom: 1.4rem; }
.footer-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 253, 248, 0.55);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .section { padding: 4.5rem 1.25rem; }
  .about-grid, .location-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .location-photo { order: -1; }
  .about-photo figcaption { position: static; display: inline-block; margin-top: 1rem; }
  .life-grid { grid-template-columns: 1fr; }
  .life-card--tall img { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 42, 49, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translateY(-102%);
    transition: transform 0.35s ease;
    z-index: 40;
  }
  .site-nav.open { transform: none; }
  .site-nav.open ~ .social { visibility: hidden; }
  .site-nav a { color: var(--white) !important; font-size: 1.25rem; }
  .nav-cta { border-color: rgba(255, 253, 248, 0.6); }
  .brand-logo { height: 44px; }
  .hero-sub br { display: none; }
}