/* ==========================================================================
   Northfield Theatre — Seating Plan Page
   ========================================================================== */

.seating-page {
	background: var(--color-bg);
}

/* --- Hero ------------------------------------------------------------ */
.seating-hero {
	background: var(--color-dark);
	color: var(--color-bg);
	padding: var(--space-3xl) 0 var(--space-2xl);
}

.seating-hero__inner {
	max-width: 820px;
}

.seating-hero__eyebrow {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: var(--space-md);
}

.seating-hero__title {
	color: var(--color-bg);
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: var(--weight-black);
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: var(--space-lg);
}

.seating-hero__lead {
	font-size: var(--text-lg);
	line-height: var(--leading-normal);
	color: rgba(255, 255, 255, 0.85);
	max-width: 62ch;
}

/* --- Main layout ----------------------------------------------------- */
.seating-main {
	padding: var(--space-3xl) 0;
}

.seating-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2xl);
}

@media (min-width: 960px) {
	.seating-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: var(--space-3xl);
		align-items: start;
	}
}

/* --- Legend ---------------------------------------------------------- */
.seating-legend {
	background: var(--color-bg-soft);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	margin-bottom: var(--space-xl);
}

.seating-legend__title {
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
	font-family: var(--font-body);
}

.seating-legend__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--space-md);
}

.seating-legend__item {
	display: grid;
	grid-template-columns: 16px 1fr auto;
	align-items: center;
	gap: var(--space-sm);
	font-size: var(--text-sm);
}

.seating-legend__swatch {
	width: 16px;
	height: 16px;
	border-radius: 3px;
	display: block;
}

.seating-legend__label {
	font-weight: var(--weight-semibold);
	color: var(--color-dark);
}

.seating-legend__price {
	color: var(--color-text-muted);
	font-variant-numeric: tabular-nums;
}

/* --- Plan SVG -------------------------------------------------------- */
.seating-plan {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	overflow: hidden;
}

.seating-plan__svg {
	width: 100%;
	height: auto;
	display: block;
}

.seating-plan__level-label {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3em;
	fill: var(--color-text-muted);
	text-transform: uppercase;
}

.seating-plan__zone {
	cursor: pointer;
	outline: none;
	transition: filter var(--transition-base);
}

.seating-plan__zone:hover .seating-plan__shape,
.seating-plan__zone:focus-visible .seating-plan__shape {
	filter: brightness(1.12);
}

.seating-plan__zone:focus-visible .seating-plan__shape {
	stroke: var(--color-accent);
	stroke-width: 3;
}

.seating-plan__zone.is-active .seating-plan__shape {
	stroke: var(--color-dark);
	stroke-width: 3;
	filter: brightness(1.15);
}

.seating-plan__shape {
	stroke: rgba(255, 255, 255, 0.9);
	stroke-width: 1.5;
	transition: filter var(--transition-base), stroke var(--transition-base);
}

.seating-plan__shape--premium {
	fill: #1B4D3E;
}

.seating-plan__shape--band-a {
	fill: #2F6B58;
}

.seating-plan__shape--band-b {
	fill: #E8A33D;
}

.seating-plan__shape--restricted {
	fill: #B45309;
}

.seating-plan__text {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	fill: #FFFFFF;
	pointer-events: none;
	letter-spacing: 0.02em;
}

.seating-plan__text--sub {
	font-size: 10px;
	font-weight: 500;
	opacity: 0.85;
}

.seating-plan__shape--band-b + .seating-plan__text,
.seating-plan__shape--band-b ~ .seating-plan__text {
	fill: #1A1A1A;
}

.seating-plan__shape--restricted + .seating-plan__text {
	fill: #FFFFFF;
}

.seating-plan__hint {
	margin-top: var(--space-md);
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	text-align: center;
}

/* --- Detail panel ---------------------------------------------------- */
.seating-detail {
	position: sticky;
	top: calc(var(--header-height) + var(--space-md));
}

@media (max-width: 959px) {
	.seating-detail {
		position: static;
	}
}

.seating-detail__inner {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-xl);
	box-shadow: var(--shadow-sm);
}

.seating-detail__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-sm);
}

.seating-detail__eyebrow::before {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--color-border-dark);
}

.seating-detail[data-band="premium"] .seating-detail__eyebrow::before {
	background: #1B4D3E;
}
.seating-detail[data-band="band-a"] .seating-detail__eyebrow::before {
	background: #2F6B58;
}
.seating-detail[data-band="band-b"] .seating-detail__eyebrow::before {
	background: #E8A33D;
}
.seating-detail[data-band="restricted"] .seating-detail__eyebrow::before {
	background: #B45309;
}

.seating-detail__title {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: var(--weight-extrabold);
	line-height: 1.1;
	margin-bottom: var(--space-md);
}

.seating-detail__intro {
	color: var(--color-text-muted);
	font-size: var(--text-base);
	margin-bottom: var(--space-lg);
}

.seating-detail__price-block {
	background: var(--color-bg-soft);
	border-left: 4px solid var(--color-accent);
	padding: var(--space-md) var(--space-lg);
	margin-bottom: var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.seating-detail__price-label {
	font-size: var(--text-xs);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-text-muted);
	font-weight: var(--weight-semibold);
}

.seating-detail__price {
	font-family: var(--font-heading);
	font-size: var(--text-4xl);
	font-weight: var(--weight-extrabold);
	color: var(--color-dark);
	line-height: 1;
}

.seating-detail__list {
	margin-bottom: var(--space-lg);
}

.seating-detail__list-row {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: var(--space-md);
	padding: var(--space-sm) 0;
	border-top: 1px solid var(--color-border);
	font-size: var(--text-sm);
}

.seating-detail__list-row:first-child {
	border-top: none;
}

.seating-detail__list-row dt {
	color: var(--color-text-muted);
	font-weight: var(--weight-semibold);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: var(--text-xs);
	padding-top: 2px;
}

.seating-detail__list-row dd {
	color: var(--color-dark);
	line-height: var(--leading-snug);
}

.seating-detail__cta {
	width: 100%;
}

/* --- Secondary info -------------------------------------------------- */
.seating-info {
	padding: var(--space-3xl) 0;
}

.seating-info__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2xl);
}

@media (min-width: 768px) {
	.seating-info__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-3xl);
	}
}

.seating-info__col h2 {
	font-size: var(--text-2xl);
	margin-bottom: var(--space-md);
}

.seating-info__list {
	margin-bottom: var(--space-lg);
	padding-left: 0;
	list-style: none;
}

.seating-info__list li {
	position: relative;
	padding-left: var(--space-lg);
	margin-bottom: var(--space-sm);
	line-height: var(--leading-snug);
}

.seating-info__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 10px;
	height: 2px;
	background: var(--color-accent);
}
