/* ===========================================================================
   Labëria Canada – Toronto — design system
   Tokens, base type, and the components shared by every page: container,
   section head, kicker pill, buttons, chips, cards, notes, reveal.
   Hand-written; no framework. Loaded only on pages a Labëria template renders.
   ======================================================================== */

:root {
	/* Brand */
	--lb-burgundy:       #7A1F2B;
	--lb-burgundy-2:     #92303D;
	--lb-burgundy-deep:  #4A1119;
	--lb-ink:            #1C1917;
	--lb-ink-2:          #2E2A26;
	/* Muted greys are *text* colours: both must clear 4.5:1 on parchment, the
	   darkest ground they are ever set on (they did not — 4.41 / 2.89). */
	--lb-stone:          #5E5D52;
	--lb-stone-2:        #6A6859;

	/* Grounds */
	--lb-cream:          #F6F1E8;
	--lb-cream-2:        #FBF7F0;
	--lb-white:          #FFFDF9;
	--lb-parchment:      #EFE6D6;
	--lb-parchment-2:    #E6DAC4;

	/* Accents */
	--lb-gold:           #C9A24B;
	/* -deep is the *text* gold and must clear 4.5:1 on gold-tint, which #A8842F
	   did not (2.93). -mid keeps the old value for the gold gradients that carry
	   dark text, where a darker end would fail the other way. */
	--lb-gold-deep:      #7A5D15;
	--lb-gold-mid:       #A8842F;
	--lb-gold-tint:      #F5EAD2;
	--lb-terracotta:     #A54A24;
	--lb-terracotta-tint:#F8E6DC;
	--lb-olive:          #5B6B3A;
	--lb-olive-tint:     #E9EEDC;
	--lb-burgundy-tint:  #F6E4E4;

	/* Hairlines */
	--lb-line:           rgba(28,25,23,.10);
	--lb-line-2:         rgba(28,25,23,.06);
	--lb-line-gold:      rgba(201,162,75,.34);

	/* Shadows — always tinted with the ink, never black */
	--lb-sh-xs:  0 1px 2px rgba(28,25,23,.05);
	--lb-sh-sm:  0 2px 8px rgba(28,25,23,.06);
	--lb-sh-md:  0 10px 26px -18px rgba(28,25,23,.50), 0 2px 6px rgba(28,25,23,.05);
	--lb-sh-lg:  0 20px 44px -26px rgba(28,25,23,.52), 0 4px 12px rgba(28,25,23,.06);
	--lb-sh-xl:  0 26px 60px -26px rgba(28,25,23,.42), 0 3px 10px rgba(28,25,23,.07);

	/* Radii */
	--lb-r-sm:  10px;
	--lb-r-md:  14px;
	--lb-r-lg:  19px;
	--lb-r-xl:  26px;
	--lb-r-2xl: 30px;
	--lb-r-pill: 999px;

	/* Type */
	--lb-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--lb-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--lb-hand:    'Caveat', 'Segoe Script', cursive;

	/* Layout — fluid: the page fills a wide monitor instead of leaving two thirds
	   of a 2560px screen empty. .lb-wrap is `max-width: container` + a gutter of
	   padding, so the readable band is min(1720px, 100vw) − 2 × gutter:
	   1348px at 1440, 1608px at 1920 and 2560. */
	--lb-container: 1720px;
	--lb-gutter: clamp(20px, 3.2vw, 56px);
	--lb-header-h: 76px;
	--lb-sec-y: clamp(60px, 3.6vw, 84px);

	/* Motion */
	--lb-ease: cubic-bezier(.4,0,.2,1);
}

/* ── base ───────────────────────────────────────────────────────────────── */

.lb, .lb *, .lb *::before, .lb *::after { box-sizing: border-box; }

body.lb-page {
	margin: 0;
	background: var(--lb-cream);
	font-family: var(--lb-body);
	font-size: 16.5px;
	line-height: 1.78;
	color: var(--lb-ink-2);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.lb h1, .lb h2, .lb h3, .lb h4 {
	font-family: var(--lb-display);
	font-weight: 800;
	color: var(--lb-ink);
	margin: 0;
	letter-spacing: -.4px;
}
.lb p { margin: 0; }
.lb img { max-width: 100%; }
/* Voxel's commons.css sets `a { color: var(--ts-accent-1) }`, so unclassed links need
   a colour of their own — but this must NOT outrank the button/pill components, which
   carry a single class (0,1,0) and would lose to a `.lb a` descendant rule (0,1,1).
   :not([class]) keeps the reset to bare anchors only. */
.lb a:not([class]),
.lb a:not([class]):visited { color: inherit; }

.lb ::selection { background: var(--lb-gold-tint); color: var(--lb-ink); }

.lb :focus-visible,
body.lb-page :focus-visible {
	outline: 2px solid var(--lb-gold-deep);
	outline-offset: 3px;
	border-radius: 6px;
}

.lb-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.lb-main { display: block; }
.lb-wrap { max-width: var(--lb-container); margin: 0 auto; padding: 0 var(--lb-gutter); }
.lb-sec  { padding: var(--lb-sec-y) 0; position: relative; }

.lb-ico { flex: none; display: inline-block; vertical-align: -.16em; }

/* Every photograph on the site gets the same light warm grade, so the AI
   placeholders and the association's own photographs will read as one family. */
.lb-img {
	display: block; width: 100%; height: auto;
	background: linear-gradient(135deg, var(--lb-parchment) 0%, var(--lb-cream-2) 100%);
	filter: saturate(1.03) contrast(1.02) sepia(.05);
}

/* ── type scale ─────────────────────────────────────────────────────────── */

.lb-h1 {
	font-size: clamp(34px, 5vw, 62px);
	line-height: 1.08;
	letter-spacing: -1px;
	font-weight: 800;
}
.lb-h1 > span { display: block; }
.lb-h1 .lb-t2 { font-size: .82em; letter-spacing: -.8px; }
.lb-h1 .lb-t2, .lb-h2 .lb-t2 { color: var(--lb-burgundy); }

.lb-h2 {
	font-size: clamp(26px, 1.65vw, 32px);
	line-height: 1.16;
	letter-spacing: -.5px;
}
.lb-h3 { font-size: 17px; letter-spacing: -.3px; line-height: 1.32; }

.lb-lede {
	font-size: 17px;
	line-height: 1.72;
	color: var(--lb-stone);
	max-width: 58ch;
}
.lb-body { font-size: 16.5px; line-height: 1.78; color: var(--lb-stone); max-width: 66ch; }

/* handwritten note */
.lb-note {
	display: inline-block;
	font-family: var(--lb-hand);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--lb-gold-deep);
	transform: rotate(-1.5deg);
	letter-spacing: 0;
}
.lb-note-block { display: block; margin: 14px 0 0; }

/* ── kicker pill ────────────────────────────────────────────────────────── */

.lb-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px 6px 12px;
	border-radius: var(--lb-r-pill);
	background: var(--lb-gold-tint);
	color: var(--lb-gold-deep);
	font-family: var(--lb-display);
	font-size: 11px; font-weight: 800;
	letter-spacing: 1.2px; text-transform: uppercase;
	line-height: 1.5;
}
.lb-kicker .lb-ico { vertical-align: 0; color: var(--lb-gold-deep); }
.lb-kicker.is-burgundy { background: var(--lb-burgundy-tint); color: var(--lb-burgundy); }
.lb-kicker.is-light { background: rgba(255,255,255,.14); color: rgba(255,255,255,.92); }
/* .is-solid pins the label and the glyph to pure white — the variant the
   conversion pages used, previously a `.lb .lb-kicker.is-light` override in
   convert.css. Without it the glyph keeps the gold of the default pill. */
.lb-kicker.is-light.is-solid,
.lb-kicker.is-light.is-solid .lb-ico { color: #fff; }

/* ── buttons ────────────────────────────────────────────────────────────── */

.lb-btn {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 14px 26px;
	border-radius: var(--lb-r-pill);
	font-family: var(--lb-display);
	font-size: 14.5px; font-weight: 800; letter-spacing: .01em;
	text-decoration: none;
	border: 0; cursor: pointer;
	transition: background .22s var(--lb-ease), color .22s var(--lb-ease),
	            transform .22s var(--lb-ease), box-shadow .22s var(--lb-ease);
}
.lb-btn .lb-ico { transition: transform .22s var(--lb-ease); vertical-align: 0; }
.lb-btn:hover .lb-ico { transform: translateX(4px); }

.lb-btn-solid { background: var(--lb-burgundy); color: #fff; box-shadow: 0 8px 18px -12px rgba(28,25,23,.35); }
.lb-btn-solid:hover { background: var(--lb-burgundy-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(28,25,23,.4); }
/* Theme link rules (incl. :visited) were overriding the label colour — pin it. */
a.lb-btn.lb-btn-solid, a.lb-btn.lb-btn-solid:visited, a.lb-btn.lb-btn-solid:hover, a.lb-btn.lb-btn-solid:focus, a.lb-btn.lb-btn-solid:active { color: #fff; }
.lb-btn.lb-btn-solid svg { color: #fff; stroke: currentColor; }

.lb-btn-gold { background: var(--lb-gold); color: #3B2B08; box-shadow: 0 8px 18px -12px rgba(28,25,23,.35); }
.lb-btn-gold:hover { background: #fff; color: var(--lb-burgundy-deep); transform: translateY(-2px); }

.lb-btn-outline {
	background: var(--lb-white); color: var(--lb-ink);
	box-shadow: inset 0 0 0 1.5px var(--lb-line-gold), var(--lb-sh-xs);
}
.lb-btn-outline:hover { background: var(--lb-gold-tint); box-shadow: inset 0 0 0 1.5px var(--lb-gold); transform: translateY(-2px); }

.lb-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34); }
.lb-btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

.lb-btn-text {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--lb-display); font-size: 14.5px; font-weight: 800;
	color: var(--lb-burgundy); text-decoration: none; padding: 14px 4px;
}
.lb-btn-text .lb-ico { transition: transform .22s var(--lb-ease); vertical-align: 0; }
.lb-btn-text:hover .lb-ico { transform: translateX(4px); }

/* a button that is deliberately inert — the action exists but the target does not
   yet (the statute PDF). Moved here from pages.css: it modifies .lb-btn. */
.lb-btn.is-off {
	cursor: not-allowed; color: var(--lb-stone-2);
	background: var(--lb-parchment);
	box-shadow: inset 0 0 0 1.5px var(--lb-line);
}
.lb-btn.is-off:hover { background: var(--lb-parchment); transform: none; box-shadow: inset 0 0 0 1.5px var(--lb-line); }
.lb-btn.is-off .lb-ico { color: var(--lb-stone-2); }

/* small outline pill used top-right of a section head */
.lb-more {
	display: inline-flex; align-items: center; gap: 7px;
	background: var(--lb-white); color: var(--lb-ink);
	box-shadow: inset 0 0 0 1.5px var(--lb-line-gold);
	padding: 10px 20px; border-radius: var(--lb-r-pill);
	font-family: var(--lb-display); font-size: 13px; font-weight: 800;
	text-decoration: none; white-space: nowrap;
	transition: background .22s var(--lb-ease), color .22s var(--lb-ease), transform .22s var(--lb-ease), box-shadow .22s var(--lb-ease);
}
.lb-more .lb-ico { transition: transform .22s var(--lb-ease); vertical-align: 0; }
.lb-more:hover { background: var(--lb-burgundy); color: #fff; box-shadow: inset 0 0 0 1.5px var(--lb-burgundy); transform: translateY(-2px); }
.lb-more:hover .lb-ico { transform: translateX(3px); }


/* see the :visited note in chrome.css */
.lb-btn-gold:visited { color: #3B2B08; }
.lb-btn-outline:visited { color: var(--lb-ink); }
.lb-btn-ghost:visited { color: #fff; }
.lb-btn-text:visited { color: var(--lb-burgundy); }
.lb-more:visited { color: var(--lb-ink); }
.lb-more:hover, .lb-more:hover:visited { color: #fff; }

/* ── section head ───────────────────────────────────────────────────────── */

.lb-head {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 20px; flex-wrap: wrap; margin-bottom: 30px;
}
.lb-head > .lb-more { margin-top: 4px; }
.lb-head-l { max-width: 62ch; }
.lb-head .lb-kicker { margin-bottom: 13px; }
.lb-head .lb-h2 .lb-note { margin-left: 15px; }
.lb-head .lb-note { font-size: 21px; white-space: nowrap; }
.lb-head .lb-lede { margin-top: 11px; font-size: 16.5px; }

/* ── chips ──────────────────────────────────────────────────────────────── */

.lb-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px; border-radius: var(--lb-r-pill);
	background: var(--lb-gold-tint); color: var(--lb-gold-deep);
	font-family: var(--lb-display); font-size: 11px; font-weight: 800;
	letter-spacing: .8px; text-transform: uppercase; line-height: 1.6;
	white-space: nowrap;
}
.lb-chip .lb-ico { vertical-align: 0; }
.lb-chip.cat-cultural-events        { background: var(--lb-burgundy-tint);   color: var(--lb-burgundy); }
.lb-chip.cat-concerts-performances  { background: var(--lb-gold-tint);       color: var(--lb-gold-deep); }
.lb-chip.cat-children-youth         { background: var(--lb-terracotta-tint); color: var(--lb-terracotta); }
.lb-chip.cat-community              { background: var(--lb-olive-tint);      color: var(--lb-olive); }
.lb-chip.is-glass {
	background: rgba(255,255,255,.18); color: #fff;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* the three state chips the dynamic pages raised; they modify .lb-chip, so they
   belong to the component rather than to a page sheet */
.lb-chip.is-sample {
	background: var(--lb-parchment);
	color: var(--lb-stone);
	box-shadow: inset 0 0 0 1px rgba(28,25,23,.08);
}
.lb-chip.is-glass.is-sample-glass { background: rgba(28,25,23,.34); color: rgba(255,255,255,.92); }
.lb-chip.is-past-chip { background: var(--lb-parchment-2); color: var(--lb-burgundy-deep); }

/* a glyph that points the other way — the "back" links */
.lb-ico.is-flip { transform: rotate(180deg); }
.lb-btn-text.is-back:hover .lb-ico.is-flip { transform: rotate(180deg) translateX(4px); }

/* ── card shell ─────────────────────────────────────────────────────────── */

.lb-card {
	display: flex; flex-direction: column;
	background: var(--lb-white);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-lg);
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--lb-sh-sm);
	transition: transform .24s var(--lb-ease), box-shadow .24s var(--lb-ease), border-color .24s var(--lb-ease);
}
.lb-card:hover { transform: translateY(-4px); box-shadow: var(--lb-sh-lg); border-color: var(--lb-line-gold); }

.lb-card-media { position: relative; overflow: hidden; background: var(--lb-parchment); }
.lb-card-media .lb-img { aspect-ratio: 16/10; object-fit: cover; transition: transform .6s var(--lb-ease); }
.lb-card:hover .lb-card-media .lb-img { transform: scale(1.05); }
.lb-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lb-card-title {
	font-family: var(--lb-display); font-weight: 800; font-size: 16.5px;
	line-height: 1.34; letter-spacing: -.3px; color: var(--lb-ink); margin: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; min-height: calc(1.34em * 2);
}
.lb-card-text { font-size: 14.4px; line-height: 1.65; color: var(--lb-stone); margin: 0; }

/* ── ticket-stub activity card ──────────────────────────────────────────────
   One component, two looks. The Home band renders it as a single <a> whose rail
   ends in the start time; the Activities archive renders it as an <article>
   (.is-stub) whose rail ends in the year and whose foot carries the "Add to
   calendar" link — a card with two targets cannot be one anchor. */

.lb-ev {
	display: flex; min-height: 156px;
	background: var(--lb-white); border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-lg); overflow: hidden; text-decoration: none;
	box-shadow: var(--lb-sh-sm);
	transition: transform .24s var(--lb-ease), box-shadow .24s var(--lb-ease), border-color .24s var(--lb-ease);
}
/* the stub is positioned because its title stretches a ::after over the card */
.lb-ev.is-stub { position: relative; min-height: 182px; }
.lb-ev:hover { transform: translateY(-4px); box-shadow: var(--lb-sh-lg); border-color: var(--lb-line-gold); }

.lb-ev-rail {
	flex: none; width: 82px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
	padding: 16px 6px;
	background: linear-gradient(165deg, var(--lb-burgundy) 0%, var(--lb-burgundy-deep) 100%);
	border-right: 2px dashed rgba(255,255,255,.85);
	color: #fff; text-align: center;
}
.lb-ev.is-past .lb-ev-rail {
	background: linear-gradient(165deg, var(--lb-parchment-2) 0%, var(--lb-parchment) 100%);
	border-right-color: rgba(255,253,249,.9);
	color: var(--lb-burgundy-deep);
}
.lb-ev-wk  { font-family: var(--lb-display); font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; opacity: .78; }
.lb-ev-day { font-family: var(--lb-display); font-size: 30px; font-weight: 800; line-height: 1.02; letter-spacing: -1px; }
.lb-ev-mon { font-family: var(--lb-display); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.lb-ev-rule { width: 20px; height: 1px; background: currentColor; opacity: .34; margin: 8px 0 6px; }
/* the Home rail's hairline sits a shade tighter to the time under it */
.lb-ev-rule.is-dot { width: 18px; background: rgba(255,255,255,.34); opacity: 1; margin: 7px 0 5px; }
.lb-ev-sub { font-size: 11px; font-weight: 600; opacity: .8; }
.lb-ev-sub.is-year { letter-spacing: .6px; }

.lb-ev-body { display: flex; flex-direction: column; gap: 8px; padding: 17px 19px 16px; flex: 1; min-width: 0; }
.lb-ev.is-stub .lb-ev-body { gap: 7px; padding: 16px 18px 14px; }
.lb-ev-body > .lb-chip { align-self: flex-start; }
.lb-ev-body .lb-card-title { font-size: 16px; min-height: 0; }
/* the longest category name plus the Sample chip has to hold one line in a third of a row */
.lb-ev.is-stub .lb-ev-body .lb-chip { font-size: 10.3px; letter-spacing: .5px; padding: 4px 10px; }

.lb .lb-ev-t {
	font-family: var(--lb-display); font-weight: 800; font-size: 16.5px;
	line-height: 1.32; letter-spacing: -.3px; color: var(--lb-ink); margin: 2px 0 0;
}
.lb-ev-t a {
	color: inherit; text-decoration: none;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* the whole card is the link; the .ics anchor in the foot sits above this layer */
.lb-ev-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lb-ev:hover .lb-ev-t a { color: var(--lb-burgundy); }

.lb .lb-ev-time,
.lb .lb-ev-venue {
	display: flex; align-items: flex-start; gap: 6px; margin: 0;
	font-size: 12.8px; line-height: 1.5; color: var(--lb-stone);
}
.lb .lb-ev.is-stub .lb-ev-time,
.lb .lb-ev.is-stub .lb-ev-venue { font-size: 12.9px; }
.lb-ev-time .lb-ico, .lb-ev-venue .lb-ico { color: var(--lb-gold-deep); margin-top: 3px; flex: none; }
.lb-ev-venue span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.lb-ev-more {
	margin-top: auto; padding-top: 10px;
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--lb-display); font-size: 13px; font-weight: 800; color: var(--lb-burgundy);
}
.lb-ev-more .lb-ico { transition: transform .22s var(--lb-ease); vertical-align: 0; }
.lb-ev:hover .lb-ev-more .lb-ico { transform: translateX(4px); }

.lb-ev-foot {
	margin-top: auto; padding-top: 12px;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	border-top: 1px solid var(--lb-line-2);
}
/* inside the foot the label is one flex item among two, not the last block */
.lb-ev-foot .lb-ev-more { margin-top: 0; padding-top: 0; }

.lb-ev-ics {
	position: relative; z-index: 2;
	display: inline-grid; place-items: center; width: 32px; height: 32px;
	border-radius: 50%; color: var(--lb-gold-deep); text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--lb-line-gold);
	transition: background .2s var(--lb-ease), color .2s var(--lb-ease), box-shadow .2s var(--lb-ease);
}
.lb-ev-ics:hover { background: var(--lb-gold-tint); box-shadow: inset 0 0 0 1px var(--lb-gold); color: var(--lb-burgundy-deep); }
.lb-ev-ics .lb-ico { vertical-align: 0; }

/* ── the parchment filler / empty tile ──────────────────────────────────────
   A slot that has nothing in it is never left blank; it draws this instead.
   On a card grid it is put on .lb-ev so it keeps the row's height. */

.lb-fill {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	padding: 26px;
	background: var(--lb-parchment); border: 1px dashed var(--lb-line-gold);
	border-radius: var(--lb-r-lg); text-align: center; color: var(--lb-stone);
}
.lb-fill .lb-ico { color: var(--lb-gold-deep); }
.lb-ev.lb-fill { box-shadow: none; }
.lb-ev.lb-fill:hover { transform: none; box-shadow: none; }

/* ── news card ──────────────────────────────────────────────────────────────
   Sits on .lb-card; this is the body, the excerpt clamp and the foot pill that
   the Home band and the News archive both render. Home's featured / compact
   pair are two modifiers of the same card, in home.css. */

.lb-news-card .lb-card-body { gap: 9px; padding: 20px 22px 18px; }
/* the archive's cards carry a date pill rather than a meta row, and sit a pixel higher */
.lb-news-card.is-tight .lb-card-body { padding-top: 19px; }
.lb-news-x { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lb-news-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--lb-line-2); }
.lb-news-cta {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 17px; border-radius: var(--lb-r-pill);
	background: var(--lb-burgundy); color: #fff;
	font-family: var(--lb-display); font-size: 12.5px; font-weight: 800;
	transition: background .3s var(--lb-ease), transform .22s var(--lb-ease);
}
.lb-news-cta .lb-ico { transition: transform .22s var(--lb-ease); vertical-align: 0; }
.lb-news-card:hover .lb-news-cta { background: linear-gradient(100deg, var(--lb-burgundy) 0%, var(--lb-gold-deep) 100%); }
.lb-news-card:hover .lb-news-cta .lb-ico { transform: translateX(4px); }

/* the dashed date pill that labels a post or an album */
.lb-datepill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px; border-radius: var(--lb-r-pill);
	border: 1px dashed var(--lb-line-gold);
	font-family: var(--lb-display); font-size: 11px; font-weight: 800;
	letter-spacing: .5px; color: var(--lb-gold-deep); white-space: nowrap;
}
.lb-datepill.is-plain { border-style: solid; border-color: var(--lb-line); color: var(--lb-stone); }
.lb-datepill .lb-ico { vertical-align: 0; }

/* ── full-bleed photo card ──────────────────────────────────────────────────
   A photograph that is the whole card, under a four-stop scrim, with the title
   sitting on the picture. Used by the gallery's albums and by Home's heritage
   band; each sheet tunes the scrim and the title's leading to its own copy. */

.lb-photocard {
	position: relative; display: block; overflow: hidden;
	border-radius: var(--lb-r-lg); text-decoration: none;
	box-shadow: var(--lb-sh-md);
	transition: transform .24s var(--lb-ease), box-shadow .24s var(--lb-ease);
}
.lb-photocard:hover { transform: translateY(-4px); box-shadow: var(--lb-sh-lg); }
.lb-photocard .lb-img { object-fit: cover; transition: transform .6s var(--lb-ease); }
.lb-photocard:hover .lb-img { transform: scale(1.05); }
.lb-photocard-scrim {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg,
		rgba(28,25,23,.20) 0%,
		rgba(28,25,23,0) 28%,
		rgba(28,25,23,.12) 46%,
		rgba(28,25,23,.88) 100%);
}
.lb-photocard-t { position: absolute; left: 18px; right: 18px; bottom: 16px; display: block; }
.lb-photocard-h {
	display: block; font-family: var(--lb-display); font-size: 17px; font-weight: 800;
	letter-spacing: -.3px; color: #fff; text-shadow: 0 1px 8px rgba(28,25,23,.45);
}

/* ── zoomable photo tile (gallery mosaics) ──────────────────────────────── */

.lb-tile {
	position: relative; margin: 0; overflow: hidden; cursor: zoom-in;
	border-radius: var(--lb-r-lg); background: var(--lb-parchment);
	box-shadow: var(--lb-sh-sm);
	transition: transform .24s var(--lb-ease), box-shadow .24s var(--lb-ease);
}
.lb-tile:hover { transform: translateY(-4px); box-shadow: var(--lb-sh-lg); }
.lb-tile .lb-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--lb-ease); }
.lb-tile:hover .lb-img { transform: scale(1.05); }
.lb-tile-x {
	position: absolute; right: 12px; bottom: 12px;
	width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(255,253,249,.92); color: var(--lb-burgundy);
	opacity: 0; transform: translateY(6px);
	transition: opacity .22s var(--lb-ease), transform .22s var(--lb-ease);
}
.lb-tile:hover .lb-tile-x { opacity: 1; transform: none; }

/* ── panels ─────────────────────────────────────────────────────────────── */

.lb-panel { border-radius: var(--lb-r-xl); padding: 44px 46px; position: relative; overflow: hidden; }
.lb-panel-cream { background: linear-gradient(180deg, var(--lb-cream-2) 0%, var(--lb-parchment) 100%); }
.lb-panel-dark  { background: var(--lb-burgundy-deep); color: #fff; }
.lb-panel-dark h2, .lb-panel-dark .lb-h2 { color: #fff; }
.lb-panel-dark p { color: rgba(255,255,255,.80); }

/* ── the page hero ──════════════════════════════════════════════════════
   Same construction as the Home hero: it runs up under the floating header in
   CSS, never by a scripted offset. 1fr / .86fr, photo tilted +1.4° in a white
   frame with a floating chip pinned into its lower-left corner. */

.lb-hero {
	position: relative;
	margin-top: calc(-1 * var(--lb-header-h));
	padding: calc(var(--lb-header-h) + 44px) 0 46px;
	background: linear-gradient(180deg, var(--lb-cream) 0%, var(--lb-cream-2) 60%, var(--lb-white) 100%);
	overflow: hidden;
}
.lb-blob {
	position: absolute; top: -180px; right: -140px; width: 470px; height: 470px;
	border-radius: 50%; background: var(--lb-parchment); opacity: .6; pointer-events: none;
}
.lb-blob-2 {
	position: absolute; top: 56px; right: 250px; width: 180px; height: 180px;
	border-radius: 50%; background: var(--lb-gold-tint); opacity: .55; pointer-events: none;
}

.lb-hero-grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
	gap: 52px; align-items: center;
}
.lb-hero-copy .lb-h1 { margin-top: 17px; }
.lb-hero-note { margin: 15px 0 4px; font-size: 25px; max-width: 30ch; }
p.lb-hero-p { margin-top: 18px; }
p.lb-hero-p.lb-lede { color: var(--lb-ink-2); }
p.lb-hero-p.lb-body { font-size: 16px; max-width: 54ch; }
.lb-hero-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 27px; }

/* the framed photograph */
.lb-hero-art { position: relative; }
.lb-shot { margin: 0; position: relative; }
.lb-shot .lb-img {
	border-radius: 20px; border: 8px solid #fff;
	box-shadow: 0 30px 66px -28px rgba(28,25,23,.46), 0 3px 10px rgba(28,25,23,.07);
	transform: rotate(1.4deg);
}
.lb-shot-chip {
	position: absolute; left: -14px; bottom: 16px; z-index: 2;
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 15px; border-radius: var(--lb-r-pill);
	background: rgba(255,253,249,.96);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	box-shadow: 0 16px 34px -16px rgba(28,25,23,.5), inset 0 0 0 1px var(--lb-line-2);
	font-family: var(--lb-display); font-size: 12.5px; font-weight: 800;
	letter-spacing: -.1px; color: var(--lb-ink);
}
.lb-shot-chip .lb-ico { color: var(--lb-gold-deep); vertical-align: 0; }

/* the hand-drawn layer, same as the Home hero */
.lb-hero-copy .lb-h1 > span.lb-underline { display: inline-block; }
/* deeper than the Home hero's .06em: these headlines end in descenders
   (programs, policy), and the scribble must pass under them, not through */
.lb-hero-copy .lb-h1 .lb-underline { padding-bottom: .17em; }
.lb-hero-copy .lb-scribble { bottom: -.03em; height: .17em; }

/* ── the panel card ─────────────────────────────────────────────────────────
   A white box with a coloured header strip, used for the activity single's
   sidebar and for Contact's three panels. The header's metrics belong to the
   page sheet; the shell is the same everywhere. */

.lb-panel-card {
	background: var(--lb-white); border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-lg); overflow: hidden; box-shadow: var(--lb-sh-sm);
}

/* ── the gold-rule note strip ───────────────────────────────────────────────
   One sentence set apart from the copy around it: a gold rule down its left
   edge on the parchment ground. Each page adds only its own spacing. */

.lb-notestrip {
	padding: 16px 20px;
	border-left: 3px solid var(--lb-gold);
	background: var(--lb-cream-2);
	border-radius: 0 var(--lb-r-sm) var(--lb-r-sm) 0;
	font-size: 15px; line-height: 1.7; color: var(--lb-stone);
}
.lb-notestrip .lb-ico { color: var(--lb-gold-deep); flex: none; }

/* ── reveal ─────────────────────────────────────────────────────────────── */

.lb-reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--lb-ease), transform .6s var(--lb-ease); }
.lb-reveal.lb-in { opacity: 1; transform: none; }
.lb-reveal[data-d="1"] { transition-delay: .08s; }
.lb-reveal[data-d="2"] { transition-delay: .16s; }
.lb-reveal[data-d="3"] { transition-delay: .24s; }
.lb-reveal[data-d="4"] { transition-delay: .32s; }

/* ── lightbox ───────────────────────────────────────────────────────────── */

.lb-lightbox {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(28,25,23,.9);
	display: grid; place-items: center; padding: 5vmin;
}
.lb-lightbox[hidden] { display: none; }
.lb-lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--lb-r-md); box-shadow: var(--lb-sh-xl); }
.lb-lightbox-x {
	position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
	border-radius: 50%; border: 0; cursor: pointer; font-size: 26px; line-height: 1;
	background: rgba(255,255,255,.14); color: #fff;
}
.lb-lightbox-x:hover { background: rgba(255,255,255,.26); }

/* ── breakpoints ────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
	.lb-hero-grid { gap: 36px; }
}

@media (max-width: 900px) {
	:root { --lb-gutter: 20px; --lb-sec-y: 50px; }
	.lb-hero { padding-top: calc(var(--lb-header-h) + 30px); padding-bottom: 46px; }
	.lb-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.lb-hero-art { order: -1; max-width: 560px; }
	.lb-shot .lb-img { transform: none; border-width: 6px; }
	.lb-shot-chip { left: 12px; bottom: 12px; }
	.lb-blob { width: 320px; height: 320px; top: -140px; right: -110px; }
	.lb-blob-2 { display: none; }
	.lb-panel { padding: 34px 26px; border-radius: 22px; }
}
@media (max-width: 680px) {
	.lb-hero { padding-bottom: 38px; }
	.lb-hero-btns .lb-btn { flex: 1 1 100%; justify-content: center; }
	.lb-shot-chip { font-size: 11.8px; padding: 8px 13px; }
}
@media (max-width: 560px) {
	.lb-h2 { font-size: 23px; }
	.lb-head { margin-bottom: 24px; }
	.lb-head .lb-more { display: none; }
	.lb-btn { padding: 13px 22px; font-size: 14px; }
}

@media (max-width: 430px) {
	.lb-hero .lb-h1 { font-size: 33px; }
}

@media (min-width: 1540px) {
	.lb-hero { padding: calc(var(--lb-header-h) + 58px) 0 60px; }
	.lb-hero-grid { gap: 74px; }
	p.lb-hero-p.lb-lede { font-size: 18px; }
	.lb-blob { width: 560px; height: 560px; top: -210px; right: -170px; }
	.lb-blob-2 { width: 210px; height: 210px; right: 300px; }
}

@media (prefers-reduced-motion: reduce) {
	.lb *, .lb *::before, .lb *::after {
		animation-duration: .01ms !important; animation-iteration-count: 1 !important;
		transition-duration: .01ms !important; scroll-behavior: auto !important;
	}
	.lb-reveal { opacity: 1; transform: none; }
}

/* ===========================================================================
   The hand-drawn layer  (added 2026-09-15, polish pass)
   Reusable by every page: lb_squiggle(), lb_scribble(), lb_hand_arrow() and the
   .lb-tape modifier. Purely decorative — all of it is aria-hidden in the markup.
   ======================================================================== */

/* squiggle band divider */
.lb-squig { display: block; margin: 0 auto; }
.lb-squig-row { display: flex; justify-content: center; padding: 0 0 30px; }
.lb-squig-row.is-tight { padding-bottom: 20px; }

/* scribble underline — the element it sits in must be position:relative */
.lb-scribble {
	position: absolute; left: 0; right: 0; bottom: -.12em;
	width: 100%; height: .30em; min-height: 13px;
	pointer-events: none; overflow: visible;
}
.lb-underline { position: relative; display: inline-block; }

/* hand-drawn arrow */
.lb-hand-arrow { display: inline-block; vertical-align: middle; flex: none; }

/* tape strip — put it on the <figure>, not the <img>, so it sits above the frame.
   The strip is deliberately off-square: it reads as tape, not as a UI element. */
.lb-tape { position: relative; }
.lb-tape::before {
	content: ""; position: absolute; z-index: 4;
	top: -11px; left: 16%;
	width: 84px; height: 26px;
	background: linear-gradient(170deg, rgba(201,162,75,.58) 0%, rgba(201,162,75,.34) 100%);
	border-left: 1px dashed rgba(255,255,255,.6);
	border-right: 1px dashed rgba(255,255,255,.6);
	box-shadow: 0 2px 6px rgba(28,25,23,.12);
	transform: rotate(-4.5deg);
}
.lb-tape.is-right::before { left: auto; right: 14%; transform: rotate(3.5deg); }
.lb-tape.is-small::before { width: 58px; height: 19px; top: -9px; left: 20%; }
/* the framed photograph's tape sits on the rotated frame, nudged inside the photo
   edge. It has to come after .is-right, which it ties with on specificity. */
.lb-shot.lb-tape::before { top: -13px; left: auto; right: 17%; transform: rotate(3deg); }

@media (max-width: 560px) {
	.lb-squig-row { padding-bottom: 22px; }
	.lb-tape::before { width: 62px; height: 20px; top: -9px; }
	.lb-tape.is-small::before { width: 46px; height: 16px; top: -8px; }
}
