/* Spirit Word — the shared shell: header + tabs, live chip, Legacy ribbon, footer, phone tab bar, More sheet, Legacy pop-up.
   Loaded on every page (site, TV, projects), so everything is namespaced .sws- and sets its own type and colour. */
:root {
	--sws-navy: #132e49; --sws-navy-d: #0f2438; --sws-navy-dd: #0a1928; --sws-royal: #245478;
	--sws-orange: #f48935; --sws-orange-d: #e0711d; --sws-orange-ink: #c2410c; --sws-peach: #fcbe8d;
	--sws-live: #e5383b; --sws-wa: #1faa59; --sws-ink: #14202e; --sws-muted: #5b6878;
	--sws-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	--sws-script: 'Dancing Script', cursive;
	--sws-head-h: 64px; --sws-tab-h: 64px;
	--sws-ease: cubic-bezier(.2, .8, .2, 1);
}
.sws-ic { flex: none; display: inline-block; vertical-align: middle; }
.sws-skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--sws-orange); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font: 600 14px var(--sws-font); }
.sws-skip:focus { top: 10px; }

/* ── Header ── */
.sws-head { position: sticky; top: 0; z-index: 90; background: rgba(15, 36, 56, .97); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); color: #fff; font-family: var(--sws-font); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.sws-head.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .45); }
.sws-head-in { max-width: 1320px; margin: 0 auto; height: var(--sws-head-h); padding: 0 24px; display: flex; align-items: center; gap: 18px; }
.sws-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; flex: none; }
.sws-brand img, .sws-brand svg { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; flex: none; }
.sws-brand span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.sws-brand b { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.sws-brand small { font-size: 11.5px; color: rgba(255, 255, 255, .62); font-weight: 500; white-space: nowrap; }
.sws-tabs { display: flex; gap: 2px; margin-left: auto; }
.sws-tabs a { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; transition: color .2s, background .2s; white-space: nowrap; }
.sws-tabs a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.sws-tabs a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 -2px 0 var(--sws-orange); }
.sws-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sws-orange); display: none; }
.sws-live-on .sws-dot { display: inline-block; background: var(--sws-live); animation: sws-pulse 1.8s infinite; }
.sws-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; flex: none; }
.sws-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--sws-orange); animation: sws-pulse 2s infinite; }
.sws-chip em { font-style: normal; font-weight: 600; color: rgba(255, 255, 255, .72); padding-left: 7px; border-left: 1px solid rgba(255, 255, 255, .18); }
.sws-chip[data-state="live"] { background: var(--sws-live); }
.sws-chip[data-state="live"] i { background: #fff; }
.sws-chip[data-state="live"] em { color: #fff; border-color: rgba(255, 255, 255, .4); }
.sws-give { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; background: var(--sws-orange); color: #fff; text-decoration: none; font: 700 14px var(--sws-font); flex: none; box-shadow: 0 6px 16px -8px rgba(244, 137, 53, .9); transition: background .2s, transform .2s; }
.sws-give:hover { background: var(--sws-orange-d); transform: translateY(-1px); }
@keyframes sws-pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 137, 53, .6); } 70% { box-shadow: 0 0 0 7px rgba(244, 137, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 137, 53, 0); } }

/* ── Legacy ribbon (site pages, in season only) ── */
.sws-ribbon { background: linear-gradient(100deg, #2a1608 0%, #5a2a0c 45%, #8a3c10 100%); color: #fff; font-family: var(--sws-font); }
.sws-ribbon-in { max-width: 1320px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 14px; }
.sws-ribbon-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--sws-orange); color: #fff; border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.sws-ribbon p { margin: 0; flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; overflow: hidden; }
.sws-ribbon p b { font-family: var(--sws-script); font-size: 24px; font-weight: 700; color: var(--sws-peach); line-height: 1; flex: none; }
.sws-ribbon p span { font-size: 14px; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sws-ribbon a { color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); flex: none; }
.sws-ribbon a.is-cta { background: #fff; color: #7a3410; }
.sws-ribbon a:hover { filter: brightness(1.08); }

/* ── Footer ── */
.sws-foot { background: var(--sws-navy-dd); color: rgba(255, 255, 255, .78); font: 400 14.5px/1.6 var(--sws-font); margin-top: 0; }
.sws-foot-in { max-width: 1320px; margin: 0 auto; padding: 56px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.sws-foot b { color: #fff; }
.sws-foot h2 { font: 700 12px var(--sws-font); letter-spacing: .1em; text-transform: uppercase; color: var(--sws-peach); margin: 0 0 14px; }
.sws-foot p { margin: 0 0 12px; }
.sws-foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.sws-foot a:hover { color: #fff; }
.sws-foot-brand > b { font-size: 18px; display: block; margin-bottom: 8px; }
.sws-foot ul { list-style: none; margin: 0; padding: 0; }
.sws-foot-col li { padding: 4px 0; display: flex; flex-direction: column; }
.sws-foot-col li span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.sws-foot-links { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sws-social { display: flex !important; gap: 8px; margin-top: 6px !important; }
.sws-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.sws-social a:hover { background: rgba(255, 255, 255, .16); }
.sws-foot-base { max-width: 1320px; margin: 0 auto; padding: 18px 24px 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ── Buttons used inside the shell ── */
.sws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 0; text-decoration: none; font: 700 15px var(--sws-font); cursor: pointer; transition: transform .2s, background .2s, filter .2s; }
.sws-btn:hover { transform: translateY(-1px); }
.sws-btn-wa { background: var(--sws-wa); color: #fff; }
.sws-btn-accent { background: var(--sws-orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(244, 137, 53, .95); }
.sws-btn-accent:hover { background: var(--sws-orange-d); }
.sws-btn-ghost { background: rgba(19, 46, 73, .07); color: var(--sws-navy); }
.sws-btn-ghost:hover { background: rgba(19, 46, 73, .12); }
.sws-x { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(19, 46, 73, .07); color: var(--sws-navy); cursor: pointer; }
.sws-x:hover { background: rgba(19, 46, 73, .14); }

/* ── Phone tab bar + More sheet ── */
.sws-tabbar { display: none; }
.sws-sheet { position: fixed; inset: 0; z-index: 200; background: rgba(10, 25, 40, .5); display: flex; align-items: flex-end; justify-content: center; font-family: var(--sws-font); }
.sws-sheet[hidden] { display: none; }
.sws-sheet-card { width: 100%; max-width: 560px; background: #fff; border-radius: 22px 22px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); animation: sws-up .3s var(--sws-ease); }
.sws-sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 10px; color: var(--sws-navy); font-size: 16px; }
.sws-sheet ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sws-sheet a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: #f4f5f7; color: var(--sws-navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.sws-sheet a[aria-current="page"] { background: #fdeee2; color: var(--sws-orange-ink); }
@keyframes sws-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Legacy pop-up ── */
.sws-legacy { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; background: rgba(10, 18, 28, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); font-family: var(--sws-font); opacity: 0; transition: opacity .35s var(--sws-ease); }
.sws-legacy[hidden] { display: none; }
.sws-legacy.is-open { opacity: 1; }
.sws-legacy-card { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: var(--sws-ink); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: translateY(16px) scale(.98); transition: transform .4s var(--sws-ease); outline: none; }
.sws-legacy.is-open .sws-legacy-card { transform: none; }
.sws-legacy-card:focus { outline: none; }
.sws-legacy-card > .sws-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, .9); }
.sws-legacy-img { position: relative; aspect-ratio: 16 / 8; background: #2a1608; overflow: hidden; }
.sws-legacy-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9) contrast(1.05); }
.sws-legacy-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(42, 22, 8, .85)); }
.sws-legacy-img span { position: absolute; left: 20px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: var(--sws-orange); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sws-legacy-body { padding: 22px 26px 22px; }
.sws-legacy-tag { display: inline-block; background: #fdeee2; color: var(--sws-orange-ink); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.sws-legacy h2 { margin: 0; font-family: var(--sws-script); font-size: 46px; line-height: 1; color: var(--sws-orange-ink); font-weight: 700; letter-spacing: 0; }
.sws-legacy-line { font-weight: 700; color: var(--sws-navy); font-size: 16.5px; margin: 8px 0 6px; line-height: 1.4; }
.sws-legacy p { font-size: 15px; line-height: 1.6; color: #3d4a5a; margin: 0 0 10px; }
.sws-legacy-ctas { display: grid; gap: 8px; margin-top: 16px; }
.sws-legacy-ctas .sws-btn { width: 100%; }
.sws-legacy-later { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--sws-muted); font: 600 14px var(--sws-font); cursor: pointer; padding: 6px 10px; }
.sws-legacy-later:hover { color: var(--sws-navy); }

:focus-visible { outline: 3px solid rgba(244, 137, 53, .7); outline-offset: 2px; }

/* ── On TV pages: the shell replaces the TV's own nav; keep the TV's spacing honest ── */
body.has-site-shell { --nav-h: var(--sws-head-h); }

/* ── Responsive ── */
@media (max-width: 1240px) {
	.sws-brand small { display: none; }
	.sws-tabs a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 1080px) {
	.sws-tabs { display: none; }
	.sws-chip { margin-left: auto; }
	.sws-tabbar { display: flex; position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; height: calc(var(--sws-tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid rgba(19, 46, 73, .1); font-family: var(--sws-font); }
	.sws-tabbar a, .sws-tabbar button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: #6b7684; text-decoration: none; font: 600 11px var(--sws-font); cursor: pointer; padding: 0; }
	.sws-tabbar [aria-current="page"] { color: var(--sws-orange-ink); }
	.sws-tabbar .sws-dot { position: absolute; top: 9px; left: calc(50% + 8px); }
	body.sws-site, body.has-site-shell { padding-bottom: calc(var(--sws-tab-h) + env(safe-area-inset-bottom)); }
	body.has-site-shell .tv-tabbar { display: none !important; }
	.sws-foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.sws-head-in { padding: 0 16px; gap: 10px; }
	.sws-brand b { font-size: 14.5px; }
	.sws-chip em { display: none; }
	.sws-chip { padding: 6px 10px; }
	.sws-give span { display: none; }
	.sws-give { padding: 9px 11px; }
	.sws-ribbon-in { padding: 8px 16px; gap: 10px; }
	.sws-ribbon-tag { display: none; }
	.sws-ribbon p b { font-size: 22px; }
	.sws-ribbon p span { display: none; }
	.sws-ribbon a:not(.is-cta) { display: none; }
	.sws-ribbon a.is-cta { padding: 6px 12px; font-size: 13px; }
	.sws-foot-in { grid-template-columns: 1fr; gap: 26px; padding: 40px 16px 20px; }
	.sws-foot-base { padding: 16px; }
	.sws-legacy { align-items: end; padding: 0; }
	.sws-legacy-card { border-radius: 22px 22px 0 0; max-height: 92vh; }
	.sws-legacy h2 { font-size: 40px; }
	.sws-legacy-body { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
	.sws-chip i, .sws-dot { animation: none !important; }
	.sws-legacy, .sws-legacy-card, .sws-sheet-card { transition: none !important; animation: none !important; }
}

/* 2.1.0 — Bible lives in the phone menu only */
@media (min-width: 1081px) { .sws-phone-only { display: none !important; } }
