/* Jewish Reels — vintage archive aesthetic */

:root {
  --paper: #f4eee2;
  --paper-dark: #ece3d0;
  --ink: #2b2016;
  --ink-soft: #5a4a38;
  --accent: #8b5e2a;
  --accent-deep: #6d4520;
  --gold: #b98a3e;
  --line: #d8cbb2;
  --dark: #1d150d;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.05rem;
  /* subtle paper grain */
  background-image: radial-gradient(rgba(120, 95, 60, 0.05) 1px, transparent 1px);
  background-size: 4px 4px;
}

a { color: var(--accent-deep); }

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

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--dark);
  color: var(--paper);
  border-bottom: 4px double var(--gold);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .reel {
  font-size: 1.5rem;
  color: var(--gold);
}

.brand h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.brand .tagline {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9b788;
  font-family: var(--body);
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: 26px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* film strip divider */
.filmstrip {
  height: 26px;
  background:
    repeating-linear-gradient(90deg,
      var(--dark) 0 18px,
      var(--paper) 18px 30px);
  border-top: 3px solid var(--dark);
  border-bottom: 3px solid var(--dark);
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 72px 24px 60px;
  background: linear-gradient(180deg, var(--paper-dark), var(--paper));
  border-bottom: 1px solid var(--line);
}

.hero .kicker {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.hero .rule {
  width: 90px;
  height: 3px;
  background: var(--gold);
  margin: 28px auto 0;
}

/* ---------- Post grid ---------- */

.section-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 56px 0 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
  margin-bottom: 72px;
}

.card {
  background: #fbf7ee;
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 rgba(60, 45, 25, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 6px 0 rgba(60, 45, 25, 0.16);
}

.card .thumb {
  aspect-ratio: 16 / 9;
  background: var(--dark);
  color: #e6d5a8 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}

.card .thumb .reel-icon { font-size: 2rem; }

.card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.35); }

.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.card .meta {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent-deep); }

.card p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }

.card .read-more {
  margin-top: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-deep);
  font-weight: 600;
}

.card .read-more:hover { color: var(--gold); }

/* ---------- Published / updated dateline ---------- */

.dateline {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
}

.article .dateline { margin-bottom: 20px; }

.card .dateline { margin-top: 14px; font-size: 0.75rem; }

/* ---------- Article ---------- */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article .meta {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.article h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.article .lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 34px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

.article p { margin-bottom: 22px; }

.article h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 38px 0 14px;
}

.video-frame {
  margin: 34px 0;
  background: var(--dark);
  padding: 12px;
  border: 1px solid #000;
  box-shadow: 4px 4px 0 rgba(60, 45, 25, 0.2);
}

.video-frame .ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c0906;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #c9b788;
  text-align: center;
  padding: 24px;
}

.video-frame .placeholder .reel-icon { font-size: 2.6rem; }

.video-frame .placeholder strong {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.video-frame .placeholder small { color: #8f7f5c; font-size: 0.8rem; max-width: 420px; }

.video-caption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
  margin-top: -20px;
  margin-bottom: 34px;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-deep);
}

.sample-note {
  background: #fdf3d7;
  border: 1px dashed var(--gold);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #6d5314;
  margin-bottom: 34px;
}

/* ---------- About ---------- */

.prose { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.prose h2 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 20px; }
.prose p { margin-bottom: 20px; color: var(--ink-soft); }
.prose p strong { color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: #a89877;
  border-top: 4px double var(--gold);
  padding: 40px 0;
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a { color: #c9b788; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .site-nav a { margin-left: 16px; font-size: 0.8rem; }
  .hero { padding: 48px 20px 40px; }
}
