/*
Theme Name: Pastor Jerry Burns
Description: Site for the Pastor Jerry Burns YouTube channel — sermons, articles, books and resources. Same navy, blue and book-and-cross mark as the channel banner.
Author: Jerry the Creative Guy
Version: 1.0.0
Requires PHP: 8.1
Text Domain: pastorburns
*/

:root {
	--navy: #070b16;
	--navy-2: #0e1c40;
	--blue: #2f8cff;      /* the banner's "Pastor" blue — accents on dark */
	--action: #0a6fe0;    /* filled buttons and links on white (AA with white text) */
	--action-hover: #0960c4;
	--ink: #1d1d1f;
	--muted: #6e6e73;
	--panel: #f5f5f7;
	--chip: #ebebef;
	--white: #fff;
	--display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	--r-lg: 28px;
	--r: 18px;
	--gutter: clamp(16px, 4vw, 40px);
	--header: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 17px/1.55 var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--action); text-decoration: none; }
a:hover { color: var(--action-hover); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(700px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

/* ---------- Buttons: filled pills at a 44px tap target ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
	background: var(--action); color: var(--white);
	font: 600 16px/1 var(--display); letter-spacing: -.005em; white-space: nowrap;
	transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--action-hover); color: var(--white); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn-grey { background: var(--chip); color: var(--ink); }
.btn-grey:hover { background: #dedee3; color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .12); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.actions-left { justify-content: flex-start; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 600 16px var(--display); white-space: nowrap; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }
.kicker { display: block; font: 600 14px var(--display); letter-spacing: .02em; color: var(--action); margin-bottom: 8px; }
.meta { font-size: 14px; color: var(--muted); margin-top: 6px; }
.soon { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--chip); color: var(--muted); font: 600 15px var(--display); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(7, 11, 22, .92);
	-webkit-backdrop-filter: saturate(160%) blur(18px);
	backdrop-filter: saturate(160%) blur(18px);
	color: var(--white);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); min-width: 0; }
.brand:hover { color: var(--white); }
.brand .mark { width: 30px; height: 30px; flex: none; position: relative; top: 2px; }
.wordmark { font: 800 18px/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.wordmark b { color: var(--blue); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav .menu a { display: block; padding: 10px 14px; border-radius: 999px; color: rgba(255, 255, 255, .78); font: 500 15px var(--display); transition: color .2s, background-color .2s; }
.nav .menu a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav .menu .current-menu-item > a, .nav .menu .current_page_item > a, .nav .menu .current-menu-parent > a { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav-sub { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--white); border-radius: 999px; padding: 10px; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.nav {
		position: absolute; left: 0; right: 0; top: var(--header);
		flex-direction: column; align-items: stretch; gap: 4px;
		padding: 8px var(--gutter) 24px; background: var(--navy);
		box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
		display: none;
	}
	.nav .menu { flex-direction: column; }
	.nav .menu a { padding: 14px 4px; font-size: 18px; border-radius: 0; background: none !important; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav-sub { margin: 16px 0 0; min-height: 48px; }
	.nav-open .nav { display: flex; }
	.nav-open .nav-toggle .i-open { display: none; }
	.nav-open .nav-toggle .i-close { display: block; }
}
@media (max-width: 380px) {
	.wordmark { font-size: 16px; }
	.brand .mark { width: 26px; height: 26px; }
}

/* ---------- Hero: the YouTube banner, as a page ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	color: var(--white); text-align: center;
	background:
		radial-gradient(ellipse 60% 55% at 50% 52%, rgba(0, 113, 227, .55), transparent 72%),
		linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 70%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000, transparent 78%);
	mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000, transparent 78%);
}
.hero-in { padding-block: clamp(72px, 12vw, 136px) clamp(80px, 12vw, 140px); display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: clamp(64px, 9vw, 92px); height: auto; aspect-ratio: 1; color: var(--white); filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); margin-bottom: 28px; }
.hero-name { color: var(--white); text-transform: uppercase; font-weight: 800; font-size: clamp(38px, 7.4vw, 88px); line-height: .98; letter-spacing: -.02em; }
.hero-name b { color: var(--blue); font-weight: 800; }
.hero-tag { margin-top: 18px; font: 500 clamp(19px, 2.4vw, 28px)/1.3 var(--display); color: #cfe3ff; letter-spacing: -.005em; }
.hero-lede { margin-top: 20px; max-width: 600px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .7); text-wrap: pretty; }
.hero .actions { margin-top: 40px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 104px); }
.section + .section:not(.section-book) { padding-top: 0; }
.section-tight { padding-top: clamp(24px, 4vw, 40px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.03em; }

.panel { background: var(--panel); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); }
.empty { text-align: center; display: flex; flex-direction: column; align-items: center; }
.empty h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
.empty p { margin-top: 10px; color: var(--muted); max-width: 460px; }
.empty .btn { margin-top: 24px; }
.empty-icon { width: 56px; height: 56px; color: #ff0033; margin-bottom: 16px; }
.empty-icon svg { width: 100%; height: 100%; }

/* ---------- Grids and tiles: the picture carries itself ---------- */
.grid { display: grid; gap: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }

.tile-art, .art-blank { display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--panel); margin-bottom: 18px; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile-art img { transform: scale(1.03); }
.art-blank, .cover-blank {
	display: grid; place-items: center; color: rgba(255, 255, 255, .9);
	background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0, 113, 227, .5), transparent 75%), linear-gradient(150deg, var(--navy-2), var(--navy));
}
.art-blank .mark { width: 22%; height: auto; aspect-ratio: 1; }
.tile-title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
.tile-title a { color: var(--ink); }
.tile-title a:hover { color: var(--action); }
.tile-text { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Videos ---------- */
.video-art {
	position: relative; display: block; width: 100%; padding: 0; border: 0;
	aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy);
}
.video-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.video-art:hover img { transform: scale(1.03); }
.video-art iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
	position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
	display: grid; place-items: center; border-radius: 50%;
	background: rgba(7, 11, 22, .55); color: var(--white);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
	transition: transform .2s, background-color .2s;
}
.video-play svg { width: 28px; height: 28px; margin-left: 3px; }
.video-art:hover .video-play { transform: scale(1.08); background: var(--action); }
.video-title { margin-top: 16px; font-size: 19px; font-weight: 700; line-height: 1.25; }
.video-title a { color: var(--ink); }
.video-title a:hover { color: var(--action); }

.video-feature { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.video-lg .video-title { font-size: clamp(21px, 2.2vw, 26px); }
.video-list { display: grid; gap: 20px; }
.video-sm { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.video-sm .video-art { grid-row: span 2; border-radius: 12px; }
.video-sm .video-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.video-sm .video-play svg { width: 18px; height: 18px; }
.video-sm .video-title { margin-top: 0; font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.video-sm .meta { margin-top: 0; }
@media (max-width: 860px) {
	.video-feature { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
	.video-sm { grid-template-columns: 132px minmax(0, 1fr); }
}

/* ---------- The book ---------- */
.section-book { background: var(--panel); padding-block: clamp(64px, 9vw, 112px); }
.section-book + .section.section { padding-top: clamp(64px, 9vw, 104px); }
.book-feature { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.book-art { display: block; }
.cover {
	display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 24px 48px -12px rgba(7, 11, 22, .35), 0 50px 90px -30px rgba(7, 11, 22, .4);
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.book-art:hover .cover { transform: translateY(-4px); }
.cover-blank .mark { width: 30%; height: auto; aspect-ratio: 1; }
.book-title { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.book-sub { margin-top: 12px; font: 500 clamp(20px, 2.2vw, 26px)/1.3 var(--display); color: var(--muted); letter-spacing: -.01em; }
.book-blurb { margin-top: 20px; font-size: 18px; line-height: 1.6; max-width: 560px; text-wrap: pretty; }
.book-copy .actions { margin-top: 28px; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
	.book-feature { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
	.book-art { width: min(260px, 70vw); }
	.book-blurb { margin-inline: auto; }
	.book-copy .actions-left, .book-copy .buy { justify-content: center; }
}

/* ---------- Welcome ---------- */
.welcome { text-align: center; display: flex; flex-direction: column; align-items: center; }
.welcome-mark { width: 52px; height: 52px; color: var(--action); margin-bottom: 20px; }
.welcome h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.03em; }
.welcome p { margin-top: 14px; max-width: 620px; font-size: 18px; line-height: 1.6; color: #424245; text-wrap: pretty; }

/* ---------- Page heads ---------- */
.page-head { text-align: center; padding-block: clamp(56px, 8vw, 96px) clamp(16px, 3vw, 32px); }
.page-head h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; }
.page-head .lede { margin: 16px auto 0; max-width: 620px; font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); line-height: 1.5; text-wrap: pretty; }
.page-head .lede p { margin: 0; }
.page-head .actions { margin-top: 28px; }
.page-404 .hero-mark { color: var(--action); margin: 0 auto 24px; filter: none; }

/* Segmented topic picker */
.chips { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 32px; padding: 4px; background: var(--chip); border-radius: 999px; max-width: 100%; }
.chips a { padding: 8px 16px; border-radius: 999px; color: var(--ink); font: 500 15px var(--display); white-space: nowrap; transition: background-color .2s; }
.chips a:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.chips a.on { background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 3px 8px rgba(0, 0, 0, .06); font-weight: 600; }

/* ---------- Articles ---------- */
.article-head { text-align: center; padding-block: clamp(56px, 8vw, 96px) clamp(32px, 4vw, 48px); }
.article-head .kicker { margin-bottom: 14px; }
.article-title { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.article-dek { margin-top: 18px; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.byline { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.byline .mark { width: 22px; height: 22px; color: var(--action); position: relative; top: 1px; flex: none; }
.article-art { margin: 0 auto clamp(40px, 5vw, 64px); max-width: 1180px; }
.article-art img { width: 100%; border-radius: var(--r-lg); }

.prose { font-size: 19px; line-height: 1.7; color: #1d1d1f; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; letter-spacing: -.025em; margin-top: 2em; }
.prose h3 { font-size: 23px; font-weight: 700; margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote, .prose .wp-block-quote {
	margin-inline: 0; padding: 26px 30px; background: var(--panel); border-radius: var(--r); border: 0;
	font-size: 21px; line-height: 1.55; font-weight: 500;
}
.prose blockquote p + p { margin-top: .6em; }
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: 12px; font: 600 15px var(--display); font-style: normal; color: var(--action); }
.prose .wp-block-pullquote { padding: 32px 0; border: 0; text-align: center; }
.prose .wp-block-pullquote blockquote { background: none; font: 700 clamp(26px, 3vw, 34px)/1.25 var(--display); letter-spacing: -.02em; }
.prose img { border-radius: var(--r); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.prose .alignwide { width: min(1080px, calc(100vw - 2 * var(--gutter))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.prose .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.prose .alignfull img { border-radius: 0; }
.prose hr { border: 0; height: 1px; background: #e5e5ea; margin-block: 2.4em; }
.prose .wp-block-embed iframe, .prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r); }
.prose .wp-block-button__link { border-radius: 999px; background: var(--action); color: var(--white); text-decoration: none; font: 600 16px var(--display); padding: 13px 24px; }
.page-body { padding-bottom: clamp(64px, 9vw, 104px); }
.intro { margin-bottom: 40px; }

.article-foot { padding-bottom: clamp(56px, 8vw, 88px); }
.share { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 56px 0 40px; color: var(--muted); font: 600 15px var(--display); }
.share span { margin-right: 6px; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--chip); color: var(--ink); transition: background-color .2s, color .2s; }
.round:hover { background: var(--action); color: var(--white); }
.round svg { width: 20px; height: 20px; }
.round.copied { background: #1e9e4a; color: var(--white); }
.author { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; padding: clamp(28px, 4vw, 40px); }
.author-mark { width: 56px; height: 56px; padding: 12px; border-radius: 50%; color: var(--white); background: linear-gradient(150deg, var(--navy-2), var(--navy)); }
.author h3 { font-size: 21px; font-weight: 700; }
.author p { margin: 8px 0 16px; color: #424245; font-size: 16px; line-height: 1.55; }
@media (max-width: 520px) { .author { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; } }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 64px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--chip); color: var(--ink); font: 600 15px var(--display); }
.pager .page-numbers.current { background: var(--ink); color: var(--white); }
.pager .dots { background: none; }

/* ---------- Store ---------- */
.grid-shelf { grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); justify-content: center; align-items: end; text-align: center; }
@media (max-width: 640px) { .grid-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-art { display: block; margin-bottom: 20px; }
.product-art:hover .cover { transform: translateY(-4px); }
.product .tile-title { font-size: 18px; }
.product .tile-text { font-size: 15px; -webkit-line-clamp: 2; }

.product-hero { padding-block: clamp(48px, 7vw, 96px); background: var(--panel); margin-bottom: clamp(48px, 6vw, 80px); }
.product-top { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.product-title { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.by { margin-top: 16px; color: var(--muted); font-size: 16px; }
.price { margin-top: 24px; font: 700 30px var(--display); letter-spacing: -.02em; }
.product-copy .buy, .product-copy .soon { margin-top: 24px; }
.back { padding-bottom: clamp(64px, 9vw, 104px); }
@media (max-width: 760px) {
	.product-top { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
	.product-cover { width: min(280px, 72vw); }
	.product-copy .buy { justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative; overflow: hidden; color: rgba(255, 255, 255, .7); text-align: center;
	background:
		radial-gradient(ellipse 50% 60% at 50% 0%, rgba(0, 113, 227, .28), transparent 72%),
		var(--navy);
	padding-block: clamp(64px, 8vw, 96px) 32px;
}
.foot-top { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.site-footer .brand .mark { width: 34px; height: 34px; }
.site-footer .wordmark { font-size: 20px; }
.foot-tag { font: 500 18px var(--display); color: #cfe3ff; }
.foot-verse { margin: 40px auto 0; max-width: 560px; }
.foot-verse p { text-wrap: balance; font: 500 clamp(19px, 2vw, 22px)/1.45 var(--display); color: var(--white); letter-spacing: -.01em; }
.foot-verse cite { display: block; margin-top: 10px; font: 600 14px var(--display); font-style: normal; color: var(--blue); }
.foot-links { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 48px; }
.foot-links .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; list-style: none; padding: 0; margin: 0; }
.foot-links .menu a { display: block; padding: 8px 12px; color: rgba(255, 255, 255, .78); font: 500 15px var(--display); }
.foot-links .menu a:hover { color: var(--white); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); transition: background-color .2s; }
.foot-social a:hover { background: var(--action); color: var(--white); }
.foot-social svg { width: 20px; height: 20px; }
.legal { margin-top: 48px; font-size: 13px; color: rgba(255, 255, 255, .45); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* Phones: topic chips scroll sideways rather than wrapping into a lump. */
@media (max-width: 640px) {
	.chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
	.chips::-webkit-scrollbar { display: none; }
	.byline { flex-direction: column; gap: 6px; }
}
.byline span { text-wrap: balance; }
