:root {
  --navy-950: #061522;
  --navy-900: #081d30;
  --navy-800: #10324d;
  --gold-500: #c99c4b;
  --gold-400: #dbb66c;
  --cream-100: #f8f2e7;
  --cream-50: #fcfaf5;
  --paper: #fffdfa;
  --ink: #13212d;
  --muted: #62707a;
  --line: #ddd5c8;
  --white: #ffffff;
  --success: #315b46;
  --shadow: 0 18px 50px rgba(7, 26, 43, 0.12);
  --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(--cream-50);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  border-radius: .3rem;
  background: var(--white);
  color: var(--navy-950);
}
.skip-link:focus { transform: translateY(0); }

.preview-bar {
  display: flex;
  justify-content: center;
  padding: .55rem 1rem;
  color: var(--cream-100);
  background: var(--navy-950);
  font-size: .78rem;
  letter-spacing: .025em;
  text-align: center;
}

.scripture-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 12vw, 11rem);
  color: var(--cream-100);
  background: var(--navy-950);
  text-align: center;
}
.scripture-feature::before,
.scripture-feature::after {
  position: absolute;
  width: 9rem;
  height: 1px;
  top: 50%;
  background: rgba(219, 182, 108, .45);
  content: "";
}
.scripture-feature::before { left: -2rem; }
.scripture-feature::after { right: -2rem; }
.scripture-mark {
  display: block;
  height: 2.5rem;
  color: var(--gold-400);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
}
.scripture-feature blockquote { max-width: 930px; margin: 1rem auto 1.6rem; }
.scripture-feature blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 2.05rem); line-height: 1.48; }
.scripture-feature blockquote p + p { margin-top: 1rem; }
.scripture-feature cite { color: var(--gold-400); font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.scripture-feature cite a { text-underline-offset: .25rem; }

.revelation-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: end;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 8vw, 9rem);
  color: var(--cream-100);
  background:
    radial-gradient(circle at 84% 12%, rgba(201, 156, 75, .25), transparent 25%),
    linear-gradient(135deg, #0d314c 0%, var(--navy-950) 68%);
}
.revelation-callout h2, .revelation-hero h1, .study-intro h2, .study-method h2, .revelation-library h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}
.revelation-callout h2 { font-size: clamp(3rem, 6vw, 5.4rem); }
.revelation-callout > div:first-child > p:not(.eyebrow) { max-width: 720px; margin: 1rem 0 0; color: #d9e0e3; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.revelation-callout-actions { display: grid; gap: .85rem; min-width: min(100%, 260px); }
.revelation-callout-actions > span { color: #c9d2d8; font-size: .78rem; text-align: center; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: 84px;
  padding: .8rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(16, 50, 77, .12);
  background: rgba(252, 250, 245, .94);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  width: fit-content;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--navy-950), inset 0 0 0 4px rgba(219, 182, 108, .52);
  color: var(--gold-400);
  background: var(--navy-950);
  font-family: var(--serif);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .025em;
}
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-family: var(--serif); font-size: 1.02rem; }
.brand-copy small {
  margin-top: .3rem;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.desktop-nav a {
  position: relative;
  padding: .6rem 0;
  color: #283946;
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: .3rem;
  left: 0;
  height: 1px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.cart-button {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: .48rem;
  min-height: 46px;
  padding: .55rem .8rem;
  border: 1px solid var(--navy-800);
  border-radius: 999px;
  color: var(--navy-950);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.cart-button svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cart-count {
  display: grid;
  min-width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  color: var(--cream-50);
  background: var(--navy-950);
  font-size: .75rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: 690px;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 6vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 156, 75, .14), transparent 28%),
    linear-gradient(135deg, #fcfaf5 0%, #f5ede0 100%);
}
.hero-copy { max-width: 650px; }
.eyebrow {
  margin: 0 0 .8rem;
  color: #9b6e24;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero h1, .section-heading h2, .mission-section h2, .drawer-header h2, dialog h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--serif);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(3.4rem, 7vw, 6.7rem); }
.hero h1 em { color: #9b6e24; font-weight: 400; }
.hero-lede {
  max-width: 590px;
  margin: 1.6rem 0 0;
  color: #40515d;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: .78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--navy-950); background: var(--gold-400); box-shadow: 0 10px 24px rgba(142, 97, 29, .18); }
.button-gold:hover { background: #e4c17b; }
.button-navy { color: var(--cream-50); background: var(--navy-950); }
.text-link { color: var(--navy-950); font-weight: 800; text-decoration-color: var(--gold-500); text-underline-offset: .35rem; }
.promise-row { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 2.4rem; color: #52616b; font-size: .78rem; font-weight: 700; }
.promise-row span { display: inline-flex; align-items: center; gap: .35rem; }
.promise-row svg { width: 1rem; fill: none; stroke: #9b6e24; stroke-width: 2; }

.hero-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 1fr .72fr;
  gap: 1rem;
  min-height: 535px;
  transform: rotate(1deg);
}
.hero-card, .verse-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 43, .14);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.hero-card-large { grid-row: 1 / span 2; }
.hero-card img { height: 100%; object-fit: cover; }
.hero-card figcaption {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  left: .75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .9rem;
  color: var(--cream-50);
  background: rgba(6, 21, 34, .9);
  font-size: .78rem;
}
.verse-card { display: flex; flex-direction: column; justify-content: center; padding: 1.6rem; color: var(--cream-100); background: var(--navy-950); }
.verse-mark { height: 2.2rem; color: var(--gold-400); font-family: var(--serif); font-size: 4rem; line-height: 1; }
.verse-card blockquote { margin: .5rem 0 .85rem; font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; }
.verse-card cite { color: var(--gold-400); font-size: .7rem; font-style: normal; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.automation-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  color: var(--cream-100);
  background: var(--navy-950);
}
.automation-strip > div { display: flex; align-items: center; gap: .75rem; }
.automation-strip p { margin: 0; color: #cbd3d8; font-size: .78rem; line-height: 1.45; }
.automation-strip strong { color: var(--white); font-size: .82rem; }
.step-number { color: var(--gold-400); font-family: var(--serif); font-size: 1.25rem; }
.step-arrow { color: rgba(219, 182, 108, .55); }

.shop-section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 2.2rem; }
.section-heading h2, .mission-section h2 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1.05; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); }

.filter-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2.4rem; }
.filter {
  min-height: 44px;
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #43535e;
  background: transparent;
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
}
.filter.active, .filter:hover { border-color: var(--navy-950); color: var(--cream-50); background: var(--navy-950); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card[hidden] { display: none; }
.product-visual { position: relative; display: flex; width: 100%; min-height: 390px; padding: 0; overflow: hidden; border: 0; text-align: left; cursor: pointer; }
.image-visual img { width: 100%; height: 390px; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .image-visual img { transform: scale(1.025); }
.made-badge { position: absolute; top: .8rem; left: .8rem; padding: .35rem .55rem; color: var(--cream-50); background: rgba(6, 21, 34, .9); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.digital-visual { flex-direction: column; justify-content: center; align-items: center; padding: 3rem; text-align: center; }
.navy-cover { color: var(--cream-100); background: radial-gradient(circle at 20% 20%, #1c4b6e, transparent 35%), var(--navy-950); }
.cream-cover { color: var(--navy-950); background: radial-gradient(circle at 80% 10%, rgba(201, 156, 75, .25), transparent 32%), #eee3d1; }
.gold-cover { color: var(--navy-950); background: linear-gradient(145deg, #d6a955, #f1d89f 56%, #bd8735); }
.cover-kicker, .cover-footer { font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cover-title { margin: 1.2rem 0 .7rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.02; letter-spacing: -.03em; }
.cover-subtitle { font-family: var(--serif); font-size: .95rem; font-style: italic; }
.cover-rule { width: 3rem; height: 1px; margin: 1.35rem 0; background: currentColor; opacity: .55; }

.product-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.3rem 1.35rem; }
.product-meta { display: flex; justify-content: space-between; gap: .75rem; color: #8a672d; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-body h3 { margin: .65rem 0 .45rem; color: var(--navy-950); font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.product-body > p { margin: 0 0 1.4rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.product-preview { margin: 0 0 1.2rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.product-preview summary { color: var(--navy-950); font-weight: 700; cursor: pointer; }
.product-preview[open] { margin-top: .15rem; }
.sample-page { margin-top: .75rem; padding: 1rem 1rem .95rem; border: 1px solid #e7ddcb; border-left: 3px solid var(--gold-500); background: #faf7f0; }
.sample-kicker { color: #8a672d; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sample-page h4 { margin: .38rem 0 .55rem; color: var(--navy-950); font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; }
.sample-page p { margin: .5rem 0 0; font-size: .81rem; line-height: 1.58; }
.sample-page .sample-question { padding-top: .55rem; border-top: 1px solid #e7ddcb; color: var(--navy-800); }
.product-buy { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto; }
.product-buy > strong { color: var(--navy-950); font-family: var(--serif); font-size: 1.25rem; }
.product-actions { display: flex; gap: .45rem; }
.add-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid var(--navy-950);
  border-radius: .18rem;
  color: var(--navy-950);
  background: transparent;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.add-button:hover { color: var(--cream-50); background: var(--navy-950); }
.preview-button { border-color: var(--gold-500); color: #76551e; }
.free-visual { flex-direction: column; justify-content: center; align-items: center; gap: 1rem; color: var(--gold-400); background: var(--navy-950); }
.geneva-cover-card { position: relative; display: grid; overflow: hidden; padding: .7rem; place-items: center; background: radial-gradient(ellipse at 50% 46%, #24445a, var(--navy-950) 72%); }
.geneva-cover-card img { width: min(100%, 13rem); height: 100%; max-height: 19rem; border: 3px solid rgba(219, 182, 108, .72); object-fit: cover; object-position: center 42%; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.geneva-cover-card span { position: absolute; right: .85rem; bottom: .85rem; left: .85rem; padding: .45rem .6rem; color: var(--cream-100); background: rgba(6, 21, 34, .9); font-family: var(--serif); font-size: .94rem; text-align: center; }
.free-visual.alternate { color: var(--navy-950); background: #dac9aa; }
.free-visual.plan-visual { color: var(--navy-950); background: #f2dfb7; }
.free-visual.modern-geneva-visual {
  color: var(--cream-100);
  background:
    linear-gradient(rgba(6, 21, 34, .9), rgba(6, 21, 34, .9)),
    repeating-linear-gradient(90deg, transparent 0 25px, rgba(219, 182, 108, .18) 25px 26px),
    var(--navy-800);
}
.edition-year { color: var(--gold-400); font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem) !important; line-height: .85; letter-spacing: -.06em; }
.free-visual svg { width: 5.3rem; fill: none; stroke: currentColor; stroke-width: 1.2; }
.free-visual span { font-family: var(--serif); font-size: 1.2rem; }

.global-mission-section {
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem);
  color: var(--cream-100);
  background:
    radial-gradient(circle at 92% 5%, rgba(201, 156, 75, .18), transparent 25%),
    var(--navy-900);
}
.global-mission-intro { max-width: 850px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.global-mission-intro .eyebrow, .mission-card-label { color: var(--gold-400); }
.global-mission-intro h2 { max-width: 800px; margin: .5rem 0 1.2rem; color: var(--cream-100); font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.035em; }
.global-mission-intro > p:not(.eyebrow) { max-width: 760px; margin: 0 0 1.75rem; color: #d3dce1; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.65; }
.global-mission-verse { max-width: 970px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: 1.35rem 1.6rem; border-left: 3px solid var(--gold-400); background: rgba(255, 255, 255, .045); }
.global-mission-verse blockquote { margin: 0; }
.global-mission-verse blockquote p { margin: 0; color: var(--cream-100); font-family: var(--serif); font-size: clamp(1.25rem, 2.3vw, 1.65rem); line-height: 1.5; }
.global-mission-verse figcaption { margin-top: .8rem; color: #bac7cf; font-size: .9rem; line-height: 1.5; }
.global-mission-verse cite { color: var(--gold-400); font-style: normal; font-weight: 750; }
.global-mission-verse a { color: var(--cream-100); text-underline-offset: .2em; }
.global-mission-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.global-mission-card { display: flex; min-height: 290px; flex-direction: column; align-items: flex-start; padding: clamp(1.3rem, 2.2vw, 2rem); border: 1px solid rgba(219, 182, 108, .34); background: rgba(255, 255, 255, .035); }
.global-mission-card .mission-card-label { margin: 0 0 .85rem; font-size: .82rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.global-mission-card h3 { margin: 0 0 .75rem; color: var(--cream-100); font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; }
.global-mission-card > p:not(.mission-card-label) { margin: 0 0 1.35rem; color: #c9d2d8; line-height: 1.6; }
.global-mission-card a { margin-top: auto; color: var(--gold-400); font-weight: 700; text-underline-offset: .25em; }
.global-mission-card a:hover { color: var(--cream-100); }
.mission-reference-note { max-width: 1000px; margin: 2rem 0 0; padding-top: 1.15rem; border-top: 1px solid rgba(219, 182, 108, .26); color: #bac7cf; font-size: .9rem; line-height: 1.55; }
.mission-reference-note strong { color: var(--cream-100); }

.mission-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem);
  color: var(--cream-100);
  background: var(--navy-950);
}
.mission-section h2 { color: var(--cream-100); }
.mission-copy { max-width: 590px; align-self: end; }
.mission-copy p { margin: 0 0 1.5rem; color: #c9d2d8; font-family: var(--serif); font-size: 1.2rem; line-height: 1.65; }
.light-link { color: var(--gold-400); }

/* Revelation Atlas */
.revelation-page { background: #f4ede1; }
.revelation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .72fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: center;
  min-height: 560px;
  padding: clamp(4rem, 10vw, 9rem) clamp(1.25rem, 10vw, 11rem);
  color: var(--cream-100);
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 156, 75, .28), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(36, 92, 127, .55), transparent 36%),
    var(--navy-950);
}
.revelation-hero h1 { max-width: 800px; color: var(--cream-100); font-size: clamp(3.5rem, 8vw, 7rem); }
.revelation-lede { max-width: 700px; margin: 1.5rem 0 0; color: #d6dee2; font-family: var(--serif); font-size: clamp(1.16rem, 2vw, 1.5rem); line-height: 1.6; }
.button-outline-light { border-color: rgba(219, 182, 108, .8); color: var(--cream-100); background: transparent; }
.button-outline-light:hover { background: rgba(255, 255, 255, .08); }
.revelation-principle { padding: clamp(1.5rem, 3vw, 2.6rem); border: 1px solid rgba(219, 182, 108, .5); background: rgba(3, 16, 27, .46); box-shadow: 0 20px 55px rgba(0, 0, 0, .18); }
.revelation-principle > p { margin: .9rem 0 1.2rem; color: var(--cream-100); font-family: var(--serif); font-size: 1.36rem; line-height: 1.45; }
.revelation-principle > span:last-child { display: block; color: var(--gold-400); font-size: .74rem; font-weight: 800; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.study-intro, .study-method, .revelation-library { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(1.5rem, 8vw, 9rem); padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 10vw, 11rem); }
.study-intro { align-items: end; background: var(--cream-50); }
.study-intro h2, .study-method h2, .revelation-library h2 { color: var(--navy-950); font-size: clamp(2.7rem, 5.4vw, 5.1rem); }
.study-intro > p { max-width: 620px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 1.17rem; }
.study-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.study-card { min-height: 360px; padding: clamp(1.5rem, 4vw, 3.2rem) clamp(1.25rem, 6vw, 5rem); background: var(--paper); }
.study-card.featured-study { color: var(--cream-100); background: var(--navy-950); }
.study-number { display: block; color: var(--gold-500); font-family: var(--serif); font-size: 2.5rem; line-height: 1; }
.study-card .eyebrow { margin-top: 1.4rem; }
.study-card h3 { max-width: 550px; margin: .45rem 0 .9rem; color: var(--navy-950); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
.featured-study h3 { color: var(--cream-100); }
.study-card > p:not(.eyebrow) { max-width: 640px; margin: 0 0 1.3rem; color: var(--muted); font-size: .95rem; }
.featured-study > p:not(.eyebrow) { color: #c9d2d8; }
.study-card ul { display: grid; gap: .45rem; margin: 0 0 1.55rem; padding: 0; list-style: none; color: #c9d2d8; font-size: .84rem; }
.study-card li { padding-left: 1.2rem; position: relative; }
.study-card li::before { position: absolute; left: 0; color: var(--gold-400); content: "◆"; font-size: .58rem; top: .25rem; }
.featured-study .text-link { color: var(--gold-400); }
.study-method { align-items: start; background: #e8dbc4; }
.study-method ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(7, 26, 43, .2); }
.study-method li { padding: 1.1rem 0 1.1rem 2.7rem; border-bottom: 1px solid rgba(7, 26, 43, .2); color: #40515d; position: relative; }
.study-method li::before { position: absolute; left: 0; top: 1.05rem; color: #9b6e24; content: counter(list-item, decimal-leading-zero); font-family: var(--serif); font-size: 1.1rem; }
.revelation-library { align-items: start; color: var(--cream-100); background: var(--navy-950); }
.revelation-library h2 { color: var(--cream-100); }
.resource-links { display: grid; border-top: 1px solid rgba(219, 182, 108, .42); }
.resource-links a { display: grid; gap: .18rem; padding: 1rem 0; border-bottom: 1px solid rgba(219, 182, 108, .42); color: var(--cream-100); text-decoration: none; }
.resource-links a:hover strong, .resource-links a:focus-visible strong { color: var(--gold-400); }
.resource-links strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; transition: color .18s ease; }
.resource-links span { color: #c9d2d8; font-size: .84rem; }

.reading-plan-preview {
  margin-top: 2.5rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: 0 18px 50px rgba(7, 26, 43, .08);
}
.plan-preview-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.4rem; }
.plan-preview-heading h3 { margin: .25rem 0 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.plan-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan-preview-grid article { padding: 1.35rem; background: var(--paper); }
.plan-day { color: var(--gold-700); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan-preview-grid h4 { margin: .45rem 0 .65rem; color: var(--navy-950); font-family: var(--serif); font-size: 1.3rem; }
.plan-preview-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.plan-preview-grid .plan-lesson { margin-top: .9rem; padding: .75rem .8rem; border-left: 3px solid var(--gold-500); color: var(--navy-800); background: #f6efe3; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem clamp(1.25rem, 6vw, 7rem);
  color: #9eacb6;
  background: #04101a;
  font-size: .72rem;
}
.site-footer > strong { color: var(--cream-100); font-family: var(--serif); font-size: 1rem; }
.site-footer p { max-width: 520px; margin: 0; text-align: right; }

.scrim { position: fixed; z-index: 90; inset: 0; background: rgba(2, 12, 20, .64); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  height: 100dvh;
  padding: 1.4rem;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .2);
  transform: translateX(105%);
  transition: transform .25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 2rem; }
.icon-button, .dialog-close { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-950); background: transparent; font-size: 1.8rem; cursor: pointer; }
.cart-items { display: grid; gap: .9rem; overflow-y: auto; padding: 1.2rem 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.cart-item h3 { margin: 0; font-family: var(--serif); font-size: 1rem; }
.cart-item p { margin: 0; color: var(--muted); font-size: .72rem; }
.cart-item strong { grid-column: 2; grid-row: 1; }
.remove-item { width: fit-content; padding: 0; border: 0; color: #8a4b41; background: transparent; font-size: .72rem; text-decoration: underline; cursor: pointer; }
.cart-empty { margin: auto; padding: 2rem; color: var(--muted); text-align: center; }
.cart-empty > span { color: var(--gold-500); font-size: 2.8rem; }
.cart-empty h3 { margin: .4rem 0; color: var(--navy-950); font-family: var(--serif); font-size: 1.5rem; }
.cart-empty p { margin: 0; }
.cart-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.subtotal-row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.cart-footer > p { margin: .4rem 0 1rem; color: var(--muted); font-size: .72rem; }
.checkout-button { width: 100%; }

dialog { width: min(760px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; overflow: auto; border: 0; background: var(--paper); box-shadow: 0 24px 80px rgba(0, 0, 0, .3); }
dialog::backdrop { background: rgba(2, 12, 20, .7); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; z-index: 2; top: .8rem; right: .8rem; background: rgba(255, 253, 250, .94); }
.dialog-product { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.dialog-product img { height: 100%; min-height: 540px; object-fit: cover; }
.dialog-product > .digital-visual { display: flex; min-height: 540px; }
.dialog-info { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.dialog-info h2 { margin: .35rem 0 .8rem; font-size: 2.45rem; }
.dialog-info > p { color: var(--muted); }
.inside-preview { margin: .8rem 0 .25rem; padding: 1rem; border: 1px solid var(--line); background: #f8f2e7; }
.preview-label-row { display: flex; justify-content: space-between; gap: 1rem; color: #8a672d; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.inside-preview h3 { margin: .6rem 0 .4rem; color: var(--navy-950); font-family: var(--serif); font-size: 1.1rem; }
.inside-preview ul { margin: 0; padding-left: 1.15rem; color: #43535e; font-size: .79rem; line-height: 1.5; }
.sample-page { margin-top: .8rem; padding: .8rem; border-left: 3px solid var(--gold-500); background: var(--paper); }
.sample-page > span { color: var(--navy-950); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sample-page p { margin: .35rem 0 0; color: var(--muted); font-family: var(--serif); font-size: .9rem; line-height: 1.48; }
.dialog-price { margin: 1rem 0; color: var(--navy-950); font-family: var(--serif); font-size: 1.6rem; }
.option-label { display: block; margin: .9rem 0 .45rem; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.size-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.size-option { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.size-option.selected { border-color: var(--navy-950); color: var(--cream-50); background: var(--navy-950); }
.dialog-add { width: 100%; margin-top: 1.5rem; }
.activation-dialog { padding: clamp(2rem, 5vw, 3.8rem); text-align: center; }
.activation-dialog h2 { margin: .4rem 0 1rem; font-size: clamp(2rem, 5vw, 3.2rem); }
.activation-dialog p:not(.eyebrow) { max-width: 580px; margin: 0 auto 1.5rem; color: var(--muted); }
.toast { position: fixed; z-index: 150; right: 1rem; bottom: 1rem; max-width: 360px; padding: .85rem 1rem; color: var(--cream-50); background: var(--success); box-shadow: var(--shadow); font-size: .85rem; transform: translateY(150%); transition: transform .22s ease; }
.toast.show { transform: translateY(0); }

:focus-visible { outline: 3px solid #e9b95d; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 5.6rem); }
  .hero-gallery { min-height: 470px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .preview-bar { font-size: .69rem; }
  .site-header { min-height: 70px; padding: .7rem 1rem; }
  .brand-copy small { display: none; }
  .cart-button > span:not(.cart-count) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3.5rem 1rem 2rem; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-gallery { grid-template-columns: 1.2fr .8fr; min-height: 420px; }
  .hero-card-large { grid-row: 1 / span 2; }
  .verse-card { padding: 1rem; }
  .verse-card blockquote { font-size: .92rem; }
  .hero-card figcaption { display: none; }
  .automation-strip { justify-content: flex-start; overflow-x: auto; }
  .automation-strip > div { min-width: 175px; }
  .step-arrow { display: none; }
  .shop-section { padding: 4.5rem 1rem; }
  .section-heading { display: grid; gap: 1.2rem; }
  .section-heading h2, .mission-section h2 { font-size: clamp(2.45rem, 11vw, 3.6rem); }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; }
  .filter { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-buy { align-items: flex-start; flex-direction: column; }
  .product-actions { width: 100%; }
  .product-actions .add-button { flex: 1; }
  .plan-preview-heading { align-items: start; flex-direction: column; }
  .plan-preview-grid { grid-template-columns: 1fr; }
  .product-visual, .image-visual img { min-height: 360px; height: 360px; }
  .mission-section { grid-template-columns: 1fr; gap: 2rem; padding: 4.5rem 1rem; }
  .global-mission-section { padding: 4.5rem 1rem; }
  .global-mission-actions { grid-template-columns: 1fr; }
  .global-mission-card { min-height: 0; }
  .revelation-callout, .revelation-hero, .study-intro, .study-method, .revelation-library { grid-template-columns: 1fr; gap: 2rem; padding-right: 1rem; padding-left: 1rem; }
  .revelation-callout-actions { min-width: 0; justify-items: start; }
  .revelation-callout-actions > span { text-align: left; }
  .revelation-hero { min-height: auto; }
  .study-grid { grid-template-columns: 1fr; }
  .study-card { min-height: 0; }
  .site-footer { display: grid; padding: 2rem 1rem; }
  .site-footer p { text-align: left; }
  .dialog-product { grid-template-columns: 1fr; }
  .dialog-product img { min-height: 320px; height: 320px; }
  .dialog-info { padding: 1.5rem; }
}

@media (max-width: 460px) {
  .brand-mark { width: 2.35rem; height: 2.35rem; }
  .brand-copy strong { font-size: .88rem; }
  .hero-gallery { min-height: 330px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .promise-row { display: grid; }
}

/* Free resource readers */
.reader-page { min-height: 100vh; background: #efe8dc; }
.reader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: .75rem clamp(1rem, 4vw, 4rem);
  color: var(--cream-100);
  background: var(--navy-950);
}
.reader-header .brand { color: var(--cream-100); }
.reader-header .brand-copy small { color: #b8c2c9; }
.reader-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid rgba(219, 182, 108, .5);
  color: var(--gold-400);
  font-weight: 800;
  text-decoration: none;
}
.reader-shell { max-width: 1500px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3.5rem); }
.geneva-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .48fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(2rem, 5vw, 4rem); padding: clamp(1.5rem, 5vw, 4rem); color: var(--cream-100); background: radial-gradient(ellipse at 85% 25%, rgba(201, 156, 75, .19), transparent 33%), linear-gradient(135deg, #10324d, var(--navy-950) 75%); box-shadow: var(--shadow); }
.geneva-copy .eyebrow { color: var(--gold-400); }
.geneva-copy h1 { max-width: 780px; margin: 0; color: var(--cream-100); font-family: var(--serif); font-size: clamp(2.5rem, 5.8vw, 5.5rem); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.geneva-lede { max-width: 680px; margin: 1.25rem 0 0; color: #d7e0e5; font-size: 1.05rem; }
.geneva-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 1.8rem; }
.geneva-facts span { padding: .35rem .65rem; border: 1px solid rgba(219, 182, 108, .4); color: #f1e4c8; font-size: .78rem; font-weight: 700; }
.geneva-read-button { width: fit-content; }
.geneva-titlepage { display: grid; justify-items: center; gap: .7rem; margin: 0; }
.geneva-titlepage a { display: block; max-height: 31rem; padding: .7rem; border: 1px solid rgba(219, 182, 108, .65); background: #e6dcc6; box-shadow: 0 16px 38px rgba(0, 0, 0, .34); transform: rotate(1deg); }
.geneva-titlepage img { display: block; width: auto; max-width: min(100%, 18rem); max-height: 29rem; object-fit: contain; }
.geneva-titlepage figcaption { color: #d6dee2; font-size: .72rem; line-height: 1.45; text-align: center; }
.geneva-reader-section { scroll-margin-top: 1rem; }
.geneva-reader-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1rem; }
.geneva-reader-heading h2 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.08; }
.geneva-reader-heading p:not(.eyebrow) { max-width: 700px; margin: .55rem 0 0; color: var(--muted); }
.reader-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
}
.reader-intro h1 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}
.reader-intro p:not(.eyebrow) { max-width: 760px; margin: .8rem 0 0; color: var(--muted); }
.reader-source-link { white-space: nowrap; }
.reader-frame-wrap {
  min-height: 72vh;
  padding: .65rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.reader-frame { display: block; width: 100%; height: 72vh; border: 0; background: white; }
.reader-note { margin: .9rem 0 0; color: var(--muted); font-size: .82rem; }
.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.project-panel h2 { margin: 0 0 .8rem; color: var(--navy-950); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 500; }
.project-panel p { color: var(--muted); }
.project-status { padding: 1.4rem; color: var(--cream-100); background: var(--navy-950); }
.project-status strong { display: block; color: var(--gold-400); font-family: var(--serif); font-size: 1.55rem; }
.project-status p { margin-bottom: 0; color: #c9d2d8; }
.project-principles { display: grid; gap: .75rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.project-principles li { padding: .8rem 0 .8rem 1.6rem; border-top: 1px solid var(--line); position: relative; }
.project-principles li::before { position: absolute; left: 0; color: var(--gold-500); content: "◆"; font-size: .65rem; }
@media (max-width: 760px) {
  .reader-header .brand-copy small { display: none; }
  .reader-shell { padding: 1.25rem .75rem 2rem; }
  .geneva-hero { grid-template-columns: 1fr; padding: 1.4rem; }
  .geneva-titlepage a { max-height: 24rem; }
  .geneva-titlepage img { max-height: 22rem; }
  .geneva-reader-heading { align-items: flex-start; flex-direction: column; }
  .reader-source-link { width: 100%; white-space: normal; }
  .reader-frame-wrap, .reader-frame { min-height: 74vh; height: 74vh; }
  .project-panel { grid-template-columns: 1fr; }
}

/* Scripture-first landing page */
.resource-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 6.5rem) clamp(1.25rem, 8vw, 9rem);
  color: var(--cream-100);
  background: radial-gradient(ellipse at 14% 8%, rgba(201, 156, 75, .18), transparent 32%), linear-gradient(125deg, #10324d, var(--navy-950) 75%);
}
.resource-hero-copy { max-width: 760px; }
.resource-hero-copy .eyebrow { color: var(--gold-400); }
.resource-hero h1 { margin: 0; color: var(--cream-100); font-family: var(--serif); font-size: clamp(3rem, 6.8vw, 6.5rem); font-weight: 500; line-height: .96; letter-spacing: -.045em; }
.resource-hero h1 em { color: var(--gold-400); font-weight: 400; }
.resource-hero-lede { max-width: 650px; margin: 1.35rem 0 1.6rem; color: #d9e0e3; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.resource-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.resource-hero .button-navy { border-color: rgba(248, 242, 231, .68); color: var(--cream-100); background: transparent; }
.resource-hero .button-navy:hover { color: var(--navy-950); background: var(--cream-100); }
.resource-promise { margin: 1rem 0 0; color: #c9d2d8; font-size: .85rem; }
.resource-hero-art { position: relative; margin: 0; padding: .75rem; border: 1px solid rgba(219, 182, 108, .55); background: #e7dece; box-shadow: 0 24px 55px rgba(0, 0, 0, .32); transform: rotate(1deg); }
.resource-hero-art a { display: block; overflow: hidden; }
.resource-hero-art img { width: 100%; max-height: 370px; aspect-ratio: 1.5; object-fit: cover; filter: sepia(.18) saturate(.74) contrast(1.03); }
.resource-hero-art figcaption { padding: .65rem .15rem .05rem; color: #5c5141; font-family: var(--serif); font-size: .77rem; text-align: center; }
.resource-library { padding: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 7vw, 8rem); background: var(--cream-50); scroll-margin-top: 1rem; }
.resource-heading { align-items: end; margin-bottom: 2rem; }
.resource-heading h2 { margin-bottom: 0; }
.resource-heading > p { max-width: 560px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); }
.guide-pages { margin: .55rem 0; color: #76551e; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.resource-card { box-shadow: 0 8px 28px rgba(7, 26, 43, .055); }
.resource-art { position: relative; display: block; min-height: 280px; overflow: hidden; color: var(--cream-100); background: var(--navy-950); text-decoration: none; }
.resource-art::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(6, 21, 34, .78)); content: ""; }
.resource-art img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; filter: sepia(.18) saturate(.76) contrast(1.02); transition: transform .5s ease; }
.resource-art:hover img { transform: scale(1.035); }
.resource-art-label { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; color: #fff8e9; font-family: var(--serif); font-size: 1.05rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.geneva-resource-art img { object-position: center 42%; }
.plan-resource-art img { object-position: center; filter: sepia(.24) saturate(.58) contrast(1.08); }
.resource-art-credit { margin: 1.25rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.resource-art-credit a { text-underline-offset: .2em; }
.shop-section { padding-top: clamp(3.5rem, 7vw, 6rem); }
.edition-history { padding: clamp(3.25rem, 6vw, 5.5rem) clamp(1.25rem, 7vw, 8rem); background: #f5efe4; }
.edition-history .section-heading h2 { margin-bottom: 0; }
.edition-history .section-heading > p { max-width: 560px; }
.edition-history-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.edition-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid #ded4c3; border-top: 3px solid var(--gold-500); background: #fffdf8; }
.edition-card .edition-date { margin: 0 0 .65rem; color: #8a672d; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.edition-card h3 { margin: 0 0 .7rem; color: var(--navy-950); font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
.edition-card > p:not(.edition-date) { margin: 0 0 .8rem; color: #465660; font-size: .87rem; line-height: 1.62; }
.edition-card strong { color: var(--navy-950); }
.edition-card a { margin-top: auto; padding-top: .35rem; color: #76551e; font-size: .82rem; font-weight: 800; text-underline-offset: .22em; }
.edition-sources { margin: 1.3rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.edition-sources a { color: #596a73; text-underline-offset: .2em; }

@media (max-width: 980px) {
  .resource-hero { grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); padding-inline: clamp(1.25rem, 5vw, 4rem); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edition-history-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .resource-hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.75rem 1.15rem; }
  .resource-hero h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .resource-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .resource-hero .button { width: 100%; }
  .resource-hero-art { max-width: 480px; }
  .resource-hero-art img { max-height: 260px; }
  .resource-library { padding: 3rem 1rem; }
  .resource-grid { grid-template-columns: 1fr; }
  .edition-history { padding: 3rem 1rem; }
  .edition-history-grid { grid-template-columns: 1fr; }
  .resource-art, .resource-art img { min-height: 260px; }
}

/* Navy-and-gold brand treatment integrated into the page backgrounds. */
.site-header, .reader-header, .family-top { background: #06224a; color: #fff5de; }
.site-header { border-bottom: 1px solid rgba(219,182,108,.17); padding-block: .35rem; }
.site-header .desktop-nav a, .site-header .cart-button { color: #fff5de; }
.site-header .cart-button { border-color: rgba(219,182,108,.5); background: transparent; }
.site-header .cart-button:hover { background: rgba(219,182,108,.12); }
.brand-logo { display: block; width: 176px; height: auto; max-width: 100%; object-fit: contain; flex-shrink: 0; mix-blend-mode: lighten; }
.resource-hero { background: #06224a; gap: clamp(1.5rem,4vw,4rem); grid-template-columns: minmax(0,1fr) minmax(280px,1.05fr); }
.resource-hero-art.brand-hero-art { transform: none; background: transparent; border: 0; box-shadow: none; padding: 0; overflow: visible; }
.resource-hero-art.brand-hero-art a { overflow: visible; }
.resource-hero-art.brand-hero-art img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; filter: none; mix-blend-mode: lighten; }
.brand-logo, .brand-hero-art img { -webkit-mask-image: linear-gradient(to right,transparent,#000 2%,#000 98%,transparent); mask-image: linear-gradient(to right,transparent,#000 2%,#000 98%,transparent); }
@media (max-width: 680px) { .resource-hero { grid-template-columns: 1fr; } .brand-hero-art { width: 100%; max-width: 560px; margin-inline: auto; } }
@media (max-width: 600px) { .brand-logo { width: 144px; } }
