/* ==========================================================================
   Graphic polish pass, 2 Nov 2026 (GRAPHIC_FIXES_2026-11-02.md). Loads last, after brand.css and
   product.css, so these token and role overrides win without !important. One section per spec item.
   ========================================================================== */

/* Item 3 · bigger, more readable text --------------------------------------
   Roles: body 17 px / 1.6, card descriptions 15-16, mono labels and codes >= 13 px at .08em,
   nav >= 15, footer >= 15. Secondary grey #D3D8DE (13.4:1 on #0F0F0F, was #B8BEC6 at 10.2:1). */
:root {
	--text-mid: #d3d8de;
	--ne-grey-hi: #d3d8de;
	--fs-body: 1.0625rem;
	--lh-body: 1.6;
	--fs-lead: clamp(1.0625rem, .98rem + .35vw, 1.25rem);
	--fs-small: .9375rem;
	--fs-micro: .8125rem;
	--tracking-mono: .08em;
}
body { line-height: var(--lh-body); }

/* Mono labels and codes: 13 px floor, .08em tracking. The Novacom wordmark's own small caps are the logo and stay. */
.code, .code-plain, .mm-reach__k, .mm-meta, .seg-opt small, .spec-row > li,
.field > label, .field > legend, .telemetry span, .filters .count, .fl-count, .cv-end, .cv-bar.big em, .cv-bar.total em,
.tk, .envm th small, .envm th sup, .hud-coord, .hud-tag, .mobile-menu .mm-fams .code-plain { font-size: 13px; letter-spacing: .08em; }
.std, .chips > li, .chip, .eyebrow, .hero-badge, .why-proof .pv, .htab-code, .hpanel-maker { letter-spacing: .08em; }

/* Navigation */
.menu > a, .menu-mega > a { font-size: 15px; }
.mm-col a { font-size: 15px; }
.mm-top__txt { font-size: 15px; }
.nav-end .btn { font-size: 13px; }

/* Buttons and standalone links */
.btn { font-size: 15px; }
.hpanel-go, .fam-mini .go, .cat-card .go, .prod-links .link { font-size: 15px; }

/* Home hero: stat labels and family tabs */
.telemetry dt { font-size: 15px; }
.htab-name { font-size: 15px; }
.hpanel-cats a { font-size: 16px; }

/* Body copy and card descriptions */
.why-proof p, .pillar p, .prod-meta p, .feats li, .checks li, .cat-list { font-size: 16px; }
.fam-mini__maker, .fam-card__tag, .cat-card__count, .about-steps p, .pt-lines, .pt-rep, .pt-cta__p, .pt-sec .ext,
.home-rfq__bar p.home-rfq__text, .home-rfq__bar p.home-rfq__reach { font-size: 15px; }
.home-rfq__bar p.home-rfq__text { font-size: 16px; }
.cv-name { font-size: 15px; width: 176px; }
.envm-notes, .envm-foot, .ind-credit, .hint, .err, .evidence-list small, .evidence small, .partner p { font-size: 14px; }
.all-col li a, .cs-results li a, .code-search .cs-codes .cs-results li a, .ind-links a { font-size: 15px; }
.field input, .field select, .field textarea, .check label { font-size: 16px; }

/* Captions and notes under sections: sentences, so body face sizes rather than micro labels. */
.standards .note, .ind-note, .figures-note, .cv-note { font: 400 15px/1.55 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text-mid); }
.cat-fig figcaption { font-size: 14px; line-height: 1.55; }
/* Sister-company meta line ("Sister company · TDI Group · Est. 1974"): a card description line in the body face. */
.pt-card .pt-tag, .pt-lead .pt-tag, .pt-cta .pt-tag { font: 400 15px/1.45 var(--font-body); letter-spacing: 0; text-transform: none; }

/* Footer >= 15 px */
.foot-cols a, .foot-meta a, .contact-list li, .legal a, .foot-h, .foot-h a, .foot-cols h5, .foot-top .dim, .foot-credits p { font-size: 15px; }
.foot-bot { font-size: 13px; }

/* Product and category pages: tables, notes and card meta */
.pdp-table th, .pdp-table td, .pdp-std-note, .pdp-sources, .cf-opts button { font-size: 15px; }
.pdp-card .go, .pdp-card-note { font-size: 15px; }
.pdp-spec td small, .pdp-notes, .pdp-std-opt, .pdp-image-note, .pdp-related-sub, .sr-meta, .sr-why { font-size: 14px; }
.pdp-card-mfr, .pdp-card-legacy, .maker-k, .sr-glyph, .sr-kind, .sr-hits, .pdp-nav a, .pdp-nav .pdp-nav-cta, .subnav a { font-size: 13px; }

@media (max-width: 640px) {
	.hero-copy .lead { font-size: 16px; }
	.cv-name { width: 104px; font-size: 13px; }
	.pt-card .pt-lines, .pt-lead .pt-lines, .pt-rep, .pt-cta__p { font-size: 15px; }
	.foot-cols a, .foot-meta a, .contact-list li, .legal a { font-size: 15px; }
	.home-rfq__bar p.home-rfq__text { font-size: 15px; }
	.hero .actions .btn { font-size: 13px; }
}

/* Item 2 · one container for header, sections and footer ----------------------
   --container is the content width: min(1440px, 100% - 2 x gutter), 1560 px from 1920 px.
   .wrap / .wrap-wide are border-box with the gutter as padding, so their max-width is --wrap-max. */
:root {
	--gutter: clamp(20px, 4vw, 64px);
	--container-max: 1440px;
	--container: min(var(--container-max), 100% - 2 * var(--gutter));
	--container-wide: var(--container-max);
	--wrap-max: calc(var(--container-max) + 2 * var(--gutter));
}
@media (min-width: 1920px) { :root { --container-max: 1560px; } }
.wrap, .wrap-wide { max-width: var(--wrap-max); padding-inline: var(--gutter); }
.page-hero.is-layout-constrained > * { max-width: var(--wrap-max) !important; }
.page-content { max-width: var(--wrap-max); }
.pdp { --bleed: max(var(--gutter), (100vw - var(--container-max)) / 2); }
.pdp-seq .pdp-steps { max-width: var(--wrap-max); }

/* Full-bleed bands, text kept on the container line. */
@media (min-width: 900px) {
	.industries .ind-grid { width: 100vw; margin-inline: calc(50% - 50vw); padding-inline: 4px; }
}
.standards .std-row { max-width: none; padding-left: max(var(--gutter), (100% - var(--container-max)) / 2); padding-right: 0; }
.page-hero.has-image > .wrap { width: 100%; }   /* flex child: was shrink-wrapped and centred (About, x=338 at 1440) */

/* Item 7 · category hero on the container line ------------------------------
   .cat-stage is a flex row, so its .wrap shrank to the copy and was centred (h1 at 400 vs breadcrumb 168 at 1440). */
.cat-stage > .wrap { width: 100%; }

/* Item 4 (PDP UI only) ---------------------------------------------------------
   No "Studio photo · manufacturer image" label over the photo; the 3D and exploded captions still show. */
.pdp-viewer[data-mode="photo"] .pdp-tag { display: none; }
/* The maker badge under the viewer kept 0-15 px from the stats rule (touching at 1920): give it room. */
.maker-badge { margin-bottom: clamp(28px, 2.6vw, 44px); }

/* Item 1 · home hero: brighter --------------------------------------------------
   The photos were darkened by the overlays, not the files: no brightness() on the image, a lighter scrim,
   the bottom fade only over the last 15% (max .6), scan lines and glow at half strength. */
.hero-photo img { filter: saturate(.92) contrast(1.06); }
@media (min-width: 900px) {
	.hero .scrim { background:
		linear-gradient(90deg, rgba(4, 8, 15, .55) 0%, rgba(4, 8, 15, .35) 30%, rgba(4, 8, 15, 0) 55%),
		linear-gradient(180deg, rgba(15, 15, 15, 0) 85%, rgba(15, 15, 15, .6) 100%),
		linear-gradient(180deg, rgba(4, 8, 15, .55), rgba(4, 8, 15, 0) 18%); }
	.hero-h, .hero .hero-copy .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
}
.hero .scan { opacity: .5; }
.hero-glow { opacity: .45; }

/* Item 8 · standards ticker edge fade --------------------------------------------
   Version A already masked .std-win; stated here with the spec's values so it survives any later base change.
   With the full-bleed row (item 2) the right fade now ends at the viewport edge. */
.std-win {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* Item 6 · partner logos: identical white tiles, logos normalised by visual height ------------
   (files trimmed to their ink; height from --lh set per logo in home.php, ~40 px). */
.pt-plate { height: 96px; padding: 0 24px; }
.pt-plate img { width: auto; height: var(--lh, 40px); max-height: none; max-width: 100%; object-fit: contain; }
@media (max-width: 640px) {
	.pt-plate { height: 80px; padding: 0 12px; }
	.pt-plate img { width: auto; height: calc(var(--lh, 40px) * .85); max-height: none; }
}

/* Item 5 · industry tiles: the colour grade is baked into the files (scripts/assets/industry-grade.mjs),
   so the old per-tile CSS darkening (grayscale .35, brightness .85) no longer stacks on top of it. */
.ind-img img { filter: none; }

/* Fixes from independent UI QA (docs/polish-2026-11-02/qa/ui-qa.md) ------------------------------ */
/* Q1: the two remaining darkening layers over the hero photo (blue multiply .5, black .28) made the hero read
   as night; at .15 / .08 it reads about as bright as Ronen's demo. Headline and lead keep AA (re-measured). */
.hero-duotone { opacity: .15; }
.hero-shade { opacity: .08; }
/* Q2: the family panel sits right of the scrim; it gets its own dark backing so every line clears AA on all
   three slides. The backing is a pseudo-element outside the box: no layout change. */
@media (min-width: 900px) {
	.hero-fam { position: relative; isolation: isolate; }
	.hero-fam::before { content: ""; position: absolute; inset: -18px -22px; z-index: -1; background: rgba(6, 10, 16, .72); box-shadow: 0 0 48px 24px rgba(6, 10, 16, .35); pointer-events: none; }
}
/* Q4: land slide framing: soldier clear of the dial and the panel (other slides keep 78%). */
.hero-photo .hero-slide[data-slide="land"] img { object-position: 52% 50%; }
@media (max-width: 767px) { .hero-photo .hero-slide[data-slide="land"] img { object-position: 60% 50%; } }
/* Q5: footer bottom row and catalog filter counts. */
.foot-bot { font-size: 15px; }
.cf-n { font-size: 13px; }
/* Q6: partner hosts break after a dot first (<wbr> in the markup); only a single label too long for the
   column (technologydynamicsinc. at 390 px) still falls back to a mid-word break instead of overflowing. */
.pt-sec .ext { overflow-wrap: anywhere; word-break: normal; }
/* Q1 follow-up: with the photo brighter, the copy column and the stats row get a local soft backing
   (pseudo-elements, no layout change) so the lead and stat labels keep AA over the bright air and sea skies. */
@media (min-width: 900px) {
	.hero-copy { position: relative; isolation: isolate; }
	.hero-copy::before { content: ""; position: absolute; inset: -60px -90px -50px -48px; z-index: -1; pointer-events: none;
		background: radial-gradient(ellipse 70% 62% at 62% 52%, rgba(4, 8, 15, .5), rgba(4, 8, 15, .26) 60%, rgba(4, 8, 15, 0) 100%); }
	.hero-foot { position: relative; isolation: isolate; }
	.hero-foot::before { content: ""; position: absolute; inset: -24px -100vw 0; z-index: -1; pointer-events: none;
		background: linear-gradient(180deg, rgba(4, 8, 15, 0), rgba(4, 8, 15, .55) 45%, rgba(4, 8, 15, .7)); }
}
/* Q2: family tab codes a step lighter (tint 45% instead of 60%) so the SPC/LIN codes clear 4.5:1 on the sea slide. */
.htab-code { color: color-mix(in srgb, var(--fam-tint) 45%, #fff); }

/* Product photos: dark / light studio (studio.js) ------------------------------------------------------
   Product photos are full studio frames (dark by default, light on request), so they are shown whole:
   no oval feather mask and no pointer spotlight on them, on product pages and in the angle sequence. */
.pdp-photo, .pdp-angle img { -webkit-mask-image: none; mask-image: none; }
.pdp-light { display: none; }

.studio-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(211, 216, 222, .22); background: rgba(10, 12, 16, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 500 13px/1 var(--font-mono, ui-monospace, Consolas, monospace); letter-spacing: .08em; text-transform: uppercase; }
.studio-toggle-label { padding: 0 8px 0 6px; color: #9AA3AD; }
.studio-toggle button { min-height: 32px; padding: 0 12px; border: 0; background: transparent; color: #D3D8DE; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.studio-toggle button:hover { color: #fff; }
.studio-toggle button[aria-pressed="true"] { background: #D3D8DE; color: #0F0F0F; }
.studio-toggle button:focus-visible { outline: 2px solid #4FA8EE; outline-offset: 2px; }
.pdp-viewer > .studio-toggle { position: absolute; z-index: 3; right: 12px; bottom: 12px; }
.studio-toggle--grid { margin: 0 0 16px auto; display: flex; width: max-content; }
@media (max-width: 599px) { .pdp-viewer > .studio-toggle { right: 8px; bottom: 8px; } .studio-toggle-label { display: none; } }
@media (pointer: coarse) { .studio-toggle button { min-height: 44px; min-width: 56px; } }
/* 3D viewers up to 1365 px: the photo/3D/exploded bar covered the switch (it spans the bottom below 900 px
   and leaves no room beside it up to 1365). The switch sits above the bar in photo mode and is hidden in
   the 3D modes, where no studio photo is shown. */
@media (max-width: 1365px) {
	.pdp-viewer:has(.pdp-modes) > .studio-toggle { bottom: 80px; }
	.pdp-viewer:has(.pdp-modes):not([data-mode="photo"]) > .studio-toggle { display: none; }
}
@media (max-width: 899px) { .pdp-viewer:has(.pdp-modes) > .studio-toggle { right: 12px; bottom: 72px; } }
/* Desktop keeps the switch beside the bar; its "Studio" label ran under the bar, so it goes, as on phones. */
@media (min-width: 1366px) { .pdp-viewer:has(.pdp-modes) > .studio-toggle .studio-toggle-label { display: none; } }
