/* =====================================================================
   1765 Sanctum Co. — site styles  (V2: SANCTUARY + TEMPLAR)
   Liturgical depth. Volumetric light. Manuscript illumination.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-base:      #08090C;          /* nearly black — depth of the nave */
  --c-base-2:    #0F1116;
  --c-base-3:    #15171F;          /* card surface */
  --c-bone:      #F5E6C8;          /* warm bone-white */
  --c-bone-dim:  #C9BB9C;
  --c-bone-mut:  #8B826B;
  --c-amber:     #C8932A;          /* candle gold */
  --c-amber-bri: #E2B248;          /* highlight gold */
  --c-amber-dim: #8C6620;
  --c-amber-fade: rgba(200,147,42,0.35);
  --c-oxblood:   #6E1B1F;          /* deep liturgical red — Templar/martyr */
  --c-oxblood-bri: #8B2326;
  --c-stained-blue: #143049;       /* deep stained-glass blue */

  --f-cinzel:    "Cinzel", "Trajan Pro", Georgia, serif;          /* Roman inscription */
  --f-display:   "Cormorant Garamond", "Cormorant", Georgia, serif;
  --f-body:      "EB Garamond", Georgia, "Times New Roman", serif;

  --maxw:        1180px;
  --maxw-narrow: 760px;

  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-bone);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.7;
  font-feature-settings: "liga", "kern", "onum";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--c-bone);
  text-decoration: none;
  border-bottom: 1px solid var(--c-amber-fade);
  transition: color 280ms var(--ease), border-color 280ms var(--ease);
}
a:hover, a:focus-visible { color: var(--c-amber-bri); border-bottom-color: var(--c-amber-bri); }

:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 4px; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--c-amber); color: var(--c-base);
  padding: 12px 18px; font-weight: 600; border: none;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; }

/* ---------- Containers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.narrow { max-width: var(--maxw-narrow); }
.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--f-cinzel);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 32px;
  font-weight: 500;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.eyebrow.centered { display: flex; justify-content: center; }
.eyebrow-roman {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--c-amber-bri);
  text-transform: none;
}
.eyebrow.on-dark { color: var(--c-amber); }

.display-h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--c-bone);
  margin: 0 0 32px;
  text-wrap: balance;
}
.display-h2 em {
  font-style: italic;
  color: var(--c-amber-bri);
  font-weight: 400;
}

/* ---------- Flourishes ---------- */
.section-flourish, .hero-flourish, .footer-flourish {
  display: block;
  width: clamp(160px, 26vw, 240px);
  height: 24px;
  margin: 36px auto;
  color: var(--c-amber);
  opacity: 0.85;
}
.hero-flourish { color: var(--c-amber); margin: 26px auto 26px; }

/* =====================================================================
   HERO — THE THRESHOLD
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 80px 24px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/hero-lepanto.jpg") center 28% / cover no-repeat;
  filter: saturate(0.42) contrast(1.08) brightness(0.36);
  z-index: -5;
  transform: scale(1.04);
  animation: hero-bg-rise 2200ms 100ms var(--ease-out) both;
}
@keyframes hero-bg-rise {
  from { opacity: 0; transform: scale(1.1); }
  to   { opacity: 1; transform: scale(1.04); }
}

/* Stained-glass color wash — deep blue + oxblood at edges */
.hero-stained {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 50%, rgba(200,147,42,0.18), transparent 60%),
    radial-gradient(ellipse 50% 80% at 0% 30%, rgba(20,48,73,0.55), transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 70%, rgba(110,27,31,0.45), transparent 60%);
  mix-blend-mode: screen;
  z-index: -4;
  pointer-events: none;
  animation: stained-pulse 9s ease-in-out infinite;
}
@keyframes stained-pulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(8,9,12,0.88) 0%,
    rgba(8,9,12,0.55) 38%,
    rgba(8,9,12,0.78) 78%,
    rgba(8,9,12,0.98) 100%);
  z-index: -3;
}

/* Volumetric godrays — diagonal beams of warm light */
.hero-godrays {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(110deg,
      transparent 0,
      transparent 72px,
      rgba(245,230,200,0.022) 72px,
      rgba(245,230,200,0.022) 96px,
      transparent 96px,
      transparent 200px);
  mix-blend-mode: screen;
  z-index: -2;
  opacity: 0;
  animation: godrays-fade 3000ms 600ms var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes godrays-fade { to { opacity: 0.9; } }

/* Floating gold motes — like incense smoke catching light */
.hero-particles {
  position: absolute; inset: 0;
  z-index: -2;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  display: block;
  width: 3px; height: 3px;
  background: var(--c-amber-bri);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(226,178,72,0.7);
  opacity: 0;
  animation: mote-drift 16s linear infinite;
}
.hero-particles span:nth-child(1)  { left:  8%;  bottom: -10px; animation-delay:  0s;   width: 2px; height: 2px; }
.hero-particles span:nth-child(2)  { left: 18%;  bottom: -10px; animation-delay:  3s;   width: 4px; height: 4px; }
.hero-particles span:nth-child(3)  { left: 27%;  bottom: -10px; animation-delay:  6s;   }
.hero-particles span:nth-child(4)  { left: 36%;  bottom: -10px; animation-delay:  1.5s; width: 2px; height: 2px; }
.hero-particles span:nth-child(5)  { left: 45%;  bottom: -10px; animation-delay:  9s;   }
.hero-particles span:nth-child(6)  { left: 54%;  bottom: -10px; animation-delay:  4s;   width: 5px; height: 5px; }
.hero-particles span:nth-child(7)  { left: 63%;  bottom: -10px; animation-delay:  7.5s; }
.hero-particles span:nth-child(8)  { left: 72%;  bottom: -10px; animation-delay:  10s;  width: 2px; height: 2px; }
.hero-particles span:nth-child(9)  { left: 81%;  bottom: -10px; animation-delay:  2s;   }
.hero-particles span:nth-child(10) { left: 90%;  bottom: -10px; animation-delay:  5s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(11) { left: 14%;  bottom: -10px; animation-delay:  11s;  }
.hero-particles span:nth-child(12) { left: 67%;  bottom: -10px; animation-delay:  13s;  }
@keyframes mote-drift {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 70% at center, rgba(0,0,0,0) 38%, rgba(0,0,0,0.78) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: 920px;
  position: relative;
}
.hero-content > * { animation: fade-up 1200ms var(--ease-out) both; }
.hero-anno         { animation-delay: 800ms; }
.hero-arms         { animation-delay: 1100ms; }
.wordmark          { animation-delay: 1500ms; }
.hero-motto        { animation-delay: 2000ms; }
.hero-flourish     { animation-delay: 2300ms; }
.tagline           { animation-delay: 2600ms; }
.hero-sub          { animation-delay: 3000ms; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-anno {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 28px;
  font-weight: 500;
}

/* ---------- Coat of arms ---------- */
.hero-arms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  margin-bottom: 26px;
}
.hero-cross {
  width: clamp(56px, 7vw, 84px);
  height: clamp(56px, 7vw, 84px);
  color: var(--c-amber);
  filter: drop-shadow(0 0 18px rgba(200,147,42,0.55));
  animation: cross-glow 4s ease-in-out infinite;
}
@keyframes cross-glow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(200,147,42,0.45)); }
  50%      { filter: drop-shadow(0 0 26px rgba(226,178,72,0.7));  }
}
.hero-laurel {
  width: clamp(28px, 3vw, 44px);
  height: clamp(50px, 6vw, 76px);
  color: var(--c-amber);
  opacity: 0.7;
}
.hero-laurel-r { transform: scaleX(-1); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--f-cinzel);
  font-weight: 600;
  font-size: clamp(44px, 10vw, 120px);
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  color: var(--c-bone);
  text-shadow: 0 2px 28px rgba(0,0,0,0.7);
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.wordmark-mid svg {
  width: clamp(10px, 1.4vw, 16px);
  height: clamp(10px, 1.4vw, 16px);
  color: var(--c-amber);
  display: inline-block;
}

.hero-motto {
  font-family: var(--f-cinzel);
  font-weight: 500;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 22px 0 0;
}

.tagline {
  font-family: var(--f-cinzel);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--c-bone);
  margin: 0;
}

.hero-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--c-bone-dim);
  max-width: 640px;
  margin: 36px auto 0;
  line-height: 1.5;
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  /* Auto-margin centering — translateX(-50%) was being clobbered by the
     fade-up keyframe (which only sets translateY) once the animation ended. */
  bottom: 36px; left: 0; right: 0;
  margin: 0 auto;
  width: max-content;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border: none;
  opacity: 0;
  animation: fade-up 1200ms 3500ms var(--ease-out) forwards;
}
.scroll-cue:hover, .scroll-cue:focus-visible { border: none; }
.scroll-cue-text {
  font-family: var(--f-cinzel);
  font-size: 10px;
  letter-spacing: 0.5em;
  /* Strip the trailing letter-spacing so flex centering uses only glyph width. */
  margin-right: -0.5em;
  color: var(--c-amber);
}
.scroll-cue-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent 0%, var(--c-amber) 50%, transparent 100%);
  animation: scroll-pulse 2400ms ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1;   }
}

/* =====================================================================
   INTROIT — Latin verse
   ===================================================================== */
.introit {
  padding: clamp(72px, 10vw, 120px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200,147,42,0.04), transparent 70%),
    var(--c-base);
  border-top: 1px solid rgba(200,147,42,0.08);
  border-bottom: 1px solid rgba(200,147,42,0.08);
}
.latin-verse {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.5;
  color: var(--c-bone);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}
.latin-cite {
  font-family: var(--f-cinzel);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 28px;
}
.latin-en {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--c-bone-mut);
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}

/* =====================================================================
   MISSION — THE ALTAR
   ===================================================================== */
.mission {
  padding: clamp(96px, 14vw, 180px) 0;
  text-align: center;
  background: var(--c-base);
  position: relative;
}
.mission .display-h2 {
  font-style: normal;
  font-weight: 500;
  margin-bottom: 56px;
}
.mission-body {
  text-align: left;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--c-bone-dim);
  max-width: 640px;
  margin: 0 auto;
}
.mission-body p { margin: 0 0 22px; }
.mission-body p:last-child { margin-bottom: 0; }

/* Illuminated dropcap — gold gradient with subtle glow */
.dropcap {
  font-family: var(--f-cinzel);
  font-weight: 700;
  font-size: 4.4em;
  line-height: 0.86;
  float: left;
  margin: 0.06em 0.16em -0.04em 0;
  background: linear-gradient(135deg, var(--c-amber-bri) 0%, var(--c-amber) 50%, var(--c-amber-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(200,147,42,0.35));
  letter-spacing: -0.02em;
}

.closer {
  font-family: var(--f-cinzel);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 36px 0 0;
}

/* =====================================================================
   PILLARS WRAP
   ===================================================================== */
.pillars-wrap {
  background: linear-gradient(180deg, var(--c-base) 0%, var(--c-base-2) 100%);
  padding-top: clamp(96px, 14vw, 160px);
}
.pillars-banner {
  text-align: center;
  padding: 0 24px clamp(64px, 8vw, 96px);
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
.pillars-banner .display-h2 {
  font-family: var(--f-cinzel);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pillars-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--c-bone-dim);
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(200,147,42,0.18);
  border-bottom: 1px solid rgba(200,147,42,0.18);
}
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

.pillar {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  padding: clamp(64px, 6vw, 88px) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-right: 1px solid rgba(200,147,42,0.18);
  text-align: center;
}
.pillar:last-child { border-right: none; }
@media (max-width: 900px) {
  .pillar { border-right: none; border-bottom: 1px solid rgba(200,147,42,0.18); }
  .pillar:last-child { border-bottom: none; }
}

.pillar-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  filter: saturate(0.5) contrast(1.05) brightness(0.5);
  z-index: -3;
  transition: transform 1400ms var(--ease), filter 1400ms var(--ease);
}
.pillar-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(200,147,42,0.06), transparent 70%),
    linear-gradient(180deg,
      rgba(8,9,12,0.78) 0%,
      rgba(8,9,12,0.85) 60%,
      rgba(8,9,12,0.97) 100%);
  z-index: -2;
}
.pillar:hover .pillar-image {
  transform: scale(1.06);
  filter: saturate(0.66) contrast(1.1) brightness(0.58);
}

/* Gothic arch outline behind content */
.pillar-arch {
  position: absolute;
  top: 6%; left: 50%; transform: translateX(-50%);
  width: 78%;
  height: 88%;
  color: rgba(200,147,42,0.14);
  z-index: -1;
  pointer-events: none;
  transition: color 600ms var(--ease);
}
.pillar:hover .pillar-arch { color: rgba(200,147,42,0.28); }

.pillar-inner { position: relative; z-index: 1; }

.pillar-roman {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  color: var(--c-amber-bri);
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}
.pillar-cross {
  width: 38px; height: 38px;
  color: var(--c-amber);
  margin: 0 auto 22px;
  display: block;
  opacity: 0.85;
}
.pillar-title {
  font-family: var(--f-cinzel);
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 52px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--c-bone);
}
.pillar-latin {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--c-amber);
  letter-spacing: 0.04em;
  margin: 0 0 22px;
}
.pillar-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--c-bone-dim);
  max-width: 360px;
  margin: 0 auto;
}

/* =====================================================================
   LATEST — THE VIGIL
   ===================================================================== */
.latest {
  padding: clamp(96px, 14vw, 180px) 0;
  text-align: center;
  background: var(--c-base);
}
.latest .display-h2 {
  font-weight: 500;
  margin-bottom: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.latest-h2-sub {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.55em;
  color: var(--c-amber);
  font-weight: 400;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.latest-meta {
  font-family: var(--f-cinzel);
  font-size: 11px;
  color: var(--c-bone-mut);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin: 0 0 56px;
}

.video-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px;
  background: linear-gradient(180deg, #15171F 0%, #0E1015 100%);
  border: 1px solid var(--c-amber-fade);
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(200,147,42,0.1),
    0 32px 88px rgba(0,0,0,0.6),
    inset 0 0 60px rgba(200,147,42,0.04);
}
.video-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-aspect iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Manuscript corner ornaments on video frame */
.corner {
  position: absolute;
  width: 36px; height: 36px;
  color: var(--c-amber);
  opacity: 0.85;
  pointer-events: none;
}
.corner svg { width: 100%; height: 100%; }
.corner-tl { top: -2px; left: -2px; }
.corner-tr { top: -2px; right: -2px; }
.corner-bl { bottom: -2px; left: -2px; }
.corner-br { bottom: -2px; right: -2px; }

.latest-caption {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--c-bone-dim);
  max-width: 660px;
  margin: 48px auto 36px;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn-amber, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-cinzel);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: 1px solid var(--c-amber);
  text-decoration: none;
  border-radius: 0;
  transition: all 320ms var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-amber {
  background: var(--c-amber);
  color: var(--c-base);
  box-shadow: 0 0 0 1px transparent, 0 0 24px rgba(200,147,42,0.25);
}
.btn-amber:hover, .btn-amber:focus-visible {
  background: transparent;
  color: var(--c-amber-bri);
  border-color: var(--c-amber-bri);
  box-shadow: 0 0 0 1px var(--c-amber-bri), 0 0 32px rgba(226,178,72,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--c-bone);
  border-color: var(--c-amber);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--c-amber);
  color: var(--c-base);
}
.btn-arrow { transition: transform 320ms var(--ease); }
.btn-amber:hover .btn-arrow,
.btn-ghost:hover .btn-arrow { transform: translateX(6px); }

/* =====================================================================
   DISPATCH — THE BROTHERHOOD
   ===================================================================== */
.dispatch {
  position: relative;
  padding: clamp(120px, 16vw, 200px) 0;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(200,147,42,0.12);
  border-bottom: 1px solid rgba(200,147,42,0.12);
}
.dispatch-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.4) contrast(1.05) brightness(0.42);
  z-index: -3;
}
.dispatch-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(200,147,42,0.16), transparent 60%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(110,27,31,0.35), transparent 70%),
    linear-gradient(180deg,
      rgba(8,9,12,0.95) 0%,
      rgba(8,9,12,0.78) 50%,
      rgba(8,9,12,0.97) 100%);
  z-index: -2;
}
.dispatch-content { position: relative; }
.dispatch-cross {
  width: 56px; height: 56px;
  color: var(--c-amber);
  margin: 24px auto 28px;
  display: block;
  filter: drop-shadow(0 0 16px rgba(200,147,42,0.5));
  animation: cross-glow 4s ease-in-out infinite;
}
.dispatch-content .display-h2 {
  font-style: normal;
  font-weight: 500;
  margin-bottom: 32px;
}
.dispatch-body {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--c-bone-dim);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.dispatch-microcopy {
  font-family: var(--f-cinzel);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-bone-mut);
  margin: 28px 0 0;
}
/* Beehiiv inline subscribe embed — wrapped in a hard-clipped frame.
   Beehiiv's form has a natural row height of ~50px (button vertical
   padding + input). Wrapper at 50px universal: tall enough that the
   "Take Your Place" button isn't clipped, tight enough that there's
   no iframe white-bg bleeding below the form. overflow: hidden clips
   anything embed.js tries to render past the wrapper bounds. */
.beehiiv-embed-frame {
  display: block;
  position: relative;
  width: 400px;
  max-width: 100%;
  height: 50px;
  margin: 32px auto 0;
  overflow: hidden;
  background: transparent;
}
.beehiiv-embed {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  border: 0;
  background: transparent !important;
}

/* Dispatch archive link below the inline subscribe form on the home page. */
.dispatch-archive-link {
  margin: 18px 0 0;
  text-align: center;
}
.dispatch-archive-link a {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-amber);
  border-bottom: 1px solid transparent;
}
.dispatch-archive-link a:hover, .dispatch-archive-link a:focus-visible {
  color: var(--c-amber-bri);
  border-bottom-color: var(--c-amber-bri);
}

/* =====================================================================
   CONNECT — THE WATCHTOWER
   ===================================================================== */
.connect {
  padding: clamp(96px, 14vw, 180px) 0;
  text-align: center;
  background: var(--c-base);
}
.connect h2 { margin-bottom: 56px; }

.social-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-amber-fade);
  border-bottom: 1px solid var(--c-amber-fade);
}
@media (max-width: 720px) { .social-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }

.social-grid li { display: flex; }
.social-grid a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 12px;
  border: none;
  border-right: 1px solid rgba(200,147,42,0.12);
  color: var(--c-bone);
  transition: color 280ms var(--ease), background 280ms var(--ease);
  text-decoration: none;
}
.social-grid li:last-child a { border-right: none; }
@media (max-width: 720px) {
  .social-grid a { border-bottom: 1px solid rgba(200,147,42,0.12); }
  .social-grid li:nth-child(3n) a { border-right: none; }
  .social-grid li:nth-last-child(-n+3) a { border-bottom: none; }
}
.social-grid a:hover, .social-grid a:focus-visible {
  color: var(--c-amber-bri);
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200,147,42,0.07), transparent 70%);
}

/* Niche — the recess where each icon sits */
.social-niche {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200,147,42,0.18);
  margin-bottom: 14px;
  transition: border-color 280ms var(--ease), background 280ms var(--ease), transform 320ms var(--ease);
  position: relative;
}
.social-niche::before, .social-niche::after {
  content: "";
  position: absolute;
  width: 4px; height: 4px;
  background: var(--c-amber);
  opacity: 0.6;
}
.social-niche::before { top: -2px; left: -2px; }
.social-niche::after  { top: -2px; right: -2px; }
.social-grid a:hover .social-niche {
  border-color: var(--c-amber-bri);
  background: rgba(200,147,42,0.06);
  transform: translateY(-2px);
}
.social-niche svg {
  width: 24px; height: 24px;
  fill: currentColor;
}
.social-label {
  font-family: var(--f-cinzel);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.email-line {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  color: var(--c-bone-mut);
  margin: 0;
}
.email-line a { font-style: normal; color: var(--c-bone); border-bottom: 1px solid var(--c-amber-fade); }

/* =====================================================================
   FOOTER — THE CODA
   ===================================================================== */
.footer {
  padding: clamp(80px, 12vw, 140px) 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(200,147,42,0.05), transparent 70%),
    #06070A;
  border-top: 1px solid rgba(200,147,42,0.1);
}
.footer-cross {
  width: 52px; height: 52px;
  color: var(--c-amber);
  margin: 0 auto 28px;
  display: block;
  opacity: 0.92;
  filter: drop-shadow(0 0 14px rgba(200,147,42,0.4));
}
.footer-prayer-title {
  font-family: var(--f-cinzel);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 22px;
}
.footer-prayer {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--c-bone);
  line-height: 1.7;
  margin: 0 0 18px;
}
.footer-prayer-translation {
  font-family: var(--f-display);
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--c-bone-mut);
  line-height: 1.6;
  margin: 0 0 32px;
  font-style: italic;
}
.footer-flourish { color: var(--c-amber); margin: 28px auto 36px; opacity: 0.7; }

.footer-mark {
  font-family: var(--f-cinzel);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.1em;
  color: var(--c-bone);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-mid svg {
  width: 10px; height: 10px;
  color: var(--c-amber);
}
.footer-tagline {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 32px;
}
.footer-meta {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--c-bone-mut);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.85;
}
.footer-meta a { color: var(--c-bone-mut); border-bottom-color: rgba(200,147,42,0.2); }

/* =====================================================================
   Narrow-mobile (≤ 480px) — keep hero type from overflowing the viewport
   ===================================================================== */
@media (max-width: 480px) {
  .hero { padding: 60px 16px; }

  .hero-anno {
    font-size: 10px;
    letter-spacing: 0.34em;
  }

  .wordmark {
    font-size: 38px;
    letter-spacing: 0.04em;
    gap: 12px;
  }
  .wordmark-mid svg {
    width: 9px;
    height: 9px;
  }

  .hero-motto {
    font-size: 10px;
    letter-spacing: 0.28em;
  }

  .tagline {
    font-size: 17px;
    letter-spacing: 0.2em;
  }

  .hero-sub {
    font-size: 16px;
    margin-top: 28px;
  }

  .hero-flourish {
    width: 160px;
  }

  /* tighten section type so the same overflow risk doesn't repeat */
  .pillars-banner .display-h2 {
    font-size: 24px;
    letter-spacing: 0.16em;
  }
  .pillar-title {
    font-size: 32px;
    letter-spacing: 0.1em;
  }
  .footer-mark {
    font-size: 22px;
    letter-spacing: 0.08em;
  }
  .footer-tagline {
    font-size: 10px;
    letter-spacing: 0.3em;
  }
}

/* =====================================================================
   Scroll-triggered fade-ins
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1100ms var(--ease-out), transform 1100ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-content > * { animation: none !important; }
  .hero-bg { animation: none; }
  .hero-godrays { opacity: 0.5; animation: none; }
  .hero-particles { display: none; }
  .scroll-cue { opacity: 1; animation: none; }
  .cross-glow { animation: none; }
  .stained-pulse { animation: none; }
}

/* =====================================================================
   DISPATCH ARCHIVE — listing + individual posts
   ===================================================================== */

/* ---------- Dispatch nav (replaces full hero on dispatch pages) ---------- */
.dispatch-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-amber-fade);
}
.dispatch-nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-cinzel);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--c-amber);
  border: none;
}
.dispatch-nav-mark:hover, .dispatch-nav-mark:focus-visible {
  color: var(--c-amber-bri);
  border: none;
}
.dispatch-nav-1765, .dispatch-nav-sanctum { display: inline-block; }
.dispatch-nav-mid {
  display: inline-flex;
  width: 8px;
  height: 8px;
  color: var(--c-amber);
}
.dispatch-nav-mid svg { width: 100%; height: 100%; }
.dispatch-nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.dispatch-nav-links a {
  color: var(--c-bone-dim);
  border: none;
  transition: color 200ms var(--ease-out);
}
.dispatch-nav-links a:hover, .dispatch-nav-links a:focus-visible {
  color: var(--c-amber-bri);
  border: none;
}

/* ---------- Dispatch hero (article header) ---------- */
.dispatch-hero {
  padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 5vw, 56px);
  text-align: center;
  border-bottom: 1px solid rgba(200, 147, 42, 0.08);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200, 147, 42, 0.05), transparent 70%),
    var(--c-base);
}
.dispatch-title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--c-bone);
  margin: 16px 0 18px;
}
.dispatch-subtitle {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
  color: var(--c-amber-bri);
  max-width: 620px;
  margin: 0 auto 30px;
}
.dispatch-meta {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-bone-mut);
  margin: 0 0 24px;
}
.dispatch-meta time { color: var(--c-bone-dim); }

/* ---------- Dispatch body — manuscript prose ---------- */
.dispatch-body {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px);
  font-family: var(--f-body);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.8;
  color: var(--c-bone);
}
.dispatch-body p {
  margin: 0 0 26px;
}
.dispatch-greeting {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 26px);
  color: var(--c-amber-bri);
  margin-bottom: 24px;
}
.dispatch-body em { color: var(--c-bone); font-style: italic; }
.dispatch-body strong { color: var(--c-bone); font-weight: 600; }
.dispatch-body a {
  color: var(--c-amber);
  border-bottom: 1px solid var(--c-amber-fade);
}
.dispatch-body a:hover, .dispatch-body a:focus-visible {
  color: var(--c-amber-bri);
  border-bottom-color: var(--c-amber-bri);
}
/* Buttons inside the dispatch body keep their button styling — opt out of
   the inline-link color/underline that would otherwise blend the amber
   button text into its amber background. */
.dispatch-body a.btn-amber,
.dispatch-body a.btn-ghost {
  color: var(--c-base);
  border-bottom: none;
}
.dispatch-body a.btn-ghost { color: var(--c-bone); }
.dispatch-body a.btn-amber:hover,
.dispatch-body a.btn-amber:focus-visible {
  color: var(--c-amber-bri);
  border-bottom: none;
}
.dispatch-body a.btn-ghost:hover,
.dispatch-body a.btn-ghost:focus-visible {
  color: var(--c-base);
  border-bottom: none;
}

.dispatch-h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  color: var(--c-amber-bri);
  margin: 56px 0 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 147, 42, 0.18);
}
.dispatch-h2-meta {
  font-family: var(--f-cinzel);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-bone-mut);
  vertical-align: middle;
  margin-left: 8px;
}

.dispatch-pullquote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
  color: var(--c-amber-bri);
  text-align: center;
  margin: 36px auto;
  max-width: 600px;
  padding: 0 16px;
}

.dispatch-intentions {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.dispatch-intentions li {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--c-bone-dim);
  margin: 0 0 14px;
  padding-left: 24px;
  position: relative;
}
.dispatch-intentions li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--c-amber);
}

/* CTA block (e.g., the EP01 promo) */
.dispatch-cta-block {
  margin: 56px 0 40px;
  padding: 32px clamp(20px, 4vw, 40px);
  background: var(--c-base-3);
  border: 1px solid var(--c-amber-fade);
  text-align: center;
}
.dispatch-cta-eyebrow {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 12px;
}
.dispatch-cta-headline {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--c-bone);
  margin: 0 0 16px;
}
.dispatch-cta-body {
  font-family: var(--f-body);
  color: var(--c-bone-dim);
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
}

.dispatch-rhythm {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-bone-mut);
  text-align: center;
  margin: 36px 0 40px;
}

.dispatch-closer {
  font-family: var(--f-cinzel);
  font-weight: 500;
  font-size: clamp(13px, 1.2vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-amber);
  text-align: center;
  margin: 32px 0 24px;
}
.dispatch-signature {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-bone);
  text-align: center;
  margin: 0 0 28px;
}
.dispatch-signature em { color: var(--c-bone-dim); }
.dispatch-signature-title {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-bone-mut);
}
.dispatch-ps {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--c-bone-dim);
  text-align: center;
  border-top: 1px solid rgba(200, 147, 42, 0.18);
  padding-top: 28px;
  margin-top: 32px;
}

/* ---------- Dispatch subscribe CTA (after article body) ---------- */
.dispatch-subscribe-cta {
  text-align: center;
  padding: clamp(80px, 10vw, 120px) 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200, 147, 42, 0.06), transparent 70%),
    var(--c-base);
  border-top: 1px solid rgba(200, 147, 42, 0.12);
}
.dispatch-subscribe-cross {
  width: 48px;
  height: 48px;
  color: var(--c-amber);
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(200, 147, 42, 0.4));
}
.dispatch-subscribe-body {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--c-bone-dim);
  margin: 0 0 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.dispatch-microcopy {
  font-family: var(--f-cinzel);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-bone-mut);
  margin: 28px 0 0;
}

/* ---------- Dispatch listing page ---------- */
.dispatch-list-hero {
  padding: clamp(80px, 12vw, 144px) 0 clamp(56px, 7vw, 88px);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 147, 42, 0.07), transparent 70%),
    var(--c-base);
  border-bottom: 1px solid rgba(200, 147, 42, 0.12);
}
.dispatch-list-title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.05;
  color: var(--c-bone);
  margin: 16px 0 18px;
}
.dispatch-list-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--c-amber-bri);
  max-width: 640px;
  margin: 0 auto 18px;
}
.dispatch-list-body {
  font-family: var(--f-body);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--c-bone-dim);
  max-width: 640px;
  margin: 0 auto 32px;
}

.dispatch-list-section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.dispatch-list-eyebrow {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-amber);
  text-align: center;
  margin: 0 0 40px;
}

.dispatch-cards {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
.dispatch-card {
  display: block;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--c-base-3);
  border: 1px solid rgba(200, 147, 42, 0.18);
  text-decoration: none;
  color: var(--c-bone);
  border-bottom: 1px solid rgba(200, 147, 42, 0.18);
  transition: border-color 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.dispatch-card:hover, .dispatch-card:focus-visible {
  border-color: var(--c-amber);
  transform: translateY(-2px);
  color: var(--c-bone);
}
.dispatch-card-meta {
  font-family: var(--f-cinzel);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 14px;
}
.dispatch-card-title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--c-bone);
  margin: 0 0 14px;
}
.dispatch-card-excerpt {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--c-bone-dim);
  margin: 0 0 20px;
}
.dispatch-card-readmore {
  font-family: var(--f-cinzel);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dispatch-card:hover .dispatch-card-readmore { color: var(--c-amber-bri); }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 600px) {
  .dispatch-nav { padding: 14px 18px; }
  .dispatch-nav-mark { font-size: 12px; letter-spacing: 0.14em; }
  .dispatch-nav-links { font-size: 10px; letter-spacing: 0.18em; }
  .dispatch-cta-block { padding: 24px 18px; }
}

