:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-alt: #ece7dd;
  --text: #1c1a17;
  --text-muted: #726b60;
  --accent: #1c1a17;
  --accent-strong: #000000;
  --accent-soft: #e7e1d3;
  --border: #e3ddd0;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(30, 24, 16, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --logo-accent: #6f5a41;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header.site-header {
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1080px;
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.brand-logo-image {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-sub {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--logo-accent);
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

nav.site-nav a {
  display: inline-block;
  font-family: var(--sans);
  color: var(--text);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  opacity: 0.75;
}

nav.site-nav a:hover {
  opacity: 1;
}

/* Eyebrow */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--text);
  padding: 6px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero */

.hero {
  padding: 88px 0 76px;
  position: relative;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-decor .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
}

.hero-decor .blob-1 {
  width: 420px;
  height: 420px;
  background: var(--surface-alt);
  top: -180px;
  right: -140px;
}

.hero-decor .blob-2 {
  width: 300px;
  height: 300px;
  background: var(--surface-alt);
  bottom: -160px;
  left: -110px;
}

.hero-decor .staff-lines {
  position: absolute;
  bottom: -18px;
  left: -30px;
  width: 460px;
  height: auto;
  color: var(--border);
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-grid > div:first-child {
  animation: fade-up 0.8s ease both;
}

.hero-grid .fact-card {
  animation: fade-up 0.8s ease 0.15s both;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 22px 0 22px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 34px;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text);
  text-decoration: none;
}

.btn-primary {
  background: transparent;
  color: var(--text);
}

.btn-primary:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
}

.btn[disabled],
.btn.disabled {
  background: transparent;
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: var(--border);
}

/* Hero facts card */

.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px 26px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px dashed var(--border);
}

.fact-row:first-child {
  border-top: none;
}

.fact-label {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.fact-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

/* Sections */

section {
  padding: 92px 0;
}

section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

p.program-tagline {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--logo-accent);
  margin: 0 0 20px;
}

section p.section-lead {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 44px;
  font-size: 1.05rem;
}

h3.section-subhead {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 20px;
}

h3.section-subhead-spaced {
  margin-top: 48px;
}

.welcome-block {
  padding-top: 0;
  padding-bottom: 0;
}

.welcome-banner {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.welcome-banner img {
  object-position: center 30%;
}

.welcome-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 24px;
  background: linear-gradient(
    to top,
    rgba(20, 15, 8, 0.55) 0%,
    rgba(20, 15, 8, 0.15) 45%,
    rgba(20, 15, 8, 0) 75%
  );
}

.welcome-banner-overlay p.verse {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  color: #ffffff;
  text-align: center;
  margin: 0;
  max-width: 620px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.photo-block {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-block .photo-fallback {
  display: none;
}

.photo-block.photo-pending .photo-fallback {
  display: block;
}

.photo-strip {
  aspect-ratio: 21 / 6;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 44px 0;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-strip .photo-fallback {
  display: none;
}

.photo-strip.photo-pending .photo-fallback {
  display: block;
}

.objectives-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px 28px;
}

.objectives-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 1rem;
}

.objectives-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

.card .num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card h3 {
  font-family: var(--serif);
  margin: 10px 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 1px;
}

.card-link:hover {
  opacity: 0.7;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--text);
  border-width: 2px;
}

.price-card .badge {
  background: var(--text);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.price-card h3 {
  font-family: var(--serif);
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
}

.price-card .price {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--text);
  margin: 8px 0 4px;
}

.price-card .price span {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  flex-grow: 1;
}

.price-card li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-top: 1px dashed var(--border);
}

.price-card li:first-child {
  border-top: none;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 30px;
}

/* Payment placeholder */

.payment-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 480px;
}

.payment-box p {
  color: var(--text-muted);
  margin-top: 0;
}

/* Schedule */

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.day-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px 26px;
}

.day-card h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.day-window {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.slot {
  font-family: var(--sans);
  font-size: 0.82rem;
  text-align: center;
  padding: 9px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text);
}

.note-card,
.sibling-note {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 24px;
}

.note-card h3,
.sibling-note h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.note-card p,
.sibling-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.about-photo .photo-fallback {
  display: none;
}

.about-photo.photo-pending .photo-fallback {
  display: block;
}

.about-text h2 {
  margin-top: 0;
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

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

/* Devo page */

.devo-page {
  padding: 64px 0 96px;
}

.devo-container {
  max-width: 720px;
}

.back-link {
  display: block;
  margin-bottom: 40px;
}

.devo-page h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}

.devo-verses {
  border-left: 2px solid var(--text);
  padding-left: 24px;
  margin-bottom: 44px;
}

.devo-verses p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 18px;
}

.devo-verses p:last-child {
  margin-bottom: 0;
}

.devo-verses span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 6px;
}

.devo-body p {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 22px;
}

.devo-body p.litany {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--logo-accent);
  margin: 32px 0;
}

.devo-prayer {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-top: 40px;
}

.devo-prayer .section-subhead {
  margin-bottom: 10px;
}

.devo-prayer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Footer */

footer.site-footer {
  padding: 40px 24px;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  nav.site-nav ul {
    gap: 14px;
  }
}

/* Motion */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid > div:first-child,
  .hero-grid .fact-card {
    animation: none;
  }

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