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

:root {
  --blue-deep: #1E3A6E;
  --blue-royal: #2B4C8C;
  --blue-mid: #3A6098;
  --blue-light: #4A7AB8;
  --gold: #C5943A;
  --gold-light: #D4AD5A;
  --gold-pale: #E8CFA0;
  --cream: #F5EDE0;
  --cream-dark: #E8DCC8;
  --parchment: #FAF6F0;
  --text-dark: #1A1A2E;
  --text-body: #2D2D3F;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--text-body);
  background: var(--parchment);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes expandLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220, 50, 50, 0.6); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(220, 50, 50, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: transparent;
}
nav.scrolled {
  background: rgba(30, 58, 110, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.7rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
/* Archive page: nav always has background since there's no full-bleed hero */
nav.nav-solid {
  background: rgba(30, 58, 110, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.7rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-brand {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { transform: scaleX(1); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(170deg, var(--blue-deep) 0%, var(--blue-royal) 40%, var(--blue-mid) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 148, 58, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(74, 122, 184, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(30, 58, 110, 0.4) 0%, transparent 50%);
}

/* Decorative geometric pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, var(--gold) 49px, var(--gold) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, var(--gold) 49px, var(--gold) 50px);
}

/* Decorative corner ornaments */
.corner-ornament {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.15;
  animation: fadeIn 2s ease 0.5s both;
}
.corner-ornament.top-left {
  top: 60px;
  left: 30px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.corner-ornament.top-right {
  top: 60px;
  right: 30px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}
.corner-ornament.bottom-left {
  bottom: 30px;
  left: 30px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.corner-ornament.bottom-right {
  bottom: 30px;
  right: 30px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

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

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease 0.2s both;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #DC3232;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
.live-badge span {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-subtitle-top {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.3rem;
  animation: fadeUp 0.8s ease 0.5s both;
}
.hero-title .line1 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  display: block;
  color: var(--cream-dark);
}
.hero-title .line2 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: 0.04em;
  display: block;
  background: linear-gradient(180deg, var(--white) 30%, var(--gold-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .line3 {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.08em;
  display: block;
  color: var(--gold-light);
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto;
  animation: expandLine 1s ease 0.8s both;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.8s ease 0.9s both;
}

.hero-cta {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  padding: 18px 48px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeUp 0.8s ease 1.1s both;
  box-shadow: 0 4px 20px rgba(197, 148, 58, 0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 148, 58, 0.45);
  color: var(--blue-deep);
}
.hero-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold-light) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.hero-cta:hover::after { opacity: 1; }
.hero-cta span { position: relative; z-index: 1; }

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease infinite, fadeIn 1s ease 1.5s both;
  z-index: 2;
}
.scroll-hint svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-pale);
  opacity: 0.5;
}

/* ── Section base ── */
section { padding: 6rem 2rem; }
.container { max-width: 960px; margin: 0 auto; }

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  margin-bottom: 2rem;
}

/* ── About Section ── */
.about {
  background: var(--parchment);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}
.about-text p:first-of-type::first-letter {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--blue-royal);
}
.about-visual {
  position: relative;
}
.about-image-frame {
  position: relative;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--cream-dark) 100%);
  box-shadow: 0 20px 60px rgba(30, 58, 110, 0.12);
}
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  pointer-events: none;
  opacity: 0.4;
}
.about-image-frame img {
  width: 100%;
  display: block;
}

/* ── Companion / Recent Classes Section ── */
.companion {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.companion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
}
.companion::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
}
.recent-classes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 740px;
  margin: 2.5rem auto 0;
}
.class-card {
  display: block;
  padding: 1.8rem 2.2rem;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-royal) 100%);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(30, 58, 110, 0.18);
}
.class-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(197, 148, 58, 0.15);
  pointer-events: none;
  transition: border-color 0.4s;
}
.class-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(197, 148, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.class-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(30, 58, 110, 0.28);
}
.class-card:hover::before {
  border-color: rgba(197, 148, 58, 0.35);
}
.class-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.class-day {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(197, 148, 58, 0.08);
}
.class-day-label {
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  line-height: 1;
}
.class-day-number {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}
.class-info {
  flex: 1;
  min-width: 0;
}
.class-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.class-info p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--cream-dark);
  line-height: 1.4;
}
.class-actions {
  flex-shrink: 0;
  display: flex;
  gap: 0.7rem;
}
.class-action {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(197, 148, 58, 0.12);
  border: 1px solid rgba(197, 148, 58, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}
.class-action:hover {
  background: rgba(197, 148, 58, 0.3);
  border-color: rgba(197, 148, 58, 0.5);
  transform: scale(1.1);
}
.class-action svg {
  width: 18px;
  height: 18px;
}
.class-action .icon-book {
  stroke: var(--gold-light);
  fill: none;
}
.class-action .icon-play {
  fill: var(--gold-light);
}

.archive-link {
  text-align: center;
  margin-top: 2.5rem;
}
.archive-link-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  transition: all 0.4s ease;
  position: relative;
}
.archive-link-btn:hover {
  background: var(--gold);
  color: var(--blue-deep);
  box-shadow: 0 4px 20px rgba(197, 148, 58, 0.25);
  transform: translateY(-2px);
}

/* ── Schedule Section ── */
.schedule {
  background: linear-gradient(170deg, var(--blue-deep), var(--blue-royal));
  position: relative;
  overflow: hidden;
}
.schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(197, 148, 58, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(74, 122, 184, 0.1) 0%, transparent 50%);
}
.schedule .section-label { color: var(--gold-pale); }
.schedule .section-title { color: var(--white); }
.schedule .section-divider { background: linear-gradient(90deg, var(--gold), transparent); }
.schedule-content {
  position: relative;
  z-index: 1;
}
.schedule-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.schedule-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.schedule-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.schedule-card:hover::before { opacity: 1; }
.schedule-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.schedule-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.schedule-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  line-height: 1.5;
}

/* ── Rabbi Section ── */
.rabbi {
  background: var(--cream);
  position: relative;
}
.rabbi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
}
.rabbi-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
}
.rabbi-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(30, 58, 110, 0.2);
}
.rabbi-portrait::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold-pale);
  opacity: 0.5;
}
.rabbi-portrait-inner {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  color: var(--gold-light);
  font-weight: 700;
}
.rabbi-info h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.rabbi-info .rabbi-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.rabbi-info p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-body);
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(170deg, var(--blue-royal), var(--blue-deep));
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(197, 148, 58, 0.08) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 1; }
.cta-section .section-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
}
.cta-section .cta-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}
.cta-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  padding: 20px 56px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(197, 148, 58, 0.3);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(197, 148, 58, 0.5);
}

.cta-details {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-detail {
  text-align: center;
}
.cta-detail strong {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-pale);
  display: block;
  margin-bottom: 0.3rem;
}
.cta-detail span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--cream);
}

/* ── Footer ── */
footer {
  background: #0F1E3A;
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-domain {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
footer p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: rgba(245, 237, 224, 0.4);
}

/* ── Archive Page ── */
.archive-header {
  position: relative;
  padding: 10rem 2rem 4rem;
  background: linear-gradient(170deg, var(--blue-deep) 0%, var(--blue-royal) 40%, var(--blue-mid) 100%);
  text-align: center;
  overflow: hidden;
}
.archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 148, 58, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(74, 122, 184, 0.15) 0%, transparent 50%);
}
.archive-header-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, var(--gold) 49px, var(--gold) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, var(--gold) 49px, var(--gold) 50px);
}
.archive-header-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.archive-header .section-label {
  color: var(--gold-pale);
  animation: fadeUp 0.6s ease both;
}
.archive-header .section-title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 0.8rem;
  animation: fadeUp 0.6s ease 0.15s both;
}
.archive-header .section-divider {
  margin-left: auto;
  margin-right: auto;
  animation: expandLine 0.8s ease 0.3s both;
}
.archive-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s ease 0.3s both;
}

/* Search */
.search-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease 0.45s both;
}
.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--gold-pale);
  opacity: 0.6;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(197, 148, 58, 0.25);
  backdrop-filter: blur(8px);
  outline: none;
  transition: all 0.3s ease;
}
.search-input::placeholder {
  color: rgba(245, 237, 224, 0.4);
  font-style: italic;
}
.search-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(197, 148, 58, 0.15);
}

/* Archive results info */
.archive-body {
  background: var(--parchment);
  padding: 3rem 2rem 4rem;
  min-height: 50vh;
}
.archive-container {
  max-width: 800px;
  margin: 0 auto;
}
.results-info {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 2rem;
  opacity: 0.7;
}

/* Archive class list */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-body);
  opacity: 0.6;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination button {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 16px;
  border: 1px solid var(--gold-pale);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}
.pagination button:hover:not(:disabled) {
  background: var(--gold);
  color: var(--blue-deep);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.pagination button.active {
  background: var(--blue-deep);
  color: var(--gold-light);
  border-color: var(--blue-deep);
}
.pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}
.pagination .page-ellipsis {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 0 4px;
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { order: -1; }
  .schedule-cards { grid-template-columns: 1fr 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .rabbi-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .rabbi-portrait { margin: 0 auto; width: 160px; height: 160px; }
  .rabbi-portrait-inner { font-size: 2.5rem; }
  section { padding: 4rem 1.5rem; }
  .cta-section { padding: 5rem 1.5rem; }
  .corner-ornament { width: 60px; height: 60px; }
  .cta-details { gap: 2rem; }
  .hero-cta, .cta-btn { padding: 16px 36px; font-size: 0.78rem; }

  .class-card { padding: 1.5rem 1.5rem; }
  .class-card-inner { gap: 1.2rem; }
  .class-day { width: 52px; height: 52px; }
  .class-day-number { font-size: 1.3rem; }
  .class-day-label { font-size: 0.45rem; }
  .class-info h3 { font-size: 0.85rem; }
  .class-info p { font-size: 0.9rem; }
  .class-action { width: 36px; height: 36px; }
  .class-action svg { width: 15px; height: 15px; }

  .archive-header { padding: 8rem 1.5rem 3rem; }
  .archive-body { padding: 2rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
  .corner-ornament { display: none; }
  .hero-title .line2 { font-size: clamp(2.5rem, 14vw, 4rem); }

  .class-card-inner { flex-wrap: wrap; }
  .class-actions { width: 100%; justify-content: flex-end; margin-top: -0.5rem; }
}
