:root {
  --navy: #001b34;
  --navy-2: #062944;
  --gold: #c6922e;
  --gold-light: #e1b65d;
  --cream: #f3e7d2;
  --cream-2: #fbf5e9;
  --ink: #10253b;
  --line: rgba(198,146,46,.65);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(135deg, #f7eddb, #eee0c7);
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0,0,0,.12);
}

.hero {
  position: relative;
  min-height: clamp(420px, 58vw, 650px);
  padding: 72px 7vw 85px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251,245,233,.92) 0%, rgba(251,245,233,.72) 48%, rgba(251,245,233,.22) 100%),
    url("hero.png") center 22% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 105px;
  height: 105px;
  border: 2px solid var(--gold);
  opacity: .8;
}
.hero::before {
  top: 24px; left: 24px;
  border-right: 0; border-bottom: 0;
  border-radius: 28px 0 0 0;
}
.hero::after {
  right: 24px; bottom: 24px;
  border-left: 0; border-top: 0;
  border-radius: 0 0 28px 0;
}

.hero-art {
  position: absolute;
  right: -3%;
  top: 0;
  width: 52%;
  height: 100%;
  opacity: .16;
  background:
    radial-gradient(circle at 65% 43%, rgba(198,146,46,.55), transparent 4%),
    linear-gradient(120deg, transparent 48%, rgba(0,27,52,.55) 49%, transparent 50%),
    linear-gradient(90deg, transparent 47%, rgba(0,27,52,.35) 48%, transparent 49%);
  pointer-events: none;
}

.hero-overlay { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 820px);
  max-width: 820px;
}

.eyebrow {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.current-date {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.1;
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .82;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--navy);
}

h1 span { color: var(--gold); }

.ornament {
  margin: 28px 0 24px;
  color: var(--gold);
  font-size: 2.2rem;
  letter-spacing: .15em;
}

.tagline {
  display: inline-block;
  margin: 0;
  padding: 15px 34px;
  color: var(--gold-light);
  background: var(--navy);
  border: 2px solid var(--gold);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,27,52,.16);
}

.daily-section {
  padding: 70px 4.5vw 90px;
  background:
    linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)),
    var(--cream);
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}
.section-heading .small {
  color: var(--gold);
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .9rem;
}
.section-heading h2 {
  margin: 10px 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 500;
}
.section-heading p {
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.three-columns {
  display: grid;
  grid-template-columns: 1fr 1.22fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.card {
  position: relative;
  padding: 34px;
  background: rgba(255,250,240,.82);
  border: 1px solid var(--gold);
  box-shadow: 0 12px 30px rgba(0,27,52,.09);
}
.card::before {
  content: "✦";
  position: absolute;
  top: 11px;
  left: 16px;
  color: var(--gold);
  font-size: 1rem;
}
.card::after {
  content: "✦";
  position: absolute;
  right: 16px;
  bottom: 11px;
  color: var(--gold);
  font-size: 1rem;
}
.card h3 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.verse-card {
  background: var(--navy);
  color: #f7eddb;
  border: 2px solid var(--gold);
}
.verse-card h3 { color: var(--gold-light); }
.audio-play {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #f4c767;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0,0,0,.35);
  line-height: 1;
}
.audio-play svg {
  display: block;
  width: 17px;
  height: 17px;
}
.audio-play:hover,
.audio-play:focus-visible {
  background: var(--navy-2);
  color: #fff;
}
.audio-play.is-playing {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold-light);
}
.verse {
  display: block;
  width: 100%;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  font-style: normal;
  text-align: center;
}
.reference {
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.15rem;
  letter-spacing: .08em;
}

.poster-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.poster-card h3 {
  padding: 15px 18px 8px;
  margin-bottom: 5px;
}
.poster-wrap {
  position: relative;
  isolation: isolate;
  background: #fff;
  border: 1px solid rgba(198,146,46,.65);
  overflow: hidden;
}
.poster-wrap img {
  width: 100%;
  display: block;
  height: auto;
}

.reflection-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reflection-card .icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-light);
  background: var(--navy);
  border: 2px solid var(--gold);
  font-size: 2rem;
}
.reflection-title {
  text-align: center;
  color: var(--navy);
  font-size: 2rem;
  margin: 0 0 24px;
}
.reflection-card p {
  font-size: 1.17rem;
  line-height: 1.85;
  margin: 0;
}
.reflection-card .closing {
  margin-top: 25px;
  color: var(--gold);
  text-align: center;
  font-style: italic;
}

.weekly-flipbook-link {
  display: inline-block;
  align-self: center;
  margin-top: 32px;
  padding: 15px 26px;
  color: var(--gold-light);
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0,27,52,.18);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.weekly-flipbook-link:hover,
.weekly-flipbook-link:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  box-shadow: 0 10px 22px rgba(0,27,52,.25);
  transform: translateY(-2px);
}

footer {
  background: var(--navy);
  color: #f8edda;
}
.footer-main {
  padding: 54px 5vw 45px;
  border-top: 1px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  max-width: 1250px;
  margin: 0 auto 42px;
}
.footer-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  align-items: center;
}
.footer-icon {
  width: 78px;
  height: 78px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--gold-light);
}
.footer-item h4 {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 1.1rem;
  letter-spacing: .02em;
}
.footer-item p {
  margin: 0;
  line-height: 1.5;
  font-size: .9rem;
}

.cta {
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 28px;
  text-align: center;
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #062944, #001b34);
  position: relative;
}
.cta::before, .cta::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.6rem;
}
.cta::before { left: -18px; }
.cta::after { right: -18px; }
.cta strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.2rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cta span {
  display: block;
  margin-top: 8px;
  font-size: .95rem;
}

.footer-bottom {
  padding: 23px 20px;
  text-align: center;
  border-top: 1px solid rgba(198,146,46,.35);
  color: var(--gold-light);
  letter-spacing: .28em;
  font-size: .8rem;
  text-transform: uppercase;
}
.cross {
  display: block;
  margin-top: 12px;
  font-size: 1.3rem;
  letter-spacing: .35em;
}

@media (max-width: 1050px) {
  .three-columns { grid-template-columns: 1fr; }
  .poster-card, .verse-card, .reflection-card {
    max-width: 700px;
    width: 100%;
    margin: auto;
  }
  .footer-grid { grid-template-columns: 1fr; max-width: 720px; }
  .hero { min-height: 440px; }
  .hero-art { width: 65%; }
}

@media (max-width: 650px) {
  .hero {
    height: 100svh;
    min-height: 0;
    padding: 48px 22px 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
      linear-gradient(90deg, rgba(251,245,233,.72) 0%, rgba(251,245,233,.42) 58%, rgba(251,245,233,.12) 100%),
      url("hero.png") 76% center / cover no-repeat;
  }
  .hero-overlay {
    position: static;
    z-index: 3;
    display: block;
    width: 66.666vw;
    max-width: 66.666vw;
    margin-top: 24px;
    padding: 0;
    color: #000;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
  }
  .hero-overlay .overlay-verse {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: .9rem;
    line-height: 1.45;
    font-style: normal;
    font-weight: 400;
    color: var(--navy);
    text-shadow: 0 1px 2px rgba(251,245,233,.9);
  }
  .hero-overlay .overlay-reference {
    margin: 0;
    color: #8a5a00;
    font-size: .9rem;
    letter-spacing: .06em;
    font-style: normal;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(251,245,233,.9);
  }
  .hero-content {
    max-width: 100%;
    text-align: left;
    padding-bottom: 0;
  }
  .eyebrow { font-size: .78rem; letter-spacing: .18em; }
  .current-date { margin-bottom: 14px; font-size: .82rem; }
  h1 {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
    line-height: .88;
    text-shadow: 0 2px 12px rgba(251,245,233,.75);
  }
  .ornament { margin: 20px 0 18px; font-size: 1.45rem; letter-spacing: .08em; }
  .tagline {
    max-width: 100%;
    padding: 11px 14px;
    font-size: .78rem;
    line-height: 1.35;
    letter-spacing: .08em;
  }
  .daily-section { padding: 50px 18px 65px; }
  .card { padding: 27px 23px; }
  .verse { font-size: 1.4rem; }
  .footer-item { grid-template-columns: 68px 1fr; gap: 15px; }
  .footer-icon { width: 62px; height: 62px; font-size: 1.5rem; }
}
