:root {
  --ink: #18231d;
  --forest: #243c2f;
  --olive: #617052;
  --sage: #a9b59c;
  --cream: #f5f0e5;
  --paper: #fffdf8;
  --gold: #b99655;
  --gold-text: #7a5a00;
  --control-border: #747f78;
  --line: rgba(36, 60, 47, .16);
  --muted: #667169;
  --shadow: 0 24px 70px rgba(29, 45, 36, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; padding: .75rem 1rem; color: var(--ink); background: white; }
.shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--olive); font-size: .77rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(3.35rem, 8vw, 7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); letter-spacing: -.04em; }
h3 { font-size: 1.55rem; letter-spacing: -.02em; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: #4f5a53; max-width: 43rem; }
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-head p { max-width: 37rem; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.3rem;
  padding: .8rem 1.25rem; border: 1px solid var(--forest); border-radius: 999px;
  background: var(--forest); color: white; text-decoration: none; font-weight: 750;
  cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #182e23; box-shadow: 0 10px 25px rgba(36, 60, 47, .2); }
.btn:active { transform: translateY(0); background: #101f18; box-shadow: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--gold-text);
}
.btn-light { background: transparent; color: var(--forest); }
.btn-light:hover { color: #101f18; background: rgba(36, 60, 47, .1); box-shadow: none; }
.btn-light:active { color: #fff; background: var(--forest); }
.btn-gold { background: var(--gold); color: #17261d; border-color: var(--gold); }
.btn-gold:hover { color: #fff; background: #8a6500; border-color: #8a6500; }
.btn-gold:active { color: #fff; background: #715200; border-color: #715200; }
.button-row { display: flex; gap: .75rem; flex-wrap: wrap; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 1.15rem 0; color: white; }
.nav { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; }
.brand-mark {
  width: 2.75rem; height: 2.75rem; flex: 0 0 2.75rem; display: block;
  object-fit: contain; padding: .1rem; border: 1px solid rgba(255,255,255,.45);
  border-radius: .55rem; background: #fff;
}
.brand-mark:not(img) { font-size: 0; background: #fff url('/editorial-shalem-kingdom-symbol.png') center / contain no-repeat; }
.brand-name { display: grid; font-family: var(--serif); font-size: 1.02rem; line-height: 1.08; letter-spacing: .01em; }
.brand-name small { font: 650 .62rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .76; }
.nav-links { min-width: 0; }
.nav-primary { display: flex; align-items: center; justify-content: flex-end; gap: .08rem; }
.nav-links a, .nav-dropdown summary { color: inherit; text-decoration: none; font-size: .84rem; font-weight: 700; }
.nav-direct, .nav-dropdown > summary { display: inline-flex; align-items: center; min-height: 2.45rem; padding: .62rem .6rem; border-radius: .45rem; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; cursor: pointer; user-select: none; }
.nav-dropdown summary::-webkit-details-marker, .content-dropdown summary::-webkit-details-marker { display: none; }
.nav-chevron { width: .45rem; height: .45rem; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-.1rem); transition: transform .18s ease; }
.nav-dropdown[open] > summary .nav-chevron, .content-dropdown[open] > summary .nav-chevron { transform: rotate(225deg) translate(-.05rem, -.05rem); }
.nav-direct:hover, .nav-dropdown > summary:hover { color: #f3e6c9; background: rgba(255,255,255,.09); }
.nav-direct:active, .nav-dropdown > summary:active { background: rgba(255,255,255,.15); }
.nav-direct.is-active, .nav-dropdown.is-active > summary { color: #f1d58f; }
.nav-books > summary { color: #f1d58f; font-weight: 850; }
.nav-books > summary::after { content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .28rem; height: 2px; border-radius: 999px; background: #d8b963; }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + .55rem); right: 0; z-index: 40;
  display: grid; gap: .18rem; width: 16.5rem; padding: .75rem;
  border: 1px solid rgba(185,150,85,.34); border-radius: .85rem;
  color: var(--forest); background: #fffdf8; box-shadow: 0 22px 55px rgba(16,31,24,.24);
}
.nav-dropdown-panel::before { content: ""; position: absolute; inset: -.65rem 0 auto; height: .65rem; }
.top-books-panel, .content-books .content-dropdown-panel { width: 20.5rem; }
.nav-menu-group { display: grid; gap: .18rem; }
.nav-menu-group + .nav-menu-group { margin-top: .45rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.nav-menu-group strong { padding: 0 .7rem .15rem; color: var(--gold-text); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.nav-dropdown-panel > a, .nav-dropdown-panel > .nav-menu-group > a, .nav-future, .content-dropdown-panel > a, .content-dropdown-panel > .nav-menu-group > a { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 2.45rem; padding: .55rem .7rem; border-radius: .48rem; font-size: .8rem; line-height: 1.35; }
.nav-dropdown-panel a:hover, .content-dropdown-panel a:hover { color: #162d23; background: #f3ecdd; }
.nav-dropdown-panel a.is-active, .content-dropdown-panel a.is-active { color: #17261d; background: #efe2bf; font-weight: 850; }
.nav-future { color: #68716b; cursor: default; }
.nav-future small { flex: 0 0 auto; color: #7a5a00; font-size: .58rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: .6rem; cursor: pointer; }
.menu-toggle span { display: block; width: 1.5rem; height: 2px; background: currentColor; margin: 4px 0; }
.mobile-nav-panel { display: none; }

.content-nav {
  position: absolute; inset: 5.2rem 0 auto; z-index: 19; color: white;
  border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(185,150,85,.34);
  background: rgba(16,35,26,.9); box-shadow: 0 8px 24px rgba(9,24,17,.16);
  backdrop-filter: blur(12px);
}
.content-nav-scroll { display: flex; align-items: center; justify-content: center; gap: .08rem; min-height: 2.85rem; }
.content-nav-link, .content-dropdown > summary {
  display: inline-flex; align-items: center; min-height: 2.45rem; padding: .55rem .7rem;
  border-radius: .4rem; color: inherit; font-size: .77rem; font-weight: 750; text-decoration: none;
  list-style: none; cursor: pointer; user-select: none; white-space: nowrap;
}
.content-dropdown { position: relative; flex: 0 0 auto; }
.content-nav-link { flex: 0 0 auto; }
.content-nav-link:hover, .content-dropdown > summary:hover { color: #fff4d8; background: rgba(255,255,255,.08); }
.content-nav-link.is-active, .content-dropdown.is-active > summary { color: #f1d58f; background: rgba(185,150,85,.12); }
.content-books > summary { color: #f1d58f; font-weight: 900; }
.content-books > summary::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .22rem; height: 2px; border-radius: 999px; background: #d8b963; }
.content-dropdown-panel {
  position: absolute; top: calc(100% + .45rem); left: 0; z-index: 45;
  display: grid; gap: .15rem; width: 18rem; padding: .72rem;
  border: 1px solid rgba(185,150,85,.34); border-radius: .8rem;
  color: var(--forest); background: #fffdf8; box-shadow: 0 22px 55px rgba(16,31,24,.24);
}
.content-dropdown-panel::before { content: ""; position: absolute; inset: -.55rem 0 auto; height: .55rem; }
.content-dropdown:last-child .content-dropdown-panel { right: 0; left: auto; }

/* Home: editorial storefront */
.home-hero {
  position: relative; min-height: 900px; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 76% 40%, rgba(214,185,105,.18), transparent 28rem),
    radial-gradient(circle at 20% 85%, rgba(25,74,59,.32), transparent 30rem),
    linear-gradient(118deg, #091b14 0%, #173225 55%, #0b2632 100%);
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
}
.home-hero::after {
  content: ""; position: absolute; width: 28rem; height: 28rem; right: -12rem; top: -12rem;
  border: 1px solid rgba(216,185,99,.2); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(216,185,99,.025), 0 0 0 10rem rgba(216,185,99,.018);
}
.home-hero-grid {
  position: relative; z-index: 2; min-height: 900px; display: grid;
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "actions" "showcase";
  grid-template-rows: auto auto auto; gap: 1.75rem; align-items: center;
  padding-top: 10.5rem; padding-bottom: 5.5rem;
}
.home-hero-copy { grid-area: copy; width: 100%; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.home-hero-banner {
  display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain;
  border: 1px solid rgba(240,213,145,.34); border-radius: 1rem;
  box-shadow: 0 32px 75px rgba(0,0,0,.38);
}
.home-kicker {
  display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.15rem;
  color: #e4cc8d; font-size: .76rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase;
}
.home-kicker::before { content: ""; width: 2.5rem; height: 1px; background: #d8b963; }
.home-hero h1 { max-width: 720px; color: #fffdf8; font-size: clamp(3.2rem, 4.8vw, 5.35rem); letter-spacing: -.055em; }
.home-hero-copy p { max-width: 40rem; margin-top: 1.55rem; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.7; }
.home-hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.home-hero-actions .btn { min-height: 3.45rem; }
.home-btn-ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.03); }
.home-btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.home-hero-areas {
  grid-area: showcase; width: min(100%, 940px); min-height: 650px; margin: .85rem auto 0; display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(215px, .85fr); grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.home-feature-card {
  position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(240,213,145,.25); border-radius: 1rem;
  color: #fff; background: #102b22; box-shadow: 0 24px 55px rgba(0,0,0,.24); isolation: isolate;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.home-feature-card:hover { transform: translateY(-4px); border-color: rgba(240,213,145,.68); box-shadow: 0 30px 65px rgba(0,0,0,.32); }
.home-feature-card:focus-visible { outline: 3px solid #f2d58b; outline-offset: 3px; }
.home-feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,17,13,.02) 18%, rgba(4,17,13,.45) 58%, rgba(4,17,13,.96) 100%);
}
.home-feature-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-feature-card:hover .home-feature-image { transform: scale(1.025); }
.home-feature-copy { position: absolute; inset: auto 0 0; z-index: 3; display: grid; gap: .28rem; padding: 1rem 1.1rem 1.05rem; }
.home-feature-label { color: #f0d58e; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.home-feature-copy strong { color: #fffdf8; font: 600 clamp(1rem, 1.35vw, 1.3rem)/1.25 var(--serif); }
.home-feature-copy small { color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.45; }
.home-feature-cta { margin-top: .18rem; color: #f4dfaa; font-size: .72rem; font-weight: 850; }
.home-feature-books { grid-row: 1 / 4; min-height: 650px; background: linear-gradient(150deg, #102d23, #071d26); }
.home-feature-books::after { background: linear-gradient(180deg, transparent 34%, rgba(4,15,12,.22) 52%, rgba(4,15,12,.97) 100%); }
.home-feature-books-glow { position: absolute; inset: 8% 3% 30%; border-radius: 50%; background: radial-gradient(circle, rgba(239,205,112,.27), rgba(152,111,36,.06) 48%, transparent 72%); filter: blur(3px); }
.home-feature-covers { position: absolute; inset: 4% 0 24%; z-index: 1; }
.home-feature-covers img { position: absolute; width: 48%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; filter: drop-shadow(-18px 25px 24px rgba(0,0,0,.42)); transition: transform .3s ease; }
.home-feature-cover-primary { z-index: 2; left: 8%; top: 2%; transform: rotate(-5deg) perspective(800px) rotateY(5deg); }
.home-feature-cover-secondary { z-index: 1; right: 5%; top: 10%; transform: rotate(5deg) perspective(800px) rotateY(-5deg); }
.home-feature-books:hover .home-feature-cover-primary { transform: translateY(-5px) rotate(-4deg) perspective(800px) rotateY(3deg); }
.home-feature-books:hover .home-feature-cover-secondary { transform: translateY(-5px) rotate(4deg) perspective(800px) rotateY(-3deg); }
.home-feature-books .home-feature-copy { padding: 1.35rem 1.45rem 1.45rem; }
.home-feature-books .home-feature-label { font-size: .76rem; }
.home-feature-books .home-feature-copy strong { max-width: 24rem; font-size: clamp(1.55rem, 2.35vw, 2.25rem); }
.home-feature-books .home-feature-copy small { font-size: .86rem; }
.home-feature-devotional .home-feature-image { object-position: center 32%; }
.home-feature-section-cover { padding-bottom: 0; background: #0a251e; }
.home-feature-section-cover::after { display: block; }
.home-feature-section-cover .home-feature-image {
  inset: 0; height: 100%; object-fit: cover; object-position: center;
  background: linear-gradient(135deg, #0d2d24, #09222b);
}
.home-feature-section-cover .home-feature-copy { padding: 1rem 1.1rem 1.05rem; background: transparent; }
.home-feature-section-cover .home-feature-copy strong { font-size: .92rem; }
.home-faith-strip { border-bottom: 1px solid rgba(36,60,47,.14); color: var(--forest); background: #f4efe3; }
.home-faith-strip .shell { min-height: 4.2rem; display: flex; align-items: center; justify-content: center; gap: clamp(.7rem, 2vw, 1.7rem); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.home-faith-strip .shell::-webkit-scrollbar { display: none; }
.home-faith-strip span { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-faith-strip i { width: .3rem; height: .3rem; flex: 0 0 .3rem; border-radius: 50%; background: var(--gold); }
.home-section-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(18rem, .65fr); gap: 3rem; align-items: end; margin-bottom: 3.25rem; }
.home-section-heading .eyebrow { margin-bottom: .7rem; }
.home-section-heading p { max-width: 38rem; color: var(--muted); }
.home-section-heading > div:last-child p { margin-bottom: .8rem; }
.home-text-link { color: var(--forest); font-weight: 850; text-underline-offset: 4px; }
.home-owned-books { background: var(--paper); }
.home-books-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.home-book-card { min-height: 390px; display: grid; grid-template-columns: minmax(190px, .78fr) 1.22fr; overflow: hidden; border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; box-shadow: 0 16px 45px rgba(25,47,36,.07); }
.home-book-card-media { min-height: 390px; display: grid; place-items: center; padding: 2rem; background: linear-gradient(145deg, #dfe7dc, #f1f4ed); }
.home-book-card-warm .home-book-card-media { background: linear-gradient(145deg, #eaded0, #f6efe5); }
.home-book-card-media img { width: min(100%, 190px); height: auto; aspect-ratio: 2 / 3; object-fit: contain; filter: drop-shadow(-12px 20px 18px rgba(28,40,32,.25)); }
.home-book-card-copy { display: grid; align-content: center; justify-items: start; padding: clamp(1.6rem, 3.4vw, 3rem); }
.home-book-card-copy h3 { margin: .65rem 0 .8rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.home-book-card-copy p { color: var(--muted); }
.home-book-card-copy .btn { margin-top: 1.35rem; }
.home-book-world { background: #e9eee7; }
.home-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.home-category-card { min-height: 145px; display: grid; align-content: space-between; padding: 1.15rem; border: 1px solid rgba(36,60,47,.14); border-radius: .75rem; color: var(--forest); background: rgba(255,255,255,.72); font-weight: 800; line-height: 1.35; }
.home-category-card b { color: var(--gold-text); font: 500 1.35rem/1 var(--serif); }
.home-category-card small { color: #667169; font-size: .6rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.home-discover { display: grid; grid-template-columns: .8fr repeat(3, 1fr); gap: .85rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(36,60,47,.18); }
.home-discover-intro { padding: .65rem .75rem .65rem 0; }
.home-discover-intro h3 { margin-top: .45rem; font-size: 2.2rem; }
.home-discover-card { position: relative; min-height: 175px; display: grid; align-content: end; padding: 1.2rem; overflow: hidden; border-radius: .85rem; color: #fff; background: var(--forest); text-decoration: none; }
.home-discover-card > span { position: absolute; top: 1rem; right: 1rem; color: rgba(255,255,255,.35); font: 500 1.4rem/1 var(--serif); }
.home-discover-card strong { color: #fffdf8; font: 500 1.35rem/1.15 var(--serif); }
.home-discover-card small { margin-top: .4rem; color: rgba(255,255,255,.68); line-height: 1.45; }
.home-discover-card i { position: absolute; top: .9rem; left: 1rem; color: #e1c477; font-style: normal; font-size: 1.35rem; }
.home-discover-card:hover { color: #fff; background: #182f24; transform: translateY(-3px); }
.home-discover-card.is-future { color: var(--forest); background: #fffdf8; border: 1px solid var(--line); }
.home-discover-card.is-future strong { color: var(--forest); }
.home-discover-card.is-future small { color: var(--muted); }
.home-discover-card em { margin-top: .7rem; color: var(--gold-text); font-size: .62rem; font-style: normal; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.home-daily { background: #fffdf8; }
.home-daily-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.home-daily-card { min-height: 285px; display: grid; align-content: start; padding: 1.45rem; border: 1px solid var(--line); border-radius: .95rem; color: var(--ink); background: #fff; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.home-daily-card > span { font-size: 1.55rem; }
.home-daily-card h3 { margin: 2.25rem 0 .75rem; color: var(--forest); }
.home-daily-card p { color: var(--muted); font-size: .92rem; }
.home-daily-card b { align-self: end; margin-top: 1.25rem; color: var(--gold-text); font-size: .78rem; }
.home-daily-card:hover { transform: translateY(-4px); border-color: rgba(185,150,85,.58); box-shadow: 0 18px 36px rgba(29,45,36,.09); }
.home-daily-featured { color: #fff; border-color: var(--forest); background: var(--forest); }
.home-daily-featured h3 { color: #fffdf8; }
.home-daily-featured p { color: rgba(255,255,255,.7); }
.home-daily-featured b { color: #e5ca83; }
.home-pathways { background: #13271e; color: #fff; }
.home-pathways .eyebrow { color: #e2ca89; }
.home-pathways .home-section-heading p { color: rgba(255,255,255,.67); }
.home-pathway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-pathway-card { min-height: 355px; display: flex; flex-direction: column; padding: 1.65rem; border: 1px solid rgba(216,185,99,.28); border-radius: 1rem; background: rgba(255,255,255,.035); }
.home-pathway-card > span { color: #dfc57e; font-size: .69rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.home-pathway-card h3 { margin: 1rem 0 1.6rem; color: #fffdf8; font-size: 1.7rem; }
.home-pathway-card ul { display: grid; gap: .55rem; margin: 0; padding: 0; color: rgba(255,255,255,.72); list-style: none; }
.home-pathway-card li { padding-bottom: .55rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.home-pathway-card small { margin-top: auto; padding-top: 1.4rem; color: #dfc57e; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.home-authors { background: #e9eee7; }
.home-author-feature { display: grid; grid-template-columns: .65fr 1.35fr; overflow: hidden; border-radius: 1.15rem; background: #fff; box-shadow: var(--shadow); }
.home-author-mark { min-height: 430px; display: grid; place-items: center; color: #dcc681; background: linear-gradient(145deg, #11251b, #244334); font: italic clamp(6rem, 13vw, 11rem)/1 var(--serif); }
.home-author-copy { display: grid; align-content: center; justify-items: start; padding: clamp(2rem, 6vw, 5rem); }
.home-author-copy h2 { margin-top: .75rem; font-size: clamp(2.5rem, 4.7vw, 4.6rem); }
.home-author-copy p { max-width: 42rem; margin: 1.25rem 0 1.7rem; color: var(--muted); }

.hero {
  min-height: 760px; display: grid; align-items: center; position: relative; overflow: hidden;
  color: white; background: linear-gradient(115deg, rgba(18,38,28,.97) 0%, rgba(28,52,38,.91) 47%, rgba(28,45,35,.42) 100%),
  var(--hero-image, linear-gradient(135deg,#233c2e,#65725a));
  background-size: cover; background-position: center;
}
.hero::after { content: ""; position: absolute; inset: auto -8rem -16rem auto; width: 31rem; height: 31rem; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.018); }
.hero-content { position: relative; z-index: 2; padding: 10rem 0 6rem; max-width: 800px; }
.hero .eyebrow { color: #d8c7a4; }
.hero h1 span { display: block; color: #d6c49c; font-style: italic; }
.hero .lead { color: rgba(255,255,255,.78); margin: 1.8rem 0 2rem; max-width: 660px; }
.hero .btn-light { color: white; border-color: rgba(255,255,255,.48); }
.hero .btn-light:hover { color: white; background: rgba(255,255,255,.14); border-color: #fff; }
.hero .btn-light:active { color: var(--ink); background: #fff; }
.hero-note { display: flex; gap: 1rem; align-items: center; margin-top: 4.25rem; color: rgba(255,255,255,.62); font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-note::before { content: ""; width: 4rem; height: 1px; background: rgba(255,255,255,.35); }

.featured { background: var(--cream); }
.featured-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.book-stage { min-height: 570px; display: grid; place-items: center; position: relative; background: #dce2d5; border-radius: 18rem 18rem .7rem .7rem; overflow: hidden; }
.book-stage::before { content: ""; position: absolute; inset: 8% 12%; border: 1px solid rgba(36,60,47,.17); border-radius: 50%; }
.cover { position: relative; display: block; width: min(65%, 300px); height: auto; aspect-ratio: 2 / 3; object-fit: contain; box-shadow: -16px 28px 40px rgba(27,40,31,.24), -5px 0 0 #d8d1c1; transform: rotate(-2deg); background: #ede8db; }
.cover-fallback { display: grid; place-content: center; text-align: center; padding: 2rem; color: var(--forest); border: 1px solid rgba(36,60,47,.15); }
.cover-fallback strong { display: block; font: 500 2.4rem/1.05 var(--serif); }
.cover-fallback span { margin-top: 1rem; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.book-copy .eyebrow { margin-bottom: 1.15rem; }
.book-copy h2 em { display: block; color: var(--olive); font-weight: 400; }
.book-subtitle { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; margin: 1.5rem 0; max-width: 38rem; }
.book-copy > p:not(.book-subtitle) { color: var(--muted); max-width: 42rem; }
.book-copy .button-row { margin-top: 2rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.5rem; }
.meta-row span { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .75rem; font-size: .78rem; font-weight: 700; color: var(--olive); }

/* Devotional library and latest devotional */
.latest-devotional { background: var(--cream); }
.devotional-latest-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-radius: 1.2rem; background: white; box-shadow: var(--shadow); }
.devotional-latest-media { min-height: 520px; background: #d7ded2; }
.devotional-latest-media img { width: 100%; height: 100%; object-fit: cover; }
.devotional-latest-copy { display: grid; align-content: center; justify-items: start; padding: clamp(2rem, 6vw, 5rem); }
.devotional-latest-copy h2 { margin: .8rem 0 1rem; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.devotional-reference { color: var(--gold-text); font-size: .8rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.devotional-latest-copy p { max-width: 40rem; color: var(--muted); }
.devotional-latest-copy .button-row { margin-top: 1.7rem; }
.devotional-series { display: inline-flex; margin-top: 1rem; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--olive); font-size: .76rem; font-weight: 750; }
.devotional-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.devotional-card { display: flex; min-width: 0; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; flex-direction: column; }
.devotional-card-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #d7ded2; }
.devotional-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.devotional-card-body { display: flex; flex: 1; padding: clamp(1.35rem, 2.5vw, 1.85rem); flex-direction: column; }
.devotional-card h2, .devotional-card h3 { margin: .65rem 0 .85rem; }
.devotional-card h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.12; }
.devotional-card p { display: -webkit-box; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.devotional-card .button-row { margin-top: auto; padding-top: 1.25rem; }
.topic-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.topic-list li { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--olive); font-size: .75rem; font-weight: 700; }
.series-intro { max-width: 760px; margin-bottom: 3rem; }
.series-intro .lead { margin-top: 1rem; }

@media (min-width: 1180px) {
  .devotional-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Individual devotionals */
.devotional-hero { padding: 9rem 0 5.5rem; background: var(--forest); color: white; }
.devotional-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.devotional-hero h1 { margin: 1rem 0 1.3rem; font-size: clamp(3rem, 6vw, 5.8rem); }
.devotional-series-line { max-width: 620px; margin: 1rem 0 0; color: #e3d2af; font-weight: 750; }
.devotional-excerpt { max-width: 650px; margin: 1.1rem 0 0; color: rgba(255,255,255,.78); font-size: 1.03rem; line-height: 1.7; }
/* Los resúmenes se conservan en metadatos y tarjetas; no forman parte de la cabecera individual. */
.devotional-hero .lead { display: none; }
.devotional-hero figure { margin: 0; overflow: hidden; border-radius: 12rem 12rem .8rem .8rem; min-height: 500px; }
.devotional-hero figure img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.devotional-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin-top: 1.7rem; color: rgba(255,255,255,.63); font-size: .8rem; }
.devotional-layout { max-width: 860px; margin: 0 auto; }
.devotional-body { font: 400 1.08rem/1.82 var(--sans); }
.devotional-body > p + p { margin-top: 1.25rem; }
.devotional-body h2 { margin: 3.4rem 0 1.2rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.devotional-body h3 { margin: 2rem 0 .65rem; }
.scripture-block { margin: 2rem 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-left: 3px solid var(--gold); background: var(--cream); font: italic 1.3rem/1.65 var(--serif); }
.scripture-block cite { display: block; margin-top: .8rem; color: var(--olive); font: 800 .82rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.day-phrase { margin: 2rem 0; padding: 1.5rem; border: 1px solid rgba(185,150,85,.38); border-radius: .8rem; color: var(--forest); background: #fffaf0; font: 500 1.28rem/1.55 var(--serif); }
.application-list { display: grid; gap: 1rem; margin-top: 1.5rem; padding: 0; list-style: none; counter-reset: app; }
.application-list li { position: relative; padding: 1.4rem 1.4rem 1.4rem 4.2rem; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.application-list li::before { counter-increment: app; content: counter(app, decimal-leading-zero); position: absolute; left: 1.35rem; top: 1.35rem; color: var(--gold-text); font: 500 1.25rem/1 var(--serif); }
.prayer-block { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1rem; background: var(--forest); color: white; }
.prayer-block h2 { margin-top: 0; color: #f2eadb; }
.prayer-block p { color: rgba(255,255,255,.8); }
.meditate-block { position: relative; margin-top: 3rem; padding: clamp(1.4rem, 4vw, 2.5rem); overflow: hidden; border: 1px solid rgba(185,150,85,.48); border-top: 4px solid var(--gold); border-radius: 1rem; background: linear-gradient(145deg, #f7f2e8, #e8ede5); box-shadow: 0 16px 45px rgba(36,60,47,.07); }
.meditate-block::after { content: "✦"; position: absolute; right: clamp(1rem, 3vw, 2rem); top: 1rem; color: rgba(185,150,85,.42); font-size: 1.4rem; }
.meditate-kicker { margin: 0 0 .45rem; padding-right: 2.5rem; color: var(--olive); font-size: .73rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.meditate-greeting { margin: 0 0 .75rem; color: var(--olive); font-weight: 850; }
.meditate-block h2 { margin: 0; font-size: clamp(1.85rem, 4vw, 2.8rem); }
.meditate-block .scripture-block { margin: 1.4rem 0 1.25rem; background: rgba(255,255,255,.84); }
.meditate-block > p:last-child { margin: 0; color: var(--ink); }
.book-promo { display: grid; grid-template-columns: 105px 1fr; gap: 1.5rem; align-items: center; margin-top: 3rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 1rem; background: var(--cream); }
.book-promo img { width: 105px; box-shadow: -6px 10px 20px rgba(27,40,31,.17); }
.book-promo h2 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.book-promo p { color: var(--muted); }
.book-promo .btn { margin-top: 1rem; }
.book-promo .recommendation-reason { margin: 0 0 .85rem; color: var(--ink); font-size: 1.02rem; line-height: 1.65; }
.book-promo .recommendation-book-title { margin: 0 0 .25rem; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }
.book-promo .recommendation-description { margin: 0; }
.book-promo .button-row { margin-top: 1rem; }
.book-promo .button-row .btn { margin-top: 0; }
.devotional-share { margin-top: 2rem; padding: clamp(1.25rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.book-share-section { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.book-share-section .devotional-share { max-width: 860px; margin: 0 auto; }
.devotional-share h2 { margin: 0 0 .55rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.devotional-share > p { max-width: 42rem; color: var(--muted); }
.share-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: .48rem; min-height: 2.75rem; padding: .65rem .9rem; border: 1px solid var(--control-border); border-radius: 999px; color: var(--forest); background: var(--cream); font: 800 .82rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
.share-button:hover { transform: translateY(-1px); color: #101f18; border-color: var(--gold-text); background: #fffaf0; }
.share-button:active { transform: translateY(0); color: #fff; background: var(--forest); border-color: var(--forest); }
.share-icon { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; font-size: 1rem; font-weight: 900; }
.share-whatsapp .share-icon { color: #128c4a; }
.share-facebook .share-icon { color: #1877f2; font-family: Arial, sans-serif; }
.share-twitter .share-icon { color: #111; }
.share-telegram .share-icon { color: #168acd; }
.share-copy .share-icon { color: var(--gold-text); }
.share-native { display: inline-flex; border-color: var(--forest); color: #fff; background: var(--forest); }
.share-native:hover { color: #fff; background: #192b21; }
.share-status { display: block; min-height: 1.4rem; margin-top: .65rem; color: var(--forest); font-size: .8rem; font-weight: 800; opacity: 0; transition: opacity .18s ease; }
.share-status.show { opacity: 1; }
.related-devotionals { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.related-devotionals h2 { margin-top: 0; }
.devotional-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.devotional-pagination a { padding: 1.25rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--forest); text-decoration: none; font-weight: 800; }
.devotional-pagination a:last-child { text-align: right; }

/* Buenos Días: mensajes breves, visuales y distintos de los devocionales */
.morning-page-hero { background: linear-gradient(120deg, #183326, #31513d); }
.morning-library { background: var(--cream); }
.morning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.morning-card { max-width: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 18px 45px rgba(27,40,31,.08); }
.morning-card-image { display: block; background: #162d23; }
.morning-card-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.morning-card-body { padding: clamp(1.35rem, 3vw, 2rem); }
.morning-label { display: block; margin: 0 0 .7rem; color: var(--gold-text); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.morning-card h3 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.morning-card p { color: var(--muted); }
.morning-card .btn { margin-top: 1.25rem; }
.morning-post { padding: 8.75rem 0 5.5rem; background: linear-gradient(180deg, #edf1e8 0, #fbf8f0 32rem, #fff 100%); }
.morning-post-shell { max-width: 880px; }
.morning-featured { margin: 2rem auto 0; overflow: hidden; border-radius: 1.1rem; background: #173025; box-shadow: 0 24px 65px rgba(24,48,37,.18); }
.morning-featured img { display: block; width: 100%; height: auto; object-fit: contain; }
.morning-message { max-width: 760px; margin: 2.75rem auto 0; font-size: 1.08rem; line-height: 1.78; }
.morning-message h1 { margin: .45rem 0 1.5rem; font-size: clamp(2.65rem, 6vw, 4.7rem); }
.morning-message > p + p { margin-top: 1rem; }
.morning-reference { color: var(--olive); font-size: .92em; font-weight: 800; white-space: nowrap; }
.morning-message blockquote { margin: 2rem 0 1.5rem; padding: 1.4rem 1.6rem; border-left: 4px solid var(--gold); border-radius: 0 .8rem .8rem 0; color: var(--forest); background: #fff7e5; font: 500 clamp(1.35rem, 3vw, 1.8rem)/1.5 var(--serif); }
.morning-shalom { color: var(--forest); font-weight: 850; }
.morning-post .devotional-share, .morning-related { max-width: 760px; margin-right: auto; margin-left: auto; }
.morning-related { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.morning-related h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.morning-related-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.morning-related-links a { color: var(--forest); font-weight: 800; }

/* Buenas Noches: mensajes breves y serenos para terminar el día */
.night-page-hero { background: linear-gradient(120deg, #081d3b, #19385a); }
.night-library { background: linear-gradient(180deg, #f4f1ea, #fff 100%); }
.night-grid { display: grid; grid-template-columns: minmax(0, 560px); gap: 1.5rem; }
.night-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 18px 45px rgba(11,29,59,.12); }
.night-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #081d3b; }
.night-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.night-card-body { padding: clamp(1.35rem, 3vw, 2rem); }
.night-label { display: block; margin: 0 0 .7rem; color: var(--gold-text); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.night-card h3 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.night-card p { color: var(--muted); }
.night-card .btn { margin-top: 1.25rem; }
.night-post { padding: 8.75rem 0 5.5rem; background: linear-gradient(180deg, #eaf0f6 0, #fbf8f0 32rem, #fff 100%); }
.night-post-shell { max-width: 880px; }
.night-featured { margin: 2rem auto 0; overflow: hidden; border-radius: 1.1rem; background: #081d3b; box-shadow: 0 24px 65px rgba(8,29,59,.22); }
.night-featured img { display: block; width: 100%; height: auto; object-fit: contain; }
.night-message { max-width: 760px; margin: 2.75rem auto 0; font-size: 1.08rem; line-height: 1.78; }
.night-message h1 { margin: .45rem 0 1.5rem; font-size: clamp(2.65rem, 6vw, 4.7rem); }
.night-message > p + p { margin-top: 1rem; }
.night-phrase-heading { margin: 2.4rem 0 .55rem; color: var(--gold-text); font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.night-message blockquote { margin: 0 0 1.5rem; padding: 1.4rem 1.6rem; border-left: 4px solid var(--gold); border-radius: 0 .8rem .8rem 0; color: #0d2746; background: #f7f0e2; font: 500 clamp(1.35rem, 3vw, 1.8rem)/1.5 var(--serif); }
.night-closing { color: #35455a; font-weight: 650; }
.night-shalom { color: #0d2746; font-weight: 850; }
.night-post .devotional-share, .night-related { max-width: 760px; margin-right: auto; margin-left: auto; }
.night-related { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.night-related h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.night-related-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.night-related-links a { color: #0d2746; font-weight: 800; }

/* Promesa del Día: promesas bíblicas breves con una identidad visual propia */
.promise-page-hero { background: linear-gradient(120deg, #061d34, #123b59); }
.section-cover-hero .shell { display: grid; grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.section-cover-copy { min-width: 0; }
.section-cover-visual { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; background: rgba(0,0,0,.18); box-shadow: 0 28px 65px rgba(0,0,0,.28); }
.section-cover-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.promise-library { background: linear-gradient(180deg, #f7f2e7, #fffdf8); }
.promise-latest {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem;
  background: #fff; box-shadow: var(--shadow);
}
.promise-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #071f35; }
.promise-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.promise-latest .promise-card-media { min-height: 100%; aspect-ratio: auto; }
.promise-card-body { display: grid; align-content: center; justify-items: start; padding: clamp(1.5rem, 4vw, 3.5rem); }
.promise-label { display: block; margin-bottom: .75rem; color: var(--gold-text); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.promise-card-body h2, .promise-card-body h3 { margin-bottom: .8rem; }
.promise-card-body p { color: var(--muted); }
.promise-reference { display: inline-block; margin-top: .85rem; color: var(--forest); font-size: .88rem; font-weight: 850; }
.promise-card-body .btn { margin-top: 1.35rem; }
.promise-archive { margin-top: 4rem; }
.promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.promise-empty { padding: 1.35rem 1.5rem; border: 1px dashed rgba(36,60,47,.3); border-radius: .9rem; color: var(--muted); background: rgba(255,255,255,.7); }
.promise-post { padding: 8.75rem 0 5.5rem; background: linear-gradient(180deg, #edf1e8 0, #fbf8f0 34rem, #fff 100%); }
.promise-post-shell { max-width: 900px; }
.promise-featured { max-width: 760px; margin: 2rem auto 0; overflow: hidden; border-radius: 1.1rem; background: #071f35; box-shadow: 0 24px 65px rgba(6,29,52,.2); }
.promise-featured img { display: block; width: 100%; height: auto; object-fit: contain; }
.promise-content { max-width: 760px; margin: 2.75rem auto 0; font-size: 1.06rem; line-height: 1.78; }
.promise-content h1 { margin: .45rem 0 1.3rem; font-size: clamp(2.65rem, 6vw, 4.7rem); }
.promise-today { margin-top: 1.7rem; color: var(--forest); font-size: .88rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.promise-main-quote { margin: .8rem 0 2rem; color: #7a5a00; font: 500 clamp(1.75rem, 4vw, 2.6rem)/1.35 var(--serif); }
.promise-reflection { display: grid; gap: 1rem; }
.promise-section { margin-top: 2.25rem; }
.promise-section h2 { margin-bottom: .9rem; font: 850 .78rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--gold-text); }
.promise-scripture blockquote { margin: 0; padding: 1.4rem 1.5rem; border-left: 4px solid var(--gold); border-radius: 0 .8rem .8rem 0; background: #fff7e5; color: var(--forest); font: 500 clamp(1.25rem, 3vw, 1.65rem)/1.55 var(--serif); }
.promise-reference { margin-top: .75rem; }
.promise-memory { color: var(--forest); font: 500 clamp(1.3rem, 3vw, 1.7rem)/1.5 var(--serif); }
.promise-prayer { color: #35423a; }
.promise-post .devotional-share, .promise-related { max-width: 760px; margin-right: auto; margin-left: auto; }
.promise-related { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.promise-related h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.promise-related-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.promise-related-links a { color: var(--forest); font-weight: 800; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.book-card { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: white; min-height: 100%; }
.book-card-visual { min-height: 335px; display: grid; place-items: center; background: #eef0e9; padding: 2rem; }
.book-card-visual-warm { background: linear-gradient(145deg, #eee5dc, #f7f1e8); }
.book-card-visual .cover { width: 145px; }
.book-card-body { padding: 1.6rem; }
.category { color: var(--gold-text); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.book-card h3 { margin: .65rem 0 .75rem; }
.book-card p { color: var(--muted); font-size: .93rem; }
.book-card .button-row { margin-top: 1.25rem; }
.book-card .btn { min-height: 2.7rem; padding: .55rem .9rem; font-size: .84rem; }
.status-pill { display: inline-flex; align-items: center; min-height: 2.7rem; padding: .55rem .9rem; border: 1px solid var(--gold); border-radius: 999px; color: #7d5e28; background: #fbf3e3; font-size: .82rem; font-weight: 800; }
.future-card { display: grid; align-content: center; min-height: 100%; padding: 2rem; background: #f7f5ef; border: 1px dashed rgba(36,60,47,.28); border-radius: 1rem; }
.future-card .number { font-family: var(--serif); color: var(--gold-text); font-size: 2.5rem; }
.future-card h3 { margin: 4rem 0 .7rem; }

.about { background: var(--forest); color: white; overflow: hidden; position: relative; }
.about::before { content: "S"; position: absolute; right: -3vw; top: -14rem; font: 500 38rem/1 var(--serif); color: rgba(255,255,255,.028); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; position: relative; }
.about h2 { color: #f4eee2; }
.about .eyebrow { color: #e3d2af; }
.about-copy { display: grid; gap: 1.25rem; color: rgba(255,255,255,.74); font-size: 1.05rem; }
.about-quote { margin-top: 2rem; padding: 1.5rem 0 0 1.5rem; border-left: 1px solid var(--gold); font: italic 1.5rem/1.45 var(--serif); color: #f1e9da; }

.mission-intro { max-width: 930px; font: 400 clamp(1.8rem, 3.5vw, 3.25rem)/1.24 var(--serif); letter-spacing: -.025em; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid var(--line); }
.pillar { padding: 1.75rem 1.4rem 0 0; }
.pillar + .pillar { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.pillar b { display: block; color: var(--gold-text); font: 500 1.55rem/1 var(--serif); margin-bottom: 2.8rem; }
.pillar p { color: var(--muted); font-size: .92rem; margin-top: .7rem; }

.authors { background: #e8ede5; }
.author-card { display: grid; grid-template-columns: .7fr 1.3fr; border-radius: 1.25rem; overflow: hidden; background: white; box-shadow: var(--shadow); }
.author-monogram { min-height: 390px; display: grid; place-items: center; background: var(--forest); color: #d8c7a4; font: italic clamp(6rem, 14vw, 12rem)/1 var(--serif); }
.author-copy { padding: clamp(2rem, 6vw, 5rem); display: grid; align-content: center; justify-items: start; }
.author-copy p { color: var(--muted); margin: 1rem 0 1.7rem; }
.author-copy .button-row { margin-top: .2rem; }
.verification-copy { padding: 1.1rem 1.25rem; border-left: 2px solid var(--gold); background: rgba(255,255,255,.05); }

.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.soon-card { min-height: 230px; padding: 1.5rem; border-radius: 1rem; background: linear-gradient(145deg, #e9e5da, #f7f4ed); display: flex; flex-direction: column; justify-content: space-between; }
.soon-card span { color: var(--olive); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 7rem); }
.contact-copy h2 { margin: .7rem 0 1.3rem; }
.contact-copy p { color: var(--muted); }
.email-link { display: inline-block; margin: 1.3rem 0 1.8rem; font-weight: 800; text-underline-offset: 4px; overflow-wrap: anywhere; }
.form-card { background: white; padding: clamp(1.5rem, 4vw, 2.7rem); border-radius: 1rem; box-shadow: 0 18px 55px rgba(36,60,47,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; color: var(--forest); font-size: .82rem; font-weight: 800; }
label.full { grid-column: 1 / -1; }
input, textarea { width: 100%; border: 1px solid var(--control-border); border-radius: .55rem; padding: .85rem .9rem; color: var(--ink); background: #fffefb; }
input::placeholder, textarea::placeholder { color: #667169; opacity: 1; }
input:hover, textarea:hover { border-color: var(--forest); }
input:focus-visible, textarea:focus-visible { border-color: var(--forest); }
textarea { resize: vertical; min-height: 130px; }
.form-card .btn { margin-top: 1rem; }
.form-note { margin-top: .8rem; color: var(--muted); font-size: .8rem; }
.form-note a { font-weight: 750; text-underline-offset: 3px; }

.newsletter { background: #192b21; color: white; }
.newsletter-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.newsletter h2 { color: #f2eadb; }
.newsletter p { color: rgba(255,255,255,.68); margin-top: 1rem; }
.newsletter-consent { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: .65rem; padding: .45rem .35rem .25rem; color: #35423a; font-size: .82rem; line-height: 1.5; }
.newsletter-consent input { width: 1.05rem; height: 1.05rem; margin-top: .16rem; accent-color: var(--gold); flex: 0 0 auto; }
.newsletter-consent a { color: #5f4600; text-underline-offset: 3px; }
.subscribe-status { margin: .85rem 0 0; padding: .75rem .9rem; border: 1px solid rgba(255,255,255,.25); border-radius: .55rem; color: #fff !important; background: rgba(255,255,255,.08); }
.subscribe-status.is-error { border-color: #f0b7b7; color: #ffe4e4 !important; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.subscribe .btn:disabled { cursor: wait; opacity: .7; transform: none; }
.subscribe { display: grid; grid-template-columns: .8fr 1.2fr auto; background: white; padding: .5rem; border-radius: .7rem; }
.subscribe input { border: 0; background: white; min-width: 0; }
.subscribe .btn { border-radius: .45rem; }
.subscribe-note { grid-column: 1 / -1; color: rgba(255,255,255,.6); margin-top: .75rem; font-size: .78rem; }

.site-footer { background: #101b15; color: white; padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .7fr; gap: 4rem; }
.site-footer .brand { margin-bottom: 1rem; }
.footer-logo-link {
  display: inline-block; width: min(100%, 12.5rem); margin-bottom: 1.25rem;
  padding: .45rem; border-radius: .7rem; background: #fff; line-height: 0;
}
.footer-logo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: .35rem; }
.footer-brand p { color: rgba(255,255,255,.59); max-width: 24rem; font-family: var(--serif); font-size: 1.15rem; }
.footer-brand p + p { margin-top: .5rem; font: 400 .88rem/1.55 var(--sans); }
.footer-brand a { overflow-wrap: anywhere; }
.footer-col strong { display: block; margin-bottom: .9rem; color: #d6c49c; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; color: rgba(255,255,255,.67); text-decoration: none; margin: .45rem 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col a:active { color: #fff; text-decoration-thickness: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.47); font-size: .78rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .35rem .8rem; align-items: center; }
.footer-legal a { color: rgba(255,255,255,.63); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:active { color: #fff; text-decoration-thickness: 2px; }
.form-consent { margin-top: .75rem; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.form-consent a { font-weight: 750; text-underline-offset: 3px; }

/* Legal pages */
.legal-hero { padding-bottom: 4.5rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.legal-document { max-width: 780px; }
.legal-document > p:first-of-type { font: 400 1.18rem/1.75 var(--serif); color: #46534c; }
.legal-document h2 { margin: 2.7rem 0 .9rem; padding-top: .4rem; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.02em; }
.legal-document p + p { margin-top: .9rem; }
.legal-document ul { margin: .9rem 0 1.2rem; padding-left: 1.3rem; color: var(--muted); }
.legal-document li { margin: .45rem 0; }
.legal-document a { color: var(--forest); font-weight: 750; overflow-wrap: anywhere; }
.legal-updated { display: inline-block; margin-bottom: 2rem; padding: .42rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--olive); font-size: .76rem; font-weight: 750; }
.legal-nav { position: sticky; top: 1.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--cream); }
.legal-nav strong { display: block; margin-bottom: .7rem; color: var(--gold-text); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.legal-nav a { display: block; padding: .45rem 0; border-bottom: 1px solid var(--line); color: var(--forest); font-size: .86rem; text-decoration: none; }
.legal-nav a:last-child { border-bottom: 0; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 50; transform: translate(-50%, 140%); padding: .9rem 1.15rem; color: white; background: var(--forest); border-radius: .6rem; box-shadow: var(--shadow); transition: transform .25s ease; }
.toast.show { transform: translate(-50%, 0); }

/* Consentimiento de cookies */
.newsletter-popup-backdrop[hidden], .newsletter-popup-success[hidden],
.newsletter-popup-form[hidden], .newsletter-popup-fineprint[hidden],
.cookie-banner[hidden], .cookie-panel-backdrop[hidden] { display: none !important; }

/* Newsletter popup */
.newsletter-popup-backdrop {
  position: fixed; inset: 0; z-index: 1050; display: grid; place-items: center; padding: 1rem;
  background: rgba(12, 24, 18, .62); backdrop-filter: blur(3px);
}
body.newsletter-popup-open { overflow: hidden; }
.newsletter-popup {
  position: relative; width: min(550px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: clamp(1.5rem, 5vw, 2.6rem); border: 1px solid rgba(185,150,85,.55); border-radius: 1.15rem;
  color: var(--ink); background: linear-gradient(145deg, #fffdf8 0%, #f5f0e5 100%); box-shadow: 0 28px 80px rgba(9,20,14,.36);
}
.newsletter-popup::before {
  content: ""; display: block; width: 3.5rem; height: 2px; margin-bottom: 1rem; background: var(--gold);
}
.newsletter-popup-close {
  position: absolute; top: .8rem; right: .8rem; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid rgba(36,60,47,.28); border-radius: 50%; color: var(--forest); background: #fff;
  font-size: 1.65rem; line-height: 1; cursor: pointer;
}
.newsletter-popup-close:hover { color: #fff; background: var(--forest); border-color: var(--forest); }
.newsletter-popup-kicker {
  display: block; margin-right: 3rem; color: var(--gold-text); font-size: .72rem; font-weight: 850;
  letter-spacing: .14em; text-transform: uppercase;
}
.newsletter-popup h2 { max-width: 470px; margin-top: .65rem; font-size: clamp(2rem, 6vw, 3.15rem); }
#newsletter-popup-description { margin-top: 1rem; color: #4f5b53; line-height: 1.6; }
.newsletter-popup-form { display: grid; gap: .85rem; margin-top: 1.35rem; }
.newsletter-popup-form > label:not(.newsletter-popup-consent) {
  display: grid; gap: .35rem; color: var(--forest); font-size: .82rem; font-weight: 800;
}
.newsletter-popup-form input[type="text"], .newsletter-popup-form input[type="email"] {
  width: 100%; min-height: 3rem; padding: .72rem .85rem; border: 1px solid var(--control-border);
  border-radius: .55rem; color: var(--ink); background: #fff;
}
.newsletter-popup-consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; color: #4f5b53; font-size: .78rem; line-height: 1.45; }
.newsletter-popup-consent input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; accent-color: var(--forest); }
.newsletter-popup-consent a { color: var(--forest); font-weight: 800; text-underline-offset: 3px; }
.newsletter-popup-form .btn { width: 100%; margin-top: .15rem; }
.newsletter-popup-fineprint { margin-top: .75rem; color: #667169; font-size: .76rem; text-align: center; }
.newsletter-popup-status { margin-top: .9rem; color: var(--forest); font-weight: 750; text-align: center; }
.newsletter-popup-status.is-error { color: #8a1f17; }
.newsletter-popup-success { padding: 1.6rem 0 .4rem; text-align: center; }
.newsletter-popup-success strong { display: block; color: var(--forest); font: 500 2rem/1.2 var(--serif); }
.newsletter-popup-success p { margin-top: .7rem; color: #4f5b53; }

.cookie-banner[hidden], .cookie-panel-backdrop[hidden] { display: none !important; }
.cookie-banner {
  position: fixed; left: 50%; bottom: 1rem; z-index: 1000; transform: translateX(-50%);
  width: min(1120px, calc(100% - 2rem)); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 1.5rem; align-items: center; padding: 1.35rem; border: 1px solid rgba(216,199,164,.55);
  border-radius: 1rem; color: #fff; background: #17291f; box-shadow: 0 22px 70px rgba(10,20,15,.35);
}
.cookie-banner-copy strong { display: block; margin-bottom: .35rem; color: #fff; font: 500 1.35rem/1.2 var(--serif); }
.cookie-banner-copy p { color: rgba(255,255,255,.78); font-size: .88rem; line-height: 1.55; }
.cookie-banner-copy a { color: #f1ddb3; font-weight: 800; text-underline-offset: 3px; }
.cookie-banner-actions, .cookie-panel-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner-actions { justify-content: flex-end; }
.cookie-button {
  min-height: 2.75rem; padding: .66rem .9rem; border: 1px solid #d8c7a4; border-radius: 999px;
  color: #fff; background: transparent; font: 800 .8rem/1.15 var(--sans); cursor: pointer;
}
.cookie-button:hover { color: #17291f; background: #fff; border-color: #fff; }
.cookie-button:active { color: #fff; background: #101b15; }
.cookie-accept, .cookie-save { color: #17291f; background: #d8c7a4; border-color: #d8c7a4; }
.cookie-accept:hover, .cookie-save:hover { color: #101b15; background: #f3e6c9; border-color: #f3e6c9; }
.cookie-reject { color: #fff; border-color: #fff; }
.cookie-configure { color: #f1ddb3; }
.cookie-panel-backdrop {
  position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 1rem;
  background: rgba(11,20,15,.72); overflow-y: auto;
}
body.cookie-panel-open { overflow: hidden; }
.cookie-panel {
  width: min(680px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); background: var(--paper); box-shadow: var(--shadow);
}
.cookie-panel-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.cookie-panel h2 { margin-top: .25rem; font-size: clamp(2rem, 5vw, 3rem); }
.cookie-kicker { color: var(--gold-text); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.cookie-panel-close {
  flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border: 1px solid var(--control-border); border-radius: 50%;
  color: var(--forest); background: #fff; font-size: 1.65rem; line-height: 1; cursor: pointer;
}
#cookie-panel-description { margin: 1rem 0 1.35rem; color: var(--muted); }
.cookie-category {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem; align-items: center;
  padding: 1.15rem 0; border-top: 1px solid var(--line); cursor: pointer;
}
.cookie-category strong { display: block; color: var(--forest); }
.cookie-category p { margin-top: .25rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.cookie-category input { width: 1.35rem; height: 1.35rem; accent-color: var(--forest); cursor: pointer; }
.cookie-always { color: var(--gold-text); font-size: .76rem; font-weight: 850; white-space: nowrap; }
.cookie-marketing-note { padding: 1rem; border-radius: .65rem; color: #4c584f; background: var(--cream); font-size: .84rem; }
.cookie-panel-actions { margin-top: 1.4rem; }
.cookie-panel-actions .cookie-button { color: var(--forest); border-color: var(--forest); }
.cookie-panel-actions .cookie-save { color: #fff; background: var(--forest); }
.cookie-panel-actions .cookie-save:hover { color: #fff; background: #182e23; }
.cookie-policy-link { display: inline-block; margin-top: 1rem; color: var(--forest); font-size: .84rem; font-weight: 800; text-underline-offset: 3px; }
.footer-cookie-button {
  display: block; margin: .45rem 0; padding: 0; border: 0; color: rgba(255,255,255,.67);
  background: transparent; text-align: left; cursor: pointer;
}
.footer-cookie-button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-cookie-button:active { color: #fff; text-decoration-thickness: 2px; }

/* Book detail */
.detail-header { position: relative; background: var(--forest); }
.detail-hero { padding: 9rem 0 6rem; background: var(--forest); color: white; }
.breadcrumbs { font-size: .8rem; color: rgba(255,255,255,.58); margin-bottom: 2rem; }
.breadcrumbs a { color: inherit; }
.detail-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.detail-cover { background: #dce2d5; min-height: 590px; border-radius: 12rem 12rem .8rem .8rem; display: grid; place-items: center; }
.detail-cover .cover { width: min(66%, 310px); }
.detail-copy h1 { font-size: clamp(3rem, 6vw, 6rem); }
.detail-copy .book-subtitle { color: #d7c8a7; }
.detail-copy .lead { color: rgba(255,255,255,.72); font-size: 1.02rem; }
.detail-copy .button-row { margin-top: 1.8rem; }
.detail-hero .eyebrow, .devotional-hero .eyebrow { color: #e3d2af; }
.detail-hero .btn-light { color: #fff; border-color: #d8c7a4; }
.detail-hero .btn-light:hover { color: #fff; background: rgba(255,255,255,.14); border-color: #fff; }
.detail-hero .btn-light:active { color: var(--ink); background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
.benefit { padding: 1.5rem; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.benefit span { color: var(--gold-text); font: 500 2rem/1 var(--serif); }
.benefit h3 { margin: 1.5rem 0 .65rem; }
.benefit p { color: var(--muted); font-size: .93rem; }
.reader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.reader-grid ul { padding-left: 1.15rem; color: var(--muted); }
.reader-grid li { margin: .65rem 0; }
.editorial-info { background: #e7ece3; }
.info-table { border-top: 1px solid var(--line); margin-top: 2rem; }
.info-row { display: grid; grid-template-columns: .6fr 1.4fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-row b { color: var(--olive); }
.empty-review { padding: 3rem; border: 1px dashed rgba(36,60,47,.28); border-radius: 1rem; text-align: center; color: var(--muted); }
.journey-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: 2.5rem; }
.journey-step { padding: 1.3rem 1rem; border-top: 2px solid var(--gold); background: white; box-shadow: 0 12px 30px rgba(29,45,36,.06); }
.journey-step b { display: block; color: var(--gold-text); font: 500 1.5rem/1 var(--serif); }
.journey-step h3 { margin: 1.1rem 0 .45rem; font-size: 1.15rem; }
.journey-step p { color: var(--muted); font-size: .85rem; }
.book-intro { max-width: 760px; }
.book-intro p + p { margin-top: 1rem; }
.book-intro .lead { margin-bottom: 1.4rem; }
.coming-soon-card { padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 1rem; background: white; text-align: center; }
.coming-soon-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.coming-soon-card p { max-width: 650px; margin: 1rem auto 0; color: var(--muted); }

/* Author, directory and contact pages */
.page-hero { padding: 10rem 0 5.5rem; background: var(--forest); color: white; }
.page-hero .eyebrow { color: #d8c7a4; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 6.2rem); }
.page-hero .lead { margin-top: 1.5rem; color: rgba(255,255,255,.72); }
.author-profile { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.portrait-space { min-height: 510px; display: grid; place-items: center; padding: 2rem; text-align: center; border-radius: 14rem 14rem .9rem .9rem; background: #e2e8de; border: 1px solid var(--line); color: var(--olive); }
.portrait-space strong { display: block; font: 500 5rem/1 var(--serif); color: var(--forest); }
.portrait-space span { display: block; margin-top: 1rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-copy { display: grid; gap: 1.25rem; }
.profile-copy h2 { margin-top: 1.5rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.profile-copy p { color: var(--muted); }
.official-email { padding: 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--cream); }
.official-email strong, .official-email a { display: block; }
.official-email a { margin-top: .25rem; font-weight: 800; overflow-wrap: anywhere; }
.published-work { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: 1rem; }
.published-work img { width: 150px; box-shadow: -7px 12px 22px rgba(27,40,31,.18); }
.published-work p { margin: .6rem 0 1rem; }
.profile-links { display: grid; gap: .75rem; }
.profile-status { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.profile-status span { color: var(--muted); text-align: right; }
.directory-card { max-width: 900px; margin-top: 3rem; }
.contact-detail { background: var(--cream); }
.identity-card { padding: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.identity-card h2 { font-size: 2.2rem; margin-bottom: 1.4rem; }
.identity-card p + p { margin-top: .9rem; }
.identity-card a { font-weight: 800; overflow-wrap: anywhere; }

main a:not(.btn):not(.share-button):hover { text-decoration-thickness: 2px; text-underline-offset: 3px; }
main a:not(.btn):not(.share-button):active { text-decoration-thickness: 3px; }

@media (max-width: 900px) {
  .shell { width: min(100% - 2rem, 680px); }
  .menu-toggle { display: block; }
  .nav { align-items: center; }
  .nav-links { display: none; }
  body.mobile-menu-open { overflow: hidden; }
  .mobile-nav-panel {
    position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: auto minmax(0, 1fr);
    color: #fffdf5; background: #13271e; visibility: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-.5rem); transition: opacity .2s ease, transform .24s ease, visibility .24s;
  }
  .mobile-nav-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem;
    padding: .7rem 1rem .7rem max(1rem, env(safe-area-inset-left));
    border-bottom: 1px solid rgba(216,185,99,.36); background: #102219;
  }
  .mobile-nav-brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; color: #fffdf5; text-decoration: none; }
  .mobile-nav-brand img { width: 3rem; height: 3rem; flex: 0 0 3rem; object-fit: contain; padding: .08rem; border-radius: .5rem; background: #fff; }
  .mobile-nav-brand > span { display: grid; font: 500 1.05rem/1.05 var(--serif); letter-spacing: .015em; }
  .mobile-nav-brand small { margin-top: .2rem; font: 700 .62rem/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: #dec98f; }
  .mobile-nav-close {
    width: 3.2rem; height: 3.2rem; flex: 0 0 3.2rem; display: grid; place-items: center; padding: 0;
    border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fffdf5; background: rgba(255,255,255,.04);
    font: 300 2.65rem/1 var(--sans); cursor: pointer;
  }
  .mobile-nav-close:hover, .mobile-nav-close:active { color: #f4d77f; border-color: #d8b963; background: rgba(216,185,99,.1); }
  .mobile-nav-stage { position: relative; min-height: 0; overflow: hidden; }
  .mobile-nav-level {
    position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    padding: .75rem max(1rem, env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: #13271e; visibility: hidden; opacity: 0; transform: translateX(100%);
    transition: transform .24s ease, opacity .18s ease, visibility .24s;
  }
  .mobile-nav-level.is-active { visibility: visible; opacity: 1; transform: translateX(0); }
  .mobile-nav-level.is-before { visibility: hidden; opacity: 0; transform: translateX(-24%); }
  .mobile-nav-list { display: grid; }
  .mobile-nav-link {
    width: 100%; min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem .35rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); border-radius: 0;
    color: #fffdf5; background: transparent; font: 700 1.08rem/1.35 var(--sans); text-align: left; text-decoration: none; cursor: pointer;
  }
  .mobile-nav-link:hover, .mobile-nav-link:active { color: #f4d77f; background: rgba(255,255,255,.035); }
  .mobile-nav-link.is-active, .mobile-nav-forward.is-active { color: #f4d77f; border-bottom-color: rgba(216,185,99,.72); }
  .mobile-nav-books { color: #f4d77f; }
  .mobile-nav-arrow { flex: 0 0 auto; color: #d8b963; font: 300 2rem/1 var(--sans); }
  .mobile-nav-institutional { margin-top: 1.9rem; padding-top: .65rem; border-top: 1px solid rgba(216,185,99,.4); }
  .mobile-nav-institutional .mobile-nav-link { min-height: 3.35rem; padding-block: .78rem; color: rgba(255,253,245,.82); font-size: .94rem; font-weight: 650; }
  .mobile-nav-section-label { padding: .8rem .35rem .35rem; color: #d8b963; font-size: .7rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
  .mobile-nav-back {
    min-height: 3rem; display: inline-flex; align-items: center; gap: .55rem; margin: .1rem 0 .85rem; padding: .5rem .35rem;
    border: 0; color: #ecd696; background: transparent; font-weight: 800; cursor: pointer;
  }
  .mobile-nav-back span { font-size: 1.9rem; line-height: .7; }
  .mobile-nav-level h2 { margin: 0 0 .8rem; color: #fffdf5; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.025em; }
  .mobile-nav-future { cursor: default; color: rgba(255,253,245,.67); }
  .mobile-nav-future:hover { color: rgba(255,253,245,.67); background: transparent; }
  .mobile-nav-future small { flex: 0 0 auto; color: #d8b963; font-size: .61rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
  .mobile-nav-discover { margin-top: 1.75rem; padding-top: .7rem; border-top: 1px solid rgba(216,185,99,.4); }
  .content-nav { inset: 4.8rem 0 auto; }
  .content-nav-scroll {
    width: 100%; max-width: none; justify-content: flex-start; gap: .05rem; min-height: 2.72rem;
    overflow-x: auto; overflow-y: hidden; padding: 0 .85rem; white-space: nowrap;
    scrollbar-width: none; overscroll-behavior-inline: contain; scroll-snap-type: x proximity;
  }
  .content-nav-scroll::-webkit-scrollbar { display: none; }
  .content-nav-link, .content-dropdown > summary { min-height: 2.35rem; padding: .5rem .62rem; font-size: .76rem; scroll-snap-align: start; }
  .content-dropdown { position: static; }
  .content-dropdown-panel {
    position: fixed; top: 7.65rem; right: .8rem; left: .8rem; width: auto; max-height: calc(100vh - 8.5rem);
    overflow-y: auto; padding: .65rem; border-radius: .75rem;
  }
  .content-dropdown-panel > a, .content-dropdown-panel > .nav-menu-group > a, .content-dropdown-panel > .nav-menu-group > .nav-future, .content-dropdown-panel > .nav-future { min-height: 2.7rem; padding: .62rem .7rem; font-size: .84rem; white-space: normal; }
  .home-hero, .home-hero-grid { min-height: 0; }
  .home-hero-grid {
    grid-template-columns: 1fr; grid-template-areas: "copy" "actions" "showcase"; grid-template-rows: auto;
    gap: 1.7rem; padding-top: 10.5rem; padding-bottom: 4.5rem;
  }
  .home-hero-copy { align-self: auto; max-width: 670px; }
  .home-hero h1 { max-width: 700px; font-size: clamp(3.4rem, 9vw, 5.6rem); }
  .home-hero-areas {
    width: min(100%, 820px); min-height: 720px; margin: .85rem auto 0;
    grid-template-columns: minmax(0, 1.08fr) minmax(230px, .92fr);
  }
  .home-feature-books { min-height: 720px; }
  .home-hero-actions { justify-content: flex-start; }
  .home-faith-strip .shell { justify-content: flex-start; }
  .home-section-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .home-books-grid { grid-template-columns: 1fr; }
  .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-discover { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-discover-intro { grid-column: 1 / -1; }
  .home-daily-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-pathway-grid { grid-template-columns: 1fr; }
  .home-pathway-card { min-height: 300px; }
  .home-author-feature { grid-template-columns: 1fr; }
  .home-author-mark { min-height: 300px; }
  .hero { min-height: 700px; background-position: 62% center; }
  .hero-content { padding-top: 10.5rem; }
  .section-head, .featured-grid, .about-grid, .author-card, .contact-grid, .newsletter-grid, .detail-grid, .reader-grid, .author-profile { grid-template-columns: 1fr; }
  .devotional-latest-card, .devotional-hero-grid, .devotional-layout { grid-template-columns: 1fr; }
  .morning-grid { grid-template-columns: 1fr; }
  .night-grid { grid-template-columns: 1fr; }
  .promise-latest { grid-template-columns: 1fr; }
  .promise-latest .promise-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .promise-grid { grid-template-columns: 1fr; }
  .section-cover-hero .shell { grid-template-columns: 1fr; }
  .section-cover-visual { width: min(100%, 760px); }
  .devotional-latest-media { min-height: 390px; }
  .devotional-hero figure, .devotional-hero figure img { min-height: 400px; }
  .section-head { gap: 1.2rem; }
  .featured-grid, .about-grid, .contact-grid, .newsletter-grid, .detail-grid { gap: 3rem; }
  .book-stage { min-height: 500px; }
  .catalog-grid, .soon-grid { grid-template-columns: 1fr; }
  .future-card { min-height: 250px; }
  .future-card h3 { margin-top: 2rem; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .author-monogram { min-height: 280px; }
  .portrait-space { min-height: 390px; max-width: 420px; width: 100%; }
  .subscribe { grid-template-columns: 1fr; background: transparent; padding: 0; gap: .7rem; }
  .subscribe input { border-radius: .55rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .detail-cover { min-height: 500px; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; order: -1; }
  .share-native:not([hidden]) { display: inline-flex; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: flex-start; }
}

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

@media (max-width: 560px) {
  .site-header { padding: .85rem 0; }
  .brand { gap: .65rem; }
  .brand-mark { width: 2.65rem; height: 2.65rem; flex-basis: 2.65rem; }
  .brand-name { font-size: .96rem; }
  .content-nav { inset: 4.45rem 0 auto; }
  .content-dropdown-panel { top: 7.2rem; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.6rem); }
  h2 { font-size: 2.65rem; }
  .section { padding: 4.5rem 0; }
  .home-hero-grid { padding-top: 9rem; padding-bottom: 3.5rem; }
  .home-hero-copy { overflow: hidden; border-radius: 1rem; }
  .home-hero-banner {
    width: 158%; max-width: none; margin-left: 50%; transform: translateX(-50%);
    border-radius: 0;
  }
  .home-kicker { font-size: .68rem; letter-spacing: .14em; }
  .home-hero h1 { font-size: clamp(2.9rem, 14vw, 4.25rem); }
  .home-hero-copy p { font-size: 1rem; }
  .home-hero-areas {
    min-height: 0; margin-top: .25rem; gap: .7rem;
    grid-template-columns: 1fr;
    grid-template-rows: 340px 230px 230px 230px;
  }
  .home-feature-books { grid-column: 1 / -1; grid-row: 1; min-height: 340px; }
  .home-feature-devotional { grid-column: 1 / -1; grid-row: 2; }
  .home-feature-morning { grid-column: 1 / -1; grid-row: 3; }
  .home-feature-promise { grid-column: 1 / -1; grid-row: 4; }
  .home-feature-books .home-feature-covers { inset: 1% 4% 28%; }
  .home-feature-books .home-feature-cover-primary { height: 92%; }
  .home-feature-books .home-feature-cover-secondary { height: 84%; }
  .home-feature-books .home-feature-copy { padding: 1rem 1.05rem; }
  .home-feature-books .home-feature-copy strong { max-width: 17rem; font-size: 1.38rem; }
  .home-feature-books .home-feature-copy small { font-size: .72rem; }
  .home-feature-copy { gap: .28rem; padding: .8rem; }
  .home-feature-label { font-size: .63rem; }
  .home-feature-copy strong { font-size: .96rem; }
  .home-feature-copy small { font-size: .7rem; }
  .home-feature-cta { font-size: .66rem; }
  .home-hero-actions { justify-content: stretch; }
  .home-hero-actions .btn { width: 100%; }
  .home-faith-strip .shell { min-height: 3.6rem; padding-inline: 1rem; }
  .home-faith-strip span { font-size: .68rem; }
  .home-section-heading { margin-bottom: 2.25rem; }
  .home-section-heading h2 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .home-book-card { grid-template-columns: 1fr; }
  .home-book-card-media { min-height: 340px; }
  .home-book-card-media img { width: min(54%, 185px); }
  .home-book-card-copy { padding: 1.5rem; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-category-card { min-height: 125px; padding: 1rem; font-size: .9rem; }
  .home-discover { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .home-discover-intro { grid-column: auto; }
  .home-discover-card { min-height: 155px; }
  .home-daily-grid { grid-template-columns: 1fr; }
  .home-daily-card { min-height: 235px; }
  .home-daily-card h3 { margin-top: 1.5rem; }
  .home-pathway-card { min-height: 320px; }
  .home-author-mark { min-height: 250px; }
  .home-author-copy { padding: 1.6rem; }
  .home-author-copy h2 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .hero { min-height: 720px; }
  .hero .lead { font-size: 1rem; }
  .button-row .btn { width: 100%; }
  .hero-note { margin-top: 2.8rem; }
  .book-stage, .detail-cover { min-height: 430px; }
  .cover { width: min(60%, 235px); }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; padding-left: 0; }
  .pillar b { margin-bottom: 1.4rem; }
  .form-grid, .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-logo-link { width: 11.5rem; }
  .footer-bottom { flex-direction: column; }
  .detail-copy h1 { font-size: 3.1rem; }
  .empty-review { padding: 2rem 1rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .published-work { grid-template-columns: 95px 1fr; align-items: start; }
  .published-work img { width: 95px; }
  .profile-status { display: grid; }
  .profile-status span { text-align: left; }
  .devotional-grid, .devotional-pagination { grid-template-columns: 1fr; }
  .devotional-card { border-radius: .9rem; }
  .devotional-card-body { padding: 1.2rem; }
  .devotional-card h2 { font-size: clamp(1.55rem, 7vw, 1.85rem); }
  .devotional-card .topic-list { display: none; }
  .devotional-pagination a:last-child { text-align: left; }
  .book-promo { grid-template-columns: 75px 1fr; }
  .book-promo img { width: 75px; }
  .devotional-body { font-size: 1rem; }
  .promise-post { padding-top: 7.6rem; }
  .promise-content { font-size: 1rem; }
  .share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-button { width: 100%; padding-inline: .7rem; }
  .share-native { grid-column: 1 / -1; }
  .morning-post { padding-top: 7.75rem; }
  .morning-featured { margin-top: 1.25rem; border-radius: .75rem; }
  .morning-message { margin-top: 2rem; font-size: 1rem; }
  .morning-message blockquote { padding: 1.15rem 1.2rem; }
  .night-post { padding-top: 7.75rem; }
  .night-featured { margin-top: 1.25rem; border-radius: .75rem; }
  .night-message { margin-top: 2rem; font-size: 1rem; }
  .night-message blockquote { padding: 1.15rem 1.2rem; }
  .newsletter-popup-backdrop { padding: .5rem; align-items: end; }
  .newsletter-popup { max-height: calc(100vh - 1rem); padding: 1.35rem 1.1rem 1.2rem; border-radius: 1rem 1rem .55rem .55rem; }
  .newsletter-popup::before { margin-bottom: .8rem; }
  .newsletter-popup h2 { padding-right: 1.8rem; font-size: clamp(1.8rem, 9vw, 2.35rem); }
  #newsletter-popup-description { font-size: .92rem; line-height: 1.5; }
  .newsletter-popup-form { gap: .7rem; margin-top: 1rem; }
  .newsletter-popup-form input[type="text"], .newsletter-popup-form input[type="email"] { min-height: 2.85rem; }
  .cookie-banner { bottom: .5rem; width: calc(100% - 1rem); padding: 1rem; gap: 1rem; }
  .cookie-banner-copy strong { font-size: 1.2rem; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .cookie-panel-backdrop { padding: .5rem; align-items: end; }
  .cookie-panel { max-height: calc(100vh - 1rem); border-radius: 1rem 1rem .5rem .5rem; }
  .cookie-category { gap: .8rem; }
  .cookie-panel-actions { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .home-hero-areas {
    grid-template-columns: 1fr;
    grid-template-rows: 315px 210px 210px 210px;
  }
  .home-feature-books { grid-column: 1; grid-row: 1; min-height: 315px; }
  .home-feature-devotional { grid-column: 1; grid-row: 2; }
  .home-feature-morning { grid-column: 1; grid-row: 3; }
  .home-feature-promise { grid-column: 1; grid-row: 4; }
  .home-feature-books .home-feature-covers { inset: 1% 4% 29%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Editorial-first storefront */
.home-hero-editorial { min-height: 0; }
.home-hero-grid-editorial { min-height: 0; grid-template-areas: "banner" "copy"; gap: 1.75rem; padding-top: 8.75rem; padding-bottom: 4.5rem; }
.home-hero-copy-editorial { max-width: 48rem; margin-inline: auto; text-align: center; }
.home-hero-copy-editorial .home-kicker { justify-content: center; }
.home-hero-copy-editorial h1 { margin-inline: auto; font-size: clamp(2.45rem, 4.7vw, 4.7rem); letter-spacing: -.045em; }
.home-hero-copy-editorial p { margin-inline: auto; }
.home-hero-banner-wrap { grid-area: banner; width: min(100%, 1120px); margin-inline: auto; }
.home-hero-banner-wrap .home-hero-banner { aspect-ratio: 16 / 9; }
.home-category-card { text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-category-card:hover { transform: translateY(-3px); border-color: rgba(185,150,85,.7); box-shadow: 0 15px 30px rgba(29,45,36,.1); }
.home-selections { color: #fff; background: #13271e; }
.home-selections .eyebrow { color: #e2ca89; }
.home-selection-feature { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: end; }
.home-selection-feature h2 { margin: .7rem 0 1rem; }
.home-selection-feature p { max-width: 44rem; color: rgba(255,255,255,.72); }
.home-selection-feature .btn { margin-top: 1.5rem; color: #fff; border-color: rgba(255,255,255,.48); }
.home-selection-note { display: grid; gap: .75rem; padding: 1.6rem; border: 1px solid rgba(216,185,99,.35); border-radius: 1rem; color: #f5e4b4; background: rgba(255,255,255,.05); }
.home-selection-note strong { font: 500 1.35rem/1.2 var(--serif); }
.home-selection-note span { color: rgba(255,255,255,.7); }
.home-guides { background: #f4efe3; }
.home-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-guide-grid article { min-height: 220px; display: grid; align-content: end; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.home-guide-grid span { margin-bottom: auto; color: var(--gold-text); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.home-guide-grid h3 { color: var(--forest); font-size: 1.55rem; }
.books-category-section { background: #e9eee7; }
@media (max-width: 900px) {
  .home-selection-feature { grid-template-columns: 1fr; }
  .home-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .home-hero-grid-editorial { padding-top: 7.9rem; padding-bottom: 3.25rem; }
  .home-hero-copy-editorial { overflow: visible; }
  .home-hero-copy-editorial h1 { font-size: clamp(2.25rem, 10.2vw, 3.4rem); }
  .home-hero-banner-wrap { overflow: hidden; border-radius: .8rem; }
  .home-hero-banner-wrap .home-hero-banner { width: 170%; max-width: none; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
  .home-guide-grid article { min-height: 170px; }
}
