/*
Theme Name:  UT Tailgaters
Theme URI:   https://uttailgaters.com
Author:      UT Tailgaters
Author URI:  https://uttailgaters.com
Description: Custom classic theme for UT Tailgaters — a 501(c)(7) Longhorn tailgating club. Photography-forward, burnt orange on near-black, zero page builders.
Version:     0.1.0
Requires at least: 6.0
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uttailgaters
*/

/* ------------------------------------------------------------------
   1. Fonts (self-hosted, two files total)
------------------------------------------------------------------- */
@font-face {
	font-family: 'Oswald';
	src: url('assets/fonts/oswald-var.woff2') format('woff2');
	font-weight: 200 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Source Sans 3';
	src: url('assets/fonts/source-sans-3-var.woff2') format('woff2');
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------------------------------------------
   2. Tokens
------------------------------------------------------------------- */
:root {
	--ink: #1a1a1a;
	--ink-deep: #151310;
	--paper: #fbfaf6;
	--cream: #f3efe5;
	--orange: #bf5700;
	--orange-hover: #d9660a;
	/* darker/brighter variants keep small orange text at 4.5:1 on each ground */
	--orange-deep: #a34a00;
	--orange-bright: #e8720c;
	--body-ink: #403c36;
	--muted-ink: #625b50;
	--dark-body: #d4cec5;
	--dark-muted: #aaa398;
	--line: rgba(26, 26, 26, 0.16);
	--line-dark: rgba(255, 255, 255, 0.14);
	--font-display: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
	--font-body: 'Source Sans 3', -apple-system, 'Segoe UI', Roboto, sans-serif;
	--container: 72rem;
	--radius: 4px;
	--header-h: 5.5rem;
}

/* ------------------------------------------------------------------
   3. Base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/*
 * Motion enhancements, both opt-in via no-preference so anyone who has asked
 * their OS for less motion never receives them.
 *
 * 1. Smooth anchor scrolling. The Membership submenu (#annual / #single-game)
 *    and the one-game signpost on the membership page are anchor jumps; these
 *    glide rather than teleport. Pairs with the scroll-margin-top on those
 *    sections, which keeps the fixed header from covering the heading.
 * 2. Cross-document view transitions: pages cross-fade instead of flashing
 *    between navigations. No JS, no payload. Browsers without support simply
 *    navigate normally, and if a browser can't parse @view-transition nested
 *    in @media it drops the rule — which fails safe to no transition.
 */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }

	@view-transition { navigation: auto; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--body-ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--ink);
	margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
	outline: 3px solid var(--orange-bright);
	outline-offset: 2px;
}

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

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/*
 * .screen-reader-text is the class core and most plugins use for
 * visually-hidden text. A theme that omits it renders that text on screen —
 * which is why TEC's hidden "Events" title was showing as a heading.
 */
.sr-only,
.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
/* …but stay focusable, so plugin skip-links still work */
.screen-reader-text:focus {
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: var(--ink);
	color: #fff;
	font-size: 0.9rem;
	text-decoration: none;
}

.skip-link {
	position: absolute;
	top: -100px; left: 1rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; color: #fff; }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 48rem; }

.section { padding-block: clamp(3.75rem, 8vw, 6.5rem); }

/* dark sections share ink ground + a whisper of grain */
.section--dark {
	position: relative;
	isolation: isolate;
	background: var(--ink);
	color: var(--dark-body);
}
.section--dark::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
	opacity: 0.05;
}
.section--cream { background: var(--cream); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--orange-deep);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--orange-bright); }
.eyebrow--dash::before {
	content: '';
	width: 2.25rem;
	height: 2px;
	background: currentColor;
}

/* ------------------------------------------------------------------
   4. Buttons — one system, later mapped onto PMPro/Woo/TEC selectors
------------------------------------------------------------------- */
.btn {
	display: inline-block;
	padding: 0.8rem 1.7rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn--ghost-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost-ink:hover { background: var(--ink); color: #fff; }

/* underlined text link with the orange bar, per mockup */
.link-bar {
	display: inline-block;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink);
	text-decoration: none;
	padding-bottom: 0.2rem;
	border-bottom: 2px solid var(--orange);
	transition: color 0.15s ease;
}
.link-bar:hover { color: var(--orange-deep); }
.section--dark .link-bar { color: #fff; }
.section--dark .link-bar:hover { color: var(--orange-bright); }

/* ------------------------------------------------------------------
   5. Header
------------------------------------------------------------------- */
/* Transparent over the hero / dark intro bands, fading to warm white
   once the page scrolls (or while the mobile menu is open). */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	background: transparent;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-solid {
	background: var(--paper);
	box-shadow: 0 1px 0 var(--line), 0 10px 28px rgba(26, 26, 26, 0.09);
}
.site-header.is-solid .site-nav a,
.site-header.is-solid .site-logo--text,
.site-header.is-solid .nav-toggle { color: var(--ink); }
.site-header.is-solid .site-nav a { color: var(--body-ink); }
.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a[aria-current='page'] { color: var(--ink); }
.site-header.is-solid .nav-toggle { border-color: var(--line); }

/* keep the fixed header clear of the WP admin bar */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header__row {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 4.25rem;
	padding-block: 0.625rem;
}
.site-logo { display: inline-flex; flex-shrink: 0; }
.site-logo img {
	height: 46px;
	width: auto;
	border-radius: 3px;
	display: block;
}
.site-logo--text {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
}
.site-nav { margin-left: auto; }
.site-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 1.75rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: #e9e4dc;
	text-decoration: none;
	padding-block: 0.35rem;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--orange-bright); }
.site-nav a[aria-current='page'] { color: #fff; border-bottom-color: var(--orange); }

/* Submenu — Membership fans out to the shop page's two sections. Opens on
   hover and focus-within so the parent link stays a real destination and
   no JS toggle is needed.
   NOTE the `ul.` in these selectors: `.site-nav ul` above is (0,1,1) and
   would otherwise win on display/gap/align-items and hold the panel open. */
.site-nav__list > li { position: relative; }
.site-nav ul.site-nav__sub {
	display: none;
	position: absolute;
	top: calc(100% + 0.5rem);
	left: -0.75rem;
	z-index: 20;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	min-width: 10.5rem;
	padding: 0.35rem;
	background: #17130f;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}
.site-nav__list > li.has-sub:hover > ul.site-nav__sub,
.site-nav__list > li.has-sub:focus-within > ul.site-nav__sub { display: flex; }
/* Bridge the gap between the parent link and the panel so the pointer can
   travel into it without the dropdown closing underneath. */
.site-nav__list > li.has-sub::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 0.6rem;
}
.site-nav ul.site-nav__sub a {
	display: block;
	padding: 0.45rem 0.7rem;
	border-bottom: 0;
	border-radius: 2px;
	white-space: nowrap;
	font-size: 0.875rem;
	line-height: 1.3;
	color: #d9d3ca;
}
.site-nav ul.site-nav__sub a:hover,
.site-nav ul.site-nav__sub a:focus {
	border-bottom-color: transparent;
	background: rgba(255, 255, 255, 0.09);
	color: #fff;
}
.site-header.is-solid .site-nav ul.site-nav__sub {
	background: var(--paper);
	border-color: var(--line);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}
.site-header.is-solid .site-nav ul.site-nav__sub a { color: var(--body-ink); }
.site-header.is-solid .site-nav ul.site-nav__sub a:hover,
.site-header.is-solid .site-nav ul.site-nav__sub a:focus {
	background: rgba(0, 0, 0, 0.06);
	color: var(--ink);
}

.site-header__cta { flex-shrink: 0; padding: 0.65rem 1.3rem; }

/* Account / Log In nav item — set apart from the content links by a rule,
   since it's a different kind of destination. */
.site-nav__list > li.site-nav__account { position: relative; }
@media (min-width: 57.5rem) {
	.site-nav__list > li.site-nav__account {
		margin-left: 0.4rem;
		padding-left: 1.15rem;
		border-left: 1px solid var(--line-dark);
	}
	.site-header.is-solid .site-nav__list > li.site-nav__account { border-left-color: var(--line); }
	/* Right-align its dropdown so a wide panel can't run off the viewport. */
	.site-nav__list > li.site-nav__account > ul.site-nav__sub { left: auto; right: -0.75rem; }
}

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	color: #fff;
	padding: 0.5rem 0.65rem;
	cursor: pointer;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-menu { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--ink);
		border-top: 1px solid var(--line-dark);
		padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
		box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
	}
	.site-nav.is-open { display: block; }
	.site-header.is-solid .site-nav { background: var(--paper); border-top-color: var(--line); }
	.site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
	.site-nav li { width: 100%; }
	.site-nav a { display: block; padding: 0.6rem 0; font-size: 1.05rem; }
	.site-nav ul.site-nav__sub {
		display: flex;
		position: static;
		min-width: 0;
		padding: 0 0 0.35rem 0.9rem;
		margin-left: 0.1rem;
		background: transparent;
		border: 0;
		border-left: 2px solid var(--line-dark);
		border-radius: 0;
		box-shadow: none;
	}
	.site-nav ul.site-nav__sub a { padding: 0.4rem 0; font-size: 0.95rem; }
	.site-nav__list > li.has-sub::after { display: none; }
	.site-header.is-solid .site-nav ul.site-nav__sub { border-left-color: var(--line); }
	.site-header__cta { margin-left: auto; }
}
@media (max-width: 560px) {
	.site-header__cta { display: none; }
}

/* ------------------------------------------------------------------
   6. Hero
------------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-start;
	min-height: clamp(540px, 78vh, 820px);
	background: var(--ink);
}
.hero__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 25% 42%;
}
/* text sits right so the sign lettering stays readable on the left */
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		/* scrim behind the transparent nav so white links stay legible */
		linear-gradient(180deg, rgba(15, 12, 9, 0.55) 0%, rgba(15, 12, 9, 0) var(--header-h)),
		/* main wash: darkest at the top-left corner, bands running
		   bottom-left → top-right, clearing the sign at bottom right */
		linear-gradient(
			135deg,
			rgba(15, 12, 9, 0.94) 0%,
			rgba(15, 12, 9, 0.82) 24%,
			rgba(15, 12, 9, 0.5) 52%,
			rgba(15, 12, 9, 0.14) 78%,
			rgba(15, 12, 9, 0.04) 100%
		);
}
.hero__content {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	/* clear the fixed nav, then sit high in the frame */
	padding-top: calc(var(--header-h) + clamp(1.25rem, 3.5vw, 2.75rem));
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
/* copy stacks in the darkest corner; the sign reads bottom-right */
.hero__box {
	max-width: 34rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}
.hero__title {
	max-width: 20ch;
	margin: 1rem 0 1.1rem;
	font-size: clamp(2.1rem, 4.5vw, 3.4rem);
	font-weight: 600;
	line-height: 1.08;
	color: #fff;
}
.hero__sub {
	max-width: 30rem;
	margin-bottom: 1.9rem;
	font-size: 1.1rem;
	color: #e7e1d8;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-start; }

@media (max-width: 720px) {
	/* narrow screens: the diagonal has no room to breathe — straight
	   top-down wash instead, still darkest behind the copy */
	.hero::after {
		background: linear-gradient(180deg, rgba(15, 12, 9, 0.86) 0%, rgba(15, 12, 9, 0.6) 48%, rgba(15, 12, 9, 0.32) 100%);
	}
}

/* ------------------------------------------------------------------
   7. Announcement banner
------------------------------------------------------------------- */
.announcement {
	background: var(--orange);
	color: #fff;
	text-align: center;
	padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
	font-size: 0.95rem;
	font-weight: 600;
}
.announcement a {
	color: #fff;
	font-weight: 700;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.announcement a:hover { color: #ffe1c7; }

/* ------------------------------------------------------------------
   8. Pillars
------------------------------------------------------------------- */
.pillars__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 1.8vw, 1.4rem);
}
/*
 * Photo tiles: the club's own gallery shots carry these, with a dark
 * gradient for legibility — the brief's "dark overlays for text on
 * photos". White on the scrim clears AA comfortably, which a tinted
 * light background never reliably does.
 */
.pillar {
	position: relative; /* stretched-link anchor */
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(22rem, 34vw, 28rem);
	overflow: hidden;
	border-radius: 3px;
	background: var(--ink);
}
.pillar__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.pillar::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	/*
	 * Weighted so the copy zone sits near-opaque: the founders photo has a
	 * bright orange sign right where the heading lands, and mid-tone orange
	 * is the worst case for white type. Top stays lighter so the photo
	 * still reads.
	 */
	background: linear-gradient(
		180deg,
		rgba(15, 12, 9, 0.34) 0%,
		rgba(15, 12, 9, 0.6) 30%,
		rgba(15, 12, 9, 0.88) 58%,
		rgba(15, 12, 9, 0.97) 100%
	);
}
.pillar:hover .pillar__bg { transform: scale(1.045); }
.pillar__body { padding: clamp(1.5rem, 2.5vw, 2rem); }
.pillar__icon { display: block; color: var(--orange-bright); margin-bottom: 0.85rem; }
.pillar__icon svg { display: block; width: 28px; height: 28px; }
.pillar .eyebrow { color: var(--orange-bright); }
.pillar h2 {
	font-size: 1.55rem;
	margin: 0.5rem 0 0.7rem;
	max-width: 15ch;
	color: #fff;
}
.pillar__link { color: #fff; text-decoration: none; }
.pillar__link::after { content: ''; position: absolute; inset: 0; }
.pillar:hover .pillar__link { color: var(--orange-bright); }
.pillar p { font-size: 0.975rem; color: #e2ddd4; }
@media (max-width: 880px) {
	.pillars__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ------------------------------------------------------------------
   9. About blurb
------------------------------------------------------------------- */
.about { text-align: center; }
.about__lead {
	margin: 1.75rem 0 1.5rem;
	font-size: clamp(1.15rem, 2.2vw, 1.35rem);
	line-height: 1.65;
	color: #ece7de;
}
.about__more { font-size: 1rem; color: var(--dark-muted); }
.about__horns {
	margin: 2.25rem 0 2rem;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.5vw, 2.9rem);
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.1;
	color: var(--orange-bright);
}

/* ------------------------------------------------------------------
   10. Photo strip
------------------------------------------------------------------- */
.strip__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2.25rem;
}
.strip__head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.strip__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem 1.5rem;
}
.strip__grid figure { margin: 0; }
.strip__grid a { display: block; }
.strip__grid img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--cream);
}
.strip__grid figcaption {
	margin-top: 0.6rem;
	font-size: 0.875rem;
	color: var(--muted-ink);
}
@media (max-width: 880px) {
	.strip__grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 1rem;
		padding-bottom: 0.75rem;
		-webkit-overflow-scrolling: touch;
	}
	.strip__grid figure {
		flex: 0 0 min(78vw, 22rem);
		scroll-snap-align: start;
	}
}

/* ------------------------------------------------------------------
   11. Countdown
------------------------------------------------------------------- */
.countdown { text-align: center; }
.countdown__num {
	display: block;
	margin-top: 1.5rem;
	font-family: var(--font-display);
	font-size: clamp(5rem, 15vw, 8.75rem);
	font-weight: 600;
	line-height: 1;
	color: #fff;
}
.countdown__label {
	display: block;
	margin-top: 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2.6vw, 1.6rem);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--orange-bright);
}
.countdown__detail {
	margin-top: 1.4rem;
	font-size: 0.975rem;
	color: var(--dark-muted);
}

/* ------------------------------------------------------------------
   12. Sponsors
------------------------------------------------------------------- */
.sponsors { text-align: center; }
.sponsors h2 {
	margin-top: 0.7rem;
	font-size: clamp(1.7rem, 3.5vw, 2.3rem);
}
.sponsors__note {
	max-width: 34rem;
	margin: 0.9rem auto 0;
	font-size: 0.975rem;
	color: var(--muted-ink);
}
.sponsors__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(2.5rem, 7vw, 5.5rem);
	margin-top: 2.75rem;
}
.sponsors__row a {
	display: inline-flex;
	transition: opacity 0.15s ease;
}
.sponsors__row a:hover { opacity: 0.75; }
.sponsors__row img {
	max-height: 124px;
	max-width: min(260px, 42vw);
	width: auto;
	height: auto;
	display: block;
}
@media (max-width: 560px) {
	.sponsors__row img { max-height: 96px; }
}

/* ------------------------------------------------------------------
   13. Footer
------------------------------------------------------------------- */
.site-footer {
	position: relative;
	isolation: isolate;
	background: var(--ink-deep);
	color: var(--dark-body);
	padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__grid {
	display: flex;
	justify-content: space-between;
	gap: 3rem;
	flex-wrap: wrap;
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.site-footer__brand h2 { color: #fff; font-size: 1.3rem; }
.site-footer__brand p {
	max-width: 24rem;
	margin-top: 0.9rem;
	font-size: 0.925rem;
	color: var(--dark-muted);
}
.site-footer__nav { display: flex; gap: clamp(2.5rem, 5vw, 4.5rem); }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav a {
	display: inline-block;
	padding-block: 0.3rem;
	font-size: 0.95rem;
	color: var(--dark-body);
	text-decoration: none;
}
.site-footer__nav a:hover { color: var(--orange-bright); }
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 1.3rem;
	border-top: 1px solid var(--line-dark);
	font-size: 0.8125rem;
	color: #948d82;
}
.site-footer__est {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------
   13b. About page
------------------------------------------------------------------- */
/* +header height: the fixed nav overlays this dark band */
.page-intro {
	padding-top: calc(clamp(2rem, 4.5vw, 3.25rem) + var(--header-h));
	padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.page-intro h1 {
	margin-top: 1rem;
	font-size: clamp(2.4rem, 6vw, 4rem);
	color: #fff;
}
/* the orange phrase never splits mid-line — one line with the rest,
   or cleanly on its own line when the viewport is narrow */
.page-intro h1 .accent {
	color: var(--orange-bright);
	display: inline-block;
	white-space: nowrap;
}

.about-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: start;
}
.about-story__text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0.7rem 0 1.1rem; max-width: 16ch; }
.about-story__text p:not(.eyebrow) { color: var(--muted-ink); }
.about-story__photo { margin: 0; }
.about-story__photo img { display: block; width: 100%; height: auto; }
.about-story__photo figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted-ink); }

.timeline__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 4.5vw, 3.75rem);
}
.timeline__item { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.timeline__item h2 { font-size: clamp(2.2rem, 4vw, 2.9rem); color: var(--orange); }
.timeline__item p { margin-top: 0.7rem; font-size: 1rem; color: var(--muted-ink); }

.find-us__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}
.find-us h2 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0.7rem 0 1rem; }
.find-us__text p:not(.eyebrow) { color: var(--dark-body); max-width: 34rem; }
/* cream variant (FAQ) */
.find-us--light h2 { color: var(--ink); }
.find-us--light .eyebrow { color: var(--orange-deep); }
.find-us--light .find-us__text p:not(.eyebrow) { color: var(--muted-ink); }
.find-us__actions { margin-top: 1.9rem; }
.find-us__map { display: block; width: 100%; height: auto; border-radius: 3px; }

@media (max-width: 880px) {
	.about-story__grid, .find-us__grid { grid-template-columns: 1fr; }
	.timeline__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ------------------------------------------------------------------
   13c. Events page
------------------------------------------------------------------- */
.page-intro--slim {
	padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.page-intro__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

/* Breadcrumbs sit in the light content area, above the section heading */
.crumbs-bar { padding-top: clamp(1.75rem, 4vw, 2.75rem); }
.crumbs { margin-bottom: 1.4rem; }
.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}
.crumbs li { display: flex; align-items: center; gap: 0.5rem; color: var(--muted-ink); }
.crumbs li + li::before {
	content: '';
	width: 5px;
	height: 5px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.65;
}
.crumbs a { color: var(--muted-ink); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); text-decoration: underline; }
.crumbs [aria-current='page'] { color: var(--orange-deep); font-weight: 600; }
/* dark-band variant, if a trail is ever placed on ink */
.section--dark .crumbs li { color: var(--dark-muted); }
.section--dark .crumbs a { color: #e9e4dc; }
.section--dark .crumbs a:hover,
.section--dark .crumbs [aria-current='page'] { color: var(--orange-bright); }

/*
 * Minimal branding for The Events Calendar's own chrome so its stock blue
 * doesn't fight the palette. Specificity, not !important — a fuller pass
 * over the plugin views comes with the transactional templates.
 */
.tribe-common .tribe-common-c-btn,
.tribe-common button.tribe-events-c-search__button {
	background-color: var(--orange);
	border-radius: var(--radius);
	font-family: var(--font-body);
}
.tribe-common .tribe-common-c-btn:hover,
.tribe-common button.tribe-events-c-search__button:hover {
	background-color: var(--orange-hover);
}
.tribe-common .tribe-common-c-btn:focus-visible {
	outline: 3px solid var(--orange-bright);
	outline-offset: 2px;
}
.view-switch { display: flex; gap: 0.5rem; }
.view-switch__btn {
	padding: 0.5rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #e9e4dc;
	text-decoration: none;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
}
.view-switch__btn:hover { border-color: #fff; color: #fff; }
.view-switch__btn.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }

.events-list__note { font-size: 0.9rem; color: var(--muted-ink); margin: 0; }
.events-list__items { list-style: none; margin: 0; padding: 0; }
.event-row {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr) auto;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	padding-block: 1.75rem;
	border-bottom: 1px solid var(--line);
}
.event-row:first-child { border-top: 1px solid var(--line); }
.event-row__date { text-align: center; }
.event-row__month {
	display: block;
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--orange-deep);
}
.event-row__day {
	display: block;
	font-family: var(--font-display);
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1.05;
	color: var(--ink);
}
.event-row__weekday { display: block; font-size: 0.8rem; color: var(--muted-ink); }
.event-row__body { border-left: 3px solid var(--orange); padding-left: clamp(1.25rem, 2.5vw, 2rem); }
.event-row__body h3 { font-size: 1.4rem; }
.event-row__body h3 a { color: var(--ink); text-decoration: none; }
.event-row__body h3 a:hover { color: var(--orange-deep); }
.event-row__meta { margin: 0.35rem 0 0.4rem; font-size: 0.925rem; font-weight: 600; color: var(--orange-deep); }
.event-row__desc { margin: 0; font-size: 0.975rem; color: var(--muted-ink); }
.events-list__empty { font-size: 1.1rem; color: var(--muted-ink); max-width: 40rem; }

.events-past h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.events-past__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: 2.25rem;
}
.events-past__card {
	border: 1px solid var(--line-dark);
	border-radius: 3px;
	padding: 1.5rem;
}
.events-past__card h3 { font-size: 1.25rem; margin: 0.5rem 0 0.6rem; }
.events-past__card h3 a { color: #fff; text-decoration: none; }
.events-past__card h3 a:hover { color: var(--orange-bright); }
.events-past__card p:not(.eyebrow) { margin: 0; font-size: 0.9rem; color: var(--dark-muted); }

.events-cta {
	background: var(--orange);
	color: #fff;
	text-align: center;
	padding-block: clamp(3rem, 6vw, 4.5rem);
}
.events-cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.events-cta p { margin: 0.75rem 0 1.75rem; font-weight: 600; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }

@media (max-width: 760px) {
	.event-row { grid-template-columns: 4rem minmax(0, 1fr); }
	.event-row__cta { grid-column: 2; justify-self: start; }
	.events-past__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   13d. FAQ page
------------------------------------------------------------------- */
.page-intro__sub {
	max-width: 34rem;
	margin-top: 1.1rem;
	color: var(--dark-body);
}
.faq-item { border-top: 1px solid var(--line); padding-block: 1.4rem; }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex;
	align-items: baseline;
	gap: 1.25rem;
	cursor: pointer;
	list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__num {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--orange-deep);
}
.faq-item__q {
	flex: 1;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--ink);
}
.faq-item__chevron { color: var(--muted-ink); transition: transform 0.15s ease; align-self: center; }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item summary:hover .faq-item__q { color: var(--orange-deep); }
.faq-item__a { padding: 0.9rem 0 0 2.15rem; max-width: 42rem; }
.faq-item__a p { font-size: 0.99rem; color: var(--muted-ink); }
.faq-item__a a { color: var(--orange-deep); }

.faq-cta { text-align: center; }
.faq-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.faq-cta p { margin: 0.9rem 0 0; color: var(--dark-body); }
.faq-cta__actions { justify-content: center; margin-top: 1.9rem; }

/* ------------------------------------------------------------------
   13e. Gallery page + lightbox
------------------------------------------------------------------- */
.gallery__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}
.gallery__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
	padding: 0.45rem 1rem;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ink);
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery__count { margin: 0; font-size: 0.9rem; color: var(--muted-ink); }

.gallery__grid { columns: 3 260px; gap: 1.1rem; }
.gallery__item { margin: 0 0 1.1rem; break-inside: avoid; position: relative; }
.gallery__item[hidden] { display: none; }
.gallery__link { display: block; position: relative; }
.gallery__link img { display: block; width: 100%; height: auto; background: var(--cream); }
.gallery__link:hover img { opacity: 0.92; }
.gallery__badge {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	padding: 0.15rem 0.55rem;
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(20, 16, 12, 0.72);
	border-left: 2px solid var(--orange);
	border-radius: 2px;
}
.gallery__more { text-align: center; margin-top: 2.25rem; }

.member-gallery h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0.6rem 0 1rem; }
.member-gallery__intro { max-width: 40rem; color: var(--dark-body); margin-bottom: 1rem; }
.member-gallery__admin-note {
	max-width: 40rem;
	margin-bottom: 2rem;
	padding: 0.7rem 1rem;
	border-left: 3px solid var(--orange);
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.875rem;
	color: var(--dark-muted);
}
.member-gallery__admin-note a { margin-left: 0.4rem; color: var(--orange-bright); }
.gallery__grid--member { margin-top: 1rem; }
.member-gallery__teaser {
	border: 1px solid var(--line-dark);
	border-radius: 3px;
	padding: clamp(1.75rem, 4vw, 3rem);
	max-width: 44rem;
}
.member-gallery__teaser p { color: var(--dark-body); margin-bottom: 1.6rem; }

.lightbox {
	border: 0;
	padding: 0;
	background: transparent;
	max-width: min(94vw, 1200px);
	max-height: 92vh;
	overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 8, 6, 0.92); }
.lightbox__stage { margin: 0; }
.lightbox__img {
	display: block;
	max-width: min(88vw, 1100px);
	max-height: 82vh;
	width: auto;
	height: auto;
	margin-inline: auto;
	background: #000;
}
.lightbox__caption {
	margin-top: 0.75rem;
	text-align: center;
	font-size: 0.9rem;
	color: #d4cec5;
}
.lightbox__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: rgba(26, 26, 26, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
}
.lightbox__btn:hover { background: var(--orange); }
.lightbox__close { top: 0; right: 0; transform: translate(35%, -35%); }
.lightbox__prev { left: -0.5rem; transform: translate(-50%, -50%); }
.lightbox__prev svg { transform: rotate(180deg); }
.lightbox__next { right: -0.5rem; transform: translate(50%, -50%); }
@media (max-width: 720px) {
	.lightbox__prev { left: 0.25rem; transform: translateY(-50%); }
	.lightbox__next { right: 0.25rem; transform: translateY(-50%); }
	.lightbox__close { right: 0.25rem; transform: translateY(-120%); }
}

/* ------------------------------------------------------------------
   13f. Shop page
------------------------------------------------------------------- */
.shop-notices:empty { display: none; }
.shop-notices { padding-top: 1.5rem; }

.tiers__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	align-items: stretch;
}
.tier {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 3px;
	padding: 1.75rem 1.5rem;
	overflow: hidden;
}
/* branded banner bleeds to the card edges above the padded content */
.tier__banner {
	position: relative;
	isolation: isolate;
	margin: -1.75rem -1.5rem 1.25rem;
	background: #171412;
}
/*
 * cover, so every banner fills its card edge to edge — but at 19:10 rather
 * than a wider box. The tier name is baked into this client artwork and the
 * four files are different shapes (three ~2.2:1, Owner's Club 1.6:1). At
 * 19:10 the wide three lose ~7% off each side and the tall one ~8% off top
 * and bottom, which in every case falls outside the lettering. A wider box
 * cuts through the Owner's Club wordmark; a narrower one wastes height.
 *
 * No scrim here on purpose: the artwork's own lettering is already white
 * on treated photography, and an overlay just greys it out.
 */
.tier__banner img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 19 / 10;
	object-fit: cover;
	object-position: center center;
}
/* shifts the frame down the source image, revealing its lower edge */
.tier__banner--bottom img { object-position: center bottom; }
.tier__eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.tier h3 { font-size: 1.5rem; margin: 0.6rem 0 0.2rem; }
.tier__scarcity {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--orange-deep);
}
.tier__scarcity::before { content: '● '; font-size: 0.6rem; vertical-align: 2px; }
.tier__scarcity--out { color: var(--muted-ink); }
.tier__price { margin: 0.9rem 0 1.1rem; font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--ink); }
.tier__price span { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted-ink); }
.tier__benefits { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; }
.tier__benefits li {
	display: flex;
	gap: 0.6rem;
	align-items: baseline;
	padding-block: 0.35rem;
	font-size: 0.925rem;
	color: var(--muted-ink);
}
.tier__benefits svg { flex-shrink: 0; color: var(--orange); position: relative; top: 1px; }
.tier .btn { text-align: center; }

.tier--flagship { background: var(--ink); border-color: var(--ink); }
.tier--flagship h3, .tier--flagship .tier__price { color: #fff; }
.tier--flagship .eyebrow, .tier--flagship .tier__scarcity { color: var(--orange-bright); }
.tier--flagship .tier__price span, .tier--flagship .tier__benefits li { color: var(--dark-body); }
.tier--flagship .tier__benefits svg { color: var(--orange-bright); }
.tier__badge {
	padding: 0.25rem 0.6rem;
	font-family: var(--font-display);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 2px;
	white-space: nowrap;
}
.tiers__footnote { margin-top: 1.75rem; font-size: 0.875rem; color: var(--muted-ink); text-align: center; }

.btn--disabled {
	background: transparent;
	border: 1px solid var(--line);
	color: var(--muted-ink);
	cursor: not-allowed;
	text-align: center;
}
.tier--flagship .btn--disabled { border-color: var(--line-dark); color: var(--dark-muted); }

.passes h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.passes__sub { max-width: 36rem; margin: 0.9rem 0 2.25rem; color: var(--dark-body); }
.passes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}
.pass {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border: 1px solid var(--line-dark);
	border-radius: 3px;
	padding: 1.4rem 1.5rem;
}
.pass--big { border-color: var(--orange); }
.pass__flag {
	margin: 0 0 0.4rem;
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--orange-bright);
}
.pass h3 { font-size: 1.2rem; color: #fff; }
.pass__date { margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--dark-muted); }
.pass__price { margin: 0.5rem 0 1rem; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: #fff; }
.pass__price span { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--dark-muted); }
.pass .btn { margin-top: auto; padding: 0.6rem 1.25rem; }
.passes__empty { color: var(--dark-body); }

.kids-pass {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-top: 1.1rem;
	border: 1px solid var(--line-dark);
	border-radius: 3px;
	padding: 1.6rem 1.75rem;
}
.kids-pass h3 { font-size: 1.35rem; color: #fff; }
.kids-pass p { margin: 0.4rem 0 0; max-width: 30rem; font-size: 0.925rem; color: var(--dark-muted); }
.kids-pass__buy { display: flex; align-items: center; gap: 1.5rem; }
.kids-pass__buy .pass__price { margin: 0; }

/* Light variant — the add-on now sits in the cream tiers section. */
.kids-pass--light {
	margin-top: 2rem;
	border-color: rgba(0, 0, 0, 0.16);
	background: rgba(255, 255, 255, 0.55);
}
.kids-pass--light h3 { color: var(--ink); }
.kids-pass--light p { color: var(--muted-ink); }
.kids-pass--light .pass__price { color: var(--ink); }

.tipjar { text-align: center; }
.tipjar h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0.7rem 0 1rem; }
.tipjar p { max-width: 38rem; margin-inline: auto; color: var(--muted-ink); }
.tipjar__chips { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.tipjar__chips .btn { padding: 0.6rem 1.4rem; }
.tipjar__smoker { margin-top: 1.5rem; font-size: 0.9rem; }
.tipjar__smoker a { margin-left: 0.5rem; font-weight: 700; color: var(--orange-deep); }

@media (max-width: 1100px) {
	.tiers__grid { grid-template-columns: repeat(2, 1fr); }
	.passes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.tiers__grid, .passes__grid { grid-template-columns: 1fr; }
	.kids-pass__buy { width: 100%; justify-content: space-between; }
}

/* ------------------------------------------------------------------
   14. Generic page template (also wraps PMPro / Woo / TEC pages)
------------------------------------------------------------------- */
.page-band {
	position: relative;
	isolation: isolate;
	background: var(--ink);
	padding-top: calc(clamp(2.5rem, 6vw, 4rem) + var(--header-h));
	padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.page-band h1 {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.25rem);
}
.entry { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.entry h2, .entry h3, .entry h4 { margin: 1.6em 0 0.6em; }
.entry h2 { font-size: 1.75rem; }
.entry h3 { font-size: 1.35rem; }
.entry ul, .entry ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.entry img { height: auto; }

/* one .btn system for plugin buttons (expanded during plugin-wrapper pass) */
.entry .button,
.entry button[type='submit'],
.entry input[type='submit'] {
	display: inline-block;
	padding: 0.8rem 1.7rem;
	background: var(--orange);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
}
.entry .button:hover,
.entry button[type='submit']:hover,
.entry input[type='submit']:hover { background: var(--orange-hover); color: #fff; }

/* ------------------------------------------------------------------
   15. Forms (contact page + shared field styles)
------------------------------------------------------------------- */
.field { margin-bottom: 1.4rem; }
.field label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink);
}
.field input[type='text'],
.field input[type='email'],
.field textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	font: inherit;
	color: var(--body-ink);
	background: #fff;
	border: 1px solid #b7b0a3;
	border-radius: var(--radius);
}
.field input:focus,
.field textarea:focus {
	outline: 3px solid var(--orange-bright);
	outline-offset: 1px;
	border-color: var(--orange);
}
.form-note { font-size: 0.9rem; color: var(--muted-ink); }
.notice {
	padding: 1rem 1.25rem;
	margin-bottom: 1.75rem;
	border-left: 4px solid var(--orange);
	background: var(--cream);
	font-weight: 600;
	color: var(--ink);
}
.notice--error { border-left-color: #9d2222; }

/* honeypot — hidden from humans, present for bots */
.hp-field {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------
   16. 404
------------------------------------------------------------------- */
.error-404 {
	text-align: center;
	padding-top: calc(clamp(5rem, 12vw, 9rem) + var(--header-h));
	padding-bottom: clamp(5rem, 12vw, 9rem);
}
.error-404 h1 { color: #fff; font-size: clamp(3rem, 9vw, 5.5rem); }
.error-404 p { margin: 1.25rem auto 2rem; max-width: 30rem; color: var(--dark-body); }

/* -------------------------------------------------------------------
   Family access — /my-family/ seat manager (inc/family-access.php)
------------------------------------------------------------------- */
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

.field__hint {
	margin: 0.4rem 0 0;
	font-size: 0.85rem;
	color: var(--muted-ink);
}

.family__seats {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.9rem;
	color: var(--orange);
	margin-bottom: 1rem;
}

.family__list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.family__member {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 0.9rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.family__name { font-weight: 600; }
.family__email {
	display: block;
	font-weight: 400;
	font-size: 0.88rem;
	color: var(--muted-ink);
}
.family__remove { margin: 0; }

.family-form { margin-top: 0.5rem; }
.family__full { color: var(--muted-ink); }

/* Member albums header: intro on the left, family CTA in its own column. */
.member-gallery__head { margin-bottom: 2rem; }
.member-gallery__head.has-cta {
	display: grid;
	gap: 1.75rem;
	align-items: start;
}
@media (min-width: 48rem) {
	.member-gallery__head.has-cta {
		grid-template-columns: 1fr minmax(17rem, 22rem);
		gap: 2.5rem;
	}
}

.family-cta {
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-left: 4px solid var(--orange);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
}
.family-cta__title {
	font-size: 1.2rem;
	margin: 0 0 0.5rem;
	color: #fff;
}
.family-cta__text {
	margin: 0 0 1.15rem;
	font-size: 0.92rem;
	color: var(--dark-body);
}
.family-cta .btn { width: 100%; text-align: center; }

/* -------------------------------------------------------------------
   Member photo uploads + approval queue (inc/gallery-uploads.php)
------------------------------------------------------------------- */
.photo-upload {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.photo-upload__title {
	font-size: 1.35rem;
	margin: 0 0 0.4rem;
	color: #fff;
}
.photo-upload__hint {
	margin: 0 0 1.25rem;
	color: var(--dark-body);
	font-size: 0.92rem;
}
.photo-upload__form {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}
.photo-upload__form .field { margin-bottom: 0; }
.photo-upload__form input[type='file'] {
	color: var(--dark-body);
	font-family: var(--font-body);
	font-size: 0.92rem;
	max-width: 100%;
}
.photo-upload__form input[type='file']::file-selector-button {
	margin-right: 0.75rem;
	padding: 0.55rem 1.1rem;
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 600;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--radius);
	cursor: pointer;
}
.photo-upload__form input[type='file']::file-selector-button:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.photo-upload__pending { margin-top: 2rem; }
.photo-upload__pending-title {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
	color: var(--orange);
	margin: 0 0 0.85rem;
}
.gallery__item.is-pending { position: relative; opacity: 0.72; }
.gallery__item.is-pending img { display: block; width: 100%; height: auto; }
.gallery__badge--pending {
	position: absolute;
	left: 0.5rem;
	bottom: 0.5rem;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
	border-radius: var(--radius);
}

/* -------------------------------------------------------------------
   Shop: signpost for one-game visitors
------------------------------------------------------------------- */
.page-intro__jump {
	margin: 1.35rem 0 0;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.9rem;
}
.page-intro__jump a {
	color: var(--orange);
	text-decoration: none;
	border-bottom: 1px solid rgba(191, 87, 0, 0.5);
	padding-bottom: 0.15rem;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.page-intro__jump a:hover,
.page-intro__jump a:focus {
	color: #fff;
	border-bottom-color: #fff;
}

/* The header is fixed, so an anchor jump would otherwise hide the heading. */
#single-game,
#annual { scroll-margin-top: var(--header-h); }

/* -------------------------------------------------------------------
   Gate roster — officer wristband lookup (inc/roster.php)
------------------------------------------------------------------- */
.roster__tools { margin-bottom: 2.5rem; }
.roster__search { display: block; max-width: 26rem; }
.roster__search input {
	width: 100%;
	padding: 0.85rem 1rem;
	font-family: var(--font-body);
	font-size: 1.05rem;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.roster__search input:focus {
	outline: none;
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(191, 87, 0, 0.15);
}
.roster__none { margin: 1rem 0 0; font-weight: 600; color: var(--muted-ink); }

.roster__block + .roster__block {
	margin-top: 3.25rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}
.roster__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 1.5rem;
	margin-bottom: 0.35rem;
}
.roster__count {
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--orange-deep);
}
.roster__note { margin: 0 0 1.25rem; font-size: 0.92rem; color: var(--muted-ink); }
.roster__empty { color: var(--muted-ink); }

/* Tables scroll independently so a phone at the gate never scrolls the page
   sideways. */
.roster__scroll { overflow-x: auto; }
.roster__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}
.roster__table th,
.roster__table td {
	padding: 0.7rem 0.9rem 0.7rem 0;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}
.roster__table th {
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-ink);
	white-space: nowrap;
}
.roster__table tbody tr:hover { background: rgba(191, 87, 0, 0.045); }
.roster__family {
	display: block;
	font-size: 0.83rem;
	font-weight: 400;
	color: var(--muted-ink);
}

/* Roster tier groups */
.roster__group + .roster__group { margin-top: 2.25rem; }
.roster__group-title {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	flex-wrap: wrap;
	font-size: 1.05rem;
	padding-bottom: 0.5rem;
	margin-bottom: 0.35rem;
	border-bottom: 2px solid var(--orange);
}
.roster__group-meta {
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--muted-ink);
}
.roster__group .roster__table thead th { border-bottom-width: 1px; }

/* Every tier renders its own <table>, so without a shared column geometry each
   one sizes to its own content and the columns step in and out down the page.
   Fixed widths line them up; min-width makes narrow screens scroll the table
   rather than crushing the name column. */
.roster__group .roster__table {
	table-layout: fixed;
	min-width: 32rem;
}
.roster__group .roster__table th:nth-child(1),
.roster__group .roster__table td:nth-child(1) { width: 58%; }
.roster__group .roster__table th:nth-child(2),
.roster__group .roster__table td:nth-child(2) { width: 14%; }
.roster__group .roster__table th:nth-child(3),
.roster__group .roster__table td:nth-child(3) { width: 28%; }

/* Roster CSV export */
.roster__export {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	flex-wrap: wrap;
	margin-top: 1.1rem;
}
.roster__export-note { font-size: 0.85rem; color: var(--muted-ink); }
