/* Articles: sky band header, then a single reading column with the site's tokens */
:root {
  --sky: #057ac7;
  --sky-deep: #045d98;
  --ink: #1f2830;
  --muted: #4a5560;
  --bg: #ffffff;
  --band: #eef6fc;
  --card: #ffffff;
  --line: #d6e6f2;
  --accent: #04609d;
  --joy: #f5c518;
  --go: #54dd13;
  --go-ink: #0d2600;
  --on-sky: #ffffff;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ink: #e8f0f6; --muted: #a9bccb; --bg: #071e31; --band: #0b2a44; --card: #0f3250; --line: #1d4566; --accent: #6cc0f5; color-scheme: dark; } }
:root[data-theme="dark"] { --ink: #e8f0f6; --muted: #a9bccb; --bg: #071e31; --band: #0b2a44; --card: #0f3250; --line: #1d4566; --accent: #6cc0f5; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 19px; line-height: 1.75; }
img { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--joy); outline-offset: 3px; }
.in { max-width: 68rem; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.read { max-width: 42rem; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.15; }

.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--sky-deep); color: var(--on-sky); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--sky-deep); }
.nav .in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.25rem; color: var(--on-sky); text-decoration: none; }
.brand i { color: var(--joy); }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { color: var(--on-sky); text-decoration: none; font-size: .9rem; font-weight: 700; opacity: .9; }
.nav ul a:hover { opacity: 1; text-decoration: underline; }

.head { background: var(--sky) url("/images/sky.jpg") center / cover no-repeat; color: var(--on-sky); position: relative; padding-block: clamp(3rem, 7vw, 5rem); }
.head::after { content: ""; position: absolute; inset: 0; background: rgba(3, 50, 90, .45); }
.head .in { position: relative; z-index: 1; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 .9rem; color: #cfe8fa; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.head h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 400; margin: 0; }
.head .dek { font-size: 1.2rem; margin: 1rem 0 0; color: #f2f8fc; max-width: 38rem; }
.byline { margin-top: 1.25rem; font-size: .9rem; color: #cfe8fa; }

article.read { padding-block: clamp(2.5rem, 6vw, 4rem); }
article h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 400; margin: 2.4rem 0 .6rem; }
article p { margin: 0 0 1.15rem; }
article ol, article ul { padding-left: 1.3rem; margin: 0 0 1.3rem; display: grid; gap: .5rem; }
article strong { color: var(--ink); }
.scripture { font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.5; border-left: 3px solid var(--joy); padding-left: 1.1rem; margin: 1.6rem 0; }
.scripture cite { display: block; font-family: var(--body); font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.prayer { background: var(--band); border: 1px solid var(--line); border-radius: 8px; padding: 1.5rem 1.6rem; margin: 2rem 0; }
.prayer h2 { margin-top: 0; font-size: 1.4rem; }
.prayer p { font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.6; margin: 0; }

.cta { background: var(--sky-deep); color: var(--on-sky); padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta .in { display: grid; gap: 1.5rem; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 400; margin: 0; }
.cta h2 em { color: var(--joy); }
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.cta-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.cta-card b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.cta-card span { color: #e3f1fb; font-size: .95rem; line-height: 1.55; }
.cta-card a { margin-top: auto; color: var(--joy); font-weight: 700; text-decoration: none; font-size: .95rem; }
.cta-card a:hover { text-decoration: underline; }

.list { padding-block: clamp(2.5rem, 6vw, 4rem); display: grid; gap: 1rem; }
.post { display: block; background: var(--band); border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem 1.5rem; text-decoration: none; color: var(--ink); }
.post:hover { border-color: var(--accent); }
.post h2 { font-size: 1.45rem; font-weight: 400; margin: 0 0 .35rem; }
.post p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.post small { display: block; margin-top: .6rem; color: var(--accent); font-weight: 700; font-size: .85rem; }

footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: .88rem; color: var(--muted); }
footer .in { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.bible-notice { flex-basis: 100%; margin: 0; font-size: .78rem; opacity: .85; }
