/*
Theme Name: Hello Elementor Child — Metta
Theme URI: https://wearemetta.com
Description: Metta design tokens, fonts, custom header/footer, and hero components. Builder-free — works with the native block editor; the Elementor plugin is not required (Hello Elementor is used only as a minimal parent theme).
Author: Metta
Template: hello-elementor
Version: 2.10.5
*/

/* ---------------------------------------------------------------
 * DESIGN TOKENS — the single source of truth for the redesign.
 * Reference these in Elementor via custom CSS or global colors.
 * --------------------------------------------------------------- */
:root {
	--m-ink:    #0a0d15;
	--m-surface:#111624;
	--m-dusk:   #2a1e3f;
	--m-line:   rgba(237, 231, 220, .12);
	--m-sand:   #ede7dc;
	--m-muted:  #8b93a5;
	--m-coral:  #ff6b52;
	--m-coral-hover: #ff7f6a;

	--m-font-display: 'Clash Display', system-ui, sans-serif;
	--m-font-body:    'Satoshi', system-ui, sans-serif;
	--m-font-mono:    'JetBrains Mono', monospace;

	--m-nav-h: 5.5rem;
	--m-pad-x: clamp(1.25rem, 4vw, 3rem);
	--m-pad-section: clamp(4rem, 9vw, 7.5rem);
}

/* ---------------------------------------------------------------
 * GLOBAL
 * --------------------------------------------------------------- */
/* B7 — #signal and any other in-page anchor must clear the fixed nav. */
html { scroll-padding-top: var(--m-nav-h); }

body {
	background: var(--m-ink);
	color: var(--m-sand);
	font-family: var(--m-font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden; /* guards the full-bleed breakout below */
}

/* ---------------------------------------------------------------
 * V2 — PARENT THEME OVERRIDES
 * hello-elementor ships a #cc3366 accent on links and on
 * button:hover/:focus. Coral is the only accent on this site.
 * --------------------------------------------------------------- */
a { color: var(--m-coral); }
.metta-card, .metta-card *,
.metta-row, .metta-row *,
.m-nav a, .m-footer a { color: inherit; }
.hive-signup-form a,
.m-signal a { color: var(--m-coral); }

.m-menu-toggle:hover,
.m-menu-toggle:focus,
.m-menu-toggle:focus-visible {
	background: transparent;
	color: var(--m-sand);
	border-color: var(--m-coral);
}

/* T3 — skip link: off-screen until focused, then a coral pill. */
.m-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--m-coral);
	color: var(--m-ink);
	font-family: var(--m-font-mono);
	font-size: .8rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: .7rem 1.1rem;
	border-radius: 0 0 10px 0;
	text-decoration: none;
}
.m-skip:focus {
	left: 0;
	color: var(--m-ink);
}

/* Breakout: if the hero ever renders inside a boxed content
 * container (non-canvas template), stretch it to the viewport
 * anyway. On the canvas template this is a harmless no-op. */
.m-hero, .m-ticker {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
::selection { background: var(--m-coral); color: var(--m-ink); }

/* Link underlines: off by default sitewide (WP/Hello global styles
 * underline everything). Re-enabled deliberately for prose links,
 * where underlines actually aid reading. */
a, a:where(:not(.wp-element-button)),
.metta-ros a, .metta-ros a *,
.metta-announce-grid a, .metta-announce-grid a *,
.wp-block-button__link, .m-btn, .m-btn-ghost {
	text-decoration: none;
}
.m-prose a, .m-event-body a {
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--m-sand);
}
.m-prose a:hover, .m-event-body a:hover { color: var(--m-coral); }

h1, h2, h3, h4 {
	font-family: var(--m-font-display);
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--m-sand);
}
h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
.m-dot { color: var(--m-coral); } /* the terminal period: <h2>shows<span class="m-dot">.</span></h2> */

.m-mono {
	font-family: var(--m-font-mono);
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--m-muted);
}

/* Buttons — apply .m-btn / .m-btn-ghost to Elementor buttons via
 * Advanced > CSS Classes, or use plain <a> tags in HTML widgets. */
.m-btn {
	display: inline-block;
	padding: .65rem 1.4rem;
	border-radius: 999px;
	background: var(--m-coral);
	color: var(--m-ink) !important;
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	transition: transform .2s, background .2s;
}
.m-btn:hover { transform: translateY(-2px); background: var(--m-coral-hover); }

.m-btn-ghost {
	display: inline-block;
	padding: .65rem 1.4rem;
	border-radius: 999px;
	border: 1px solid var(--m-line);
	color: var(--m-sand) !important;
	font-weight: 500;
	font-size: .9rem;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.m-btn-ghost:hover { border-color: var(--m-coral); color: var(--m-coral) !important; }

/* ---------------------------------------------------------------
 * HERO — rendered by the [metta_hero] shortcode (functions.php).
 * --------------------------------------------------------------- */
.m-hero {
	min-height: 100svh;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	background:
		radial-gradient(120% 65% at 50% 115%, rgba(255,107,82,.32) 0%, rgba(255,107,82,.10) 38%, transparent 62%),
		radial-gradient(90% 60% at 80% 110%, rgba(93,63,138,.35) 0%, transparent 60%),
		linear-gradient(to bottom, var(--m-ink) 0%, #0d1120 55%, var(--m-dusk) 100%);
}
/* V4 - crowd photo behind the hero. The brand kit treatment (blacks
 * lifted toward ink, warmth up, saturation honest, exposure down) is
 * baked into the file, so no opacity hack is needed and the headline
 * always clears it. Positioned so the rig and flames fill the upper
 * screen and the crowd sits behind the type. */
.m-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(to bottom,
			rgba(10, 13, 21, .30) 0%,
			rgba(10, 13, 21, .08) 28%,
			rgba(10, 13, 21, .72) 76%,
			var(--m-ink) 100%),
		url('/wp-content/uploads/2026/09/metta-hero-1400.jpg') center 42% / cover no-repeat;
}
@media (min-width: 900px) {
	.m-hero::before {
		background-image:
			linear-gradient(to bottom,
				rgba(10, 13, 21, .30) 0%,
				rgba(10, 13, 21, .08) 28%,
				rgba(10, 13, 21, .72) 76%,
				var(--m-ink) 100%),
			url('/wp-content/uploads/2026/09/metta-hero-2400.jpg');
	}
}

.m-hero::after { /* grain */
	content: '';
	position: absolute; inset: 0;
	pointer-events: none;
	opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.m-hero-inner {
	padding: 0 var(--m-pad-x) 6.5rem;
	position: relative;
	z-index: 2;
}
/* V3 — coral is rationed: the period, "practiced loudly." and the
 * button carry it on this screen. The eyebrow and ticker dates don't. */
.m-hero-eyebrow { color: var(--m-muted); margin-bottom: 1.5rem; display: block; }
.m-hero h1 {
	font-size: clamp(2.6rem, 8vw, 6.5rem);
	line-height: 1.02;
	letter-spacing: -.03em;
	max-width: 16ch;
	margin: 0;
}
/* T3 — .m-phonetic moved out of the h1 to a sibling <p>. Selector
 * matches both so an older cached hero still renders correctly. */
.m-hero .m-phonetic,
.m-hero h1 .m-phonetic {
	display: block;
	font-family: var(--m-font-mono);
	font-weight: 400;
	font-size: clamp(.85rem, 1.6vw, 1.05rem);
	letter-spacing: .08em;
	color: var(--m-muted);
	margin: 0 0 1.2rem;
	text-transform: none;
}
.m-hero h1 em { font-style: normal; color: var(--m-coral); }
.m-hero-sub {
	margin-top: 1.6rem;
	max-width: 44ch;
	color: var(--m-muted);
	font-size: 1.05rem;
}
.m-hero-cta {
	margin-top: 2.2rem;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
}

/* ---------------------------------------------------------------
 * TICKER — auto-populated from Metta Shows plugin data.
 * --------------------------------------------------------------- */
.m-ticker {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--m-line);
	border-bottom: 1px solid var(--m-line);
	overflow: hidden;
	white-space: nowrap;
	padding: .85rem 0;
	background: rgba(10, 13, 21, .35);
}
.m-ticker-track { display: inline-block; animation: m-scroll 40s linear infinite; }
.m-ticker span { margin: 0 2rem; color: var(--m-muted); font-size: .95rem; }
.m-ticker b { color: var(--m-sand); font-weight: 500; }
.m-ticker i { color: var(--m-sand); font-style: normal; }
@keyframes m-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------
 * GENRE CHIPS + SIGNUP SECTION
 * Wrap the Hive embed in <div class="m-signal"> and these styles
 * pull its inputs into the design without touching Hive's JS.
 * --------------------------------------------------------------- */
.m-signal {
	background:
		radial-gradient(80% 100% at 50% 0%, rgba(255,107,82,.14), transparent 60%),
		var(--m-surface);
	border-top: 1px solid var(--m-line);
	border-bottom: 1px solid var(--m-line);
	text-align: center;
}
.m-chips { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin: 0 0 2rem; }
.m-chip {
	padding: .55rem 1.2rem;
	border-radius: 999px;
	border: 1px solid var(--m-line);
	font-size: .9rem;
	color: var(--m-muted);
	cursor: pointer;
	background: none;
	font-family: inherit;
	transition: all .2s;
}
.m-chip.on, .m-chip:hover {
	border-color: var(--m-coral);
	color: var(--m-coral);
	background: rgba(255,107,82,.08);
}
.m-signal input[type="email"],
.m-signal input[type="text"],
.m-signal input[type="tel"] {
	background: var(--m-ink);
	border: 1px solid var(--m-line);
	border-radius: 999px;
	padding: .8rem 1.3rem;
	color: var(--m-sand);
	font-family: var(--m-font-body);
	font-size: .95rem;
}
.m-signal input:focus { outline: 2px solid var(--m-coral); outline-offset: 2px; }
.m-signal button[type="submit"], .m-signal input[type="submit"] {
	border-radius: 999px;
	background: var(--m-coral);
	color: var(--m-ink);
	font-weight: 700;
	border: 0;
	padding: .8rem 1.6rem;
	cursor: pointer;
}

/* ---------------------------------------------------------------
 * SITE NAV (header.php)
 * --------------------------------------------------------------- */
.m-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem var(--m-pad-x);
	/* V1 — solid scrim. The old gradient faded to transparent and let
	 * scrolled content read through the wordmark. */
	background: rgba(10, 13, 21, .94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.m-logo {
	font-family: var(--m-font-display);
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: -.02em;
	color: var(--m-sand);
	text-decoration: none;
}
.m-logo span { color: var(--m-coral); }
.m-nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.m-nav-links a {
	font-weight: 500;
	font-size: .95rem;
	color: var(--m-muted);
	text-decoration: none;
	transition: color .2s;
}
.m-nav-links a:hover, .m-nav-links a:focus-visible { color: var(--m-sand); }
.m-nav-links .m-btn { color: var(--m-ink) !important; }

.m-menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--m-line);
	color: var(--m-sand);
	border-radius: 999px;
	padding: .5rem .9rem;
	font-family: var(--m-font-mono);
	font-size: .75rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
}

/* Mobile menu panel */
.m-mobile-menu {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99;
	/* V8 — fully opaque; .97 ghosted the page behind it. */
	background: var(--m-ink);
	padding: 6rem var(--m-pad-x) 2rem;
}
.m-mobile-menu.open { display: block; }
.m-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.m-mobile-menu a {
	display: block;
	font-family: var(--m-font-display);
	font-weight: 600;
	font-size: 2rem;
	letter-spacing: -.02em;
	color: var(--m-sand);
	text-decoration: none;
	padding: .7rem 0;
	border-bottom: 1px solid var(--m-line);
}
.m-mobile-menu a:hover { color: var(--m-coral); }

/* Content offset — pages without the full-viewport hero need room
 * under the fixed nav. Pages that start with [metta_hero] don't. */
.m-page-pad { padding-top: 6rem; }

/* ---------------------------------------------------------------
 * SITE FOOTER (footer.php)
 * --------------------------------------------------------------- */
.m-footer {
	border-top: 1px solid var(--m-line);
	padding: 3.5rem var(--m-pad-x) 2.5rem;
	background: linear-gradient(to top, rgba(42,30,63,.35), transparent);
}
/* Holds the wordmark. The footer nav link row was removed Sep 2026. */
.m-footer-grid {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}
/* D7 — sub-brands are credits, never nav (brand kit). Sep 2026: each brand
 * is a block — name in the display face with the coral period, its own
 * social links underneath. The footer carries no nav links.
 * ".m-footer .m-footer-brand-name" outranks the ".m-footer a { color: inherit }"
 * reset above; ".m-footer-social a" ties it and wins by source order. */
.m-footer-brands {
	display: flex;
	gap: 2rem 4rem;
	flex-wrap: wrap;
	margin: 0 0 2.5rem;
}
.m-footer .m-footer-brand-name {
	font-family: var(--m-font-display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -.01em;
	color: var(--m-sand);
	text-decoration: none;
	display: inline-block;
	padding: .2rem 0;
	transition: color .2s;
}
.m-footer .m-footer-brand-name:hover, .m-footer .m-footer-brand-name:focus-visible { color: var(--m-coral); }
.m-footer-social {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
	list-style: none;
	margin: .25rem 0 0;
	padding: 0;
}
.m-footer-social a {
	font-family: var(--m-font-mono);
	font-size: .72rem;
	letter-spacing: .09em;
	text-transform: lowercase;
	color: var(--m-muted);
	text-decoration: none;
	display: inline-block;
	padding: .35rem 0;
	transition: color .2s;
}
.m-footer-social a:hover, .m-footer-social a:focus-visible { color: var(--m-sand); }

.m-footer-note {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	color: var(--m-muted);
	font-size: .8rem;
}

@media (max-width: 820px) {
	.m-nav-links { display: none; }
	.m-menu-toggle { display: block; }
}

/* ---------------------------------------------------------------
 * SINGLE EVENT PAGE (single-metta-event.php)
 * --------------------------------------------------------------- */
.m-event {
	padding: 7.5rem var(--m-pad-x) var(--m-pad-section);
	background:
		radial-gradient(90% 55% at 50% -10%, rgba(42,30,63,.55), transparent 70%),
		var(--m-ink);
}
.m-event-grid {
	display: grid;
	grid-template-columns: minmax(280px, 460px) 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
}
.m-event-art {
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--m-line);
	background: linear-gradient(135deg, #1a2138, var(--m-dusk));
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
	position: sticky;
	top: 6rem;
}
.m-event-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.m-event-info .m-mono { display: block; }
.m-event-brand { color: var(--m-muted); font-size: .68rem; margin-bottom: .5rem; }
.m-event-date { color: var(--m-coral); margin-bottom: 1rem; }
.m-event-info h1 {
	font-size: clamp(2.2rem, 5.5vw, 4.2rem);
	line-height: 1.05;
	letter-spacing: -.03em;
	margin: 0 0 .5rem;
}
.m-event-sub { color: var(--m-muted); font-size: 1.05rem; margin: 0 0 1.75rem; }

.m-event-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem 2rem;
	border-top: 1px solid var(--m-line);
	border-bottom: 1px solid var(--m-line);
	padding: 1.25rem 0;
	margin-bottom: 2rem;
	max-width: 560px;
}
.m-event-meta dt { font-family: var(--m-font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--m-muted); margin: 0 0 .25rem; }
.m-event-meta dd { margin: 0; color: var(--m-sand); font-size: .95rem; }

.m-event-cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.m-event-cta .m-btn { font-size: 1rem; padding: .85rem 2rem; }
.m-btn.is-disabled { background: var(--m-surface); color: var(--m-muted) !important; pointer-events: none; border: 1px solid var(--m-line); }

.m-event-body { margin-top: 2.5rem; max-width: 60ch; color: var(--m-muted); }
.m-event-body p { margin: 0 0 1rem; }

.m-event-related { padding: var(--m-pad-section) var(--m-pad-x); border-top: 1px solid var(--m-line); }
.m-event-related h2 { margin: 0 0 2.5rem; }
.m-event-related .metta-announce-grid { max-width: 1200px; margin: 0 auto; }
.m-event-related-head { max-width: 1200px; margin: 0 auto; }

@media (max-width: 820px) {
	.m-event { padding-top: 6rem; }
	.m-event-grid { grid-template-columns: 1fr; }
	.m-event-art { position: static; max-width: 420px; }
}

/* ---------------------------------------------------------------
 * ABOUT PAGE / CONTENT COMPONENTS
 * Generic enough to reuse on any content page (venue pages, etc).
 * --------------------------------------------------------------- */
.m-section { padding: var(--m-pad-section) var(--m-pad-x); }
.m-section-tight { padding: clamp(2.5rem, 5vw, 4rem) var(--m-pad-x); }
/* The featured event section renders its own heading from inside the
 * shortcode, so when the venue has nothing upcoming the card and the
 * heading both go. This takes the section padding with them, instead of
 * leaving a blank band between the hero and just announced. */
.m-section-featured:not(:has(.metta-feature)) { display: none; }
/* The plugin lays the featured card out. The cap keeps it from stretching
 * the full 1,628px of a wide desktop, where one horizontal card trails off
 * into empty space, and buys the flyer a little more presence. Matches the
 * 1200px measure .m-event-grid already uses on the single event page. */
.m-section-featured .metta-feature { max-width: 1200px; }
@media (min-width: 821px) {
	.m-section-featured .metta-feature { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}
.m-narrow { max-width: 1100px; margin-left: auto; margin-right: auto; }

.m-page-header { padding: 8.5rem var(--m-pad-x) 0; }
.m-page-header .m-mono { color: var(--m-coral); display: block; margin-bottom: 1.25rem; }
.m-page-header h1 {
	font-size: clamp(2.4rem, 6vw, 4.8rem);
	line-height: 1.03;
	letter-spacing: -.03em;
	margin: 0;
	max-width: 18ch;
}

.m-lede {
	font-size: clamp(1.2rem, 2.2vw, 1.6rem);
	line-height: 1.45;
	color: var(--m-sand);
	max-width: 34ch;
}
.m-prose { max-width: 62ch; color: var(--m-muted); }
.m-prose p { margin: 0 0 1.2rem; }
.m-prose b, .m-prose strong { color: var(--m-sand); font-weight: 500; }

.m-pull {
	border-left: 2px solid var(--m-coral);
	padding: .4rem 0 .4rem 1.5rem;
	margin: 2.5rem 0;
	font-family: var(--m-font-display);
	font-size: clamp(1.3rem, 2.4vw, 1.8rem);
	line-height: 1.3;
	letter-spacing: -.01em;
	color: var(--m-sand);
	max-width: 30ch;
}

/* Crew grid */
.m-crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.m-crew-card { border: 1px solid var(--m-line); border-radius: 14px; overflow: hidden; background: var(--m-surface); }
.m-crew-card .ph {
	aspect-ratio: 4 / 5;
	background: linear-gradient(160deg, #1a2138, var(--m-dusk));
	overflow: hidden;
}
.m-crew-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); transition: filter .3s; }
.m-crew-card:hover .ph img { filter: saturate(1.05); }
.m-crew-card figcaption { padding: 1rem 1.2rem 1.2rem; }
.m-crew-card .name { font-family: var(--m-font-display); font-weight: 600; font-size: 1.15rem; color: var(--m-sand); display: block; }
.m-crew-card .role { font-family: var(--m-font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--m-muted); display: block; margin-top: .3rem; }

/* Venue cards */
.m-venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.m-venue-card {
	display: block;
	border: 1px solid var(--m-line);
	border-radius: 14px;
	padding: 1.6rem 1.6rem 1.8rem;
	background: var(--m-surface);
	text-decoration: none;
	transition: border-color .25s, transform .25s;
}
.m-venue-card:hover { border-color: rgba(255,107,82,.5); transform: translateY(-4px); }
.m-venue-card .m-mono { display: block; margin-bottom: .6rem; }
.m-venue-card h3 { font-size: 1.4rem; margin: 0 0 .4rem; }
.m-venue-card p { color: var(--m-muted); font-size: .92rem; margin: 0; }

/* CTA band */
.m-cta-band {
	text-align: center;
	background:
		radial-gradient(80% 100% at 50% 100%, rgba(255,107,82,.16), transparent 60%),
		var(--m-surface);
	border-top: 1px solid var(--m-line);
	border-bottom: 1px solid var(--m-line);
}
.m-cta-band h2 { margin: 0 0 1.8rem; }
.m-cta-band .m-hero-cta { justify-content: center; margin-top: 0; }

/* ---------------------------------------------------------------
 * NATIVE BLOCK BRIDGE
 * Styles core blocks (button, image, quote) used inside metta
 * patterns so everything stays editable as normal blocks.
 * --------------------------------------------------------------- */
.m-btn-row .wp-block-button__link {
	border-radius: 999px;
	background: var(--m-coral);
	color: var(--m-ink);
	font-weight: 700;
	font-size: .9rem;
	padding: .65rem 1.4rem;
	border: 0;
	transition: transform .2s, background .2s;
}
.m-btn-row .wp-block-button__link:hover { transform: translateY(-2px); background: var(--m-coral-hover); }
.m-btn-row .is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--m-line);
	color: var(--m-sand);
	font-weight: 500;
}
.m-btn-row .is-style-outline .wp-block-button__link:hover { border-color: var(--m-coral); color: var(--m-coral); }
.wp-block-buttons.m-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.m-section-sub { margin: .75rem 0 2.25rem !important; }

/* Crew grid built from core group/image/paragraph blocks */
.m-crew > .wp-block-group { margin: 0; }
.m-crew-card { padding: 0 0 1.2rem; }
.m-crew-card .m-crew-photo { margin: 0 0 1rem; }
.m-crew-card .m-crew-photo img,
.m-crew-card .m-crew-photo {
	aspect-ratio: 4 / 5;
	width: 100%;
	object-fit: cover;
	display: block;
	background: linear-gradient(160deg, #1a2138, var(--m-dusk));
}
.m-crew-card .m-crew-name {
	font-family: var(--m-font-display);
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--m-sand);
	margin: 0 1.2rem;
}
.m-crew-card .m-crew-role {
	font-family: var(--m-font-mono);
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--m-muted);
	margin: .3rem 1.2rem 0;
}

/* Grid layouts for pattern containers */
.m-crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.m-venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.m-venue-card h3 a { color: var(--m-sand); text-decoration: none; }
.m-venue-card h3 a:hover { color: var(--m-coral); }
.m-venue-card p { margin-bottom: 0; }

.wp-block-quote.m-pull { border-right: 0; background: none; padding-right: 0; }
.wp-block-quote.m-pull p { margin: 0; font: inherit; color: inherit; }

/* Editor niceties: dark canvas so patterns preview true */
.editor-styles-wrapper { background: var(--m-ink) !important; }

/* ---------------------------------------------------------------
 * 404
 * --------------------------------------------------------------- */
.m-404 { padding: 9rem var(--m-pad-x) var(--m-pad-section); }
.m-404 h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 .75rem; }
.m-404 .m-prose { margin-bottom: 2.5rem; }
.m-404-shows { margin-bottom: 2.5rem; }

/* ---------------------------------------------------------------
 * STICKY MOBILE BUY BAR (single event pages)
 * --------------------------------------------------------------- */
.m-buybar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 90;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .8rem var(--m-pad-x) calc(.8rem + env(safe-area-inset-bottom));
	background: rgba(10, 13, 21, .92);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--m-line);
	transform: translateY(110%);
	transition: transform .25s;
}
.m-buybar.on { transform: translateY(0); }
.m-buybar-meta { min-width: 0; }
.m-buybar-name {
	display: block;
	font-family: var(--m-font-display);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--m-sand);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.m-buybar-date { display: block; margin-top: .1rem; }
.m-buybar .m-btn { flex-shrink: 0; }
@media (max-width: 820px) { .m-buybar { display: flex; } }
@media (prefers-reduced-motion: reduce) { .m-buybar { transition: none; } }

/* ---------------------------------------------------------------
 * VENUE GUIDE COMPONENTS (venue patterns)
 * --------------------------------------------------------------- */
.m-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.25rem 2rem;
	border-top: 1px solid var(--m-line);
	border-bottom: 1px solid var(--m-line);
	padding: 1.75rem 0;
	margin: 2rem 0;
}
.m-fact .m-fact-label {
	font-family: var(--m-font-mono);
	font-size: .7rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--m-muted);
	margin: 0 0 .3rem;
}
.m-fact p:last-child { margin: 0; color: var(--m-sand); font-size: .95rem; }

.m-faq details {
	border-bottom: 1px solid var(--m-line);
	padding: 1rem 0;
}
.m-faq summary {
	cursor: pointer;
	font-family: var(--m-font-display);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--m-sand);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.m-faq summary::after { content: '+'; color: var(--m-coral); font-size: 1.3rem; }
.m-faq details[open] summary::after { content: '–'; }
.m-faq details > *:not(summary) { color: var(--m-muted); margin-top: .6rem; max-width: 62ch; }

/* ---------------------------------------------------------------
 * SCRAPBOOK
 * --------------------------------------------------------------- */
.m-scrap-meta { margin: -1.25rem 0 1.5rem; }
.m-scrap-entry { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.m-scrap-entry .wp-block-gallery { gap: .6rem; }
.m-scrap-entry .wp-block-gallery img { border-radius: 8px; }

/* ---------------------------------------------------------------
 * FOOTER LEGAL LINKS
 * --------------------------------------------------------------- */
.m-footer-note a { color: var(--m-muted); }
.m-footer-note a:hover { color: var(--m-sand); }

/* ---------------------------------------------------------------
 * HIVE FORM ALIGNMENT (.m-signal embed)
 * Tolerant rules for Hive's injected markup: constrain and center
 * the widget, left-align its internals so labels read naturally.
 * --------------------------------------------------------------- */
.m-signal > div:not(.wp-block-group), .m-signal form, .m-signal iframe {
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
/* The intro paragraph is capped at 62ch by .m-prose; with no auto side
 * margins it hugged the left edge of the centered section. Center the
 * block so it sits under the heading, like the form below it. */
.m-signal .m-prose { margin-left: auto; margin-right: auto; }
.m-signal label { color: var(--m-sand); font-size: .9rem; }
/* D11 + V7 — 16px kills the iOS focus zoom; the native 13px checkbox
 * is below the comfortable tap size. Applies to the Hive embed and to
 * the same inputs rendered inline. */
.m-signal input[type="checkbox"],
.hive-signup-form input[type="checkbox"] {
	accent-color: var(--m-coral);
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin-top: .1rem;
}
.m-signal input[type="email"],
.m-signal input[type="text"],
.m-signal input[type="tel"],
.m-signal select,
.m-signal textarea,
.hive-signup-form input,
.hive-signup-form select,
.hive-signup-form textarea { font-size: 16px; }
.hive-signup-form label,
.m-signal label { line-height: 1.5; }
.m-signal input[type="email"], .m-signal input[type="text"], .m-signal input[type="tel"] { width: 100%; }
.m-signal button[type="submit"], .m-signal input[type="submit"] { width: 100%; margin-top: .75rem; }

/* ---------------------------------------------------------------
 * MANIFESTO (stacked lines pattern)
 * --------------------------------------------------------------- */
.m-manifesto p {
	font-family: var(--m-font-display);
	font-weight: 600;
	font-size: clamp(1.5rem, 3.5vw, 2.6rem);
	line-height: 1.25;
	letter-spacing: -.02em;
	color: var(--m-sand);
	margin: 0 0 .35em;
	max-width: none;
}
.m-manifesto .m-manifesto-last { color: var(--m-coral); margin-bottom: 0; }

/* ---------------------------------------------------------------
 * OVERHEARD (crowd quotes)
 * --------------------------------------------------------------- */
.m-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.m-quote { border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-surface); padding: 1.5rem 1.5rem 1.4rem; }
.m-quote-text {
	font-family: var(--m-font-display);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--m-sand);
	margin: 0 0 1rem;
}
.m-quote-meta { margin: 0; }

/* ---------------------------------------------------------------
 * HOUSE RULES
 * --------------------------------------------------------------- */
.m-rules { margin-top: 1.5rem; max-width: 62ch; }
.m-rules p {
	border-bottom: 1px solid var(--m-line);
	padding: .9rem 0;
	margin: 0;
	color: var(--m-sand);
	font-size: 1.05rem;
}
.m-rules .m-rules-last { color: var(--m-coral); font-weight: 700; border-bottom: 0; }

/* ---------------------------------------------------------------
 * RECEIPTS (stats strip)
 * --------------------------------------------------------------- */
.m-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1.5rem 2rem;
	border-top: 1px solid var(--m-line);
	border-bottom: 1px solid var(--m-line);
	padding: 2.25rem 0;
}
.m-stat-num {
	font-family: var(--m-font-display);
	font-weight: 700;
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	letter-spacing: -.02em;
	color: var(--m-coral);
	margin: 0 0 .2rem;
	line-height: 1;
}
.m-stat .m-mono { margin: 0; }

/* ---------------------------------------------------------------
 * BIG STATEMENT (interstitial)
 * --------------------------------------------------------------- */
.m-statement { text-align: center; }
.m-statement h2 {
	font-size: clamp(1.8rem, 4.5vw, 3.4rem);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 0 auto;
	max-width: 24ch;
}
.m-statement h2 em { font-style: normal; color: var(--m-coral); }

/* ---------------------------------------------------------------
 * SPLIT FEATURE (media-text)
 * --------------------------------------------------------------- */
.m-split { gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 1100px; margin: 0 auto; }
.m-split .wp-block-media-text__media img { border-radius: 14px; border: 1px solid var(--m-line); }
.m-split h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: .4rem 0 .8rem; }
.m-split p { color: var(--m-muted); }
.m-split .m-mono { color: var(--m-coral); }

/* ---------------------------------------------------------------
 * JOIN BAR (slim signup cta)
 * --------------------------------------------------------------- */
.m-joinbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--m-line);
	border-radius: 16px;
	background:
		radial-gradient(120% 160% at 0% 120%, rgba(255,107,82,.14), transparent 55%),
		var(--m-surface);
}
.m-joinbar-text {
	font-family: var(--m-font-display);
	font-weight: 600;
	font-size: 1.25rem;
	letter-spacing: -.01em;
	color: var(--m-sand);
	margin: 0;
}
.m-joinbar .wp-block-buttons { margin: 0; }

/* ---------------------------------------------------------------
 * ACCESSIBILITY / MOTION
 * --------------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--m-coral); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.m-ticker-track { animation: none; }
	.m-btn, .m-btn-ghost { transition: none; }
}
