/* Rolleston Brass — main site styles
 *
 * Brand tokens are inherited from the sibling ticketing site (theme-home):
 * navy #28388f / #18203f, orange #f58220, river blue, light paper background.
 * A system/Inter font stack is used deliberately so no network font request
 * blocks first paint — this keeps Largest Contentful Paint fast for Lighthouse.
 */

:root {
	--navy: #28388f;
	--navy-deep: #18203f;
	--orange: #f58220;
	--orange-dark: #d86a12;
	--cta: #b85309;
	--cta-dark: #9c4708;
	--river: #42a1db;
	--river-deep: #2b6fa8;
	--ink: #18203f;
	--muted: #4f5a79;
	--paper: #ffffff;
	--surface: #f4f7fc;
	--surface-2: #eaf1fb;
	--line: rgba(40, 56, 143, 0.14);
	--shadow: 0 18px 50px rgba(24, 32, 63, 0.12);
	--shadow-sm: 0 6px 18px rgba(24, 32, 63, 0.08);
	--radius: 22px;
	--radius-lg: 32px;
	--maxw: 1160px;
	--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: var(--font);
	line-height: 1.6;
	background:
		radial-gradient(circle at 86% -4%, rgba(245, 130, 32, 0.12), transparent 22rem),
		radial-gradient(circle at 6% 2%, rgba(66, 161, 219, 0.16), transparent 24rem),
		linear-gradient(180deg, #f8fbff 0%, #eef4fb 60%, #f8fbff 100%);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	color: var(--navy-deep);
	letter-spacing: -0.02em;
}

h1 {
	font-size: clamp(2.4rem, 5vw, 3.9rem);
	font-weight: 800;
}

h2 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	font-weight: 800;
}

h3 {
	font-size: 1.2rem;
	font-weight: 700;
}

p {
	margin: 0 0 1rem;
}

a {
	color: var(--navy);
	text-decoration-color: rgba(40, 56, 143, 0.35);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-color: var(--orange);
}

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

/* Accessibility: visible focus + skip link */
:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
	border-radius: 6px;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100;
	padding: 12px 18px;
	background: var(--navy);
	color: #fff;
	border-radius: 0 0 10px 0;
	font-weight: 700;
}

.skip-link:focus {
	left: 0;
}

.container {
	width: min(var(--maxw), calc(100% - 40px));
	margin: 0 auto;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Header / navigation ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	flex: 0 0 auto;
}

.brand img {
	height: 42px;
	width: auto;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 12px;
	cursor: pointer;
	color: var(--navy);
}

.nav-toggle svg {
	width: 24px;
	height: 24px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.site-nav a {
	padding: 9px 14px;
	color: var(--muted);
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	border: 1px solid transparent;
	white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--navy-deep);
	background: rgba(40, 56, 143, 0.07);
}

.site-nav a[aria-current="page"] {
	color: var(--navy);
	background: rgba(40, 56, 143, 0.1);
}

.site-nav .nav-cta {
	color: #fff;
	background: var(--cta);
	border-color: var(--cta);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
	background: var(--cta-dark);
	color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	font-weight: 800;
	font-size: 1rem;
	text-decoration: none;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--cta);
	color: #fff;
	box-shadow: 0 12px 28px rgba(184, 83, 9, 0.3);
}

.btn-primary:hover {
	background: var(--cta-dark);
}

.btn-secondary {
	background: var(--navy);
	color: #fff;
}

.btn-secondary:hover {
	background: var(--navy-deep);
}

.btn-ghost {
	background: transparent;
	color: var(--navy);
	border-color: var(--line);
}

.btn-ghost:hover {
	background: rgba(40, 56, 143, 0.07);
}

/* ---------- Layout helpers ---------- */
section {
	padding: clamp(46px, 7vw, 84px) 0;
}

.section-tight {
	padding: clamp(30px, 4vw, 52px) 0;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 14px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--river-deep);
	background: var(--surface-2);
	border-radius: 999px;
}

.lead {
	font-size: clamp(1.06rem, 1.5vw, 1.25rem);
	color: var(--muted);
	max-width: 60ch;
}

.grid {
	display: grid;
	gap: 24px;
}

.grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow-sm);
}

.card h3 {
	color: var(--navy);
}

.card .card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 14px;
	background: var(--surface-2);
	color: var(--navy);
}

.card .card-icon svg {
	width: 26px;
	height: 26px;
}

/* ---------- Hero ---------- */
.hero {
	padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 64px);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1.16fr;
	align-items: center;
	gap: clamp(28px, 5vw, 56px);
}

.hero h1 {
	margin-bottom: 18px;
}

/* Tagline shown directly beneath the homepage <h1>; pulled up close to the
   heading so the brand name and tagline read as one grouped unit. */
.hero-tagline {
	margin: -8px 0 22px;
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.hero .lead {
	margin-bottom: 26px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-media {
	position: relative;
	border-radius: 34px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--surface-2);
	/* Soft, diffuse shadow instead of a hard 1px border for a gentler edge. */
	box-shadow:
		0 34px 70px -28px rgba(24, 32, 63, 0.42),
		0 14px 32px -16px rgba(24, 32, 63, 0.18);
}

/* A faint inner rim that softens where the photo meets the rounded frame. */
.hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
	pointer-events: none;
	z-index: 3;
}

.hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Hero slideshow: crossfading slides within the fixed 4:3 frame */
.hero-slideshow .slides {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	inset: 0;
}

.hero-slideshow .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 900ms ease;
}

.hero-slideshow .slide.is-active {
	opacity: 1;
}

.slide-dots {
	position: absolute;
	right: 16px;
	bottom: 18px;
	display: flex;
	gap: 8px;
	z-index: 2;
}

.slide-dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 1px 4px rgba(24, 32, 63, 0.4);
	cursor: pointer;
	transition: background 200ms ease, transform 200ms ease;
}

.slide-dots button:hover {
	background: rgba(255, 255, 255, 0.85);
}

.slide-dots button[aria-current="true"] {
	background: var(--orange);
	transform: scale(1.25);
}

.slide-dots button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.hero-slideshow .slide {
		transition: none;
	}
}

/* The hero photo and its caption are wrapped in a <figure>; reset the default
   figure margin so it sits flush within the hero grid column. */
.hero-figure {
	margin: 0;
}

/* Italic caption shown beneath the slideshow, updated per slide from site.js. */
.slide-caption {
	margin: 12px 4px 0;
	text-align: center;
	font-style: italic;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--muted);
}

.stat-row {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-top: 32px;
}

.stat {
	min-width: 110px;
}

.stat strong {
	display: block;
	font-size: 1.9rem;
	color: var(--orange-dark);
	line-height: 1;
}

.stat span {
	font-size: 0.9rem;
	color: var(--muted);
	font-weight: 600;
}

/* ---------- Banner / CTA strip ---------- */
.cta-band {
	background:
		radial-gradient(circle at 90% 10%, rgba(245, 130, 32, 0.35), transparent 40%),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(32px, 5vw, 56px);
	text-align: center;
	box-shadow: var(--shadow);
}

.cta-band h2 {
	color: #fff;
}

.cta-band p {
	color: rgba(255, 255, 255, 0.85);
	max-width: 52ch;
	margin-inline: auto;
}

.cta-band .hero-actions {
	justify-content: center;
	margin-top: 22px;
}

.cta-band .btn-ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.cta-band .btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* ---------- Mailing-list signup ---------- */
.signup {
	text-align: center;
}

#friends-of-rolleston-brass {
	scroll-margin-top: 88px;
}

.signup .eyebrow {
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
}

.signup-form {
	margin-top: 24px;
}

.signup-field {
	display: flex;
	gap: 12px;
	max-width: 520px;
	margin-inline: auto;
}

.signup-field input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 13px 18px;
	font-size: 1rem;
	color: var(--ink);
	background: #fff;
	border: 2px solid transparent;
	border-radius: 999px;
	box-shadow: 0 10px 26px rgba(24, 32, 63, 0.22);
}

.signup-field input::placeholder {
	color: var(--muted);
}

.signup-field input:focus-visible {
	outline: none;
	border-color: var(--cta);
}

.signup-field .btn {
	flex: 0 0 auto;
}

.signup-msg {
	min-height: 1.4em;
	margin: 14px auto 0;
	max-width: 52ch;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.92);
}

.signup-msg.is-success {
	color: #d8f5e3;
}

.signup-msg.is-error {
	color: #ffd9c2;
}

@media (max-width: 560px) {
	.signup-field {
		flex-direction: column;
	}

	.signup-field .btn {
		width: 100%;
	}
}

/* ---------- Sponsors ---------- */
.sponsor-strip {
	padding: clamp(22px, 3vw, 32px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.sponsor-heading {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
}

.sponsor-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	align-items: center;
}

.sponsor-logo-card {
	display: grid;
	min-height: 88px;
	place-items: center;
	padding: 12px 14px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.sponsor-logo-card img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 56px;
	object-fit: contain;
}

@media (max-width: 860px) {
	.sponsor-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.sponsor-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Events ---------- */
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
}

.section-head .lead {
	margin: 6px 0 0;
}

.events-list {
	display: grid;
	gap: 20px;
}

.event-card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 26px;
	box-shadow: var(--shadow-sm);
}

.event-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	padding: 12px;
	background: var(--surface-2);
	border-radius: 16px;
	text-align: center;
	color: var(--navy);
}

.event-date .day {
	font-size: 1.8rem;
	font-weight: 800;
	line-height: 1;
}

.event-date .mon {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.event-date .year {
	font-size: 0.72rem;
	color: var(--muted);
}

.event-body h3 {
	margin-bottom: 4px;
	color: var(--navy-deep);
}

.event-meta {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.event-meta span + span::before {
	content: "·";
	margin: 0 8px;
	color: var(--line);
}

.event-actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.event-status {
	display: inline-block;
	margin-top: 8px;
	padding: 3px 10px;
	font-size: 0.78rem;
	font-weight: 700;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--river-deep);
}

.event-status.sold-out {
	background: #fdecea;
	color: #c0392b;
}

.events-empty {
	padding: 30px;
	text-align: center;
	color: var(--muted);
	background: var(--paper);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
}

.events-note {
	margin-top: 16px;
	font-size: 0.9rem;
	color: var(--muted);
}

/* ---------- Prose (about/academy) ---------- */
.prose {
	max-width: 70ch;
}

.prose h2 {
	margin-top: 1.6em;
}

.prose ul {
	padding-left: 1.2em;
}

.prose li {
	margin-bottom: 0.5em;
}

.split {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
}

/* Image on the left, text on the right (alternating layout). */
.split--media-left {
	grid-template-columns: 0.9fr 1.1fr;
}

.media-frame {
	position: relative;
	border-radius: 34px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--surface-2);
	/* Soft, diffuse shadow rather than a hard border for a gentler edge. */
	box-shadow:
		0 34px 70px -28px rgba(24, 32, 63, 0.42),
		0 14px 32px -16px rgba(24, 32, 63, 0.18);
}

/* Faint inner rim softening where the photo meets the rounded frame. */
.media-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
	pointer-events: none;
	z-index: 3;
}

.media-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Portrait-oriented frame for a standing photo (e.g. a person), so it isn't
   cropped to a wide landscape strip like the default 4:3 media frame. */
.media-frame--portrait {
	aspect-ratio: 3 / 4;
	max-width: 460px;
	margin-inline: auto;
}

/* ---------- TODO marker (clearly visible to maintainers) ---------- */
.todo {
	display: inline-block;
	padding: 1px 8px;
	margin: 0 2px;
	font-size: 0.85em;
	font-weight: 700;
	color: #8a5a00;
	background: #fff4d6;
	border: 1px dashed #e0a800;
	border-radius: 6px;
}

/* ---------- Contact ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.contact-list li {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.contact-list .ci {
	flex: 0 0 auto;
	color: var(--navy);
}

.contact-list svg {
	width: 22px;
	height: 22px;
}

.social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-weight: 700;
	text-decoration: none;
	color: var(--navy-deep);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
}

.social-btn:hover {
	background: var(--surface-2);
}

.social-btn svg {
	width: 20px;
	height: 20px;
}

/* ---------- Open seats (vacancies) ---------- */

/* This section has no accompanying media, so let the intro lead use the full
   container width to match the body copy and seats list beneath it rather than
   sitting in a narrow left-hand column. */
#open-seats .lead {
	max-width: none;
}

.seats-list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.seats-list .seat {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 16px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 4px solid var(--navy);
	border-radius: 14px;
}

.seat-info {
	flex: 1 1 16rem;
	min-width: 0;
}

.seat-enquire {
	flex: 0 0 auto;
	padding: 9px 18px;
	font-size: 0.92rem;
	white-space: nowrap;
}

.seat-enquire-icon {
	flex: 0 0 auto;
}

.seat-name {
	display: block;
	font-weight: 700;
	color: var(--navy-deep);
}

.seat-detail {
	display: block;
	margin-top: 4px;
	color: var(--muted);
}

/* Status row used while loading and when no seats are advertised. */
.seats-list .seats-status {
	padding: 16px 20px;
	background: var(--surface-2);
	border: 1px dashed var(--line);
	border-radius: 14px;
	color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
	margin-top: clamp(40px, 6vw, 80px);
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.82);
	padding: 48px 0 28px;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img {
	height: 40px;
	width: auto;
	background: #fff;
	padding: 8px 12px;
	border-radius: 12px;
	margin-bottom: 14px;
}

.footer-col h3 {
	color: #fff;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col li {
	margin-bottom: 9px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ---------- Newsletters ---------- */
.hero-tight .lead {
	max-width: 64ch;
}

.newsletters {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: clamp(18px, 2.5vw, 28px);
	align-items: start;
}

.newsletter-list {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 18px;
}

.newsletter-list-title {
	font-size: 1rem;
	color: var(--navy);
	margin: 4px 6px 12px;
}

.newsletter-list ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: min(72vh, 860px);
	overflow-y: auto;
}

.newsletter-list-status {
	color: var(--muted);
	font-size: 0.92rem;
	padding: 8px 6px;
}

.newsletter-link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 11px 14px;
	border-radius: 14px;
	text-decoration: none;
	color: var(--ink);
	border: 1px solid transparent;
	transition: background 0.16s ease, border-color 0.16s ease;
}

.newsletter-link:hover {
	background: var(--surface-2);
}

.newsletter-link[aria-current="true"] {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.newsletter-link-primary {
	font-weight: 800;
}

.newsletter-link-secondary {
	font-size: 0.86rem;
	color: var(--muted);
}

.newsletter-link[aria-current="true"] .newsletter-link-secondary {
	color: rgba(255, 255, 255, 0.82);
}

.newsletter-viewer {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.newsletter-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.newsletter-current {
	margin: 0;
	font-weight: 800;
	color: var(--navy);
}

.newsletter-tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.newsletter-pageinfo {
	font-size: 0.85rem;
	color: var(--muted);
	margin-right: 4px;
}

.newsletter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1;
	color: var(--navy);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	cursor: pointer;
	text-decoration: none;
}

.newsletter-btn-text {
	font-size: 0.92rem;
}

.newsletter-btn:hover:not(:disabled) {
	background: var(--surface-2);
}

.newsletter-btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.newsletter-pages {
	height: min(78vh, 920px);
	overflow-y: auto;
	padding: 22px clamp(10px, 2vw, 22px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	background: var(--surface-2);
}

.newsletter-page {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: var(--shadow-sm);
	background: #fff;
}

.newsletter-placeholder {
	margin: auto;
	max-width: 42ch;
	text-align: center;
	color: var(--muted);
}

@media (max-width: 860px) {
	.newsletters {
		grid-template-columns: 1fr;
	}

	.newsletter-list ol {
		max-height: 280px;
	}

	.newsletter-pages {
		height: min(70vh, 720px);
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.hero-grid,
	.split,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.hero-figure {
		order: -1;
	}

	.grid-3,
	.grid-2 {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: fixed;
		inset: 72px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 14px 20px 22px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		transform: translateY(-130%);
		transition: transform 0.22s ease;
	}

	.site-nav[data-open="true"] {
		transform: translateY(0);
	}

	.site-nav a {
		padding: 13px 16px;
	}

	.event-card {
		grid-template-columns: auto 1fr;
	}

	.event-actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn,
	.event-actions .btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
