@import "tailwindcss";

:root {
  --background: #fff8ef;
  --foreground: #251d16;
  --muted: #766658;
  --line: #ead7c0;
  --panel: #ffffff;
  --sage: #60775a;
  --sage-dark: #334b34;
  --clay: #af623f;
  --gold: #e0aa3d;
  --rose: #b95d55;
  --cream: #fff3df;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

main {
  min-height: 100vh;
}

.hero-section {
  min-height: 94vh;
  padding: 24px clamp(20px, 5vw, 72px) 58px;
  background:
    radial-gradient(circle at 78% 7%, rgba(224, 170, 61, 0.28), transparent 32%),
    linear-gradient(120deg, rgba(255, 250, 243, 0.98), rgba(255, 239, 217, 0.86)),
    linear-gradient(135deg, rgba(175, 98, 63, 0.14), rgba(96, 119, 90, 0.22));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff6e7;
  box-shadow: 0 16px 32px rgba(92, 49, 27, 0.18);
}

.brand-mark img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--sage-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 740px;
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: #241a12;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 1;
  max-width: 850px;
}

.hero-lede {
  max-width: 700px;
  margin: 28px 0 0;
  color: #4e4238;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.7;
}

.hero-actions,
.donation-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 13px 18px;
  font-weight: 800;
}

.primary-action {
  background: linear-gradient(135deg, var(--rose), #7c3f2e 52%, var(--sage-dark));
  color: #fffdf5;
  box-shadow: 0 16px 34px rgba(126, 70, 38, 0.22);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.72);
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(92, 49, 27, 0.24);
  transform: rotate(0.7deg);
}

.photo-card {
  position: relative;
}

.photo-card::before {
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.impact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: #fffaf2;
}

.impact-strip div {
  min-height: 116px;
  padding: 20px;
}

.impact-strip div + div {
  border-left: 1px solid var(--line);
}

.impact-strip strong,
.impact-strip span {
  display: block;
}

.impact-strip strong {
  color: var(--sage-dark);
  font-size: 1.24rem;
}

.impact-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.mission-band {
  padding: 42px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(51, 75, 52, 0.97), rgba(101, 68, 43, 0.93)),
    var(--sage-dark);
  color: #fffdf5;
}

.mission-band p {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.48;
}

.content-section,
.split-section,
.faith-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px clamp(20px, 5vw, 28px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.warm-intro {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.warm-intro img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 6px;
  object-fit: cover;
}

.warm-intro p {
  margin: 0;
  color: #4a3d32;
  font-size: clamp(1.12rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.35;
}

h2 {
  margin: 0;
  color: #1f281f;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

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

.program-card,
.quote-panel,
.donation-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.program-card {
  min-height: 245px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(126, 70, 38, 0.07);
}

.program-card h3 {
  min-height: 58px;
  margin: 0 0 18px;
  color: var(--sage-dark);
  font-size: 1.25rem;
  line-height: 1.16;
}

.program-card p,
.split-section p,
.faith-copy p,
.donation-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.68;
}

.faith-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faith-copy {
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffdf8;
}

.faith-copy p {
  margin: 0;
  font-size: 1.06rem;
}

.faith-copy p + p {
  margin-top: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split-section p {
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.steps-list {
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps-list li {
  position: relative;
  min-height: 72px;
  padding: 2px 0 22px 56px;
  color: #384038;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
}

.steps-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f4c967, var(--gold));
  color: #201b0c;
  counter-increment: steps;
  content: counter(steps);
  font-weight: 900;
}

.soft {
  max-width: none;
  background: #f8ead7;
}

.soft .section-heading,
.soft .donation-panel {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.donation-panel {
  justify-content: space-between;
  padding: 28px;
}

.donation-panel p {
  max-width: 760px;
  margin: 0;
}

.retreat-section {
  align-items: stretch;
}

.quote-panel {
  display: grid;
  min-height: 280px;
  align-items: end;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(185, 93, 85, 0.18), rgba(224, 170, 61, 0.25)),
    #fffef8;
}

.quote-panel p {
  color: #253025;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.22;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fffaf2;
}

.site-footer strong {
  color: var(--sage-dark);
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer .sms-consent {
  max-width: 760px;
  color: #4d574e;
  font-size: 0.94rem;
  line-height: 1.55;
}

.site-footer a {
  color: var(--sage-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.legal-page {
  min-height: 100vh;
  padding: 32px clamp(20px, 6vw, 84px) 72px;
  background:
    linear-gradient(120deg, rgba(255, 250, 243, 0.98), rgba(255, 239, 217, 0.72)),
    var(--background);
}

.back-link {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--sage-dark);
  font-weight: 900;
}

.legal-document {
  max-width: 850px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 24px 58px rgba(126, 70, 38, 0.08);
}

.legal-document h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4rem);
}

.legal-document h2 {
  margin: 34px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.legal-document p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.legal-document a {
  color: var(--sage-dark);
  font-weight: 800;
}

.legal-updated {
  margin: 16px 0 28px;
}

@media (max-width: 980px) {
  .hero-section {
    min-height: auto;
  }

  .hero-grid,
  .split-section,
  .faith-section,
  .warm-intro,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }

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

  .program-card h3 {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

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

  .brand-mark img {
    width: 78px;
    height: 78px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.35rem);
  }

  .impact-strip,
  .donation-panel {
    grid-template-columns: 1fr;
  }

  .impact-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .content-section,
  .split-section,
  .faith-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }
}
