/* ============================================================================
   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; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* a long site name on a phone shrinks instead of painting over the menu button (straightenmysmileohio.com at 390px,
   found by the QA contact sheet 2026-10-01) */
@media (max-width: 480px) { .nld-site-title { font-size: clamp(0.95rem, 4.4vw, 1.28rem); } }
.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; }
/* label-as-link groups (session 5): the label is a real link, the chevron is
   the touch/keyboard toggle; the pair reads and highlights as one unit */
.nld-nav-pair {
	display: inline-flex; align-items: stretch; border-radius: 8px;
	transition: background 160ms ease;
}
.nld-nav-label {
	display: inline-flex; align-items: center;
	padding: 0.5rem 0.15rem 0.5rem 0.8rem; border-radius: 8px 0 0 8px;
	color: var(--wp--preset--color--contrast); text-decoration: none;
	transition: color 160ms ease;
}
.nld-nav-toggle {
	display: inline-flex; align-items: center;
	background: none; border: none; cursor: pointer;
	font: inherit; color: inherit;
	padding: 0.5rem 0.6rem 0.5rem 0.3rem; border-radius: 0 8px 8px 0;
}
.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-plain a:hover,
.nld-nav-group:hover > .nld-nav-pair,
.nld-nav-group.open > .nld-nav-pair,
.nld-nav-group:focus-within > .nld-nav-pair {
	background: var(--wp--preset--color--accent-4);
}
.nld-nav-plain a:hover,
.nld-nav-group:hover > .nld-nav-pair .nld-nav-label,
.nld-nav-group:hover > .nld-nav-pair .nld-nav-toggle,
.nld-nav-group.open > .nld-nav-pair .nld-nav-label,
.nld-nav-group:focus-within > .nld-nav-pair .nld-nav-label { color: var(--tt-accent); }
.nld-nav-group.is-active .nld-nav-label,
.nld-nav-plain a[aria-current="page"] { color: var(--tt-accent); }
.nld-nav-group.is-active > .nld-nav-pair { position: relative; }
.nld-nav-group.is-active > .nld-nav-pair::after {
	content: ""; position: absolute; left: 0.8rem; right: 1.5rem; 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;
	/* ~120ms close grace so the pointer can cross to the panel without flicker */
	transition: opacity 160ms ease 120ms, transform 160ms ease 120ms, visibility 0s linear 280ms;
}
/* hover bridge across the 6px gap between toggle and panel */
.nld-nav-panel::before {
	content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.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;
}
/* the mobile group head is now the group's link */
.nld-mobile-head a { color: inherit; text-decoration: none; }
.nld-mobile-head a:hover { color: var(--tt-accent); }
.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);
}
/* one row of columns: the about cell plus every link column (the config's `footer.columns` + Site). Footer.astro
   sets --nld-footer-cols to that count, so four link columns no longer wrap two of them onto a second row
   (straightenmysmileohio.com, 2026-10-01, Zach: "footer will need some love in terms of condensing") */
.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 repeat(var(--nld-footer-cols, 3), minmax(0, 1fr)); gap: 2.5rem clamp(1.6rem, 3vw, 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; }
/* the state column runs two columns once the finder covers more states than
   the other columns have rows (18 states, 2026-09-29) */
/* the states as a grid of postal codes (2026-09-29, Zach: "condense these
   states"); the full name is the tooltip and accessible label */
.nld-footer-states { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.3rem 0.35rem; margin-top: 0.8rem !important; }
.nld-footer-states li { margin: 0; }
.nld-footer-states a {
	display: block; text-align: center; font-family: var(--tt-ui); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
	padding: 0.28rem 0; border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 16%, transparent); border-radius: 5px;
}
.nld-footer-states a:hover { text-decoration: none; border-color: var(--nld-footer-green); color: var(--nld-footer-green); }
.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, .tt-cards,
	.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) */

/* the hero kicker wraps on a phone; theme.css sets its line-height to 1 and underlines with a 0.5em offset, so line one's
   underline ran through line two (2026-10-01) */
.tt-hero .tt-kicker { line-height: 1.7; }

/* 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), .tt-hero-inner:has(.nld-hero-logo) {
		display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 460px);
		gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
	}
	/* the mark is at most 360px wide, so its column need not be 460: the copy column takes the room, and the hero
	   search bar and three pills fit on one line each (straightenmysmileohio.com, 2026-10-01, Zach: "a little jumbled") */
	.tt-hero-inner:has(.nld-hero-logo) { grid-template-columns: minmax(0, 1fr) minmax(240px, 400px); }
	.tt-hero-inner:has(.nld-schematic) > *, .tt-hero-inner:has(.nld-hero-logo) > * { 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; }
}

/* ==================================================================== */
/* Session 5 (NEXT-STEPS.md §10): design elevation + finder map v2.     */
/* ==================================================================== */

/* ---------------------------------------------- site-wide refinements */

/* data reads as data: tabular numerals on every content table */
.entry-content table { font-variant-numeric: tabular-nums; }

/* register tables: sticky header under the masthead at desktop (the
   overflow-x scroll container would defeat sticky, so desktop only) */
@media (min-width: 920px) {
	.entry-content .nld-finder-table { overflow-x: visible; }
	.entry-content .nld-finder-table thead th {
		position: sticky; top: 62px; z-index: 5;
		background: var(--tt-card-bg);
		box-shadow: 0 1px 0 var(--tt-rule);
	}
	.nld-band-tint .nld-finder-table thead th { background: var(--tt-card-bg); }
}
/* phone numbers never wrap mid-number */
.nld-finder-table td:nth-child(3) { white-space: nowrap; }

/* the shared icon set */
.nld-i { flex: 0 0 auto; }

/* button hierarchy: primary / secondary / ghost action buttons */
.nld-btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--tt-ui); font-size: 0.9rem; font-weight: 600;
	text-decoration: none; border-radius: 999px; padding: 0.6rem 1.15rem;
	border: 1px solid transparent; white-space: nowrap;
	transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.nld-btn:hover { transform: translateY(-1px); }
.nld-btn-primary { background: var(--tt-accent); color: var(--wp--preset--color--base); }
.nld-btn-primary:hover { background: color-mix(in srgb, var(--tt-accent) 86%, #000); color: var(--wp--preset--color--base); }
.nld-btn-secondary { border-color: var(--tt-rule); color: var(--wp--preset--color--contrast); background: var(--tt-card-bg); }
.nld-btn-secondary:hover { border-color: var(--tt-accent); color: var(--tt-accent); }
.nld-btn-ghost { color: var(--wp--preset--color--contrast); border-color: transparent; }
.nld-btn-ghost:hover { color: var(--tt-accent); }

/* ------------------------------------- finder pages: left-aligned heads */
/* The centered numbered heading stays the guide pages' look; the finder
   drops the number for a left-aligned head with a short accent rule. */

.nld-finder .nld-band-inner > * { margin-left: 0; }
.nld-finder .nld-band-inner > h2 {
	text-align: left; margin: 0 0 1.4rem; max-width: none;
}
.nld-finder .nld-band-inner > h2::before { content: none; }
.nld-finder .nld-band-inner > h2::after,
.nld-head-left::after {
	content: ""; display: block; width: 44px; height: 3px;
	background: var(--tt-accent); border-radius: 2px; margin-top: 0.65rem;
}
.nld-finder .nld-band-inner > .tt-updated,
.nld-finder .nld-band-inner > .tt-source-chip { margin-left: 0; }
.nld-finder .nld-band-inner > .nld-map + script { margin: 0; }
/* the hub's who-does-what grid keeps its width cap, now left-anchored */
.nld-finder .nld-band-inner > .tt-h3-grid { margin-left: 0; }

/* ----------------------------------------------------- the split view */

.nld-band-split { padding-top: clamp(1.6rem, 3vw, 2.6rem); }
.nld-split { max-width: 1240px; margin-inline: auto; }
.nld-split-list > h2 {
	font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.18; letter-spacing: -0.01em;
	margin: 2.4rem 0 1rem; padding: 0; border: none;
}
.nld-split-list > h2:first-of-type { margin-top: 1.4rem; }
.nld-split-list > .tt-updated { margin: 0; }
.nld-map-note {
	font-family: var(--tt-ui); font-size: 0.78rem; color: var(--tt-muted);
	margin: 0.6rem 0 0;
}
@media (min-width: 1024px) {
	.nld-split {
		display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
		gap: clamp(1.5rem, 3vw, 2.8rem); align-items: start;
	}
	.nld-split-list { order: 1; }
	.nld-split-map { order: 2; position: sticky; top: 76px; }
	.nld-split-map .nld-map-sticky { height: calc(100vh - 132px); max-height: 860px; }
	/* in the narrower list column the cards run one-up */
	.nld-split-list .nld-prov-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
	.nld-split-map { margin-bottom: 1rem; }
}

/* numbered badges, synced with the map pins */
.nld-pin-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 1.65rem; height: 1.65rem; padding: 0 0.3rem; border-radius: 999px;
	background: var(--tt-accent); color: var(--wp--preset--color--base);
	font-family: var(--tt-ui); font-size: 0.8rem; font-weight: 700;
	font-variant-numeric: tabular-nums; flex: 0 0 auto;
}
.nld-pin-badge.nld-pin-t2 {
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast);
	border: 1.5px solid var(--wp--preset--color--contrast);
}
.nld-pin-badge.nld-pin-off { background: var(--tt-muted); opacity: 0.55; border: none; color: var(--wp--preset--color--base); }
.nld-prov-top { display: flex; align-items: center; gap: 0.6rem; }
.nld-prov-top .nld-prov-kind { margin: 0; }

/* the Show-on-map button (adds no link tuples: a <button>) */
.nld-showmap {
	display: inline-flex; align-items: center; gap: 0.4rem;
	background: none; border: 1px solid var(--tt-rule); border-radius: 999px;
	padding: 0.28rem 0.75rem; margin-left: auto; cursor: pointer;
	font-family: var(--tt-ui); font-size: 0.78rem; font-weight: 600;
	color: var(--tt-muted);
	transition: border-color 140ms ease, color 140ms ease;
}
.nld-showmap:hover { border-color: var(--tt-accent); color: var(--tt-accent); }
.nld-showmap .nld-i { width: 13px; height: 13px; }
.nld-prov-more { display: flex; align-items: center; gap: 0.6rem; }

/* slim rows for the surgeon tier */
.nld-prov-slim { border-top: 1px solid var(--tt-card-border); padding: 0.85rem 1rem !important; }
.nld-prov-slim .nld-prov-top { align-items: flex-start; }
.nld-prov-slim .nld-pin-badge { margin-top: 0.15rem; }
.nld-prov-slim .nld-prov-slimbody { min-width: 0; }
.nld-prov-slim .nld-prov-slimbody p { margin: 0 0 0.1rem; }
.nld-prov-slim .nld-prov-name { font-size: 0.98rem; font-weight: 600; font-family: var(--tt-ui); }
.nld-prov-slim .nld-prov-addr { font-size: 0.84rem; color: var(--tt-muted); }
.nld-prov-slim .nld-showmap { align-self: center; }
.nld-prov-slimlist { gap: 0.6rem; }
.nld-tier-note { font-family: var(--tt-ui); font-size: 0.82rem; color: var(--tt-muted); margin: 0.9rem 0 0; }

/* pin-click flash on the matched card */
.nld-flash { animation: nld-flash 1.5s ease; }
@keyframes nld-flash {
	0%, 60% { border-color: var(--tt-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tt-accent) 25%, transparent); }
	100% { box-shadow: none; }
}

/* -------------------------------------------------- map v2: pins + chips */

/* muted basemap so the accent pins carry (provider stays OSM) */
.nld-map .leaflet-tile-pane { filter: grayscale(0.85) saturate(0.45) brightness(1.04) contrast(0.97); }

.nld-pin-wrap { background: none; border: none; }
.nld-pin {
	display: flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--tt-accent); color: #fff;
	font-family: var(--tt-ui); font-size: 0.76rem; font-weight: 700;
	border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
	transition: transform 140ms ease, background 140ms ease;
}
.nld-pin-map-t2 { background: #fff; color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); }
.nld-pin-hi .nld-pin, .nld-pin-sel .nld-pin {
	transform: scale(1.28); background: var(--wp--preset--color--contrast); color: #fff;
	border-color: #fff; z-index: 10;
}
.nld-pin-hi, .nld-pin-sel { z-index: 1000 !important; }

.nld-map-chips {
	/* clear of the zoom control (top left) and attribution (bottom right) */
	position: absolute; top: 10px; left: 54px; right: 10px; z-index: 800;
	display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end;
	pointer-events: none;
}
.nld-map-chip {
	background: color-mix(in srgb, var(--wp--preset--color--base) 92%, transparent);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	border: 1px solid var(--tt-rule); border-radius: 999px;
	padding: 0.3rem 0.8rem; font-family: var(--tt-ui);
	font-size: 0.74rem; font-weight: 600; color: var(--wp--preset--color--contrast);
	box-shadow: var(--nld-shadow);
}

/* ------------------------------------------- profile hero + sticky rail */

.nld-profile-hero {
	background: var(--wp--preset--color--contrast); color: var(--nld-footer-ink);
}
.nld-profile-hero-inner {
	max-width: 1160px; margin-inline: auto;
	padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 4.5vw, 3rem);
}
.nld-profile-hero .tt-crumbs { margin: 0 0 1.6rem; }
.nld-profile-hero .tt-crumbs a { color: var(--nld-footer-dim); }
.nld-profile-hero .tt-crumbs a:hover { color: var(--wp--preset--color--base); }
.nld-profile-hero .tt-crumbs .tt-crumb-here, .nld-profile-hero .tt-crumb-sep { color: var(--nld-footer-dim); }
.nld-profile-id { display: flex; align-items: center; gap: 1.15rem; margin: 0 0 1.5rem; }
.nld-profile-kicker { color: var(--nld-footer-green); margin: 0 0 0.35rem; }
.nld-profile-hero h1 {
	color: var(--wp--preset--color--base); margin: 0 0 0.45rem;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.12; letter-spacing: -0.015em;
}
.nld-profile-addr {
	display: flex; align-items: center; gap: 0.45rem; margin: 0;
	font-family: var(--tt-ui); font-size: 0.95rem; color: var(--nld-footer-dim);
}
.nld-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.2rem; }
.nld-profile-hero .nld-btn-secondary { background: none; border-color: color-mix(in srgb, var(--wp--preset--color--base) 32%, transparent); color: var(--wp--preset--color--base); }
.nld-profile-hero .nld-btn-secondary:hover { border-color: var(--nld-footer-green); color: var(--nld-footer-green); }
.nld-profile-hero .nld-btn-ghost { color: var(--nld-footer-dim); }
.nld-profile-hero .nld-btn-ghost:hover { color: var(--nld-footer-green); }
.nld-profile-note { margin: 0; font-size: 0.85rem; font-family: var(--tt-ui); color: var(--nld-footer-dim); max-width: 62ch; }

/* the monogram / logo tile */
.nld-mono-tile {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.4rem; height: 2.4rem; border-radius: calc(var(--tt-radius) - 4px);
	background: color-mix(in srgb, var(--tt-accent) 16%, var(--tt-card-bg));
	color: var(--tt-accent); font-family: var(--tt-display);
	font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; flex: 0 0 auto;
}
.nld-mono-lg { width: 4rem; height: 4rem; font-size: 1.5rem; border-radius: var(--tt-radius); }
.nld-profile-hero .nld-mono-tile {
	background: color-mix(in srgb, var(--nld-footer-green) 22%, transparent);
	color: var(--nld-footer-green);
	border: 1px solid color-mix(in srgb, var(--nld-footer-green) 40%, transparent);
}
.nld-logo-tile { background: #fff; overflow: hidden; padding: 0.3rem; }
.nld-logo-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* profile columns: main + sticky rail at desktop */
.nld-profile-cols { max-width: 1160px; margin-inline: auto; }
.nld-profile-main .nld-band { padding-left: 0; padding-right: 0; }
.nld-profile-main .nld-band-inner { max-width: none; }
.nld-profile-cols { padding-inline: clamp(1rem, 3vw, 2rem); }
.nld-rail-card {
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-radius); padding: 1.3rem 1.4rem 1.2rem; box-shadow: var(--nld-shadow);
}
.nld-rail-head {
	margin: 0 0 0.9rem; font-family: var(--tt-ui); font-size: 0.68rem; font-weight: 700;
	letter-spacing: 0.13em; text-transform: uppercase; color: var(--tt-accent);
}
.nld-rail-list { margin: 0; }
.nld-rail-list > div { padding: 0.5rem 0; border-bottom: 1px solid var(--tt-rule); }
.nld-rail-list > div:last-child { border-bottom: none; }
.nld-rail-list dt {
	font-family: var(--tt-ui); font-size: 0.7rem; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--tt-muted);
}
.nld-rail-list dd { margin: 0.1rem 0 0; font-size: 0.92rem; }
.nld-rail-back { margin: 1rem 0 0; font-family: var(--tt-ui); font-size: 0.88rem; font-weight: 600; }
.nld-rail-back a { text-decoration: none; }
.nld-rail-back a::after { content: " \2192"; }
@media (min-width: 1024px) {
	.nld-profile-cols {
		display: grid; grid-template-columns: minmax(0, 1fr) 320px;
		gap: clamp(1.8rem, 3.5vw, 3rem); align-items: start;
	}
	.nld-profile-rail { position: sticky; top: 84px; padding-top: clamp(2rem, 4vw, 3rem); }
}
@media (max-width: 1023px) {
	.nld-profile-rail { display: none; } /* everything it shows is in the record above */
}

@media (prefers-reduced-motion: reduce) {
	.nld-btn, .nld-pin, .nld-showmap { transition: none !important; }
	.nld-btn:hover { transform: none; }
	.nld-flash { animation: none; }
	.nld-pin-hi .nld-pin, .nld-pin-sel .nld-pin { transform: none; }
}


/* ------------------------------------------ city guides: the h3 ladder */
/* The uniform h3-card squares read as filler on the six city guides (Zach,
   2026-09-29): there they become one vertical ladder — numbered ring, title
   and text, a hairline connecting the steps — while every other page keeps
   its cards. Markup untouched; keyed off body.nld-cityguide. */

.nld-cityguide .nld-band-inner > .tt-h3-grid {
	display: block; max-width: 66ch; margin-left: auto; margin-right: auto;
	counter-reset: nld-step;
}
.nld-cityguide .tt-h3-grid .tt-h3-card {
	background: none !important; border: none !important; box-shadow: none;
	position: relative; padding: 0 0 0 4rem; margin: 0 0 2.1rem;
	counter-increment: nld-step;
}
.nld-cityguide .tt-h3-grid .tt-h3-card:last-child { margin-bottom: 0; }
.nld-cityguide .tt-h3-grid .tt-h3-card::before {
	content: counter(nld-step, decimal-leading-zero);
	position: absolute; left: 0; top: 0;
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--tt-accent) 45%, var(--tt-rule));
	background: var(--tt-card-bg);
	font-family: var(--tt-mono); font-size: 0.78rem; color: var(--tt-accent);
}
.nld-cityguide .tt-h3-grid .tt-h3-card:not(:last-child)::after {
	content: ""; position: absolute; left: 1.25rem; top: 2.9rem; bottom: -1.7rem;
	width: 1px; background: var(--tt-rule);
}
.nld-cityguide .tt-h3-grid h3 { margin: 0.15rem 0 0.4rem; font-size: 1.15rem; }
.nld-cityguide .tt-h3-grid p { margin: 0; }
@media (max-width: 599px) {
	.nld-cityguide .tt-h3-grid .tt-h3-card { padding-left: 3.2rem; }
	.nld-cityguide .tt-h3-grid .tt-h3-card::before { width: 2.1rem; height: 2.1rem; }
	.nld-cityguide .tt-h3-grid .tt-h3-card:not(:last-child)::after { left: 1.05rem; top: 2.5rem; }
}

/* ------------------------------------------------------ session 7 (2026-09-29) */

/* Dasher's type pair (Zach: "we can take Dasher's font" — Literata read hard
   at body sizes). Outfit for display, DM Sans for body and UI; Fira Code
   stays for code. Self-hosted variable woff2 like the old set. tokens.css is
   generated (do not edit), so the presets are overridden here — uplift loads
   last. */
@font-face {
	font-family: 'DM Sans';
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
	src: url(/assets/fonts/dm-sans/DMSans-Variable.woff2) format('woff2');
}
@font-face {
	font-family: 'DM Sans';
	font-weight: 100 1000;
	font-style: italic;
	font-display: swap;
	src: url(/assets/fonts/dm-sans/DMSans-VariableItalic.woff2) format('woff2');
}
@font-face {
	font-family: 'Outfit';
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	src: url(/assets/fonts/outfit/Outfit-Variable.woff2) format('woff2');
}
:root {
	--wp--preset--font-family--display: Outfit, system-ui, sans-serif;
	--wp--preset--font-family--body: 'DM Sans', system-ui, sans-serif;
	--wp--preset--font-family--ui: 'DM Sans', system-ui, sans-serif;
}

/* the city guides' map embed: an iframe is display:inline, so the bands'
   margin-auto centering never applied and it sat on the band's left edge
   (Zach's screenshot). Centered, clamped, and framed like the cards. */
.entry-content iframe {
	display: block; margin-left: auto; margin-right: auto; max-width: 100%;
	border: 1px solid var(--tt-card-border); border-radius: var(--tt-radius);
}

/* the dark CTA band: theme.css pins every .tt-cta child left with !important
   (right for the tinted in-article CTA); the dark band variant centers, so
   every child needs the centering pair, not just the h2 (Zach's screenshot —
   kicker, paragraph and buttons each sat on their own axis) */
.nld-band-cta .tt-cta > * { margin-left: auto !important; margin-right: auto !important; }
.nld-band-cta .tt-cta .tt-cta-links { max-width: none; }

/* nav panel group labels (site.mjs `head` rows — Dasher's dropdown pattern) */
.nld-nav-panel .nld-panel-head {
	font-family: var(--tt-ui); font-size: 0.66rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--tt-muted);
	padding: 0.55rem 0.75rem 0.15rem;
}
.nld-nav-panel.nld-panel-wide .nld-panel-head { grid-column: 1 / -1; }
.nld-mobile .nld-panel-head {
	list-style: none; font-family: var(--tt-ui); font-size: 0.66rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--tt-muted);
	margin: 0.6rem 0 0.2rem;
}

/* area maps (hub + state pages): breathing room between map, note and cards;
   numbered badges sit inline with the card titles */
.nld-band-inner > .nld-map-note { margin: 0.6rem auto 1.8rem; }
.nld-area-cards .tt-guide-title { display: flex; align-items: center; gap: 0.55rem; }
/* area cards carry the pin badge as their number; hide the list ordinal so
   the card is not numbered twice */
.tt-guides-list.nld-area-cards > li::before { display: none; }
/* homepage state sample (2026-09-29): the "and N more states" card */
.nld-more-card { background: color-mix(in srgb, var(--wp--preset--color--accent, #1d5c4d) 8%, var(--wp--preset--color--base)); border-style: dashed; }
.nld-more-card .tt-guide-title a::after { content: " \2192"; }

/* ------------------------------------------------------ session 8 (2026-09-29) */
/* NEXT-STEPS.md §12: the /tools/ and /insights/ sections and the Resources
   panel's described rows (Dasher's dropdown pattern). Tool and insight pages
   reuse the finder's left-aligned band system (body.nld-finder.nld-tool). */

/* described rows in a nav panel: label over a muted one-liner */
.nld-nav-panel .nld-panel-desc a { display: flex; flex-direction: column; gap: 0.1rem; white-space: normal; padding: 0.5rem 0.85rem; }
.nld-nav-panel .nld-panel-label { font-weight: 600; }
.nld-nav-panel .nld-panel-sub { font-size: 0.78rem; font-weight: 400; color: var(--tt-muted); line-height: 1.35; }
.nld-nav-panel .nld-panel-desc a:hover .nld-panel-sub { color: inherit; opacity: 0.85; }
/* the wide Resources panel with described rows (Nav.astro renders two
   column <li>s): Explore rows on the left, the link groups in their old
   two-column grid on the right */
.nld-nav-panel.nld-panel-explore { min-width: 720px; grid-template-columns: 1.05fr 2fr; column-gap: 0.8rem; }
.nld-nav-panel .nld-panel-col > ul { list-style: none; margin: 0; padding: 0; }
.nld-nav-panel .nld-panel-col-explore { border-right: 1px solid var(--tt-rule); padding-right: 0.5rem; }
.nld-nav-panel .nld-panel-col-rest > ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.3rem; }
.nld-nav-panel .nld-panel-col-rest .nld-panel-head { grid-column: 1 / -1; }
.nld-nav-panel .nld-panel-col-explore .nld-panel-desc + .nld-panel-desc { margin-top: 0.15rem; }
.nld-mobile .nld-panel-desc a { padding: 0.45rem 0; }
.nld-mobile .nld-panel-sub { display: block; font-size: 0.8rem; color: var(--tt-muted); margin-top: 0.1rem; }
.nld-mobile .nld-panel-label { font-weight: 600; }

/* tool and insight pages: the "Figures read" pill and the widget card */
.nld-tool .nld-band-intro .tt-widget {
	margin: 1.6rem 0 0.4rem; padding: 1.4rem clamp(1rem, 2.5vw, 1.8rem) 1.5rem;
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-radius); box-shadow: var(--nld-shadow-soft, 0 1px 2px rgba(0,0,0,0.04));
}
.nld-tool .tt-widget:empty { display: none; }
.nld-tool .tt-w-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.nld-tool .tt-w-result { margin-top: 0.4rem; }
.nld-tool .tt-w-lines p { margin: 0 0 0.55rem; font-family: var(--tt-ui); font-size: 0.92rem; color: var(--wp--preset--color--contrast); line-height: 1.55; }
.nld-tool .tt-w-lines ul { margin: 0.2rem 0 0.6rem 1.1rem; padding: 0; font-family: var(--tt-ui); font-size: 0.92rem; line-height: 1.5; }
.nld-tool .tt-w-lines li { margin: 0 0 0.3rem; }
.nld-tool .tt-w-figure { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.25; }
.nld-tool select.tt-w-select { max-width: 100%; }
/* hub cards: give the six tools a little more presence than the sibling cards */
.nld-tool-cards .tt-guide-title { font-size: 1.08rem; }
/* insight tables run wide and stay legible */
.nld-insight-table table { font-size: 0.92rem; }
.nld-insight-table td:first-child { white-space: nowrap; }
.nld-insight-table .tt-chip { margin: 0; }
.nld-sources td:first-child { width: 42%; }
@media (max-width: 919px) {
	.nld-nav-panel.nld-panel-wide { min-width: 0; }
}

/* ---------------------------------------------- location search (2026-09-29) */
/* toprateddentist.com's hero search bar (Zach's ask), built on the finder's
   own data: a white pill with the "looking for" select, the ZIP/city input
   and the button; stacks on phones. src/lib/search.mjs + finder-search.js. */
.nld-search {
	display: flex; align-items: stretch; gap: 0; position: relative; flex-wrap: wrap;
	max-width: 760px; margin: 1.6rem 0 0.4rem;
	background: var(--tt-card-bg); border-radius: 999px; padding: 0.35rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
	font-family: var(--tt-ui);
}
.tt-hero-copy > .nld-search { max-width: 760px; }
.nld-search-cell { display: flex; flex-direction: column; justify-content: center; flex: 1 1 200px; min-width: 0; padding: 0.35rem 1.1rem; }
.nld-search-what { flex: 0 1 240px; border-right: 1px solid var(--tt-rule); }
.nld-search-label {
	font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
	color: var(--tt-muted); margin-bottom: 0.1rem;
}
.nld-search-select, .nld-search-input {
	border: none; background: none; padding: 0.15rem 0; margin: 0; width: 100%;
	font: inherit; font-size: 0.98rem; font-weight: 500; color: var(--wp--preset--color--contrast);
}
.nld-search-select { appearance: auto; cursor: pointer; }
.nld-search-select:focus, .nld-search-input:focus { outline: none; }
.nld-search:focus-within { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), 0 0 0 3px color-mix(in srgb, var(--tt-accent) 35%, transparent); }
.nld-search-btn {
	display: inline-flex; align-items: center; gap: 0.5rem; align-self: center;
	background: var(--tt-accent); color: var(--wp--preset--color--base);
	border: none; border-radius: 999px; padding: 0.85rem 1.4rem; margin-left: 0.25rem;
	font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
	transition: background 150ms ease, transform 150ms ease;
}
.nld-search-btn:hover { background: color-mix(in srgb, var(--tt-accent) 86%, #000); transform: translateY(-1px); }
.nld-search-msg {
	flex: 1 1 100%; margin: 0.2rem 0 0; padding: 0.45rem 1.1rem 0.5rem;
	font-size: 0.86rem; color: var(--wp--preset--color--contrast); line-height: 1.5;
	border-top: 1px solid var(--tt-rule);
}
.nld-search-msg a { color: var(--tt-accent); }
.tt-hero-filled .nld-search-msg { color: var(--wp--preset--color--contrast); }
/* in a band (the finder hub): flush left, no hero shadow weight */
.nld-band-inner > .nld-search { max-width: 760px; margin: 1.4rem 0 0.2rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); border: 1px solid var(--tt-card-border); }
.nld-search-compact .nld-search-label { display: none; }
.nld-search-compact .nld-search-cell { padding: 0.55rem 1.1rem; }
/* in the hero at desktop widths the bar never wraps its button under the fields: the cells shrink instead */
@media (min-width: 1024px) {
	.tt-hero-copy > .nld-search { flex-wrap: nowrap; }
	.tt-hero-copy > .nld-search .nld-search-what { flex: 0 1 220px; min-width: 150px; }
	.tt-hero-copy > .nld-search .nld-search-where { flex: 1 1 140px; }
	.tt-hero-copy > .nld-search .nld-search-btn { flex: 0 0 auto; white-space: nowrap; }
	.tt-hero-copy > .nld-search .nld-search-msg { position: absolute; left: 0; right: 0; top: 100%; margin: 0.3rem 0 0; background: var(--tt-card-bg); border: 1px solid var(--tt-card-border); border-radius: 12px; }
}
@media (max-width: 700px) {
	.nld-search { border-radius: var(--tt-radius); padding: 0.5rem; }
	.nld-search-cell { flex: 1 1 100%; padding: 0.5rem 0.8rem; }
	.nld-search-what { border-right: none; border-bottom: 1px solid var(--tt-rule); }
	.nld-search-btn { width: 100%; justify-content: center; margin: 0.4rem 0 0; border-radius: 10px; }
}

/* ---------------------------------------------- homepage, session 9 (2026-09-29) */
/* Zach's "go with the additive": the trust line, the four pillars, the
   hub's US map on the home page, the Save Money and Tools bands. */
.nld-trust {
	display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: center;
	margin: 0; padding: 0.9rem clamp(1rem, 3vw, 2rem);
	font-family: var(--tt-ui); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
	text-transform: uppercase; color: var(--tt-muted);
	border-bottom: 1px solid var(--tt-rule);
}
.nld-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.nld-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tt-accent); }
.nld-pillars {
	list-style: none; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem);
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1240px;
}
.nld-pillars li { margin: 0; }
.nld-pillars a {
	display: flex; flex-direction: column; gap: 0.55rem; height: 100%;
	padding: 1.3rem 1.3rem 1.4rem; text-decoration: none;
	background: var(--tt-card-bg); border: 1px solid var(--tt-card-border); border-radius: var(--tt-radius);
	border-top: 3px solid var(--tt-accent); color: var(--wp--preset--color--contrast);
	transition: transform 160ms ease, box-shadow 160ms ease;
}
.nld-pillars a:hover { transform: translateY(-2px); box-shadow: var(--nld-shadow-lift); }
.nld-pillar-ico { color: var(--tt-accent); }
.nld-pillar-title { font-family: var(--tt-display); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.nld-pillars a:hover .nld-pillar-title { color: var(--tt-accent); }
.nld-pillar-text { font-family: var(--tt-ui); font-size: 0.9rem; line-height: 1.5; color: var(--tt-muted); }
@media (max-width: 1023px) { .nld-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nld-pillars { grid-template-columns: 1fr; } }
.nld-home-map { margin: 0 auto 1.2rem; }
.nld-home-map .nld-map-small { height: 380px; }

/* homepage Resources band (session 9b): the nav panel's shape, on the page */
.nld-resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
/* the flow layout's `* + *` block margin pushed columns 2 and 3 down 18px (Zach: "doesn't line up") */
.nld-resources > * { margin-block-start: 0 !important; margin-top: 0 !important; }
.nld-res-col { 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-res-head { margin: 0 0 0.6rem; font-family: var(--tt-ui); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tt-accent); }
.nld-res-col ul { list-style: none; margin: 0; padding: 0; }
.nld-res-col li { margin: 0; padding: 0.3rem 0; border-top: 1px solid var(--tt-rule); font-family: var(--tt-ui); font-size: 0.95rem; line-height: 1.4; }
.nld-res-col li:first-child { border-top: none; }
.nld-res-col a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.nld-res-col a:hover { color: var(--tt-accent); }
.nld-res-more { margin: 0.9rem 0 0; font-family: var(--tt-ui); font-size: 0.85rem; }
.nld-res-more a { color: var(--tt-accent); }
@media (max-width: 800px) { .nld-resources { grid-template-columns: 1fr; gap: 0.9rem; } }

/* ------------------------------------------------------ area maps, 2026-09-29 */
/* Zach: "make the US map where it is showing the states larger". The area
   maps (hub + homepage) fit the contiguous states and carry Alaska and Hawaii
   as inset panels drawn by finder-map.js; both maps are taller. */
.nld-map-area { height: clamp(360px, 46vw, 620px); }
.nld-home-map .nld-map-small.nld-map-area { height: clamp(320px, 40vw, 520px); }
.nld-map-inset {
	position: absolute; bottom: 24px; width: 150px; height: 112px; z-index: 800;
	border: 1px solid color-mix(in srgb, var(--tt-ink, #1d2a24) 22%, transparent);
	border-radius: 8px; overflow: hidden; background: #e9ebe8;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.nld-map-inset-ak { left: 10px; }
.nld-map-inset-hi { left: 170px; }
.nld-map-inset .leaflet-tile-pane { filter: grayscale(0.85) saturate(0.45) brightness(1.04) contrast(0.97); }
.nld-map-inset .leaflet-marker-icon { cursor: pointer; }
.nld-map-inset-label {
	position: absolute; top: 5px; left: 6px; z-index: 801;
	font-family: var(--tt-ui); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--tt-ink, #1d2a24); background: rgba(255, 255, 255, 0.88); padding: 1px 6px; border-radius: 4px;
}
@media (max-width: 600px) {
	.nld-map-area { height: clamp(400px, 110vw, 520px); }
	.nld-map-inset { width: 104px; height: 78px; bottom: 20px; }
	.nld-map-inset-hi { left: 122px; }
}

/* the hero's logo mark (2026-09-29): cream on the dark hero, on a soft tile */
.nld-hero-logo { margin: 0; display: flex; justify-content: center; align-items: center; }
.nld-hero-logo svg { width: clamp(200px, 26vw, 360px); height: auto; color: var(--wp--preset--color--base); opacity: 0.92; }
@media (max-width: 899px) { .nld-hero-logo { margin: 1.2rem auto 0; } .nld-hero-logo svg { width: 160px; } }
/* the mark as an <img> (config `homepage.heroLogo` + `logo.src`): theme.css crops every hero image to a 4:3
   cover, which cut the top and bottom off the square mark (straightenmysmileohio.com, 2026-10-01, Zach: "the
   logo gets cut off at the top in the hero"). Show the whole square at the inline-SVG size. */
.tt-hero .tt-hero-img.nld-hero-logo img { width: clamp(200px, 26vw, 360px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; opacity: 0.92; }
@media (max-width: 899px) { .tt-hero .tt-hero-img.nld-hero-logo img { width: 160px; aspect-ratio: 1 / 1; } }

