:root {
  --navy: #1a2744;
  --navy-deep: #0d1829;
  --gold: #b8963e;
  --gold-light: #d4af6a;
  --gold-pale: #f0e0b0;
  --cream: #f5f0e8;
  --cream-dark: #ede5d4;
  --text: #2c2015;
  --text-light: #6b5a3e;
  --white: #fdfaf4;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Frank Ruhl Libre', serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== ORNAMENTAL DIVIDER ===== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto;
  max-width: 400px;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}
.ornament::after { --dir: left; }
.ornament span {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 4px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(184,150,62,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(26,39,68,0.8) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(26,39,68,0.8) 0%, transparent 60%);
  z-index: 0;
}

/* Decorative corner borders */
.hero::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(184,150,62,0.25);
  pointer-events: none;
  z-index: 1;
}
.corner {
  position: absolute;
  width: 48px;
  height: 48px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 2;
}
.corner-tl { top: 18px; right: 18px; border-width: 2px 0 0 2px; }
.corner-tr { top: 18px; left: 18px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 18px; right: 18px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 18px; left: 18px; border-width: 0 2px 2px 0; }

.hero-content { position: relative; z-index: 3; max-width: 800px; }

.shofar-icon {
  font-size: 52px;
  margin-bottom: 24px;
  display: block;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

.hero-title .gold { color: var(--gold-light); font-style: italic; }

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  color: rgba(245,240,232,0.7);
  margin-top: 24px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.9s;
}

.hero-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 32px auto;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.2s;
}

.hero-scroll {
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.5s;
  color: var(--gold-pale);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }

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

/* ===== ABOUT / PATRIARCH ===== */
.about-section {
  background: var(--white);
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--navy), var(--gold), var(--navy));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}
.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  z-index: 0;
}
.about-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 60%;
  background: var(--navy);
  opacity: 0.08;
  z-index: 0;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  display: block;
}
.photo-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.about-text .section-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 20px;
}
.about-text p strong { color: var(--navy); font-weight: 500; }

/* ===== ETYMOLOGY ===== */
.etymology-section {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.etymology-section::before {
  content: '"וידרגורן"';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 260px;
  font-weight: 700;
  color: rgba(184,150,62,0.04);
  top: -40px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.etymology-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.etymology-inner .section-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.etymology-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.2;
}
.etymology-inner h2 em { color: var(--gold-light); font-style: normal; }

.word-breakdown {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 48px 0;
}
.word-part {
  padding: 32px 40px;
  text-align: center;
  border: 1px solid rgba(184,150,62,0.2);
  transition: background 0.3s;
}
.word-part:hover { background: rgba(184,150,62,0.06); }
.word-part .hebrew {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 8px;
}
.word-part .german {
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(245,240,232,0.5);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.word-part .meaning {
  font-size: 16px;
  color: var(--cream);
}
.word-plus {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--gold);
  font-size: 28px;
  font-family: 'Cormorant Garamond', serif;
}
.word-equals {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--gold);
  font-size: 28px;
}

.etymology-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--gold-pale);
  line-height: 1.7;
  border-right: 3px solid var(--gold);
  padding-right: 24px;
  margin: 40px auto;
  max-width: 600px;
  text-align: right;
}

.etymology-body {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(245,240,232,0.75);
  text-align: right;
}

/* ===== VALUES ===== */
.values-section {
  background: var(--cream-dark);
}
.values-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.values-section .section-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.values-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--navy);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.value-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26,39,68,0.12);
  z-index: 1;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--navy), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.value-card:hover::before { opacity: 1; }

.value-icon {
  font-size: 36px;
  margin-bottom: 24px;
  display: block;
}
.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.value-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-light);
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--white);
}
.gallery-section .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.gallery-section .section-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.gallery-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.gallery-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1; min-height: 340px; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; min-height: 340px; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; min-height: 340px; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2; min-height: 300px; }
.gallery-item:nth-child(5) { grid-column: 5 / 9; grid-row: 2; min-height: 300px; }
.gallery-item:nth-child(6) { grid-column: 9 / 13; grid-row: 2; min-height: 300px; }
.gallery-item:nth-child(7) { grid-column: 1 / 7; grid-row: 3; min-height: 320px; }
.gallery-item:nth-child(8) { grid-column: 7 / 13; grid-row: 3; min-height: 320px; }
.gallery-item:nth-child(9) { grid-column: 1 / 5; grid-row: 4; min-height: 280px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,24,41,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-deep);
  color: var(--cream);
  text-align: center;
  padding: 64px 24px 40px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-logo span { color: var(--gold-light); }

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: rgba(245,240,232,0.6);
  margin-bottom: 40px;
}

.footer-cta {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  margin-bottom: 48px;
}
.footer-cta:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.footer-copy {
  font-size: 12px;
  color: rgba(245,240,232,0.3);
  letter-spacing: 1px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  margin-top: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap { max-width: 360px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; gap: 2px; }
  .word-breakdown { flex-direction: column; align-items: center; }
  .word-plus, .word-equals { transform: rotate(90deg); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { grid-column: span 1 !important; grid-row: unset !important; min-height: 220px !important; }
}

@media (max-width: 600px) {
  section { padding: 60px 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ===== DECADE NAV ===== */
.decade-nav {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(184,150,62,0.2);
}
.decade-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 24px;
}
.decade-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 48px;
  cursor: pointer;
  border: none;
  background: none;
  color: rgba(245,240,232,0.5);
  font-family: 'Frank Ruhl Libre', serif;
  transition: color 0.3s, background 0.3s;
  position: relative;
  text-decoration: none;
}
.decade-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.decade-btn:hover,
.decade-btn.active {
  color: var(--gold-light);
  background: rgba(184,150,62,0.05);
}
.decade-btn:hover::after,
.decade-btn.active::after {
  transform: scaleX(1);
}
.decade-btn .decade-icon {
  font-size: 28px;
  line-height: 1;
}
.decade-btn .decade-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}
.decade-btn .decade-sub {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}
.decade-divider {
  width: 1px;
  height: 40px;
  background: rgba(184,150,62,0.2);
}

/* ===== DECADE SECTIONS ===== */
.decade-section {
  display: none;
  background: var(--white);
}
.decade-section.active {
  display: block;
}
.decade-header {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.decade-header::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 32px auto 0;
}
.decade-year-bg {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px;
  font-weight: 700;
  color: rgba(26,39,68,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}
.decade-header .decade-icon-lg {
  font-size: 56px;
  display: block;
  margin-bottom: 20px;
}
.decade-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--navy);
  position: relative;
}
.decade-header p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text-light);
  margin-top: 16px;
  position: relative;
}

.decade-gallery {
  padding: 0 24px 80px;
}
.decade-gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.decade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.decade-grid-item {
  overflow: hidden;
  position: relative;
  background: var(--navy);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.decade-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: saturate(0.9);
}
.decade-grid-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.15);
}
.decade-grid-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,24,41,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.decade-grid-item:hover .gallery-overlay { opacity: 1; }

.decade-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-light);
}
.decade-empty .empty-icon { font-size: 64px; display: block; margin-bottom: 24px; opacity: 0.4; }
.decade-empty h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 12px;
}
.decade-empty p { font-size: 16px; opacity: 0.7; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,24,41,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  background: none;
  border: 1px solid rgba(184,150,62,0.4);
  color: var(--gold-light);
  font-size: 24px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(184,150,62,0.15); }

@media (max-width: 900px) {
  .decade-btn { padding: 16px 24px; }
  .decade-btn .decade-label { font-size: 18px; }
  .decade-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .decade-btn { padding: 12px 16px; }
  .decade-btn .decade-icon { font-size: 22px; }
  .decade-btn .decade-label { font-size: 15px; }
  .decade-btn .decade-sub { display: none; }
  .decade-grid { grid-template-columns: 1fr; }
}


/* ===== VIDEO ITEMS ===== */
.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--navy-deep);
}
.video-item {
  background: var(--navy-deep);
}
