:root {
  --burgundy: #6f1d2d;
  --burgundy-dark: #3d1018;
  --ivory: #fbf6ec;
  --cream: #f4ead8;
  --gold: #b08a3c;
  --gold-soft: #e8d09b;
  --charcoal: #2c2723;
  --muted: #6f6258;
  --line: #e5d8c4;
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(61, 16, 24, 0.13);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 0.65rem;
  line-height: 1.15;
  color: var(--burgundy-dark);
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.45rem, 6vw, 5.1rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
button, input, textarea, select { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 88px 0; }
.soft-band { background: var(--cream); }
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 30;
  background: var(--burgundy);
  color: white;
  padding: 0.5rem 1rem;
}
.skip-link:focus { left: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 246, 236, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 360px;
  text-decoration: none;
  color: var(--burgundy-dark);
  font-weight: 700;
  line-height: 1.2;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #fff url("../images/site/cropped-logo-updated-1.png") center / cover no-repeat;
  position: relative;
}
.brand-mark::before,
.brand-mark::after {
  content: none;
  position: absolute;
  background: var(--burgundy);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.brand-mark::before { width: 3px; height: 20px; }
.brand-mark::after { width: 15px; height: 3px; }
.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu a {
  display: block;
  padding: 0.5rem 0.55rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.9rem;
}
.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(176, 138, 60, 0.16);
  color: var(--burgundy);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--burgundy-dark);
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 18, 16, 0.82), rgba(61, 16, 24, 0.56), rgba(61, 16, 24, 0.16));
}
.hero-content {
  position: relative;
  color: var(--white);
  padding: 82px 0;
  max-width: 920px;
  margin-left: max(16px, calc((100vw - 1120px) / 2));
  margin-right: auto;
}
.hero h1,
.hero h2 { color: var(--white); }
.hero-subtitle {
  max-width: 720px;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: #fff4df;
}
.hero blockquote {
  max-width: 760px;
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--gold-soft);
  font-size: 1.22rem;
  color: #fff8ec;
}
.hero cite {
  display: block;
  margin-top: 0.7rem;
  font-size: 1rem;
  color: var(--gold-soft);
  font-style: normal;
}
.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--burgundy); color: white; box-shadow: var(--shadow); }
.btn-secondary { background: var(--gold); color: #211714; }
.btn-ghost { color: white; border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); }
.btn-light { background: var(--white); color: var(--burgundy-dark); }
.full-width { width: 100%; }
.text-link {
  display: inline-flex;
  margin: 0.15rem 0 1.2rem;
  color: var(--burgundy);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.light-callout {
  color: var(--charcoal);
}
.light-callout h2 {
  color: var(--burgundy-dark);
}
.light-callout p {
  color: var(--muted);
}

.reading-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.prayer-line,
.closing-invocation {
  color: var(--burgundy);
  font-size: 1.25rem;
  font-weight: 700;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}
.three-grid,
.policy-grid,
.grace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.info-card,
.policy-grid article,
.grace-grid article,
.contact-details,
.cart-panel,
.devotion-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card,
.policy-grid article,
.contact-details,
.devotion-panel {
  padding: 1.35rem;
}
.card-image,
.article-image,
.panel-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  object-fit: cover;
}
.card-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}
.article-image {
  max-width: 320px;
  margin: 0 0 1.25rem;
}
.article-image.wide {
  max-width: none;
  aspect-ratio: 16 / 9;
}
.panel-image {
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.image-grid.compact {
  margin: 1.5rem 0;
}
.image-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.image-grid figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.callout-band {
  background: var(--burgundy-dark);
  color: var(--white);
}
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.callout h2,
.callout .eyebrow { color: var(--white); }
.callout p { color: #f6e7d0; }

.page-hero {
  background: var(--burgundy-dark);
  color: var(--white);
  padding: 84px 0 72px;
  border-bottom: 6px solid var(--gold);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #f6e7d0; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 320px;
  gap: 2rem;
  align-items: start;
}
.prose {
  max-width: 760px;
}
.prose h2:not(:first-child) { margin-top: 2.2rem; }
.prose blockquote {
  margin: 1.4rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--burgundy-dark);
  font-size: 1.2rem;
}
.content-list article {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}
.timeline {
  position: sticky;
  top: 100px;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold);
}
.timeline-item {
  position: relative;
  margin-bottom: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1.25rem - 8px);
  top: 1.25rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2px solid var(--gold);
}
.timeline-item span {
  display: block;
  color: var(--burgundy);
  font-weight: 700;
}
.prayer-card {
  margin: 1.6rem 0;
  padding: 1.4rem;
  background: var(--burgundy);
  color: var(--white);
  border-radius: var(--radius);
}
.prayer-card .eyebrow,
.prayer-card p { color: var(--white); }
.audio-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.audio-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.audio-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.12rem;
}
.audio-card audio {
  width: 100%;
}
.devotion-panel p {
  margin: 0.7rem 0;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  color: var(--burgundy-dark);
}
.grace-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grace-grid article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  align-items: start;
}
.grace-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--burgundy);
  color: white;
  font-weight: 700;
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-image {
  min-height: 170px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cream), #efe0c5);
  color: var(--burgundy);
  font-size: 2.5rem;
}
.product-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-body { padding: 1rem; }
.product-actions {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.65rem;
  align-items: center;
}
.product-actions input,
.cart-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem;
}
.cart-panel {
  position: sticky;
  top: 100px;
  padding: 1rem;
}
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 32px;
  gap: 0.5rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.cart-row button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 2px solid var(--line);
}
.cart-note { color: var(--muted); font-size: 0.95rem; }
.policy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 2rem;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--burgundy-dark);
  font-weight: 700;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefa;
  padding: 0.7rem 0.8rem;
  color: var(--charcoal);
}
.form-status { margin: 0; color: var(--burgundy); font-weight: 700; }

.site-footer {
  background: #2d211d;
  color: #f6ead8;
  padding: 54px 0 28px;
}
.site-footer h2 { color: white; font-size: 1.35rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 2rem;
}
.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}
.footer-grid a {
  color: #f6ead8;
  text-decoration: none;
}
.footer-grid a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #d9c8b5;
  font-size: 0.92rem;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--burgundy);
  color: white;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1f8f54;
  color: white;
  box-shadow: var(--shadow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.whatsapp-float img {
  width: 29px;
  height: 29px;
}
.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #176f41;
  outline: 3px solid rgba(232, 208, 155, 0.85);
  outline-offset: 3px;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav-menu { display: grid; }
  .nav-menu a { padding: 0.85rem; }
  .hero { min-height: 720px; }
  .hero-overlay { background: rgba(34, 18, 16, 0.72); }
  .reading-grid,
  .article-layout,
  .store-layout,
  .form-layout,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
  .timeline,
  .cart-panel { position: static; }
  .policy-grid,
  .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .brand { max-width: 260px; font-size: 0.95rem; }
  .section { padding: 62px 0; }
  .page-hero { padding: 62px 0 54px; }
  .button-row,
  .callout { display: grid; }
  .btn { width: 100%; }
  .three-grid,
  .policy-grid,
  .image-grid,
  .product-grid,
  .grace-grid { grid-template-columns: 1fr; }
  .grace-grid article { grid-template-columns: 48px minmax(0, 1fr); }
  .product-actions { grid-template-columns: 80px 1fr; }
  .footer-bottom { display: block; }
}
