/* ==========================================================================
   Session 04 — Public page sections (hero, reusable content blocks)
   Uses only the existing design tokens from style.css; no new magic values.
   ========================================================================== */

/* ---- The ONE image frame contract (Workstream A, image-slot rebuild) -------
   Every slot's own wrapper sets `aspect-ratio` + `overflow:hidden` + `min-
   width:0` (its shape never changes); this is the only rule that touches the
   <img> itself, for every slot site-wide, via `art_frame_image()`
   (inc/sections.php). The frame's box is set ENTIRELY by the wrapper's own
   CSS, never by the image's intrinsic size — so any aspect/orientation/
   resolution a real photo arrives in still fills the exact same box.
   `--art-focal-x`/`--art-focal-y` are percentages set inline per-attachment
   (admin click-to-set, default 50/50 = center); `object-position` reads them
   with a safe fallback so an image with no focal point set yet still centers. */
.art-frame__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var( --art-focal-x, 50% ) var( --art-focal-y, 50% );
}
.art-frame__img--contain {
	object-fit: contain;
}

/* ---- Reveal-on-scroll (progressive enhancement, see assets/js/reveal.js) ---
   Values come entirely from the motion-system tokens in style.css :root
   (--art-reveal-*), so distance/duration/easing are tuned in one place and
   this file never hardcodes them. reveal.js only ever adds js-reveal-ready
   after confirming motion is permitted, so with no JS (or reduced-motion)
   nothing here ever hides content. */

.js-reveal-ready .art-reveal {
	opacity: 0;
	transform: translateY(var(--art-reveal-distance));
	transition: opacity var(--art-reveal-duration) var(--art-reveal-ease), transform var(--art-reveal-duration) var(--art-reveal-ease);
	will-change: opacity, transform;
}

.js-reveal-ready .art-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---- Staggered children ---------------------------------------------------
   reveal.js adds .has-stagger + per-child --art-reveal-index ONLY to sections
   it decides to reveal on scroll (genuinely below the fold). Above-the-fold
   sections are marked is-visible synchronously and never receive .has-stagger,
   so their children are never hidden — the no-flash invariant holds. For a
   staggered section the wrapper itself stops translating (it is instantly
   present); the children carry the motion, revealing in sequence. */

.js-reveal-ready .art-reveal.has-stagger {
	opacity: 1;
	transform: none;
}

.js-reveal-ready .art-reveal.has-stagger .art-stagger-item {
	opacity: 0;
	transform: translateY(var(--art-reveal-distance));
	transition: opacity var(--art-reveal-duration) var(--art-reveal-ease), transform var(--art-reveal-duration) var(--art-reveal-ease);
	transition-delay: calc(var(--art-stagger-step) * var(--art-reveal-index, 0));
	will-change: opacity, transform;
}

.js-reveal-ready .art-reveal.has-stagger.is-visible .art-stagger-item {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.js-reveal-ready .art-reveal,
	.js-reveal-ready .art-reveal.has-stagger .art-stagger-item {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.art-section--inverse {
	background-color: var(--art-color-surface-inverse);
	color: var(--art-color-text-inverse);
}

.art-section--inverse h2,
.art-section--inverse h3 {
	color: var(--art-color-text-inverse);
}

/* Section descriptions were previously always muted, which only went
   unnoticed while most headings had no supporting copy. Real-length copy
   needs AA contrast on both paper and inverse surfaces. */
.art-section .art-section-header__description {
	color: var(--art-color-text);
}

/* `.art-section .art-section-header__description` above darkens the section
   intro to body-text so it stays AA on light surfaces. Any band that flips to
   a dark/colored background must re-light the description at equal-or-greater
   specificity AND later in the cascade than that rule, or it inherits
   near-black on near-black. `.art-section--inverse` bands do this already;
   the closing CTA renders through `.art-global-cta--{variant}` (a different
   class that still carries `.art-section`), so its inverse/primary variants
   need the same override here — not in style.css, which loads *before* this
   file and therefore loses at equal specificity. (Reported Session 19.1: the
   inverse rental CTA description computed #15181B on #15181B = 1:1.) */
.art-section--inverse .art-section-header__description,
.art-global-cta--inverse .art-section-header__description {
	color: var(--art-color-text-inverse);
}

.art-global-cta--primary .art-section-header__description {
	color: var(--art-color-primary-contrast);
}

/* ---- Icon ---- */

/* The icon draws with stroke:currentColor, so it must FOLLOW its container's
   color rather than pinning its own — otherwise, when a container inverts its
   background on hover/focus/active (e.g. .art-icon-card__icon → brand fill), the
   icon keeps this colour and vanishes (green-on-green). Inheriting currentColor
   makes every icon invert together with whatever it sits in. Each icon container
   sets its own resting colour (icon-card/process → primary, trust-strip/contact
   → accent, buttons/links → their text colour). */
.art-icon {
	color: inherit;
}

/* ---- Fluid display scale applied (Session 04.5A) ---- */

/* Interior pages get the smaller --art-hero-size-interior role by default;
   .art-page-hero--home (added only for the homepage, sections.php) opts
   into the larger --art-hero-size below. Before Session 10 every page
   shared one size — measured as an identical 77px/43px H1 on all 16
   pages, with no hierarchy between the homepage and interior titles. */
.art-page-hero h1 {
	font-size: var(--art-hero-size-interior);
	letter-spacing: var(--art-heading-tracking);
	line-height: 1.05;
	/* Large display type wraps into more even, deliberate lines. */
	text-wrap: balance;
}

.art-page-hero--home h1 {
	font-size: var(--art-hero-size);
}

.art-page-hero--full-bleed h1,
.art-page-hero--editorial-dark h1 {
	font-size: var(--art-hero-size-compact);
}

.art-section-header h2 {
	font-size: var(--art-section-heading-size);
	letter-spacing: var(--art-heading-tracking);
	line-height: 1.1;
	text-wrap: balance;
}

/* ---- Page hero ---- */

/* Session 11: image-led hero padding trimmed 48/72px -> 32/48px — still
   the most spacious hero variant (reserved for real photography), but no
   longer justifying cinematic-slide spacing with no image behind it on
   any current page. */
.art-page-hero {
	position: relative;
	padding-block: var(--art-space-lg) var(--art-space-lg);
	overflow: hidden;
}

/* No hero image yet: the text is the only content, so the same padding
   used for a full-bleed photo hero reads as dead air above and below it
   (measured at 152px combined on a real render — see docs/DESIGN-SYSTEM.md
   "Session 08"). Session 11: decisive further cut, 32/48px -> 20/32px
   (52px total, down from the original 152px) — this is the variant every
   current page actually renders, and it was still the single largest
   contributor to "CTA to next section" feeling like a separate slide. */
.art-page-hero--no-media {
	padding-block: var(--art-space-md) var(--art-space-lg);
}

.art-page-hero__inner {
	display: grid;
	gap: var(--art-space-xl);
	align-items: center;
}

/* Mobile: the split-media hero stacked to ~714px (near a full 844 viewport),
   burying the page's content — and on the rentals page, the fleet grid — far
   below the fold. Tighten the hero's own padding, the text↔media gap, and cap
   the stacked photo height so the next section is reachable in the first
   viewport, without touching the desktop editorial hero. (2026-08-02 ATF.) */
@media (max-width: 48em) {
	.art-page-hero {
		padding-block: var(--art-space-md) var(--art-space-lg);
	}
	.art-page-hero__inner {
		gap: var(--art-space-lg);
	}
}

/* Workstream A fix: `max-height` is a CAP, not a fixed box — a very wide
   (panoramic) source computes shorter than 120px from its own aspect ratio
   and never hits the cap, so the frame rendered shorter than this rule
   intended (caught by the A8 fixture proof: a 5000x800 panoramic shrank the
   mobile hero from 146px to 82px and shifted the whole page). A true fixed
   `height` on the WRAPPER (not `max-height` on the image) makes every
   source — any aspect ratio — render at the same height; `.art-frame__img`
   (global rule) already supplies object-fit:cover. Spans up to the exact
   `64em` desktop breakpoint below (no gap in between — the previous `48em`
   cutoff left 48em-64em viewports, e.g. a tablet, with no box at all, which
   is why the fixture proof's "tablet" case failed identically). */
@media (max-width: 63.9375em) {
	.art-hero-frame {
		height: 120px;
	}
	/* Repair session (2026-12): same fix as the desktop rule below — this
	   wrapper's own overflow:hidden was clipping its ::after corner tick
	   (no min-width gate, so it renders at every viewport) along with the
	   image, which is why the tick was visible in the baseline screenshot
	   at 390px but absent from the current one. object-fit:cover on the
	   <img> (global .art-frame__img rule) already fits it to this fixed
	   120px height without needing the parent to clip. */
}

.art-page-hero--split-media .art-page-hero__inner {
	grid-template-columns: 1fr;
}

@media (min-width: 64em) {
	.art-page-hero--split-media:not(.art-page-hero--no-media) .art-page-hero__inner {
		grid-template-columns: 1.1fr 1fr;
	}
}

/* No hero image configured yet (the common case right now — no real
   photography exists): the grid-template-columns rule above already stops
   reserving a phantom media column, and — found via a Session 06 rendered
   screenshot — the text block still read as pushed into the left ~55% with
   a large dead right-hand void, because it stayed left-aligned inside a
   now-full-width row. Centering it here (overriding whatever `align` the
   page's hero is configured with, since a left-aligned hero only makes
   compositional sense once real media anchors the other side) removes that
   asymmetry entirely. Once an administrator adds a real hero image this
   rule no longer applies and the configured alignment governs again. */
.art-page-hero--no-media .art-page-hero__content {
	margin-inline: auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

/* A lightweight, CSS-only technical/diagnostic grid — the brief's
   "no-image hero must not read as a large empty text block" — drawn
   behind the text with two faint repeating-linear-gradients (a real grid,
   not an image). Purely decorative (aria-hidden equivalent: it's a
   background-image, never read by assistive tech), fixed cost regardless
   of viewport, and automatically stops applying the moment a real hero
   image is configured (the rule is scoped to --no-media only). */
.art-page-hero--no-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(90deg, var(--art-color-border) 0 1px, transparent 1px 88px),
		repeating-linear-gradient(0deg, var(--art-color-border) 0 1px, transparent 1px 88px);
	opacity: 0.35;
	mask-image: radial-gradient(ellipse 70% 90% at 50% 40%, #000 0%, transparent 75%);
}

.art-page-hero--no-media .art-page-hero__actions {
	justify-content: center;
}

.art-page-hero__content {
	max-width: var(--art-container-narrow);
	position: relative;
	z-index: 1;
}

.art-page-hero--align-center .art-page-hero__content {
	margin-inline: auto;
	text-align: center;
}

/* Workstream A: the split-media hero frame used to size itself from the
   image's own intrinsic ratio (`height: auto`) — swapping in a differently-
   shaped photo (panoramic vs. tall) changed the hero's height, a real CLS
   source the fixture proof caught. Desktop now fixes the frame's box with
   `aspect-ratio` + `overflow: hidden` on `.art-hero-frame` itself (below);
   the decorative shadow/radius move there too — attached to the FRAME, never
   the <img> — so clipping the image doesn't also clip its own drop shadow.
   `.art-frame__img` (global rule, top of this file) now supplies width/
   height/object-fit/object-position; nothing image-specific is needed here.
   Mobile keeps its pre-existing fixed `max-height` treatment below, which
   was already frame-safe (a constant height regardless of image shape). */

/* Session 18.1 — signature "instrument plate". The old treatment was two thin
   diagnostic-viewfinder corner brackets; the owner reported the site still
   read as unchanged, so this evolves the same motif into a composed plate:
   the photo sits in front of an offset accent registration frame (depth
   without a heavy drop shadow), with one precise filled corner tick keeping
   the "targeted/precise" instrument language. The bold offset frame lives
   only here (heroes clip their own overflow, and this is the page's one
   signature moment); split-block media below uses a quieter variant. */
.art-hero-frame {
	position: relative;
}

@media (min-width: 64em) {
	.art-hero-frame {
		aspect-ratio: 4 / 3;
		min-width: 0;
		box-shadow: var(--art-elev-media);
	}
	/* Repair session (2026-12): rounding/cropping moved from the WRAPPER's
	   own overflow:hidden onto the <img> itself. The wrapper also hosts the
	   ::before offset plate and ::after corner tick below, both deliberately
	   positioned to extend beyond this box ("peeks out as a second plane" —
	   see the comment above .art-hero-frame); the wrapper's overflow:hidden
	   was clipping its own decorative pseudo-elements along with the image,
	   squashing the peeking plate/tick into thin slivers at the box edge
	   instead of the intended layered look (found via the baseline-vs-
	   current screenshot comparison, docs/VISUAL-QA.md). object-fit:cover
	   (global .art-frame__img rule) still crops the photo; border-radius on
	   a replaced element like <img> clips its own corners without needing
	   the parent's overflow:hidden.
	   */
	.art-hero-frame .art-frame__img {
		border-radius: var(--art-radius-panel);
	}
}

/* Offset registration frame, drawn behind the photo and shifted toward the
   lower-right so it peeks out as a second plane. Desktop only — on a phone
   the media is full-width and a peeking frame would fight the gutter. */
@media (min-width: 48em) {
	.art-hero-frame::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 0;
		transform: translate(var(--art-plate-offset), var(--art-plate-offset));
		border: 1.5px solid var(--art-plate-frame);
		border-radius: var(--art-radius-panel);
		pointer-events: none;
	}
}

/* One precise corner tick at the photo's top-left — the surviving trace of
   the diagnostic-viewfinder motif, now a single deliberate registration mark
   rather than a symmetrical pair of brackets. */
.art-hero-frame::after {
	content: "";
	position: absolute;
	top: -0.35rem;
	left: -0.35rem;
	width: 1.75rem;
	height: 1.75rem;
	z-index: 2;
	border-top: 2px solid var(--art-color-accent);
	border-left: 2px solid var(--art-color-accent);
	pointer-events: none;
}

/* max-width: none overrides the global `p { max-width: 65ch }` reading-
   measure reset (style.css). That rule is meant for prose paragraphs, but
   this element is a `<p>` reused as a structural flex container for the
   CTA buttons — the 65ch cap (≈661px at this scale) clipped the box
   narrower than its 720px hero-content parent with no compensating
   auto margin, so it sat flush against the left edge and `justify-content:
   center` below only centered the buttons *inside* that already-shifted
   box. Found by comparing getBoundingClientRect() of the box against its
   parent, not by reading the rule in isolation (see docs/DESIGN-SYSTEM.md
   "Session 09"). */
/* Session 11: description-to-CTA gap trimmed --art-space-lg (32px) ->
   --art-space-md (20px), inside the 22-32px desktop / 20-26px mobile
   target band at both ends at once. */
.art-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--art-space-md);
	margin-top: var(--art-space-md);
	max-width: none;
}

.art-page-hero--align-center .art-page-hero__actions {
	justify-content: center;
}

.art-heading-highlight {
	color: var(--art-color-primary);
}

/* On dark heroes the brand green highlight drops to ~2.8:1 (below the 3:1
   large-text floor). These are Direction-B dark surfaces, whose accent is
   amber — it reads at ~6.6:1 on the dark hero and matches the rentals/Bolt
   accent used elsewhere on the same pages. (Audit 2026-08-02.) */
.art-page-hero--editorial-dark .art-heading-highlight,
.art-page-hero--full-bleed .art-heading-highlight {
	color: var(--art-color-accent);
}

/* Homepage credential row — slim, hairline-bounded, sits right under the hero.
   Real settings-sourced trust signals (din <year> · VARTA · Bolt), asserted
   above the fold. Editorial (Direction A): mono small-caps, accent icons. */
.art-credbar {
	border-block: 1px solid var(--art-color-border, rgba(41, 35, 29, 0.14));
	background: var(--art-color-surface, #fbfaf7);
}
.art-credbar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 1rem + 3vw, 2.75rem);
	margin: 0;
	padding: var(--art-space-sm, 12px) 0;
	list-style: none;
}
.art-credbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--art-font-primary, sans-serif);
	font-size: var(--art-font-size-small, 0.82rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--art-color-text, #29231d);
}
.art-credbar__icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	color: var(--art-color-primary);
}
@media (max-width: 39.999em) {
	.art-credbar__list { gap: 0.5rem 1.25rem; }
	.art-credbar__item { font-size: 0.72rem; }
}

/* Full-bleed / editorial-dark: background media with overlay, light text */
.art-page-hero--full-bleed,
.art-page-hero--editorial-dark {
	color: var(--art-color-text-inverse);
	padding-block: var(--art-space-2xl);
	min-height: 32rem;
	display: flex;
	align-items: center;
}

.art-page-hero--full-bleed .art-page-hero__inner,
.art-page-hero--editorial-dark .art-page-hero__inner {
	grid-template-columns: 1fr;
}

.art-page-hero--full-bleed h1,
.art-page-hero--editorial-dark h1,
.art-page-hero--full-bleed .art-eyebrow,
.art-page-hero--editorial-dark .art-eyebrow,
/* Session 04.6 fix: .art-hero__intro (style.css) sets its own explicit
   color: var(--art-color-text-muted) — an element's own declared color
   always wins over an inherited value from a dark-hero parent, so the
   parent-level inverse-text rule above never reached it. Measured before
   this fix: text-muted on the dark hero background = 2.85:1 (fails WCAG
   AA even for large text); text-inverse on the same background = 16.37:1.
   A compound selector here has higher specificity than the plain
   .art-hero__intro rule it needs to beat, so no !important is needed. */
.art-page-hero--full-bleed .art-hero__intro,
.art-page-hero--editorial-dark .art-hero__intro {
	color: var(--art-color-text-inverse);
}

.art-page-hero__media--background {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.art-page-hero__media--background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.art-page-hero__media--background::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, var(--art-color-secondary) 0%, rgba(21, 24, 27, 0.78) 32%, rgba(21, 24, 27, 0.35) 62%, rgba(21, 24, 27, 0.1) 100%);
}

.art-page-hero--overlay-none .art-page-hero__media--background::after {
	opacity: 0;
}

.art-page-hero--overlay-light .art-page-hero__media--background::after {
	opacity: 0.55;
}

.art-page-hero--overlay-medium .art-page-hero__media--background::after {
	opacity: 0.78;
}

.art-page-hero--overlay-strong .art-page-hero__media--background::after {
	opacity: 0.94;
}

.art-page-hero--editorial-dark {
	background-color: var(--art-color-secondary);
}

.art-page-hero--editorial-light {
	background-color: var(--art-color-background-alt);
}

.art-page-hero--editorial-light .art-page-hero__inner,
.art-page-hero--editorial-dark:not(.art-page-hero--full-bleed) .art-page-hero__inner {
	grid-template-columns: 1fr;
}

/* ---- Split content block (intro / image-text) ---- */

.art-split-block {
	display: grid;
	gap: var(--art-space-2xl);
	align-items: center;
}

@media (min-width: 64em) {
	.art-split-block--left,
	.art-split-block--right {
		grid-template-columns: 1fr 1fr;
	}

	/* Phase 9: a section with no real image is text-only (no placeholder box) —
	   single column, with the text kept at a comfortable measure. */
	.art-split-block--no-media.art-split-block--left,
	.art-split-block--no-media.art-split-block--right {
		grid-template-columns: 1fr;
	}

	.art-split-block--right .art-split-block__media {
		order: 2;
	}

	/* Session 18: art_section_intro() always renders text before media in
	   the DOM (unlike art_section_image_text(), which swaps DOM order
	   itself) — without this, its own "left" position had no visual
	   effect, since grid column-fill defaults to DOM order regardless of
	   the --left/--right class. */
	.art-split-block--left .art-split-block__media {
		order: -1;
	}
}

/* Session 18.1: split-block media is the quiet counterpart to the hero's
   instrument plate — a larger radius, the same directional contact shadow,
   and a crisp 1px inner hairline for definition. No offset frame or corner
   tick here: those stay unique to the hero so the page has one signature
   moment, not a repeated flourish down five stacked bands. */
/* No image on this intro/image-text block: it has no visual partner, so it
   renders as a centred, width-constrained statement — never text pinned to the
   container's left edge with an empty half beside it. This is the alignment
   rule (DESIGN-SYSTEM.md → "Section alignment"): centred when a section stands
   alone, left-aligned only when paired with something beside it. The block also
   passes align=center to its section-header in PHP, so heading/eyebrow/
   description centre with it. Mirrors the hero's own no-media centring. */
.art-split-block--no-media {
	max-width: var(--art-container-narrow);
	margin-inline: auto;
	text-align: center;
}
.art-split-block--no-media .art-split-block__text {
	max-width: 100%;
}
.art-split-block--no-media .art-section-header,
.art-split-block--no-media .art-split-block__text > p {
	margin-inline: auto;
}

/* Workstream A: fixed frame box (was `height: auto`, sized by whatever photo
   was uploaded — a real CLS source). Shadow/hairline/radius live on the
   frame now, not the <img>, so `overflow: hidden` doesn't clip the shadow. */
/* De-template pass (2026-12-04): dropped --art-elev-media, same as
   .art-service-panel__media in style.css — hairline border only. */
.art-split-block__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	min-width: 0;
	border-radius: var(--art-radius-panel);
	box-shadow: inset 0 0 0 1px var(--art-hairline);
}

/* ---- Card grid column control (flexbox — see style.css .art-card-grid) --- */

.art-card-grid--cols-2 > * {
	flex-basis: 280px;
	max-width: 460px;
}

.art-card-grid--cols-3 > * {
	flex-basis: 240px;
	max-width: 360px;
}

.art-card-grid--cols-4 > * {
	flex-basis: 210px;
	max-width: 280px;
}

/* De-template pass (2026-12-04): removed the counter-driven "01/02" serif
   index (::after, decimal-leading-zero) — the other instance of the
   decorative numbered-section-marker tell, alongside
   .art-service-panel__number in style.css. The thin amber top rule stays:
   it is not a number, and reads closer to the fleet-class "quiet category
   tag" the brief explicitly keeps than to a generated-template ordinal. */
.art-icon-card {
	text-align: left;
	border-top: 2px solid var(--art-color-accent);
}

/* Session 18.1: the icon was a thin bordered circle that read as a faint
   UI chip; a filled, brand-tinted rounded-square "plate" gives each service
   card a solid, spec-sheet anchor. On hover the plate fills with the brand
   teal (card also lifts, see .art-card--interactive), so the whole card
   reads as one deliberate, clickable object rather than a flat box. */
.art-icon-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: var(--art-radius-card);
	background: var(--art-tile-tint);
	border: 1px solid var(--art-hairline);
	color: var(--art-color-primary);
	margin-bottom: var(--art-space-md);
	transition: background-color var(--art-duration-normal) var(--art-ease-standard), color var(--art-duration-normal) var(--art-ease-standard), border-color var(--art-duration-normal) var(--art-ease-standard);
}

.art-icon-card__icon svg {
	width: 1.4rem;
	height: 1.4rem;
}

.art-card--interactive:hover .art-icon-card__icon {
	background: var(--art-color-primary);
	border-color: var(--art-color-primary);
	color: var(--art-color-primary-contrast);
}

/* ---- Trust strip (instrument-readout band) ----
   Session 06: dropped the vertical-rule divider between items — with only
   a handful of items and real-world wrapping, a `:not(:first-child)`
   divider ends up orphaned at the start of a wrapped row (found via a
   rendered screenshot). Generous, even gap reads just as clean without
   that failure mode, and centers correctly regardless of item count or
   how many wrap. */
.art-trust-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--art-space-lg) var(--art-space-2xl);
	max-width: var(--art-container-narrow);
	margin-inline: auto;
}

.art-trust-strip__item {
	display: flex;
	align-items: center;
	gap: var(--art-space-sm);
	font-weight: var(--art-font-weight-strong);
}

/* Session 18: a bare inline icon read as thin next to the surrounding
   text weight -- a bordered circle gives it the same visual weight as
   the process-steps/icon-card treatments elsewhere, one consistent
   "badged icon" language across the site. */
.art-trust-strip__icon {
	color: var(--art-color-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	flex-shrink: 0;
}

.art-trust-strip__icon svg {
	width: 1.05rem;
	height: 1.05rem;
}

@media (max-width: 47.999em) {
	.art-trust-strip {
		flex-direction: column;
		gap: var(--art-space-md);
	}
}
.art-home-practical-strip { width: 100%; max-width: var(--art-container); margin: 0 auto; padding-inline: var(--art-page-gutter); padding: 0 0 var(--art-space-md); background: transparent; }
.art-home-practical-strip__cells { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--art-space-sm); align-items: stretch; }
.art-home-practical-strip__cell { display: flex; min-height: 76px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-width: 0; padding: 10px 14px; border: 1px solid var(--art-color-border-strong); border-radius: var(--art-radius-card); background: var(--art-color-surface); text-align: center; }
.art-home-practical-strip__label { color: var(--art-color-text-muted); font: 600 .75rem/1.2 var(--art-font-primary, sans-serif); }
.art-home-practical-strip__value { color: var(--art-color-text); font: 500 .9rem/1.3 var(--art-font-primary, sans-serif); text-decoration: none; }
.art-home-practical-strip__value[href] { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 47.999em) {
	.art-home-practical-strip__cells { grid-template-columns: 1fr; }
	.art-home-practical-strip { padding-bottom: var(--art-space-sm); }
	.art-home-practical-strip__cell { min-height: 68px; padding: 9px 14px; }
}

/* Service area: a settings-sourced trust anchor rendered below the editable
   trust items (the towns ARTNICOS serves). */
.art-trust-strip__area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: var(--art-space-xs) var(--art-space-sm);
	max-width: var(--art-container-narrow);
	margin: var(--art-space-lg) auto 0;
	padding-top: var(--art-space-md);
	border-top: var(--art-hairline);
	text-align: center;
	color: var(--art-color-text-muted);
	font-size: var(--art-font-size-small);
}

.art-trust-strip__area-icon {
	color: var(--art-color-accent);
	display: inline-flex;
	align-self: center;
}

.art-trust-strip__area-icon svg {
	width: 1rem;
	height: 1rem;
}

.art-trust-strip__area-label {
	font-weight: var(--art-font-weight-strong);
	color: var(--art-color-text);
}

/* Opening hours line inside the contact-strip (settings-sourced). */
.art-contact-hours {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--art-space-xs) var(--art-space-sm);
	margin: 0 auto var(--art-space-xl);
	text-align: center;
}

.art-contact-hours__icon {
	color: var(--art-color-accent);
	display: inline-flex;
	align-items: center;
}

.art-contact-hours__icon svg {
	width: 1.1rem;
	height: 1.1rem;
}

.art-contact-hours__label {
	font-weight: var(--art-font-weight-strong);
}

.art-contact-hours__value {
	color: var(--art-color-text-muted);
}

/* ---- Process steps ---- */

.art-process-steps {
	display: grid;
	gap: var(--art-space-md);
	counter-reset: none;
	/* Session 18: one continuous line across the whole row (instead of a
	   border-top repeated per item, which "gap" breaks into disconnected
	   segments) reads as a real timeline device, not five separate cards
	   that happen to share a rule. */
	border-top: 2px solid var(--art-color-border);
	padding-top: var(--art-space-lg);
}

@media (min-width: 48em) {
	.art-process-steps {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}

.art-process-steps__item {
	position: relative;
	padding-top: 0;
	border-top: none;
}

.art-process-steps__number {
	/* --art-color-accent measures 2.46:1 on this section's background —
	   fails WCAG's 4.5:1 minimum for real text (see docs/DESIGN-SYSTEM.md
	   Session 06 contrast audit). --art-color-primary passes at 5.85:1
	   and keeps the same monospace "readout" treatment. Session 18: a
	   bordered circle gives the number the same weight as the trust-strip/
	   icon-card badges instead of reading as a stray small label. */
	font-family: var(--art-font-primary);
	/* Session 18.1: filled brand badge instead of a thin outline — gives the
	   step marker the same solid weight as the redesigned icon-card plates,
	   one consistent "badge" language across process, cards and trust strip. */
	background: var(--art-color-primary);
	color: var(--art-color-primary-contrast);
	font-size: var(--art-font-size-small);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1.5px solid var(--art-color-primary);
	margin-bottom: var(--art-space-sm);
}

.art-process-steps__icon {
	display: inline-flex;
	color: var(--art-color-primary);
	margin-bottom: var(--art-space-xs);
}

.art-section--inverse .art-process-steps {
	border-top-color: var(--art-color-secondary-hover);
}

.art-section--inverse .art-process-steps__number {
	/* On graphite, a light-teal fill with a dark numeral reads brighter than
	   a white outline and keeps the filled-badge language from the light
	   sections. --art-color-primary-on-dark is the AA-safe on-dark teal. */
	background: var(--art-color-primary-on-dark);
	border-color: var(--art-color-primary-on-dark);
	color: var(--art-color-secondary);
}

/* ---- Testimonials ---- */

.art-testimonial-card {
	display: flex;
	flex-direction: column;
	gap: var(--art-space-sm);
}

/* Session 18.1: the small quote icon is replaced with a large Fraunces
   quotation glyph — an editorial device that gives each testimonial real
   presence and leans on the display face already in the system. The original
   icon is hidden rather than removed from the markup (kept for any theme
   that turns webfonts off). Decorative: the quote text itself lives in the
   <blockquote>, so this is not read by assistive tech. */
.art-testimonial-card__quote-mark {
	color: var(--art-color-accent);
	display: block;
	font-family: var(--art-font-primary, sans-serif);
	font-size: 3rem;
	line-height: 0.6;
	height: 1.4rem;
}

.art-testimonial-card__quote-mark svg {
	display: none;
}

.art-testimonial-card__quote-mark::before {
	content: "\201C";
}

.art-testimonial-card blockquote {
	margin: 0;
	max-width: none;
}

.art-testimonial-card figcaption {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4em 0.6em;
	font-size: var(--art-font-size-small);
	color: var(--art-color-text-muted);
}

.art-testimonial-card__photo {
	width: 32px;
	height: 32px;
	border-radius: var(--art-radius-pill);
	object-fit: cover;
}

.art-testimonial-card__name {
	font-weight: var(--art-font-weight-strong);
	color: var(--art-color-text);
}

.art-testimonial-card__rating {
	color: var(--art-color-accent);
	letter-spacing: 0.05em;
}

/* ---- Team ---- */

/* WS5 fix (2026-12, image-slot extreme-shape matrix): the frame box now
   lives on a dedicated WRAPPER (`.art-team-card__photo-frame`), matching
   every other slot's contract (`.art-frame__img` contract comment, top of
   this file) — the aspect-ratio/overflow/radius/margin were previously on
   the <img> itself (`.art-team-card__photo`), with no wrapper at all. That
   meant `.art-frame__img`'s global `height:100%` had no definite
   containing block to resolve against (the <img>'s own parent is
   `.art-card.art-team-card`, which has no definite height) — it collapsed
   to the image's own uncontrolled rendered size instead of a fixed 1:1 box,
   the exact CLS-prone failure mode documented in this file's hero-regression
   note above, just never caught because no team member had ever had a real
   photo (`thumbnail_id` was 0 for every member in every prior QA pass).
   Caught via WS5's fixture matrix (a panoramic 5000x800 source rendered at
   ~310x510 instead of 310x310). */
.art-team-card__photo-frame {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--art-radius-input);
	margin-bottom: var(--art-space-sm);
}

/* Session 04.6: matches .art-team-card__photo's own box (same aspect
   ratio/radius/margin) so the placeholder-graphic else-branch occupies
   the identical slot a real photo would. */
.art-team-card__media {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--art-radius-input);
	margin-bottom: var(--art-space-sm);
	overflow: hidden;
}

.art-team-card__media .art-placeholder {
	border-radius: 0;
}

.art-team-card__role {
	color: var(--art-color-primary);
	font-weight: var(--art-font-weight-strong);
	font-size: var(--art-font-size-small);
}

.art-team-card__specialties {
	font-size: var(--art-font-size-small);
	color: var(--art-color-text-muted);
}

/* ---- FAQ (native <details>/<summary> — accessible with zero JS) ---- */

.art-faq-list {
	display: flex;
	flex-direction: column;
	gap: var(--art-space-sm);
}

/* Session 10 continuation: vertical padding trimmed --art-space-md (20px)
   -> --art-space-sm (12px). Question row (16px body text * 1.6 line-height
   = 25.6px) + 12px top/bottom still clears the 44px practical target
   height (≈49.6px) without the old, measured-excessive breathing room. */
.art-faq-item {
	background: var(--art-color-surface);
	border: var(--art-border-width) solid var(--art-color-border);
	border-radius: var(--art-radius-card);
	padding: var(--art-space-sm) var(--art-space-lg);
}

.art-faq-item__question {
	cursor: pointer;
	font-weight: var(--art-font-weight-strong);
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--art-space-md);
}

.art-faq-item__question::-webkit-details-marker {
	display: none;
}

.art-faq-item__question::after {
	content: "+";
	font-family: var(--art-font-primary);
	color: var(--art-color-primary);
	flex-shrink: 0;
}

.art-faq-item[open] .art-faq-item__question::after {
	content: "\2212";
}

.art-faq-item__answer {
	padding-top: var(--art-space-sm);
	color: var(--art-color-text-muted);
}

.art-faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* ---- FAQ page filter surface (pills + live search + count + empty state) ----
   Only /intrebari-frecvente/ renders this. Progressive enhancement: `.is-hidden`
   (+ the `hidden` attribute) hides non-matching items/empty-state server-side
   with no script; faq-filter.js toggles the same state live. */
.art-faq {
	display: flex;
	flex-direction: column;
	gap: var(--art-space-md);
	scroll-margin-top: var(--art-space-2xl);
}

.art-faq-search { margin: 0; }
/* Label kept for assistive tech; the placeholder carries the visible hint. */
.art-faq-search__label {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.art-faq-search__row { display: flex; gap: var(--art-space-sm); }
.art-faq-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px var(--art-space-md);
	border: var(--art-border-width) solid var(--art-color-border);
	border-radius: var(--art-radius-input);
	background: var(--art-color-surface);
	color: var(--art-color-text);
	font: 400 1rem/1.4 var(--art-font-primary);
}
.art-faq-search__input::placeholder { color: var(--art-color-text-muted); }
.art-faq-search__input:focus-visible {
	outline: 2px solid var(--art-color-focus);
	outline-offset: 2px;
	border-color: var(--art-color-accent);
}
.art-faq-search__submit { flex: 0 0 auto; }

.art-faq-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--art-space-xs);
}
.art-faq-filters__pill {
	appearance: none;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 15px;
	border-radius: var(--art-radius-pill);
	border: var(--art-border-width) solid var(--art-color-border);
	background: transparent;
	color: var(--art-color-text);
	font: 500 0.92rem/1 var(--art-font-primary);
	transition: border-color var(--art-hover-duration, 170ms) var(--art-ease-standard, ease),
		color var(--art-hover-duration, 170ms) var(--art-ease-standard, ease),
		background var(--art-hover-duration, 170ms) var(--art-ease-standard, ease);
}
.art-faq-filters__pill:hover {
	border-color: color-mix(in srgb, var(--art-color-primary) 45%, transparent);
}
.art-faq-filters__pill:focus-visible {
	outline: 2px solid var(--art-color-focus);
	outline-offset: 2px;
}
.art-faq-filters__pill.is-active {
	background: var(--art-color-accent);
	border-color: var(--art-color-accent);
	/* on-accent text (dark), NOT --art-color-accent-text (brown, for text on light):
	   the same token the fleet active pill uses, so the amber fill stays legible. */
	color: var(--art-color-accent-contrast, #15181b);
}
.art-faq-filters__count {
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
	opacity: 0.7;
}
.art-faq-filters__pill.is-active .art-faq-filters__count { opacity: 0.9; }

.art-faq__count {
	margin: 0;
	color: var(--art-color-text-muted);
	font-size: var(--art-font-size-small, 0.9rem);
	font-variant-numeric: tabular-nums;
}

.art-faq-empty {
	text-align: center;
	padding: var(--art-space-xl) var(--art-space-lg);
	border: var(--art-border-width) dashed var(--art-color-border);
	border-radius: var(--art-radius-card);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--art-space-sm);
}
.art-faq-empty__title {
	margin: 0;
	font-weight: var(--art-font-weight-strong);
	color: var(--art-color-text);
}
.art-faq-empty__text {
	margin: 0;
	color: var(--art-color-text-muted);
	max-width: 46ch;
}
.art-faq-empty .art-btn { margin-top: var(--art-space-2xs); }

/* Server-side (no-JS) and script both use this to drop non-matching items. */
.art-faq-item.is-hidden,
.art-faq-empty.is-hidden { display: none; }

/* ---- Contact cards ---- */

.art-contact-card {
	text-align: center;
}

.art-contact-card .art-icon-card__icon {
	margin-inline: auto;
}

/* ---- Notice block ---- */

.art-notice-block {
	background: var(--art-color-background-alt);
	border-left: 3px solid var(--art-color-accent);
	border-radius: var(--art-radius-input);
	padding: var(--art-space-md) var(--art-space-lg);
}

/* ---- Responsive: hero at small viewports ---- */

@media (max-width: 47.999em) {
	.art-page-hero {
		padding-block: var(--art-space-xl) var(--art-section-space-compact);
	}

	.art-page-hero--full-bleed,
	.art-page-hero--editorial-dark {
		min-height: 24rem;
	}

	.art-page-hero__actions .art-button {
		width: 100%;
	}
}

/* ==========================================================================
   Session 18.1 — editorial composition layer
   New additive rules only (no existing selector is duplicated here). Builds
   the "composed panel" rhythm the owner asked to actually see: dark bands
   announce themselves with a registration seam instead of arriving as an
   abrupt slab, and testimonials read as deliberate editorial cards.
   ========================================================================== */

/* Inverse content bands (trust strips, the rental band, the services intro
   panel) get a short accent registration tick along their top edge — the
   same instrument language as the hero corner mark and the mono eyebrows,
   turning a flat colour change into an intentional panel opening. Scoped to
   --inverse *sections*, never the dark heroes (which own the full-bleed
   photo treatment instead). */
.art-section--inverse {
	position: relative;
}

.art-section--inverse::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: var(--art-seam-accent);
	pointer-events: none;
}

/* Testimonials: a hairline accent rule under the big quote glyph anchors the
   card and separates the quotation from the attribution without a heavy box. */
.art-testimonial-card {
	padding-top: var(--art-space-lg);
}

.art-testimonial-card__quote-mark {
	margin-bottom: var(--art-space-2xs);
}

/* Service-to-rental cross-sell (Decision 2) — editorial light band with amber accent. */
.art-crosssell { background: var(--art-amber-50, #FAEEDA); border: 1px solid var(--art-amber-600, #BA7517); border-radius: var(--art-radius-card, 12px); padding: 1rem 1.25rem; margin: 0.5rem 0 1rem; }
.art-crosssell__check { display: inline-flex; align-items: center; gap: 0.6rem; }
.art-crosssell__check strong { color: var(--art-amber-900, #633806); }
.art-crosssell__note { margin: 0.5rem 0 0; color: var(--art-neutral-secondary, #5F5E5A); }

/* Deliver/collect-elsewhere disclosure on the rental form, with its priced readout. */
.art-delivery { margin: 0.25rem 0 1rem; }
.art-delivery__check { display: inline-flex; align-items: center; gap: 0.6rem; }
.art-delivery__note { margin: 0.4rem 0 0; color: var(--art-neutral-secondary, #5F5E5A); }
.art-delivery__fields { margin-top: 0.85rem; padding-left: 0.9rem; border-left: 2px solid var(--art-hairline, rgba(0,0,0,0.12)); display: grid; gap: 0.85rem; }
.art-delivery__fields[hidden] { display: none; }
/* The deliver+recover price shown once a priced destination is chosen. */
.art-delivery__price { margin: 0; padding: 0.7rem 0.85rem; border-radius: var(--art-radius-card, 12px); background: var(--art-surface-2, #F6F3EC); border: 1px solid var(--art-hairline, rgba(0,0,0,0.12)); display: flex; flex-direction: column; gap: 0.15rem; }
.art-delivery__price[hidden] { display: none; }
.art-delivery__price-amount { font-size: 1.15rem; font-weight: 700; color: var(--art-ink, #1E1D1A); }
.art-delivery__price-covers { font-size: 0.85rem; color: var(--art-neutral-secondary, #5F5E5A); }
/* Conditional field groups collapsed by fleet-enquiry.js (transport route/return);
   visible server-side so a no-JS visitor keeps every field. */
.art-field-group[hidden] { display: none; }

/* Task 1 — private-transport route/price list. */
.art-transport__table-wrap { overflow-x: auto; margin: 0 auto; max-width: 46rem; }
.art-transport__table { width: 100%; border-collapse: collapse; text-align: left; }
.art-transport__table caption { text-align: left; }
.art-transport__table thead th { font: inherit; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--art-neutral-secondary, #5F5E5A); font-weight: 600; padding: 0 0.75rem 0.6rem; border-bottom: 1px solid var(--art-hairline, rgba(0,0,0,0.14)); }
.art-transport__table tbody td,
.art-transport__table tbody th { padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--art-hairline, rgba(0,0,0,0.10)); vertical-align: baseline; }
.art-transport__route { font-weight: 600; font-size: 1.02rem; }
.art-transport__col-duration { color: var(--art-neutral-secondary, #5F5E5A); white-space: nowrap; }
.art-transport__col-price { text-align: right; }
/* Two labelled offerings can share the price cell (a person driven there vs a car
   delivered there); each is a self-contained block so the numbers are never bare. */
.art-transport__offering { display: block; }
.art-transport__offering + .art-transport__offering { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px dashed var(--art-hairline, rgba(0,0,0,0.14)); }
.art-transport__offering-label { display: block; font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600; color: var(--art-neutral-secondary, #5F5E5A); margin-bottom: 0.15rem; }
.art-transport__price { display: inline-flex; align-items: baseline; gap: 0.2rem; white-space: nowrap; }
.art-transport__price-pre { font-size: 0.8rem; color: var(--art-neutral-secondary, #5F5E5A); }
.art-transport__price-amount { font-size: 1.28rem; font-weight: 700; color: var(--art-ink, #1E1D1A); }
.art-transport__offering--delivery .art-transport__price-amount { font-size: 1.14rem; }
.art-transport__price-unit { font-size: 0.85rem; font-weight: 600; }
.art-transport__basis { display: block; font-size: 0.75rem; color: var(--art-neutral-secondary, #5F5E5A); }
.art-transport__deliver-link { display: inline-block; margin-top: 0.2rem; font-size: 0.8rem; }
.art-transport__muted { color: var(--art-neutral-tertiary, #8A8985); }
.art-transport__cta { display: inline-block; margin-top: 0.6rem; font-size: 0.85rem; }
.art-transport__cta-note { color: var(--art-neutral-secondary, #5F5E5A); }
.art-transport__onrequest { max-width: 46rem; margin: 1.75rem auto 0; padding: 1.25rem 1.4rem; border: 1px solid var(--art-hairline, rgba(0,0,0,0.14)); border-radius: var(--art-radius-card, 12px); background: var(--art-surface-2, #F6F3EC); }
.art-transport__onrequest-heading { margin: 0 0 0.35rem; font-size: 1.05rem; }
.art-transport__onrequest-body { margin: 0 0 0.9rem; color: var(--art-neutral-secondary, #5F5E5A); }
@media (max-width: 33em) {
	.art-transport__col-duration { display: none; }
	.art-transport__col-price { text-align: left; }
}

/* ============================================================
   Battery guide (Task 3) — types + brands ARTNICOS carries. Editorial
   card list for the types; chip row for the brands, with the authorised
   distributor (VARTA) marked distinct. Tokens only, both directions.
   ============================================================ */
.art-battery__subheading { text-align: center; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--art-neutral-secondary, #5F5E5A); font-weight: 600; margin: 2rem 0 1rem; }
.art-battery__types { list-style: none; margin: 0 auto; padding: 0; max-width: 52rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.art-battery__type { flex: 1 1 15rem; max-width: 25rem; min-width: 0; padding: 1.1rem 1.25rem; border: 1px solid var(--art-hairline, rgba(0,0,0,0.14)); border-radius: var(--art-radius-card, 12px); background: var(--art-surface-2, #F6F3EC); display: flex; flex-direction: column; gap: 0.3rem; }
.art-battery__type-name { font-weight: 700; font-size: 1.05rem; color: var(--art-ink, #1E1D1A); }
.art-battery__type-fits { color: var(--art-neutral-secondary, #5F5E5A); font-size: 0.92rem; }
.art-battery__type-note { color: var(--art-neutral-tertiary, #8A8985); font-size: 0.85rem; }
.art-battery__brands { list-style: none; margin: 0.5rem auto 0; padding: 0; max-width: 52rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.art-battery__brand { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.85rem; border: 1px solid var(--art-hairline, rgba(0,0,0,0.14)); border-radius: var(--art-radius-pill, 999px); background: var(--art-background, #FBF9F4); }
.art-battery__brand-name { font-weight: 600; color: var(--art-ink, #1E1D1A); }
.art-battery__brand--authorized { border-color: var(--art-color-primary, #1F5E3C); background: var(--art-color-primary, #1F5E3C); }
.art-battery__brand--authorized .art-battery__brand-name { color: var(--art-color-primary-contrast, #FFFFFF); }
.art-battery__brand-badge { font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 700; color: var(--art-color-primary-contrast, #FFFFFF); background: rgba(255,255,255,0.22); padding: 0.12rem 0.45rem; border-radius: var(--art-radius-pill, 999px); }
.art-battery__brand-note { font-size: 0.8rem; color: var(--art-neutral-secondary, #5F5E5A); }
.art-battery.art-section--inverse .art-battery__type,
.art-battery.art-section--inverse .art-battery__brand { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.art-battery.art-section--inverse .art-battery__type-name,
.art-battery.art-section--inverse .art-battery__brand-name { color: var(--art-color-inverse-text, #FBF9F4); }
.art-battery.art-section--inverse .art-battery__subheading,
.art-battery.art-section--inverse .art-battery__type-fits,
.art-battery.art-section--inverse .art-battery__type-note,
.art-battery.art-section--inverse .art-battery__brand-note { color: rgba(251,249,244,0.75); }

/* One shared task hero for every public page. */
.art-page-hero--task { position: relative; isolation: isolate; width: 100%; min-height: 300px; margin: 0; padding: 0; display: flex; align-items: center; overflow: hidden; border-radius: 0; color: var(--art-color-text-inverse); background: var(--art-color-secondary); }
.art-page-hero--task .art-page-hero__inner { position: relative; z-index: 2; display: flex; width: 100%; max-width: var(--art-container); min-height: inherit; margin-inline: auto; padding-inline: var(--art-page-gutter); padding-block: var(--art-space-xl); align-items: center; justify-content: center; }
.art-page-hero--task .art-page-hero__content { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.art-page-hero--task h1 { max-width: 22ch; margin: 0; color: var(--art-color-text-inverse); font-family: var(--art-font-primary, sans-serif); font-size: clamp(2.2rem, 4.5vw, 4.3rem); font-weight: 600; line-height: 1.04; letter-spacing: var(--art-heading-tracking); text-align: center; text-wrap: balance; }
.art-page-hero--task .art-eyebrow { display: none; }
.art-page-hero--task .art-hero__intro { max-width: 68ch; margin: var(--art-space-sm) auto 0; color: var(--art-color-text-inverse); font-size: 1rem; text-align: center; }
.art-page-hero--task .art-heading-highlight { color: var(--art-color-accent); }
.art-page-hero--task .art-page-hero__media--background { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.art-page-hero--task .art-page-hero__media--background::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 70%); }
.art-page-hero--task .art-page-hero__media--background img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; animation: art-task-hero-zoom 21s ease-in-out infinite alternate; }
.art-page-hero--task .art-page-hero__media--empty { background: var(--art-color-secondary); }
@keyframes art-task-hero-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .art-page-hero--task .art-page-hero__media--background img { animation: none; } }
.art-page-hero--home.art-page-hero--task { min-height: clamp(440px, 62svh, 610px); }
.art-page-hero--home.art-page-hero--task .art-page-hero__inner { padding-block: var(--art-space-lg); }
.art-page-hero--home.art-page-hero--task h1 { max-width: 24ch; font-size: clamp(2.15rem, 5vw, 4.5rem); }
.art-home-hero__actions { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--art-space-sm); margin-top: var(--art-space-lg); }
.art-home-hero__actions .art-action-tiles__tile { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--art-color-border-strong); border-radius: var(--art-radius-button); background: var(--art-color-surface); color: var(--art-color-text); text-align: center; font: 600 .95rem/1.2 var(--art-font-primary, sans-serif); text-decoration: none; }
.art-home-hero__actions .art-action-tiles__icon { flex: 0 0 auto; }
.art-home-hero__actions .art-action-tiles__icon svg { width: 20px; height: 20px; }
@media (max-width: 47.999em) {
	.art-page-hero--task { min-height: 220px; margin-bottom: 0; }
	.art-page-hero--task .art-page-hero__inner { width: 100%; padding: 24px 16px; }
	/* Keep line count stable while the preloaded Inter face swaps in on a slow
	   mobile connection. A single-line fallback title must not become two lines
	   and move the hero content during first paint. */
	.art-page-hero--task h1 { max-width: 15ch; font-size: clamp(1.85rem, 7vw, 2.5rem); }
	.art-page-hero--task .art-hero__intro { font-size: 1rem; }
	.art-page-hero--home.art-page-hero--task { min-height: 460px; }
	.art-page-hero--home.art-page-hero--task .art-page-hero__inner { padding-block: 24px; }
	.art-page-hero--home.art-page-hero--task h1 { max-width: 15ch; font-size: clamp(1.9rem, 8vw, 2.55rem); }
	.art-home-hero__actions { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
	.art-home-hero__actions .art-action-tiles__tile { min-height: 48px; }
}

/* The display role remains configurable in Design; task-page headings use the configured sans role. */
.art-service-row__title,
.art-fleet__title,
.art-fleet__fallback-text h3,
.art-vehicle-page__title,
.art-vehicle-page__h2,
.art-services-editorial .art-service-entry h3,
.art-stat-moment__claim { font-family: var(--art-font-primary, sans-serif); }

/* Consolidated services are a list, then the embedded form. The selector remains data for controlled preselection. */
.art-service-layout:not(.art-service-layout--standalone) > .art-service-selector { display: none; }

/* Numbered editorial service entries on a dark band (thin amber rule above each). */
.art-services-editorial { background: var(--art-dark-page, #1A1917); color: var(--art-neutral-page, #F2EFE9); }
.art-services-editorial .art-eyebrow { color: var(--art-amber-400, #EF9F27); }
.art-services-editorial .art-service-entry { border-top: 1px solid var(--art-amber-600, #BA7517); padding: 2rem 0; display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; align-items: baseline; }
.art-services-editorial .art-service-entry__num { font-family: var(--art-font-primary, sans-serif); font-size: 2.2rem; color: var(--art-amber-400, #EF9F27); line-height: 1; }
.art-services-editorial .art-service-entry h3 { font-family: var(--art-font-primary, sans-serif); font-weight: 400; font-size: clamp(1.5rem, 3.5vw, 2.4rem); margin: 0 0 0.4rem; }

/* One oversized statistical moment: an amber figure paired with a serif claim. */
.art-stat-moment { text-align: center; padding: 4rem 1rem; }
.art-stat-moment__figure { font-family: var(--art-font-primary, sans-serif); font-weight: 400; font-size: clamp(4rem, 16vw, 11rem); line-height: 0.9; color: var(--art-amber-600, #BA7517); }
.art-stat-moment__claim { font-family: var(--art-font-primary, sans-serif); font-size: clamp(1.3rem, 3vw, 2rem); max-width: 24ch; margin: 0.5rem auto 0; color: var(--art-neutral-text, #2C2C2A); }

/* ── Oversized statistical moment (Direction A) ──────────────────────────
   One big REAL figure ("din 1997") on a dark band with a thin amber rule.
   Motion limited to the shared .art-reveal (disabled under reduced-motion). */
/* The stat moment is a deliberate page peak — give it more air than a standard
   section so it reads as a confident pause, not just another band (the brief's
   "confidence reads as space", applied where it earns it rather than globally). */
.art-stat { padding-block: clamp( 3.5rem, 6vw, 6rem ); }
.art-stat__inner { text-align: center; max-width: 940px; margin-inline: auto; }
.art-stat__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.06em;
	margin: 0.2em 0 0;
	font-family: var( --art-font-primary, sans-serif );
	font-weight: var( --art-font-weight-heading, 600 );
	line-height: 0.92;
	letter-spacing: -0.02em;
}
.art-stat__value {
	font-size: clamp( 4.5rem, 15vw, 11.5rem );
	display: block;
	font-variant-numeric: lining-nums tabular-nums;
}
.art-stat__affix {
	font-family: var( --art-font-primary, "Inter", sans-serif );
	font-size: clamp( 0.95rem, 2.4vw, 1.5rem );
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --art-color-accent, #d98a2b );
}
.art-stat__affix--pre { order: -1; }
.art-stat__figure::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin: 0.45em auto 0;
	background: var( --art-color-accent, #d98a2b );
}
.art-stat__label {
	margin: 1.1rem auto 0;
	max-width: 42ch;
	font-family: var( --art-font-primary, sans-serif );
	font-size: clamp( 1.1rem, 2vw, 1.45rem );
}
.art-stat__desc {
	margin: 0.7rem auto 0;
	max-width: 54ch;
	opacity: 0.82;
}

/* Legal-page company identification block ([artnicos_company] shortcode). */
.art-company { margin: 1.25rem 0; padding: 1rem 1.25rem; border: 1px solid var(--art-color-border, #DCD8CF); border-radius: var(--art-radius-card, 0.75rem); background: var(--art-color-background-alt, #EFEBE3); }
.art-company__row { display: grid; grid-template-columns: 12rem 1fr; gap: 0.25rem 1rem; padding: 0.35rem 0; border-bottom: 1px solid color-mix(in srgb, var(--art-color-border, #DCD8CF) 60%, transparent); }
.art-company__row:last-child { border-bottom: 0; }
.art-company dt { margin: 0; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--art-color-text-muted, #484E55); }
.art-company dd { margin: 0; color: var(--art-color-text, #15181B); font-weight: 500; }
.art-legal__note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--art-color-border, #DCD8CF); color: var(--art-color-text-muted, #484E55); font-size: 0.9rem; }
@media (max-width: 40rem) { .art-company__row { grid-template-columns: 1fr; } }

/* Romanian date field (date-field.js) — progressive enhancement over a native
   <input type="date">. No-JS: the native input shows (functional). JS: the
   native is visually hidden but keeps the submitted ISO value; a zz.ll.aaaa
   text proxy + a calendar button take its place. The proxy is type=text, so it
   inherits the form-field styling above. */
.art-date { position: relative; display: flex; align-items: stretch; gap: 6px; width: 100%; }
.art-date.is-enhanced > input[type="date"] {
	position: absolute;
	width: 1px; height: 1px;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
	clip: rect(0 0 0 0);
	margin: 0; padding: 0; border: 0;
}
.art-date__text { flex: 1 1 auto; min-width: 0; cursor: pointer; }
.art-date__pick {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem;
	padding: 0;
	border: 1px solid var( --art-color-border, #ddd );
	background: var( --art-color-surface, #fff );
	color: var( --art-color-text-muted, #484e55 );
	border-radius: var( --art-radius-input, 8px );
	cursor: pointer;
	line-height: 1;
	transition: border-color var( --art-hover-duration, 170ms ) var( --art-ease-out, ease ),
		color var( --art-hover-duration, 170ms ) var( --art-ease-out, ease );
}
.art-date__pick svg { display: block; }
.art-date__pick:hover,
.art-date__pick:focus-visible { border-color: var( --art-color-accent, #d98a2b ); color: var( --art-color-accent, #d98a2b ); }
.art-date__pick:focus-visible { outline: 2px solid var( --art-color-focus, #c06f1a ); outline-offset: 1px; }

/* Tasks 1 & 2 — parts enquiry: the two paths for the car's identity. Photograph the
   talon (primary card) OR type the details (the alternative). talon-upload.js removes
   the alternative from the DOM once a document is attached. */
.art-parts-choice { margin: var(--art-space-sm) 0 var(--art-space-md); }
.art-parts-choice__error { margin: 0 0 var(--art-space-md); }
.art-parts-choice__primary { padding: var(--art-space-md); border: var(--art-border-width) solid var(--art-color-accent); border-radius: var(--art-radius-input); background: var(--art-color-surface); }
/* De-template pass (2026-12-04): was uppercase + letter-spaced + accent —
   the same decorative-eyebrow tell as .art-eyebrow, now matched to it. */
.art-parts-choice__eyebrow { margin: 0 0 var(--art-space-2xs); font-size: var(--art-font-size-small); color: var(--art-color-text-muted); }
.art-talon__label { display: block; font-weight: 600; margin-bottom: var(--art-space-2xs); }
.art-parts-choice__or { display: flex; align-items: center; gap: var(--art-space-sm); margin: var(--art-space-md) 0; color: var(--art-color-text-muted); font-size: var(--art-font-size-small); text-transform: uppercase; letter-spacing: 0.08em; }
.art-parts-choice__or::before, .art-parts-choice__or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--art-hairline, rgba(0,0,0,0.12)); }
.art-parts-choice__or[hidden] { display: none; }
.art-parts-choice__alt-head { margin: 0 0 var(--art-space-sm); font-weight: 600; }

/* Task 4 — talon photo upload on the parts enquiry (progressive; removes vehicle fields) */
.art-talon input[type="file"] { display: block; width: 100%; font: inherit; color: var(--art-color-text); padding: var(--art-space-xs) 0; }
.art-talon__confirm { margin-top: var(--art-space-sm); padding: var(--art-space-sm) var(--art-space-md); background: var(--art-color-surface); border: var(--art-border-width) solid var(--art-color-accent); border-radius: var(--art-radius-input); display: flex; flex-wrap: wrap; align-items: center; gap: var(--art-space-2xs) var(--art-space-sm); }
/* The class `display: flex` overrides the UA `[hidden] { display: none }` (the gotcha
   documented in fleet.css), so restate it — else the empty "attached" panel shows before
   any file is chosen. */
.art-talon__confirm[hidden] { display: none; }
.art-talon__attached { color: var(--art-color-text); }
.art-talon__remove { font: inherit; font-size: var(--art-font-size-small); color: var(--art-color-primary); background: transparent; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.art-talon__note { flex-basis: 100%; margin: 0; color: var(--art-color-text-muted); font-size: var(--art-font-size-small); }

/* A direct service-form link lands the target before the deferred reveal
   observer runs. Keep that target stationary so its entrance animation cannot
   move the form heading under the sticky header or contribute anchor CLS. */
html.js-reveal-ready .art-reveal:target { opacity: 1; transform: none; }

/* Follow-up alignment: consistent card centering, practical strip hierarchy, and contact values. */
.art-home-practical-strip__cell { justify-content: flex-start; }
.art-home-practical-strip__label { min-height: 1.2em; }
.art-home-practical-strip__value { display: block; }
.art-home-practical-strip__value br { display: block; }
.art-contact-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--art-space-2xs); height: 100%; text-align: center; text-decoration: none; }
.art-contact-card .art-icon-card__icon { display: flex; flex: 0 0 auto; margin: 0 auto var(--art-space-2xs); }
.art-contact-card__label { display: block; color: var(--art-color-text-muted); font: 500 var(--art-font-size-small)/1.2 var(--art-font-primary, sans-serif); text-decoration: none; }
.art-contact-card__value { display: block; color: var(--art-color-text); font: 600 1rem/1.35 var(--art-font-primary, sans-serif); overflow-wrap: anywhere; text-decoration: none; }
.art-contact-card[href]:hover .art-contact-card__value { text-decoration: underline; text-underline-offset: .15em; }
.art-battery__type { flex-basis: calc(33.333% - .67rem); }
@media (max-width: 48em) { .art-battery__type { flex-basis: calc(50% - .5rem); } }
@media (max-width: 33em) { .art-battery__type { flex-basis: 100%; } }
.art-battery__brand--authorized .art-battery__brand-badge { text-transform: none; letter-spacing: 0; }

.art-parts-choice__alt-toggle { appearance: none; display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: var(--art-space-xs); margin: 0 0 var(--art-space-sm); padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--art-color-text); text-align: left; font: 600 1rem/1.35 var(--art-font-primary, sans-serif); cursor: pointer; }
.art-parts-choice__alt-toggle:hover { color: var(--art-color-text); }
.art-parts-choice__alt-toggle:focus-visible { outline: 2px solid var(--art-color-focus); outline-offset: 2px; }
.art-parts-choice__chevron { flex: 0 0 8px; width: 8px; height: 8px; margin: 0 4px 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease; }
.art-parts-choice__alt-toggle[aria-expanded="true"] .art-parts-choice__chevron { transform: rotate(225deg); margin-bottom: 0; }
[data-parts-vehicle-fields][hidden] { display: none; }
.art-form-optional { margin-block: var(--art-space-sm); }
.art-form-optional__toggle { margin: 0; }
.art-form-optional__nojs { margin: 0 0 var(--art-space-xs); color: var(--art-color-text-muted); font: 500 var(--art-font-size-small)/1.4 var(--art-font-primary, sans-serif); }
.art-form-optional [data-optional-fields] > :first-child { margin-top: var(--art-space-xs); }
.art-form-optional [data-optional-fields][hidden] { display: none; }
.art-talon { position: relative; }
.art-talon .art-file-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.art-file-button { display: inline-flex; min-height: 44px; align-items: center; padding: var(--art-space-xs) var(--art-space-md); border: var(--art-border-width) solid var(--art-color-border-strong); border-radius: var(--art-radius-button); background: var(--art-color-surface); color: var(--art-color-text); font: 600 .95rem/1.2 var(--art-font-primary, sans-serif); cursor: pointer; }
.art-talon:has(.art-file-input:focus-visible) .art-file-button { outline: 2px solid var(--art-color-focus); outline-offset: 3px; }
.art-file-name { margin-inline-start: var(--art-space-xs); color: var(--art-color-text-muted); font: 400 var(--art-font-size-small)/1.3 var(--art-font-primary, sans-serif); overflow-wrap: anywhere; }
.art-contact-card .art-contact-card__icon { width: 1.5rem; height: 1.5rem; color: currentColor; }
.art-quick-contact-bar__icon { width: 1rem; height: 1rem; margin-inline-end: var(--art-space-2xs); vertical-align: middle; }
.art-quick-contact-bar__action--whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: var(--art-space-2xs); }
