/*
Theme Name: markleyarbor
Theme URI: https://libertyconcepts.com/
Author: Liberty Concepts
Author URI: https://libertyconcepts.com/
Description: A neutral, block-ready starter theme for the lc-blocks plugin. Ships chrome (header, footer, navigation, base typography); blocks self-style from the lc-blocks plugin.
Version: 1.0.1794844099
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blockstart
*/

/* The text domain above is deliberately `blockstart`, not the project slug that
   markleyarbor substitutes into `Theme Name:`. It is hard-coded in 50 places
   across 9 PHP files; changing it here alone silently orphans every one of them
   with no error. If you rename it, rename the literals in the same commit. */

/* =========================================================================
   Tokens / fallbacks (mirror theme.json so chrome tracks the palette)
   ========================================================================= */
:root {
	--bs-primary: var(--wp--preset--color--primary, #407F6F);
	--bs-primary-light: var(--wp--preset--color--primary-light, #E3ECE8);
	--bs-secondary: var(--wp--preset--color--secondary, #CB7E29);
	--bs-subtle: var(--wp--preset--color--subtle, #F7F3E9);
	--bs-dark: var(--wp--preset--color--dark, #033C40);
	--bs-darker: var(--wp--preset--color--darker, #052B2E);
	--bs-text: var(--wp--preset--color--text, #033C40);
	--bs-white: var(--wp--preset--color--white, #FFFFFF);
	--bs-off-white: var(--wp--preset--color--off-white, #EEF7F3);
	--bs-neutral-200: var(--wp--preset--color--neutral-200, #E5E5E5);
	--bs-muted: var(--wp--preset--color--muted, #407F6F);
	--bs-heading: var(--wp--preset--font-family--heading, "Spectral", Georgia, serif);
	--bs-body: var(--wp--preset--font-family--body, "Instrument Sans", system-ui, sans-serif);
	/* The chrome / listing container: the content column at its widest. Figma draws
	   1320 inside a 1440 frame (6005:849 x=60 w=1320); it grows with the screen to
	   1760 (designer review, 2026-11-12), matching --lc-inner-max below. */
	--bs-content: 1760px;
	--bs-header-h: 102px;
	/* lc-blocks section grid (the block-inner mixin reads these). The 60px desktop
	   gutter is Figma's; the content grows to a 1760px maximum (designer review,
	   2026-11-12): the container is 1760 + 2 × 60, so at 1920 the content is 1760
	   with 80px either side. Tablet and mobile gutters are Claude's — design-log.md. */
	--lc-inner-max: 1880px;
	--lc-gutter: 60px;
	--lc-gutter-tablet: 40px;
	--lc-gutter-mobile: 20px;
}

/* =========================================================================
   Base
   ========================================================================= */
/* Element defaults live in the `base` layer, which is ordered BELOW `blocks`.
   These are bare tag selectors, so without a layer they would beat a block's own
   class-based styling — unlayered CSS wins over any layer regardless of
   specificity. An `h1..h6` rule here would then silently restyle every heading
   inside every block. Anything that should *win* over blocks (theme chrome,
   project overrides) stays unlayered, below. */
@layer base {
	*, *::before, *::after { box-sizing: border-box; }
	/* Smooth scrolling is motion: only for people who have not asked for less of it.
	   ⚠️ A project that adds a scroll library (Lenis) must also turn this off under
	   it (`.lenis.lenis-smooth { scroll-behavior: auto !important }`), or the
	   browser eases toward each per-frame scrollTo() and the page crawls, then lurches. */
	@media (prefers-reduced-motion: no-preference) {
		html { scroll-behavior: smooth; }
	}
	body {
		margin: 0;
		font-family: var(--bs-body);
		font-size: var(--wp--preset--font-size--body, 18px);
		line-height: var(--wp--custom--line-height--body, 1.6);
		color: var(--bs-text);
		background: var(--bs-white);
		-webkit-font-smoothing: antialiased;
	}
	body.has-mobile-menu { overflow: hidden; }
	img { max-width: 100%; height: auto; display: block; }
	a { color: var(--bs-primary); }
	/* Family and weight only, as a floor for any document theme.json does not reach.
	   Heading size, line-height and tracking belong to theme.json (elements.heading /
	   h1–h5). Restating them here put two rules in the same layer at the same
	   specificity, so load order — not intent — decided which one a project's change
	   actually reached. */
	h1, h2, h3, h4, h5, h6 { font-family: var(--bs-heading); font-weight: 600; }
}

.site-wrapper { overflow-x: clip; }
.site-main { min-height: 40vh; }

/* -------------------------------------------------------------------------
 * Prose typography — cascade layer
 * -------------------------------------------------------------------------
 * Everything that styles the_content() output by ELEMENT (p, headings, lists,
 * blockquote, figure…) belongs in this layer.
 *
 * Why: prose rules are written against bare tags, so they also match the markup
 * inside an LC block and restyle it by accident. lc-blocks puts its CSS in the
 * `blocks` layer, which is ordered above `prose`, so block styling always wins —
 * no `:not([class*="lc-"])` guard needed on each selector.
 *
 * Note what is NOT in here: the alignment breakout below is structural layout
 * that must beat block CSS, so it stays unlayered. Theme chrome stays unlayered
 * too — layering it would hand the cascade to unlayered plugin CSS (Gravity
 * Forms, ACF) and to WordPress core's own block styles.
 *
 * A project's own theme CSS is unlayered and therefore beats both layers, which
 * is the intended way to re-skin a block.
 * ---------------------------------------------------------------------- */
@layer prose {
	/* Inter-element rhythm. If per-element margins are added later, drop this owl —
	   a more specific per-element rule silently overrides it. */
	.content-well > * + * { margin-top: 1.2em; }

	/* LC blocks carry their own vertical spacing (block.json `style.spacing.margin`),
	   so the prose rhythm must not stack on top of it.
	   This reset is NOT redundant with the layer order. Layers only arbitrate a
	   *conflict* — where both sides declare the same property. Here the owl declares
	   margin-top and the block declares none (only 2 of 21 block roots declare any
	   margin), so there is nothing to arbitrate and prose applies unopposed. An
	   explicit reset is the only thing that stops it. */
	.content-well > [class*="wp-block-lc-"] { margin-top: 0; }

	/* The well centres its children with margin-inline: auto, which overrides the
	   browser's 40px blockquote margin — so a core quote would sit flush with the
	   paragraphs around it. Kept as padding, it stays inset within the column. */
	.content-well > blockquote:not([class*="wp-block-lc-"]) { padding-inline: 40px; }

	/* Posts are articles: a core heading in a post body is a sub-head, so h2 and h3
	   step down to the h4 / h5 presets. Pages — with or without a block hero — keep
	   the page scale, because a heading between sections there acts as a section
	   title. Direct children only: headings inside an lc block keep the block's own
	   type. (Decided 29 Sep 2026, Boothwyn retro, Q23.) */
	.single .content-well > h2 { font-size: var(--wp--preset--font-size--h-4); }
	.single .content-well > h3 { font-size: var(--wp--preset--font-size--h-5); }
	/* The rest of the post ladder steps down with them, so it stays strictly
	   descending — h4 left at the page scale (32) came out larger than the new h3
	   (24), and h5 (24) larger than h4. 20 / 18 / 16: the body and button sizes for
	   h5 and h6, one step above body for h4. (Decided 29 Sep 2026.) */
	.single .content-well > h4 { font-size: 20px; }
	.single .content-well > h5 { font-size: var(--wp--preset--font-size--body); }
	.single .content-well > h6 { font-size: var(--wp--preset--font-size--button); }
}

/* -------------------------------------------------------------------------
 * Block alignment — the theme owns this (lc-blocks' fallback option is off).
 * Full blocks fill their container; wide blocks cap at the wide size. Inside the
 * content well the rules further down take over; these are the base for aligned
 * blocks anywhere else, and they are also live in the editor canvas (see
 * functions.php, add_editor_style).
 * ---------------------------------------------------------------------- */
.alignwide {
	max-width: var(--wp--style--global--wide-size, 1760px);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
.alignfull {
	width: 100%;
	max-width: none;
}
/* Colored separators between showcase sections render as a thin rule. */
.wp-block-separator.has-background:not(.is-style-dots) { border: 0 !important; height: 1px; }
.wp-block-separator.has-background:not(.is-style-dots):not(.alignwide):not(.alignfull) { width: 100%; }

/* -------------------------------------------------------------------------
 * The content well — ONE for every template
 * -------------------------------------------------------------------------
 * page.php (with and without a block hero), single.php and front-page.php all
 * wrap the_content() in one `.content-well`, so a block looks the same on every
 * page type. The page types differ only in their hero. The editor canvas applies
 * the same widths (the `.is-root-container` rules at the end of this section), so
 * a block also looks the same in the editor.
 *
 * Inside the well:
 *   · prose-level content — core blocks, and the in-column lc blocks listed
 *     below — sits in the READING COLUMN: `--bs-reading` (set per site in Site
 *     Settings → Reading column width; functions.php), less a gutter each side.
 *     It is NOT theme.json's contentSize, which is the section content width
 *     that constrained core groups lay their content out at;
 *   · .alignwide caps at `wideSize`; .alignfull reaches the edges;
 *   · every OTHER lc block is a SECTION: full-bleed whatever its align class, and
 *     it constrains its own inner content (the block-inner mixin). Sections have
 *     no alignment control; an older saved block may still carry `alignwide`,
 *     which is inert here.
 *
 * No 100vw. The well is itself full-width, so `100%` is the viewport less the
 * scrollbar. The previous breakout (`width: 100vw; margin-left: calc(50% - 50vw)`)
 * was half a classic scrollbar too wide — invisible to headless browsers, which
 * use overlay scrollbars.
 *
 * ⚠️ IN-COLUMN LC BLOCKS ARE LISTED HERE, AND ONLY HERE (this file is also the
 * editor stylesheet, so the canvas rules at the end read the same list). A new lc
 * block not listed is a section. A new prose-level one must be added to ALL THREE
 * :is() lists below.
 * ---------------------------------------------------------------------- */
.content-well {
	--bs-gutter: 24px;
}
@media (max-width: 767px) {
	.content-well { --bs-gutter: 20px; }
}

/* Default: the reading column. */
.content-well > * {
	max-width: min(var(--bs-reading, 760px), calc(100% - 2 * var(--bs-gutter)));
	margin-inline: auto;
	box-sizing: border-box;
}

/* Align classes size CORE blocks only. An lc block's size comes from its role alone:
   older lc content — and every new block whose `align` attribute still has its
   old default, kept so stored markup validates — carries an inert alignwide /
   alignfull that must not move it. */
.content-well > .alignwide:not([class*="wp-block-lc-"]) {
	max-width: min(var(--wp--style--global--wide-size, 1760px), calc(100% - 2 * var(--bs-gutter)));
}

/* Full, and every lc block that is not prose-level: edge to edge. */
.content-well > .alignfull:not([class*="wp-block-lc-"]),
.content-well > [class*="wp-block-lc-"]:not(:is(
	.wp-block-lc-buttons,
	.wp-block-lc-callout,
	.wp-block-lc-quote,
	.wp-block-lc-eyebrow,
	.wp-block-lc-direct-links,
	.wp-block-lc-share,
	.lc-accordion--list,
	.is-style-inline
)) {
	max-width: none;
	margin-inline: 0;
}

/* Floated images, inside the reading column's edges. */
.content-well > :is(.wp-block-image, figure).alignleft {
	float: left;
	max-width: min(50%, calc(var(--bs-reading, 760px) / 2));
	margin: 0.5em 2em 1em max(var(--bs-gutter), calc((100% - var(--bs-reading, 760px)) / 2));
}
.content-well > :is(.wp-block-image, figure).alignright {
	float: right;
	max-width: min(50%, calc(var(--bs-reading, 760px) / 2));
	margin: 0.5em max(var(--bs-gutter), calc((100% - var(--bs-reading, 760px)) / 2)) 1em 2em;
}
@media (max-width: 767px) {
	.content-well > :is(.wp-block-image, figure).alignleft,
	.content-well > :is(.wp-block-image, figure).alignright {
		float: none;
		max-width: min(var(--bs-reading, 760px), calc(100% - 2 * var(--bs-gutter)));
		margin-inline: auto;
	}
}

/* The EDITOR CANVAS: its root container is the well there. Core lays unaligned
   blocks out at theme.json's contentSize (constrained layout, zero specificity),
   which is the section content width, so prose is held to the reading column
   here exactly as in `.content-well > *` above, and a section block reaches the
   canvas edges exactly as it reaches the viewport's. Same list as above. */
/* Prose. lc blocks are excluded here and sized by the two rules below: without
   that exclusion its four :not()s outweighed the section rule and held every
   section to the reading column in the canvas (measured: 1145 → 760). */
.is-root-container > :not([class*="wp-block-lc-"]):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
	max-width: min(var(--bs-reading, 760px), calc(100% - 2 * var(--bs-gutter, 24px)));
}
/* Prose-level lc blocks. ⚠️ The two :not()s are for WEIGHT as well as meaning:
   core's own canvas layout rule (the constrained root, capping at contentSize,
   1200) is (0,2,0) and comes later, and `:is()` of single classes is only (0,1,0),
   so without them this rule lost and the quote measured full canvas width.
   (Boothwyn's copy of this rule won by accident: one item in its list has two
   classes, and :is() takes its heaviest argument.) */
.is-root-container > :not(.alignleft):not(.alignright):is(
	.wp-block-lc-buttons,
	.wp-block-lc-callout,
	.wp-block-lc-quote,
	.wp-block-lc-eyebrow,
	.wp-block-lc-direct-links,
	.wp-block-lc-share,
	.lc-accordion--list,
	.is-style-inline
) {
	max-width: min(var(--bs-reading, 760px), calc(100% - 2 * var(--bs-gutter, 24px)));
}
.is-root-container > [class*="wp-block-lc-"]:not(:is(
	.wp-block-lc-buttons,
	.wp-block-lc-callout,
	.wp-block-lc-quote,
	.wp-block-lc-eyebrow,
	.wp-block-lc-direct-links,
	.wp-block-lc-share,
	.lc-accordion--list,
	.is-style-inline
)) {
	max-width: none;
}

/* -------------------------------------------------------------------------
 * Motion — opt-in (inc/motion.php)
 * -------------------------------------------------------------------------
 * Every rule here is keyed on a class the motion scripts add, so with the module
 * off — the default — none of it matches anything. Under reduced motion the
 * scripts do not run, and these rules stand down too.
 * ---------------------------------------------------------------------- */

/* slide-up: `.slide-up-ready` is added by the script and IS the hidden state.
   ⚠️ The transition lives on `.is-visible`, NOT on `.slide-up-ready`: a transition
   is decided from the after-change style, so on the hidden class it would animate
   the element OUT, and the observer would then cancel it — no entrance at all. */
.slide-up-ready { opacity: 0; transform: translateY(28px); }
.slide-up-ready.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1);
}

/* text-reveal: one mask per line. The padding/negative-margin pair stops the mask
   clipping descenders without changing the heading's height. */
.text-reveal__line-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.text-reveal__line-inner {
	display: block;
	transform: translateY(110%);
	transition: transform .75s cubic-bezier(.16, 1, .3, 1);
	will-change: transform;
}
.text-reveal.is-revealed .text-reveal__line-inner { transform: none; }
/* One frame while a title re-splits after a resize: restore without replaying.
   A class, because clearing an inline `transition` would also clear each line's
   `transition-delay`. */
.text-reveal.is-resplitting .text-reveal__line-inner { transition: none !important; }

/* header-hide */
.site-header.has-header-hide { transition: transform .35s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease; }
.site-header.has-header-hide.is-hidden { transform: translateY(-100%); }

/* scroll-momentum: Lenis's own stylesheet — required, not optional. ⚠️ The
   `scroll-behavior: auto` line is load-bearing: with `smooth` (the base layer sets
   it) the browser eases toward each per-frame scrollTo() Lenis makes, and the page
   crawls, then lurches. Lenis puts these classes on <html> only while running. */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.slide-up-ready, .slide-up-ready.is-visible { opacity: 1; transform: none; transition: none; }
	.text-reveal__line-inner { transform: none !important; transition: none !important; }
	.site-header.has-header-hide.is-hidden { transform: none; }
}

/* Visually hidden, still announced and still focusable. Standard WP pattern. */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
/* The skip link is the exception: it must become visible when focused. */
.skip-link:focus {
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	padding: 12px 20px;
	top: 8px;
	left: 8px;
	z-index: 1000;
	background: var(--bs-white);
	color: var(--bs-text);
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0,0,0,.2);
	text-decoration: underline;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header__inner {
	max-width: 1760px;
	margin-inline: auto;
	min-height: var(--bs-header-h);
	padding: 0 32px;
	display: flex;
	align-items: center;
	gap: 32px;
}
.site-header__brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-header__logo { height: 32px; width: auto; }
.site-header__nav { flex: 1 1 auto; display: flex; justify-content: center; }

.site-header__menu {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: center;
}
.site-header__menu a {
	text-decoration: none;
	color: inherit;
	font-size: 16px;
	font-weight: 500;
	position: relative;
}
.site-header__menu a span::after {
	content: "";
	position: absolute;
	left: 0; bottom: -4px;
	width: 0; height: 2px;
	background: currentColor;
	transition: width .2s ease;
}
.site-header__menu a:hover span::after { width: 100%; }
/* Submenus */
.site-header__menu .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 240px;
	max-width: 280px;
	background: var(--bs-white);
	box-shadow: 0 12px 32px rgba(0,0,0,.12);
	border-radius: 12px;
	padding: 12px;
	list-style: none;
	margin: 8px 0 0;
	display: none;
	z-index: 10;
	/* theme.js sets this when the panel would run off the right edge. */
	transform: translateX(var(--sub-shift, 0px));
}
/* ⚠️ The 8px margin above is a gap the pointer must cross from the item to the
   panel, and it belongs to neither: the <li> lost :hover in it and the panel
   closed before the pointer arrived (measured: closed at y=60, panel top 64).
   This invisible strip fills the gap and is part of the panel, so :hover holds
   the whole way down. Its height must match that margin. */
.site-header__menu .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 8px;
}
/* Long submenus flow into columns rather than running off the bottom of the
   screen: two from 9 items, three from 17 (21 items measured 898px tall in one
   column, 62px past a 1440x900 screen). `:has()` counts the items, so nothing in
   the menu markup changes. */
.site-header__menu .sub-menu:has(> li:nth-child(9)) {
	columns: 2;
	column-gap: 4px;
	width: max-content;
	max-width: calc(100vw - 32px);
}
.site-header__menu .sub-menu:has(> li:nth-child(17)) { columns: 3; }
.site-header__menu .sub-menu > li { break-inside: avoid; }
.site-header__menu li { position: relative; }
/* Reveal on hover AND on keyboard focus. :hover alone makes a dropdown reachable
   only by mouse — keyboard users tab straight past it and touch devices have no
   hover state at all. :focus-within covers both the parent link and the items
   inside, so the menu stays open while tabbing through it. */
.site-header__menu li:hover > .sub-menu,
.site-header__menu li:focus-within > .sub-menu { display: block; }
/* Escape dismisses an open submenu (theme.js) until focus and the pointer leave it. */
.site-header__menu li.is-sub-dismissed > .sub-menu { display: none; }
.site-header__menu .sub-menu a { display: block; padding: 8px 12px; color: var(--bs-text); border-radius: 8px; }
.site-header__menu .sub-menu a:hover { background: var(--bs-subtle); }
/* Dropdown affordance on parent items (WP adds .menu-item-has-children). */
.site-header__menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.site-header__menu .menu-item-has-children > a::after {
	content: ""; width: 0; height: 0;
	border-left: 4px solid transparent; border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}

.site-header__actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.site-header__icon-btn {
	background: none; border: 0; cursor: pointer; color: inherit;
	display: inline-flex; padding: 6px;
}
.site-header__login { text-decoration: none; color: inherit; font-size: 15px; font-weight: 500; }
.site-header__cta {
	display: inline-flex; align-items: center;
	padding: 12px 22px;
	background: var(--bs-primary);
	color: var(--bs-white);
	border-radius: 999px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .2s ease;
}
.site-header__cta:hover { background: var(--bs-primary-light); }
.site-header__burger { display: none; }

/* Search panel */
.site-header__search { border-top: 1px solid rgba(0,0,0,.08); background: var(--bs-white); }
.site-header__search-form { max-width: 1760px; margin-inline: auto; padding: 16px 32px; display: flex; gap: 12px; }
.site-header__search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--bs-neutral-200); border-radius: 8px; font-size: 16px; }
.site-header__search-form button { padding: 12px 24px; background: var(--bs-primary); color: #fff; border: 0; border-radius: 8px; cursor: pointer; font-weight: 600; }

/* Logo visibility by variant (light = white logo, dark = dark logo) */
.site-header__logo--dark { display: none; }
.site-header__logo--light { display: block; }

/* Transparent: overlays hero, light text */
.site-header--transparent {
	position: fixed; top: 0; left: 0; right: 0;
	background: transparent;
	color: var(--bs-white);
}
.site-header--transparent.is-scrolled {
	background: var(--bs-white);
	color: var(--bs-text);
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.site-header--transparent.is-scrolled .site-header__logo--light { display: none; }
.site-header--transparent.is-scrolled .site-header__logo--dark { display: block; }

/* Solid: white bg, dark text */
.site-header--solid { background: var(--bs-white); color: var(--bs-text); }
.site-header--solid .site-header__logo--light { display: none; }
.site-header--solid .site-header__logo--dark { display: block; }
.site-header--solid.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }

/* Dark: dark bg, light text */
.site-header--dark { background: var(--bs-dark); color: var(--bs-white); }
.site-header--dark.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }

/* =========================================================================
   Mobile menu
   ========================================================================= */
.site-mobile-menu {
	position: fixed; inset: 0; z-index: 200;
	background: var(--bs-dark);
	color: var(--bs-white);
	padding: 28px 28px 40px;
	display: flex; flex-direction: column; gap: 28px;
	overflow-y: auto;
}
/* `display: flex` above overrides the browser's [hidden]{display:none}, so the
   panel must be hidden explicitly — otherwise it stays open with no way to close. */
.site-mobile-menu[hidden] { display: none; }
.site-mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.site-mobile-menu__close {
	background: none; border: 0; color: var(--bs-white); cursor: pointer;
	padding: 6px; line-height: 0;
}
.site-mobile-menu__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-mobile-menu__menu a { display: block; padding: 12px 0; color: var(--bs-white); text-decoration: none; font-family: var(--bs-heading); font-size: 22px; font-weight: 600; }
.site-mobile-menu__menu .sub-menu { list-style: none; padding-left: 16px; margin: 0; }
.site-mobile-menu__menu .sub-menu a { font-size: 17px; font-weight: 500; opacity: .85; }
.site-mobile-menu__cta { align-self: flex-start; padding: 14px 28px; background: var(--bs-primary); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; }

.site-header__burger span { transition: transform .2s ease, opacity .2s ease; }

/* =========================================================================
   Default page hero / archives / single / 404
   ========================================================================= */
.page-content { padding: 56px 0; }

.archive, .insights-archive__inner, .single { padding: 0 0 80px; }
.archive__inner, .single__related-inner { max-width: var(--bs-content); margin-inline: auto; padding: 0 24px; }
.archive__header { padding: 56px 24px 40px; max-width: var(--bs-content); margin-inline: auto; }
.archive__title { font-size: clamp(32px, 4vw, 50px); margin: 0; color: var(--bs-dark); }
.archive__description { margin-top: 12px; color: var(--bs-muted); }
.archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.archive__empty { text-align: center; color: var(--bs-muted); padding: 60px 0; }
.archive__pagination { margin-top: 48px; }
.archive__pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 4px; border-radius: 8px; text-decoration: none; color: var(--bs-text); }
.archive__pagination .page-numbers.current { background: var(--bs-primary); color: #fff; }

.card { background: var(--bs-white); border: 1px solid var(--bs-neutral-200); border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.10); }
.card__link { text-decoration: none; color: inherit; display: block; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px; }
.card__cat { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-primary); margin-bottom: 10px; }
.card__title { font-size: 21px; margin: 0 0 10px; color: var(--bs-dark); }
.card__excerpt { margin: 0; font-size: 15px; color: var(--bs-muted); }

.single__hero { background: var(--bs-subtle); padding-top: 64px; }
.single__hero-inner { max-width: 820px; margin-inline: auto; padding: 24px 24px 56px; }
.single__cat { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-primary); margin-bottom: 14px; }
.single__title { font-size: clamp(32px, 4.5vw, 54px); margin: 0 0 16px; color: var(--bs-dark); }
.single__meta { margin: 0; color: var(--bs-muted); font-size: 15px; }
.single__media { max-width: 1000px; margin: -32px auto 0; padding: 0 24px; }
.single__media img { border-radius: 16px; width: 100%; }
/* Spacing below the hero only — width comes from the content well, same as a page. */
.single__body { margin-top: 48px; }
.single__related { padding: 72px 0; background: var(--bs-off-white); margin-top: 72px; }
.single__related-title { font-size: 30px; margin: 0 0 32px; color: var(--bs-dark); }

.insights-archive__hero { background: var(--bs-subtle); padding-top: 56px; }
.insights-archive__hero-inner { max-width: var(--bs-content); margin-inline: auto; padding: 24px 24px 56px; }
.insights-archive__title { font-size: clamp(34px, 5vw, 58px); margin: 0; color: var(--bs-dark); }
.insights-archive__desc { margin-top: 14px; max-width: 60ch; color: var(--bs-muted); }
.insights-archive__inner { max-width: var(--bs-content); margin-inline: auto; padding: 48px 24px 80px; }

.error-404 { padding: 96px 24px 120px; text-align: center; }
.error-404__inner { max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-404__code { font-family: var(--bs-heading); font-size: 96px; font-weight: 800; color: var(--bs-secondary); margin: 0; line-height: 1; }
.error-404__title { font-size: 34px; margin: 0; color: var(--bs-dark); }
.error-404__text { color: var(--bs-muted); margin: 0; }
.error-404__btn { padding: 14px 28px; background: var(--bs-primary); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
	.archive__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.site-header__nav, .site-header__login { display: none; }
	.site-header__burger {
		display: inline-flex; flex-direction: column; gap: 5px;
		background: none; border: 0; cursor: pointer; padding: 6px;
	}
	.site-header__burger span { width: 24px; height: 2px; background: currentColor; display: block; }
	.archive__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Markley Arboretum — chrome and block re-skins
   =========================================================================
   Unlayered on purpose: it must beat lc-blocks' `blocks` layer (dev-rules.wordpress
   §M). Values are Figma's (file nV6OeMipq1J80cBmwqCRBR, frame 6005:803) unless the
   comment says otherwise; anything with no design (mobile, hover on nav, the
   scrolled header) is Claude's call and is listed in design-log.md. */

/* ── Header (Figma 6005:815) ─────────────────────────────────────────────── */
.site-header::after {
	/* Line 64: 1px white at 20% across the full width, inside the 102px bar. */
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: rgba(255, 255, 255, .2);
	pointer-events: none;
}
.site-header__inner {
	max-width: var(--lc-inner-max);
	min-height: var(--bs-header-h);
	padding: 20px var(--lc-gutter);
	justify-content: space-between;
	filter: drop-shadow(0 0 2px rgba(18, 48, 98, .2)); /* "Header shadow" effect */
}
.site-header__logo { width: 279px; height: 62px; }
.site-header__nav { justify-content: flex-end; }
.site-header__actions { display: none; }
.site-header__menu { gap: 60px; flex-wrap: nowrap; }
.site-header__menu a {
	display: inline-block;
	font-family: var(--bs-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	color: var(--bs-white);
	padding-bottom: 3.5px;
}
/* Hover / current: one white 2px line that grows from the left under the label
   (the starter's span::after). The maple rule that sat above it is gone (designer
   review, 2026-11-12). */
.site-header__menu .current-menu-item > a span::after,
.site-header__menu .current-menu-ancestor > a span::after { width: 100%; }

/* Variants. Front page: transparent over the hero photo. Everything else: the
   Brand/Dark bar. Scrolled past the top, the transparent header takes the same
   dark ground so its white logo and links stay legible. The light (white) logo is
   used in every state. */
.site-header--transparent { color: var(--bs-white); }
.site-header--transparent.is-scrolled,
.site-header--dark { background: var(--bs-dark); color: var(--bs-white); box-shadow: none; }
.site-header--transparent.is-scrolled .site-header__logo--light,
.site-header--dark .site-header__logo--light { display: block; }
.site-header--transparent.is-scrolled .site-header__logo--dark,
.site-header--dark .site-header__logo--dark { display: none; }

@media (max-width: 860px) {
	:root { --bs-header-h: 80px; }
	.site-header__inner { padding: 16px var(--lc-gutter-tablet); }
	.site-header__logo { width: 217px; height: 48px; }
	.site-header__actions { display: flex; }
	.site-header__burger { color: var(--bs-white); }
}
@media (max-width: 767px) {
	.site-header__inner { padding-inline: var(--lc-gutter-mobile); }
}

/* Mobile menu */
.site-mobile-menu { background: var(--bs-dark); padding: 16px 20px 40px; }
.site-mobile-menu__brand img { width: 217px; height: 48px; }
.site-mobile-menu__menu a {
	font-family: var(--bs-heading);
	font-size: var(--wp--preset--font-size--h-4, 28px);
	line-height: 1.4;
	letter-spacing: -.04em;
}

/* ── Footer (Figma 6005:927) ─────────────────────────────────────────────── */
.site-footer {
	background: var(--bs-darker);
	color: var(--bs-white);
	padding: 80px var(--lc-gutter) 40px;
}
.site-footer__inner,
.site-footer__bar { max-width: var(--bs-content); margin-inline: auto; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.site-footer__tagline {
	margin: 0;
	max-width: 480px;
	font-family: var(--bs-heading);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--h-4, 28px);
	line-height: 1.4;
	letter-spacing: -.04em;
}
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 60px; flex-wrap: wrap; }
.site-footer__menu a {
	color: var(--bs-white);
	text-decoration: none;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	padding-bottom: 3.5px;
	/* The header menu's hover: a white 2px line growing from the left. */
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
	transition: background-size .25s ease;
}
.site-footer__menu a:hover { background-size: 100% 2px; }
.site-footer__brand { display: block; width: fit-content; margin-top: 30px; line-height: 0; }
.site-footer__logo { width: 279px; height: 62px; }
.site-footer__bar {
	margin-top: 120px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, .2);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px 40px;
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: .01em;
}
.site-footer__steward,
.site-footer__legal { margin: 0; display: flex; align-items: center; gap: 20px; }
.site-footer__steward img { width: 166px; height: 26px; }
/* The logo's own size: no line box around the image, and it never shrinks (768 is tight). */
.site-footer__markley { display: block; flex: none; line-height: 0; }
.site-footer__privacy { color: var(--bs-white); text-decoration: none; display: inline-flex; align-items: center; gap: 20px; }
.site-footer__privacy::before {
	/* Line 22: a 16px vertical rule, #E8F4FC at 20%. */
	content: "";
	width: 1px;
	height: 16px;
	background: rgba(232, 244, 252, .2);
}
.site-footer__privacy span {
	/* No padding: the link is a flex container, so padding here would add height. */
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size .25s ease;
}
.site-footer__privacy:hover span { background-size: 100% 1.5px; }

@media (max-width: 1024px) {
	.site-footer { padding-inline: var(--lc-gutter-tablet); }
	.site-footer__top { flex-direction: column; gap: 30px; }
	.site-footer__bar { margin-top: 80px; }
}
@media (max-width: 767px) {
	.site-footer { padding: 60px var(--lc-gutter-mobile) 32px; }
	.site-footer__menu { gap: 16px 32px; }
	.site-footer__bar { flex-direction: column; align-items: flex-start; margin-top: 60px; padding-top: 32px; }
	.site-footer__legal { flex-direction: column; align-items: flex-start; gap: 8px; }
	.site-footer__privacy::before { display: none; }
}


/* ── Lead paragraph (Figma 6005:859: Spectral 600 28/1.4, -4%) ───────────── */
p.is-style-lead {
	font-family: var(--bs-heading);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--h-4, 28px);
	line-height: 1.4;
	letter-spacing: -.04em;
}

/* ── Stats Split ──────────────────────────────────────────────────────────
   WordPress core's unlayered `figure { margin: 0 0 1em }` beats the block's
   layered margin reset (dev-rules.wordpress §M) and lifted the map 18px off the
   row's bottom edge (measured: media bottom 3451.5, stats bottom 3469). */
.lc-stats-split__media { margin: 0; }


/* ── Header: a page that stored the starter's "solid" (white) variant still gets
   the dark bar — the white logo and menu have no light-ground version in the
   design. ──────────────────────────────────────────────────────────────── */
.site-header--solid { background: var(--bs-dark); color: var(--bs-white); }
.site-header--solid .site-header__logo--light { display: block; }
.site-header--solid .site-header__logo--dark { display: none; }


/* ── Interior hero (template-parts/interior-hero.php) — every page but the front
   page, and each single landscape. Figma "Interior_Hero area" (6081:1434) and
   "Interior_Fall back" (6081:1474) at 1440: a 600px band under the transparent
   header; the H1 (66px) and intro (18px) in a 900px column, 30px apart, their
   last line 100px above the band's bottom edge. With a photo: the homepage
   hero's overlay. Without: the map section's gradient and leaf artwork.
   Tablet/mobile have no design (design-log.md). ───────────────────────────── */
.interior-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 600px;
	color: var(--bs-white);
	overflow: hidden;
	background: linear-gradient(180deg, #044747 0%, var(--bs-dark) 100%);
}
.interior-hero--pattern {
	background:
		url('assets/images/hero-leaves.svg') center / cover no-repeat,
		linear-gradient(180deg, #044747 0%, var(--bs-dark) 100%);
}
.interior-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.interior-hero--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(9, 25, 46, 0) 26.279%),
		rgba(0, 0, 0, .3);
}
.interior-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--lc-inner-max);
	margin-inline: auto;
	/* The top padding keeps a long title clear of the fixed header. */
	padding: calc(var(--bs-header-h) + 60px) var(--lc-gutter) 100px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	text-shadow: 0 2px 20px rgba(9, 21, 31, .3);
}
.interior-hero__inner > * { max-width: 900px; }
.interior-hero__eyebrow { margin: 0 0 -10px; color: var(--bs-primary-light); }
.interior-hero__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-1, 66px);
	line-height: 1.2;
	letter-spacing: -.04em;
	color: var(--bs-white);
}
.interior-hero__desc {
	margin: 0;
	font-size: var(--wp--preset--font-size--body, 18px);
	line-height: 1.6;
	letter-spacing: .01em;
}
/* The content after the hero starts one block margin down (120 at 1440, scaling
   with the block margins to 60). */
.interior-hero + .page-content { padding-block: clamp(60px, 8.333vw, 120px) 0; }
.interior-hero + .landscape-body { padding-block: clamp(60px, 8.333vw, 120px) clamp(40px, 4.167vw, 60px); }
.landscape-back { max-width: min(var(--bs-reading, 760px), calc(100% - 48px)); margin: 0 auto clamp(60px, 8.333vw, 120px); }
@media (max-width: 1024px) {
	.interior-hero { min-height: 520px; }
	.interior-hero__inner { padding: calc(var(--bs-header-h) + 48px) var(--lc-gutter-tablet) 64px; gap: 24px; }
}
@media (max-width: 767px) {
	.interior-hero { min-height: 440px; }
	.interior-hero__inner { padding: calc(var(--bs-header-h) + 40px) var(--lc-gutter-mobile) 48px; gap: 20px; }
}

/* =========================================================================
   Markley Arboretum — lc-block re-skins, IN the `blocks` layer
   =========================================================================
   These restyle lc blocks to the Figma values. They sit in `@layer blocks` with a
   `:root` prefix, so they outrank each block's own rule inside that layer
   whatever the load order — and the block, not something outside the layer, is
   what decides its typography. Unlayered, the same rules beat every block from
   outside the layer, which is the bleed check-block-cascade exists to catch (it
   reported 77 such overrides before this move). Chrome stays unlayered above. */
@layer blocks {
/* ── Buttons (Figma 🍄 Components → Buttons, 4005:14) ────────────────────────
   lc/buttons variants map to the components: cta = Primary, secondary =
   Secondary, link-dark = Link / On-Light, link-light = Link / On-Dark. Ghost is
   not in the design; it gets a plain outlined treatment in the same palette. */
:root .lc-buttons__btn {
	font-family: var(--bs-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	padding: 16px 24px;
	gap: 8px;
}
:root .lc-buttons__btn--cta {
	background-color: var(--bs-dark);
	background-image: linear-gradient(var(--bs-primary) 0 0);
	color: var(--bs-primary-light);
}
:root .lc-buttons__btn--cta:hover { color: var(--bs-white); }
:root .lc-buttons--on-dark .lc-buttons__btn--cta { background-color: var(--bs-primary-light); color: var(--bs-dark); }
:root .lc-buttons--on-dark .lc-buttons__btn--cta:hover { color: var(--bs-white); }

:root .lc-buttons__btn--secondary {
	padding: 18px 32px;
	background-color: var(--bs-neutral-200);
	background-image: linear-gradient(var(--bs-off-white) 0 0);
	color: var(--bs-dark);
}
:root .lc-buttons__btn--secondary:hover { color: var(--bs-dark); }
:root .lc-buttons--on-dark .lc-buttons__btn--secondary { background-color: var(--bs-off-white); }

:root .lc-buttons__btn--ghost {
	background-image: linear-gradient(var(--bs-dark) 0 0);
	border: 1px solid var(--bs-dark);
	color: var(--bs-dark);
}
:root .lc-buttons__btn--ghost:hover { color: var(--bs-white); border-color: var(--bs-dark); }
:root .lc-buttons--on-dark .lc-buttons__btn--ghost {
	background-image: linear-gradient(var(--bs-primary-light) 0 0);
	border-color: var(--bs-primary-light);
	color: var(--bs-primary-light);
}
:root .lc-buttons--on-dark .lc-buttons__btn--ghost:hover { color: var(--bs-dark); border-color: var(--bs-primary-light); }

/* Link: text, a 2px gap, then a 1.5px rule the width of the link — maple at rest.
   On hover a Brand/Primary rule grows over it from the left, the same growing
   underline as the menus and card titles (designer review, 2026-11-12). Drawn as
   backgrounds so it always matches the text. */
:root .lc-buttons__btn--link-dark,
:root .lc-buttons__btn--link-light {
	gap: 4px;
	padding: 0 0 3.5px;
	border-radius: 0;
	font-size: 18px;
	background-color: transparent;
	background-image: linear-gradient(var(--bs-primary) 0 0), linear-gradient(var(--bs-secondary) 0 0);
	background-position: 0 100%, 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1.5px, 100% 1.5px;
	transition: background-size .3s ease, color .2s ease;
}
:root .lc-buttons__btn--link-dark:hover,
:root .lc-buttons__btn--link-light:hover {
	background-image: linear-gradient(var(--bs-primary) 0 0), linear-gradient(var(--bs-secondary) 0 0);
	background-size: 100% 1.5px, 100% 1.5px;
}
:root .lc-buttons__btn--link-dark { color: var(--bs-dark); }
:root .lc-buttons__btn--link-light { color: var(--bs-primary-light); }
:root .lc-buttons__btn--link-dark .lc-buttons__icon,
:root .lc-buttons__btn--link-light .lc-buttons__icon { display: none; }
/* The Download icon (Figma Icons → Type=Download) after any link to a PDF. Order
   puts it after the text span, which comes second in the markup. */
:root .lc-buttons__btn[href$=".pdf" i]::after {
	content: "";
	order: 2;
	width: 16px;
	height: 16px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("assets/images/icon-download.svg") center / contain no-repeat;
	mask: url("assets/images/icon-download.svg") center / contain no-repeat;
}

/* ── Eyebrow (Text/Eyebrow: Instrument Sans 500 16/1.2, 6% tracking, uppercase) */
:root .lc-eyebrow,
:root [class*="__eyebrow"] {
	font-family: var(--bs-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bs-primary);
}

/* ── Homepage hero: lc/hero-carousel, Homepage Hero variation (Figma 6005:809–814)
   Text block at x60, bottom edge 124px above the hero's foot (frame 1095: y409,
   h327 in an 860 hero), 800 wide; heading H1 with the "Header Shadow" text
   shadow; subtext 629 wide; 30px between the three. */
:root .lc-hero-carousel__slide-inner {
	max-width: var(--lc-inner-max);
	padding: 0 var(--lc-gutter) 124px;
	display: flex;
	align-items: flex-end;
}
:root .lc-hero-carousel__slide-content { max-width: 800px; gap: 30px; }
:root .lc-hero-carousel__heading {
	font-family: var(--bs-heading);
	font-size: var(--wp--preset--font-size--h-1, 66px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.04em;
	text-shadow: 0 2px 20px rgba(9, 21, 31, .3);
}
:root .lc-hero-carousel__subtext {
	max-width: 629px;
	font-size: var(--wp--preset--font-size--body, 18px);
	line-height: 1.6;
	letter-spacing: .01em;
	text-shadow: 0 2px 20px rgba(9, 21, 31, .3);
}
/* The CTA is the Primary / On-Dark button, with no arrow. */
:root .lc-hero-carousel__cta {
	padding: 16px 24px;
	gap: 0;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	background-color: var(--bs-primary-light);
	background-image: linear-gradient(var(--bs-primary) 0 0);
	color: var(--bs-dark);
}
:root .lc-hero-carousel__cta:hover { color: var(--bs-white); }
:root .lc-hero-carousel__cta svg { display: none; }
/* The overlay's top band: black 30% → transparent over the top 26.279% (the
   flat 30% black is the block's own overlay setting). On the background layer
   because the overlay element carries the opacity, which would thin this too. */
:root .lc-hero-carousel__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(9, 25, 46, 0) 26.279%);
	pointer-events: none;
}
/* The photo fills the screen at every size (designer review, 2026-11-12) — no
   longer capped at the frame's 860px. svh is the height with the browser's bars
   showing, so a phone sees the whole hero; vh is the fallback. */
:root .lc-hero-carousel {
	min-height: 100vh;
	min-height: 100svh;
}
@media (max-width: 1024px) {
	:root .lc-hero-carousel__slide-inner { padding: 0 var(--lc-gutter-tablet) 80px; }
}
@media (max-width: 767px) {
	:root .lc-hero-carousel__slide-inner { padding: 0 var(--lc-gutter-mobile) 56px; }
	:root .lc-hero-carousel__slide-content { gap: 24px; }
}

/* ── Section header (Figma 6005:850): H2 heading, 40px, a 1px Brand/Primary rule */
:root .lc-section-header__heading {
	font-size: var(--wp--preset--font-size--h-2, 52px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.04em;
}
:root .lc-section-header__divider { background-color: var(--bs-primary); border-color: var(--bs-primary); }
/* With no description the right column is empty: let the heading run the full
   width, as in Figma (one line, 776 wide). */
:root .lc-section-header__right:empty { display: none; }
/* Heading and description share the feature split's columns: 640 : 600 with an
   80 gap at 1440 (description at x780, as before), growing in that ratio on wider
   screens so the gap stays 80 (designer review 2026-11-13: "stretched apart"). */
:root .lc-section-header__inner { column-gap: 80px; }
:root .lc-section-header__content { flex: 640 1 0; min-width: 0; }
:root .lc-section-header__right { flex: 600 1 0; min-width: 0; max-width: none; }
/* The starter caps the description at 550, which pinned it to the right edge with
   the heading column taking all the growth. */
:root .lc-section-header__description { max-width: none; }
/* Starter bug: stacked (≤767) the header is a column, so the divider's
   `flex-basis: 100%` became its HEIGHT and resolved to 0 (measured h0 at 375). */
@media (max-width: 767px) {
	:root .lc-section-header__divider { flex-basis: auto; }
	:root .lc-section-header__content,
	:root .lc-section-header__right { flex: none; }
}

/* ── Feature Split (Figma 6005:909): text 600 wide, image 640 square, 80 apart,
   centred. Eyebrow → 30 → heading → 60 → body → 30 → link.
   Wide screens: the two columns grow in Figma's 640 : 600 ratio and the gap stays
   80, like the landscape list. Fixed widths pushed to opposite edges left ~500px
   of empty middle at 1760 (designer review 2026-11-13). ──────────────────── */
:root .lc-feature-split__inner {
	padding-block: 0;
	gap: 80px;
	justify-content: space-between;
	align-items: center;
}
:root .lc-feature-split__media {
	flex: 640 1 0;
	min-width: 0;
	aspect-ratio: 1;
	min-height: 0;
	max-height: none;
}
:root .lc-feature-split__content {
	flex: 600 1 0;
	min-width: 0;
	padding: 20px 0;
}
:root .lc-feature-split__content > * { margin: 0; }
:root .lc-feature-split__content > .wp-block-lc-eyebrow + :is(h2,
:root h3,
:root h4) { margin-top: 30px; }
:root .lc-feature-split__content > :is(h2,
:root h3,
:root h4) + * { margin-top: 60px; }
:root .lc-feature-split__content > p + p { margin-top: 1.2em; }
:root .lc-feature-split__content > p + .wp-block-lc-buttons { margin-top: 30px; }

/* Badge (Figma 6005:853): a 400 column holding the image at its own size (the
   ArbNet badge, 353 × 160) and a caption 30 below; text 720 wide, 200 apart;
   top-aligned. Wider, the columns grow 400 : 720 with the gap fixed at 200; the
   caption keeps its 400 measure. */
:root .lc-feature-split.is-style-badge .lc-feature-split__inner { align-items: flex-start; gap: 200px; }
:root .lc-feature-split.is-style-badge .lc-feature-split__media { flex: 400 1 0; aspect-ratio: auto; }
:root .lc-feature-split.is-style-badge .lc-feature-split__media-inner { width: 353px; max-width: 100%; height: auto; border-radius: 0; }
:root .lc-feature-split.is-style-badge .lc-feature-split__media-img { height: auto; object-fit: contain; border-radius: 0; }
:root .lc-feature-split.is-style-badge .lc-feature-split__caption { margin-top: 30px; max-width: 400px; }
:root .lc-feature-split.is-style-badge .lc-feature-split__content { flex: 720 1 0; padding: 0; justify-content: flex-start; }
:root .lc-feature-split.is-style-badge .lc-feature-split__content > p + p { margin-top: 30px; }

/* Card (Figma 6005:918): 3px maple border, radius 4, 24 padding, a 400 × 300
   image, 80 to the text; eyebrow → 20 → H3 → 30 → body → 30 → link. The border
   is drawn on the content box (inset by the section gutter), not the full bleed. */
:root .lc-feature-split.is-style-card .lc-feature-split__inner {
	position: relative;
	padding: 24px calc(var(--lc-gutter) + 24px);
}
:root .lc-feature-split.is-style-card .lc-feature-split__inner::before {
	content: "";
	position: absolute;
	inset: 0 var(--lc-gutter);
	border: 3px solid var(--bs-secondary);
	border-radius: 4px;
	pointer-events: none;
}
:root .lc-feature-split.is-style-card .lc-feature-split__media { flex: 0 0 400px; aspect-ratio: 4 / 3; }
:root .lc-feature-split.is-style-card .lc-feature-split__content { flex: 1 1 0; }
:root .lc-feature-split.is-style-card .lc-feature-split__content > .wp-block-lc-eyebrow + :is(h2,
:root h3,
:root h4) { margin-top: 20px; }
:root .lc-feature-split.is-style-card .lc-feature-split__content > :is(h2,
:root h3,
:root h4) + * { margin-top: 30px; }

@media (max-width: 1024px) {
	:root .lc-feature-split__inner { gap: 40px; }
	:root .lc-feature-split__media,
:root .lc-feature-split__content { flex: none; width: 100%; }
	:root .lc-feature-split__media { aspect-ratio: 4 / 3; }
	:root .lc-feature-split__content > :is(h2,
:root h3,
:root h4) + * { margin-top: 30px; }
	/* Stacked, the badge row's 720px flex-basis became the text column's HEIGHT
	   (≈500px of empty space under the link at 1024 — designer review 2026-11-12). */
	:root .lc-feature-split.is-style-badge .lc-feature-split__media,
	:root .lc-feature-split.is-style-badge .lc-feature-split__content { flex: none; }
	:root .lc-feature-split.is-style-badge .lc-feature-split__inner { gap: 40px; }
	:root .lc-feature-split.is-style-badge .lc-feature-split__caption { max-width: none; }
	:root .lc-feature-split.is-style-card .lc-feature-split__inner { padding: 24px calc(var(--lc-gutter-tablet) + 24px) 32px; }
	:root .lc-feature-split.is-style-card .lc-feature-split__inner::before { inset: 0 var(--lc-gutter-tablet); }
	:root .lc-feature-split.is-style-card .lc-feature-split__media { flex: none; }
}
@media (max-width: 767px) {
	:root .lc-feature-split.is-style-card .lc-feature-split__inner { padding: 20px calc(var(--lc-gutter-mobile) + 20px) 28px; }
	:root .lc-feature-split.is-style-card .lc-feature-split__inner::before { inset: 0 var(--lc-gutter-mobile); }
}

/* ── Interior hero: lc/hero-banner (no design — the homepage hero's type and
   overlay at a shorter height, design-log.md) ──────────────────────────── */
:root .lc-hero-banner__heading {
	font-family: var(--bs-heading);
	font-size: var(--wp--preset--font-size--h-1, 66px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.04em;
	text-shadow: 0 2px 20px rgba(9, 21, 31, .3);
}
:root .lc-hero-banner__description {
	max-width: 629px;
	font-size: var(--wp--preset--font-size--body, 18px);
	line-height: 1.6;
	letter-spacing: .01em;
	text-shadow: 0 2px 20px rgba(9, 21, 31, .3);
}

/* ── Callout: Brand/Dark heading, Brand/Primary rule, Primary button. ───── */
:root .lc-callout__heading {
	font-family: var(--bs-heading);
	font-size: var(--wp--preset--font-size--h-3, 38px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.04em;
	color: var(--bs-dark);
}
:root .lc-callout__divider { background-color: var(--bs-primary); border-color: var(--bs-primary); }
:root .lc-callout__button {
	padding: 16px 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	background-color: var(--bs-dark);
	background-image: linear-gradient(var(--bs-primary) 0 0);
	color: var(--bs-primary-light);
}
:root .lc-callout__button:hover { color: var(--bs-white); }
:root .lc-callout__button svg { display: none; }

/* ── Work With Us (Contact): no decorative heading bar; H2 heading. ──────── */
:root .lc-work-with-us__heading-accent { display: none; }
:root .lc-work-with-us__heading {
	font-size: var(--wp--preset--font-size--h-2, 52px);
	font-weight: 600;
	letter-spacing: -.04em;
	color: var(--bs-dark);
}
:root .lc-hero-banner__eyebrow { color: var(--bs-primary-light); }
}
