/* =====================================================================
   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;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  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;
  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;
}

/* =====================================================================
   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; }
}
