:root {
  --surface: #fff8f3;
  --surface-low: #faf2eb;
  --surface-high: #efe7df;
  --ink: #1e1b17;
  --ink-soft: #58413f;
  --primary: #851c1a;
  --primary-strong: #a6342e;
  --shadow: 0 22px 60px rgba(74, 50, 31, 0.08);
  --shadow-soft: 0 10px 26px rgba(74, 50, 31, 0.06);
  --radius: 6px;
  --blessings-content-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background: var(--surface);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.hero-content,
.section,
.footer-inner {
  width: min(calc(100% - 40px), var(--blessings-content-width));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

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

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(169, 54, 48, 0.24), transparent 34%),
    linear-gradient(180deg, #0a1020 0%, #0d1424 50%, #101b30 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(214, 181, 91, 0.22) 1px, transparent 0),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 42px 42px, 140px 140px, 140px 140px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
}

.hero-glow-left {
  width: 420px;
  height: 420px;
  top: 12%;
  left: 12%;
  background: rgba(133, 28, 26, 0.35);
}

.hero-glow-right {
  width: 340px;
  height: 340px;
  right: 15%;
  bottom: 16%;
  background: rgba(241, 217, 138, 0.12);
}

.hero-clouds {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, 100%);
  transform: translateX(-50%);
  opacity: 0.74;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fffaf3;
  padding: 150px 0 220px;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: #d1ab9c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.blessing-body h3,
.featured-body h3,
.story-item h3,
.footer-brand {
  font-family: "EB Garamond", serif;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 600;
  line-height: 1.12;
}

.hero-copy {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 248, 243, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

.button {
  min-width: 236px;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.button-primary { background: var(--primary-strong); color: #fff; }
.button-secondary {
  border: 1px solid rgba(255, 248, 243, 0.22);
  color: #fffaf3;
  background: rgba(255, 255, 255, 0.03);
}

.section { padding: 108px 0; }
.section-intro {
  /* Reset the homepage .section-intro constraint so this grid stays full-width. */
  max-width: var(--blessings-content-width);
  margin: 0 auto;
  font-size: inherit;
  line-height: normal;
  background: linear-gradient(180deg, var(--surface) 0%, #fcf4ee 100%);
}
.section-featured {
  background: var(--surface-low);
  border-top: 1px solid rgba(133, 28, 26, 0.06);
  border-bottom: 1px solid rgba(133, 28, 26, 0.06);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.section-heading.center { display: block; text-align: center; }

.section h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.18;
}

.heritage-line {
  width: min(220px, 100%);
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, rgba(133, 28, 26, 0.55), transparent);
  position: relative;
}

.heritage-line::after {
  content: "•";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 8px;
  color: var(--primary);
  background: var(--surface);
}

.blessing-grid,
.featured-grid {
  display: grid;
  gap: 28px;
}

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

.blessing-card,
.featured-card {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(201, 172, 168, 0.28);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.blessing-card {
  padding: 18px 18px 24px;
  cursor: pointer;
}

.blessing-card:hover,
.featured-card:hover,
.blessing-card.is-selected {
  transform: translateY(-6px);
  border-color: rgba(133, 28, 26, 0.28);
  box-shadow: var(--shadow);
}

.blessing-card.is-selected { background: rgba(255, 255, 255, 0.75); }
.blessing-image-frame { aspect-ratio: 0.78; overflow: hidden; background: var(--surface-high); }
.blessing-image-frame img,
.featured-image-frame img,
.stories-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blessing-body { padding-top: 18px; }

.blessing-body h3,
.featured-body h3,
.story-item h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 500;
  color: var(--primary);
}

.blessing-body p,
.featured-body p,
.featured-copy,
.stories-intro,
.story-item p,
.footer-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  background: rgba(241, 217, 138, 0.22);
  color: #896800;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label-italic { font-style: italic; letter-spacing: 0.12em; }
.featured-copy { max-width: 380px; }
.featured-card { background: transparent; border: 0; box-shadow: none; }
.featured-image-frame {
  aspect-ratio: 0.82;
  overflow: hidden;
  background: var(--surface-high);
  box-shadow: var(--shadow-soft);
}

.featured-body { padding-top: 18px; }
.featured-body a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 500;
  transition: letter-spacing 0.2s ease;
}
.featured-body a:hover { letter-spacing: 0.03em; }

.stories-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 52px;
  align-items: center;
}

.stories-intro { max-width: 560px; }
.story-list { display: grid; gap: 28px; margin-top: 40px; }

.story-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
}

.story-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(133, 28, 26, 0.14);
  border-radius: 14px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.55);
  font-size: 20px;
}

.stories-art { position: relative; }
.stories-art::before,
.stories-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 172, 168, 0.22);
  border-radius: 24px;
  pointer-events: none;
}

.stories-art::before {
  inset: auto 18px 16px auto;
  width: 120px;
  height: 120px;
}

.stories-art::after {
  inset: 16px auto auto 18px;
  width: 90px;
  height: 90px;
}

.stories-art-frame {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 26px;
  border: 12px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  background: var(--surface-high);
}

.footer {
  background: #fcfcfc;
  border-top: 1px solid rgba(133, 28, 26, 0.08);
}

.footer-inner { padding: 64px 0; text-align: center; }
.footer-brand { margin: 0; font-size: 20px; color: var(--primary); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 26px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a7b78;
}

.heritage-line-footer::after { background: #fcfcfc; }
.footer-copy {
  max-width: 360px;
  margin: 22px auto 0;
  font-size: 14px;
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.footer-actions a { color: var(--primary); font-size: 15px; }

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

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

body.nav-open { overflow: hidden; }

@media (max-width: 1120px) {
  .hero-content,
  .section,
  .footer-inner {
    width: min(calc(100% - 32px), var(--blessings-content-width));
  }

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

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

@media (max-width: 860px) {
  .section-heading {
    flex-direction: column;
    align-items: start;
    margin-bottom: 40px;
  }

  .featured-copy { max-width: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 680px; }
  .hero-content { padding: 130px 0 180px; }
  .hero-copy { font-size: 16px; }
  .button { width: 100%; min-width: 0; }
  .blessing-grid,
  .featured-grid { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .story-item { grid-template-columns: 56px 1fr; }
  .footer-links { gap: 18px; }
}

/* Blessings uses the shared site shell with a channel-specific secondary nav. */
body::before,
body::after {
  content: none;
}

.blessings-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.blessings-header .brand {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-size: inherit;
  line-height: normal;
}

.blessings-header .menu-toggle {
  display: none;
}

.page-shell > main > .hero {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  grid-template-columns: none;
  gap: 0;
  min-height: 760px;
}

.page-shell > main > .hero::after {
  content: none;
}

.page-shell > main > .hero h1 {
  max-width: 840px;
  color: #fffaf3;
  font-family: "EB Garamond", serif;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.12;
  letter-spacing: normal;
}

.page-shell > main > .hero .eyebrow {
  margin-bottom: 20px;
  color: #d1ab9c;
  font-size: 12px;
  letter-spacing: 0.26em;
}

.blessings-footer {
  width: 100%;
  margin: 0;
  padding: 60px 0 30px;
}

.blessings-footer-top,
.blessings-footer-bottom {
  width: min(calc(100% - 32px), 1160px);
  margin: 0 auto;
}

.blessings-footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 52px;
}

.blessings-footer .footer-brand {
  margin: 0;
  color: inherit;
  font-size: inherit;
  text-align: left;
}

.blessings-footer .footer-brand p,
.blessings-footer .footer-column p {
  color: #443932;
}

.blessings-footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(146, 100, 73, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #75675f;
  font-size: 0.82rem;
}

.blessings-footer-bottom p {
  margin: 0;
}

@media (max-width: 1120px) {
  .blessings-footer-top,
  .blessings-footer-bottom {
    width: min(100vw - 32px, 1220px);
  }

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

@media (max-width: 760px) {
  .blessings-header .header-inner {
    grid-template-columns: auto 1fr;
  }

  .blessings-header .site-nav {
    justify-content: flex-end;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blessings-header .site-nav::-webkit-scrollbar {
    display: none;
  }

  .blessings-header .site-nav-dropdown-menu {
    position: fixed;
    top: 78px;
  }

  .blessings-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
