/* =========================================================
   Transfiguration — visual concept
   Palette: parchment, Byzantine gold, imperial porphyry, lapis
   Type:    Cinzel (display), Cormorant Garamond (headings),
            EB Garamond (body)
   ========================================================= */

:root {
  --ink:              #1a1410;
  --ink-soft:         #3a2e22;
  --parchment:        #f6efe0;
  --parchment-light:  #fdf9ee;
  --parchment-deep:   #ebe2cc;
  --linen:            #e4d9bf;
  --gold:             #b89552;
  --gold-deep:        #8b6d2f;
  --gold-light:       #d8bf7a;
  --gold-highlight:   #ead9a1;
  --porphyry:         #6b1e2e;
  --porphyry-deep:    #4a1320;
  --lapis:            #1f2f4a;
  --lapis-deep:       #141e33;
  --muted:            #7a6a53;

  --font-display: 'Cinzel', 'Trajan Pro', serif;
  --font-heading: 'Cormorant Garamond', 'Garamond', serif;
  --font-body:    'EB Garamond', 'Garamond', 'Georgia', serif;

  --shadow-soft: 0 1px 2px rgba(26, 20, 16, 0.06),
                 0 8px 24px rgba(26, 20, 16, 0.08);
  --shadow-deep: 0 2px 4px rgba(26, 20, 16, 0.1),
                 0 20px 60px rgba(26, 20, 16, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(184, 149, 82, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(107, 30, 46, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }

a {
  color: var(--porphyry);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold-deep); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

.lead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Layout primitives ---------- */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* ---------- Ornaments ---------- */

.rule-ornate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gold);
}
.rule-ornate::before,
.rule-ornate::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rule-ornate .cross {
  font-size: 1.1rem;
  opacity: 0.85;
}

.corner-ornament {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  opacity: 0.55;
}
.corner-ornament.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.corner-ornament.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.corner-ornament.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.corner-ornament.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 224, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 149, 82, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: 1380px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--porphyry);
  flex-shrink: 0;
}
.brand-mark svg,
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-emblem img { width: 100%; height: 100%; object-fit: contain; display: block; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.brand-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.3rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
}
.nav-links a:hover { color: var(--porphyry); }
.nav-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink);
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

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

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 30, 51, 0.78) 0%, rgba(31, 47, 74, 0.62) 45%, rgba(20, 30, 51, 0.88) 100%),
    url('../assets/annunciation-of-the-theotokos.jpg') center center / cover no-repeat,
    var(--lapis-deep);
  color: var(--parchment-light);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(184, 149, 82, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(184, 149, 82, 0.1) 0%, transparent 25%);
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(234, 217, 161, 0.025) 0,
      rgba(234, 217, 161, 0.025) 1px,
      transparent 1px,
      transparent 14px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 820px;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--gold-light);
  margin-bottom: 2.2rem;
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--parchment-light);
  letter-spacing: 0.06em;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero h1 em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-highlight);
  text-transform: none;
  letter-spacing: 0;
  display: block;
  font-size: 0.7em;
  margin-top: 0.4em;
}

.hero .lead {
  color: rgba(246, 239, 224, 0.88);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 2.8rem;
  font-size: 1.3rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-highlight);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn:hover {
  background: var(--gold);
  color: var(--lapis-deep);
}
.btn-primary {
  background: var(--gold);
  color: var(--lapis-deep);
}
.btn-primary:hover {
  background: var(--gold-highlight);
  border-color: var(--gold-highlight);
}

.btn-dark {
  border-color: var(--porphyry);
  color: var(--porphyry);
}
.btn-dark:hover {
  background: var(--porphyry);
  color: var(--parchment-light);
}

/* Hero central icon frame */
.hero-emblem {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.7;
}

/* ---------- Section headers ---------- */

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.section-head .eyebrow { margin-bottom: 1rem; display: inline-block; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}
.section-head .lead {
  max-width: 620px;
  margin: 1.2rem auto 0;
}

/* ---------- Feature strip ---------- */

.feature-strip {
  background: var(--parchment-deep);
  border-top: 1px solid rgba(184, 149, 82, 0.3);
  border-bottom: 1px solid rgba(184, 149, 82, 0.3);
  padding: 3rem 0;
}

.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.feature {
  text-align: center;
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--gold-deep);
}
.feature h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--porphyry);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.feature p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Lecture cards grid ---------- */

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.series-card {
  position: relative;
  background: var(--parchment-light);
  border: 1px solid rgba(184, 149, 82, 0.35);
  padding: 2.5rem 2rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.series-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
  border-color: var(--gold);
}
.series-card .badge {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.series-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}
.series-card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.series-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(184, 149, 82, 0.25);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.series-card .meta .count { color: var(--porphyry); font-weight: 500; }

/* ---------- Latest lecture (featured block) ---------- */

.featured-lecture {
  background:
    linear-gradient(135deg, rgba(246, 239, 224, 0.96), rgba(235, 226, 204, 0.96)),
    var(--parchment);
  border: 1px solid rgba(184, 149, 82, 0.4);
  position: relative;
  padding: 0;
  overflow: hidden;
}

.featured-lecture .inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 440px;
}

.featured-media {
  background:
    linear-gradient(135deg, rgba(20, 30, 51, 0.72) 0%, rgba(74, 19, 32, 0.68) 100%),
    url('../assets/christ-pantocrator.jpg') center 20% / cover no-repeat,
    linear-gradient(145deg, var(--lapis-deep), var(--lapis), var(--porphyry-deep));
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 320px;
}

.featured-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(234, 217, 161, 0.03) 0,
      rgba(234, 217, 161, 0.03) 1px,
      transparent 1px,
      transparent 16px);
}

.play-ring {
  position: relative;
  z-index: 2;
  width: 110px;
  height: 110px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-highlight);
  cursor: pointer;
  transition: all 0.3s ease;
}
.play-ring:hover {
  background: rgba(184, 149, 82, 0.1);
  transform: scale(1.04);
}
.play-ring svg { width: 30px; height: 30px; margin-left: 4px; }

.featured-copy {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-copy .eyebrow { margin-bottom: 1rem; }
.featured-copy h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.featured-copy .series-ref {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--porphyry);
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
}
.featured-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.featured-copy .meta-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Parish block ---------- */

.parish-block {
  background:
    linear-gradient(100deg, rgba(20, 30, 51, 0.94) 0%, rgba(20, 30, 51, 0.80) 55%, rgba(20, 30, 51, 0.92) 100%),
    url('../assets/theotokos.jpg') right 15% center / auto 125% no-repeat,
    var(--lapis-deep);
  color: var(--parchment-light);
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}
.parish-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(184, 149, 82, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(107, 30, 46, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.parish-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.parish-text .eyebrow { color: var(--gold-light); }
.parish-text h2 {
  color: var(--parchment-light);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin: 0.8rem 0 1.5rem;
  font-weight: 500;
}
.parish-text p {
  color: rgba(246, 239, 224, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-schedule {
  background: rgba(246, 239, 224, 0.05);
  border: 1px solid rgba(184, 149, 82, 0.35);
  padding: 2.5rem;
  position: relative;
}
.service-schedule .eyebrow {
  color: var(--gold-light);
  display: block;
  margin-bottom: 1.5rem;
}
.service-schedule h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment-light);
  margin-bottom: 2rem;
  font-weight: 500;
}
.service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(184, 149, 82, 0.3);
}
.service-row:last-child { border-bottom: none; }
.service-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--parchment-light);
}
.service-name small {
  display: block;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-style: italic;
  margin-top: 2px;
  font-family: var(--font-body);
}
.service-time {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
}

/* ---------- Quote ---------- */

.scripture-quote {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--parchment);
  position: relative;
}

.scripture-quote blockquote {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.45;
  color: var(--ink);
  position: relative;
}
.scripture-quote blockquote::before,
.scripture-quote blockquote::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  margin: 2rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.scripture-quote cite {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-style: normal;
  display: block;
  margin-top: 1.5rem;
}

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

.site-footer {
  background: var(--ink);
  color: var(--parchment-deep);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--parchment-deep);
  font-size: 0.98rem;
  opacity: 0.78;
}
.footer-col a:hover { opacity: 1; color: var(--gold-light); }

.footer-brand .brand-name { color: var(--parchment-light); }
.footer-brand .brand-sub { color: rgba(246, 239, 224, 0.6); }
.footer-brand p {
  color: rgba(246, 239, 224, 0.68);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.2rem;
  max-width: 320px;
}

.footer-base {
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 149, 82, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.5);
}

/* ---------- Library page ---------- */

.page-banner {
  background: var(--lapis-deep);
  color: var(--parchment-light);
  padding: 9rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(234, 217, 161, 0.12) 0%, transparent 60%);
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(234, 217, 161, 0.025) 0,
      rgba(234, 217, 161, 0.025) 1px,
      transparent 1px,
      transparent 14px);
}
.page-banner .inner { position: relative; max-width: 760px; margin: 0 auto; }
.page-banner h1 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--parchment-light);
  letter-spacing: 0.06em;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}
.page-banner .lead { color: rgba(246, 239, 224, 0.85); max-width: 600px; margin: 0 auto; }

/* Filter bar */
.filter-bar {
  background: var(--parchment-deep);
  border-bottom: 1px solid rgba(184, 149, 82, 0.3);
  padding: 1.4rem 2rem;
}
.filter-bar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}
.filter-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(184, 149, 82, 0.4);
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.chip:hover { border-color: var(--gold); color: var(--porphyry); }
.chip.is-active { background: var(--porphyry); color: var(--parchment-light); border-color: var(--porphyry); }

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--gold);
  padding: 0.4rem 0.2rem;
  min-width: 240px;
}
.search-box svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; }
.search-box input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  width: 100%;
}
.search-box input::placeholder { color: var(--muted); font-style: italic; }

/* Series-detailed listing */
.series-section {
  padding: 5rem 0 1rem;
}
.series-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(184, 149, 82, 0.3);
}
.series-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}
.series-header .meta {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lecture-list {
  display: grid;
  gap: 1rem;
}
.lecture-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.3rem 1.5rem;
  background: var(--parchment-light);
  border: 1px solid rgba(184, 149, 82, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
}
.lecture-row:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
  transform: translateX(3px);
}
.lecture-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
  text-align: center;
}
.lecture-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.lecture-excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
}
.lecture-date {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.lecture-play {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  transition: all 0.2s ease;
}
.lecture-row:hover .lecture-play {
  background: var(--porphyry);
  color: var(--parchment-light);
  border-color: var(--porphyry);
}

/* ---------- Single lecture page ---------- */

.lecture-hero {
  background: var(--lapis-deep);
  color: var(--parchment-light);
  padding: 6rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}
.lecture-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at center, rgba(234, 217, 161, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(45deg,
      rgba(234, 217, 161, 0.02) 0,
      rgba(234, 217, 161, 0.02) 1px,
      transparent 1px,
      transparent 14px);
}
.lecture-hero .inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gold-light); opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb .sep { margin: 0 0.8rem; opacity: 0.5; }

.lecture-hero h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--parchment-light);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.lecture-hero .series-ref {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold-highlight);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.lecture-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.7);
}

/* Video frame */
.video-frame {
  max-width: 900px;
  margin: -3rem auto 0;
  position: relative;
  z-index: 3;
  padding: 0 2rem;
}
.video-frame .inner {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(20, 30, 51, 0.7) 0%, rgba(31, 47, 74, 0.5) 50%, rgba(74, 19, 32, 0.7) 100%),
    url('../assets/christ-the-high-priest.jpg') center 30% / cover no-repeat,
    var(--lapis-deep);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-deep);
  display: grid;
  place-items: center;
  position: relative;
}
.video-frame .play-ring {
  width: 90px;
  height: 90px;
}

/* Lecture body */
.lecture-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.lecture-body .intro {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(184, 149, 82, 0.3);
}
.lecture-body h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
}
.lecture-body p { margin-bottom: 1.2rem; line-height: 1.75; }

.scripture-block {
  background: var(--parchment-light);
  border-left: 3px solid var(--porphyry);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
}
.scripture-block .ref {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 1rem;
}

.lecture-resources {
  background: var(--parchment-deep);
  padding: 2rem;
  border: 1px solid rgba(184, 149, 82, 0.3);
  margin-top: 3rem;
}
.lecture-resources h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--porphyry);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.resource-list { list-style: none; }
.resource-list li { padding: 0.5rem 0; border-bottom: 1px dashed rgba(184, 149, 82, 0.3); }
.resource-list li:last-child { border: none; }
.resource-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.resource-list a .ext {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

/* Next/prev nav */
.lecture-nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.lecture-nav a {
  border: 1px solid rgba(184, 149, 82, 0.4);
  padding: 1.5rem 2rem;
  background: var(--parchment-light);
  transition: all 0.2s ease;
}
.lecture-nav a:hover { border-color: var(--gold); }
.lecture-nav .dir {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
  display: block;
}
.lecture-nav .title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ink);
  display: block;
}
.lecture-nav .next { text-align: right; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(246, 239, 224, 0.98);
    border-bottom: 1px solid rgba(184, 149, 82, 0.25);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  .site-header.is-open nav { display: block; }
  .site-header.is-open .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 2rem 1rem;
  }
  .site-header.is-open .nav-links li {
    border-bottom: 1px solid rgba(184, 149, 82, 0.18);
  }
  .site-header.is-open .nav-links li:last-child { border-bottom: 0; }
  .site-header.is-open .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.85rem;
  }
  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .feature-strip .container { grid-template-columns: 1fr; gap: 2rem; }
  .featured-lecture .inner { grid-template-columns: 1fr; }
  .parish-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .featured-copy { padding: 2.5rem 2rem; }
  section { padding: 4rem 0; }
  .lecture-row { grid-template-columns: 50px 1fr auto; }
  .lecture-row .lecture-date { display: none; }
}

@media (max-width: 700px) {
  /* About page: stack inline-flex figures vertically, beat inline styles */
  .container-narrow > figure {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }
  .container-narrow > figure > img {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
  }
  /* About page: collapse inline 2-column grid to one column */
  .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 70vh;
    padding-top: 5rem;
    background-color: var(--lapis-deep);
    background-image:
      linear-gradient(180deg, rgba(20, 30, 51, 0.78) 0%, rgba(31, 47, 74, 0.62) 45%, rgba(20, 30, 51, 0.88) 100%),
      url('../assets/LRPAnnunciationoftheTheotokos_Scene_level.webp');
    background-position: center center, center top;
    background-size: auto, contain;
    background-repeat: no-repeat, no-repeat;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 1rem; }
  .lecture-nav { grid-template-columns: 1fr; }
  body { font-size: 17px; }
}
