/*
Theme Name: Paul Adventures
Theme URI: https://pauladventures.us
Author: x-cpu
Author URI: https://x-cpu.com
Description: Neon-night block theme for Paul Adventures — Atlanta street stories, people, and plates.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.4.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pauladventures
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--wp--preset--color--neon); color: var(--wp--preset--color--night); }
:where(a, button, input, textarea, summary):focus-visible { outline: 2px solid var(--wp--preset--color--amber); outline-offset: 3px; }
img { height: auto; }

.pa-skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--wp--preset--color--neon); color: var(--wp--preset--color--night); padding: .75rem 1rem; font-weight: 700; }
.pa-skip-link:focus { left: 1rem; top: 1rem; }

/* Faint scanlines — the "tape" texture */
.pa-scanlines { position: relative; isolation: isolate; }
.pa-scanlines::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
	background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}

/* ---------- Header ---------- */
.pa-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11,14,18,.86);
	-webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(62,232,240,.14);
}
body.admin-bar .pa-header { top: var(--wp-admin--admin-bar--height, 32px); }
.pa-brand { gap: .7rem !important; text-decoration: none; }
.pa-brand a { text-decoration: none; display: flex; align-items: center; gap: .7rem; color: inherit; }
.pa-brand img { width: 60px; height: auto; filter: drop-shadow(0 0 6px rgba(62,232,240,.45)); }
.pa-wordmark {
	font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	line-height: 1; color: var(--wp--preset--color--neon); font-size: 1.3rem;
	text-shadow: 0 0 6px rgba(62,232,240,.65), 0 0 18px rgba(62,232,240,.3);
}
.pa-wordmark small { display: block; font-size: .62em; letter-spacing: .32em; color: var(--wp--preset--color--paper); text-shadow: none; margin-top: .3rem; }
.pa-header .wp-block-navigation-item__content { padding: .35rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.pa-header .wp-block-navigation-item__content:hover,
.pa-header .current-menu-item > .wp-block-navigation-item__content,
.pa-header .wp-block-navigation-item__content[aria-current] { color: var(--wp--preset--color--neon); border-color: var(--wp--preset--color--neon); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--night) !important; color: var(--wp--preset--color--paper) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; }

/* REC indicator */
.pa-rec {
	display: inline-flex; align-items: center; gap: .45rem;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: .78rem; letter-spacing: .2em;
	color: var(--wp--preset--color--paper);
}
.pa-rec::before {
	content: ""; width: .6rem; height: .6rem; border-radius: 50%;
	background: var(--wp--preset--color--rec); box-shadow: 0 0 10px var(--wp--preset--color--rec);
	animation: pa-blink 1.6s steps(1) infinite;
}
@keyframes pa-blink { 50% { opacity: .15; } }
@media (max-width: 600px) { .pa-header .pa-rec { display: none; } }

/* ---------- Kicker / labels ---------- */
.pa-kicker {
	font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .8rem !important;
	letter-spacing: .28em; text-transform: uppercase; color: var(--wp--preset--color--neon);
}
.pa-neon { color: var(--wp--preset--color--neon); text-shadow: 0 0 8px rgba(62,232,240,.55), 0 0 26px rgba(62,232,240,.25); }

/* ---------- Hero ---------- */
.pa-hero {
	background:
		radial-gradient(60rem 30rem at 85% 10%, rgba(62,232,240,.10), transparent 60%),
		radial-gradient(40rem 26rem at 0% 100%, rgba(255,181,71,.07), transparent 60%),
		var(--wp--preset--color--night);
}
.pa-hero h1 { text-wrap: balance; }
.pa-hero .pa-lead { font-size: var(--wp--preset--font-size--large); color: #c9d1d9; max-width: 34rem; }

/* Camcorder viewfinder frame around a photo */
.pa-viewfinder { position: relative; margin: 0 !important; }
.pa-viewfinder img { display: block; width: 100%; border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; }
.pa-viewfinder::before {
	content: ""; position: absolute; inset: 14px; pointer-events: none; z-index: 2;
	--c: rgba(255,255,255,.9); --l: 28px; --w: 2px;
	background:
		linear-gradient(var(--c),var(--c)) top left / var(--l) var(--w) no-repeat,
		linear-gradient(var(--c),var(--c)) top left / var(--w) var(--l) no-repeat,
		linear-gradient(var(--c),var(--c)) top right / var(--l) var(--w) no-repeat,
		linear-gradient(var(--c),var(--c)) top right / var(--w) var(--l) no-repeat,
		linear-gradient(var(--c),var(--c)) bottom left / var(--l) var(--w) no-repeat,
		linear-gradient(var(--c),var(--c)) bottom left / var(--w) var(--l) no-repeat,
		linear-gradient(var(--c),var(--c)) bottom right / var(--l) var(--w) no-repeat,
		linear-gradient(var(--c),var(--c)) bottom right / var(--w) var(--l) no-repeat;
}
.pa-viewfinder::after {
	content: ""; position: absolute; inset: 0; border-radius: 6px; pointer-events: none; z-index: 1;
	box-shadow: inset 0 0 80px rgba(0,0,0,.45), 0 0 0 1px rgba(62,232,240,.25), 0 30px 80px -20px rgba(0,0,0,.8), 0 0 60px -10px rgba(62,232,240,.25);
}
.pa-osd {
	position: absolute; z-index: 3; pointer-events: none;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: .8rem; letter-spacing: .16em;
	color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.pa-osd--tl { top: 28px; left: 30px; }
.pa-osd--tr { top: 28px; right: 30px; }
.pa-osd--bl { bottom: 26px; left: 30px; }
.pa-osd--br { bottom: 26px; right: 30px; }
.pa-osd--tl::before { content: "● "; color: var(--wp--preset--color--rec); animation: pa-blink 1.6s steps(1) infinite; }

/* ---------- Section headings ---------- */
.pa-section-head { border-bottom: 1px solid var(--wp--preset--color--concrete); padding-bottom: 1rem; }

/* ---------- Story cards ---------- */
.pa-cards .wp-block-post { display: flex; }
.pa-card {
	display: flex; flex-direction: column; width: 100%;
	background: var(--wp--preset--color--asphalt); border: 1px solid var(--wp--preset--color--concrete); border-radius: 8px; overflow: hidden;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pa-card:hover { transform: translateY(-4px); border-color: rgba(62,232,240,.5); box-shadow: 0 0 0 1px rgba(62,232,240,.25), 0 18px 40px -18px rgba(62,232,240,.35); }
.pa-card .wp-block-post-featured-image { margin: 0; }
.pa-card .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: saturate(1.05) contrast(1.03); }
.pa-card__body { padding: 1.25rem 1.35rem 1.5rem !important; flex: 1; }
.pa-card .wp-block-post-title { font-size: 1.3rem; margin: 0; }
.pa-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.pa-card { position: relative; }
.pa-card .wp-block-post-excerpt { color: #b8c2cc; font-size: .98rem; margin: 0; }
.pa-card .wp-block-post-excerpt__more-text { display: none; }
.pa-card .wp-block-post-date::before { content: "REC "; color: var(--wp--preset--color--rec); }
.pa-card .wp-block-post-terms a { position: relative; z-index: 2; }
.pa-noimage .wp-block-post-featured-image:empty { display: none; }

.pa-empty {
	border: 1px dashed rgba(62,232,240,.4); border-radius: 8px; padding: 2.5rem 1.5rem !important; text-align: center;
	background: repeating-linear-gradient(-45deg, rgba(62,232,240,.03) 0 12px, transparent 12px 24px);
}

/* Category chips */
.wp-block-post-terms.pa-chips a {
	display: inline-block; text-decoration: none; padding: .2rem .6rem; border: 1px solid rgba(62,232,240,.45); border-radius: 99px;
	color: var(--wp--preset--color--neon); font-family: var(--wp--preset--font-family--display); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.wp-block-post-terms.pa-chips .wp-block-post-terms__separator { display: none; }
.wp-block-post-terms.pa-chips { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ---------- Meet Paul / photo blocks ---------- */
.pa-photo img { border-radius: 8px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.9); }
.pa-photo--tilt img { transform: rotate(-1.5deg); }
.pa-tape-label {
	display: inline-block; background: var(--wp--preset--color--paper); color: var(--wp--preset--color--night);
	font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
	padding: .35rem .7rem; transform: rotate(-2deg); box-shadow: 0 6px 16px rgba(0,0,0,.4);
}

/* ---------- CTA band ---------- */
.pa-cta {
	border-top: 1px solid rgba(62,232,240,.18); border-bottom: 1px solid rgba(62,232,240,.18);
	background: radial-gradient(50rem 20rem at 50% 0%, rgba(62,232,240,.12), transparent 70%), var(--wp--preset--color--asphalt);
}

/* ---------- Outline button style ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--paper); border: 1.5px solid rgba(238,241,244,.55);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--wp--preset--color--neon); color: var(--wp--preset--color--neon); }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link { box-shadow: 0 0 22px -4px rgba(62,232,240,.6); }

/* ---------- Single story ---------- */
.pa-single-hero img { border-radius: 8px; max-height: 70vh; object-fit: cover; }
.pa-prose > * + h2 { margin-top: 2.5rem; }
.pa-prose img { border-radius: 6px; }
.pa-prose > p:first-of-type::first-letter {
	font-family: var(--wp--preset--font-family--display); font-weight: 700; float: left; font-size: 3.4em; line-height: .9; padding: .08em .12em 0 0; color: var(--wp--preset--color--neon);
}
.wp-block-post-navigation-link a { text-decoration: none; font-family: var(--wp--preset--font-family--display); font-weight: 600; }

/* Pagination */
.wp-block-query-pagination { font-family: var(--wp--preset--font-family--display); font-weight: 600; letter-spacing: .08em; }
.wp-block-query-pagination a { text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { color: var(--wp--preset--color--neon); }

/* ---------- Footer ---------- */
.pa-footer { border-top: 1px solid rgba(62,232,240,.14); background: #080a0d; }
.pa-footer img { width: 180px; filter: drop-shadow(0 0 10px rgba(62,232,240,.25)); }
.pa-footer .wp-block-navigation a { color: var(--wp--preset--color--fog); }
.pa-footer .wp-block-navigation a:hover { color: var(--wp--preset--color--neon); }
.pa-fineprint { color: var(--wp--preset--color--fog); font-size: .85rem; }
.pa-footer .pa-site-credit { margin-top: 1.5rem; margin-bottom: 0; color: #8996a3; font-size: 12px; font-weight: 400; line-height: 1.6; text-align: center; }
.pa-site-credit a { display: inline-block; padding: 3px 2px; color: inherit; text-decoration: none; }
.pa-site-credit a:hover, .pa-site-credit a:focus-visible { color: #b9c7d1; text-decoration: underline; text-underline-offset: 3px; }
.pa-site-credit a:focus-visible { outline: 2px solid #3ee8f0; outline-offset: 3px; }

/* ---------- Contact form ---------- */
.pa-form { display: grid; gap: 1.1rem; }
.pa-form p { margin: 0; }
.pa-form label { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; color: var(--wp--preset--color--paper); }
.pa-form input[type=text], .pa-form input[type=email], .pa-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; color: var(--wp--preset--color--paper);
	background: var(--wp--preset--color--asphalt); border: 1px solid var(--wp--preset--color--concrete); border-radius: 6px; padding: .85rem 1rem;
	transition: border-color .2s, box-shadow .2s;
}
.pa-form input:focus, .pa-form textarea:focus { outline: none; border-color: var(--wp--preset--color--neon); box-shadow: 0 0 0 3px rgba(62,232,240,.18); }
.pa-form textarea { min-height: 10rem; resize: vertical; }
.pa-form .pa-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .pa-form .pa-row { grid-template-columns: 1fr; } }
.pa-form button {
	justify-self: start; cursor: pointer; border: 0; border-radius: 4px; padding: .9rem 1.6rem;
	background: var(--wp--preset--color--neon); color: var(--wp--preset--color--night);
	font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	box-shadow: 0 0 22px -4px rgba(62,232,240,.6);
}
.pa-form button:hover { background: var(--wp--preset--color--paper); }
.pa-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pa-notice { border-radius: 6px; padding: 1rem 1.25rem; font-weight: 600; }
.pa-notice--ok { background: rgba(62,232,240,.12); border: 1px solid rgba(62,232,240,.5); }
.pa-notice--err { background: rgba(255,64,64,.1); border: 1px solid rgba(255,64,64,.5); }
.pa-form .pa-help { color: var(--wp--preset--color--fog); font-size: .85rem; margin: 0; }

/* =====================================================================
   VHS + old-school communication effects
   Everything here is decorative and switches off for reduced motion.
   ===================================================================== */
:root { --pa-vcr: var(--wp--preset--font-family--vcr); --pa-lcd-bg: #b7c9a0; --pa-lcd-ink: #1d2a14; }

/* VCR on-screen display: "PLAY ▶" when a page starts (once per visit) */
.pa-osd-play {
	position: fixed; z-index: 60; left: clamp(1rem, 4vw, 2.5rem); top: calc(var(--wp-admin--admin-bar--height, 0px) + 92px);
	font-family: var(--pa-vcr); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; color: #fff; letter-spacing: .06em;
	text-shadow: 2px 0 rgba(255,64,64,.7), -2px 0 rgba(62,232,240,.7), 0 0 12px rgba(0,0,0,.6);
	pointer-events: none; animation: pa-osd-fade 2.4s steps(1) forwards;
}
@keyframes pa-osd-fade { 0% { opacity: 1; } 15% { opacity: 1; } 18% { opacity: .4; } 21% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }

/* Tracking glitch on neon headline words */
.pa-glitch { display: inline-block; animation: pa-glitch 9s infinite; }
@keyframes pa-glitch {
	0%, 6%, 100% { transform: none; text-shadow: 0 0 8px rgba(62,232,240,.55), 0 0 26px rgba(62,232,240,.25); }
	1%   { transform: translateX(-3px) skewX(-6deg); text-shadow: 3px 0 rgba(255,64,64,.8), -3px 0 rgba(62,232,240,.9); }
	2%   { transform: translateX(2px); text-shadow: -2px 0 rgba(255,64,64,.8), 2px 0 rgba(62,232,240,.9); clip-path: inset(10% 0 45% 0); }
	3%   { transform: none; clip-path: none; }
	4%   { transform: translateX(1px) skewX(4deg); text-shadow: 2px 0 rgba(255,64,64,.6), -2px 0 rgba(62,232,240,.8); }
}

/* Tracking band rolling down over the hero photo */
.pa-viewfinder .pa-tracking {
	position: absolute; left: 0; right: 0; height: 18%; top: -20%; z-index: 2; pointer-events: none; border-radius: 6px;
	background: linear-gradient(to bottom, transparent, rgba(255,255,255,.08) 40%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.06) 60%, transparent);
	mix-blend-mode: screen; filter: blur(.5px); animation: pa-track 7s linear infinite;
}
@keyframes pa-track { 0% { top: -20%; } 35%, 100% { top: 105%; } }

/* Static noise texture (tiny inline SVG) */
.pa-static::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2; transition: opacity .2s;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}

/* Story cards: camcorder date stamp + static flicker on hover */
.pa-card__media { position: relative; overflow: hidden; }
.pa-card__media .wp-block-post-featured-image { margin: 0; }
.pa-card__media .wp-block-post-featured-image img { transition: transform .4s ease, filter .3s; }
.pa-card:hover .pa-card__media img { transform: scale(1.04); filter: saturate(1.25) contrast(1.08) hue-rotate(-4deg); }
.pa-card:hover .pa-static::after { opacity: .55; animation: pa-noise .25s steps(2) infinite; }
@keyframes pa-noise { 50% { transform: translate(-6px, 4px); } }
.pa-stamp, .pa-card__media .pa-stamp.wp-block-post-date {
	position: absolute; right: .8rem; bottom: .55rem; z-index: 3; margin: 0;
	font-family: var(--pa-vcr) !important; font-size: 1.35rem !important; letter-spacing: .06em !important; text-transform: uppercase;
	color: var(--wp--preset--color--amber) !important; text-shadow: 0 0 6px rgba(255,140,40,.7), 1px 1px 0 rgba(0,0,0,.6);
}
.pa-card__media .pa-stamp::before { content: none !important; }
.pa-card__media:not(:has(img)) { min-height: 5rem; background: repeating-linear-gradient(0deg, #131920 0 3px, #1d252e 3px 4px); border-bottom: 3px solid var(--wp--preset--color--cyan, #3ee8f0); }

/* Pager CTA */
.pa-pager {
	max-width: 520px; margin-inline: auto !important; padding: 1.1rem 1.2rem 1.3rem !important;
	background: linear-gradient(180deg, #2b3138, #1a1f25); border-radius: 22px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -3px 0 rgba(0,0,0,.4), 0 30px 60px -25px rgba(0,0,0,.9), 0 0 0 1px #0a0c0f;
}
.pa-pager__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--wp--preset--font-family--display); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: #8e99a4; margin: 0 .4rem .7rem; }
.pa-pager__led { width: .55rem; height: .55rem; border-radius: 50%; background: #44ff7a; box-shadow: 0 0 8px #44ff7a; animation: pa-blink 1.2s steps(1) infinite; }
.pa-lcd {
	background-color: var(--pa-lcd-bg); color: var(--pa-lcd-ink); border-radius: 8px;
	box-shadow: inset 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 2px rgba(0,0,0,.25);
	font-family: var(--pa-vcr); font-size: clamp(1.35rem, 3.2vw, 1.75rem); line-height: 1.15; padding: .8rem 1rem; text-align: left; min-height: 5.6em;
	background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px), linear-gradient(180deg, #c8d9ae, var(--pa-lcd-bg));
	text-shadow: 1px 1px 0 rgba(0,0,0,.12);
}
.pa-lcd p { margin: 0; white-space: pre-wrap; }
.pa-lcd .pa-cursor::after { content: "▮"; animation: pa-blink 1s steps(1) infinite; }
.pa-pager__buttons { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; }

/* Answering machine around the contact form */
.pa-machine {
	background: linear-gradient(180deg, #1a2027, #12171d); border: 1px solid #262f39; border-radius: 16px; padding: clamp(1rem, 3vw, 1.75rem);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.9);
}
.pa-machine__panel { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; padding-bottom: 1.1rem; border-bottom: 1px dashed #2a3440; }
.pa-machine__brand { font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; color: var(--wp--preset--color--fog); }
.pa-machine__brand b { color: var(--wp--preset--color--paper); }
.pa-machine__status { display: flex; align-items: center; gap: .8rem; }
.pa-machine__led { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--wp--preset--font-family--display); font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: #ff8a8a; }
.pa-machine__led::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--wp--preset--color--rec); box-shadow: 0 0 10px var(--wp--preset--color--rec); animation: pa-blink 1s steps(1) infinite; }
.pa-machine__count { font-family: var(--pa-vcr); font-size: 1.9rem; line-height: 1; color: #ff5a4a; background: #0a0b0d; padding: .15rem .5rem; border-radius: 4px; text-shadow: 0 0 8px rgba(255,64,64,.7); box-shadow: inset 0 0 0 1px #2a1414; }
.pa-machine__prompt { font-family: var(--pa-vcr); font-size: 1.5rem; color: var(--wp--preset--color--neon); margin: 0 0 1rem; }
.pa-machine__prompt::before { content: "▶ "; }
.pa-notice--lcd { font-family: var(--pa-vcr); font-size: 1.5rem; font-weight: 400; background: var(--pa-lcd-bg); color: var(--pa-lcd-ink); border: 0; box-shadow: inset 0 2px 6px rgba(0,0,0,.4); }

/* 404: no signal color bars */
.pa-bars {
	height: clamp(120px, 22vw, 220px); border-radius: 8px; position: relative; overflow: hidden; margin-bottom: var(--wp--preset--spacing--50) !important;
	background: linear-gradient(90deg, #c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%, #c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0);
}
.pa-bars span {
	position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pa-vcr); font-size: clamp(2.2rem, 6vw, 4rem); color: #fff;
	text-shadow: 3px 0 rgba(255,0,0,.6), -3px 0 rgba(0,255,255,.6); background: rgba(0,0,0,.25); letter-spacing: .1em;
}

/* Footer cassette label */
.pa-cassette {
	display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .8rem; border-radius: 4px;
	background: var(--wp--preset--color--paper); color: var(--wp--preset--color--night);
	font-family: var(--pa-vcr); font-size: 1.3rem; line-height: 1.1; transform: rotate(-1.5deg);
}
.pa-cassette::before { content: "◉ ◉"; letter-spacing: .1em; font-size: .9em; opacity: .8; }

/* Nav: brief signal flicker on hover */
.pa-header .wp-block-navigation-item__content:hover { animation: pa-flicker .35s steps(2) 1; }
@keyframes pa-flicker { 0% { opacity: .4; } 50% { opacity: 1; transform: translateX(1px); } 100% { opacity: 1; } }

/* Hero OSD in VCR font */
.pa-osd { font-family: var(--pa-vcr); font-weight: 400; font-size: 1.35rem; letter-spacing: .06em; }

/* Search field (404, search results) */
.wp-block-search__input { background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--concrete); border-radius: 6px; padding: .75rem 1rem; }
.wp-block-search__input:focus { outline: none; border-color: var(--wp--preset--color--neon); box-shadow: 0 0 0 3px rgba(62,232,240,.18); }

/* The Block: typewritten stories and the neighborhood conversation. */
.pa-mine { padding: 0; list-style: none; }
.pa-mine li, .pa-comment { padding: 1.25rem; margin-block: 1rem; border: 1px solid #3ee8f04d; background: #131920; border-radius: 6px; overflow-wrap: anywhere; }
.pa-mine__status { display: inline-block; font-family: var(--pa-vcr); color: #3ee8f0; margin-right: .75rem; }
.pa-mine__status--pending { color: #ffc66d; }
.pa-comments { margin-block: 3rem; }
.pa-comments textarea, .pa-comments input:not([type=submit]):not([type=checkbox]) { box-sizing: border-box; width: 100%; background: #0b0e12; color: #eef1f4; border: 1px solid #3ee8f080; border-radius: 6px; padding: .8rem; font: inherit; }
.pa-comments input[type=submit] { background: #3ee8f0; color: #0b0e12; padding: .8rem 1.2rem; border: 0; border-radius: 6px; font: inherit; cursor: pointer; }
.pa-comments .children { padding-left: 1rem; }
.pa-comments label { display: block; }
.pa-comments .comment-form-cookies-consent label { display: inline; }
.pa-comments :focus-visible { outline: 2px solid #3ee8f0; outline-offset: 4px; }
.pa-join .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

.pa-section-head .wp-block-buttons { margin-top: 1.5rem; }

.pa-block-teaser { border-block: 1px solid #3ee8f030; background: linear-gradient(135deg, #131920, #0b0e12); }

/* After hours: a photographic memory, with restrained tape texture and light leaks. */
.pa-hero .pa-hero__signoff { font-family: var(--wp--preset--font-family--body, inherit); font-size: .9rem; font-weight: 400; font-style: italic; line-height: 1.5; margin-top: .85rem; color: var(--wp--preset--color--fog); }
.pa-memory { position: relative; isolation: isolate; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; container-type: inline-size; background: #101619; border: 1px solid #3ee8f04d; border-radius: 3px; box-shadow: 0 28px 90px -35px #000, 0 0 70px -30px #3ee8f030; transform: rotate(1deg); }
.pa-memory::after { content: ""; position: absolute; inset: 10px; z-index: 5; pointer-events: none; border: 1px solid #ffffff20; }
.pa-memory__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.pa-memory__tint { position: absolute; inset: 0; background: linear-gradient(180deg, #0b0e124d, #10252822 35%, #08131699 74%, #070c10f2), linear-gradient(110deg, #0a696b75, transparent 60%, #ed823330); }
.pa-memory__grain { pointer-events: none; position: absolute; inset: 0; opacity: .22; background: repeating-linear-gradient(0deg, #071017 0 1px, transparent 1px 4px); mix-blend-mode: multiply; }
.pa-memory__top, .pa-memory__bottom { position: absolute; inset-inline: 7%; display: flex; justify-content: space-between; gap: .5rem; color: #eaf1e9; font-family: var(--pa-vcr); font-size: clamp(.7rem, 3.1cqw, 1.1rem); letter-spacing: .1em; z-index: 4; }
.pa-memory__top { top: 6%; }
.pa-memory__bottom { bottom: 5%; font-size: clamp(.6rem, 2.5cqw, .9rem); color: #bdd1cc; }
.pa-memory__type { position: absolute; top: 25%; left: 8%; width: 87%; z-index: 3; }
.pa-memory__eyebrow { display: block; font-family: var(--pa-vcr); text-transform: uppercase; font-size: 3.2cqw; letter-spacing: .19em; color: #c7f5ed; margin-bottom: 6%; }
.pa-memory__type strong { display: block; color: #fff4de; font-family: var(--wp--preset--font-family--display); font-size: 19cqw; font-weight: 700; line-height: .9; letter-spacing: -.07em; text-shadow: 0 2px 35px #0006; }
.pa-memory__type em { font-style: italic; color: transparent; -webkit-text-stroke: 1px #dff4e5; letter-spacing: -.08em; }
.pa-memory__rule { display: block; height: 2px; width: 15%; background: #3ee8f0; margin-block: 8% 5%; }
.pa-memory__sub { display: block; font-family: var(--pa-vcr); color: #e5ecde; font-size: 4.2cqw; letter-spacing: .06em; line-height: 1.3; }
.pa-memory__streaks { position: absolute; inset: -25%; overflow: hidden; transform: rotate(-24deg); mix-blend-mode: screen; opacity: .6; }
.pa-memory__streaks i { position: absolute; top: 0; left: 11%; height: 38%; width: 2px; background: linear-gradient(transparent, #bdfbff, transparent); box-shadow: 0 0 16px 4px #3ee8f04d; transform: translateY(-200%); }
.pa-memory__streaks i:nth-child(2) { left: 31%; width: 6px; opacity: .35; }
.pa-memory__streaks i:nth-child(3) { left: 49%; width: 1px; }
.pa-memory__streaks i:nth-child(4) { left: 64%; width: 4px; background: linear-gradient(transparent, #fff4df, transparent); }
.pa-memory__streaks i:nth-child(5) { left: 79%; width: 3px; }
.pa-memory__streaks i:nth-child(6) { left: 93%; width: 1px; }
.pa-memory.is-ready .pa-memory__streaks i { animation: pa-light-memory 3.7s cubic-bezier(.3,0,.7,1) infinite; }
.pa-memory.is-ready .pa-memory__streaks i:nth-child(2) { animation-delay: -1.7s; animation-duration: 5.1s; }
.pa-memory.is-ready .pa-memory__streaks i:nth-child(3) { animation-delay: -2.1s; animation-duration: 3.2s; }
.pa-memory.is-ready .pa-memory__streaks i:nth-child(4) { animation-delay: -3s; animation-duration: 4.6s; }
.pa-memory.is-ready .pa-memory__streaks i:nth-child(5) { animation-delay: -1.3s; }
.pa-memory.is-ready .pa-memory__streaks i:nth-child(6) { animation-delay: -2.7s; }
.pa-memory.is-paused * { animation-play-state: paused !important; }
.pa-memory-toggle { display: block; margin-top: 1.25rem; background: transparent; border: 1px solid #3ee8f060; border-radius: 3px; padding: .55rem .85rem; font: inherit; font-size: .8rem; color: #b5d5d6; cursor: pointer; }
.pa-memory-toggle[hidden] { display: none; }
.pa-memory-toggle:hover { color: #3ee8f0; border-color: #3ee8f0; }
.pa-memory-toggle:focus-visible { outline: 2px solid #ffca69; outline-offset: 4px; }
@keyframes pa-light-memory { to { transform: translateY(480%); } }
@media (max-width: 600px) { .pa-memory { margin: .5rem .25rem; } }
@media (prefers-reduced-motion: reduce) { .pa-memory__streaks { display: none; } .pa-memory-toggle { display: none; } }

.pa-memory__top [data-pa-memory-counter] { min-width: 12ch; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Side B — the arcade invitation. Essential game motion stays on its own page. */
.pa-arcade-teaser { border-block:1px solid #3ee8f033; background:linear-gradient(120deg,#10242e,#0a1420 65%,#211b2b); }
.pa-arcade-teaser .pa-arcade-details { color:#9cb5c4; font-size:.85rem; letter-spacing:.035em; }
