/* Vision Appears Toolkit. Every rule is prefixed vat- so the theme is left alone. */
:root {
	--vat-night: #070d1c;
	--vat-deep: #0e1830;
	--vat-line: #24365c;
	--vat-ink: #e9eef8;
	--vat-iris: #49b6ff;
	--vat-amber: #ffb547;
	--vat-alarm: #ff5a5f;
	--vat-focus: #ffd23f;
}

.vat-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.vat-top { font-family: "Atkinson Hyperlegible", Verdana, "Segoe UI", system-ui, sans-serif; font-size: 1rem; line-height: 1.5; }
.vat-bar { background: var(--vat-deep); color: var(--vat-ink); padding: .45rem max(16px, env(safe-area-inset-right, 0px)) .45rem max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--vat-line); }
.vat-panel { padding-top: .7rem; }
.vat-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.vat-hint { margin: .6rem 0 .2rem; color: #a8b6cf; font-size: .92rem; }

.vat-btn {
	font: inherit; font-weight: 700; min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
	border: 2px solid var(--vat-line); background: var(--vat-deep); color: var(--vat-ink); cursor: pointer;
	text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.vat-btn:hover { border-color: var(--vat-iris); }
.vat-btn[aria-pressed="true"], .vat-btn-primary { background: var(--vat-iris); color: var(--vat-night); border-color: var(--vat-iris); }
.vat-top :focus-visible, .vat-eye-block :focus-visible { outline: 4px solid var(--vat-focus); outline-offset: 3px; }

/* Alert banner */
.vat-alert { background: #2a2414; color: var(--vat-ink); border-bottom: 3px solid var(--vat-amber); }
.vat-alert.vat-breaking { background: #2c1416; border-color: var(--vat-alarm); }
.vat-alert-inner { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-start; padding: .7rem max(16px, env(safe-area-inset-right, 0px)) .7rem max(16px, env(safe-area-inset-left, 0px)); }
.vat-kind { font-weight: 700; letter-spacing: .1em; color: var(--vat-amber); padding-top: .55rem; }
.vat-breaking .vat-kind { color: var(--vat-alarm); }
.vat-alert-text { flex: 1 1 260px; min-width: 0; margin: 0; padding-top: .5rem; }
.vat-alert a { color: #9fd8ff; }

/* Lenses */
.vat-lens { display: block; max-width: 100%; height: auto; }
.vat-lens-heading { width: 112px; height: 112px; margin: 0 0 .8rem; }
.vat-lens-inline { width: 132px; height: 132px; display: inline-block; vertical-align: middle; }
.vat-eye-block { background: var(--vat-night); border-radius: 16px; padding: 1.2rem; }
.vat-eye-big { width: 100%; max-width: 520px; margin: 0 auto; }
.vat-door { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1rem; }

.vat-spin { animation: vat-spin 7s linear infinite; }
@keyframes vat-spin { from { transform: translateX(0); } to { transform: translateX(-160px); } }
.vat-lids { transform-box: fill-box; transform-origin: 50% 50%; animation: vat-blink 7s ease-in-out infinite; }
@keyframes vat-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
.vat-breathe { animation: vat-breathe 4.5s ease-in-out infinite; }
@keyframes vat-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.vat-eye-big.vat-opening { animation: vat-through 1.6s ease-in 1; }
@keyframes vat-through { 0% { transform: scale(1); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.vat-red .vat-iris-ring { stroke: var(--vat-alarm); }

.vat-pulse { transform-box: fill-box; transform-origin: center; animation: vat-pulse 2s ease-out infinite; }
@keyframes vat-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.vat-live .vat-stars { transform-origin: 66px 66px; animation: vat-rush 2.4s ease-out 1; }
@keyframes vat-rush { from { transform: scale(.4); opacity: .2; } to { transform: scale(1); opacity: 1; } }
.vat-live .vat-earth { transform-origin: 66px 66px; animation: vat-grow 2.4s ease-out 1; }
@keyframes vat-grow { from { transform: scale(.15); } to { transform: scale(1); } }
.vat-live .vat-lens-l { animation: vat-slideL 1.6s ease-out 1; }
.vat-live .vat-lens-r { animation: vat-slideR 1.6s ease-out 1; }
@keyframes vat-slideL { from { transform: translateX(-22px); } to { transform: translateX(0); } }
@keyframes vat-slideR { from { transform: translateX(22px); } to { transform: translateX(0); } }
.vat-live .vat-africa, .vat-live .vat-person { animation: vat-sharpen 2s ease-out 1; }
@keyframes vat-sharpen { from { filter: blur(5px); opacity: .4; } to { filter: blur(0); opacity: 1; } }
.vat-ring-a { transform-origin: 66px 66px; animation: vat-turn 9s linear infinite; }
.vat-ring-b { transform-origin: 66px 66px; animation: vat-turn 12s linear infinite reverse; }
@keyframes vat-turn { to { transform: rotate(360deg); } }
.vat-live .vat-shutter-l { transform-origin: 22px 66px; animation: vat-shut 1.6s ease-out 1; }
.vat-live .vat-shutter-r { transform-origin: 110px 66px; animation: vat-shut 1.6s ease-out 1; }
@keyframes vat-shut { from { transform: scaleX(3.6); } to { transform: scaleX(1); } }
.vat-media { opacity: 0; animation: vat-cycle 9s infinite; }
.vat-m2 { animation-delay: 3s; }
.vat-m3 { animation-delay: 6s; }
@keyframes vat-cycle { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }

/* Calm mode and the visitor's reduce-motion setting stop all movement on the whole site */
body.vat-calm *, body.vat-calm *::before, body.vat-calm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
body.vat-calm .vat-m3 { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.vat-top *, .vat-lens *, .vat-lens { animation: none !important; }
	.vat-m3 { opacity: 1; }
}

/* Article labels */
.vat-correction { border-left: 4px solid var(--vat-amber); padding: .5rem .9rem; background: rgba(255, 181, 71, .12); }
.vat-ai-note { font-style: italic; opacity: .85; }
.vat-source { border-top: 1px solid currentColor; padding-top: .7rem; margin-top: 1.6rem; }

/* Tracker and standards */
.vat-facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; }
.vat-facts li { border-left: 3px solid var(--vat-iris); padding-left: .8rem; }
.vat-facts strong { display: block; font-size: 1.6em; font-variant-numeric: tabular-nums; }
.vat-table-wrap { overflow-x: auto; }
.vat-tracker table { border-collapse: collapse; width: 100%; min-width: 520px; }
.vat-tracker caption { text-align: left; font-weight: 700; padding: .6rem 0; }
.vat-tracker th, .vat-tracker td { text-align: left; padding: .55rem .8rem; border-top: 1px solid currentColor; vertical-align: top; }
.vat-small { font-size: .9em; }
.vat-standards li { margin-bottom: .5rem; }

/* Visitor choices that reach across the whole site */
body.vat-dyslexia, body.vat-dyslexia * { font-family: Verdana, Tahoma, sans-serif !important; letter-spacing: .03em; word-spacing: .08em; }
body.vat-hc, body.vat-hc *:not(svg):not(svg *):not(img) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
body.vat-hc a, body.vat-hc a * { color: #ffff00 !important; text-decoration: underline !important; }
body.vat-hc .vat-btn[aria-pressed="true"] { background-color: #fff !important; color: #000 !important; }

/* Representation Register */
.vat-register .vat-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.5rem; }
.vat-register th, .vat-register td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 25%, transparent); vertical-align: top; }
.vat-register-count { font-weight: 700; }
.vat-rep-facts { font-weight: 700; }

/* Accessible video */
.vat-video { margin: 1.5rem 0; }
.vat-video-frame { position: relative; aspect-ratio: 16 / 9; background: #070d1c; overflow: hidden; border-radius: 8px; }
.vat-video-frame img, .vat-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vat-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 90%; }
.vat-video figcaption { margin-top: .4rem; }

/* Weather */
.vat-weather-strip { padding: .5rem 1rem; border-bottom: 3px solid #49b6ff; background: color-mix(in srgb, #49b6ff 12%, transparent); }
.vat-weather-strip p { margin: .2rem 0; }
.vat-weather-warning strong { color: #ff5a5f; }
body.vat-hc .vat-weather-warning strong { color: #ff0; }
.vat-weather-note { font-size: .9em; opacity: .85; }

/* Morning Devotion */
.vat-devotion { border-left: 4px solid #ffb547; padding: .4rem 0 .4rem 1rem; margin: 1.5rem 0; }
.vat-devotion-date, .vat-devotion-note { font-size: .92em; opacity: .85; }
.vat-devotion-verse { margin: .8rem 0; font-size: 1.1em; }
.vat-devotion-verse footer { font-weight: 700; margin-top: .3rem; }

/* Follow us links */
.vat-follow { margin: 1.5rem auto; padding: 1rem; max-width: 70rem; border-top: 2px solid currentColor; }
.vat-follow-title { font-size: 1.1rem; margin: 0 0 .5rem; }
.vat-follow ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.vat-follow a { display: inline-block; padding: .5rem .75rem; min-height: 44px; box-sizing: border-box; text-decoration: underline; }
.vat-follow a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }

/* VAN Pulse: Key points, corrections, top stories */
.vat-keypoints { border-left: 4px solid #ffb547; background: color-mix(in srgb, #ffb547 10%, transparent); padding: .6rem 1rem; margin: 0 0 1.5rem; border-radius: 4px; }
.vat-keypoints h2 { margin: 0 0 .5rem; font-size: 1.15em; }
.vat-keypoints ul { margin: .25rem 0 .5rem; padding-inline-start: 1.4rem; }
.vat-keypoints li { margin: .3rem 0; line-height: 1.45; }
.vat-keypoints .vat-readtime { margin: .5rem 0 0; }
.vat-readtime { font-weight: 400; opacity: .85; margin-left: .5rem; }
.vat-correction { border-left: 4px solid #49b6ff; padding: .4rem 1rem; margin: 0 0 1.5rem; }
.vat-stories ol { padding-left: 1.4rem; }
.vat-stories li { margin: .5rem 0; line-height: 1.45; }
.vat-stories a { font-weight: 700; }
.vat-story-meta { display: block; font-size: .9em; opacity: .85; }
.vat-breaking-tag { color: #ff5a5f; text-transform: uppercase; letter-spacing: .03em; }
body.vat-hc .vat-breaking-tag { color: #ff0; }


/* 3.2.0: accessible editorial transparency panel. */
.vat-editorial-verification {
	margin: 2rem 0 1rem;
	padding: 1.15rem;
	color: var(--vat-ink);
	background: linear-gradient(135deg, var(--vat-night), #101d3a 72%, #102c45);
	border: 1px solid #42628f;
	border-inline-start: .3rem solid var(--vat-iris);
	border-radius: .65rem;
	box-shadow: 0 8px 28px rgba(7, 13, 28, .14);
}
.vat-editorial-verification h2 {
	margin-top: 0;
	font-size: 1.2em;
}
.vat-editorial-verification dl {
	display: grid;
	grid-template-columns: minmax(9rem, 1fr) 2fr;
	gap: .45rem 1rem;
	margin: 0;
}
.vat-editorial-verification dt { font-weight: 700; }
.vat-editorial-verification dd { margin: 0; overflow-wrap: anywhere; }
.vat-editorial-verification a { color: #9fd8ff; text-underline-offset: .18em; }
.vat-editorial-verification p { margin-bottom: 0; font-size: .92em; color: #c4d2e8; }
.vat-editorial-verification dt { color: #9fd8ff; }
@media (max-width: 36rem) {
	.vat-editorial-verification dl { grid-template-columns: 1fr; gap: .15rem; }
	.vat-editorial-verification dd { margin-bottom: .65rem; }
}

/* Semantic key-points panel: clear structure for keyboard and screen-reader users. */
.vat-key-points {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-inline-start: 4px solid currentColor;
	background: rgba(127, 127, 127, 0.08);
}
.vat-key-points h2 {
	margin-block: 0 0.75rem;
	font-size: 1.2em;
}
.vat-key-points ul {
	margin-block: 0;
	padding-inline-start: 1.5rem;
}
.vat-key-points li + li {
	margin-block-start: 0.45rem;
}
