:root {
  color-scheme: dark;
  --ink: #f8f4ed;
  --muted: rgba(248, 244, 237, 0.72);
  --soft: rgba(248, 244, 237, 0.12);
  --line: rgba(255, 255, 255, 0.22);
  --gold: #d9b56f;
  --rose: #d98f86;
  --teal: #76c8bd;
  --deep: #11151d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: #030303;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(ellipse at 14% 18%, rgba(217, 181, 111, 0.15), transparent 34%),
    radial-gradient(ellipse at 86% 36%, rgba(118, 200, 189, 0.1), transparent 30%),
    radial-gradient(ellipse at 50% 86%, rgba(217, 143, 134, 0.1), transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 86px 86px, 86px 86px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.84) 54%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(116deg, transparent 0 12%, rgba(255, 255, 255, 0.18) 12.08%, transparent 12.38% 49%, rgba(217, 181, 111, 0.19) 49.08%, transparent 49.46% 100%),
    linear-gradient(64deg, transparent 0 28%, rgba(255, 255, 255, 0.12) 28.08%, transparent 28.38% 72%, rgba(217, 181, 111, 0.12) 72.08%, transparent 72.42% 100%),
    radial-gradient(ellipse 46% 18% at 17% 68%, transparent 48%, rgba(255, 255, 255, 0.13) 49%, transparent 51%),
    radial-gradient(ellipse 32% 14% at 84% 12%, transparent 48%, rgba(217, 181, 111, 0.22) 49%, transparent 51%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 22px);
  opacity: 0.82;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

#spirit-scene {
  display: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(17, 21, 29, 0.52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(150%);
  transform: translateX(-50%);
}

.brand,
.nav,
.hero-actions,
.social-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-weight: 900;
  white-space: nowrap;
  font-size: 1.08rem;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 24px rgba(217, 181, 111, 0.42);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-15%) scale(1.68);
  transform-origin: center;
}

.nav {
  gap: 4px;
  padding: 4px;
  justify-self: center;
  margin: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-content: center;
  justify-content: center;
  gap: 4px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav a,
.header-action,
.button {
  border-radius: 999px;
  font-weight: 800;
}

.nav a {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.07);
}

.nav a:hover {
  color: var(--ink);
  border-color: rgba(217, 181, 111, 0.55);
  background: rgba(217, 181, 111, 0.16);
}

.nav a.nav-highlight {
  color: #18151b;
  border-color: rgba(217, 181, 111, 0.72);
  background: linear-gradient(135deg, #fff3cf, var(--gold));
  box-shadow:
    0 10px 28px rgba(217, 181, 111, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav a.nav-highlight:hover,
.nav a.nav-highlight[aria-current="page"] {
  color: #18151b;
  background: linear-gradient(135deg, #fff7df, #e1bd76);
  box-shadow:
    0 14px 34px rgba(217, 181, 111, 0.34),
    0 0 24px rgba(217, 181, 111, 0.18);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.header-action {
  color: #17151b;
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 126px 0 72px;
}

.hero-main {
  perspective: 1200px;
  text-align: center;
}

.hero-visual-pair {
  position: relative;
  display: grid;
  width: min(980px, 100%);
  min-height: 440px;
  place-items: center;
  margin: 0 auto clamp(24px, 4vw, 42px);
  perspective: 1200px;
}

.hero-reading-card {
  position: relative;
  grid-area: 1 / 1;
  width: min(300px, 30vw);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.38),
    0 0 62px rgba(217, 181, 111, 0.2);
  transform-origin: center;
  animation: cardOrbit 21s ease-in-out infinite;
}

.hero-reading-card:nth-child(1) {
  animation-delay: 0s;
}

.hero-reading-card:nth-child(2) {
  animation-delay: -3.5s;
}

.hero-reading-card:nth-child(3) {
  animation-delay: -7s;
}

.hero-reading-card:nth-child(4) {
  animation-delay: -10.5s;
}

.hero-reading-card:nth-child(5) {
  animation-delay: -14s;
}

.hero-reading-card:nth-child(6) {
  animation-delay: -17.5s;
}

.hero-visual-pair:hover .hero-reading-card {
  animation-play-state: paused;
}

.hero-reading-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 18%, rgba(255, 244, 214, 0.1), transparent 42%);
  pointer-events: none;
}

.hero-reading-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% 38%;
  filter: saturate(0.96) contrast(1.02);
  transform: scale(1.02);
}

.hero-eucharist-card img {
  object-position: 52% 34%;
}

.hero-mission-card img {
  object-position: 52% 34%;
}

.hero-prayer-card img {
  object-position: 46% 44%;
}

.hero-workshop-card img {
  object-position: 48% 42%;
}

.hero-integral-card img {
  object-position: 52% 38%;
}

@keyframes cardOrbit {
  0%,
  100% {
    z-index: 6;
    opacity: 1;
    transform: translateX(0) translateZ(130px) rotateY(0deg) scale(1.04);
  }

  16.666% {
    z-index: 5;
    opacity: 0.82;
    transform: translateX(82%) translateZ(-38px) rotateY(-12deg) scale(0.9);
  }

  33.333% {
    z-index: 3;
    opacity: 0.58;
    transform: translateX(132%) translateZ(-140px) rotateY(-20deg) scale(0.74);
  }

  50% {
    z-index: 1;
    opacity: 0.36;
    transform: translateX(0) translateZ(-210px) rotateY(0deg) scale(0.66);
  }

  66.666% {
    z-index: 3;
    opacity: 0.58;
    transform: translateX(-132%) translateZ(-140px) rotateY(20deg) scale(0.74);
  }

  83.333% {
    z-index: 5;
    opacity: 0.82;
    transform: translateX(-82%) translateZ(-38px) rotateY(12deg) scale(0.9);
  }
}

.hero-reading-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: rgba(248, 244, 237, 0.84);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.hero-reading-card figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.glass-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(145%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 28px;
  transform-origin: top center;
  overflow: hidden;
}

.quote-glow::before {
  position: absolute;
  inset: -1px;
  content: "";
  background:
    radial-gradient(circle at var(--qx, 50%) var(--qy, 50%), rgba(255, 227, 153, 0.72), rgba(217, 181, 111, 0.34) 18%, transparent 42%),
    linear-gradient(145deg, rgba(217, 181, 111, 0.18), transparent 54%);
  opacity: 0.18;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.quote-glow:hover::before {
  opacity: 1;
}

.quote-glow:hover {
  border-color: rgba(217, 181, 111, 0.58);
  box-shadow:
    0 34px 88px rgba(0, 0, 0, 0.38),
    0 0 72px rgba(217, 181, 111, 0.42),
    0 0 22px rgba(255, 227, 153, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.quote-glow > * {
  position: relative;
  z-index: 1;
}

.hero-photo {
  position: relative;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(46px, 7vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.38),
    0 0 80px rgba(217, 181, 111, 0.18);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(17, 21, 29, 0.02), rgba(17, 21, 29, 0.34)),
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.reveal-on-scroll {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(74px) rotateX(18deg) scale(0.92);
  transition:
    opacity 900ms ease,
    filter 1000ms ease,
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) rotateX(0) scale(1);
}

.dramatic-photo {
  transform: translateY(92px) rotateX(16deg) scale(0.86);
  transition:
    opacity 950ms ease,
    filter 1100ms ease,
    transform 1300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: clamp(24px, 5vw, 46px);
  font-size: clamp(2.15rem, 5.2vw, 4.65rem);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.hero-title-light,
.hero-title-strong {
  display: block;
  font-family: "Nunito", system-ui, sans-serif;
}

.hero-title-light {
  font-weight: 300;
}

.hero-title-strong {
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
}

.patrons-section .section-heading h2,
.patrons-section .section-heading .eyebrow {
  transition: color 220ms ease, text-shadow 220ms ease;
}

.patrons-section .section-heading h2:hover,
.patrons-section .section-heading .eyebrow:hover {
  color: #fff2c7;
  text-shadow:
    0 0 18px rgba(217, 181, 111, 0.72),
    0 0 42px rgba(217, 181, 111, 0.38);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.quote-author {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-quote {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.25rem);
  font-weight: 900;
  line-height: 1;
  text-wrap: balance;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button.primary {
  color: #18151b;
  background: linear-gradient(135deg, #fff3cf, var(--gold));
  box-shadow: 0 16px 34px rgba(217, 181, 111, 0.24);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.scripture {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  color: var(--muted);
}

.scripture span {
  color: var(--teal);
  font-weight: 900;
}

.hero-orbit {
  position: relative;
  width: min(520px, 100%);
  min-height: 460px;
  margin: 12px auto 0;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
}

.logo-showcase {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: min(68%, 310px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7) 58%, rgba(255, 255, 255, 0.16) 72%),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28),
    0 0 70px rgba(217, 181, 111, 0.24);
  transform: translate(-50%, -50%);
}

.logo-showcase img {
  width: 88%;
  height: 88%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 18px 26px rgba(50, 16, 16, 0.16));
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  inset: 52px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.hero-orbit::after {
  inset: 96px;
  border-color: rgba(217, 181, 111, 0.34);
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-core {
  position: absolute;
  top: 16%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  color: #18151b;
  background: radial-gradient(circle, #fff6d9, var(--gold));
  box-shadow: 0 0 60px rgba(217, 181, 111, 0.44);
  transform: translate(-50%, -50%);
}

.orbit-core span {
  font-weight: 900;
}

.hero-orbit ul {
  position: absolute;
  inset: 24px;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-orbit li {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: fit-content;
  max-width: 180px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 232, 156, 0.78), rgba(217, 181, 111, 0.32) 22%, transparent 44%),
    linear-gradient(145deg, rgba(217, 181, 111, 0.28), rgba(255, 255, 255, 0.09));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: grab;
  font-weight: 800;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  animation: orbitAroundLogo var(--orbit-speed, 24s) linear infinite;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    scale 220ms ease;
}

.hero-orbit li::after {
  position: absolute;
  inset: -45%;
  content: "";
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.28), transparent 62%);
  opacity: 0;
  transform: translateX(-30%) rotate(8deg);
  transition: opacity 240ms ease, transform 700ms ease;
  pointer-events: none;
}

.hero-orbit li:hover,
.hero-orbit li.is-selected,
.hero-orbit li.is-dragging {
  border-color: rgba(217, 181, 111, 0.88);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    0 0 62px rgba(217, 181, 111, 0.68),
    0 0 18px rgba(255, 238, 180, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  scale: 1.04;
}

.hero-orbit li:hover::after,
.hero-orbit li.is-selected::after,
.hero-orbit li.is-dragging::after {
  opacity: 1;
  transform: translateX(28%) rotate(8deg);
}

.hero-orbit li.is-dragging {
  cursor: grabbing;
  animation-play-state: paused;
}

.hero-orbit li:nth-child(1) {
  --orbit-start: 214deg;
  --orbit-speed: 26s;
}

.hero-orbit li:nth-child(2) {
  --orbit-start: 274deg;
  --orbit-speed: 30s;
}

.hero-orbit li:nth-child(3) {
  --orbit-start: 334deg;
  --orbit-speed: 28s;
}

.hero-orbit li:nth-child(4) {
  --orbit-start: 34deg;
  --orbit-speed: 32s;
}

.hero-orbit li:nth-child(5) {
  --orbit-start: 94deg;
  --orbit-speed: 29s;
}

.hero-orbit li:nth-child(6) {
  --orbit-start: 154deg;
  --orbit-speed: 31s;
}

@keyframes orbitAroundLogo {
  from {
    transform:
      translate(-50%, -50%)
      rotate(var(--orbit-start))
      translateX(var(--orbit-radius, 190px))
      rotate(calc(-1 * var(--orbit-start)));
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--orbit-start) + 360deg))
      translateX(var(--orbit-radius, 190px))
      rotate(calc(-1 * (var(--orbit-start) + 360deg)));
  }
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 34px;
  right: min(7vw, 72px);
  width: clamp(92px, 15vw, 180px);
  height: clamp(30px, 5vw, 58px);
  border-top: 1px solid rgba(217, 181, 111, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 52% 48% 48% 52%;
  opacity: 0.56;
  transform: rotate(-8deg);
  pointer-events: none;
}

.saint-ticker {
  width: min(1180px, calc(100% - 24px));
  margin: clamp(14px, 3vw, 34px) auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22),
    0 0 44px rgba(217, 181, 111, 0.12);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 12px 0;
  color: #060606;
  font-size: clamp(0.86rem, 1.7vw, 1.06rem);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  animation: tickerRun 34s linear infinite;
}

.ticker-track span {
  position: relative;
}

.ticker-track span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -26px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
}

.saint-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerRun {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.saint-quote {
  width: min(920px, calc(100% - 32px));
  margin: 10px auto 0;
  padding: clamp(24px, 4vw, 44px) 0 8px;
  text-align: center;
}

.saint-quote p {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2.25rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 0.95;
  text-wrap: balance;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.saint-quote span {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.saint-quote:hover p {
  color: #fff2c7;
  text-shadow:
    0 0 22px rgba(217, 181, 111, 0.72),
    0 0 52px rgba(217, 181, 111, 0.34);
}

.instagram-preview {
  width: min(900px, calc(100% - 32px));
  margin: clamp(22px, 4vw, 42px) auto clamp(18px, 3vw, 34px);
}

.instagram-card {
  position: relative;
  display: block;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  text-decoration: none;
  border-radius: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.instagram-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(217, 181, 111, 0.22), transparent 30%);
  pointer-events: none;
}

.instagram-card > * {
  position: relative;
  z-index: 1;
}

.instagram-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.instagram-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 16px rgba(217, 181, 111, 0.26);
}

.instagram-profile {
  display: flex;
  align-items: center;
  gap: 18px;
}

.instagram-profile img {
  width: clamp(64px, 9vw, 86px);
  height: clamp(64px, 9vw, 86px);
  object-fit: cover;
  object-position: center 38%;
  border-radius: 999px;
  border: 2px solid rgba(217, 181, 111, 0.78);
  background: rgba(255, 255, 255, 0.92);
  transform: scale(1.18) translateY(-2%);
  box-shadow:
    0 0 0 7px rgba(217, 181, 111, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(217, 181, 111, 0.28);
}

.instagram-profile h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: clamp(1.45rem, 4vw, 2.4rem);
  line-height: 1;
}

.instagram-profile p,
.instagram-bio {
  margin: 0;
  color: var(--muted);
}

.verified-badge {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #2f91ff;
  color: white;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(47, 145, 255, 0.48);
}

.instagram-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 18px;
}

.instagram-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.instagram-stats strong,
.instagram-stats span {
  display: block;
}

.instagram-stats strong {
  color: var(--gold);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
}

.instagram-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.instagram-bio {
  line-height: 1.6;
  text-align: center;
}

.instagram-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.instagram-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(217, 181, 111, 0.14);
  color: var(--ink);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(217, 181, 111, 0.22);
}

.vigil-preview {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.vigil-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1fr;
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
}

.vigil-body video {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 22px;
  background: #050505;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.32),
    0 0 36px rgba(217, 181, 111, 0.14);
}

.vigil-copy {
  display: grid;
  gap: 18px;
}

.vigil-headline {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.84);
  background: #ffffff;
}

.vigil-headline span {
  display: inline-block;
  padding: 10px 18px;
  color: #050505;
  font-size: clamp(1rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  animation: vigilTicker 12s linear infinite;
}

.vigil-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.7;
}

.vigil-copy strong {
  color: var(--ink);
  font-weight: 900;
}

.vigil-copy mark {
  display: inline;
  padding: 0 0.24em;
  border-radius: 0.28em;
  color: #18151b;
  background: rgba(217, 181, 111, 0.92);
  font-weight: 900;
}

@keyframes vigilTicker {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.reels-preview {
  position: relative;
  margin-top: 16px;
  padding: clamp(16px, 3vw, 24px);
  border-radius: 28px;
  overflow: hidden;
}

.reels-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 16% 12%, rgba(217, 181, 111, 0.18), transparent 30%);
  pointer-events: none;
}

.reels-preview > * {
  position: relative;
  z-index: 1;
}

.reels-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.reels-header strong {
  position: relative;
  color: var(--ink);
}

.reels-header strong::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(217, 181, 111, 0.72);
  transform: translateX(-50%);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.reel-tile {
  position: relative;
  display: block;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.16);
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.reel-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.56)),
    radial-gradient(circle at var(--qx, 50%) var(--qy, 35%), rgba(217, 181, 111, 0.25), transparent 38%);
  opacity: 0.86;
}

.reel-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.02);
  transition: transform 500ms ease, filter 260ms ease;
}

.reel-tile span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.reel-tile:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(217, 181, 111, 0.32),
    0 22px 54px rgba(0, 0, 0, 0.28),
    0 0 38px rgba(217, 181, 111, 0.22);
}

.reel-tile:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 690px;
  margin-inline: auto;
  text-align: center;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}

.rich-text {
  padding: 34px;
  border-radius: 26px;
}

.rich-text p,
.service-card p,
.value-card p,
.patron p,
.donate-card p,
.theology-panel p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.values-grid,
.services-grid,
.patrons-row {
  display: grid;
  gap: 16px;
}

.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.impact-counter {
  position: relative;
  display: grid;
  max-width: 940px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin: 24px auto 0;
  padding: 18px 22px;
  border-radius: 22px;
  overflow: hidden;
}

.impact-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.impact-number {
  display: block;
  color: var(--gold);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 0 42px rgba(217, 181, 111, 0.24);
}

.impact-number::after {
  content: "+";
}

.impact-counter p {
  max-width: 230px;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.country-list {
  position: relative;
  min-height: 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.country-list li:hover,
.country-list li.is-selected,
.country-list li.is-dragging {
  border-color: rgba(217, 181, 111, 0.78);
  background: rgba(217, 181, 111, 0.16);
  box-shadow: 0 0 24px rgba(217, 181, 111, 0.32);
}

.country-list li.is-dragging {
  position: absolute;
  z-index: 5;
  cursor: grabbing;
  transform: scale(1.04);
}

.flag {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.flag-co {
  background: linear-gradient(#fcd116 0 50%, #003893 50% 75%, #ce1126 75%);
}

.flag-mx {
  background: linear-gradient(90deg, #006847 0 33.33%, #ffffff 33.33% 66.66%, #ce1126 66.66%);
}

.flag-mx::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #9c6f2f;
  transform: translate(-50%, -50%);
}

.flag-ve {
  background: linear-gradient(#fcd116 0 33.33%, #003893 33.33% 66.66%, #ce1126 66.66%);
}

.flag-ec {
  background: linear-gradient(#ffdd00 0 50%, #034ea2 50% 75%, #ed1c24 75%);
}

.flag-us {
  background:
    linear-gradient(#3c3b6e 0 54%, transparent 54%) 0 0 / 42% 54% no-repeat,
    repeating-linear-gradient(#b22234 0 8%, #ffffff 8% 15.4%);
}

.flag-es {
  background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.value-card,
.service-card,
.patron {
  padding: 24px;
  border-radius: 24px;
}

.patron {
  position: relative;
  overflow: hidden;
}

.patron-avatar {
  display: block;
  width: 86px;
  height: 86px;
  margin: 0;
  border: 2px solid rgba(217, 181, 111, 0.56);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow:
    0 0 28px rgba(217, 181, 111, 0.28),
    0 14px 28px rgba(0, 0, 0, 0.28);
}

.patron-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.patron-feature h3 {
  margin-bottom: 0;
}

.patron-life {
  margin-top: 18px;
}

.patron-life summary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(217, 181, 111, 0.26);
  border-radius: 999px;
  background: rgba(217, 181, 111, 0.12);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.patron-life summary::-webkit-details-marker {
  display: none;
}

.patron-life summary:hover {
  background: rgba(217, 181, 111, 0.22);
  box-shadow: 0 0 28px rgba(217, 181, 111, 0.24);
  transform: translateY(-2px);
}

.patron-life[open] summary {
  background: rgba(217, 181, 111, 0.25);
  box-shadow: 0 0 30px rgba(217, 181, 111, 0.2);
}

.patron-life p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.value-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--teal);
  font-weight: 900;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #15171d;
  background: var(--teal);
  font-weight: 900;
}

.theology-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 32px;
}

blockquote {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

blockquote span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.patrons-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donate-card {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 68px);
  border-radius: 32px;
  text-align: center;
}

.blog-page main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.classroom-page main {
  padding-bottom: 54px;
}

.blog-hero {
  min-height: 72vh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 132px 0 64px;
  text-align: center;
}

.blog-hero h1 {
  margin-bottom: 24px;
}

.blog-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.classroom-hero {
  min-height: 56vh;
  padding-bottom: 34px;
}

.classroom-shell {
  display: grid;
  gap: 24px;
  margin-top: -18px;
}

.classroom-login {
  display: grid;
  width: min(520px, 100%);
  gap: 14px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
}

.classroom-login.is-locked {
  display: none;
}

.classroom-login h2,
.classroom-bar h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.classroom-login label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.classroom-login input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.32);
  font: inherit;
  outline: none;
}

.classroom-login input:focus {
  border-color: rgba(217, 181, 111, 0.62);
  box-shadow: 0 0 0 4px rgba(217, 181, 111, 0.12);
}

.login-error {
  min-height: 20px;
  margin: 0;
  color: #ffd9d2;
  font-size: 0.9rem;
  font-weight: 800;
}

.classroom-content {
  display: grid;
  gap: 18px;
}

.classroom-content.is-locked {
  display: none;
}

.classroom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.course-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border-radius: 28px;
  overflow: hidden;
}

.course-card > img {
  width: 100%;
  height: auto;
  max-height: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.32),
    0 0 38px rgba(217, 181, 111, 0.16);
}

.course-card h3 {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.03;
}

.course-card p {
  color: var(--muted);
  line-height: 1.65;
}

.recording-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.recording-item {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 8% 14%, rgba(217, 181, 111, 0.14), transparent 38%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.recording-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.recording-meta span {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 181, 111, 0.16);
  color: var(--gold);
  font-weight: 900;
}

.recording-meta h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1rem;
}

.recording-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.recording-item video {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #050505;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 28px rgba(217, 181, 111, 0.1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 76px;
}

.writers-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin: -20px 0 28px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
  overflow: hidden;
}

.writers-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.writers-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.writer-tools {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.author-search {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.author-search input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.34);
  font: inherit;
  outline: none;
}

.author-search input:focus {
  border-color: rgba(217, 181, 111, 0.78);
  box-shadow: 0 0 24px rgba(217, 181, 111, 0.22);
}

.writer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.writer-chip {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.writer-chip:hover,
.writer-chip.is-active {
  border-color: rgba(217, 181, 111, 0.78);
  background: rgba(217, 181, 111, 0.18);
  box-shadow: 0 0 28px rgba(217, 181, 111, 0.26);
}

.blog-card {
  position: relative;
  min-height: 340px;
  padding: 26px;
  border-radius: 26px;
  overflow: hidden;
}

.blog-card-cover {
  display: block;
  width: calc(100% + 52px);
  height: 190px;
  margin: -26px -26px 22px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.blog-card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
}

.blog-author {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.blog-card .button {
  margin-top: 18px;
}

.blog-card.is-hidden {
  display: none;
}

.blog-empty {
  margin: -36px auto 76px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.article-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 126px 0 80px;
}

.article-header {
  text-align: center;
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 900;
}

.article-header h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(2.45rem, 5.6vw, 5.2rem);
  text-transform: none;
}

.article-meta {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.article-hero-image {
  margin: 36px auto 24px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 58px rgba(217, 181, 111, 0.18);
}

.article-hero-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.article-body {
  position: relative;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 30px;
  overflow: hidden;
}

.article-body p,
.article-body li {
  color: rgba(248, 244, 237, 0.82);
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.82;
}

.article-body h2 {
  margin-top: 38px;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.article-body h2:first-child {
  margin-top: 0;
}

.about-story {
  position: relative;
  width: min(900px, calc(100% - 32px));
  margin: -30px auto 32px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
  overflow: hidden;
}

.about-story p {
  color: rgba(248, 244, 237, 0.82);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.8;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 78px;
}

.about-pillars article {
  position: relative;
  padding: 26px;
  border-radius: 26px;
  overflow: hidden;
}

.about-pillars span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 900;
}

.about-pillars h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.about-pillars p {
  color: var(--muted);
  line-height: 1.65;
}

.about-team {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  margin: 14px auto 0;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 0;
  overflow: hidden;
}

.team-intro {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
}

.team-intro .eyebrow {
  color: var(--gold);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.team-list {
  display: grid;
  gap: 16px;
}

.team-window {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 36px rgba(217, 181, 111, 0.14);
}

.team-window img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center top;
}

.about-team-copy {
  display: block;
}

.about-team-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.about-team-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.9;
}

.about-team-copy .eyebrow {
  margin-bottom: 8px;
}

.about-team-copy p {
  margin: 0 0 10px;
  font-size: 0.96rem;
}

.about-team-copy blockquote {
  margin: 8px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 900;
  line-height: 1.35;
}

.about-team:nth-child(2) .team-window img {
  object-position: 52% 30%;
}

.footer {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 24px;
  margin: 42px auto 24px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
}

.contact-copy h2 {
  margin-bottom: 12px;
}

.social-links {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form label:nth-of-type(5),
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.32);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: rgba(217, 181, 111, 0.78);
  box-shadow: 0 0 24px rgba(217, 181, 111, 0.22);
}

.contact-form select option {
  color: #11151d;
}

.contact-form button {
  position: relative;
  z-index: 1;
  border: 0;
  cursor: pointer;
}

.form-honey {
  position: absolute;
  left: -9999px;
}

.site-legal {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 22px;
  color: rgba(248, 244, 237, 0.46);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr;
    border-radius: 24px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    justify-self: end;
  }

  .hero,
  .split-layout,
  .theology-panel {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    min-height: 360px;
    --orbit-radius: 145px;
  }

  .logo-showcase {
    width: min(62%, 240px);
  }

  .hero-reading-card {
    width: min(250px, 28vw);
  }

  .hero-visual-pair {
    width: min(720px, 100%);
    min-height: 360px;
  }

  .orbit-core {
    top: 14%;
    width: 88px;
    height: 88px;
    font-size: 0.85rem;
  }

  .services-grid,
  .patrons-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .writers-panel {
    grid-template-columns: 1fr;
  }

  .classroom-bar,
  .course-card {
    grid-template-columns: 1fr;
  }

  .course-card > img {
    width: min(100%, 260px);
    justify-self: center;
  }

  .classroom-bar {
    display: grid;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-team {
    grid-template-columns: 1fr;
  }

  .about-team-copy {
    display: block;
  }

  .about-team-copy .eyebrow,
  .about-team-copy h2,
  .about-team-copy p,
  .about-team-copy blockquote {
    grid-column: 1;
  }

  .team-window {
    justify-self: center;
    width: min(100%, 260px);
    margin-inline: auto;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 8px;
    padding: 7px 10px;
  }

  .nav {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    max-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 260ms ease, opacity 220ms ease, padding 220ms ease;
  }

  .site-header.menu-open .nav {
    max-height: 460px;
    padding: 8px 0 4px;
    opacity: 1;
  }

  .nav a {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    text-align: center;
  }

  .menu-toggle {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 8px;
    padding: 7px 10px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  .saint-ticker {
    width: min(100% - 18px, 560px);
    margin-top: 18px;
    border-radius: 0;
  }

  .ticker-track {
    gap: 30px;
    padding: 10px 0;
    animation-duration: 28s;
  }

  .instagram-preview {
    width: min(100% - 22px, 520px);
    margin-top: 24px;
  }

  .instagram-card {
    padding: 18px;
    border-radius: 22px;
  }

  .instagram-profile {
    align-items: flex-start;
    gap: 13px;
  }

  .vigil-preview {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .vigil-body {
    grid-template-columns: 1fr;
  }

  .vigil-body video {
    max-height: none;
  }

  .instagram-profile h2 {
    flex-wrap: wrap;
  }

  .instagram-stats {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 20px 0 14px;
  }

  .instagram-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    text-align: left;
  }

  .instagram-stats span {
    margin-top: 0;
    text-align: right;
  }

  .reels-preview {
    padding: 14px;
    border-radius: 22px;
  }

  .reels-header {
    font-size: 0.66rem;
  }

  .reels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .reel-tile {
    border-radius: 13px;
  }

  .reel-tile span {
    left: 7px;
    bottom: 7px;
    font-size: 0.66rem;
  }

  .hero-content,
  .donate-card {
    border-radius: 24px;
  }

  .brand {
    font-size: 0.95rem;
    gap: 10px;
  }

  .brand > span:last-child {
    display: inline;
    max-width: 150px;
    overflow: hidden;
    font-size: 0.9rem;
    text-overflow: ellipsis;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .nav {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    max-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 260ms ease, opacity 220ms ease, padding 220ms ease;
  }

  .site-header.menu-open .nav {
    max-height: 420px;
    padding: 8px 0 4px;
    opacity: 1;
  }

  .nav a {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    text-align: center;
  }

  .menu-toggle {
    display: grid;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .hero-reading-card {
    width: min(245px, 72vw);
    border-radius: 24px;
  }

  .hero-visual-pair {
    width: min(330px, 88vw);
    min-height: 350px;
  }

  @keyframes cardOrbit {
    0%,
    100% {
      z-index: 6;
      opacity: 1;
      transform: translateX(0) translateZ(110px) rotateY(0deg) scale(1);
    }

    16.666% {
      z-index: 5;
      opacity: 0.76;
      transform: translateX(30%) translateZ(-42px) rotateY(-10deg) scale(0.84);
    }

    33.333% {
      z-index: 3;
      opacity: 0.42;
      transform: translateX(48%) translateZ(-110px) rotateY(-16deg) scale(0.66);
    }

    50% {
      z-index: 1;
      opacity: 0.28;
      transform: translateX(0) translateZ(-150px) rotateY(0deg) scale(0.58);
    }

    66.666% {
      z-index: 3;
      opacity: 0.42;
      transform: translateX(-48%) translateZ(-110px) rotateY(16deg) scale(0.66);
    }

    83.333% {
      z-index: 5;
      opacity: 0.76;
      transform: translateX(-30%) translateZ(-42px) rotateY(10deg) scale(0.84);
    }
  }

  .hero-reading-card figcaption {
    font-size: 0.86rem;
  }

  .hero-orbit {
    min-height: 420px;
    --orbit-radius: 150px;
  }

  .logo-showcase {
    width: min(72%, 250px);
  }

  .hero-orbit li {
    max-width: 148px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .impact-counter {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .impact-main {
    justify-content: center;
  }

  .impact-counter p {
    max-width: 210px;
  }

  .country-list {
    justify-content: center;
  }

  .values-grid,
  .services-grid,
  .patrons-row {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: stretch;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
