/* AUTOOL Brand Search · results page.
 * Home page look (AUTOOL Brand Home .abh-sx): black, #F0F0FA with .62 / .16 steps, D-DIN, monospace
 * details, 2px radius, ghost buttons, AUTOOL yellow only on the main action. Mobile first:
 * phone < 768, tablet 768–1279, desktop ≥ 1280.
 * Rhythm (0.3.0, FLOW-PLAN §4 "measurement bus"): hero content top = header + 64 / 96 / 128, sections
 * 64 / 96 / 128, groups half a step (32 / 48 / 64), grid column gaps 16 / 24 / 32 so every n-column grid
 * lands on the shared 12-column lines; eyebrow → title 16, title → lead 16, title group → content 32. */

.absrch {
	--g: 20px;
	--hdr: 56px;
	--bg: #000;
	--fg: #F0F0FA;
	--mu: rgba(240, 240, 250, .62);
	--ln: rgba(240, 240, 250, .16);
	--plate: #ECECF0;
	--r: 2px;
	--max: 1280px;
	--ease: cubic-bezier(.19, 1, .22, 1);
	--mono: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
	--d: "ABSRCH D-DIN", "DIN Alternate", "Barlow Semi Condensed", Arial, sans-serif;
	display: block;
	overflow-x: clip;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--d);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	color-scheme: dark;
}
:where(.absrch) *, :where(.absrch) *::before, :where(.absrch) *::after { box-sizing: border-box; }
:where(.absrch) :is(h1, h2, h3, p, ul, li) { margin: 0; padding: 0; }
:where(.absrch) ul { list-style: none; }
:where(.absrch) a { color: inherit; text-decoration: none; }
:where(.absrch) :is(button, input) { font: inherit; color: inherit; }
:where(.absrch) img { display: block; max-width: 100%; height: auto; }
.absrch { --theme-link-initial-color: currentColor; --theme-link-hover-color: currentColor; --theme-heading-color: currentColor; }
.absrch :is(h1, h2, h3) { color: inherit; font-family: inherit; }
.absrch :focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.absrch .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.absrch [hidden] { display: none !important; }
.absrch-wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
.absrch-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.absrch mark { padding: 0; background: none; color: inherit; box-shadow: inset 0 -.14em 0 color-mix(in srgb, var(--absrch-brand, #FEB511) 80%, transparent); }

/* Type ------------------------------------------------------------------ */
.absrch-eyebrow, .absrch-meta, .absrch-type { color: var(--mu); font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.absrch-eyebrow { margin-bottom: 16px; }
.absrch-type { color: var(--fg); }

/* Buttons --------------------------------------------------------------- */
.absrch-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r); font-family: var(--d); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.absrch-btn--primary { background: var(--absrch-brand, #FEB511); color: #0B0B0C; font-weight: 700; }
.absrch-btn--primary:hover { background: color-mix(in srgb, var(--absrch-brand, #FEB511) 80%, #fff); }
.absrch-btn--ghost { border-color: color-mix(in srgb, var(--fg) 35%, transparent); background: rgba(0, 0, 0, .5); color: var(--fg); }
.absrch-btn--ghost:hover { border-color: var(--fg); background: var(--fg); color: #000; }
.absrch-btn--sm { min-height: 44px; padding: 0 14px; font-size: 13px; }
.absrch-btn:hover .absrch-ico { transform: translateX(3px); }
.absrch-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--fg); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.absrch-link span { padding-bottom: 2px; border-bottom: 1px solid var(--ln); }
.absrch-link:hover span { border-color: currentColor; }

/* Header band and form ---------------------------------------------------- */
.absrch-hero { padding: calc(var(--hdr) + 64px + var(--wp-admin--admin-bar--height, 0px)) 0 32px; background: radial-gradient(ellipse 70% 120% at 85% 100%, rgba(240, 240, 250, .07), transparent 70%), #000; }
.absrch-title { max-width: 22ch; font-size: clamp(32px, 6vw, 72px); font-weight: 700; line-height: .98; letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.absrch-title__n { color: var(--mu); }
.absrch-form { position: relative; display: flex; align-items: stretch; gap: 0; max-width: 860px; margin-top: 32px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 45%, transparent); }
.absrch-form:focus-within { border-color: var(--fg); }
.absrch-form > .absrch-ico { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; color: var(--mu); transform: translateY(-50%); }
.absrch-form input { flex: 1; min-width: 0; min-height: 56px; padding: 0 12px 0 34px; border: 0; background: transparent; color: var(--fg); font-family: var(--d); font-size: 18px; letter-spacing: .02em; -webkit-appearance: none; appearance: none; }
.absrch-form input::placeholder { color: var(--mu); }
.absrch-form input:focus { outline: none; }
.absrch-form input::-webkit-search-cancel-button { filter: invert(1); }
.absrch-form .absrch-btn { align-self: center; }
.absrch-form .absrch-btn span { display: none; }
.absrch-fix { margin-top: 16px; color: var(--mu); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.absrch-fix a { color: var(--fg); border-bottom: 1px solid var(--fg); }

/* Exact model ------------------------------------------------------------ */
.absrch-exact { padding: 8px 0 32px; }
.absrch-exact__card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.absrch-exact__media { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--plate); }
.absrch-exact__media img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.absrch-exact__body .absrch-eyebrow { margin-bottom: 8px; color: var(--fg); }
.absrch-exact__title { font-weight: 700; line-height: 1; text-transform: uppercase; }
.absrch-exact__model { display: block; font-size: clamp(32px, 5vw, 56px); letter-spacing: .02em; }
.absrch-exact__name { display: block; margin-top: 6px; color: var(--mu); font-size: clamp(15px, 1.6vw, 20px); letter-spacing: .02em; }
.absrch-exact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; grid-column: 1 / -1; }
.absrch-exact__btns .absrch-btn--ghost { min-height: 44px; font-size: 13px; }

/* Type tabs --------------------------------------------------------------- */
.absrch-tabs { position: sticky; z-index: 20; top: var(--wp-admin--admin-bar--height, 0px); background: rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ln); transition: top .35s var(--ease); }
body:has(#abbhf-hd:not(.is-hidden)) .absrch-tabs { top: calc(var(--hdr) + var(--wp-admin--admin-bar--height, 0px)); }
.absrch-tabs__list { display: flex; gap: 4px; margin-inline: calc(var(--g) * -1); padding: 0 var(--g); overflow-x: auto; scrollbar-width: none; }
.absrch-tabs__list::-webkit-scrollbar { display: none; }
.absrch-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 12px; border: 0; background: none; color: var(--mu); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: inset 0 -1px 0 transparent; }
.absrch-tab span { color: var(--mu); font-size: 12px; }
.absrch-tab:hover { color: var(--fg); }
.absrch-tab[aria-pressed="true"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.absrch-tab[aria-pressed="true"] span { color: var(--fg); }

/* Groups ------------------------------------------------------------------ */
.absrch-results { padding-top: 0; padding-bottom: 64px; }
.absrch-group { padding-top: 32px; scroll-margin-top: 140px; }
.absrch-group__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.absrch-group__title { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.absrch-group__title span { margin-left: 6px; color: var(--mu); font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .04em; vertical-align: .35em; }
[data-tab="all"] .absrch-item.is-extra, [data-tab] .absrch-item.is-later { display: none; }
.absrch-more { margin-top: 28px; }

.absrch-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.absrch-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ln); border-radius: var(--r); font-family: var(--d); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; transition: border-color .3s, background-color .3s, color .3s; }
.absrch-chip .absrch-ico { width: 14px; height: 14px; }
.absrch-chip:hover { border-color: var(--fg); background: var(--fg); color: #000; }

/* Products: studio plate, model in D-DIN, details in monospace. */
.absrch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.absrch-prod { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.absrch-prod__media { display: grid; place-items: center; aspect-ratio: 1 / 1; margin-bottom: 8px; overflow: hidden; background: var(--plate); }
.absrch-prod__media img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.absrch-prod .absrch-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.absrch-prod__model { font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.absrch-prod__name { display: -webkit-box; overflow: hidden; color: var(--mu); font-size: 14px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.absrch-prod__figs { color: var(--mu); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.absrch-prod:hover .absrch-prod__model { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Videos */
.absrch-grid--video { grid-template-columns: minmax(0, 1fr); gap: 24px 16px; }
.absrch-vid { display: flex; flex-direction: column; gap: 8px; }
.absrch-vid__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.absrch-vid__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.absrch-vid__play { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(240, 240, 250, .7); border-radius: 50%; background: rgba(0, 0, 0, .55); color: var(--fg); }
.absrch-vid__play .absrch-ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.absrch-vid__title { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; }
.absrch-vid:hover .absrch-vid__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Rows: downloads, support, pages. */
.absrch-rows { border-top: 1px solid var(--ln); }
.absrch-rows > li { border-bottom: 1px solid var(--ln); }
.absrch-row { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 16px 0; transition: background-color .4s var(--ease); }
.absrch-row__main { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.absrch-row__title a { display: inline-block; padding-block: 3px; }
.absrch-row__title { font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.absrch-row__text { color: var(--mu); font-size: 15px; line-height: 1.5; }
.absrch-row > .absrch-ico { color: var(--mu); }
a.absrch-row:hover > .absrch-ico, .absrch-row__title a:hover { color: var(--fg); }
.absrch-row__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.absrch-row:hover > .absrch-ico { transform: translateX(4px); }
.absrch-row--dl .absrch-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; }

/* Empty state and help ----------------------------------------------------- */
.absrch-empty { padding-top: 16px; padding-bottom: 64px; }
.absrch-empty__msg { max-width: 60ch; padding: 24px 0 32px; border-top: 1px solid var(--ln); }
.absrch-empty__title { margin-bottom: 10px; font-size: 24px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.absrch-empty__msg p { color: var(--mu); }
.absrch-block { padding: 32px 0 0; border-top: 1px solid var(--ln); }
.absrch-block__title, .absrch-help__title { margin-bottom: 16px; color: var(--mu); font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.absrch-help { padding: 64px 0; border-top: 1px solid var(--ln); }
.absrch-help__list { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--ln); }
.absrch-help__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--ln); font-size: 18px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.absrch-help__list a:hover .absrch-ico { transform: translateX(4px); }

@media (hover: hover) {
	.absrch-prod:hover .absrch-prod__media img, .absrch-vid:hover .absrch-vid__media img { transform: scale(1.04); }
	a.absrch-row:hover { background: color-mix(in srgb, var(--fg) 4%, transparent); }
}
@media (min-width: 600px) {
	.absrch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
	.absrch-grid--video { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.absrch { --g: 32px; --hdr: 64px; }
	.absrch-hero { padding-top: calc(var(--hdr) + 96px + var(--wp-admin--admin-bar--height, 0px)); padding-bottom: 48px; }
	:is(.absrch-results, .absrch-empty) { padding-bottom: 96px; }
	.absrch-group { padding-top: 48px; }
	.absrch-grid { column-gap: 24px; }
	.absrch-help { padding-block: 96px; }
	.absrch-form .absrch-btn span { display: inline; }
	.absrch-exact__card { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
	.absrch-exact__btns { grid-column: 2; }
	.absrch-help__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.absrch-row { padding-inline: 0 8px; }
}
@media (min-width: 1024px) {
	.absrch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
	.absrch-grid--video { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.absrch-help__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
	.absrch { --g: 60px; --hdr: 80px; }
	.absrch-hero { padding-top: calc(var(--hdr) + 128px + var(--wp-admin--admin-bar--height, 0px)); padding-bottom: 64px; }
	:is(.absrch-results, .absrch-empty) { padding-bottom: 128px; }
	.absrch-grid { column-gap: 32px; }
	.absrch-help { padding-block: 128px; }
	.absrch-help__list { column-gap: 32px; }
	.absrch-exact__card { grid-template-columns: 240px minmax(0, 1fr); }
	.absrch-group { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
	.absrch *, .absrch-tabs { transition: none !important; }
}
@media print {
	.absrch-tabs, .absrch-form, .absrch-help { display: none; }
	.absrch, .absrch-hero { background: #fff; color: #000; }
}

/* 404 ------------------------------------------------------------------------ */
.absrch-lead { max-width: 56ch; margin-top: 16px; color: var(--mu); font-size: 17px; line-height: 1.55; }
/* On 404 the closest matches run straight into the empty-state blocks (each has its own top rule). */
.absrch-404 .absrch-results { padding-bottom: 32px; }


/* 0.4.0 · Compact header band, VOID-AUDIT P1 (brand-decor-261017/research/VOID-AUDIT.md). Changed by the e5
 * session (Claude aac2b674) with the agreement of session 55560d1a. Same rule as the brand pages: the title group
 * starts half a step below the site header (64 / 48 / 32, was 128 / 96 / 64), the band ends 48 / 40 / 32 below the
 * search field and the first result group starts 48 / 40 / 32 below the band (the exact-model card, the type tabs
 * and the empty state keep their own tight starts). Font preload and the sticky tabs are unchanged. */
.absrch-hero { padding-top: calc(var(--hdr) + 32px + var(--wp-admin--admin-bar--height, 0px)); padding-bottom: 32px; }
.absrch-results > .absrch-group:first-child { padding-top: 32px; }
@media (min-width: 768px) {
	.absrch-hero { padding-top: calc(var(--hdr) + 48px + var(--wp-admin--admin-bar--height, 0px)); padding-bottom: 40px; }
	.absrch-results > .absrch-group:first-child { padding-top: 40px; }
}
@media (min-width: 1280px) {
	.absrch-hero { padding-top: calc(var(--hdr) + 64px + var(--wp-admin--admin-bar--height, 0px)); padding-bottom: 48px; }
	.absrch-results > .absrch-group:first-child { padding-top: 48px; }
}

/* Paired mobile actions share one column and a centered label/icon group. */
@media (max-width: 767px) {
	.absrch-exact__btns:has(> .absrch-btn ~ .absrch-btn) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; justify-items: stretch; }
	.absrch-exact__btns:has(> .absrch-btn ~ .absrch-btn) > .absrch-btn { width: 100%; min-width: 0; min-height: 48px; justify-content: center; text-align: center; padding-inline: 20px; }
	.absrch-exact__btns:has(> .absrch-btn ~ .absrch-btn) > .absrch-btn .absrch-ico { width: 18px; height: 18px; padding: 0; border: 0; }
	.absrch-exact__btns { grid-column: 1 / -1; }
}

/* ===== 0.4.2 · One section rhythm with the home page (PLUGIN-041 session fd1ad4e3, 2026-10-19) =====
 * Results and the help band used 96 / 128 (tablet / desktop); home sections are 80 / 96 since VOID-AUDIT P2.
 * The page header (P1) is unchanged. */
@media (min-width: 768px) {
	:is(.absrch-results, .absrch-empty) { padding-bottom: 80px; }
	.absrch-help { padding-block: 80px; }
}
@media (min-width: 1280px) {
	:is(.absrch-results, .absrch-empty) { padding-bottom: 96px; }
	.absrch-help { padding-block: 96px; }
}
