/**
 * Little Bear Pond — main stylesheet
 * ---------------------------------------------------------------------------
 * Hand-written, mobile-first, no framework, no build step.
 * Organized as: tokens, base, layout, components, page-specific, utilities,
 * responsive, motion & accessibility.
 * ---------------------------------------------------------------------------
 */

/* ===========================================================================
   1. DESIGN TOKENS
   =========================================================================== */
:root {
	/* Palette */
	--forest:        #1f3d2f;   /* primary — deep forest green */
	--forest-700:    #274a39;
	--forest-600:    #315a45;
	--ink:           #1c2530;   /* secondary — deep charcoal/navy */
	--ink-soft:      #37424f;
	--stone:         #f4f1ea;   /* warm off-white background */
	--stone-200:     #e9e3d6;   /* slightly deeper stone */
	--paper:         #faf8f3;   /* lightest paper */
	--bronze:        #9a6a3a;   /* muted bronze/gold accent */
	--bronze-600:    #855a30;
	--line:          rgba(28, 37, 48, 0.12);
	--line-strong:   rgba(28, 37, 48, 0.22);

	/* Text */
	--text:          #26303a;
	--text-muted:    #55606b;
	--text-on-dark:  #f3efe6;
	--text-on-dark-muted: rgba(243, 239, 230, 0.78);

	/* Typography */
	--font-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Rhythm */
	--container: 1200px;
	--container-narrow: 820px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section-y: clamp(3.5rem, 8vw, 7rem);
	--radius: 4px;
	--radius-lg: 10px;

	/* Shadows */
	--shadow-sm: 0 1px 2px rgba(28, 37, 48, 0.06), 0 2px 8px rgba(28, 37, 48, 0.06);
	--shadow-md: 0 6px 20px rgba(28, 37, 48, 0.10);
	--shadow-lg: 0 20px 50px rgba(28, 37, 48, 0.16);

	/* Motion */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--header-h: 76px;
}

/* ===========================================================================
   2. BASE / RESET
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--stone);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 0.6em;
	letter-spacing: -0.01em;
	font-optical-sizing: auto;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--forest-600); text-decoration-thickness: 1px; text-underline-offset: 2px; transition: color 0.2s var(--ease); }
a:hover { color: var(--bronze); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

blockquote { margin: 0 0 1.1em; padding-left: 1.1em; border-left: 3px solid var(--bronze); color: var(--text-muted); font-style: italic; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
	outline: 3px solid var(--bronze);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ===========================================================================
   3. LAYOUT PRIMITIVES
   =========================================================================== */
.lbp-container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.lbp-section { padding-block: var(--section-y); }
.lbp-section--stone { background: var(--stone-200); }
.lbp-section--forest { background: var(--forest); color: var(--text-on-dark); }
.lbp-section--forest h2, .lbp-section--forest h3 { color: var(--text-on-dark); }

.lbp-section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.lbp-section__title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: 0.4em; }
.lbp-section__title--light { color: var(--text-on-dark); }
.lbp-section__intro { color: var(--text-muted); font-size: 1.125rem; margin: 0; }
.lbp-section--forest .lbp-section__intro { color: var(--text-on-dark-muted); }
.lbp-section__more { margin-top: 2.25rem; }

/* ===========================================================================
   4. SHARED COMPONENTS
   =========================================================================== */

/* Eyebrow / kicker */
.lbp-eyebrow {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bronze);
	margin: 0 0 0.9rem;
}
.lbp-eyebrow--light { color: #d8b78a; }

/* Buttons */
.lbp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	padding: 0.9em 1.6em;
	border-radius: var(--radius);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.lbp-btn:hover { transform: translateY(-1px); }
.lbp-btn--primary { background: var(--forest); color: #fff; }
.lbp-btn--primary:hover { background: var(--forest-700); color: #fff; }
.lbp-btn--ghost { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.lbp-btn--ghost:hover { border-color: var(--forest); color: var(--forest); background: rgba(31, 61, 47, 0.05); }
.lbp-btn--on-dark { color: #fff; border-color: rgba(255,255,255,0.5); }
.lbp-btn--on-dark:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.lbp-btn--sm { padding: 0.62em 1.1em; font-size: 0.875rem; }
.lbp-btn--lg { padding: 1.05em 2.1em; font-size: 1rem; }

/* Arrow link */
.lbp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--forest);
}
.lbp-link-arrow::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.lbp-link-arrow:hover { color: var(--bronze); }
.lbp-link-arrow:hover::after { transform: translateX(4px); }

/* Skip link */
.lbp-skip-link {
	position: absolute;
	left: 8px; top: -60px;
	z-index: 1000;
	background: var(--forest);
	color: #fff;
	padding: 0.7em 1.1em;
	border-radius: var(--radius);
	text-decoration: none;
	transition: top 0.2s var(--ease);
}
.lbp-skip-link:focus { top: 8px; color: #fff; }

/* ===========================================================================
   5. HEADER / NAV
   =========================================================================== */
.lbp-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
	border-bottom: 1px solid transparent;
}
.lbp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
	gap: 1.5rem;
}

/* Overlay (transparent over hero) */
.lbp-header--overlay { background: transparent; }
.lbp-header--overlay .lbp-brand,
.lbp-header--overlay .lbp-menu a,
.lbp-header--overlay .lbp-nav-toggle { color: #fff; }
.lbp-header--overlay .lbp-menu a::after { background: #fff; }

/* Solid (default on inner pages + scrolled state) */
.lbp-header--solid,
.lbp-header.is-scrolled {
	background: var(--paper);
	border-bottom-color: var(--line);
	box-shadow: var(--shadow-sm);
}
.lbp-header.is-scrolled .lbp-brand,
.lbp-header.is-scrolled .lbp-menu a,
.lbp-header.is-scrolled .lbp-nav-toggle { color: var(--ink); }
.lbp-header.is-scrolled .lbp-menu a::after { background: var(--bronze); }

/* Brand */
.lbp-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--ink);
	font-family: var(--font-serif);
}
.lbp-logo-mark { width: 40px; height: 40px; flex: none; color: currentColor; }
.lbp-wordmark { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.lbp-custom-logo { max-height: 48px; width: auto; }

/* Nav */
.lbp-nav { display: flex; align-items: center; gap: 1.75rem; }
.lbp-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0; padding: 0;
}
.lbp-menu a {
	position: relative;
	color: var(--ink);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.4em 0;
}
.lbp-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 2px;
	background: var(--bronze);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease);
}
.lbp-menu a:hover::after,
.lbp-menu .current-menu-item > a::after { transform: scaleX(1); }
.lbp-menu .current-menu-item > a { color: var(--bronze); }

.lbp-nav__cta { display: none; }

/* Sub-menus */
.lbp-menu .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	list-style: none;
	margin: 0; padding: 0.5rem 0;
	opacity: 0; visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lbp-menu .menu-item-has-children { position: relative; }
.lbp-menu .menu-item-has-children:hover > .sub-menu,
.lbp-menu .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lbp-menu .sub-menu a { display: block; padding: 0.5rem 1.1rem; color: var(--ink); }
.lbp-menu .sub-menu a::after { display: none; }

/* Nav toggle (mobile) */
.lbp-nav-toggle {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	border: 0; background: transparent;
	cursor: pointer; color: var(--ink);
}
.lbp-nav-toggle__bar,
.lbp-nav-toggle__bar::before,
.lbp-nav-toggle__bar::after {
	content: "";
	position: absolute;
	left: 11px;
	width: 22px; height: 2px;
	background: currentColor;
	transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.lbp-nav-toggle__bar { top: 21px; }
.lbp-nav-toggle__bar::before { top: -7px; }
.lbp-nav-toggle__bar::after { top: 7px; }
.lbp-nav-toggle[aria-expanded="true"] .lbp-nav-toggle__bar { background: transparent; }
.lbp-nav-toggle[aria-expanded="true"] .lbp-nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.lbp-nav-toggle[aria-expanded="true"] .lbp-nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Main offset for non-front (solid header not overlaying content) */
.lbp-inner .lbp-main { padding-top: var(--header-h); }

/* ===========================================================================
   6. HERO
   =========================================================================== */
.lbp-hero {
	position: relative;
	min-height: min(92vh, 900px);
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
}
.lbp-hero__media { position: absolute; inset: 0; z-index: 0; }
.lbp-hero__img { width: 100%; height: 100%; object-fit: cover; }
.lbp-hero__scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 30, 24, 0.55) 0%, rgba(20, 30, 24, 0.25) 40%, rgba(20, 30, 24, 0.65) 100%),
		linear-gradient(90deg, rgba(20, 30, 24, 0.55) 0%, rgba(20, 30, 24, 0.05) 70%);
}
.lbp-hero__inner { position: relative; z-index: 1; padding-block: 8rem 4rem; max-width: 760px; }
.lbp-hero__title { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.06; margin-bottom: 0.5em; }
.lbp-hero__sub { color: rgba(255,255,255,0.9); font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 620px; margin-bottom: 2rem; }
.lbp-hero .lbp-eyebrow { color: #e8c79b; }
.lbp-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.lbp-hero__cta .lbp-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.lbp-hero__cta .lbp-btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ===========================================================================
   7. INTRO (who we are)
   =========================================================================== */
.lbp-intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.lbp-intro__lead .lbp-section__title { margin-bottom: 0; }
.lbp-intro__body { font-size: 1.125rem; color: var(--text-muted); }

/* ===========================================================================
   8. CARDS (focus / sectors)
   =========================================================================== */
.lbp-cards { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.lbp-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lbp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lbp-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-200); }
.lbp-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.lbp-card:hover .lbp-card__img { transform: scale(1.04); }
.lbp-card__body { padding: 1.5rem 1.6rem 1.75rem; }
.lbp-card__title { font-size: 1.35rem; margin-bottom: 0.4em; }
.lbp-card__copy { color: var(--text-muted); margin: 0; font-size: 0.98rem; }

/* ===========================================================================
   9. STEPS (5-step, homepage)
   =========================================================================== */
.lbp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.5rem; counter-reset: step; }
.lbp-step { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.lbp-step__num { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--bronze); font-weight: 600; margin-bottom: 0.6rem; }
.lbp-step__title { font-size: 1.3rem; margin-bottom: 0.3em; }
.lbp-step__copy { color: var(--text-muted); margin: 0; }

/* ===========================================================================
   10. VALUES
   =========================================================================== */
.lbp-values__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.lbp-value { padding-top: 1.5rem; border-top: 2px solid var(--bronze); }
.lbp-value__title { font-size: 1.3rem; margin-bottom: 0.4em; }
.lbp-value__copy { color: var(--text-muted); margin: 0; }

/* ===========================================================================
   11. BAND (image band with parallax)
   =========================================================================== */
.lbp-band {
	position: relative;
	overflow: hidden;
	color: #fff;
	display: flex;
	align-items: center;
	min-height: clamp(320px, 46vw, 560px);
}
.lbp-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; will-change: transform; }
.lbp-band__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,30,24,0.72) 0%, rgba(20,30,24,0.45) 60%, rgba(20,30,24,0.3) 100%); }
.lbp-band__inner { position: relative; z-index: 2; padding-block: 4rem; max-width: 640px; }
.lbp-band__title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.lbp-band__copy { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 1.5rem; }

/* ===========================================================================
   12. SPLIT (image + text, about/focus)
   =========================================================================== */
.lbp-split { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.lbp-split__img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; }
.lbp-split__text { font-size: 1.075rem; }

/* ===========================================================================
   13. CTA band
   =========================================================================== */
.lbp-cta { background: var(--forest); color: var(--text-on-dark); text-align: center; }
.lbp-cta__inner { max-width: 720px; margin-inline: auto; }
.lbp-cta__title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.lbp-cta__copy { color: var(--text-on-dark-muted); font-size: 1.15rem; margin-bottom: 2rem; }

/* ===========================================================================
   14. LEADERSHIP / TEAM
   =========================================================================== */
.lbp-team { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2rem); }
.lbp-team__card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
}
.lbp-team__avatar {
	flex: none;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--forest);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.lbp-team__initials { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }
.lbp-team__mark { width: 34px; height: 34px; color: #fff; }
.lbp-team__name { font-size: 1.25rem; margin-bottom: 0.15em; }
.lbp-team__role { color: var(--bronze); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; margin: 0 0 0.75em; }
.lbp-team__bio { color: var(--text-muted); margin: 0; font-size: 0.98rem; }

/* TODO / fill-in placeholders */
.lbp-todo {
	display: inline;
	color: var(--bronze-600);
	background: rgba(154, 106, 58, 0.08);
	border: 1px dashed rgba(154, 106, 58, 0.5);
	border-radius: 3px;
	padding: 0.05em 0.4em;
	font-style: italic;
	font-size: 0.95em;
}

/* ===========================================================================
   15. CRITERIA (forest section)
   =========================================================================== */
.lbp-criteria__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.25rem); }
.lbp-criteria__item { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.22); }
.lbp-criteria__title { color: #fff; font-size: 1.2rem; margin-bottom: 0.4em; }
.lbp-criteria__copy { color: var(--text-on-dark-muted); margin: 0; }

/* ===========================================================================
   16. PROCESS (approach page)
   =========================================================================== */
.lbp-process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lbp-process__item { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.lbp-process__item:last-child { border-bottom: 1px solid var(--line); }
.lbp-process__num { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--bronze); line-height: 1; }
.lbp-process__title { font-size: 1.4rem; margin-bottom: 0.35em; }
.lbp-process__text p { color: var(--text-muted); margin: 0; }

/* Pillars */
.lbp-pillars { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.lbp-pillar h2 { font-size: 1.4rem; }
.lbp-pillar p { color: var(--text-muted); margin: 0; }

/* ===========================================================================
   17. PAGE HEAD + PROSE + LEGAL
   =========================================================================== */
.lbp-page-head__title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 0.35em; }
.lbp-page-head__lead { font-size: 1.2rem; color: var(--text-muted); max-width: 720px; margin: 0; }

.lbp-content { max-width: var(--container-narrow); margin-inline: auto; }
.lbp-prose { font-size: 1.075rem; }
.lbp-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.lbp-prose h2:first-child { margin-top: 0; }
.lbp-prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.lbp-prose__hero { width: 100%; border-radius: var(--radius-lg); margin-bottom: 2rem; box-shadow: var(--shadow-md); }
.lbp-prose ul, .lbp-prose ol { color: var(--text); }
.lbp-prose li { margin-bottom: 0.5em; }

.lbp-legal { color: var(--text); }
.lbp-legal h2 { font-size: 1.35rem; }
.lbp-legal__note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.95rem; }

/* ===========================================================================
   18. CONTACT PAGE
   =========================================================================== */
.lbp-contact { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lbp-contact__heading { font-size: 1.5rem; margin-bottom: 1.25rem; }
.lbp-contact__dl { margin: 0; }
.lbp-contact__item { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.lbp-contact__item dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 0.25rem; }
.lbp-contact__item dd { margin: 0; color: var(--text); }
.lbp-contact__map { margin: 2rem 0 0; }
.lbp-contact__map-img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; }
.lbp-contact__map figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-muted); text-align: center; }

/* ===========================================================================
   19. FORMS
   =========================================================================== */
.lbp-form-wrap { max-width: 640px; }
.lbp-field-row { display: grid; grid-template-columns: 1fr; gap: 0 1.25rem; }
.lbp-field { margin-bottom: 1.25rem; }
.lbp-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--ink); }
.lbp-field .req { color: var(--bronze); }
.lbp-form input[type="text"],
.lbp-form input[type="email"],
.lbp-form input[type="tel"],
.lbp-form input[type="password"],
.lbp-form input[type="search"],
.lbp-form input[type="number"],
.lbp-form textarea,
.lbp-search__field {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--text);
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 0.75em 0.9em;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lbp-form input:focus,
.lbp-form textarea:focus,
.lbp-search__field:focus {
	outline: none;
	border-color: var(--forest);
	box-shadow: 0 0 0 3px rgba(31, 61, 47, 0.15);
}
.lbp-form textarea { resize: vertical; min-height: 150px; }
.lbp-field--submit { margin-top: 0.5rem; }
.lbp-form-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; }

/* Honeypot — visually and functionally hidden from humans */
.lbp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Alerts */
.lbp-alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; border: 1px solid; }
.lbp-alert p { margin: 0 0 0.4em; }
.lbp-alert p:last-child { margin-bottom: 0; }
.lbp-alert ul { margin: 0.4em 0 0; }
.lbp-alert--ok { background: rgba(31, 61, 47, 0.08); border-color: rgba(31, 61, 47, 0.3); color: var(--forest); }
.lbp-alert--error { background: rgba(154, 60, 40, 0.08); border-color: rgba(154, 60, 40, 0.35); color: #8a3a28; }

/* ===========================================================================
   20. BLOG / SEARCH / 404
   =========================================================================== */
.lbp-post-list { display: grid; gap: 2.5rem; }
.lbp-post-card { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.lbp-post-card__img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.lbp-post-card__title { font-size: 1.5rem; margin-bottom: 0.25em; }
.lbp-post-card__title a { text-decoration: none; color: var(--ink); }
.lbp-post-card__title a:hover { color: var(--bronze); }
.lbp-post-card__meta { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 0.75em; }
.lbp-post-card__excerpt { color: var(--text-muted); margin-bottom: 0.75em; }

.lbp-pagination { margin-top: 3rem; }
.lbp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lbp-pagination .page-numbers {
	display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center;
	padding: 0 0.75em; border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink);
}
.lbp-pagination .page-numbers.current { background: var(--forest); color: #fff; border-color: var(--forest); }
.lbp-pagination .page-numbers:hover:not(.current) { border-color: var(--forest); }

.lbp-empty { text-align: center; padding: 2rem 0; }
.lbp-searchform-inline { margin-bottom: 2.5rem; }

.lbp-404 { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.lbp-404__inner { max-width: 620px; margin-inline: auto; }
.lbp-404__title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.lbp-404__copy { color: var(--text-muted); font-size: 1.1rem; }
.lbp-404__search { max-width: 420px; margin: 2rem auto; }
.lbp-404__links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Search form */
.lbp-search__row { display: flex; gap: 0.5rem; }
.lbp-search__submit { flex: none; }

/* ===========================================================================
   21. FOOTER
   =========================================================================== */
.lbp-footer { background: var(--ink); color: var(--text-on-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.lbp-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.lbp-footer__mark { color: var(--bronze); margin-bottom: 0.75rem; }
.lbp-logo-mark--footer { width: 44px; height: 44px; }
.lbp-footer__name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: #fff; margin: 0 0 0.35em; }
.lbp-footer__tag { color: var(--text-on-dark-muted); font-size: 0.95rem; margin: 0; max-width: 30ch; }
.lbp-footer__heading { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bronze); margin: 0 0 1rem; font-family: var(--font-sans); }
.lbp-footer__menu, .lbp-footer__contact, .lbp-footer__social { list-style: none; margin: 0; padding: 0; }
.lbp-footer__menu li, .lbp-footer__contact li { margin-bottom: 0.6rem; }
.lbp-footer a { color: var(--text-on-dark-muted); text-decoration: none; }
.lbp-footer a:hover { color: #fff; }
.lbp-footer__social { display: flex; gap: 1.25rem; margin-top: 1rem; }
.lbp-footer__bar { padding-top: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.lbp-footer__legal, .lbp-footer__disclaimer { color: rgba(243,239,230,0.6); font-size: 0.85rem; margin: 0; }
.lbp-footer__disclaimer { max-width: 70ch; }

/* Footer widgets */
.widget-title { font-size: 1rem; color: #fff; }

/* ===========================================================================
   22. UTILITIES / A11Y
   =========================================================================== */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; color: var(--forest); clip: auto; clip-path: none;
	display: block; height: auto; width: auto; padding: 0.75em 1em;
	left: 8px; top: 8px; z-index: 1000; border-radius: var(--radius);
}

/* ===========================================================================
   23. SCROLL REVEAL
   =========================================================================== */
[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
/* If JS is off, never hide content. */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ===========================================================================
   24. RESPONSIVE
   =========================================================================== */
@media (min-width: 560px) {
	.lbp-field-row { grid-template-columns: 1fr 1fr; }
	.lbp-cards { grid-template-columns: repeat(2, 1fr); }
	.lbp-404__links { }
}

@media (min-width: 800px) {
	.lbp-intro__grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
	.lbp-values__grid { grid-template-columns: repeat(3, 1fr); }
	.lbp-criteria__grid { grid-template-columns: repeat(2, 1fr); }
	.lbp-pillars { grid-template-columns: repeat(3, 1fr); }
	.lbp-steps { grid-template-columns: 1fr; }
	.lbp-split { grid-template-columns: 1fr 1fr; }
	.lbp-split--reverse .lbp-split__media { order: 2; }
	.lbp-team { grid-template-columns: repeat(2, 1fr); }
	.lbp-contact { grid-template-columns: 1.15fr 0.85fr; }
	.lbp-post-card { grid-template-columns: 300px 1fr; }
}

@media (min-width: 1000px) {
	.lbp-cards { grid-template-columns: repeat(4, 1fr); }
	.lbp-cards--tall { grid-template-columns: repeat(2, 1fr); }
	.lbp-steps { grid-template-columns: repeat(5, 1fr); }
	.lbp-nav__cta { display: inline-flex; }
}

/* --- Mobile nav (below 900px) --- */
@media (max-width: 899px) {
	.lbp-nav-toggle { display: block; }
	.lbp-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		padding: 0.5rem 0 1.25rem;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s;
	}
	.lbp-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
	.lbp-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.lbp-menu a { display: block; padding: 0.9rem var(--gutter); color: var(--ink); border-bottom: 1px solid var(--line); }
	.lbp-menu a::after { display: none; }
	.lbp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; background: var(--stone-200); }
	.lbp-menu .sub-menu a { padding-left: calc(var(--gutter) + 1rem); }
	.lbp-nav__cta { display: inline-flex; margin: 1rem var(--gutter) 0; }
	/* Mobile nav panel is light regardless of header state */
	.lbp-header--overlay .lbp-menu a,
	.lbp-header.is-scrolled .lbp-menu a { color: var(--ink); }
}

/* ===========================================================================
   25. REDUCED MOTION
   =========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal] { opacity: 1 !important; transform: none !important; }
	.lbp-band__img { will-change: auto; }
}

/* ===========================================================================
   26. PORTAL, AUTH, ACCESS FORMS  (added for the member portal)
   =========================================================================== */

/* Header member-login link */
.lbp-nav__login { display: none; font-size: 0.9rem; font-weight: 500; text-decoration: none; color: inherit; opacity: 0.9; }
.lbp-nav__login:hover { opacity: 1; color: var(--bronze); }
@media (min-width: 1000px) { .lbp-nav__login { display: inline-flex; } }

/* Form sections + extra field types */
.lbp-form-section { font-size: 1.25rem; margin: 2rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.lbp-form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.lbp-field select {
	width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
	background: var(--paper); border: 1px solid var(--line-strong);
	border-radius: var(--radius); padding: 0.75em 0.9em;
}
.lbp-field-hint { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--text-muted); }
.lbp-field--check label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.lbp-field--check input[type="checkbox"] { margin-top: 0.25rem; width: 18px; height: 18px; flex: none; accent-color: var(--forest); }

/* NDA scroll box */
.lbp-nda-scroll {
	max-height: 280px; overflow-y: auto; border: 1px solid var(--line-strong);
	border-radius: var(--radius); background: var(--paper); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem;
}
.lbp-nda-scroll:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.lbp-nda h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
.lbp-nda__ver { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1em; }
.lbp-nda p { font-size: 0.95rem; color: var(--text-muted); }
.lbp-nda__note { margin-top: 1em; }

/* Auth cards (login + activate) */
.lbp-auth { display: flex; min-height: 60vh; align-items: center; }
.lbp-auth__inner { width: 100%; }
.lbp-auth__card {
	max-width: 460px; margin: 0 auto; background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md); padding: clamp(1.75rem, 4vw, 2.75rem); text-align: center;
}
.lbp-auth__brand { color: var(--forest); display: flex; justify-content: center; margin-bottom: 1rem; }
.lbp-auth__mark { width: 52px; height: 52px; }
.lbp-auth__title { font-size: 1.6rem; margin-bottom: 0.4em; }
.lbp-auth__sub { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1.5rem; }
.lbp-auth .lbp-form { text-align: left; }
.lbp-auth .lbp-btn { width: 100%; }
.lbp-auth__foot { margin-top: 1.5rem; font-size: 0.95rem; color: var(--text-muted); }
.lbp-auth__resend { margin-top: 0.75rem; }
.lbp-linkbtn { background: none; border: 0; color: var(--forest); font: inherit; font-size: 0.9rem; text-decoration: underline; cursor: pointer; padding: 0; }
.lbp-linkbtn:hover { color: var(--bronze); }
.lbp-otp-input { letter-spacing: 0.5em; font-size: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }

/* Portal header (forest band) + subnav */
.lbp-portal-head { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem,4vw,2.5rem); }
.lbp-portal-head__lead { color: var(--text-on-dark-muted); font-size: 1.15rem; max-width: 640px; margin: 0.5rem 0 0; }
.lbp-portal-head__who { color: var(--text-on-dark-muted); font-size: 0.85rem; margin-top: 1rem; opacity: 0.8; }
.lbp-portal-nav { background: var(--ink); position: sticky; top: 0; z-index: 40; }
.lbp-portal-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--container); }
.lbp-portal-nav a { display: inline-block; padding: 0.9rem 1rem; color: var(--text-on-dark-muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; border-bottom: 2px solid transparent; }
.lbp-portal-nav a:hover { color: #fff; }
.lbp-portal-nav a.is-current { color: #fff; border-bottom-color: var(--bronze); }
.lbp-portal-nav__out { margin-left: auto; }
.lbp-portal-nav__out a { color: #d8b78a; }

/* Portal dashboard cards */
.lbp-portal-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.lbp-portal-card {
	display: block; background: var(--paper); border: 1px solid var(--line);
	border-left: 4px solid var(--forest); border-radius: var(--radius-lg);
	padding: 1.75rem; text-decoration: none; color: inherit;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lbp-portal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-left-color: var(--bronze); }
.lbp-portal-card__title { font-size: 1.3rem; margin-bottom: 0.4em; }
.lbp-portal-card__copy { color: var(--text-muted); margin-bottom: 1em; }
.lbp-portal-note { max-width: 820px; padding: 1.5rem 1.75rem; background: rgba(154,106,58,0.06); border: 1px solid rgba(154,106,58,0.25); border-radius: var(--radius-lg); }
.lbp-portal-note h2 { font-size: 1.15rem; }
.lbp-portal-note p { margin: 0; color: var(--text-muted); }

/* Badges (admin + portal) */
.lbp-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2em 0.6em; border-radius: 100px; background: var(--stone-200); color: var(--ink); }
.lbp-badge--pending { background: #f3e2c4; color: #7a5a1e; }
.lbp-badge--approved { background: #d7e6d7; color: #285a3a; }
.lbp-badge--activated { background: #cfe3dd; color: #1f5145; }
.lbp-badge--declined { background: #eddad4; color: #8a3a28; }

/* Document list */
.lbp-doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 900px; }
.lbp-doc { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; }
.lbp-doc__title { font-size: 1.15rem; margin-bottom: 0.2em; }
.lbp-doc__desc { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 0.5em; }
.lbp-doc__meta { display: flex; gap: 0.6rem; align-items: center; margin: 0; }
.lbp-doc__ext { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; background: var(--forest); color: #fff; padding: 0.15em 0.5em; border-radius: 3px; }
.lbp-doc__size { font-size: 0.85rem; color: var(--text-muted); }
.lbp-doc__action { flex: none; }
.lbp-doc__pending { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

/* Private portfolio list */
.lbp-portfolio-list { display: grid; gap: 1.25rem; max-width: 900px; }
.lbp-portfolio-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.lbp-portfolio-item__head { display: flex; align-items: center; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.lbp-portfolio-item__name { font-size: 1.3rem; margin: 0; }
.lbp-portfolio-item__meta { color: var(--bronze); font-size: 0.9rem; font-weight: 600; margin: 0.35rem 0 0.75rem; }
.lbp-portfolio-item__summary { color: var(--text-muted); margin: 0; }

.lbp-team__contact { font-size: 0.9rem; color: var(--forest-600); margin: 0.5em 0 0; }

/* Responsive portal grids */
@media (min-width: 720px) {
	.lbp-portal-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ===========================================================================
   27. TIER BADGES, DANGER BUTTON, MANAGER AREA
   =========================================================================== */
.lbp-btn--danger { background: transparent; color: #8a3a28; border-color: rgba(138,58,40,0.4); }
.lbp-btn--danger:hover { background: rgba(138,58,40,0.08); border-color: #8a3a28; color: #8a3a28; }
.lbp-badge--tier { background: #e7ded0; color: #5b4a2f; }
.lbp-muted { color: var(--text-muted); }

/* Sub-tabs */
.lbp-subtabs { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
.lbp-subtabs a { padding: 0.6rem 1rem; text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.lbp-subtabs a:hover { color: var(--forest); }
.lbp-subtabs a.is-current { color: var(--forest); border-bottom-color: var(--bronze); }

/* Manager layout */
.lbp-manage-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.lbp-manage-h { font-size: 1.4rem; margin-bottom: 1rem; }
.lbp-manage-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.lbp-manage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.lbp-manage-item { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.lbp-manage-item .lbp-field { margin-bottom: 0.75rem; }
.lbp-manage-item input[type="text"], .lbp-manage-item textarea { width: 100%; font-family: inherit; font-size: 0.95rem; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.5em 0.7em; background: #fff; }
.lbp-manage-item label { font-weight: 600; font-size: 0.85rem; display: block; }
.lbp-manage-item select { padding: 0.5em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.lbp-manage-fileinfo { font-size: 0.85rem; color: var(--text-muted); margin: 0.5rem 0; }
.lbp-manage-delform { position: absolute; top: 1.25rem; right: 1.25rem; }

/* Members table */
.lbp-table-wrap { overflow-x: auto; }
.lbp-manage-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.lbp-manage-table th, .lbp-manage-table td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lbp-manage-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); background: var(--stone-200); }
.lbp-manage-table tr:last-child td { border-bottom: 0; }
.lbp-inline-form { display: inline-flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin: 0; }
.lbp-inline-form select { padding: 0.4em 0.5em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.lbp-request-card h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
.lbp-request-card p { margin: 0 0 0.5em; font-size: 0.95rem; }
.lbp-manage-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 0.5rem; }

@media (min-width: 900px) {
	.lbp-manage-grid { grid-template-columns: 1.6fr 1fr; }
}
