/* ==========================================================================
   Home (design 01), tools hub (04), sticky guide bar. Mobile-first.
   ========================================================================== */
.le-only-d { display: none !important; } .le-only-m { display: inline; }
@media (min-width: 1024px) { .le-only-d { display: inline !important; } .le-only-m { display: none !important; } }
.le-h2 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.le-sub { font-size: 14.5px; color: var(--juniper-ink-soft); margin: 0 0 16px; }
.le-sub-d { display: none; }
.le-link-strong { font-size: 13.5px; font-weight: 700; color: var(--juniper-lilac-deep); display: inline-block; padding: 10px 0; margin: -10px 0; }   /* tap height without moving layout */
.le-mono { font-family: var(--juniper-font-mono); }
@media (min-width: 1024px) { .le-h2 { font-size: 28px; margin-bottom: 6px; } .le-sub { font-size: 16px; } .le-sub-m { display: none; } .le-sub-d { display: block; } .le-link-strong { font-size: 15px; } }

/* hero */
.le-hero { background: var(--juniper-gradient-soft); padding: 24px 0 26px; }
.le-hero .juniper-eyebrow { margin-bottom: 10px; }
.le-hero-title { font-size: 31px; line-height: 1.13; margin: 0 0 12px; color: var(--juniper-ink); }
.le-hero-dek { font-size: 15.5px; line-height: 1.6; color: var(--juniper-ink-soft); margin: 0 0 18px; }
.le-hero-dek-d { display: none; }
.le-hero-row { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 18px; }

.le-hero-ctas { width: 100%; }
.le-book-cover { width: 112px; height: 168px; border-radius: 6px 12px 12px 6px; background: var(--juniper-surface); box-shadow: var(--juniper-shadow-lifted); border: 1px solid var(--juniper-hairline); display: flex; align-items: center; justify-content: center; flex-shrink: 0; text-align: center; }
.le-book-cover-img { background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; width: auto; height: auto; }
.le-book-cover-img img { width: 112px; height: auto; display: block; filter: drop-shadow(0 12px 22px rgba(70,57,88,0.20)); }   /* design: irregular shape → drop-shadow, never box-shadow */
.le-book-cover .le-mono { font-size: 9.5px; letter-spacing: 0.08em; color: var(--juniper-ink-soft); line-height: 1.5; }
.le-hero-ctas { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.le-hero-ctas .le-btn { width: 100%; font-size: 15.5px; padding: 14px 10px; }
.le-cta-guide-d { display: none !important; }
.le-hero-cover-d { display: none; }
.le-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.le-hero-stars { display: flex; justify-content: center; margin-bottom: 4px; }
.le-stars { display: inline-flex; gap: 2px; line-height: 0; }
.le-hero-reviews { border-top: 1px solid var(--juniper-hairline); padding-top: 22px; }
.le-review-quote { font-family: var(--juniper-font-serif); font-size: 16px; line-height: 1.45; color: var(--juniper-ink); margin: 8px 0 6px; }
.le-review-source { font-family: var(--juniper-font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--juniper-neutral); }
.le-chips li { font-family: var(--juniper-font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--juniper-ink-soft); background: var(--juniper-surface); border-radius: 999px; padding: 7px 12px; }
@media (min-width: 1024px) {
	.le-hero { padding: 56px 0 52px; }
	.le-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
	.le-hero .juniper-eyebrow { margin-bottom: 14px; }
	.le-hero-title { font-size: 50px; line-height: 1.08; margin-bottom: 18px; }
	.le-hero-dek { font-size: 18px; margin-bottom: 26px; max-width: 520px; } .le-hero-dek-m { display: none; } .le-hero-dek-d { display: block; }
	.le-hero-row { margin-bottom: 26px; } .le-hero-row > .le-book-cover { display: none; }
	.le-hero-ctas { flex-direction: row; gap: 12px; } .le-hero-ctas .le-btn { width: auto; font-size: 16px; padding: 15px 28px; }
	.le-cta-guide-m { display: none !important; } .le-cta-guide-d { display: inline-flex !important; }
	.le-hero-cover-d { display: flex; justify-content: center; }
	.le-hero-cover-d .le-book-cover-img img { width: 252px; filter: drop-shadow(0 18px 32px rgba(70,57,88,0.22)); }
	.le-hero-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 560px; padding-top: 22px; }
	.le-hero-row > .le-book-cover-img { display: none; }
	.le-book-cover-lg { width: 250px; height: 376px; border-radius: 8px 18px 18px 8px; } .le-book-cover-lg .le-mono { font-size: 11px; line-height: 1.6; }
	.le-hero-stars { display: none; }   /* desktop: the star row lives inside each review */
.le-stars { display: inline-flex; gap: 2px; line-height: 0; }
.le-hero-reviews { border-top: 1px solid var(--juniper-hairline); padding-top: 22px; }
.le-review-quote { font-family: var(--juniper-font-serif); font-size: 16px; line-height: 1.45; color: var(--juniper-ink); margin: 8px 0 6px; }
.le-review-source { font-family: var(--juniper-font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--juniper-neutral); }
.le-chips li { font-size: 10.5px; padding: 8px 14px; }
}

/* stages */
.le-stages { padding: 28px 0 24px; }
.le-stage-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.le-stage-card { display: flex; flex-direction: column; background: var(--juniper-surface); border-radius: 18px; padding: 16px 15px; box-shadow: var(--juniper-shadow-soft); min-height: 118px; color: var(--juniper-ink); height: 100%; }
.le-stage-glyph { width: 28px; height: 28px; border-radius: 8px; background: var(--juniper-tint-orchid); margin-bottom: 10px; }
.le-stage-title { font-size: 15px; font-weight: 700; line-height: 1.25; margin-bottom: 5px; }
.le-stage-meta { font-size: 12.5px; line-height: 1.4; color: var(--juniper-ink-soft); }
@media (min-width: 1024px) {
	.le-stages { padding: 52px 0 46px; }
	.le-stage-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
	.le-stage-card { border-radius: 20px; padding: 22px; min-height: 0; }
	.le-stage-glyph { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 16px; }
	.le-stage-title { font-size: 18px; margin-bottom: 7px; } .le-stage-meta { font-size: 14px; line-height: 1.5; }
}

/* tools */
.le-tools { padding: 6px 0 26px; }
.le-tools .le-wrap { padding-left: 0; padding-right: 0; }
.le-tools-panel { padding: 0; }
.le-tools-head { display: flex; align-items: baseline; gap: 8px; padding: 0 18px 4px; }
.le-tools-eyebrow { display: none; }
.le-tools-head .le-link-strong { display: none; }
.le-tools-all-m { display: inline-block; margin: 14px 18px 0; font-size: 14px; }   /* mobile route to the hub (Bobby 2026-08-17): the design's rail had no link out; the desktop head link stays hidden on mobile */
.le-tools-swipe { margin-left: auto; font-size: 10.5px; letter-spacing: 0.06em; color: var(--juniper-ink-soft); text-transform: uppercase; }
.le-tools-dek { padding: 0 18px; margin-bottom: 14px; }
.le-tools-rail { list-style: none; margin: 0; padding: 0 18px 4px; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.le-tools-rail > li { scroll-snap-align: start; }
.le-tools-rail::-webkit-scrollbar { display: none; }
.le-tool-card { flex: 0 0 186px; scroll-snap-align: start; }
.le-tool-card-dplus { display: none; }
.le-tool-card a { display: flex; flex-direction: column; height: 100%; background: var(--juniper-surface); border-radius: 18px; padding: 16px; box-shadow: var(--juniper-shadow-soft); color: var(--juniper-ink); }
.le-tool-card .le-tool-glyph { margin-bottom: 12px; }
.le-tool-card-name { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.le-tool-card-blurb { display: block; font-size: 12.5px; line-height: 1.45; color: var(--juniper-ink-soft); margin-bottom: 12px; }
.le-tool-card-open { font-size: 13px; font-weight: 700; color: var(--juniper-lilac-deep); margin-top: auto; }
@media (min-width: 1024px) {
	.le-tools { padding: 0 0 52px; } .le-tools .le-wrap { padding-left: 40px; padding-right: 40px; }
	.le-tools-panel { background: var(--juniper-surface-alt); border-radius: 28px; padding: 34px 34px 36px; }
	.le-tools-head { padding: 0; align-items: flex-end; margin-bottom: 22px; }
	.le-tools-eyebrow { display: block; margin-bottom: 8px; } .le-tools-head .le-link-strong { display: inline; margin-left: auto; } .le-tools-swipe { display: none; } .le-tools-all-m { display: none; }
	.le-tools-dek { display: none; }
	.le-tools-rail { padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; }
	.le-tool-card-mobile-only { display: none; }   /* desktop shows six; the link says 'See all 7' */
	.le-tool-card { flex: none; } .le-tool-card-dplus { display: block; }
	.le-tool-card a { flex-direction: row; gap: 14px; align-items: flex-start; padding: 20px; }
	.le-tool-card .le-tool-glyph { margin: 0; }
	.le-tool-card-name { font-size: 16px; line-height: 1.3; margin-bottom: 5px; } .le-tool-card-blurb { font-size: 13.5px; margin: 0; }
	.le-tool-card-open { display: none; }
}

/* authority band */
.le-authority { background: var(--juniper-soft-rose); padding: 26px 0; }
.le-authority-grid { display: block; }
.le-authority-portrait { width: 66px; height: 66px; border-radius: 999px; object-fit: cover; float: left; margin: 0 14px 12px 0; }
.le-authority-who { padding-top: 6px; }
.le-authority-name { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.le-authority-line { font-size: 13px; color: var(--juniper-ink-soft); line-height: 1.4; }
.le-authority-quote { clear: both; font-size: 19px; line-height: 1.4; margin: 14px 0; color: var(--juniper-ink); }
.le-authority-text .juniper-eyebrow { margin-bottom: 4px; }
.le-authority-ctas { display: none; }
@media (min-width: 1024px) {
	.le-authority { padding: 48px 0; }
	.le-authority-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
	.le-authority-portrait { float: none; width: 132px; height: 132px; margin: 0; }
	.le-authority-text .juniper-eyebrow { margin-bottom: 10px; }
	.le-authority-quote { font-size: 26px; line-height: 1.35; margin: 0 0 12px; max-width: 640px; }
	.le-authority-line { font-size: 15px; }
	.le-authority-ctas { display: flex !important; flex-direction: column; gap: 10px; }
}

/* latest */
.le-latest { padding: 28px 0 8px; }
.le-latest-head { display: flex; align-items: baseline; margin-bottom: 16px; }
.le-latest-head .le-link-strong { margin-left: auto; }
.le-latest-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.le-latest-card a { display: block; background: var(--juniper-surface); border-radius: 18px; overflow: hidden; box-shadow: var(--juniper-shadow-soft); color: var(--juniper-ink); height: 100%; }
.le-latest-thumb { display: block; height: 170px; background: var(--juniper-surface-alt); }
.le-latest-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.le-latest-text { display: block; padding: 15px 16px 17px; }
.le-latest-text .juniper-eyebrow { display: block; margin-bottom: 8px; }
.le-latest-title { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.le-latest-dek { display: block; font-size: 14px; line-height: 1.55; color: var(--juniper-ink-soft); margin-bottom: 12px; }
.le-latest-meta { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--juniper-ink-soft); }
@media (min-width: 1024px) {
	.le-latest { padding: 0 0 54px; } .le-latest-head { margin-bottom: 22px; align-items: flex-end; }
	.le-latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
	.le-latest-card a { border-radius: 20px; } .le-latest-thumb { height: 186px; } .le-latest-text { padding: 20px 20px 22px; }
	.le-latest-title { font-size: 19px; margin-bottom: 9px; } .le-latest-dek { font-size: 14.5px; margin-bottom: 14px; }
}

/* newsletter */
.le-newsletter { padding: 26px 0 30px; }
.le-news-card { background: var(--juniper-surface); border-radius: 22px; padding: 22px 18px; box-shadow: var(--juniper-shadow-soft); }
.le-news-lead { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.le-news-orb { width: 44px; height: 44px; flex-shrink: 0; }
.le-news-title { font-size: 19px; margin: 0 0 6px; }
.le-news-dek { font-size: 14.5px; line-height: 1.55; color: var(--juniper-ink-soft); margin: 0; }
.le-news-form .mc4wp-form-fields { display: flex; flex-direction: column; gap: 9px; }
.le-news-form .mc4wp-form input[type=email], .le-news-form .mc4wp-form input[type=text] { width: 100%; border: 1px solid var(--juniper-hairline); border-radius: 999px; padding: 13px 16px; font: inherit; font-size: 15px; background: var(--juniper-surface); color: var(--juniper-ink); }
.le-news-form .mc4wp-form input[type=submit], .le-news-form .mc4wp-form button[type=submit] { width: 100%; border: 0; border-radius: 999px; background: var(--juniper-lilac); color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; padding: 14px; cursor: pointer; }
.le-news-form .mc4wp-form label { display: none; }
.le-news-form .mc4wp-form input[type=submit]:hover { background: var(--juniper-lilac-deep); }
.le-news-form form.mc4wp-form { background: transparent; padding: 0; margin: 0; }
.le-news-form image, .le-news-form img { display: none; }   /* form 657's legacy logo tag */
@media (min-width: 1024px) {
	.le-newsletter { padding: 52px 0 56px; }
	.le-news-card { border-radius: 28px; padding: 36px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.le-news-lead { margin: 0; gap: 18px; } .le-news-orb { width: 56px; height: 56px; }
	.le-news-title { font-size: 24px; margin-bottom: 8px; } .le-news-dek { font-size: 15.5px; }
	.le-news-form .mc4wp-form-fields { flex-direction: row; gap: 10px; }
	.le-news-form .mc4wp-form input[type=email], .le-news-form .mc4wp-form input[type=text] { flex: 1 1 0; min-width: 0; width: auto; padding: 14px 20px; font-size: 15.5px; }
	.le-news-form .mc4wp-form input[type=submit], .le-news-form .mc4wp-form button[type=submit] { width: auto; padding: 14px 26px; white-space: nowrap; }
}

/* sticky guide bar (mobile) */
.le-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--juniper-surface); border-top: 1px solid var(--juniper-hairline); box-shadow: 0 -6px 20px rgba(42,31,82,0.06); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.le-sticky[hidden] { display: none; }
.le-sticky-text { flex: 1; min-width: 0; }
.le-sticky-title { font-size: 14px; font-weight: 700; color: var(--juniper-ink); line-height: 1.25; }
.le-sticky-sub { font-size: 12px; color: var(--juniper-ink-soft); }
.le-sticky-cta { font-size: 14px; padding: 12px 18px; }
.le-sticky-close { background: none; border: 0; padding: 0; width: 44px; height: 44px; margin: -8px -10px -8px -4px; align-items: center; justify-content: center; color: var(--juniper-ink-soft); cursor: pointer; display: inline-flex; }
.le-sticky-sentinel { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
html.le-sticky-on body { padding-bottom: 72px; }
@media (min-width: 768px) { .le-sticky, .le-sticky-sentinel { display: none !important; } }

/* tools hub */
.le-hub-grid { list-style: none; margin: 0; padding: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.le-hub-card a { display: block; background: var(--juniper-surface); border-radius: 20px; padding: 18px; box-shadow: var(--juniper-shadow-soft); color: var(--juniper-ink); height: 100%; }
.le-hub-card-top { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 12px; }
.le-hub-card-name { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.3; margin-bottom: 5px; }
.le-hub-card-blurb { display: block; font-size: 13.5px; line-height: 1.5; color: var(--juniper-ink-soft); }
.le-hub-card-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--juniper-hairline); }
.le-hub-card-foot .le-mono { flex: 1; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--juniper-ink-soft); }
.le-hub-card-open { font-size: 13.5px; font-weight: 700; color: var(--juniper-lilac-deep); }
.le-hub-body { padding: 10px 18px 40px; }
@media (min-width: 1024px) {
	.le-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 44px 0 52px; }
	.le-hub-grid > li:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }   /* 7 tools in 3 columns: the last card spans the row instead of sitting alone */
	.le-hub-grid > li:last-child:nth-child(3n + 1) .le-hub-card { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
	.le-hub-grid > li:last-child:nth-child(3n + 1) .le-hub-card-top { flex-direction: row; align-items: center; margin: 0; }
	.le-hub-grid > li:last-child:nth-child(3n + 1) .le-hub-card-foot { border: 0; padding: 0; min-width: 280px; }
	.le-hub-card a { padding: 24px; display: flex; flex-direction: column; }
	.le-hub-card-top { flex-direction: column; gap: 16px; margin-bottom: 20px; }

	.le-hub-card-name { font-size: 18px; margin-bottom: 8px; } .le-hub-card-blurb { font-size: 14.5px; line-height: 1.55; }
	.le-hub-card-foot { margin-top: auto; padding-top: 16px; }
}
