:root {
  --bg: #101214;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --text: #f4efe6;
  --muted: #b9b2a7;
  --gold: #d8b66a;
  --teal: #6eb9af;
  --rose: #c48680;
  --line: rgba(244, 239, 230, 0.15);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(216, 182, 106, 0.1), transparent 34%),
    linear-gradient(245deg, rgba(110, 185, 175, 0.1), transparent 38%),
    #101214;
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 88%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
}

.cursor-light {
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(216, 182, 106, 0.08), transparent 34%),
    radial-gradient(circle at 64% 38%, rgba(110, 185, 175, 0.075), transparent 38%),
    radial-gradient(circle, rgba(244, 239, 230, 0.035), transparent 58%);
  filter: blur(26px);
  transform: translate3d(calc(var(--cursor-x) - 50%), calc(var(--cursor-y) - 50%), 0);
  mix-blend-mode: soft-light;
  will-change: transform, opacity;
}

body.has-pointer .cursor-light {
  opacity: 0.72;
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field span {
  position: absolute;
  width: 44vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 182, 106, 0.22), transparent);
  animation: signal-flow 11s linear infinite;
}

.ambient-field span:nth-child(1) {
  top: 23%;
  left: -15%;
}

.ambient-field span:nth-child(2) {
  top: 61%;
  right: -18%;
  animation-delay: -4s;
}

.ambient-field span:nth-child(3) {
  bottom: 16%;
  left: 12%;
  animation-delay: -7s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 8px;
  background: rgba(16, 18, 20, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: rgba(216, 182, 106, 0.28);
  background: rgba(16, 18, 20, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(216, 182, 106, 0.42);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.93rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.header-action {
  border-radius: 8px;
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.84rem;
  font-weight: 650;
}

.site-nav a {
  padding: 10px 12px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.header-action {
  padding: 11px 14px;
  border: 1px solid rgba(216, 182, 106, 0.32);
  background: rgba(216, 182, 106, 0.12);
  color: var(--gold);
}

.section,
.hero-stage {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  gap: 34px;
  align-content: start;
  align-items: center;
  min-height: min(920px, calc(100svh - 82px));
  padding: 50px 0 24px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 8px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.88;
}

h1 span {
  display: block;
}

.hero-copy,
.stage-card,
.story-grid > *,
.support-layout > *,
.section-heading > *,
.subscribe-panel > * {
  min-width: 0;
}

.hero-subtitle {
  margin-bottom: 26px;
  color: var(--teal);
  font-size: clamp(1.55rem, 3vw, 2.9rem);
  font-weight: 650;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 12px;
  color: rgba(244, 239, 230, 0.82);
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.hero-lead.english {
  color: var(--muted);
}

.hero-actions,
.subscribe-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.button,
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 760;
  line-height: 1;
}

.button.primary {
  border: 1px solid rgba(216, 182, 106, 0.42);
  background: linear-gradient(135deg, #d8b66a, #b99145);
  color: #15120c;
  box-shadow: 0 16px 38px rgba(216, 182, 106, 0.18);
}

.button.secondary {
  border: 1px solid rgba(244, 239, 230, 0.15);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
}

.text-link {
  min-height: 42px;
  padding-inline: 0;
  color: var(--gold);
}

.text-link::after {
  width: 32px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  content: "";
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 54px;
}

.magnetic {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  will-change: transform;
}

.stage-card {
  position: relative;
  align-self: stretch;
  min-height: 500px;
  padding: 16px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 35%), rgba(216, 182, 106, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.stage-card::before {
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(216, 182, 106, 0.16);
  border-radius: 6px;
  content: "";
}

.image-frame {
  height: calc(100% - 86px);
  min-height: 370px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.stage-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 2px 4px;
}

.stage-caption span {
  color: var(--muted);
  font-size: 0.82rem;
}

.stage-caption strong {
  color: var(--gold);
  text-align: right;
}

.signal-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.signal-strip article,
.promise-grid article,
.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(216, 182, 106, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.052);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  transform-style: preserve-3d;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.signal-strip article {
  min-height: 132px;
  padding: 20px;
}

.signal-strip span,
.promise-grid span,
.video-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 780;
}

.signal-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.signal-strip p,
.promise-grid p,
.story-copy p,
.section-heading p,
.subscribe-panel p,
.prayer-card p {
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 80px 0;
}

.story-grid,
.section-heading,
.support-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.section-heading {
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  margin-bottom: 0;
}

h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.6rem);
  font-weight: 810;
  letter-spacing: 0;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.story-copy {
  padding-top: 4px;
}

.story-copy p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.support-panel {
  position: relative;
  padding: 72px 34px;
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(110, 185, 175, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.mood-list {
  display: grid;
  gap: 10px;
  align-self: start;
}

.mood-button {
  width: 100%;
  min-height: 78px;
  padding: 18px;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 8px;
  background: rgba(16, 18, 20, 0.48);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.mood-button span {
  display: block;
}

.mood-button strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
}

.mood-button small {
  color: var(--muted);
  font-size: 0.82rem;
}

.mood-button.is-active,
.mood-button:hover {
  border-color: rgba(216, 182, 106, 0.38);
  background: rgba(216, 182, 106, 0.1);
}

.prayer-card {
  min-height: 420px;
  padding: 32px;
  border: 1px solid rgba(216, 182, 106, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 20%), rgba(196, 134, 128, 0.13), transparent 32%),
    rgba(16, 18, 20, 0.68);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.card-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 182, 106, 0.28);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 780;
}

.prayer-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.7vw, 2.6rem);
  line-height: 1.14;
}

.prayer-card p {
  font-size: 1rem;
}

.prayer-card blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: rgba(244, 239, 230, 0.88);
  line-height: 1.7;
}

.promise-strip {
  padding-bottom: 50px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.promise-grid article {
  min-height: 240px;
  padding: 22px;
}

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

.video-card {
  min-height: 360px;
  padding: 12px;
  color: var(--text);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 300ms ease;
}

.video-card:hover img {
  transform: scale(1.035);
}

.video-card span {
  margin: 18px 8px 9px;
}

.video-card strong {
  display: block;
  margin: 0 8px 8px;
  font-size: 1.26rem;
  line-height: 1.25;
}

.subscribe-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 56px;
  padding: 34px;
  border: 1px solid rgba(216, 182, 106, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 182, 106, 0.14), rgba(110, 185, 175, 0.08) 52%, transparent),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.subscribe-panel h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
}

.subscribe-panel p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
}

[data-reveal] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-tilt] {
  will-change: transform;
}

.stage-card,
.subscribe-panel {
  animation: soft-float 8s ease-in-out infinite;
}

@keyframes soft-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes signal-flow {
  0% {
    transform: translateX(-12vw);
    opacity: 0;
  }

  16%,
  72% {
    opacity: 1;
  }

  100% {
    transform: translateX(78vw);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    display: none;
  }

  .hero-stage,
  .story-grid,
  .section-heading,
  .support-layout,
  .subscribe-panel {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    padding-top: 54px;
  }

  .stage-card {
    min-height: 480px;
  }

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

  .subscribe-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section,
  .hero-stage,
  .site-footer {
    width: min(320px, calc(100% - 48px));
    max-width: 1180px;
  }

  .site-header {
    margin-top: 12px;
    padding: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.55rem);
    line-height: 0.95;
  }

  .hero-subtitle {
    font-size: 1.45rem;
  }

  .button {
    width: 100%;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .stage-card {
    min-height: 410px;
  }

  .image-frame {
    min-height: 310px;
  }

  .signal-strip,
  .promise-grid,
  .video-rail {
    grid-template-columns: 1fr;
  }

  .support-panel,
  .subscribe-panel {
    padding: 24px;
  }

  .prayer-card {
    min-height: auto;
    padding: 24px;
  }

  .video-card {
    min-height: auto;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}

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

  .cursor-light {
    display: none;
  }
}
