/*
Theme Name: Rosa Lee
Theme URI: https://rosaleeyoung.org
Author: RLY Parents Coalition
Description: Save Rosa Lee Young Childhood Center — a warm, urgent, community-driven theme for the parent-led fundraising effort to keep the school open through June 26.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: rosa-lee
*/

:root {
	/* Surfaces — soft off-white instead of warm cream */
	--rl-cream:        #fffaf2;
	--rl-cream-soft:   #fff3df;
	--rl-paper:        #ffffff;
	/* Text — warm taupe / brown family (vivvi-style) */
	--rl-ink:          #3d342c;
	--rl-ink-soft:     #665d55;
	--rl-ink-faint:    #9b9189;
	/* Was forest green — now warm dark brown for headings/dark surfaces */
	--rl-forest:       #3d342c;
	--rl-forest-deep:  #2a2620;
	--rl-forest-soft:  #5a4f44;
	/* Primary CTA — pumpkin orange (vivvi #ff7f00) */
	--rl-coral:        #ff7f00;
	--rl-coral-deep:   #e57100;
	--rl-coral-soft:   #ffe5cc;
	/* Sun — sunshine yellow */
	--rl-gold:         #ffd000;
	--rl-gold-soft:    #fff1b3;
	/* Playful primary accents (used in event card icons) */
	--rl-blue:         #2587ed;
	--rl-blue-soft:    #d3e6fa;
	--rl-green:        #39c02a;
	--rl-green-soft:   #d8f1d3;
	--rl-pink:         #ffb3d6;
	--rl-pink-soft:    #ffe0ed;
	--rl-rule:         #f0e4cf;
	--rl-shadow-sm:    0 1px 2px rgba(61, 52, 44, 0.07);
	--rl-shadow-md:    0 8px 24px rgba(61, 52, 44, 0.09);
	--rl-shadow-lg:    0 18px 48px rgba(61, 52, 44, 0.12);
	--rl-shadow-cta:   0 10px 28px rgba(255, 127, 0, 0.40), 0 2px 8px rgba(255, 127, 0, 0.28);
	--rl-sans:         "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--rl-serif:        "Lora", "Source Serif 4", Georgia, serif;
	--rl-radius:       14px;
	--rl-radius-lg:    22px;
	--rl-ease:         cubic-bezier(0.2, 0.7, 0.2, 1);
	--rl-measure:      720px;
	--rl-measure-wide: 1180px;
}

/* === reset === */

*, *::before, *::after { box-sizing: border-box; }

html {
	background: var(--rl-cream);
	color: var(--rl-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	background: var(--rl-cream);
	color: var(--rl-ink);
	font-family: var(--rl-serif);
	font-size: clamp(1.05rem, 0.4vw + 1rem, 1.15rem);
	line-height: 1.65;
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
}

::selection { background: var(--rl-coral); color: #fff; }

img, svg, video { max-width: 100%; height: auto; display: block; }

/* Skip link */
.skip-link {
	position: absolute; left: -9999px; top: 0;
}
.skip-link:focus {
	left: 1rem; top: 1rem;
	background: var(--rl-coral);
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	z-index: 10000;
	font-family: var(--rl-sans);
	font-weight: 600;
}

/* === base === */

.wp-site-blocks {
	padding-inline: 0;
	max-width: 100%;
	overflow-x: clip;
}

main { display: block; }

.rl-section {
	padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
	position: relative;
}

.rl-section-inner {
	max-width: var(--rl-measure-wide);
	margin-inline: auto;
}

.rl-shell {
	max-width: var(--rl-measure);
	margin-inline: auto;
}

.rl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--rl-sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rl-coral-deep);
	margin-bottom: 1rem;
}

.rl-eyebrow::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rl-coral);
	box-shadow: 0 0 0 4px var(--rl-coral-soft);
}

/* === typography === */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--rl-sans);
	color: var(--rl-forest);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 0 0 0.6em;
}

h1 {
	font-size: clamp(2.3rem, 3vw + 1.6rem, 3.8rem);
	letter-spacing: -0.025em;
	line-height: 1.05;
}

h2 {
	font-size: clamp(1.75rem, 1.6vw + 1.2rem, 2.5rem);
	letter-spacing: -0.015em;
}

h3 {
	font-size: clamp(1.2rem, 0.5vw + 1.05rem, 1.4rem);
	font-weight: 700;
}

p { margin: 0 0 1.2em; }

a {
	color: var(--rl-coral-deep);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	text-decoration-color: var(--rl-coral-soft);
	transition: color 160ms var(--rl-ease), text-decoration-color 160ms var(--rl-ease);
}

a:hover {
	color: var(--rl-forest);
	text-decoration-color: var(--rl-forest-soft);
}

a:focus-visible {
	outline: 2px solid var(--rl-coral);
	outline-offset: 3px;
	border-radius: 4px;
}

strong { color: var(--rl-forest-deep); font-weight: 700; }
em { font-style: italic; color: var(--rl-ink); }

.rl-lede {
	font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.32rem);
	color: var(--rl-ink-soft);
	line-height: 1.55;
	font-family: var(--rl-serif);
}

/* === buttons === */

.rl-btn,
.wp-block-button.is-style-rl-primary > .wp-block-button__link,
.wp-block-button.is-style-rl-secondary > .wp-block-button__link,
.wp-block-button.is-style-rl-ghost > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	font-family: var(--rl-sans);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	padding: 0.95rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 180ms var(--rl-ease), box-shadow 180ms var(--rl-ease), background 180ms var(--rl-ease), color 180ms var(--rl-ease);
	white-space: nowrap;
}

.rl-btn:focus-visible {
	outline: 3px solid var(--rl-forest-soft);
	outline-offset: 3px;
}

/* Primary CTA — coral, pulsing, impossible to miss */
.rl-btn-primary,
.wp-block-button.is-style-rl-primary > .wp-block-button__link {
	background: var(--rl-coral);
	color: #fff !important;
	box-shadow: var(--rl-shadow-cta);
	position: relative;
	z-index: 1;
}

.rl-btn-primary::before,
.wp-block-button.is-style-rl-primary > .wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 999px;
	background: var(--rl-coral);
	z-index: -1;
	opacity: 0.6;
	animation: rl-pulse 2.4s var(--rl-ease) infinite;
}

.rl-btn-primary:hover,
.wp-block-button.is-style-rl-primary > .wp-block-button__link:hover {
	background: var(--rl-coral-deep);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(255, 107, 53, 0.50), 0 3px 10px rgba(255, 107, 53, 0.30);
}

@keyframes rl-pulse {
	0%   { transform: scale(1);    opacity: 0.55; }
	70%  { transform: scale(1.18); opacity: 0; }
	100% { transform: scale(1.18); opacity: 0; }
}

/* Header CTA — slightly smaller */
.rl-btn-header {
	padding: 0.7rem 1.2rem;
	font-size: 0.95rem;
}

/* Secondary — forest green outline */
.rl-btn-secondary,
.wp-block-button.is-style-rl-secondary > .wp-block-button__link {
	background: var(--rl-forest);
	color: var(--rl-cream) !important;
	box-shadow: var(--rl-shadow-md);
}

.rl-btn-secondary:hover,
.wp-block-button.is-style-rl-secondary > .wp-block-button__link:hover {
	background: var(--rl-forest-deep);
	color: var(--rl-cream) !important;
	transform: translateY(-1px);
}

/* Ghost — text-style with underline on hover */
.rl-btn-ghost,
.wp-block-button.is-style-rl-ghost > .wp-block-button__link {
	background: transparent;
	color: var(--rl-forest) !important;
	border-color: var(--rl-forest);
}

.rl-btn-ghost:hover,
.wp-block-button.is-style-rl-ghost > .wp-block-button__link:hover {
	background: var(--rl-forest);
	color: var(--rl-cream) !important;
}

/* Heart icon inside primary button */
.rl-btn-heart {
	display: inline-block;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* === header === */

.rl-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 250, 242, 0.92);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 220ms var(--rl-ease), background 220ms var(--rl-ease);
}

.rl-header.is-scrolled {
	border-bottom-color: var(--rl-rule);
	background: rgba(255, 250, 242, 0.97);
}

.rl-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--rl-measure-wide);
	margin-inline: auto;
	padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
}

.rl-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none !important;
	color: var(--rl-forest);
}

.rl-brand:hover { color: var(--rl-forest-deep); }

.rl-brand-mark {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(150deg, var(--rl-coral) 0%, var(--rl-pink) 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: var(--rl-sans);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	box-shadow: var(--rl-shadow-sm);
	flex-shrink: 0;
}

.rl-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.rl-brand-name {
	font-family: var(--rl-sans);
	font-weight: 800;
	font-size: 1.02rem;
	color: var(--rl-forest-deep);
	letter-spacing: -0.01em;
}

.rl-brand-sub {
	font-family: var(--rl-sans);
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--rl-ink-soft);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-top: 2px;
}

.rl-header-nav {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

.rl-header-links {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

.rl-header-links a {
	font-family: var(--rl-sans);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--rl-forest);
	text-decoration: none;
}

.rl-header-links a:hover {
	color: var(--rl-coral-deep);
}

/* === hero === */

.rl-hero {
	position: relative;
	background: linear-gradient(160deg, var(--rl-pink-soft) 0%, var(--rl-cream) 50%, var(--rl-gold-soft) 100%);
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.25rem, 4.5vw, 3.5rem);
	overflow: hidden;
}

.rl-hero::before {
	content: "";
	position: absolute;
	top: -25%;
	right: -10%;
	width: 55vw;
	height: 55vw;
	max-width: 720px;
	max-height: 720px;
	background: radial-gradient(circle at center, rgba(37, 135, 237, 0.10), transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.rl-hero::after {
	content: "";
	position: absolute;
	bottom: -25%;
	left: -10%;
	width: 50vw;
	height: 50vw;
	max-width: 600px;
	max-height: 600px;
	background: radial-gradient(circle at center, rgba(255, 127, 0, 0.16), transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.rl-hero-inner {
	position: relative;
	z-index: 1;
	max-width: var(--rl-measure-wide);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.rl-hero-text { max-width: 38rem; }

.rl-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--rl-sans);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rl-coral-deep);
	background: rgba(255, 255, 255, 0.7);
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	margin-bottom: 1.4rem;
	box-shadow: var(--rl-shadow-sm);
}

.rl-hero-eyebrow-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rl-coral);
	box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.18);
	animation: rl-dot 1.6s var(--rl-ease) infinite;
}

@keyframes rl-dot {
	0%, 100% { box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.10); }
	50%      { box-shadow: 0 0 0 7px rgba(255, 127, 0, 0.22); }
}

.rl-hero-title {
	font-family: var(--rl-sans);
	color: var(--rl-forest-deep);
	font-weight: 800;
	font-size: clamp(2.4rem, 4vw + 1.4rem, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	margin: 0 0 1.2rem;
}

.rl-hero-title .rl-hero-emph {
	color: var(--rl-coral-deep);
	display: inline;
	background: linear-gradient(180deg, transparent 64%, rgba(255, 208, 0, 0.55) 64%, rgba(255, 208, 0, 0.55) 90%, transparent 90%);
	padding: 0 0.1em;
}

.rl-hero-blurb {
	font-family: var(--rl-serif);
	font-size: clamp(1.1rem, 0.5vw + 1rem, 1.32rem);
	color: var(--rl-ink-soft);
	line-height: 1.55;
	margin: 0 0 2rem;
	max-width: 36em;
}

.rl-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	margin-bottom: 1.6rem;
}

.rl-hero-trust {
	font-family: var(--rl-sans);
	font-size: 0.92rem;
	color: var(--rl-ink-soft);
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.rl-hero-trust strong {
	color: var(--rl-forest-deep);
}

/* Hero photo card — the school building */
.rl-hero-photo {
	margin: 0;
	justify-self: end;
	width: 100%;
	max-width: 480px;
	background: var(--rl-paper);
	border-radius: var(--rl-radius-lg);
	padding: 0.6rem 0.6rem 0;
	box-shadow: var(--rl-shadow-lg);
	position: relative;
	transform: rotate(1.2deg);
	transition: transform 320ms var(--rl-ease);
}

.rl-hero-photo::before {
	content: "";
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	width: 56px;
	height: 14px;
	background: var(--rl-gold);
	border-radius: 3px;
	box-shadow: 0 2px 6px rgba(255, 208, 0, 0.45);
	opacity: 0.92;
}

.rl-hero-photo:hover {
	transform: rotate(0deg);
}

.rl-hero-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--rl-radius-lg) - 8px);
	background: var(--rl-cream-soft);
}

.rl-hero-photo figcaption {
	font-family: var(--rl-sans);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--rl-ink-soft);
	letter-spacing: 0.01em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 0.4rem 0.95rem;
	justify-content: center;
}

.rl-hero-photo-pin {
	color: var(--rl-coral);
	font-size: 0.75rem;
	line-height: 1;
}

.rl-hero-photo-caption {
	display: inline;
}

/* === events === */

.rl-events {
	background: var(--rl-cream);
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 7vw, 6rem);
	position: relative;
}

.rl-events-head {
	max-width: var(--rl-measure);
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.rl-events-head h2 {
	margin: 0 0 0.7rem;
}

.rl-events-head p {
	font-family: var(--rl-serif);
	font-size: 1.18rem;
	color: var(--rl-ink-soft);
	max-width: 36rem;
	margin: 0 auto;
	line-height: 1.55;
}

.rl-events-grid {
	max-width: var(--rl-measure-wide);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.rl-event-card {
	background: var(--rl-paper);
	border: 1px solid var(--rl-rule);
	border-radius: var(--rl-radius-lg);
	box-shadow: var(--rl-shadow-sm);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	transition: transform 240ms var(--rl-ease), box-shadow 240ms var(--rl-ease), border-color 240ms var(--rl-ease);
}

.rl-event-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--rl-shadow-lg);
	border-color: var(--rl-gold);
}

.rl-event-photo {
	margin: 0;
	overflow: hidden;
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--rl-cream-soft);
}

.rl-event-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 520ms var(--rl-ease);
}

.rl-event-card:hover .rl-event-photo img {
	transform: scale(1.04);
}

.rl-event-photo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--rl-coral);
	opacity: 0.95;
}

.rl-event-card:nth-child(1) .rl-event-photo::after { background: var(--rl-pink); }
.rl-event-card:nth-child(2) .rl-event-photo::after { background: var(--rl-blue); }
.rl-event-card:nth-child(3) .rl-event-photo::after { background: var(--rl-gold); }
.rl-event-card:nth-child(4) .rl-event-photo::after { background: var(--rl-green); }

.rl-event-body {
	padding: 1.75rem 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.rl-event-title {
	font-family: var(--rl-sans);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--rl-forest-deep);
	margin: 0 0 0.6rem;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.rl-event-desc {
	font-family: var(--rl-serif);
	color: var(--rl-ink-soft);
	font-size: 1rem;
	line-height: 1.55;
	margin: 0 0 1.4rem;
	flex-grow: 1;
}

.rl-event-meta {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 0.85rem 1rem;
	background: var(--rl-cream);
	border-radius: 10px;
	margin-bottom: 1.4rem;
}

.rl-event-meta-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--rl-sans);
	font-size: 0.88rem;
	color: var(--rl-forest);
	font-weight: 500;
}

.rl-event-meta-icon {
	color: var(--rl-coral-deep);
	font-weight: 700;
	width: 14px;
	flex-shrink: 0;
	text-align: center;
	font-size: 0.95rem;
}

.rl-event-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--rl-sans);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--rl-coral-deep);
	text-decoration: none;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	transition: gap 200ms var(--rl-ease), color 200ms var(--rl-ease);
	align-self: flex-start;
}

.rl-event-cta:hover {
	gap: 0.7rem;
	color: var(--rl-forest-deep);
}

.rl-event-cta-arrow {
	transition: transform 200ms var(--rl-ease);
}

.rl-event-cta:hover .rl-event-cta-arrow {
	transform: translateX(2px);
}

/* === why === */

.rl-why {
	background: linear-gradient(160deg, var(--rl-forest-soft) 0%, var(--rl-forest) 55%, var(--rl-forest-deep) 100%);
	color: var(--rl-cream);
	padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
	position: relative;
	overflow: hidden;
}

.rl-why::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 50vw;
	height: 50vw;
	max-width: 600px;
	max-height: 600px;
	background: radial-gradient(circle at center, rgba(255, 127, 0, 0.18), transparent 65%);
	pointer-events: none;
}

.rl-why::after {
	content: "";
	position: absolute;
	bottom: -25%;
	left: -8%;
	width: 40vw;
	height: 40vw;
	max-width: 480px;
	max-height: 480px;
	background: radial-gradient(circle at center, rgba(255, 208, 0, 0.10), transparent 65%);
	pointer-events: none;
}

.rl-why-inner {
	max-width: var(--rl-measure);
	margin-inline: auto;
	position: relative;
	z-index: 1;
	text-align: center;
}

.rl-why .rl-eyebrow {
	color: var(--rl-gold);
}

.rl-why .rl-eyebrow::before {
	background: var(--rl-gold);
	box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.22);
}

.rl-why h2 {
	color: var(--rl-cream);
	margin-bottom: 2rem;
}

.rl-why-quote {
	font-family: var(--rl-serif);
	font-style: italic;
	font-size: clamp(1.3rem, 1vw + 1.05rem, 1.7rem);
	line-height: 1.45;
	color: #fff;
	margin: 0 0 1.4rem;
	position: relative;
	padding: 0 1.5rem;
}

.rl-why-quote::before {
	content: "\201C";
	font-family: var(--rl-serif);
	font-size: 5rem;
	color: var(--rl-gold);
	position: absolute;
	top: -1.6rem;
	left: 50%;
	transform: translateX(-50%);
	line-height: 1;
	opacity: 0.55;
	font-weight: 700;
}

.rl-why-cite {
	font-family: var(--rl-sans);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--rl-gold);
	font-style: normal;
	letter-spacing: 0.04em;
	margin-top: 1.5rem;
	display: block;
}

.rl-why-cite span {
	display: block;
	color: rgba(253, 246, 231, 0.7);
	font-weight: 400;
	font-size: 0.85rem;
	margin-top: 0.2rem;
	letter-spacing: 0.02em;
}

.rl-why-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 3rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(253, 246, 231, 0.18);
}

.rl-why-stat-num {
	font-family: var(--rl-sans);
	font-weight: 800;
	font-size: clamp(1.8rem, 1.6vw + 1.2rem, 2.6rem);
	color: var(--rl-gold);
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;
}

.rl-why-stat-label {
	font-family: var(--rl-sans);
	font-size: 0.85rem;
	color: rgba(253, 246, 231, 0.85);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

/* === share === */

.rl-share {
	background: var(--rl-cream);
	padding: clamp(4rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
}

.rl-share-inner {
	max-width: var(--rl-measure);
	margin-inline: auto;
	text-align: center;
}

.rl-share h2 {
	margin: 0 0 0.8rem;
}

.rl-share-blurb {
	font-family: var(--rl-serif);
	font-size: 1.15rem;
	color: var(--rl-ink-soft);
	max-width: 32rem;
	margin: 0 auto 2rem;
	line-height: 1.55;
}

.rl-share-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	margin-top: 2rem;
}

.rl-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--rl-sans);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.75rem 1.3rem;
	border-radius: 999px;
	background: var(--rl-paper);
	border: 1px solid var(--rl-rule);
	color: var(--rl-forest);
	text-decoration: none !important;
	cursor: pointer;
	transition: all 180ms var(--rl-ease);
	box-shadow: var(--rl-shadow-sm);
}

.rl-share-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--rl-shadow-md);
	color: var(--rl-forest-deep);
	border-color: var(--rl-coral);
}

.rl-share-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.rl-share-btn[data-rl-copied="true"] {
	background: var(--rl-forest);
	color: var(--rl-cream);
	border-color: var(--rl-forest);
}

.rl-share-btn[data-rl-copied="true"] svg { color: var(--rl-gold); }

/* === footer === */

.rl-footer {
	background: var(--rl-forest-deep);
	color: var(--rl-cream);
	padding: clamp(3.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
}

.rl-footer-inner {
	max-width: var(--rl-measure-wide);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(253, 246, 231, 0.12);
}

.rl-footer-cta {
	font-family: var(--rl-sans);
}

.rl-footer-cta-eyebrow {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rl-gold);
	margin-bottom: 0.7rem;
	display: block;
}

.rl-footer-cta-title {
	font-family: var(--rl-sans);
	color: #fff;
	font-size: clamp(1.6rem, 1vw + 1.3rem, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 1rem;
}

.rl-footer-cta-blurb {
	font-family: var(--rl-serif);
	color: rgba(253, 246, 231, 0.85);
	margin: 0 0 1.6rem;
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 28rem;
}

.rl-footer-cta-action { justify-self: end; align-self: center; }

.rl-footer-meta {
	max-width: var(--rl-measure-wide);
	margin: 1.5rem auto 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	font-family: var(--rl-sans);
	font-size: 0.88rem;
	color: rgba(253, 246, 231, 0.75);
}

.rl-footer-school {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.rl-footer-school .rl-brand-mark {
	width: 32px; height: 32px;
	border-radius: 9px;
	font-size: 0.85rem;
}

.rl-footer-school-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.rl-footer-school-name {
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
}

.rl-footer-school-place {
	color: rgba(253, 246, 231, 0.65);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-top: 2px;
}

.rl-footer-disclaimer {
	color: rgba(253, 246, 231, 0.55);
	font-size: 0.8rem;
	max-width: 32rem;
	text-align: right;
}

/* === motion === */

.rl-anim-prep .rl-fade {
	opacity: 0;
	transform: translateY(14px);
}

.rl-fade {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 700ms var(--rl-ease), transform 700ms var(--rl-ease);
	transition-delay: var(--rl-fade-delay, 0ms);
}

.rl-fade-1 { --rl-fade-delay:  60ms; }
.rl-fade-2 { --rl-fade-delay: 180ms; }
.rl-fade-3 { --rl-fade-delay: 320ms; }
.rl-fade-4 { --rl-fade-delay: 460ms; }
.rl-fade-5 { --rl-fade-delay: 600ms; }

.rl-anim-prep .rl-event-card {
	opacity: 0;
	transform: translateY(20px);
}

.rl-event-card {
	transition: transform 240ms var(--rl-ease), box-shadow 240ms var(--rl-ease), border-color 240ms var(--rl-ease), opacity 700ms var(--rl-ease);
}

.rl-events-grid .rl-event-card:nth-child(1) { transition-delay: 0ms,    0ms,    0ms,    100ms; }
.rl-events-grid .rl-event-card:nth-child(2) { transition-delay: 0ms,    0ms,    0ms,    220ms; }
.rl-events-grid .rl-event-card:nth-child(3) { transition-delay: 0ms,    0ms,    0ms,    340ms; }
.rl-events-grid .rl-event-card:nth-child(4) { transition-delay: 0ms,    0ms,    0ms,    460ms; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.rl-anim-prep .rl-fade,
	.rl-anim-prep .rl-event-card,
	.rl-fade,
	.rl-event-card {
		opacity: 1 !important;
		transform: none !important;
	}
	.rl-btn-primary::before,
	.wp-block-button.is-style-rl-primary > .wp-block-button__link::before { animation: none; opacity: 0; }
	.rl-hero-eyebrow-dot { animation: none; }
}

/* === responsive === */

@media (max-width: 960px) {
	.rl-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
	.rl-hero-photo { justify-self: stretch; max-width: 100%; transform: none; }
	.rl-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
	.rl-footer-cta-action { justify-self: start; }
}

@media (max-width: 720px) {
	.rl-header-inner { padding: 0.7rem 1.25rem; }
	.rl-brand-sub { display: none; }
	.rl-header-links { display: none; }
	.rl-events-grid { grid-template-columns: 1fr; }
	.rl-why-stats { grid-template-columns: 1fr; gap: 1.6rem; }
	.rl-event-body { padding: 1.5rem 1.5rem 1.5rem; }
	.rl-footer-meta { flex-direction: column; align-items: flex-start; }
	.rl-footer-disclaimer { text-align: left; }
}

@media (max-width: 480px) {
	.rl-btn-header { padding: 0.6rem 1rem; font-size: 0.88rem; }
	.rl-brand-name { font-size: 0.95rem; }
	.rl-hero-eyebrow { font-size: 0.72rem; }
	.rl-hero-photo figcaption { font-size: 0.78rem; }
}

/* WP block defaults */
.wp-block-buttons { gap: 1rem 1.25rem; }
.wp-block-button__link { border-radius: 999px; }

/* Editor */
.editor-styles-wrapper {
	background: var(--rl-cream);
	color: var(--rl-ink);
	font-family: var(--rl-serif);
}
