/* Holy Man book series (holymanbooks.com) - one page, mobile first, no JavaScript. The look comes from the five covers: night
   black, light breaking through behind the figure, bronze and gold; Book 1's storm blue carries the study question. Motion is CSS
   only and stops under prefers-reduced-motion. The grain is an inline SVG (no request). */
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); font-weight: 500 600; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0c10;
  --bg-2: #111218;
  --card: #17191f;
  --line: #2a2d36;
  --text: #ece6da;
  --muted: #bdb4a4;
  --white: #ffffff;
  --gold: #e3b45f;
  --gold-2: #f0cd85;
  --pale: #ecdcbf;
  --bronze: #a37847;
  --ink: #17120a;
  --paper: #f4ecde;
  --paper-ink: #1d1710;
  --paper-mute: #5b4a35;
  --paper-accent: #7a5426;
  --head: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .92 0 0 0 0 .8 .06 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background-color: var(--bg); background-image: var(--grain); color: var(--text); font: 400 1.0625rem/1.65 var(--body); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-2); }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
p { margin: 0 0 1em; }
cite { font-style: italic; }
.kicker, .tagline, .scripture, .study-q, .pillar blockquote, .kind, .weeks .wt, .author-text h3 { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; margin: 0 0 .5em; color: var(--white); }
h2 { font-size: clamp(2rem, 8vw, 3.1rem); text-wrap: balance; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 960px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 4px; font-weight: 700; }
.skip:focus { left: 16px; color: var(--ink); }

/* the small label over a heading, set like the covers' "WE ARE CALLED TO" line */
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.02rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7rem; line-height: 1.3; }
.kicker::before { content: ""; flex: 0 0 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 12, 16, .9); border-bottom: 1px solid rgba(227, 180, 95, .2); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .top { background: rgba(11, 12, 16, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 700; font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.brand .mark { width: 11px; height: 16px; flex: none; }
.brand:hover { color: var(--gold-2); }
.top nav { display: flex; }
.top nav a { color: var(--text); text-decoration: none; font-size: .95rem; padding: 12px 7px; white-space: nowrap; }
.top nav a:hover { color: var(--gold-2); }
@media (min-width: 760px) { .top nav a { padding: 12px 12px; font-size: 1rem; } }
section[id], article[id], div[id] { scroll-margin-top: 72px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border: 2px solid var(--gold); border-radius: 4px; background: linear-gradient(180deg, #f0c878, var(--gold) 60%, #d9a64e); color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; line-height: 1.2; text-align: center; box-shadow: 0 8px 22px -10px rgba(227, 180, 95, .7); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(240, 205, 133, .8); }
.btn-ghost { background: transparent; color: var(--gold-2); box-shadow: none; }
.btn-ghost:hover { background: rgba(227, 180, 95, .14); color: var(--white); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* hero: light breaking through, the five covers fanned in front of it */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 36px 0 52px;
  background-image: var(--grain), radial-gradient(ellipse 80% 45% at 50% 78%, rgba(240, 190, 100, .2), transparent 70%), linear-gradient(180deg, #0b0c10, #0f1015 70%, #0b0c10); }
.rays { position: absolute; z-index: -1; left: 50%; top: 76%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(246, 212, 146, .1) 0deg 2.5deg, transparent 2.5deg 11deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .55) 22%, transparent 52%);
  mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .55) 22%, transparent 52%); }
.hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; background-image: var(--grain), radial-gradient(ellipse 50% 70% at 74% 52%, rgba(240, 190, 100, .22), transparent 70%), linear-gradient(180deg, #0b0c10, #0f1015 70%, #0b0c10); }
  .rays { left: 74%; top: 54%; }
  .hero-grid { grid-template-columns: 1fr 1.12fr; gap: 32px; }
}
.hero .kicker { color: var(--gold-2); }
h1 { font-size: clamp(4rem, 19vw, 7.6rem); font-weight: 700; line-height: .92; letter-spacing: .005em; margin: 0 0 .22em; color: var(--white); }
h1 .gold { color: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 .gold, h1 .silver { -webkit-background-clip: text; background-clip: text; color: transparent; }
  h1 .gold { background-image: linear-gradient(180deg, #fbe7b4 0%, #edc272 38%, #c48a3c 78%, #a26b2c 100%); }
  h1 .silver { background-image: linear-gradient(180deg, #ffffff 0%, #f1ede6 50%, #b9b2a6 100%); }
}
.tagline { font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--pale); font-size: 1.08rem; line-height: 1.45; margin-bottom: 1.1rem; }
.tagline span { display: inline-block; white-space: nowrap; }
.lede { font-size: 1.22rem; line-height: 1.55; max-width: 32em; }

.fan { position: relative; width: 100%; max-width: 620px; margin: 0 auto; aspect-ratio: 1 / .86; }
.fan::before { content: ""; position: absolute; left: 12%; right: 12%; top: 6%; bottom: 0; background: radial-gradient(closest-side, rgba(255, 222, 160, .5), rgba(227, 180, 95, .16) 60%, transparent); }
.fan img { position: absolute; bottom: 5%; left: 30%; width: 40%; border-radius: 2px 3px 3px 2px; transform-origin: 50% 100%; transform: var(--t);
  box-shadow: 0 26px 40px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07); }
.fan .f1 { --t: translateX(-72%) rotate(-11deg) scale(.8); z-index: 1; }
.fan .f2 { --t: translateX(-40%) rotate(-5.5deg) scale(.9); z-index: 2; }
.fan .f3 { --t: translateY(-3%); z-index: 3; left: 28%; width: 44%; box-shadow: 0 34px 50px -16px rgba(0, 0, 0, .95), 0 0 70px -10px rgba(255, 214, 140, .45), 0 0 0 1px rgba(255, 255, 255, .1); }
.fan .f4 { --t: translateX(40%) rotate(5.5deg) scale(.9); z-index: 2; }
.fan .f5 { --t: translateX(72%) rotate(11deg) scale(.8); z-index: 1; }

/* sections */
.section { position: relative; padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.src { color: var(--muted); font-size: .92rem; }

/* the study question: Book 1's storm blue, the question set on a page from the book */
.question { overflow: hidden; border-top: 1px solid rgba(227, 180, 95, .22); border-bottom: 1px solid rgba(227, 180, 95, .22);
  background-image: var(--grain), radial-gradient(ellipse 55% 60% at 80% 35%, rgba(240, 190, 100, .17), transparent 70%), linear-gradient(165deg, #10232d 0%, #0c171e 50%, #0b0c10 100%); }
.question-grid { display: grid; gap: 40px; grid-template-areas: "intro" "card" "scripture"; }
.question-intro { grid-area: intro; }
.study-wrap { grid-area: card; }
.scripture { grid-area: scripture; }
@media (min-width: 900px) {
  .question-grid { grid-template-columns: .92fr 1.08fr; grid-template-areas: "intro card" "scripture card"; grid-template-rows: auto 1fr; gap: 0 72px; }
  .study-wrap { align-self: center; }
  .scripture { align-self: start; margin-top: 8px; }
}
.question .section-intro { color: #c9c1b2; }
.scripture { margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); }
.scripture blockquote { margin: 0; }
.scripture p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 5vw, 1.75rem); line-height: 1.32; color: var(--pale); margin: 0 0 .6em; }
.scripture figcaption { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--gold); line-height: 1.4; }

.study-wrap { min-width: 0; }
.study-card { margin: 0; }
.sheet { position: relative; isolation: isolate; }
.sheet::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 3px; background: linear-gradient(180deg, #e6dac4, #d6c7ac); transform: rotate(2.4deg) translate(6px, 8px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.page { position: relative; padding: 26px 24px 52px; border-radius: 3px; color: var(--paper-ink); transform: rotate(-1.2deg);
  background: radial-gradient(ellipse 80% 60% at 30% 15%, rgba(255, 255, 255, .7), transparent 65%), linear-gradient(180deg, #f6efe2, #ece1cc);
  box-shadow: 0 46px 80px -34px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 255, 255, .6) inset; }
@media (min-width: 760px) { .page { padding: 38px 44px 60px; } }
.page-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid #c9b997; font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute); }
.page-label { font-weight: 700; font-size: 1.08rem; margin: 0 0 .7em; color: var(--paper-ink); }
.q-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; }
.qnum { font-family: var(--head); font-weight: 700; font-size: clamp(3rem, 13vw, 4.6rem); line-height: .85; color: var(--paper-accent); }
.study-q { margin: 0; }
.study-q p { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 7.2vw, 2.75rem); line-height: 1.12; color: var(--paper-ink); text-wrap: balance; }
.folio { position: absolute; right: 24px; bottom: 16px; margin: 0; font-size: .9rem; color: var(--paper-mute); }
@media (min-width: 760px) { .folio { right: 44px; bottom: 20px; } }
.study-src { margin-top: 30px; color: #c9c1b2; font-size: .98rem; line-height: 1.5; }
.study-wrap .actions { margin-top: 18px; }

/* what the series is for */
.series-sec { background-image: var(--grain), radial-gradient(ellipse 60% 50% at 50% 0%, rgba(227, 180, 95, .09), transparent 70%); }
.pillars { display: grid; gap: 18px; margin-top: 32px; align-items: start; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 26px; } .pillar:nth-child(2) { margin-top: 40px; } }
.pillar { position: relative; padding: 62px 24px 12px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), var(--bg-2); }
.pillar::before { content: "\201C"; position: absolute; top: 2px; left: 20px; font-family: var(--serif); font-weight: 700; font-size: 5.2rem; line-height: 1; color: var(--gold); }
.pillar::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(227, 180, 95, 0)); }
.pillar h3 { font-size: 1.08rem; color: var(--gold-2); letter-spacing: .12em; }
.pillar blockquote { margin: 0; }
.pillar blockquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.34rem; line-height: 1.38; color: var(--pale); }

/* books */
.books-sec { background-image: var(--grain), linear-gradient(180deg, #0b0c10, #0e0f13 50%, #0b0c10); }
.books { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.book { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 112px 1fr; grid-template-areas: "cover head" "body body"; gap: 18px 20px; padding: 20px; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01) 60%), var(--card); }
.book::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; left: -170px; top: -150px; background: radial-gradient(closest-side, var(--glow, rgba(227, 180, 95, .22)), transparent); }
#live-holy-lives { --glow: rgba(78, 128, 168, .36); }
#bear-one-anothers-burdens { --glow: rgba(214, 150, 70, .3); }
#fulfill-his-purpose { --glow: rgba(205, 70, 110, .24); }
#lead-our-families { --glow: rgba(232, 172, 82, .3); }
#stand-firm-in-spiritual-warfare { --glow: rgba(224, 120, 52, .28); }
@media (min-width: 760px) {
  .book { grid-template-columns: 210px 1fr; grid-template-areas: "cover head" "cover body"; grid-template-rows: auto 1fr; gap: 10px 40px; padding: 32px 36px; }
  .books > li:nth-child(even) .book { grid-template-columns: 1fr 210px; grid-template-areas: "head cover" "body cover"; }
  .books > li:nth-child(even) .book::before { left: auto; right: -170px; }
}
.cover { grid-area: cover; width: 100%; border-radius: 1px 3px 3px 1px; transform: perspective(900px) rotateY(14deg); transform-origin: 0 50%;
  box-shadow: 16px 20px 30px -12px rgba(0, 0, 0, .85), inset 3px 0 0 rgba(255, 255, 255, .08); transition: transform .5s ease; }
.book:hover .cover { transform: perspective(900px) rotateY(4deg); }
@media (min-width: 760px) {
  .books > li:nth-child(even) .cover { transform: perspective(900px) rotateY(-14deg); transform-origin: 100% 50%; box-shadow: -16px 20px 30px -12px rgba(0, 0, 0, .85); }
  .books > li:nth-child(even) .book:hover .cover { transform: perspective(900px) rotateY(-4deg); }
}
.book-head { grid-area: head; align-self: center; }
@media (min-width: 760px) { .book-head { align-self: start; } }
.book-body { grid-area: body; }
.book h3 { margin: 0; }
.book .series { display: block; font-size: .85rem; letter-spacing: .2em; color: var(--gold); margin-bottom: .25em; }
.book .sub { display: block; font-size: clamp(1.25rem, 4.8vw, 1.75rem); }
.kind { font-family: var(--serif); font-weight: 700; color: var(--gold-2); font-size: 1.12rem; letter-spacing: .02em; margin: .55rem 0 0; line-height: 1.3; }
.formats { color: var(--muted); font-size: .95rem; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 0; }
.buy .alt { display: inline-flex; align-items: center; min-height: 44px; }

/* for men's groups: bronze, the seven weeks as a path, the meeting as numbered steps */
.groups { border-top: 1px solid rgba(227, 180, 95, .2); border-bottom: 1px solid rgba(227, 180, 95, .2);
  background-image: var(--grain), radial-gradient(ellipse 70% 45% at 8% 0%, rgba(163, 120, 71, .28), transparent 70%), radial-gradient(ellipse 50% 40% at 100% 100%, rgba(227, 180, 95, .1), transparent 70%), linear-gradient(180deg, #17110b, #0f0d0a); }
.groups h3 { font-size: 1.2rem; color: var(--gold-2); letter-spacing: .08em; }
.groups-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .groups-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; } }
.checks { list-style: none; margin: 0 0 8px; padding: 0; }
.checks li { position: relative; padding: 6px 0 6px 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .9em; width: 11px; height: 11px; background: var(--gold); transform: rotate(45deg); }
.weeks-box { padding: 26px 24px 14px; border: 1px solid rgba(227, 180, 95, .28); border-radius: 8px; background: rgba(11, 12, 16, .55); }
.weeks { position: relative; list-style: none; margin: 8px 0 14px; padding: 0; }
.weeks::before { content: ""; position: absolute; left: 7px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(227, 180, 95, .2)); }
.weeks li { position: relative; padding: 9px 0 9px 36px; }
.weeks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 12px; background: #120e09; border: 2px solid var(--gold); transform: rotate(45deg); }
.weeks li:first-child::before { background: var(--gold); }
.weeks .wk { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--gold); line-height: 1.4; }
.weeks .wt { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.36rem; line-height: 1.2; color: var(--white); }
.meeting { margin-top: 56px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 12px; margin: 18px 0 14px; padding: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li { min-height: 80px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.steps li { counter-increment: step; position: relative; display: flex; align-items: center; min-height: 64px; padding: 16px 18px 16px 74px; border: 1px solid rgba(227, 180, 95, .24); border-radius: 6px; background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); font-size: 1.08rem; line-height: 1.4; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; bottom: 0; width: 58px; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 2.2rem; color: var(--gold); border-right: 1px solid rgba(227, 180, 95, .24); }
.inside { margin-top: 56px; }
.inside dl { display: grid; gap: 14px; margin: 18px 0 0; }
@media (min-width: 640px) { .inside dl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .inside dl { grid-template-columns: repeat(4, 1fr); } }
.inside .item { padding: 18px 18px 14px; border-top: 2px solid var(--gold); background: rgba(11, 12, 16, .45); border-radius: 0 0 6px 6px; }
.inside dt { font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; line-height: 1.25; }
.inside dt a { color: var(--white); text-decoration: none; display: inline-block; padding: 2px 0 6px; }
.inside dt a:hover { color: var(--gold-2); text-decoration: underline; }
.inside dd { margin: 0; color: var(--muted); }

/* author */
.author-sec { background-image: var(--grain), radial-gradient(ellipse 45% 55% at 18% 45%, rgba(227, 180, 95, .12), transparent 70%); }
.author { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 760px) { .author { grid-template-columns: 240px 1fr; gap: 48px; align-items: start; } }
.author-photo { width: 200px; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 0 8px rgba(227, 180, 95, .1), 0 0 70px -6px rgba(227, 180, 95, .35); }
@media (min-width: 760px) { .author-photo { width: 240px; } }
.author-text h3 { font-family: var(--serif); font-weight: 700; font-size: 2.3rem; letter-spacing: .14em; margin-bottom: .05em; color: var(--gold); }
.fullname { color: var(--muted); margin-bottom: 1.2em; letter-spacing: .04em; }
.bio { font-size: 1.1rem; }
.bio a.quiet { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bio a.quiet:hover { color: inherit; text-decoration-color: var(--gold); }

/* footer: a gold cross between two rules */
.foot { position: relative; padding: 48px 0 40px; color: var(--muted); font-size: .95rem; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227, 180, 95, .4) 15%, rgba(227, 180, 95, .4) calc(50% - 22px), transparent calc(50% - 22px), transparent calc(50% + 22px), rgba(227, 180, 95, .4) calc(50% + 22px), rgba(227, 180, 95, .4) 85%, transparent); }
.foot::after { content: ""; position: absolute; left: 50%; top: -8px; width: 12px; height: 17px; margin-left: -6px; background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)); background-size: 2px 17px, 12px 2px; background-position: 5px 0, 0 5px; background-repeat: no-repeat; }
.foot p { margin: 0 0 .5em; }
.foot .credit, .foot .year { font-size: .85rem; }
.foot a { color: var(--gold-2); }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound .actions { justify-content: center; }

/* motion: the covers are dealt into the fan on load, the light turns slowly, cards rise into view where the browser can tie it to scrolling */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-text > :nth-child(5) { animation-delay: .32s; }
  .fan img { animation: deal .9s cubic-bezier(.2, .7, .2, 1) both; }
  .fan .f3 { animation-delay: .1s; }
  .fan .f2, .fan .f4 { animation-delay: .25s; }
  .fan .f1, .fan .f5 { animation-delay: .4s; }
  @media (min-width: 900px) { .rays { animation: turn 260s linear infinite; } }
  @supports (animation-timeline: view()) {
    .pillar, .book, .study-card, .scripture, .weeks li, .steps li, .inside .item, .author { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes deal { from { opacity: 0; transform: translateY(12%) scale(.9); } }
@keyframes turn { to { transform: rotate(1turn); } }
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { *, *::before, *::after { animation: none !important; } .top { position: static; } }
