/* ============================================================================
   uplift.css — the Astro-era redesign layer (UI-UPLIFT.md, 2026-09-28).
   Hand-authored, loaded after wp-compat/tokens/theme; sync-theme.sh never
   touches it. It styles the NEW chrome (nld-* markup from the Astro
   components) and promotes cards/motion site-wide. entry-content styling
   still comes from theme.css; nothing here rewrites content rules, it only
   adds the redesign on top. All colors and type come from the preset tokens,
   so the per-site skin survives.
   ========================================================================= */

:root {
	--nld-shadow: 0 1px 2px rgba(28, 26, 21, 0.04), 0 10px 30px rgba(28, 26, 21, 0.07);
	--nld-shadow-lift: 0 2px 4px rgba(28, 26, 21, 0.05), 0 16px 40px rgba(28, 26, 21, 0.11);
	--nld-footer-ink: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	--nld-footer-dim: color-mix(in srgb, var(--wp--preset--color--base) 58%, transparent);
	--nld-footer-green: color-mix(in srgb, var(--tt-accent) 45%, #fff);
}

html { scroll-padding-top: 96px; }
/* short pages (search, 404): footer sits at the viewport bottom, not mid-air */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1 0 auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ------------------------------------------------------------- masthead */

.nld-masthead {
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in srgb, var(--wp--preset--color--base) 86%, transparent);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--tt-rule);
}
.nld-masthead-row {
	max-width: 1240px; margin: 0 auto;
	padding: 0.7rem clamp(1rem, 3vw, 2rem);
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nld-brand { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.nld-mark { line-height: 0; flex: 0 0 auto; }
.nld-mark img { height: 2.1rem; width: auto; display: block; }
.nld-site-title { margin: 0; font-family: var(--tt-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.nld-site-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.nld-site-title a:hover { color: var(--tt-accent); }

/* ----------------------------------------------------- grouped dropdown nav */

.nld-nav { position: relative; }
.nld-nav-row {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 0.15rem;
	font-family: var(--tt-ui); font-size: 0.92rem; font-weight: 600;
}
.nld-nav-row > li { position: relative; }
.nld-nav-toggle {
	display: inline-flex; align-items: center; gap: 0.4rem;
	background: none; border: none; cursor: pointer;
	font: inherit; color: var(--wp--preset--color--contrast);
	padding: 0.5rem 0.8rem; border-radius: 8px;
	transition: background 160ms ease, color 160ms ease;
}
.nld-nav-plain a {
	display: inline-block; padding: 0.5rem 0.8rem; border-radius: 8px;
	color: var(--wp--preset--color--contrast); text-decoration: none;
	transition: background 160ms ease, color 160ms ease;
}
.nld-nav-toggle:hover, .nld-nav-plain a:hover,
.nld-nav-group:hover > .nld-nav-toggle,
.nld-nav-group.open > .nld-nav-toggle,
.nld-nav-group:focus-within > .nld-nav-toggle {
	background: var(--wp--preset--color--accent-4); color: var(--tt-accent);
}
.nld-nav-group.is-active > .nld-nav-toggle,
.nld-nav-plain a[aria-current="page"] { color: var(--tt-accent); }
.nld-nav-group.is-active > .nld-nav-toggle::after {
	content: ""; position: absolute; left: 0.8rem; right: 1.9rem; bottom: 0.28rem;
	height: 2px; background: var(--tt-accent); border-radius: 2px;
}
.nld-chev { transition: transform 180ms ease; flex: 0 0 auto; }
.nld-nav-group:hover .nld-chev,
.nld-nav-group.open .nld-chev,
.nld-nav-group:focus-within .nld-chev { transform: rotate(180deg); }

.nld-nav-panel {
	list-style: none; margin: 0;
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 70;
	min-width: 250px; padding: 0.45rem;
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border);
	border-radius: calc(var(--tt-radius) + 2px); box-shadow: var(--nld-shadow-lift);
	opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
	transition: opacity 170ms ease, transform 170ms ease, visibility 0s linear 170ms;
}
.nld-nav-group:hover > .nld-nav-panel,
.nld-nav-group.open > .nld-nav-panel,
.nld-nav-group:focus-within > .nld-nav-panel {
	opacity: 1; visibility: visible; transform: none; pointer-events: auto;
	transition: opacity 170ms ease, transform 170ms ease, visibility 0s;
}
.nld-nav-panel li { margin: 0; }
.nld-nav-panel a {
	display: block; padding: 0.55rem 0.85rem; border-radius: 8px;
	color: var(--wp--preset--color--contrast); text-decoration: none;
	font-weight: 500; white-space: nowrap;
	transition: background 140ms ease, color 140ms ease;
}
.nld-nav-panel a:hover { background: var(--wp--preset--color--accent-4); color: var(--tt-accent); }
.nld-nav-panel a[aria-current="page"] { color: var(--tt-accent); font-weight: 600; }
/* a long group (Resources) runs two columns */
.nld-nav-panel.nld-panel-wide { min-width: 480px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.3rem; }

/* mobile */
.nld-nav-burger {
	display: none; background: none; border: 1px solid var(--tt-rule); border-radius: 8px;
	padding: 0.45rem 0.55rem; cursor: pointer; color: var(--wp--preset--color--contrast); line-height: 0;
}
.nld-nav-burger:hover { border-color: var(--tt-accent); color: var(--tt-accent); }
.nld-mobile {
	position: absolute; top: calc(100% + 1px); right: 0; left: auto; z-index: 70;
	display: none;
}
@media (max-width: 919px) {
	.nld-nav-row { display: none; }
	.nld-nav-burger { display: inline-flex; }
	.nld-nav { position: static; }
	.nld-mobile {
		display: block; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--wp--preset--color--base); border-bottom: 1px solid var(--tt-rule);
		box-shadow: var(--nld-shadow-lift);
		padding: 1.1rem clamp(1rem, 3vw, 2rem) 1.4rem;
		max-height: calc(100vh - 70px); overflow: auto;
	}
	.nld-mobile[hidden] { display: none; }
	.nld-mobile-group { padding: 0.5rem 0; }
	.nld-mobile-head {
		margin: 0 0 0.4rem; font-family: var(--tt-ui); font-size: 0.68rem; font-weight: 700;
		letter-spacing: 0.13em; text-transform: uppercase; color: var(--tt-accent);
	}
	.nld-mobile ul { list-style: none; margin: 0; padding: 0; }
	.nld-mobile li { margin: 0; }
	.nld-mobile a {
		display: block; padding: 0.5rem 0; color: var(--wp--preset--color--contrast);
		text-decoration: none; font-family: var(--tt-ui); font-size: 1rem;
	}
	.nld-mobile a:hover, .nld-mobile a[aria-current="page"] { color: var(--tt-accent); }
	.nld-mobile-plain { border-top: 1px solid var(--tt-rule); padding-top: 0.6rem; }
}
@media (min-width: 600px) and (max-width: 919px) {
	.nld-mobile { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
	.nld-mobile[hidden] { display: none; }
}

/* --------------------------------------------------------- dark trust footer */

.nld-footer {
	margin-top: clamp(3rem, 7vw, 5rem);
	background: var(--wp--preset--color--contrast);
	color: var(--nld-footer-ink);
}
.nld-footer-grid {
	max-width: 1240px; margin: 0 auto;
	padding: clamp(2.6rem, 5vw, 3.8rem) clamp(1rem, 3vw, 2rem) 0.5rem;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem 3rem;
}
.nld-footer-wordmark { margin: 0 0 0.9rem; font-family: var(--tt-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.nld-footer-wordmark a { text-decoration: none; }
.nld-wordmark-a { color: var(--wp--preset--color--base); }
.nld-wordmark-b { color: var(--nld-footer-green); }
.nld-footer-desc { margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.6; max-width: 36ch; color: var(--nld-footer-dim); }
.nld-footer-independence { margin: 0 0 1.2rem; font-size: 0.95rem; line-height: 1.6; max-width: 36ch; color: var(--nld-footer-ink); }
.nld-footer-verified {
	display: inline-block; margin: 0;
	border: 1px solid color-mix(in srgb, var(--nld-footer-green) 55%, transparent);
	color: var(--nld-footer-green); border-radius: 999px; padding: 0.35rem 0.95rem;
	font-family: var(--tt-ui); font-size: 0.72rem; font-weight: 700;
	letter-spacing: 0.11em; text-transform: uppercase;
}
.nld-footer-head {
	margin: 0.2rem 0 1rem; font-family: var(--tt-ui); font-size: 0.68rem; font-weight: 700;
	letter-spacing: 0.13em; text-transform: uppercase; color: var(--nld-footer-green);
}
.nld-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.nld-footer-col a { color: var(--nld-footer-ink); text-decoration: none; font-size: 0.95rem; transition: color 140ms ease; }
.nld-footer-col a:hover { color: var(--wp--preset--color--base); text-decoration: underline; text-underline-offset: 0.25em; }
.nld-footer-bottom {
	max-width: 1240px; margin: 2.2rem auto 0;
	padding: 1.2rem clamp(1rem, 3vw, 2rem) 1.6rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 14%, transparent);
	font-size: 0.78rem; color: var(--nld-footer-dim);
}
.nld-footer-bottom p { margin: 0; }
@media (max-width: 1023px) { .nld-footer-grid { grid-template-columns: 1fr 1fr; } .nld-footer-about { grid-column: 1 / -1; } }
@media (max-width: 600px) { .nld-footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------- soft cards, site-wide */

/* article/archive cards (.tt-cards markup unchanged; treatment promoted) */
.tt-cards .wp-block-post-template > li {
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-radius); overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.tt-cards .wp-block-post-template > li:hover {
	transform: translateY(-3px); box-shadow: var(--nld-shadow-lift);
	border-color: color-mix(in srgb, var(--tt-accent) 35%, var(--tt-card-border));
}
.tt-cards .wp-block-post-featured-image { border-radius: 0; }
.tt-cards .wp-block-post-template > li > .tt-kicker { margin: 1rem 1.15rem 0.35rem; }
.tt-cards .wp-block-post-template > li > .wp-block-post-title { margin: 0 1.15rem 0.4rem; }
.tt-cards .wp-block-post-template > li > .wp-block-post-excerpt { margin: 0 1.15rem 1.15rem; }
.tt-cards .wp-block-post-template > li > .tt-kicker:first-child { margin-top: 1.15rem; }

/* guide cards (homepage grid, reference row, band under posts, related) */
.tt-guides-list > li {
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border) !important;
	border-radius: var(--tt-radius); padding: 1.15rem 1.25rem 1.25rem !important;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.tt-guides-list > li:hover {
	transform: translateY(-3px); box-shadow: var(--nld-shadow-lift);
	border-color: color-mix(in srgb, var(--tt-accent) 35%, var(--tt-card-border)) !important;
}
.tt-guides-list { gap: 1.1rem !important; }
.tt-guides-list > li::before { position: static; margin-bottom: 0.55rem; }
.tt-guides-list > li:has(.tt-guide-img) { padding: 0 !important; overflow: hidden; }
.tt-guides-list > li:has(.tt-guide-img) .tt-guide-img { margin: 0; }
.tt-guides-list > li:has(.tt-guide-img) .tt-guide-body { padding: 1rem 1.25rem 1.25rem; }
.tt-guides-list > li:has(.tt-guide-img) .tt-guide-body::before { display: none; }
@media (max-width: 781px) { .tt-guides-list { gap: 1.1rem !important; } }

/* the homepage types band and the 8-card cost & coverage band: 4-up on desktop */
@media (min-width: 1024px) { :is(.tt-types, .tt-guides2) .tt-guides-list { grid-template-columns: repeat(4, 1fr); } }

/* about-page section cards pick up the radius */
.tt-sections a { border-radius: var(--tt-radius); border-top-width: 1px; }
.tt-sections a:hover { box-shadow: var(--nld-shadow); border-color: var(--tt-accent); }

/* pagination as chips */
.wp-block-query-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.1rem; height: 2.1rem; padding: 0 0.55rem; margin: 0 0.12rem;
	border: 1px solid var(--tt-rule); border-radius: 999px;
	font-family: var(--tt-ui); font-size: 0.88rem; text-decoration: none;
	transition: border-color 140ms ease, background 140ms ease;
}
.wp-block-query-pagination a.page-numbers:hover { border-color: var(--tt-accent); color: var(--tt-accent); }
.wp-block-query-pagination .page-numbers.current { background: var(--tt-accent); border-color: var(--tt-accent); color: var(--wp--preset--color--base); }
.wp-block-query-pagination .page-numbers.dots { border: none; min-width: auto; }
.wp-block-query-pagination-previous, .wp-block-query-pagination-next {
	font-family: var(--tt-ui); font-size: 0.88rem; font-weight: 600; text-decoration: none;
	border: 1px solid var(--tt-rule); border-radius: 999px; padding: 0.45rem 1.1rem;
	transition: border-color 140ms ease, color 140ms ease;
}
.wp-block-query-pagination-previous:hover, .wp-block-query-pagination-next:hover { border-color: var(--tt-accent); color: var(--tt-accent); }

/* ------------------------------------------------------------ scroll reveals */

html.js [data-animate] {
	opacity: 0; transform: translateY(16px);
	transition: opacity 520ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.6, 0.2, 1);
	will-change: opacity, transform;
}
html.js [data-animate].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html.js [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
	.nld-nav-panel, .nld-chev, .tt-cards .wp-block-post-template > li, .tt-guides-list > li { transition: none !important; }
	.tt-cards .wp-block-post-template > li:hover, .tt-guides-list > li:hover { transform: none; }
}

/* --------------------------------------------------- contextual jump bar */

.nld-jumpbar {
	position: fixed; left: 50%; bottom: 1rem; z-index: 50;
	transform: translate(-50%, 140%);
	display: none; align-items: center; gap: 0.5rem;
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
	border-radius: 999px; padding: 0.7rem 1.3rem; box-shadow: var(--nld-shadow-lift);
	font-family: var(--tt-ui); font-size: 0.88rem; font-weight: 600;
	text-decoration: none; white-space: nowrap;
	transition: transform 260ms ease;
}
.nld-jumpbar.show { transform: translate(-50%, 0); }
.nld-jumpbar svg { flex: 0 0 auto; }
@media (max-width: 919px) { .nld-jumpbar { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .nld-jumpbar { transition: none; } }

/* --------------------------------------------- chart-tables (BarList) */

.nld-barlist { margin: 1.6rem 0 2.4rem; background: var(--tt-card-bg); border: 1px solid var(--tt-card-border); border-radius: var(--tt-radius); padding: 1.2rem 1.4rem 1.3rem; }
.nld-barlist table { width: 100%; border-collapse: collapse; border: none; font-size: 0.95rem; }
.nld-barlist caption { text-align: left; font-family: var(--tt-ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tt-muted); padding-bottom: 0.8rem; }
.nld-barlist th, .nld-barlist td { border: none; background: none; text-align: left; padding: 0.45rem 1rem 0.45rem 0; vertical-align: middle; }
.nld-barlist th[scope="row"] { font-family: var(--tt-ui); font-weight: 600; font-size: 0.88rem; width: 34%; }
.nld-barlist td.nld-bar { width: 46%; }
.nld-barlist td:last-child { padding-right: 0; font-family: var(--tt-display); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.nld-bar-track { display: block; position: relative; height: 0.85rem; background: var(--wp--preset--color--accent-4); border-radius: 999px; overflow: hidden; }
.nld-bar-fill { display: block; position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; background: var(--tt-accent); min-width: 4px; }
.nld-bar-fill.nld-covered { background: var(--tt-covered); }
.nld-bar-fill.nld-limited { background: var(--tt-gold); }
.nld-bar-fill.nld-cash { background: var(--tt-cash); }
.nld-barlist .nld-note { font-family: var(--tt-ui); font-size: 0.78rem; color: var(--tt-muted); margin: 0.9rem 0 0; }
.nld-barlist .nld-note a { color: inherit; }
@media (max-width: 600px) {
	.nld-barlist th[scope="row"] { width: auto; font-size: 0.82rem; }
	.nld-barlist td:last-child { font-size: 0.95rem; }
}

/* --------------------------------------- band blocking (guide-template pages) */
/* The evergreen reference/guide pages read as alternating full-width sections
   (bands.mjs), not one long column: base / cream tint switching, one dark band
   for the official-resources CTA, centered numbered headings, and a jump row
   in place of the sticky TOC. */

.nld-bands { max-width: none !important; }
.nld-band { padding: clamp(2.8rem, 6vw, 4.6rem) clamp(1rem, 3vw, 2rem); }
.nld-band-intro { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.2rem, 4.5vw, 3.4rem); }
.nld-band-tint { background: var(--wp--preset--color--accent-4); border-top: 1px solid var(--tt-rule); border-bottom: 1px solid var(--tt-rule); }

.nld-band-inner { max-width: 1160px; margin-inline: auto; }
.nld-band-inner > * { max-width: 74ch; margin-left: auto; margin-right: auto; }
/* data objects run wide inside their band */
.nld-band-inner > :is(.tt-h3-grid, .tt-guides-list, .tt-two-up, .tt-facts, .tt-related-wrap,
	.nld-barlist, .wp-block-table, .tt-sections, .tt-widget, .tt-stats) { max-width: none; }
/* shrink-wrapped pills and chips center instead of hugging the band edge */
.nld-band-inner > .tt-updated, .nld-band-inner > .tt-source-chip { display: table; margin-left: auto; margin-right: auto; }

/* centered, numbered section headings */
.nld-band-inner > h2 {
	text-align: center; max-width: 30ch;
	font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.16; letter-spacing: -0.01em;
	margin: 0 auto 1.5rem; padding: 0; border: none;
}
.nld-band-inner > h2::before {
	content: attr(data-sec); display: block;
	font-family: var(--tt-mono); font-size: 0.72rem; font-weight: 400;
	letter-spacing: 0.16em; color: var(--tt-accent); margin: 0 0 0.7rem;
}
/* the intro paragraph carries a little more size, as the old lede rule did */
.nld-band-intro .nld-band-inner > p:not(.tt-facts-source):not(.tt-updated) { font-size: 1.09rem; line-height: 1.65; }

/* wide grids stay readable: min card width up from 240px so a band never
   packs four narrow columns of long text */
.nld-band-inner > .tt-h3-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* components sitting on the cream tint switch to white cards */
.nld-band-tint .tt-h3-card, .nld-band-tint .tt-note { background: var(--tt-card-bg); border: 1px solid var(--tt-card-border); }
.nld-band-tint .tt-h3-card { border-top: 3px solid var(--tt-accent); }
.nld-band-tint .tt-panel { background: var(--tt-card-bg); }
.nld-band-tint .tt-source-chip, .nld-band-tint .tt-chip { background: var(--wp--preset--color--base); }
.nld-band-tint .tt-sections a { background: var(--tt-card-bg); }

/* FAQ band: accordion rows become cards */
.nld-band-faq .tt-faq-accordion { border: none; }
.nld-band-faq .tt-faq-item {
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-radius); margin: 0 0 0.7rem; padding: 0.15rem 1.25rem;
	transition: border-color 160ms ease;
}
.nld-band-faq .tt-faq-item:last-child { border-bottom: 1px solid var(--tt-card-border); }
.nld-band-faq .tt-faq-item:hover { border-color: color-mix(in srgb, var(--tt-accent) 35%, var(--tt-card-border)); }
.nld-band-faq .tt-faq-answer { padding-bottom: 1.1rem; }

/* the official-resources CTA is the page's one dark moment: centered, with
   the resource links as a wrapped pill row */
.nld-band-cta { background: var(--wp--preset--color--contrast); color: var(--nld-footer-ink); }
.nld-band-cta .tt-cta { background: none; border: none; padding: 0; margin: 0; text-align: center; }
.nld-band-cta .nld-band-inner > .tt-cta { max-width: 58rem; }
.nld-band-cta .tt-cta .tt-kicker { color: var(--nld-footer-green); }
.nld-band-cta .tt-cta h2 { color: var(--wp--preset--color--base); max-width: 28ch !important; margin-left: auto !important; margin-right: auto !important; }
.nld-band-cta .tt-cta p { color: var(--nld-footer-dim); margin-left: auto; margin-right: auto; }
.nld-band-cta a { color: var(--wp--preset--color--base); }
.nld-band-cta .tt-cta .tt-cta-links { color: var(--wp--preset--color--base); justify-content: center; gap: 0.6rem; margin-top: 1.6rem; }
.nld-band-cta .tt-cta .tt-cta-links a {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 32%, transparent);
	border-radius: 999px; padding: 0.55rem 1.05rem;
	transition: border-color 150ms ease, color 150ms ease;
}
.nld-band-cta .tt-cta .tt-cta-links a:hover { border-color: var(--nld-footer-green); color: var(--nld-footer-green); }

/* the jump row: the TOC's replacement, under the guide hero */
.nld-jumprow { background: var(--wp--preset--color--base); border-bottom: 1px solid var(--tt-rule); max-width: none !important; }
.nld-jumprow-inner {
	max-width: 1240px; margin-inline: auto;
	padding: 0.6rem clamp(1rem, 3vw, 2rem);
	display: flex; align-items: center; gap: 0.3rem;
	overflow-x: auto; scrollbar-width: none;
}
.nld-jumprow-inner::-webkit-scrollbar { display: none; }
.nld-jumprow-label {
	flex: 0 0 auto; margin-right: 0.6rem;
	font-family: var(--tt-ui); font-size: 0.66rem; font-weight: 700;
	letter-spacing: 0.13em; text-transform: uppercase; color: var(--tt-muted);
}
.nld-jumprow a {
	flex: 0 0 auto; white-space: nowrap;
	font-family: var(--tt-ui); font-size: 0.84rem; font-weight: 500;
	color: var(--wp--preset--color--contrast); text-decoration: none;
	padding: 0.32rem 0.75rem; border-radius: 999px; border: 1px solid transparent;
	transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.nld-jumprow a:hover { background: var(--wp--preset--color--accent-4); border-color: var(--tt-rule); color: var(--tt-accent); }
@media (min-width: 920px) {
	.nld-jumprow-inner { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

/* -------------------------------------------------- hero schematic (SVG) */

/* theme.css keys the hero's two-column grid on `.tt-hero-img img`; the
   schematic is inline SVG, so restate the grid for it */
@media (min-width: 900px) {
	.tt-hero-inner:has(.nld-schematic) {
		display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 460px);
		gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
	}
	.tt-hero-inner:has(.nld-schematic) > * { max-width: none; }
}
.tt-hero-img svg { width: 100%; height: auto; display: block; }
.nld-schematic { margin: 0; max-width: 520px; }
@media (max-width: 899px) { .nld-schematic { margin: 0.5rem auto 0; } }

/* -------------------------------------------------------- small refinements */

/* hero stat cards get the lift the model sites give them */
.tt-hero-stats .tt-stat { box-shadow: var(--nld-shadow); }
a.tt-stat:hover { transform: translateY(-2px); box-shadow: var(--nld-shadow-lift); }
a.tt-stat { transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }

/* breadcrumbs on posts sit above the kicker, same mono treatment */
.tt-article .tt-crumbs { margin: 0 0 0.9rem; }

/* old mirrored-WP chrome rules in theme.css no longer have markup to bite on;
   the skip link is the one survivor and keeps its screen-reader behaviour */

/* ------------------------------------------------- practice finder (session 3) */
/* Register-based directory pages (src/pages/find-a-practice/): the map island,
   provider cards, register tables and the profile's register-facts list. */

.nld-map {
	height: clamp(320px, 48vw, 460px); border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-radius); overflow: hidden; background: var(--wp--preset--color--accent-4);
	position: relative; z-index: 0; /* Leaflet panes float above page chrome without this */
}
.nld-map-small { height: clamp(240px, 36vw, 320px); }
.nld-band-inner > .nld-map, .nld-band-inner > .nld-map + script { max-width: none; }
.nld-map-fallback {
	font-family: var(--tt-ui); font-size: 0.9rem; color: var(--tt-muted);
	padding: 2rem; text-align: center; margin: 0;
}
.nld-map-pop { font-family: var(--tt-ui); }
.nld-map-pop p { margin: 0 0 0.2rem; }
.nld-map-pop-name { font-weight: 700; font-size: 0.95rem; }
.nld-map-pop-kind { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tt-accent); }
.nld-map-pop-addr { font-size: 0.82rem; color: var(--tt-muted); }

/* the hub's who-does-what grid: four cards read as 2x2, not 3+1 */
.nld-finder .nld-band-inner > .tt-h3-grid { max-width: 56rem; }

/* specialist cards: white register cards, kind eyebrow, no counters */
.nld-band-inner > .nld-prov-grid { max-width: none; }
.nld-prov-grid {
	list-style: none; margin: 1.6rem 0 0; padding: 0;
	display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.nld-prov {
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border);
	border-top: 3px solid var(--tt-accent); border-radius: var(--tt-radius);
	padding: 1.15rem 1.3rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem;
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.nld-prov:hover { transform: translateY(-2px); box-shadow: var(--nld-shadow-lift); }
.nld-prov p { margin: 0; }
.nld-prov-kind {
	font-family: var(--tt-mono); font-size: 0.66rem; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--tt-accent);
}
.nld-prov-name { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.nld-prov-name a { text-decoration: none; color: inherit; }
.nld-prov-name a:hover { color: var(--tt-accent); }
.nld-prov-addr { font-size: 0.9rem; }
.nld-prov-meta { font-family: var(--tt-ui); font-size: 0.82rem; color: var(--tt-muted); }
.nld-prov-meta a { color: inherit; }
.nld-prov-more { margin-top: auto !important; padding-top: 0.45rem; font-family: var(--tt-ui); font-size: 0.85rem; font-weight: 600; }
.nld-prov-more a { text-decoration: none; }
.nld-prov-more a::after { content: " \2192"; }

/* register tables: long neutral lists stay readable; on phones the figure
   scrolls sideways instead of the fixed layout crushing every column */
.nld-finder-table { overflow-x: auto; }
.nld-finder-table table { font-size: 0.9rem; min-width: 640px; }
.nld-finder-table td, .nld-finder-table th { padding: 0.5rem 0.9rem; }
.nld-finder-table td:last-child { white-space: nowrap; }

/* the profile's register-facts list */
.nld-reg {
	margin: 1.2rem 0 0; background: var(--tt-card-bg);
	border: 1px solid var(--tt-card-border); border-radius: var(--tt-radius);
	padding: 0.4rem 1.4rem;
}
.nld-reg-row {
	display: grid; grid-template-columns: 200px 1fr; gap: 1rem;
	padding: 0.85rem 0; border-bottom: 1px solid var(--tt-rule);
}
.nld-reg-row:last-child { border-bottom: none; }
.nld-reg dt {
	font-family: var(--tt-ui); font-size: 0.78rem; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--tt-muted);
	padding-top: 0.15rem;
}
.nld-reg dd { margin: 0; font-size: 1rem; }
.nld-reg-note { display: block; font-family: var(--tt-ui); font-size: 0.82rem; color: var(--tt-muted); margin-top: 0.2rem; }
@media (max-width: 599px) {
	.nld-reg-row { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	.nld-prov { transition: none !important; }
	.nld-prov:hover { transform: none; }
}
