/*
 * La Salle Hotel School: Kitchen Garden landing (premium round, B3, 15 Nov 2026).
 * Spec file 14, build-order step 6. Loaded by inc/garden.php on pages that use these components.
 *
 *   1. Section heads           6. Named spaces (ruled rows, hover or focus photo)
 *   2. Practical block          7. Gallery and lightbox
 *   3. The garden in numbers    8. Route cards
 *   4. Plot to plate timeline   9. Volunteer states, team day, credits
 *   5. Inset film loop
 *
 * Colours: the brief's tokens and passing pairs only: forest and ink on paper, white on forest,
 * leaf on forest for figures of 24px and over, moss for links, navy on sun and marigold for actions.
 */

.ls-main > .ls-g-facts, .ls-main > .ls-gnum, .ls-main > .ls-g-timeline, .ls-main > .ls-g-loop, .ls-main > .ls-g-spaces, .ls-main > .ls-g-gallery,
.ls-main > .ls-g-routes, .ls-main > .ls-g-volunteer, .ls-main > .ls-g-team, .ls-main > .ls-g-credits { margin-block: 0; }
.ls-g-facts > .alignwide > *, .ls-gnum > .alignwide > *, .ls-g-timeline > .alignwide > *, .ls-g-loop > .alignwide > *, .ls-g-spaces > .alignwide > *,
.ls-g-gallery > .alignwide > *, .ls-g-routes > .alignwide > *, .ls-g-volunteer > .alignwide > *, .ls-g-team > .alignwide > *, .ls-g-credits > .alignwide > * { margin-block: 0 !important; }
/* Sections alternate paper and white (forest for the numbers), so each keeps its full 160px rhythm. */
.ls-g-facts, .ls-g-timeline, .ls-g-spaces, .ls-g-routes, .ls-g-team { background: var(--paper); }
.ls-g-loop, .ls-g-gallery, .ls-g-volunteer, .ls-g-credits { background: #fff; }
.ls-main > .ls-section:is(.ls-g-facts, .ls-gnum, .ls-g-timeline, .ls-g-loop, .ls-g-spaces, .ls-g-gallery, .ls-g-routes, .ls-g-volunteer, .ls-g-team, .ls-g-credits) { padding-block: var(--ls-section); }
/* Rhythm inside sections (the zero-margin resets above are broad; these restore the gaps). */
.ls-main .ls-section > .alignwide > .ls-g-head { margin-bottom: clamp(48px, 5vw, 72px) !important; }
.ls-main .ls-gnum > .alignwide > .ls-gnum__grid { margin-top: clamp(56px, 6vw, 88px) !important; }
.ls-main .ls-gnum > .alignwide > .ls-gnum__strip { margin-top: clamp(56px, 6vw, 88px) !important; }

/* ------------------------------------------------------------------ 1. section heads */
.ls-g-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px) !important; }
.ls-g-head > * { margin: 0 !important; }
.ls-g-head > h2 { margin-top: var(--ls-stack-s) !important; max-width: 22ch; color: var(--forest); }
.ls-g-head > .ls-g-lede, .ls-g-head > .ls-measure { margin-top: var(--ls-stack-m) !important; font-size: var(--ls-fs-lede); line-height: 1.45; max-width: 52ch; color: var(--ink); }
.register-garden .ls-main h2 { color: var(--forest); }
.ls-g-note { font-size: 14px; color: var(--ink); margin-top: 10px; }

/* ------------------------------------------------------------------ 2. practical block */
.ls-pb { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ls-gutter); align-items: start; }
.ls-pb > * { margin: 0; }
.ls-pb__left { grid-column: 1 / span 5; position: sticky; top: 96px; }
.ls-pb__left > * { margin: 0; }
.ls-pb__copy { grid-column: 7 / span 6; }
.ls-pb--flip .ls-pb__left { grid-column: 8 / span 5; grid-row: 1; }
.ls-pb--flip .ls-pb__copy { grid-column: 1 / span 6; grid-row: 1; }
.ls-pb__copy > * { margin: 0; }
.ls-pb__copy > h2 { margin-top: var(--ls-stack-s); max-width: 20ch; }
.ls-pb__copy > .ls-status { margin-top: var(--ls-stack-l); }
.ls-pb__copy > .ls-pb__list { margin-top: var(--ls-stack-l); }
.ls-pb__copy > .wp-block-buttons { margin-top: var(--ls-stack-l); gap: 14px 18px; }
.ls-pb__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ls-radius); display: block; }
.ls-pb--flip .ls-pb__media img { aspect-ratio: 4 / 5; object-position: 50% 50%; }
.ls-pb__list { border-top: 1px solid var(--line); }
.ls-pb__list > * { margin: 0; }
.ls-pb__row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); column-gap: var(--ls-gutter); padding: 18px 0; border-bottom: 1px solid var(--line); }
.ls-pb__row > * { margin: 0; }
.ls-pb__k { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--forest); padding-top: 4px; }
.ls-pb__v { font-size: 18px; line-height: 1.55; color: var(--ink); }
.ls-g-facts .ls-status { border-radius: var(--ls-radius); border-left-width: 6px; font-weight: 400; padding: 16px 20px; }
.ls-g-facts .ls-status p { margin: 0; font-size: 18px; }
.ls-g-facts .ls-status a { font-weight: 700; color: var(--forest); }
@media (max-width: 959px) {
	.ls-pb { grid-template-columns: 1fr; row-gap: var(--ls-stack-l); }
	.ls-pb__left, .ls-pb__copy, .ls-pb--flip .ls-pb__left, .ls-pb--flip .ls-pb__copy { grid-column: 1; grid-row: auto; position: static; }
	.ls-pb--flip .ls-pb__left { grid-row: 1; }
	.ls-pb__media img, .ls-pb--flip .ls-pb__media img { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
	.ls-pb__row { grid-template-columns: 1fr; row-gap: 4px; padding: 14px 0; }
	.ls-pb__copy > .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.ls-pb__copy > .wp-block-buttons .wp-block-button, .ls-pb__copy > .wp-block-buttons .wp-element-button { width: 100%; justify-content: center; text-align: center; }
}

/* ------------------------------------------------------------------ 3. the garden in numbers (display moment) */
.ls-gnum { position: relative; isolation: isolate; background: var(--forest); color: #fff; }
.ls-gnum::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--ls-grain); mix-blend-mode: multiply; opacity: .22; }
.ls-gnum__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--ls-gutter); align-items: end; }
.ls-gnum__head > * { margin: 0; grid-column: 1; }
.ls-gnum__head > .is-style-tag { color: #fff; }
.ls-gnum__head > .is-style-tag::before { background: var(--leaf); }
body .ls-main .ls-gnum h2.wp-block-heading { color: #fff; margin-top: var(--ls-stack-s); max-width: 20ch; }
.ls-gnum h2 .ls-cont { color: #fff; font-weight: 300; }
.ls-gnum__intro { grid-column: 2; grid-row: 1 / span 2; justify-self: end; color: #fff; font-size: 18px; line-height: 1.6; max-width: 40ch; }
.ls-gnum__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--ls-gutter); margin-top: clamp(48px, 6vw, 88px) !important; }
.ls-gnum__item { border-top: 1px solid rgba(255, 255, 255, .3); padding-top: clamp(24px, 2.6vw, 36px); margin: 0; }
.ls-gnum__item > * { margin: 0; }
.ls-gnum__n {
	font-family: var(--ls-f-display); font-weight: 600; color: var(--leaf); font-size: var(--ls-fs-display);
	line-height: 1; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums;
}
/* B23 (C12 fix 10, L01): every figure in the band on the display token; "Level 5" left the band in round 11, so the first figure no longer steps down to H1. */
.ls-gnum__label { color: #fff; font-size: 18px; line-height: 1.5; margin-top: 18px; max-width: 30ch; }
.ls-gnum__src { color: #fff; font-size: var(--ls-fs-caption); line-height: 1.4; margin-top: 14px; display: flex; gap: 10px; align-items: baseline; }
.ls-gnum__src::before { content: ""; width: 16px; height: 2px; background: var(--leaf); flex: none; transform: translateY(-4px); }
.ls-gnum__strip { display: grid !important; grid-template-columns: 5fr 4fr 3fr; column-gap: var(--ls-gutter); margin-top: clamp(48px, 6vw, 88px) !important; }
.ls-gnum__strip > * { margin: 0; }
.ls-gnum__strip img { width: 100%; height: clamp(180px, 20vw, 300px); object-fit: cover; border-radius: var(--ls-radius); display: block; }
@media (max-width: 1100px) { .ls-gnum__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 900px) {
	.ls-gnum__head { grid-template-columns: 1fr; }
	.ls-gnum__intro { grid-column: 1; grid-row: auto; justify-self: start; margin-top: var(--ls-stack-m); }
}
@media (max-width: 600px) {
	.ls-gnum__grid { grid-template-columns: 1fr; row-gap: 32px; }
	.ls-gnum__strip { grid-template-columns: 1fr 1fr; row-gap: 12px; column-gap: 12px; }
	.ls-gnum__strip > :first-child { grid-column: 1 / -1; }
	.ls-gnum__strip img { height: 160px; }
}

/* ------------------------------------------------------------------ 4. plot to plate */
.ls-tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) var(--ls-gutter); counter-reset: tl; }
.ls-tl > * { margin: 0; }
.ls-tl__step { position: relative; padding-top: 28px; border-top: 2px solid var(--forest); }
.ls-tl__step::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; background: var(--leaf); border-radius: 0; box-shadow: 0 0 0 3px var(--paper); }
.ls-tl__step > * { margin: 0; }
.ls-tl__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ls-radius); display: block; }
.ls-tl__media figcaption { margin-top: 8px; }
.ls-tl__date { margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--forest); }
.ls-tl__no { color: var(--moss); margin-right: 8px; font-variant-numeric: tabular-nums; }
body .ls-main h3.ls-tl__title { margin-top: 8px; color: var(--forest); }
.ls-tl__text { margin-top: 10px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.ls-tl__step--award { background: var(--forest); color: #fff; border-radius: var(--ls-radius); border-top: 0; padding: 32px 28px 30px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; box-sizing: border-box; position: relative; isolation: isolate; overflow: hidden; }
.ls-tl__step--award::before { left: 28px; top: 28px; box-shadow: none; }
.ls-tl__step--award::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--ls-grain); mix-blend-mode: multiply; opacity: .25; pointer-events: none; }
.ls-tl__step--award .ls-tl__date { color: #fff; margin-top: 40px; }
.ls-award__n { font-family: var(--ls-f-display); font-weight: 600; color: var(--leaf); font-size: var(--ls-fs-h2); line-height: 1.04; /* B11: H2 scale, the numbers band is the one display moment */ letter-spacing: -0.01em; margin-top: 18px; white-space: nowrap; }
body .ls-main .ls-tl__step--award h3.ls-tl__title { color: #fff; margin-top: 6px; }
.ls-tl__step--award .ls-tl__text { color: #fff; }
.ls-tl__step--award .ls-more { margin-top: 18px; }
.ls-tl__step--award .ls-more a { color: #fff; }
@media (max-width: 1100px) { .ls-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: a horizontal rail, one step and a bit in view. */
@media (max-width: 700px) {
	.ls-tl { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(-1 * var(--wp--style--root--padding-left, 24px)); padding: 8px var(--wp--style--root--padding-left, 24px) 16px; scroll-padding-inline: var(--wp--style--root--padding-left, 24px); }
	.ls-tl > * { flex: 0 0 78%; scroll-snap-align: start; }
	.ls-tl__step--award { min-height: 0; }
}

/* ------------------------------------------------------------------ 5. inset film loop */
.ls-gloop { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ls-gutter); align-items: center; }
.ls-gloop > * { margin: 0; }
.ls-gloop__media { grid-column: 1 / span 7; }
.ls-gloop__media > * { margin: 0; }
.ls-gloop__copy { grid-column: 9 / span 4; }
.ls-gloop__copy > * { margin: 0; }
.ls-gloop__copy > h2 { margin-top: var(--ls-stack-s); }
.ls-gloop__copy > p:not(.is-style-tag):not(.ls-g-note) { margin-top: var(--ls-stack-m); font-size: 18px; line-height: 1.6; color: var(--ink); }
.ls-gloop__copy > .wp-block-buttons { margin-top: var(--ls-stack-l); }
.ls-out .wp-element-button::after { content: ""; width: 16px; height: 16px; flex: none; margin-left: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14zM5 5h6v2H5v12h12v-6h2v8H3V5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14zM5 5h6v2H5v12h12v-6h2v8H3V5z'/%3E%3C/svg%3E") center / contain no-repeat; display: inline-block; }
.ls-out .wp-element-button { display: inline-flex; align-items: center; }
@media (max-width: 959px) {
	.ls-gloop { grid-template-columns: 1fr; row-gap: var(--ls-stack-l); }
	.ls-gloop__media, .ls-gloop__copy { grid-column: 1; }
}

/* ------------------------------------------------------------------ 6. named spaces */
.ls-spaces { position: relative; display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ls-gutter); border-top: 1px solid var(--line); }
.ls-spaces > * { margin: 0; }
.ls-space { grid-column: 1 / span 7; display: grid !important; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: var(--ls-gutter); align-items: baseline;
	padding: clamp(22px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line); cursor: default; outline-offset: 4px; transition: background-color 160ms ease; }
.ls-space > * { margin: 0; }
.ls-space__no { font-size: 13px; font-weight: 700; letter-spacing: .09em; color: var(--moss); font-variant-numeric: tabular-nums; }
.ls-space__copy > * { margin: 0; }
.ls-main p.ls-space__name { font-family: var(--ls-f-display); font-weight: 600; letter-spacing: -0.01em; font-size: var(--ls-fs-h2); line-height: 1.04; color: var(--forest); transition: transform 300ms var(--ls-ease); }
.ls-space__text { margin-top: 10px; font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 52ch; }
.ls-space__media { position: absolute !important; top: 0; bottom: 0; right: 0; width: calc((100% - 11 * var(--ls-gutter)) / 12 * 5 + 4 * var(--ls-gutter)); margin: 0;
	opacity: 0; transition: opacity 300ms var(--ls-ease); pointer-events: none; border-radius: var(--ls-radius); overflow: hidden; }
.ls-space__media picture, .ls-space__media img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; }
.ls-space__media figcaption { position: absolute; left: 16px; bottom: 16px; margin: 0; padding: 5px 10px; border-radius: var(--ls-radius); background: rgba(30, 74, 47, .9); color: #fff; }
/* Which photo shows: without JavaScript the first row's, or the row under the pointer; with it the active row. */
.ls-spaces:not(.is-js) .ls-space:first-child .ls-space__media, .ls-spaces:not(.is-js) .ls-space:hover .ls-space__media, .ls-spaces.is-js .ls-space.is-active .ls-space__media { opacity: 1; }
.ls-spaces:not(.is-js):hover .ls-space:first-child:not(:hover) .ls-space__media { opacity: 0; }
.ls-spaces.is-js .ls-space.is-active .ls-space__name { transform: translateX(8px); }
.ls-spaces.is-js .ls-space:not(.is-active) .ls-space__name { opacity: .7; }
.ls-space:focus-visible { outline: 3px solid var(--forest); }
@media (max-width: 959px) {
	.ls-space { grid-column: 1 / -1; grid-template-columns: 2.4em minmax(0, 1fr); row-gap: 16px; }
	.ls-space__media { position: relative !important; inset: auto; width: auto; grid-column: 2; opacity: 1; pointer-events: auto; overflow: visible; border-radius: 0; }
	.ls-space__media img { aspect-ratio: 3 / 2; height: auto !important; border-radius: var(--ls-radius); }
	.ls-space__media figcaption { position: static; padding: 0; background: none; color: var(--ink); margin-top: 8px; }
	.ls-spaces.is-js .ls-space:not(.is-active) .ls-space__name { opacity: 1; }
	.ls-spaces.is-js .ls-space.is-active .ls-space__name { transform: none; }
	.ls-main p.ls-space__name { font-size: var(--ls-fs-h3); }
}

/* ------------------------------------------------------------------ 7. gallery */
.ls-gallery { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 11vw, 170px); gap: var(--ls-gutter);
	grid-template-areas: "a a a a a a a b b b b b" "a a a a a a a b b b b b" "a a a a a a a c c c c c" "a a a a a a a c c c c c" "d d d d e e e e f f f f" "d d d d e e e e f f f f" "g g g g g h h h h i i i" "g g g g g h h h h i i i"; }
.ls-gallery > * { margin: 0 !important; }
.ls-gal__item--1 { grid-area: a; } .ls-gal__item--2 { grid-area: b; } .ls-gal__item--3 { grid-area: c; } .ls-gal__item--4 { grid-area: d; } .ls-gal__item--5 { grid-area: e; }
.ls-gal__item--6 { grid-area: f; } .ls-gal__item--7 { grid-area: g; } .ls-gal__item--8 { grid-area: h; } .ls-gal__item--9 { grid-area: i; }
.ls-gal__item { position: relative; border-radius: var(--ls-radius); overflow: hidden; background: var(--paper); }
.ls-gal__link { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ls-gal__item picture, .ls-gal__item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 400ms var(--ls-ease); }
.ls-gal__link:hover img, .ls-gal__link:focus-visible img { transform: scale(1.03); }
/* B20 (C10 fix 10, L24): the photo is scaled on focus and painted over any outline on the link, so the
   ring is drawn on a layer above the photo: the site's 3px navy ring inside a white halo. */
.ls-gal__link:focus-visible { outline: none !important; box-shadow: none; }
.ls-gal__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; }
.ls-gal__link:focus-visible::after { box-shadow: inset 0 0 0 3px var(--ls-c-focus), inset 0 0 0 6px #fff; }
.ls-gal__item figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; padding: 5px 10px; border-radius: var(--ls-radius); background: rgba(30, 74, 47, .9); color: #fff; pointer-events: none; max-width: calc(100% - 24px); }
@media (max-width: 781px) {
	.ls-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px;
		grid-template-areas: "a a" "a a" "b c" "d e" "f f" "g h" "i i"; }
	.ls-gallery .ls-gal__item figcaption.ls-cap, .ls-gallery .ls-gal__item figcaption { display: none !important; }
}

/* Lightbox */
html.ls-lightbox-open { overflow: hidden; }
.ls-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--navy); color: #fff; opacity: 0; transition: opacity 200ms ease; }
.ls-lightbox[hidden] { display: none; }
.ls-lightbox.is-open { opacity: 1; }
.ls-lightbox__stage { display: grid; place-items: center; padding: clamp(16px, 4vw, 48px) clamp(16px, 4vw, 48px) 0; min-height: 0; }
.ls-lightbox__pic { display: contents; }
.ls-lightbox__stage img { max-width: calc(100vw - 2 * clamp(16px, 4vw, 48px)); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: var(--ls-radius); }
.ls-lightbox__bar { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 16px clamp(16px, 4vw, 48px) 20px; }
.ls-lightbox__bar > p { margin: 0; color: #fff; }
.ls-lightbox__cap { flex: 1 1 auto; }
.ls-lightbox__count { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ls-lightbox__nav { display: flex; gap: 8px; }
.ls-lightbox button { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: var(--ls-radius); background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color 160ms ease; }
.ls-lightbox button:hover { background: #fff; color: var(--navy); }
.ls-lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: none; }
.ls-lightbox button svg { width: 22px; height: 22px; fill: currentColor; }

/* ------------------------------------------------------------------ 8. route cards */
.ls-grid-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--ls-gutter); }
.ls-grid-4 > * { margin: 0 !important; }
.ls-route-card { background: none; padding: 0; border: 0; box-shadow: none; }
.ls-route-card > * { margin: 0 !important; }
.ls-route-card .ls-card__media img { aspect-ratio: 4 / 5; }
.ls-route-card__tag { margin-top: 18px !important; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--moss); }
body .ls-main .ls-route-card h3.wp-block-heading { margin-top: 8px !important; color: var(--forest); }
.ls-route-card h3 a { color: var(--forest); }
.ls-route-card > p:last-child { margin-top: 10px !important; font-size: 18px !important; line-height: 1.55; color: var(--ink); }
@media (max-width: 1100px) { .ls-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ls-grid-4 { grid-template-columns: 1fr; } .ls-route-card .ls-card__media img { aspect-ratio: 3 / 2; } }

/* ------------------------------------------------------------------ 9. volunteer, team day, credits */
.ls-g-vol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ls-gutter); align-items: start; }
.ls-g-vol > * { margin: 0; }
.ls-g-vol__media { grid-column: 1 / span 5; position: sticky; top: 96px; }
.ls-g-vol__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ls-radius); display: block; }
.ls-g-vol__copy { grid-column: 7 / span 6; }
.ls-g-vol__copy > * { margin: 0; }
.ls-g-vol__state > * { margin: 0; }
.ls-g-vol__state > h2 { margin-top: var(--ls-stack-s); max-width: 20ch; }
.ls-g-vol__state > p:not(.is-style-tag) { margin-top: var(--ls-stack-m); font-size: 18px; line-height: 1.6; color: var(--ink); }
.ls-g-vol__state > .wp-block-buttons, .ls-g-vol__state > .wpcf7, .ls-g-vol__state > div { margin-top: var(--ls-stack-l); }
.ls-g-vol .wpcf7 { max-width: 560px; }
@media (max-width: 959px) {
	.ls-g-vol { grid-template-columns: 1fr; row-gap: var(--ls-stack-l); }
	.ls-g-vol__media, .ls-g-vol__copy { grid-column: 1; position: static; }
	.ls-g-vol__media img { aspect-ratio: 3 / 2; }
}

.ls-credits { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ls-gutter); align-items: start; }
.ls-credits > * { margin: 0 !important; }
.ls-credits__left { grid-column: 1 / span 5; position: sticky; top: 96px; }
.ls-credits__left > * { margin: 0 !important; }
.ls-credits__left > .ls-g-head { margin-bottom: var(--ls-stack-l) !important; }
.ls-credits__plaque img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--ls-radius); display: block; }
.ls-credits__list { grid-column: 7 / span 6; border-top: 1px solid var(--line); }
.ls-credits__list > * { margin: 0; }
.ls-credit { display: grid; grid-template-columns: 168px minmax(0, 1fr); column-gap: clamp(20px, 2.4vw, 36px); align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.ls-credit > * { margin: 0; }
.ls-credit__mark { height: 112px; display: grid; place-items: center; padding: 14px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: var(--ls-radius); }
.ls-credit__mark figure { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ls-credit__mark img { max-height: 80px; max-width: 100% !important; width: auto; height: auto; object-fit: contain; border-radius: 0; }
.ls-credit__mark--type { background: var(--forest); border-color: var(--forest); }
.ls-credit__mark--type .ls-logo-type { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.1; color: #fff; text-align: center; }
.ls-credit__copy > * { margin: 0; }
.ls-credit__role { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--moss); }
body .ls-main h3.ls-credit__name { margin-top: 6px; color: var(--forest); }
.ls-credit__text { margin-top: 10px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.ls-credits__list > .ls-funder { margin-top: 28px; }
.ls-credits__list > .ls-more { margin-top: var(--ls-stack-l); }
@media (max-width: 959px) {
	.ls-credits { grid-template-columns: 1fr; row-gap: var(--ls-stack-l); }
	.ls-credits__left, .ls-credits__list { grid-column: 1; position: static; }
}
@media (max-width: 600px) {
	.ls-credit { grid-template-columns: 1fr; row-gap: 16px; }
	.ls-credit__mark { width: 168px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.ls-gal__link:hover img, .ls-gal__link:focus-visible img { transform: none; }
	.ls-spaces.is-js .ls-space.is-active .ls-space__name { transform: none; }
}

/* B14 (C5 fix 12): a shorter Kitchen Garden on phones, with nothing taken away. Facts read as a two-column
   list; the named spaces, route cards and partner credits become compact rows with the photo or mark beside the words;
   the nine-photo gallery is a three-by-three grid (each photo still opens full size in the viewer). */
@media (max-width: 600px) {
	.ls-g-facts .ls-pb__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; align-items: baseline; }
	.ls-g-facts .ls-pb__row > * { margin: 0; }
	.ls-g-facts .ls-pb__row > :not(.ls-pb__k) { grid-column: 2; }

	.ls-space { grid-template-columns: 2em minmax(0, 1fr) 104px; column-gap: 12px; align-items: start; }
	.ls-space__media { grid-column: 3; grid-row: 1; }
	.ls-main .ls-space__media img { aspect-ratio: 1 / 1; }
	.ls-space__media figcaption { display: none !important; }

	.ls-g-routes .ls-route-cards { row-gap: 0; border-top: 1px solid var(--line); }
	.ls-g-routes .ls-route-card { display: grid !important; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
	.ls-g-routes .ls-route-card > * { grid-column: 2; }
	.ls-g-routes .ls-route-card > .ls-card__media { grid-column: 1; grid-row: 1 / span 3; }
	html body .ls-main .ls-g-routes .ls-route-card .ls-card__media img { aspect-ratio: 4 / 5; }
	.ls-g-routes .ls-route-card .ls-card__media figcaption { display: none !important; }
	.ls-g-routes .ls-route-card__tag { margin-top: 0 !important; }
	body .ls-main .ls-g-routes .ls-route-card h3.wp-block-heading { margin-top: 4px !important; font-size: 21px; }
	.ls-g-routes .ls-route-card > p:last-child { margin-top: 6px !important; font-size: 17px !important; line-height: 1.5; }

	.ls-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; grid-template-areas: none; gap: 8px; }
	.ls-gallery > .ls-gal__item { grid-area: auto; aspect-ratio: 1 / 1; }

	.ls-credit { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; row-gap: 0; padding: 20px 0; }
	.ls-credit__mark { width: 88px; }
}
@media (max-width: 600px) {
	/* B14 (fix 12): tighter section rhythm on phones for the long garden landing (64px, not 96px), the
	   numbers two to a row and the three photos under them in one row. */
	.ls-main > .ls-section:is(.ls-g-facts, .ls-gnum, .ls-g-timeline, .ls-g-loop, .ls-g-spaces, .ls-g-gallery, .ls-g-routes, .ls-g-volunteer, .ls-g-team, .ls-g-credits) { padding-block: 64px; }
	.ls-gnum__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 28px; }
	.ls-gnum__n, .ls-gnum__item:first-child .ls-gnum__n { font-size: 44px; }
	.ls-gnum__label { font-size: 16px; margin-top: 12px; }
	.ls-gnum__src { font-size: 13px; }
	.ls-gnum__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; }
	.ls-gnum__strip > :first-child { grid-column: auto; }
	.ls-gnum__strip img { height: 112px; }
	.ls-gnum__strip figcaption { display: none !important; }
}
@media (max-width: 600px) {
	html body .ls-main .ls-space__media figcaption, html body .ls-main .ls-g-routes .ls-route-card figcaption, html body .ls-main .ls-gnum__strip figcaption { display: none !important; }
}

/* B17 (C8 fix 7, L03, L09): the fact panel photo fills its whole column at desktop, so there is no
   blank half under it, and the "places to find" link keeps the button group's stack gap. */
@media (min-width: 960px) {
	.ls-g-facts .ls-pb { align-items: stretch; }
	.ls-g-facts .ls-pb__left { position: static; display: flex; }
	.ls-g-facts .ls-pb__left > .ls-pb__media { flex: 1; display: flex; flex-direction: column; }
	.ls-g-facts .ls-pb__left > .ls-pb__media picture { flex: 1; display: block; min-height: 0; }
	.ls-g-facts .ls-pb__media img { height: 100%; aspect-ratio: auto; min-height: 560px; }
}
.ls-g-facts .ls-pb__copy > .ls-more { margin-top: var(--ls-stack-m, 24px); }

/* B23 (C12 fix 11, L15): the plot-to-plate cards use the spec's 16px reveal, one after the other (motion.js
   staggers them); the earlier rotateX fold was not a spec section 3 motion. */

/* B19 (lead ruling E): a credit without a cleared mark is a text-only row at every width. */
.ls-main .ls-credit.ls-credit--text { grid-template-columns: minmax(0, 1fr); }

/* ------------------------------------------------------------------ B20 (contract v1.1): the short landing
   Every Kitchen Garden landing section carries .ls-kg. Each h2 module has to fit one 1536px screen (864px less the
   header), so the landing keeps a tighter section rhythm and each module is sized to its content: the fact panel
   photo no longer forces 560px, the quote is set smaller beside a 4:3 photo, the timeline cards use a wider crop and
   the gallery sits in three rows. */
html body .ls-main > .ls-section.ls-kg { margin-block: 0 !important; padding-block: clamp(56px, 5.2vw, 80px) !important; }
.ls-main .ls-kg .ls-g-head > h2 { max-width: 32ch; }
.ls-main .ls-kg.ls-section > .alignwide > .ls-g-head { margin-bottom: clamp(32px, 3vw, 40px) !important; }

/* What it is and who it serves */
@media (min-width: 960px) {
	.ls-g-facts.ls-kg .ls-pb__left { grid-column: 1 / span 5; }
	.ls-g-facts.ls-kg .ls-pb__copy { grid-column: 6 / span 7; }
	.ls-g-facts.ls-kg .ls-pb__media img { min-height: 0; }
}
.ls-g-facts.ls-kg .ls-pb__copy > h2 { margin-top: 0; max-width: 24ch; }
.ls-g-facts.ls-kg .ls-pb__copy > .ls-pb__list { margin-top: 28px; }
.ls-g-facts.ls-kg .ls-pb__row { grid-template-columns: 8em minmax(0, 1fr); padding: 12px 0; }
.ls-g-facts.ls-kg .ls-pb__v { font-size: 17px; line-height: 1.45; }
.ls-g-facts.ls-kg .ls-pb__copy > .wp-block-buttons { margin-top: 28px; }
.ls-g-facts.ls-kg .ls-pb__copy > .ls-kg-links { margin-top: 16px; font-size: 17px; }

/* The garden in numbers: the four stats, without the intro line or the photo strip */
.ls-main .ls-gnum.ls-kg > .alignwide > .ls-gnum__grid { margin-top: clamp(32px, 3.2vw, 48px) !important; }
.ls-gnum.ls-kg .ls-gnum__head { display: block; }

/* Growing Families: the one quote */
html body .ls-main .ls-quote-sec--garden .ls-quote--feature > p { font-size: clamp(26px, 14px + 1.5vw, 36px) !important; line-height: 1.15 !important; }
.ls-quote-sec--garden .ls-quote-feature__photo img { aspect-ratio: 4 / 3; }
.ls-quote-sec--garden .ls-quote-feature__copy > h2 { color: var(--forest); }
.ls-main .ls-quote-sec--garden .ls-quote-feature__copy > h2 + .ls-quote { margin-top: 28px !important; }

/* Plot to plate: four cards and one credit line */
.ls-g-timeline.ls-kg .ls-tl__media img { aspect-ratio: 16 / 9; }
.ls-g-timeline.ls-kg .ls-tl__text { font-size: 17px; line-height: 1.5; }
.ls-main .ls-g-timeline.ls-kg > .alignwide > .ls-tl__credit { margin-top: 32px !important; }

/* Gallery: nine photos in three rows on wide screens (the phone layouts above are unchanged) */
@media (min-width: 782px) {
	.ls-g-gallery.ls-kg .ls-gallery { grid-auto-rows: clamp(96px, 8vw, 124px);
		grid-template-areas: "a a a a b b b b c c c c" "a a a a d d e e e f f f" "g g g h h h h i i i i i"; }
}

/* B20: without JavaScript the gallery shows the plain photo (noscript copy) and no empty link. */
html:not(.ls-js) .ls-gal__link { display: none; }

/* B22 (C11 fix 10, L07 and L08): the label above the garden gift band was forest on forest (1.0:1). */
.ls-main .ls-give--garden .is-style-tag { color: #fff !important; }
.ls-main .ls-give--garden .is-style-tag::before { background: var(--sun, #FFD23F); }
.ls-tl:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }

/* B23 (C12 fix 8): the garden entrance photo under the numbers band. */
.ls-main .ls-gnum > .alignwide > figure.ls-gnum__photo { margin-top: clamp(40px, 5vw, 72px) !important; }
.ls-main .ls-gnum__photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--ls-radius); }
@media (max-width: 781px) { .ls-main .ls-gnum__photo img { aspect-ratio: 3 / 2; } }

/* B24 (C13 fixes 8 and 12): the garden links sit on the body token and never break inside a link (a wrapped link carried its underline through the next line of text, 2.4:1). */
.ls-g-facts.ls-kg .ls-pb__copy > .ls-kg-links { font-size: var(--ls-fs-body); }
.ls-g-facts.ls-kg .ls-kg-links a { white-space: nowrap; }

/* B24 (C13 fix 9): the entrance photo is its own band straight after the numbers, on the same forest ground. */
.ls-main .ls-section.ls-gnum:not(.ls-gnum--photo) { padding-bottom: 0 !important; }
.ls-main .ls-gnum--photo > .alignwide > figure.ls-gnum__photo { margin-top: 0 !important; }

/* B25 (C14, L11(a)): on phones the facts photo follows the facts, and the gallery opens with one larger
   photo (two columns by two rows), so no stretch of the phone page runs more than one and a half screens without a
   photo. */
@media (max-width: 781px) {
	.ls-g-facts.ls-kg .ls-pb > .ls-pb__left { order: 2; }
	.ls-g-gallery.ls-kg .ls-gallery > .ls-gal__item:first-child { grid-column: span 2; grid-row: span 2; }
}

/* B29 (C17 fix 13, L03): reading columns hold 60 to 72 characters at 1536 on the garden pages. The hero
   lede held 77.4 and the body measure 73.4; both are 32em (about 69). */
html body .ls-main :is(.ls-measure, .ls-g-lede, .ls-sup-measure) { max-width: 32em !important; }
html body .ls-main .ls-hero .ls-hero__copy > p.is-style-lead { max-width: 32em; }
html body .ls-main .ls-give--garden :is(.ls-give__line, .ls-give__trust) { max-width: 32em; }
/* B29 (K30, L01): the fact rows and the timeline text sat at 17px; they take the 18px body token. */
html body .ls-main .ls-g-facts.ls-kg .ls-pb__v, html body .ls-main .ls-g-timeline.ls-kg .ls-tl__text { font-size: var(--ls-fs-body); }

/* B29 (D1.1): on Volunteer in the garden the interest module and the team days module each
   fit one screen at 1536: the photos are 3:2 (an activity and a group), the form's email and phone share a row and the
   form is a little tighter. */
@media (min-width: 1025px) {
	html body .ls-main .ls-g-vol__media { position: static; }
	html body .ls-main .ls-g-vol__media img, html body .ls-main .ls-g-team .ls-pb__media img { aspect-ratio: 3 / 2; }
	html body .ls-main .ls-g-vol { align-items: center; }
	html body .ls-main .ls-g-vol__state > h2 { max-width: 26ch; margin-top: 0; }
	html body .ls-main .ls-g-vol form.wpcf7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 8px; }
	html body .ls-main .ls-g-vol form.wpcf7-form > * { grid-column: 1 / -1; margin: 0 !important; }
	html body .ls-main .ls-g-vol form.wpcf7-form > p:empty, html body .ls-main .ls-g-vol form.wpcf7-form > .wpcf7-response-output:empty { display: none; }
	html body .ls-main .ls-g-vol form.wpcf7-form > p:has([data-name="your-email"]) { grid-column: 1; }
	html body .ls-main .ls-g-vol form.wpcf7-form > p:has([data-name="your-phone"]) { grid-column: 2; }
	html body .ls-main .ls-g-vol form.wpcf7-form label { margin-bottom: 0 !important; }
	html body .ls-main .ls-g-vol form.wpcf7-form :is(input[type="text"], input[type="email"], input[type="tel"]) { height: 48px !important; min-height: 0 !important; padding-block: 8px !important; }
	html body .ls-main .ls-g-vol__state > :is(p, .wpcf7, div) { margin-top: 16px !important; }
	html body .ls-main .ls-section.ls-g-volunteer, html body .ls-main .ls-section.ls-g-team { padding-block: 40px !important; }
}

/* Batch 1 (critic 19, P12): Visit the garden holds each module within one 864px laptop screen. "Coming up" runs in two
   columns; the named spaces become a two-column grid in which the heading is the first cell and each space keeps its photo
   as a thumbnail (the phone layout's pattern). Nothing is hidden. */
@media (min-width: 960px) {
	.register-garden .ls-events__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ls-gutter); border-top: 0; }
	.register-garden .ls-events__list > li { border-top: 1px solid var(--ls-line); }
	.register-garden .ls-events__list .ls-event { padding: 16px 0; border-bottom: 0; }
	.register-garden .ls-main .ls-section:has(> .alignwide > .ls-events), .register-garden .ls-main .ls-section:has(.ls-events) { padding-block: 36px; }

	.ls-main .ls-g-spaces > .alignwide { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ls-gutter); align-items: stretch; }
	.ls-main .ls-g-spaces > .alignwide > .ls-g-head { margin-bottom: 0 !important; max-width: none; padding-bottom: 20px; }
	.ls-main .ls-g-spaces .ls-spaces { display: contents !important; }
	.ls-main .ls-g-spaces .ls-space { grid-column: auto; grid-template-columns: 2.4em minmax(0, 1fr) 120px; column-gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 0; }
	.ls-main .ls-g-spaces .ls-space__media { position: relative !important; inset: auto; width: auto; grid-column: 3; grid-row: 1; opacity: 1 !important; pointer-events: auto; overflow: hidden; }
	.ls-main .ls-g-spaces .ls-space__media img { aspect-ratio: 1 / 1; height: auto !important; border-radius: var(--ls-radius); }
	.ls-main .ls-g-spaces .ls-space__media figcaption { display: none !important; }
	.ls-main .ls-g-spaces .ls-space p.ls-space__name { font-size: var(--ls-fs-h3); transform: none !important; opacity: 1 !important; }
	.ls-main .ls-g-spaces .ls-space__text { margin-top: 6px; max-width: none; }
	.ls-main .ls-g-spaces.ls-section { padding-block: 48px; }
}

/* Batch 1 (critic 19, P11): text columns in the Kitchen Garden components hold 30 to 55 characters a line
   (25em is about 50 characters of body text; the earlier 32em held 64 to 65). */
html body .ls-main :is(.ls-g-facts .ls-pb__v, .ls-g-facts .ls-kg-links, .ls-g-timeline .ls-tl__credit, .ls-gloop__copy > p:not(.is-style-tag):not(.ls-g-note), .ls-gts__copy > p.ls-measure, .ls-gts__copy > p:not(.is-style-tag):not(.ls-g-note)) { max-width: 25em !important; }

/* ------------------------------------------------------------------ FB2 (group 2) */
/* S17: the team welcome block, photo left, words right. */
.ls-g-welcome .ls-pb { align-items: center; }
.ls-g-welcome .ls-pb__left { grid-column: 1 / span 5; }
.ls-g-welcome .ls-pb__copy { grid-column: 7 / span 6; }
.ls-g-welcome .ls-pb__media img { aspect-ratio: 4 / 3; }
.ls-g-welcome .ls-pb__copy > * { margin-block: 0; }
.ls-g-welcome .ls-pb__copy > p { margin-top: var(--ls-stack-m); }
.ls-g-welcome .ls-pb__copy > .wp-block-buttons { margin-top: var(--ls-stack-l); }
@media (max-width: 781px) { .ls-g-welcome .ls-pb__left, .ls-g-welcome .ls-pb__copy { grid-column: 1 / -1; } }
/* S18: the sample stats are one tidy line each, with a note beneath. */
.ls-gnum__item { display: flex; flex-direction: column; justify-content: flex-start; }
.ls-gnum__label { font-size: 20px; }
.ls-gnum__note { color: #fff; font-size: 18px; line-height: 1.5; max-width: 62ch; margin: clamp(28px, 3vw, 44px) 0 0 !important; }
/* S21: the partner link sits on its own line below the credit. */
.ls-main .ls-g-timeline.ls-kg > .alignwide > .ls-tl__link { margin-top: 8px !important; }
/* S25: emblem cards on the garden team offers. */
.ls-offs .ls-off.ls-emb::before { margin-bottom: 14px; }

/* CT2-02 (Josh): the white RHS logo on the Outstanding card, top-right, clear of the timeline dot and the text. */
html body .ls-main .ls-tl__step--award { position: relative; }
html body .ls-main p.ls-award__logo { position: absolute; top: 24px; right: 24px; margin: 0 !important; line-height: 0; }
html body .ls-main img.ls-award__rhs { display: block; height: 40px; width: auto; }
@media (max-width: 781px) { html body .ls-main img.ls-award__rhs { height: 32px; } }

/* CT2-08 (Josh): Named spaces: the label sits above the grid line, and the heading and item 01 share one top line. */
@media (min-width: 960px) {
	html body .ls-main .ls-g-spaces > .alignwide > .ls-g-head { display: contents !important; }
	html body .ls-main .ls-g-spaces > .alignwide > .ls-g-head > .is-style-tag { grid-column: 1 / -1; margin: 0 0 16px !important; }
	html body .ls-main .ls-g-spaces > .alignwide > .ls-g-head > h2 { grid-column: 1; margin: 0 !important; padding-top: 12px; align-self: start; }
	/* FX-17 (D17, 22 Nov 2026): 40px under the heading's last line, so item 02's rule never touches it. */
	html body .ls-main .ls-g-spaces > .alignwide > .ls-g-head > h2 { padding-bottom: 40px; }
}

/* FR-20 (Josh, final run-through, 23 Nov 2026): Named spaces as two independent stacked columns. Left: the heading (H2 and
   lead), then 02 and 04; right: 01, 03 and 05. Every item keeps the same rule above it and the same padding; 01's rule is
   level with the top of the heading, so there is no empty band. Below 960px the columns dissolve and the rows read 01 to 05
   after the heading. The label sits above both columns. */
html body .ls-main .ls-g-spaces > .alignwide > .is-style-tag { margin: 0 0 16px !important; }
html body .ls-main .ls-g-spaces .ls-spaces.ls-spaces--cols { border-top: 0; }
html body .ls-main .ls-g-spaces .ls-spaces__head > * { margin: 0 !important; }
html body .ls-main .ls-g-spaces .ls-spaces__head > .ls-g-lede { margin-top: var(--ls-stack-s) !important; font-size: var(--ls-fs-lede); line-height: 1.45; color: var(--ink); max-width: 30ch; }
@media (min-width: 960px) {
	html body .ls-main .ls-g-spaces > .alignwide { display: block !important; }
	html body .ls-main .ls-g-spaces .ls-spaces.ls-spaces--cols { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ls-gutter); align-items: start; }
	html body .ls-main .ls-g-spaces .ls-spaces__col { display: flex !important; flex-direction: column; min-width: 0; }
	html body .ls-main .ls-g-spaces .ls-spaces__col > * { margin: 0 !important; }
	html body .ls-main .ls-g-spaces .ls-spaces__head { display: block !important; padding: 16px 0 32px; border-top: 1px solid var(--line); }
	html body .ls-main .ls-g-spaces .ls-spaces__head > h2 { padding: 0 !important; max-width: 16ch; }
	html body .ls-main .ls-g-spaces .ls-spaces--cols .ls-space { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 0; }
}
@media (max-width: 959px) {
	html body .ls-main .ls-g-spaces .ls-spaces.ls-spaces--cols { display: grid !important; grid-template-columns: minmax(0, 1fr); }
	html body .ls-main .ls-g-spaces .ls-spaces__col { display: contents !important; }
	html body .ls-main .ls-g-spaces .ls-spaces--cols > * > * { grid-column: 1 / -1; }
	html body .ls-main .ls-g-spaces .ls-spaces__head { order: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
	html body .ls-main .ls-g-spaces .ls-space--n1 { order: 1; } html body .ls-main .ls-g-spaces .ls-space--n2 { order: 2; }
	html body .ls-main .ls-g-spaces .ls-space--n3 { order: 3; } html body .ls-main .ls-g-spaces .ls-space--n4 { order: 4; }
	html body .ls-main .ls-g-spaces .ls-space--n5 { order: 5; }
}

/* FR-52-14 (Josh, 23 Nov 2026): Named spaces. The list is one run in reading order (heading, 01 to 05; tools/garden.py).
   From 960px a two-column, three-row grid: left the heading, 02 and 04; right 01, 03 and 05. Rows are shared, so each pair
   has one height, the dividers sit level at the same interval in both columns and 04 and 05 end on the same line; 01 sits
   at the foot of the heading's row. No rule under the label or above 01: dividers sit only between items. Phones: one
   column, 01 to 05, dividers between items only. */
html body .ls-main .ls-g-spaces .ls-spaces.ls-spaces--rows { display: grid !important; grid-template-columns: minmax(0, 1fr); row-gap: 0; column-gap: var(--ls-gutter); border-top: 0; }
html body .ls-main .ls-g-spaces .ls-spaces--rows > * { margin: 0 !important; grid-column: 1 / -1; }
html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-spaces__head { display: block !important; border: 0 !important; padding: 0 0 16px; }
html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 0; }
html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space--n1 { border-top: 0; }
@media (min-width: 960px) {
	html body .ls-main .ls-g-spaces .ls-spaces.ls-spaces--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; align-items: stretch; }
	html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-spaces__head { grid-column: 1; grid-row: 1; padding: 12px 0 32px; }
	html body .ls-main .ls-g-spaces .ls-spaces__head > h2 { padding: 0 !important; max-width: 16ch; }
	html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space { padding: 16px 0; }
	html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space--n1 { grid-column: 2; grid-row: 1; align-self: end; }
	html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space--n2 { grid-column: 1; grid-row: 2; }
	html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space--n3 { grid-column: 2; grid-row: 2; }
	html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space--n4 { grid-column: 1; grid-row: 3; }
	html body .ls-main .ls-g-spaces .ls-spaces--rows > .ls-space--n5 { grid-column: 2; grid-row: 3; }
}
