/**
 * Single event page.
 *
 * Structure borrowed from the afoakom recap page — green hero with figure
 * tiles, moving strip, gold-pill section badges, album grid, split story
 * panel, numbered programme — but coloured entirely in Kom Canada's palette:
 * forest green, cream, gold, burgundy.
 */

.nj-d {
	--paper: #FBF8F3;
	--tint: #F4EFE6;
	--card: #FFFFFF;
	--hair: #E6DED2;
	--hair2: #D6C9B4;
	--forest: #00450E;
	--forest-lo: #00560F;
	--forest-hi: #00330A;
	--maroon: #8B1E1E;
	--brass: #C9A227;
	--ink: #23201C;
	--quiet: #6B6259;
	--onDark: #F5F1E8;
	--onDarkQuiet: rgba(245, 241, 232, 0.72);
	--head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
	--body: "Inter", system-ui, -apple-system, sans-serif;

	box-sizing: border-box;
	background: var(--paper);
	font-family: var(--body);
	color: var(--ink);
}

.nj-d * { box-sizing: inherit; }

.nj-d-wrap { width: 90%; max-width: 1180px; margin: 0 auto; }
.nj-d-narrow { max-width: 860px; }
.nj-d-center { text-align: center; }
.nj-d-center .nj-d-sub { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ Shared */

.nj-d-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(201, 162, 39, 0.14);
	color: #8A6A0B;
	font-family: var(--head);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nj-d-badge.is-onDark {
	background: rgba(201, 162, 39, 0.18);
	color: var(--brass);
}

.nj-d-pulse {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brass);
	animation: nj-d-pulse 2s infinite;
}

@keyframes nj-d-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.nj-d-gold { color: var(--brass); }
.nj-d-italic { font-style: italic; }

.nj-d-h1 {
	margin: 0 0 20px;
	font-family: var(--head);
	font-size: clamp(36px, 5.6vw, 66px);
	font-weight: 800;
	letter-spacing: -2.4px;
	line-height: 1.02;
	color: #fff;
}

.nj-d-h1-second { display: block; }

.nj-d-h2 {
	margin: 0 0 14px;
	font-family: var(--head);
	font-size: clamp(28px, 3.8vw, 46px);
	font-weight: 800;
	letter-spacing: -1.5px;
	line-height: 1.1;
	color: var(--forest);
}

.nj-d-h2.is-onDark { color: var(--onDark); }

.nj-d-sub {
	margin: 0 0 40px;
	max-width: 640px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--quiet);
}

.nj-d-lede {
	margin: 0 0 28px;
	max-width: 54ch;
	font-size: 17px;
	line-height: 1.8;
	color: var(--onDarkQuiet);
}

.nj-d-prose { font-size: 17px; line-height: 1.85; color: var(--ink); text-align: left; }
.nj-d-prose p:last-child { margin-bottom: 0; }

/* Buttons */

.nj-d-btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 3px;
	font-family: var(--head);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nj-d-btn.is-gold { background: var(--brass); color: #23200F !important; border-color: var(--brass); }
.nj-d-btn.is-gold:hover { background: #B8931F; border-color: #B8931F; }

.nj-d-btn.is-green { background: var(--forest); color: #fff !important; border-color: var(--forest); }
.nj-d-btn.is-green:hover { background: var(--forest-hi); }

.nj-d-btn.is-ghost,
.nj-d-btn.is-onDarkGhost {
	background: transparent;
	color: var(--onDark) !important;
	border-color: rgba(245, 241, 232, 0.4);
}

.nj-d-btn.is-ghost:hover,
.nj-d-btn.is-onDarkGhost:hover { background: rgba(245, 241, 232, 0.1); border-color: var(--onDark); }

.nj-d-btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* -------------------------------------------------------------------- Hero */

.nj-d-hero {
	padding: 44px 0 74px;
	background:
		radial-gradient(120% 120% at 88% 0%, rgba(201, 162, 39, 0.10) 0%, rgba(201, 162, 39, 0) 55%),
		linear-gradient(150deg, var(--forest-lo) 0%, var(--forest-hi) 100%);
}

.nj-d-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-bottom: 40px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nj-d-crumb a { color: rgba(255, 255, 255, 0.6) !important; text-decoration: none !important; }
.nj-d-crumb a:hover { color: var(--brass) !important; }
.nj-d-crumb span[aria-hidden] { color: rgba(255, 255, 255, 0.3); }
.nj-d-crumb .is-here { color: var(--brass); }

.nj-d-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 54px;
	align-items: center;
}

/* Figure tiles, 2 x 2, translucent on the green. */

.nj-d-tiles {
	list-style: none !important;
	margin: 0;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.nj-d-tiles > .nj-d-tile {
	position: relative;
	margin: 0;
	padding: 22px 20px 20px !important;
	list-style: none !important;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 6px;
}

.nj-d-tiles > .nj-d-tile::before,
.nj-d-tiles > .nj-d-tile::after { content: none !important; display: none !important; }

.nj-d-tile-mark {
	display: block;
	width: 22px;
	height: 2px;
	margin-bottom: 14px;
	background: var(--brass);
}

.nj-d-tile-val {
	display: block;
	font-family: var(--head);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 800;
	letter-spacing: -1.6px;
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.nj-d-tile-lab {
	display: block;
	margin-top: 9px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--onDarkQuiet);
}

/* Hero facts (upcoming events) */

.nj-d-facts {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 28px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nj-d-facts > div { flex: 1 1 150px; padding-right: 26px; }
.nj-d-facts > div + div { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, 0.18); }

.nj-d-facts dt {
	margin: 0 0 5px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.nj-d-facts dd { margin: 0; font-size: 15px; font-weight: 600; color: #fff; }
.nj-d-facts dd.is-tba { font-style: italic; font-weight: 500; color: var(--onDarkQuiet); }
.nj-d-facts dd.is-gold { color: var(--brass); }

.nj-d-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ------------------------------------------------------------ Moving strip */

.nj-d-marquee {
	overflow: hidden;
	padding: 13px 0;
	background: var(--forest-hi);
	border-top: 1px solid rgba(201, 162, 39, 0.3);
	border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.nj-d-marquee-track {
	display: flex;
	gap: 0;
	width: max-content;
	animation: nj-d-scroll 42s linear infinite;
}

@keyframes nj-d-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.nj-d-marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 0 32px;
	font-family: var(--head);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--onDarkQuiet);
	white-space: nowrap;
}

.nj-d-marquee-star { color: var(--brass); }

@media (prefers-reduced-motion: reduce) {
	.nj-d-marquee-track { animation: none; }
	.nj-d-pulse { animation: none; }
}

/* ------------------------------------------------------------------- Bands */

.nj-d-band { padding: 84px 0; background: var(--paper); }
.nj-d-band.is-tint { background: var(--tint); }

.nj-d-band.is-deep {
	background:
		radial-gradient(110% 110% at 10% 0%, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0) 55%),
		linear-gradient(160deg, var(--forest-lo) 0%, var(--forest-hi) 100%);
}

/* ------------------------------------------------------------------ Albums */

.nj-d-dayline {
	margin: 34px 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--hair2);
	font-family: var(--head);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--forest);
}

.nj-d-dayline:first-of-type { margin-top: 0; }

.nj-d-albums { display: flex; flex-direction: column; gap: 12px; }

.nj-d-album {
	background: var(--card);
	border: 1px solid var(--hair);
	border-radius: 5px;
	overflow: hidden;
}

.nj-d-album > summary,
.nj-d-album > a,
.nj-d-album > .nj-d-album-inner,
.nj-d-album.is-flat > a,
.nj-d-album.is-flat > .nj-d-album-inner {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	text-decoration: none !important;
	color: inherit !important;
	transition: background-color 0.16s ease;
}

.nj-d-album > summary::-webkit-details-marker { display: none; }
.nj-d-album > summary:hover,
.nj-d-album > a:hover { background: var(--paper); }
.nj-d-album[open] > summary { background: var(--paper); }
.nj-d-album > summary:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; }

.nj-d-album-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 4px;
	background: rgba(0, 69, 14, 0.07);
	color: var(--forest);
}

.nj-d-album-meta {
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--maroon);
}

.nj-d-album-title {
	flex: 1 1 auto;
	min-width: 0;
	font-family: var(--head);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--forest);
}

.nj-d-album-cta {
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--maroon);
	white-space: nowrap;
}

.nj-d-album-inner .nj-d-album-cta { color: var(--quiet); }
.nj-d-album-inner .nj-d-album-icon { background: var(--tint); color: var(--quiet); }

/* -------------------------------------------------- One filterable gallery */

.nj-d-gpills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
	margin: 0 0 28px;
}

.nj-d-gpill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border: 1px solid var(--hair2);
	border-radius: 999px;
	background: var(--card);
	font-family: var(--head);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.nj-d-gpill:hover { border-color: var(--forest); }

.nj-d-gpill.is-active {
	background: var(--brass);
	border-color: var(--brass);
	color: #23200F;
}

.nj-d-gpill-n {
	font-size: 9px;
	opacity: 0.6;
	font-variant-numeric: tabular-nums;
}

.nj-d-gpill.is-active .nj-d-gpill-n { opacity: 0.75; }

.nj-d-gpill:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }

/* Masonry via CSS columns: tiles keep their own proportions and the row
   heights stagger, which is what makes a photo wall read as a wall. */

.nj-d-masonry {
	columns: 4;
	column-gap: 12px;
}

.nj-d-shot {
	position: relative;
	display: block;
	margin: 0 0 12px;
	break-inside: avoid;
	border-radius: 4px;
	overflow: hidden;
	background: var(--tint);
	line-height: 0;
	text-decoration: none !important;
}

.nj-d-shot img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.35s ease, filter 0.25s ease;
}

.nj-d-shot:hover img { transform: scale(1.04); filter: brightness(0.92); }

.nj-d-shot-tag {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 4px 10px;
	border-radius: 3px;
	background: rgba(0, 51, 10, 0.86);
	color: var(--onDark);
	font-family: var(--head);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.7;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nj-d-shot:hover .nj-d-shot-tag,
.nj-d-shot:focus-visible .nj-d-shot-tag { opacity: 1; }

.nj-d-shot:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/*
 * A photo whose file is not on this server keeps its place as a marked frame
 * instead of disappearing. On a local copy of the site that is every photo, and
 * dropping them collapsed the whole band; as placeholders the grid still reads
 * as a wall and the counts still add up.
 */
.nj-d-shot.is-missing {
	min-height: 168px;
	background: var(--tint);
	border: 1px dashed var(--hair2);
}

.nj-d-shot.is-missing img { display: none; }

.nj-d-shot.is-missing::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid var(--hair2);
	border-radius: 3px;
}

/* The diagonal is the same "no picture here" mark the event cards use. */
.nj-d-shot.is-missing::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 12px;
	right: 12px;
	height: 1px;
	background: var(--hair2);
	transform: rotate(-14deg);
}

/* Nothing else identifies a placeholder, so its album label stays visible. */
.nj-d-shot.is-missing .nj-d-shot-tag {
	opacity: 1;
	background: rgba(0, 51, 10, 0.55);
	z-index: 1;
}

.nj-d-shot.is-missing:hover { border-color: var(--brass); }

/* Before its file arrives a tile reserves height. Without this the tile is
   zero pixels tall, and a lazy image inside a zero-height box is never
   fetched by the browser at all - which is what left the whole band blank. */
.nj-d-shot.is-pending {
	background: linear-gradient(100deg, #f1ece3 12%, #f8f4ec 34%, #f1ece3 56%);
	background-size: 220% 100%;
	animation: nj-d-shimmer 1.5s linear infinite;
}

/* The reservation has to sit on the image, not the link. Chrome decides
   whether to fetch a lazy image from that image's own box, and an <img> with
   no intrinsic size is zero pixels tall - so it never qualified as visible
   and never loaded, however tall the link around it was. */
.nj-d-shot.is-pending img {
	min-height: 168px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@keyframes nj-d-shimmer {
	from { background-position: 120% 0; }
	to { background-position: -120% 0; }
}

/* ------------------------------------------------- Progressive loading */

.nj-d-galfoot[hidden] { display: none !important; }

.nj-d-galfoot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 30px 0 0;
}

.nj-d-galcount {
	margin: 0;
	font-family: var(--head);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--quiet);
}

/* Numbered pages rather than endless scroll: there are more sections below the
   gallery, and infinite scroll would keep pushing them out of reach. */

.nj-d-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.nj-d-page {
	min-width: 42px;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--hair);
	border-radius: 6px;
	background: #ffffff;
	font-family: var(--head);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--forest);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nj-d-page:first-child,
.nj-d-page:last-child {
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 10.5px;
}

.nj-d-page:hover:not(:disabled):not(.is-current) {
	background: var(--tint);
	border-color: var(--hair2);
}

.nj-d-page.is-current {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--onDark);
	cursor: default;
}

/* The current page is also a disabled button, but it must not look dimmed -
   only the unavailable Previous/Next arrows should. */
.nj-d-page:disabled:not(.is-current) { opacity: 0.4; cursor: default; }

.nj-d-page:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.nj-d-pagegap {
	padding: 0 4px;
	color: var(--quiet);
	font-size: 13px;
}

.nj-d-galnote {
	margin: 26px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--quiet);
}

.nj-d-galnote a {
	color: var(--maroon) !important;
	font-weight: 700;
}

/* ------------------------------------------------------------------- Films */

.nj-d-films {
	list-style: none !important;
	margin: 0;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-auto-rows: 1fr;
	gap: 22px;
}

.nj-d-films > .nj-d-film { margin: 0; padding: 0 !important; list-style: none !important; display: flex; }
.nj-d-films > .nj-d-film::before { content: none !important; display: none !important; }

.nj-d-film > a,
.nj-d-film > .nj-d-film-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--card);
	border: 1px solid var(--hair);
	border-radius: 5px;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nj-d-film > a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(35, 32, 28, 0.13); }

.nj-d-film-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	background:
		repeating-linear-gradient(135deg, rgba(0, 69, 14, 0.05) 0 10px, rgba(0, 69, 14, 0) 10px 20px),
		var(--tint);
}

.nj-d-film-no {
	position: absolute;
	top: 12px;
	left: 14px;
	font-family: var(--head);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	color: var(--quiet);
}

.nj-d-film-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--brass);
	color: #23200F;
	transition: transform 0.2s ease;
}

.nj-d-film > a:hover .nj-d-film-play { transform: scale(1.08); }
.nj-d-film.is-soon .nj-d-film-play { background: var(--hair2); color: #fff; }

.nj-d-film-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 20px 20px; }

.nj-d-film-label {
	margin-bottom: 6px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--quiet);
}

.nj-d-film-title {
	font-family: var(--head);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.4px;
	line-height: 1.25;
	color: var(--ink);
}

.nj-d-film-cta {
	margin-top: auto;
	padding-top: 16px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--maroon);
}

.nj-d-film.is-soon .nj-d-film-cta { color: var(--quiet); }

/* ------------------------------------------------------------------- Story */

.nj-d-story {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 54px;
	align-items: start;
}

.nj-d-quote {
	margin: 26px 0 0;
	padding-left: 22px;
	border-left: 3px solid var(--brass);
}

.nj-d-quote blockquote { margin: 0; padding: 0; border: 0; background: none; }

.nj-d-quote blockquote p {
	margin: 0;
	font-size: clamp(17px, 1.7vw, 21px);
	font-style: italic;
	line-height: 1.55;
	color: var(--onDark);
}

.nj-d-quote blockquote p::before { content: "\201C"; }
.nj-d-quote blockquote p::after { content: "\201D"; }

.nj-d-quote figcaption {
	margin-top: 14px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brass);
}

.nj-d-quote-role { color: var(--onDarkQuiet); }
.nj-d-quote-role::before { content: "\00b7"; margin: 0 8px; }

/* Accordion (story + programme) */

.nj-d-acc { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }

.nj-d-acc > summary {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 4px;
	cursor: pointer;
	list-style: none;
}

.nj-d-acc > summary::-webkit-details-marker { display: none; }
.nj-d-acc > summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.nj-d-acc-head { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }

.nj-d-acc-eyebrow {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brass);
}

.nj-d-acc-title {
	font-family: var(--head);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.4px;
	line-height: 1.3;
	color: var(--onDark);
}

.nj-d-acc-sub { font-size: 14px; color: var(--onDarkQuiet); }

.nj-d-acc-mark { position: relative; width: 14px; height: 14px; flex: 0 0 14px; }

.nj-d-acc-mark::before,
.nj-d-acc-mark::after {
	content: "";
	position: absolute;
	background: var(--brass);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nj-d-acc-mark::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.nj-d-acc-mark::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.nj-d-acc[open] .nj-d-acc-mark::after { transform: scaleY(0); opacity: 0; }

.nj-d-acc-body { padding: 0 4px 22px; font-size: 15px; line-height: 1.75; color: var(--onDarkQuiet); }
.nj-d-acc-body p:last-child { margin-bottom: 0; }
.nj-d-acc-body ul { margin: 0; padding-left: 20px; }
.nj-d-acc-body li { margin-bottom: 7px; }
.nj-d-acc-body li::marker { color: var(--brass); }

/* Programme sits on the light ground, so it inverts. */

.nj-d-prog { border-top: 1px solid var(--hair2); text-align: left; }
.nj-d-prog .nj-d-acc { border-bottom-color: var(--hair2); }
.nj-d-prog .nj-d-acc-title { color: var(--forest); }
.nj-d-prog .nj-d-acc-eyebrow { color: var(--maroon); }
.nj-d-prog .nj-d-acc-sub { color: var(--quiet); }
.nj-d-prog .nj-d-acc-body { color: var(--quiet); }
.nj-d-prog .nj-d-acc-mark::before,
.nj-d-prog .nj-d-acc-mark::after { background: var(--maroon); }

.nj-d-prog-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 50%;
	background: rgba(0, 69, 14, 0.07);
	font-family: var(--head);
	font-size: 14px;
	font-weight: 800;
	color: var(--forest);
}

.nj-d-acc.is-numbered .nj-d-acc-body { padding-left: 50px; }

/* --------------------------------------------------------------- Two cards */

.nj-d-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.nj-d-duocard {
	padding: 32px 30px 34px;
	background: var(--card);
	border: 1px solid var(--hair);
	border-top: 3px solid var(--brass);
	border-radius: 6px;
}

.nj-d-duoicon { display: block; margin-bottom: 14px; font-size: 22px; color: var(--brass); }

.nj-d-duocard h3 {
	margin: 0 0 10px;
	font-family: var(--head);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.6px;
	color: var(--forest);
}

.nj-d-duocard p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--quiet); }

/* ----------------------------------------------------------------- Closing */

.nj-d-close {
	padding: 80px 0 86px;
	background: var(--forest-hi);
	text-align: center;
}

.nj-d-crown { display: block; margin-bottom: 16px; font-size: 26px; color: var(--brass); }

.nj-d-close-title {
	margin: 0 0 10px;
	font-family: var(--head);
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -1.2px;
	line-height: 1.15;
	color: #fff;
}

.nj-d-close-sub { margin: 0 0 30px; font-size: 16px; line-height: 1.7; color: var(--onDarkQuiet); }
.nj-d-close-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }

/* -------------------------------------------------------------- Responsive */


/* --------------------------------------------------- YouTube film cards */

/*
 * A YouTube card shows its poster frame and swaps in the player on click.
 * Embedding all of them up front would pull in a player per film before
 * anyone has decided to watch anything.
 */
.nj-d-film-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease, filter 0.25s ease;
}

.nj-d-film.is-yt .nj-d-film-stage { background: #10240F; }

.nj-d-film.is-yt .nj-d-film-no {
	color: rgba(255, 255, 255, 0.85);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	z-index: 2;
}

.nj-d-film.is-yt .nj-d-film-play {
	z-index: 2;
	background: var(--maroon);
	color: #fff;
	box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.65);
}

.nj-d-film.is-yt > a:hover .nj-d-film-poster { transform: scale(1.05); filter: brightness(0.82); }

/* The card that is currently open in the overlay is marked so it is easy to
   find again after closing. */
.nj-d-film.is-playing {
	outline: 2px solid var(--brass);
	outline-offset: 2px;
}

.nj-d-film.is-playing .nj-d-film-cta { color: var(--brass); }

/* ------------------------------------------------------ Video overlay */

/*
 * Films open large in an overlay rather than playing inside their card. That
 * gives the video real size, and because only one player is ever built, opening
 * a second film necessarily stops the first.
 */
.nj-d-noscroll,
.nj-d-noscroll body { overflow: hidden !important; }

.nj-d-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3vh 3vw;
}

.nj-d-lightbox[hidden] { display: none !important; }

.nj-d-lightbox-veil {
	position: absolute;
	inset: 0;
	/* Nearly opaque: at 0.93 the green hero behind it still read through
	   clearly enough to compete with the photo. */
	background: rgba(0, 20, 4, 0.975);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.nj-d-lightbox-inner {
	position: relative;
	width: 100%;
	max-width: 1180px;
	animation: nj-d-rise 0.22s ease-out;
}

@keyframes nj-d-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

.nj-d-lightbox-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 12px;
}

.nj-d-lightbox-title {
	margin: 0;
	font-family: var(--head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--onDark);
}

.nj-d-lightbox-x {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(245, 241, 232, 0.35);
	border-radius: 50%;
	background: transparent;
	color: var(--onDark);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nj-d-lightbox-x:hover {
	background: var(--maroon);
	border-color: var(--maroon);
	color: #fff;
}

.nj-d-lightbox-x:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.nj-d-lightbox-stage {
	position: relative;
	aspect-ratio: 16 / 9;
	max-height: 76vh;
	margin: 0 auto;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}

.nj-d-lightbox-stage iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.nj-d-lightbox-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 14px;
}

.nj-d-lightbox-step {
	min-height: 40px;
	padding: 0 20px;
	border: 1px solid rgba(245, 241, 232, 0.32);
	border-radius: 999px;
	background: transparent;
	font-family: var(--head);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--onDark);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nj-d-lightbox-step:hover:not(:disabled) {
	background: var(--brass);
	border-color: var(--brass);
	color: #23200F;
}

.nj-d-lightbox-step:disabled { opacity: 0.35; cursor: default; }

.nj-d-lightbox-step:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.nj-d-lightbox-pos {
	margin: 0;
	font-family: var(--head);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--onDarkQuiet);
}


/* ------------------------------------------ Photo viewer variant */

/*
 * Photos need a box that fits the picture rather than a fixed 16:9 frame, and
 * no black backing - a letterboxed photo on black reads as a video that failed
 * to start.
 */
.nj-d-lightbox-stage.is-photo {
	aspect-ratio: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40vh;
	max-height: 78vh;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.nj-d-lightbox-stage.is-photo img {
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	display: block;
	border-radius: 6px;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}

.nj-d-lightbox-stage.is-photo.is-gone {
	border: 1px dashed rgba(245, 241, 232, 0.3);
	border-radius: 6px;
	min-height: 30vh;
}

.nj-d-lightbox-gone {
	margin: 0;
	padding: 0 24px;
	text-align: center;
	font-size: 15px;
	line-height: 1.7;
	color: var(--onDarkQuiet);
}

.nj-d-lightbox-tools {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.nj-d-lightbox-orig {
	font-family: var(--head);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--onDarkQuiet) !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.nj-d-lightbox-orig:hover { color: var(--brass) !important; }

/* A photo tile is now a viewer trigger, so it should read as one. */
.nj-d-shot { cursor: zoom-in; }
.nj-d-shot.is-missing { cursor: default; }

@media (max-width: 600px) {
	.nj-d-lightbox-stage.is-photo,
	.nj-d-lightbox-stage.is-photo img { max-height: 62vh; }

	.nj-d-lightbox-orig { display: none; }
}

@media (max-width: 600px) {
	.nj-d-lightbox { padding: 0; align-items: stretch; }

	.nj-d-lightbox-inner {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 16px 14px;
	}

	.nj-d-lightbox-stage { border-radius: 4px; max-height: 60vh; }
	.nj-d-lightbox-title { font-size: 13.5px; }
	.nj-d-lightbox-nav { gap: 10px; }
	.nj-d-lightbox-step { padding: 0 14px; font-size: 10px; }
}

@media (max-width: 1000px) {
	.nj-d-hero-grid,
	.nj-d-story { grid-template-columns: 1fr; gap: 40px; }
	.nj-d-duo { grid-template-columns: 1fr; }
	.nj-d-masonry { columns: 3; }
}

@media (max-width: 700px) {
	.nj-d-hero { padding: 28px 0 52px; }
	.nj-d-crumb { margin-bottom: 26px; }
	.nj-d-band { padding: 58px 0; }
	.nj-d-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nj-d-tiles > .nj-d-tile { padding: 18px 16px 16px !important; }

	.nj-d-facts > div { flex: 1 1 100%; padding-right: 0; }
	.nj-d-facts > div + div {
		margin-top: 14px;
		padding-top: 14px;
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.18);
	}

	.nj-d-album > summary,
	.nj-d-album > a,
	.nj-d-album > .nj-d-album-inner { flex-wrap: wrap; gap: 12px; }
	.nj-d-album-cta { flex-basis: 100%; }

	.nj-d-films { grid-template-columns: 1fr; }
	.nj-d-masonry { columns: 2; column-gap: 10px; }
	.nj-d-shot { margin-bottom: 10px; }
	.nj-d-hero-actions .nj-d-btn,
	.nj-d-close-actions .nj-d-btn { flex: 1 1 100%; text-align: center; }
	.nj-d-acc.is-numbered .nj-d-acc-body { padding-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.nj-d-film > a, .nj-d-film-play, .nj-d-btn, .nj-d-shot img, .nj-d-gpill { transition: none; }
	.nj-d-shot.is-pending { animation: none; }
	.nj-d-lightbox-inner { animation: none; }
	.nj-d-shot:hover img { transform: none; }
	.nj-d-film > a:hover { transform: none; }
	.nj-d-film > a:hover .nj-d-film-play { transform: none; }
}
