/* ==========================================================================
   Primrose Flightpath — brand tokens
   Halloween orange/purple blending into Christmas red/green/gold, on a
   dark navy/near-black night-sky background for contrast sections.
   ========================================================================== */
:root {
	--orange: #FF7A1A;
	--purple: #7A3FA0;
	--red: #C8102E;
	--green: #0F7A3D;
	--gold: #F2B705;
	--navy: #0B0F1E;
	--navy-2: #131A31;

	--ink: #1A1A2E;
	--body-text: #3A3A46;
	--muted: #6B6B78;
	--paper: #FFFFFF;
	--paper-alt: #F7F6FA;
	--border: #E7E5EF;

	--brand-gradient: linear-gradient(90deg, var(--red) 0%, var(--orange) 30%, var(--gold) 55%, var(--green) 75%, var(--purple) 100%);
	--night-gradient: radial-gradient(120% 140% at 15% 0%, #2A1740 0%, var(--navy) 45%, #060811 100%);

	--font-heading: 'Baloo 2', 'Poppins', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 12px 30px -12px rgba(11, 15, 30, 0.35);
}

/* ==========================================================================
   Reset-ish base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--body-text);
	background: var(--paper);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--ink);
	line-height: 1.15;
	margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	top: -40px; left: 8px;
	background: var(--ink); color: #fff;
	padding: 10px 16px; border-radius: 8px;
	z-index: 1000;
}
.skip-link:focus { top: 8px; width: auto; height: auto; clip: auto; overflow: visible; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	padding: 14px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary {
	background: var(--purple);
	color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(122, 63, 160, 0.55); }
.btn--glow {
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}
.btn--outline {
	background: transparent;
	color: var(--orange);
	border-color: var(--orange);
}
.btn--outline:hover { background: var(--orange); color: #fff; }
.btn--ghost {
	background: var(--paper-alt);
	color: var(--ink);
	border-color: var(--border);
}
.btn--ghost:hover { background: var(--border); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--border);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 24px;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { max-height: 64px; width: auto; }
.site-logo__fallback {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.15rem;
	background: var(--brand-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.site-logo__icon { color: var(--purple); flex-shrink: 0; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	background: none;
	border: none;
	cursor: pointer;
}
.nav-toggle__bar { width: 100%; height: 2.5px; background: var(--ink); border-radius: 2px; }

.primary-menu {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0; padding: 0;
}
.primary-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink);
	transition: background 0.15s ease, color 0.15s ease;
}
.primary-menu a:hover,
.primary-menu li.current-menu-item a {
	background: var(--paper-alt);
	color: var(--purple);
}

@media (max-width: 780px) {
	.nav-toggle { display: flex; }
	.primary-nav {
		display: none;
		width: 100%;
		order: 3;
	}
	.primary-nav.is-open { display: block; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 16px; }
	.site-header__inner { flex-wrap: wrap; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	background: var(--night-gradient);
	color: #fff;
	overflow: hidden;
}
.hero__stars {
	position: absolute; inset: 0;
	background-image:
		radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,0.8), transparent),
		radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,0.6), transparent),
		radial-gradient(1px 1px at 40% 60%, rgba(255,255,255,0.5), transparent),
		radial-gradient(1.5px 1.5px at 85% 70%, rgba(255,255,255,0.7), transparent),
		radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,0.4), transparent),
		radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,0.5), transparent);
	background-repeat: repeat;
	background-size: 400px 400px;
	opacity: 0.8;
}
.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	align-items: center;
	gap: 40px;
	padding: 88px 24px 72px;
}
.hero__title {
	color: #fff;
	font-size: clamp(2rem, 4.2vw, 3.2rem);
	margin-bottom: 0.3em;
}
.hero__subtitle {
	font-size: 1.15rem;
	color: #D9D6E8;
	margin-bottom: 1.6em;
}
.hero__art {
	color: var(--gold);
	filter: drop-shadow(0 0 24px rgba(242, 183, 5, 0.25));
	justify-self: center;
	width: min(320px, 70%);
}
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: 56px; }
	.hero__art { width: 200px; margin: 0 auto; order: -1; }
}

/* ==========================================================================
   Schedule teaser (Home)
   ========================================================================== */
.schedule-teaser { padding: 56px 0; background: var(--paper); }
.schedule-teaser__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}
.schedule-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 26px 28px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border-left: 6px solid transparent;
	transition: transform 0.15s ease;
}
.schedule-card:hover { transform: translateY(-3px); }
.schedule-card--myrtle { background: linear-gradient(135deg, #F4EBFB 0%, #FFF1E6 100%); border-color: var(--purple); }
.schedule-card--halloween { background: linear-gradient(135deg, #FFF1E6 0%, #FFE4D1 100%); border-color: var(--orange); }
.schedule-card--christmas { background: linear-gradient(135deg, #EAF7EF 0%, #FFFDF0 100%); border-color: var(--green); }
.schedule-card__icon { font-size: 2.2rem; line-height: 1; }
.schedule-card__title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.schedule-card__meta { display: block; font-size: 0.95rem; color: var(--muted); margin-top: 2px; }
.primrose-badge {
	position: absolute;
	top: -10px; right: 16px;
	background: var(--red);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	box-shadow: 0 4px 10px -3px rgba(200, 16, 46, 0.6);
}
@media (max-width: 960px) { .schedule-teaser__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .schedule-teaser__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pulsemesh callout
   ========================================================================== */
.pulsemesh-callout {
	padding: 8px 0 56px;
	background: var(--paper);
}
.pulsemesh-callout__inner {
	display: flex;
	align-items: center;
	gap: 22px;
	background: linear-gradient(135deg, #FFF3E6 0%, #FFE9D6 100%);
	border: 1px solid #FFD9AE;
	border-radius: var(--radius);
	padding: 26px 30px;
}
.pulsemesh-callout__icon {
	font-size: 2.4rem;
	width: 64px; height: 64px;
	flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: #fff;
	border-radius: 50%;
	box-shadow: var(--shadow);
}
.pulsemesh-callout__text { flex: 1; }
.pulsemesh-callout__text h2 { font-size: 1.35rem; margin-bottom: 0.25em; }
.pulsemesh-callout__text p { margin: 0; color: var(--muted); }
@media (max-width: 700px) {
	.pulsemesh-callout__inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Gallery preview (Home)
   ========================================================================== */
.gallery-preview { padding: 8px 0 64px; background: var(--paper); }
.section-heading { text-align: center; margin-bottom: 28px; font-size: 1.6rem; }
.gallery-preview__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.gallery-preview__item {
	display: block;
	border-radius: var(--radius-sm);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--navy);
}
.gallery-preview__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery-preview__item:hover img { transform: scale(1.05); }
.gallery-preview__more { text-align: center; margin: 28px 0 0; }
@media (max-width: 780px) { .gallery-preview__grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Page intros (Schedule / Gallery / Watch Live)
   ========================================================================== */
.page-intro--dark {
	background: var(--night-gradient);
	color: #fff;
	padding: 64px 0 48px;
	text-align: center;
}
.page-intro--dark h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.page-intro--dark p { color: #D9D6E8; max-width: 46ch; margin: 0 auto; }

/* ==========================================================================
   Schedule page: stop sections
   ========================================================================== */
.stop { padding: 64px 0; }
.stop--alt { background: var(--paper-alt); }
.stop__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.stop__inner--reverse { direction: rtl; }
.stop__inner--reverse > * { direction: ltr; }
.stop__eyebrow {
	display: inline-block;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.stop__eyebrow--myrtle { background: #F4EBFB; color: var(--purple); }
.stop__eyebrow--halloween { background: #FFF1E6; color: var(--orange); }
.stop__eyebrow--christmas { background: #EAF7EF; color: var(--green); }
.stop__dates { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.stop__address { color: var(--muted); }
.stop__hours { font-weight: 600; color: var(--ink); margin-top: 0.6em; }
.stop__extended { color: var(--muted); font-size: 0.92rem; font-style: italic; margin-top: 0.2em; }
.stop h3 { margin-top: 1.4em; font-size: 1.05rem; }
.stop__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stop__map iframe { width: 100%; height: 320px; border: 0; display: block; }
.stop__map-placeholder {
	height: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--navy-2);
	color: #B9B6CC;
	text-align: center;
	padding: 24px;
}
.stop__map-placeholder span { font-size: 2rem; }
@media (max-width: 820px) {
	.stop__inner, .stop__inner--reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ==========================================================================
   Gallery page
   ========================================================================== */
.gallery-content { padding: 56px 0 16px; }
.gallery-content__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.gallery-content .wp-block-gallery,
.gallery-content figure.wp-block-image { border-radius: var(--radius-sm); overflow: hidden; }
.gallery-video { padding: 40px 0 64px; }
.gallery-video__embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-video__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Watch Live
   ========================================================================== */
.watch-live { padding: 64px 0 80px; background: var(--paper); }
.watch-live__inner { max-width: 640px; margin: 0 auto; }
.watch-live__placeholder {
	text-align: center;
	background: var(--paper-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 48px 36px;
}
.watch-live__icon {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 72px; height: 72px;
	font-size: 2.2rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--shadow);
	margin-bottom: 18px;
}
.watch-live__placeholder h2 { font-size: 1.5rem; }
.watch-live__follow { margin-top: 22px; font-size: 0.92rem; color: var(--muted); }
.watch-live__follow a { color: var(--purple); font-weight: 600; margin: 0 4px; }
.watch-live__embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.watch-live__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-content { padding: 56px 0 80px; }
.contact-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-top: 12px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--purple);
	box-shadow: 0 0 0 3px rgba(122, 63, 160, 0.15);
}
.contact-form .btn { margin-top: 20px; align-self: flex-start; }
.contact-form__honeypot { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.notice--success { background: #E9F8EE; color: var(--green); border: 1px solid #BEE8CB; }
.notice--error { background: #FCEAEA; color: var(--red); border: 1px solid #F3C4C4; }

.contact-aside { background: var(--paper-alt); border-radius: var(--radius); padding: 28px; }
.contact-aside h2 { font-size: 1.2rem; }
.contact-aside__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-aside__links a { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.contact-aside__links svg { color: var(--purple); flex-shrink: 0; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Generic page-extra (block content areas)
   ========================================================================== */
.page-extra { padding: 40px 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #C7C4D9; padding: 40px 0 28px; }
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}
.site-footer__logo { color: var(--gold); }
.footer-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.footer-menu a:hover { color: #fff; }
.site-footer__social { display: flex; gap: 10px; }
.social-icon {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	color: #fff;
	transition: background 0.15s ease, transform 0.15s ease;
}
.social-icon:hover { transform: translateY(-2px); }
.social-icon--facebook:hover { background: #1877F2; }
.social-icon--youtube:hover { background: #FF0000; }
.site-footer__copy { width: 100%; text-align: center; font-size: 0.82rem; color: #8E8AA3; margin: 8px 0 0; order: 4; }
