:root {
  --bg: #07130f;
  --bg-soft: #10231d;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --paper: #f7f1e6;
  --paper-soft: #efe5d3;
  --ink: #fff8ec;
  --ink-dark: #18251f;
  --muted: rgba(255, 248, 236, 0.72);
  --muted-dark: #657268;
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(24, 37, 31, 0.12);
  --accent: #d8b66d;
  --accent-soft: #f3dca3;
  --green: #8fb69f;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 8%, rgba(216, 182, 109, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(143, 182, 159, 0.18), transparent 30%),
    linear-gradient(180deg, #07130f 0%, #11261f 46%, #efe5d3 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 19, 15, 0.22), rgba(7, 19, 15, 0.84)),
    url("../images/hero-landscape.jpg")
      center/cover;
  transform: scale(1.03);
  animation: cinematic-drift 28s ease-in-out infinite alternate;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 19, 15, 0.58), transparent 34%, rgba(7, 19, 15, 0.5)),
    radial-gradient(circle at 50% 20%, transparent 0, rgba(0, 0, 0, 0.48) 78%);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-soft), #fff6d7);
  box-shadow: 0 0 22px rgba(243, 220, 163, 0.86);
}

.film-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1px);
  background-size: 42px 42px, 57px 57px;
}

.ambient-light {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.34;
  pointer-events: none;
  transition: transform 700ms ease-out;
  animation: ambient-float 12s ease-in-out infinite alternate;
}

.light-one {
  top: 12%;
  left: -120px;
  background: #d8b66d;
}

.light-two {
  right: -140px;
  bottom: 12%;
  background: #8fb69f;
  animation-delay: -5s;
}

.floating-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(243, 220, 163, 0.82);
  box-shadow: 0 0 24px rgba(243, 220, 163, 0.72);
  opacity: 0;
  animation: particle-rise 16s linear infinite;
}

.floating-particles span:nth-child(1) {
  left: 8%;
  animation-delay: 0s;
}

.floating-particles span:nth-child(2) {
  left: 22%;
  animation-delay: -7s;
  animation-duration: 19s;
}

.floating-particles span:nth-child(3) {
  left: 36%;
  animation-delay: -3s;
  animation-duration: 14s;
}

.floating-particles span:nth-child(4) {
  left: 49%;
  animation-delay: -11s;
  animation-duration: 21s;
}

.floating-particles span:nth-child(5) {
  left: 61%;
  animation-delay: -5s;
}

.floating-particles span:nth-child(6) {
  left: 74%;
  animation-delay: -13s;
  animation-duration: 18s;
}

.floating-particles span:nth-child(7) {
  left: 86%;
  animation-delay: -8s;
  animation-duration: 20s;
}

.floating-particles span:nth-child(8) {
  left: 94%;
  animation-delay: -2s;
  animation-duration: 15s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
}

.site-header::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 82px;
  content: "";
  background: linear-gradient(180deg, rgba(7, 19, 15, 0.82), rgba(7, 19, 15, 0));
  backdrop-filter: blur(14px);
}

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

.brand {
  gap: 10px;
  color: #fff8ec;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 248, 236, 0.34);
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.1);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  box-shadow: inset 0 0 18px rgba(243, 220, 163, 0.14), 0 0 28px rgba(243, 220, 163, 0.08);
}

.nav-links {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  padding: 76px 0 120px;
}

.hero-content {
  align-self: center;
  max-width: 890px;
  padding: 40px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.peace-copy h2,
.section-heading h2,
.letter-panel h2,
.request-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

.hero h1 {
  max-width: 880px;
  color: #fffaf0;
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: 0.86;
  text-wrap: balance;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.button,
.text-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #18251f;
  background: linear-gradient(135deg, #f5dfaa, #d8b66d);
  box-shadow: 0 18px 50px rgba(216, 182, 109, 0.22);
  position: relative;
  overflow: hidden;
}

.button.primary::after {
  position: absolute;
  top: -40%;
  left: -45%;
  width: 38%;
  height: 180%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: rotate(18deg);
  animation: button-shine 4.8s ease-in-out infinite;
}

.button.secondary {
  color: #fff8ec;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.experience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.experience-pills span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.76);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.breath-card {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, 92%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  overflow: hidden;
  animation: card-float 7s ease-in-out infinite alternate;
}

.breath-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 26% 18%, rgba(243, 220, 163, 0.18), transparent 42%);
  pointer-events: none;
}

.breath-orb {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(243, 220, 163, 0.34);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(243, 220, 163, 0.42), rgba(143, 182, 159, 0.08) 58%, transparent);
  box-shadow: 0 0 48px rgba(243, 220, 163, 0.22);
  animation: breathe 4.6s ease-in-out infinite;
}

.breath-card span {
  color: var(--accent-soft);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.breath-card p {
  margin: 13px 0 0;
  color: rgba(255, 248, 236, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.14;
}

.interlude {
  display: grid;
  min-height: 42vh;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.interlude.narrow {
  min-height: 32vh;
}

.interlude p {
  max-width: 860px;
  margin: 0;
  color: #fff8ec;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
}

.peace-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 80px 0 110px;
}

.peace-image {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 19, 15, 0.04), rgba(7, 19, 15, 0.28)),
    url("../images/peace-sunrise.jpg")
      center/cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.peace-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.18), transparent 62%);
  transform: translateX(-120%);
  animation: image-glow 9s ease-in-out infinite;
}

.peace-image span {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255, 248, 236, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.peace-image span::before,
.peace-image span::after {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(243, 220, 163, 0.52);
  border-radius: inherit;
  content: "";
}

.peace-image span::after {
  inset: 39px;
  background: rgba(243, 220, 163, 0.72);
  box-shadow: 0 0 32px rgba(243, 220, 163, 0.52);
}

.peace-copy,
.letter-panel,
.feature-card,
.prayer-form,
.hope-note {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.peace-copy::before,
.letter-panel::after,
.feature-card::before,
.prayer-form::before,
.hope-note::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at var(--glow-x, 20%) var(--glow-y, 20%), rgba(243, 220, 163, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.peace-copy:hover::before,
.letter-panel:hover::after,
.feature-card:hover::before,
.prayer-form:hover::before,
.hope-note:hover::before {
  opacity: 1;
}

.peace-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.peace-copy h2,
.letter-panel h2,
.section-heading h2,
.request-copy h2 {
  color: #fff8ec;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 0.96;
  text-wrap: balance;
}

.peace-copy p,
.letter-panel p,
.feature-card p,
.request-copy p,
.reflection {
  color: var(--muted);
  line-height: 1.9;
}

.stillness-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--accent-soft);
  font-weight: 800;
}

.stillness-line span {
  width: 62px;
  height: 1px;
  background: currentColor;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 0 86px;
}

.feature-card {
  min-height: 420px;
  padding: clamp(28px, 4vw, 46px);
  transform-style: preserve-3d;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.feature-card:hover,
.prayer-form:hover {
  border-color: rgba(243, 220, 163, 0.32);
  background: rgba(255, 255, 255, 0.15);
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.soft-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 248, 236, 0.26);
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.1);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: inset 0 0 20px rgba(243, 220, 163, 0.08);
  animation: soft-pulse 4.8s ease-in-out infinite;
}

.feature-card blockquote {
  margin: 0;
  color: #fff8ec;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.text-button {
  margin-top: 18px;
  padding: 0;
  color: var(--accent-soft);
  background: transparent;
}

.letter-section {
  padding: 40px 0 110px;
}

.letter-panel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 74px);
  overflow: hidden;
}

.letter-mark {
  position: absolute;
  top: 34px;
  right: 42px;
  color: rgba(243, 220, 163, 0.32);
  font-size: 4.5rem;
  line-height: 1;
  animation: slow-spin 18s linear infinite;
}

.letter-panel::before {
  position: absolute;
  inset: auto -80px -180px auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  content: "";
  background: rgba(216, 182, 109, 0.16);
  filter: blur(34px);
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
  padding: 70px 0 110px;
}

.request-copy {
  position: sticky;
  top: 110px;
}

.prayer-form {
  display: grid;
  gap: 14px;
  padding: clamp(26px, 4vw, 42px);
}

label {
  color: #fff8ec;
  font-weight: 800;
}

select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff8ec;
  font: inherit;
}

select {
  height: 52px;
  padding: 0 14px;
}

select option {
  color: var(--ink-dark);
}

textarea {
  min-height: 168px;
  padding: 16px;
  resize: vertical;
  line-height: 1.7;
}

textarea::placeholder {
  color: rgba(255, 248, 236, 0.56);
}

select:focus,
textarea:focus {
  border-color: rgba(243, 220, 163, 0.72);
  box-shadow: 0 0 0 5px rgba(216, 182, 109, 0.14);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#char-count,
.form-status {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 24px;
  margin: 0;
}

.hope-section {
  padding: 40px 0 120px;
}

.mural-heading {
  max-width: 850px;
}

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

.hope-note {
  min-height: 220px;
  padding: 26px;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.hope-note:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.hope-note i {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  box-shadow: 0 0 24px rgba(243, 220, 163, 0.82);
  animation: soft-pulse 3.8s ease-in-out infinite;
}

.hope-note span {
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hope-note p {
  margin: 16px 0 0;
  color: rgba(255, 248, 236, 0.88);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.16;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
}

.site-footer a {
  color: var(--accent-soft);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible:nth-child(2) {
  transition-delay: 90ms;
}

.reveal.is-visible:nth-child(3) {
  transition-delay: 160ms;
}

@keyframes cinematic-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.4%, -1%, 0);
  }
}

@keyframes ambient-float {
  from {
    opacity: 0.25;
  }

  to {
    opacity: 0.43;
  }
}

@keyframes particle-rise {
  0% {
    top: 110%;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }

  18% {
    opacity: 0.62;
  }

  76% {
    opacity: 0.38;
  }

  100% {
    top: -8%;
    opacity: 0;
    transform: translate3d(34px, -40px, 0) scale(1.25);
  }
}

@keyframes button-shine {
  0%,
  48% {
    transform: translateX(0) rotate(18deg);
  }

  76%,
  100% {
    transform: translateX(430%) rotate(18deg);
  }
}

@keyframes card-float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-12px);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.84);
    opacity: 0.64;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes image-glow {
  0%,
  48% {
    transform: translateX(-120%);
  }

  76%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    opacity: 0.68;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes slow-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .hope-note,
  .reveal,
  .ambient-light,
  .breath-card,
  .breath-orb,
  .floating-particles span,
  .letter-mark,
  .peace-image::after,
  .soft-icon,
  body::before {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header,
  .nav-links,
  .peace-section,
  .content-grid,
  .request-section,
  .hope-wall,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    border-radius: 22px;
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links a {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 110px;
  }

  .breath-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 34px;
  }

  .peace-image {
    min-height: 380px;
  }

  .request-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    justify-content: center;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .interlude {
    min-height: 32vh;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}
