/* Minimal: white space, one green, real photographs, and movement that comes from scrolling.
   Loaded after every other theme stylesheet. */

:root {
	--q-bg: #ffffff;
	--q-soft: #f4f5f2;
	--q-ink: #101814;
	--q-text: #2b332e;
	--q-muted: #646e68;
	--q-line: #e2e6e1;
	--q-green: #153c2e;
	--q-green-hover: #1f5541;
	--q-tint: #e6efe8;
	--q-radius: 14px;
	--q-radius-lg: 24px;
	--q-pad: clamp(20px, 4.5vw, 64px);
	/* Side space that lines the header and footer up with the 1240px content column. */
	--q-frame: max(var(--q-pad), calc((100% - 1240px) / 2));
	--q-font: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
	--q-ease: cubic-bezier(.2, .7, .2, 1);
	--green: #153c2e;
	--ink: #2b332e;
	--lime: #ffffff;
	--paper: #f4f5f2;
	--muted: #646e68;
	--line: #e2e6e1;
}

html { scroll-padding-top: 88px; }
body { background: var(--q-bg); color: var(--q-text); font-family: var(--q-font); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--q-font); text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--q-tint); color: var(--q-ink); }
:focus-visible { outline-color: var(--q-green) !important; }

/* Actions ------------------------------------------------------------------ */
.button,
.field-header-quote,
.q-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; font-family: var(--q-font); font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.2; text-decoration: none; transform: none; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button,
.button.lime,
.button.dark,
.field-header-quote { background: var(--q-green); color: #fff; }
.button:hover,
.button.lime:hover,
.button.dark:hover,
.field-header-quote:hover { background: var(--q-green-hover); color: #fff; transform: none; }
.q-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--q-line); color: var(--q-ink); }
.q-ghost:hover { box-shadow: inset 0 0 0 1px var(--q-ink); }
.button span[aria-hidden],
.field-header-quote span[aria-hidden] { display: none; }
.skip-link { border-radius: 999px; background: var(--q-green); color: #fff; }
/* Older component rules set square corners; every button here is a pill. */
.button, .field-header-quote, .q-ghost, .mobile-action { border-radius: 999px !important; }

/* Quiet labels: capitals and decorative numbering are gone. */
.eyebrow,
.sg-folio,
.fg-quote-index,
.fg-photo-registration,
.fg-chapter-heading .fg-chapter-number,
.fg-chapter-heading > p,
.sg-ornament,
.sg-hero-inset,
.sg-hero .sg-charge-scale,
.product-card .product-number { display: none; }
.ed-index, .ed-phase, .ed-m-title, .enq-progress li, .fg-folio, .fg-hero-kicker, .fg-hero-media figcaption > span, .fg-project-photo small, .field-nav-kicker, .ff-index, .ff-label, .ff-bottom, .field-nav-contact p, .home .footer-bottom, .jn-card-meta, .jn-byline span, .jn-note-label, .lp-header-note, .lp-band figcaption span, .lc-card h3, .lc-card dt, .cmp-dialog tbody th, .pd-stage figcaption, .pd-spec-table th, .pj-figures dt, .pj-mosaic-caption span, .pj-tile small, .pj-study-copy small, .pj-file-label, .pj-file dt, .pj-service-card small, .sg-kicker, .sg-hero-media figcaption span, .sg-glance dt, .sg-result-label, .sg-compare tbody th, .sg-toc p, dl.project-facts dt { text-transform: none; letter-spacing: 0; font-size: 14px; }
.sg-kicker { font-weight: 500; color: var(--q-muted); }
.sg-kicker::before { content: none; }
.contact-method small { display: block; font-size: 14px; letter-spacing: 0; text-transform: lowercase; color: var(--q-muted); }
.contact-method small::first-letter { text-transform: uppercase; }
.product-card .eyebrow { display: block; font-size: 14px; letter-spacing: 0; text-transform: lowercase; color: var(--q-muted); }
.product-card .eyebrow::first-letter { text-transform: uppercase; }

/* Header: translucent, tucks away while reading down and returns on the way up. */
.field-header { height: 72px; gap: clamp(16px, 2vw, 32px); padding: 0 var(--q-frame); border-bottom: 1px solid transparent; background: #fff; box-shadow: none; color: var(--q-ink); transition: transform .4s var(--q-ease), border-color .25s ease; }
.field-header.is-scrolled { border-bottom-color: var(--q-line); }
.field-header.is-tucked { transform: translateY(-100%); }
.field-header .logo .brand-logo { width: 112px; height: 54px; }
.field-nav-list { gap: clamp(16px, 2vw, 30px); }
.field-nav-list > li > a,
.field-nav-disclosure > summary { min-height: 44px; color: var(--q-text); font-size: 15px; font-weight: 500; letter-spacing: 0; background: none; }
.field-nav-list > li > a::after { content: none; }
.field-nav-list > li > a:hover,
.field-nav-disclosure > summary:hover,
.field-nav-list > li > a[aria-current="page"] { color: var(--q-ink); }
.field-nav-list > li > a[aria-current="page"] { font-weight: 600; }
.field-nav-panel { border: 1px solid var(--q-line); border-radius: var(--q-radius); box-shadow: 0 20px 50px rgba(16, 24, 20, .08); background: #fff; }
.field-nav-kicker { margin-bottom: 8px; color: var(--q-muted); }
.field-systems-panel > a { border-top-color: var(--q-line); }
.field-systems-panel > a > span { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.field-systems-panel > a > small { font-size: 14px; color: var(--q-muted); }
.field-systems-panel > a.field-nav-assessment { font-size: 15px; font-weight: 600; color: var(--q-green); }
.field-header-call { flex: 0 0 auto; padding: 10px 0; color: var(--q-muted); font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.field-header-call:hover { color: var(--q-ink); }
.field-header-quote { min-height: 40px; padding: 0 18px; font-size: 14px; }
@media (max-width: 1240px) { .field-header-call { display: none; } }
@media (max-width: 1080px) {
	.field-header { height: auto; min-height: 64px; }
	.field-header .logo .brand-logo { width: 104px; height: 50px; }
	.field-menu-button { border: 1px solid var(--q-line); border-radius: 999px; }
	.field-header.is-nav-enhanced .field-navigation { left: 0; right: 0; width: auto; overflow-x: hidden; background: #fff; border-top: 1px solid var(--q-line); }
	.field-nav-list > li { border-bottom-color: var(--q-line); }
	.field-header.is-nav-enhanced .field-nav-list > li:not(.field-nav-contact) > a,
	.field-header.is-nav-enhanced .field-nav-disclosure > summary { min-height: 60px; color: var(--q-ink); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
	.field-header.is-nav-enhanced .field-nav-list > li:not(.field-nav-contact) > a::before,
	.field-header.is-nav-enhanced .field-nav-disclosure > summary::before,
	.field-header.is-nav-enhanced .field-nav-list > li > a::after { content: none; }
	.field-header.is-nav-enhanced .field-nav-list > li:not(.field-nav-contact) > a[aria-current="page"] { color: var(--q-green); }
	.field-header.is-nav-enhanced .field-nav-panel { border: 0; border-left: 1px solid var(--q-line); border-radius: 0; background: transparent; box-shadow: none; }
	.field-header.is-nav-enhanced .field-nav-panel a,
	.field-header.is-nav-enhanced .field-systems-panel > a > small { color: var(--q-text); }
	.field-header.is-nav-enhanced .field-nav-contact p { color: var(--q-muted); }
	.field-header.is-nav-enhanced .field-nav-contact a { min-height: 50px; border-radius: 999px; font-size: 16px; font-weight: 500; letter-spacing: 0; }
	.field-header.is-nav-enhanced .field-nav-contact .button { justify-content: center; color: #fff; background: var(--q-green); }
	.field-header.is-nav-enhanced .field-nav-contact .field-nav-call { display: flex; align-items: center; justify-content: center; border: 1px solid var(--q-line); color: var(--q-ink); }
}

/* Footer ----------------------------------------------------------------- */
body footer.ff,
body.home > footer.ff { background: var(--q-soft); color: var(--q-text); box-shadow: none; }
footer.ff .ff-close { padding: clamp(56px, 7vw, 96px) var(--q-frame) clamp(32px, 4vw, 48px); border-bottom-color: var(--q-line); }
footer.ff .ff-statement { max-width: 22ch; font-family: var(--q-font); font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: var(--q-ink); }
footer.ff .ff-statement em { font: inherit; color: inherit; }
footer.ff .ff-label { font-size: 14px; font-weight: 600; color: var(--q-ink); }
footer.ff .ff-label-next { margin-top: 28px; }
footer.ff a { color: var(--q-text); background: none; }
footer.ff a:hover { color: var(--q-green); }
footer.ff .ff-call { color: var(--q-ink); }
footer.ff .ff-brand p { color: var(--q-muted); font-size: 16px; }
footer.ff .ff-brand .brand-logo { padding: 0; background: none; }
footer.ff .footer-business { display: grid; gap: 4px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--q-muted); }
footer.ff .ff-grid { padding: 56px var(--q-frame); border-color: var(--q-line); }
footer.ff .ff-bottom { padding: 20px var(--q-frame); border-top: 1px solid var(--q-line); color: var(--q-muted); }
footer.ff .ff-wordmark { display: none; }

/* Quick contact on phones. */
.mobile-actions { background: #fff; border-top: 1px solid var(--q-line); }
.mobile-actions .mobile-action { border: 1px solid var(--q-line); border-radius: 999px; background: #fff; color: var(--q-ink); font-family: var(--q-font); font-weight: 500; }
.mobile-actions .mobile-action.is-primary { border-color: var(--q-green); background: var(--q-green); color: #fff; }

/* Dark bands become light: one calm surface across the site. Classes are doubled so
   these resets outrank the older two-class colour rules written for dark grounds. */
:is(.fg-quote, .pj-chapter-archive, .sg-chapter-evidence, .lp-close, .sg-hero-charge, .sg-hero-contour, .sg-tool-result, .sg-checklist, .jn-rail-cta, .bg-panel, .pj-service-card, .fg-chapter-projects, .cta, .page-hero) { background: var(--q-soft); color: var(--q-text); }
:is(.fg-quote.fg-quote, .pj-chapter-archive.pj-chapter-archive, .sg-chapter-evidence.sg-chapter-evidence, .lp-close.lp-close, .sg-hero-charge.sg-hero-charge, .sg-hero-contour.sg-hero-contour, .sg-tool-result.sg-tool-result, .sg-checklist.sg-checklist, .jn-rail-cta.jn-rail-cta, .bg-panel.bg-panel, .pj-service-card.pj-service-card, .fg-chapter-projects.fg-chapter-projects) :is(p, li, dt, dd, small, label, blockquote, b, strong, span, em, time, figcaption) { color: inherit; }
:is(.fg-quote.fg-quote, .pj-chapter-archive.pj-chapter-archive, .sg-chapter-evidence.sg-chapter-evidence, .lp-close.lp-close, .sg-hero-charge.sg-hero-charge, .sg-hero-contour.sg-hero-contour, .sg-tool-result.sg-tool-result, .sg-checklist.sg-checklist, .jn-rail-cta.jn-rail-cta, .bg-panel.bg-panel, .pj-service-card.pj-service-card, .fg-chapter-projects.fg-chapter-projects) :is(h1, h2, h3, h4, .sg-title-text, .sg-result-figure) { color: var(--q-ink); }
:is(.fg-quote.fg-quote, .pj-chapter-archive.pj-chapter-archive, .sg-chapter-evidence.sg-chapter-evidence, .lp-close.lp-close, .sg-hero-charge.sg-hero-charge, .sg-hero-contour.sg-hero-contour, .sg-tool-result.sg-tool-result, .sg-checklist.sg-checklist, .jn-rail-cta.jn-rail-cta, .bg-panel.bg-panel, .pj-service-card.pj-service-card, .fg-chapter-projects.fg-chapter-projects) a:not(.button, .field-header-quote, .q-ghost) { color: var(--q-green); }
.fg-quote.fg-quote, .pj-chapter-archive.pj-chapter-archive, .sg-chapter-evidence.sg-chapter-evidence, .lp-close.lp-close { background: var(--q-soft); color: var(--q-text); }
.sg-hero-charge.sg-hero-charge, .sg-hero-contour.sg-hero-contour { background: var(--q-bg); }
.fg-quote .fg-quote-heading { border-bottom-color: var(--q-line); }
.fg-quote .fg-quote-heading > p:last-child { color: var(--q-muted); }
.fg-quote .contact-details .contact-area { border: 1px solid var(--q-line); border-radius: var(--q-radius); background: #fff; color: var(--q-muted); }
.fg-quote .contact-method { border-color: var(--q-line); }
.fg-quote .contact-method svg { border-color: var(--q-line); border-radius: 10px; color: var(--q-green); }
.fg-quote .contact-form { border: 1px solid var(--q-line); border-radius: 20px; background: #fff; }
.fg-quote .contact-form button[type="submit"] { border-radius: 999px; }
.field-guide-projects .pj-filters { border-color: var(--q-line); }
.field-guide-projects .pj-filters button { border-right-color: var(--q-line); color: var(--q-text); }
.field-guide-projects .pj-filters button span { color: var(--q-muted); }
.field-guide-projects .pj-filters button:hover { background: var(--q-tint); }
.field-guide-projects .pj-filters button.selected { background: var(--q-green); color: #fff; }
.field-guide-projects .pj-filters button.selected span { color: #fff; }
:is(.sg-hero-charge.sg-hero-charge, .sg-hero-contour.sg-hero-contour) :is(.sg-intro, .sg-updated, .sg-breadcrumb, .sg-glance dt) { color: var(--q-muted); }
/* Captions that sit on photographs stay white over their shade. */
:is(.sg-hero-media.sg-hero-media, .sg-evidence-media.sg-evidence-media, .pj-mosaic-1.pj-mosaic-1, .pj-case-media.pj-case-media, .lc-hero-media.lc-hero-media) figcaption,
:is(.sg-hero-media.sg-hero-media, .sg-evidence-media.sg-evidence-media, .pj-mosaic-1.pj-mosaic-1, .pj-case-media.pj-case-media, .lc-hero-media.lc-hero-media) figcaption :is(span, strong, b, p, small) { color: #fff; }
/* Result bars: green on a quiet track. */
.sg-ev-bars i, .sg-bars i { background: var(--q-line); border-radius: 999px; overflow: hidden; }
.sg-ev-bars b, .sg-bars b { background: var(--q-green); border-radius: 999px; }
.sg-hero .sg-title-text { color: var(--q-ink); }
.sg-tool-result,
.sg-checklist,
.jn-rail-cta,
.bg-panel,
.pj-service-card { border: 1px solid var(--q-line); border-radius: var(--q-radius); }

/* Headlines: one weight, calm tracking. */
.sg-hero { background: var(--q-bg); }
.sg-hero h1 { font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.sg-glance { border-top: 1px solid var(--q-line); }
.sg-glance > div { border-color: var(--q-line); }

/* Photographs and cards: soft corners, quiet borders. */
:is(.sg-hero-media, .sg-evidence-media, .pj-study-media, .jn-card-media, .jn-cover, .pd-stage, .product-image, .pj-case-media, .pj-mosaic-1, .pj-mosaic > *, .lc-hero-media, .service-image, .work-image, .pj-tile) { border-radius: var(--q-radius); overflow: hidden; }
:is(.product-card, .lc-card, .sg-evidence-card, .review-card, .sg-tool, .sg-compare, .cmp-dialog, .contact-form, #enquiry-form) { border-color: var(--q-line); border-radius: var(--q-radius); }
.product-card { overflow: hidden; }
.product-tags li { border-radius: 999px; border-color: var(--q-line); }
.product-tags .is-verified { border-color: var(--q-tint); background: var(--q-tint); color: var(--q-green); }

/* Forms: tinted selection instead of solid fills. */
.contact-form input:not([type="radio"], [type="checkbox"]),
.contact-form select,
.contact-form textarea { border-color: var(--q-line); border-radius: 10px; }
.fg-quote .contact-form :is(input:not([type="radio"], [type="checkbox"], [type="hidden"]), select, textarea) { border: 1px solid #cfd6d1; border-radius: 10px; background: #fff; }
.fg-quote .contact-form :is(input, select, textarea):hover { border-color: #aab4ad; }
.enq-services span,
.enq-chips span { border-color: var(--q-line); border-radius: 10px; }
.enq-services input:checked + span,
.enq-chips input:checked + span,
.sg-choice input:checked + span { border-color: var(--q-green); background: var(--q-tint); color: var(--q-ink); }
.enq-step-title span { background: var(--q-green); color: #fff; }

/* Reviews. */
.review-card { padding: 28px; background: #fff; box-shadow: none; }
.review-card blockquote { font-size: 17px; line-height: 1.6; color: var(--q-text); }
.reviews-carousel.is-ready .review-card blockquote { min-height: calc(1.6em * 5); max-height: calc(1.6em * 5); }
.reviews-carousel.is-ready .review-card.is-expanded blockquote { max-height: none; }
.review-dots button::before { background: #c5ccc7; }
.review-dots button.active::before { background: var(--q-green); }
.review-navigation button { border-color: var(--q-line); color: var(--q-ink); }
.review-navigation button:hover { border-color: var(--q-ink); background: #fff; }
/* Twelve dots do not fit beside the arrows on a phone; the arrows and swiping remain. */
@media (max-width: 600px) {
	.review-dots { display: none; }
	.review-navigation { margin-left: auto; }
}
.review-stars svg { color: #e9a400; fill: #e9a400; }

/* Movement on scroll: photographs drift inside their frames. Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		:is(.sg-hero-media, .sg-evidence-media, .jn-card-media, .pj-study-media, .jn-cover, .service-image, .q-gallery-media) img { animation: q-drift linear both; animation-timeline: view(); animation-range: cover; }
	}
}
@keyframes q-drift { from { transform: translateY(-5%) scale(1.1); } to { transform: translateY(5%) scale(1.1); } }
.sg-bars p b { background: #a9c2b2; }
.sg-bars p + p b { background: var(--q-green); }
.fg-quote.fg-quote .enq-step-title span { color: #fff; }
.fg-quote.fg-quote .contact-method small { font-size: 13px; letter-spacing: 0; color: var(--q-muted); }
.enq-trust > * { border-color: var(--q-line); border-radius: 999px; }

/* Credentials: logos on the page itself, no boxes, on every page. */
.accreditation-grid { gap: 28px 48px; border: 0; }
main .accreditation-grid .accreditation-badge,
main .accreditation-grid .accreditation-badge:hover { display: grid; place-items: center; height: 84px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
main .accreditation-grid .accreditation-badge picture { display: contents; }
main .accreditation-grid .accreditation-badge img { width: auto; height: auto; max-width: min(100%, 200px); max-height: 56px; object-fit: contain; mix-blend-mode: multiply; }
/* Optical balance: thin or padded marks need more room to read at the same size. */
main .accreditation-grid .accreditation-badge img[src*="sonnen"] { max-height: 80px; }
main .accreditation-grid .accreditation-badge img[src*="fronius"] { max-height: 66px; }
main .accreditation-grid .accreditation-badge img[src*="cec-"] { max-height: 62px; }
main .accreditation-grid .accreditation-badge img[src*="solaredge"] { max-height: 50px; }
.section.accreditations { border-top: 0; }

/* Section labels: the chapter's topic, in plain words, above its heading. */
.fg-chapter-heading { display: block; max-width: 1240px; margin: 0 auto 16px; padding: 0; border: 0; background: none; }
.fg-chapter-heading .fg-chapter-topic { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--q-green); }
footer.ff .ff-local { grid-column: 1; margin: 12px 0 0; max-width: 52ch; font-size: 16px; color: var(--q-muted); }
/* Scroll moments shared by every page. Everything here is driven by scrolling (nothing plays
   on a timer) and nothing is hidden: with reduced motion, or in browsers without scroll
   timelines, every element simply sits in place. */

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		/* Photographs open like a curtain as they arrive. */
		:is(.sg-evidence-media, .jn-card-media, .pd-others-media, .pj-tile > div, .q-gallery-media, .pj-study-media) {
			animation: q-curtain linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 90%;
		}

		/* Product photographs rise inside their card window. */
		.catalog-grid .product-image img {
			animation: q-window linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 90%;
		}

		/* Cards and list items rise into place, a step apart within each row. */
		:is(.catalog-grid > .product-card, .jn-grid > *, .sg-network > li, .difference-grid > article, .pd-install-list > li, .sg-steps > li, .process-grid > article, .faq-list > details, .pd-others > li, .q-home .fg-track-record > div, .pj-figures > div, .lc-figures > div) {
			animation: q-rise-in linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 80%;
		}
		:is(.catalog-grid > .product-card, .jn-grid > *, .sg-network > li, .difference-grid > article, .pd-install-list > li, .sg-steps > li, .process-grid > article, .pd-others > li, .q-home .fg-track-record > div, .pj-figures > div, .lc-figures > div):nth-child(4n + 2) { animation-range: entry 8% entry 88%; }
		:is(.catalog-grid > .product-card, .jn-grid > *, .sg-network > li, .difference-grid > article, .pd-install-list > li, .sg-steps > li, .process-grid > article, .pd-others > li, .q-home .fg-track-record > div, .pj-figures > div, .lc-figures > div):nth-child(4n + 3) { animation-range: entry 16% entry 96%; }
		:is(.catalog-grid > .product-card, .jn-grid > *, .sg-network > li, .difference-grid > article, .pd-install-list > li, .sg-steps > li, .process-grid > article, .pd-others > li, .q-home .fg-track-record > div, .pj-figures > div, .lc-figures > div):nth-child(4n + 4) { animation-range: entry 24% cover 30%; }

		/* Step markers fill as the line reaches them. */
		:is(main.field-guide-service .sg-step-number, .q-home .process-grid article > span) {
			animation: q-dot linear both;
			animation-timeline: view();
			animation-range: cover 30% cover 42%;
		}
		#contact-ready .sg-step-number { animation: none; }

		/* Credentials come into colour as they cross the middle of the screen. */
		.accreditation-badge img {
			animation: q-glow linear both;
			animation-timeline: view();
			animation-range: cover;
		}

		/* Hero words step back as the page moves on. */
		:is(.q-hero-text, .sg-hero[class] .sg-hero-grid > .sg-hero-copy, .jn-article-head) {
			animation: q-lift linear both;
			animation-timeline: scroll(root);
			animation-range: 0 60vh;
		}

		/* The enquiry card settles into place. */
		.fg-quote .contact-form {
			animation: q-settle-card linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}
	}
}

@keyframes q-curtain {
	from { clip-path: inset(24% 0 0 0 round var(--q-radius)); }
	to { clip-path: inset(0 0 0 0 round var(--q-radius)); }
}
@keyframes q-window {
	from { transform: translateY(18%) scale(.92); }
	to { transform: none; }
}
@keyframes q-rise-in {
	from { transform: translateY(56px); }
	to { transform: none; }
}
@keyframes q-dot {
	to { border-color: var(--q-green); background: var(--q-green); color: #fff; }
}
@keyframes q-glow {
	0%, 100% { filter: grayscale(1); opacity: .55; }
	38%, 62% { filter: none; opacity: 1; }
}
@keyframes q-lift {
	to { transform: translateY(-56px); opacity: .3; }
}
@keyframes q-settle-card {
	from { transform: translateY(48px) scale(.97); }
}

/* Words that fill in as you read them (set up by minimal.js). */
.q-w { color: #c9cfca; transition: color .3s ease; }
.q-w.is-lit { color: inherit; }
.ff-statement .q-w { color: #c3cbc5; }
.ff-statement .q-w.is-lit { color: var(--q-ink); }

/* 2.17.0: section-by-section polish. ------------------------------------------- */

/* Footer: on pages without the enquiry chapter, the two actions sit beside the statement as pills. */
footer.ff .ff-close { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
footer.ff .ff-statement { grid-column: 1; }
footer.ff .ff-actions { grid-column: 2; grid-row: 1 / span 2; align-self: end; flex-direction: row; flex-wrap: wrap; gap: 12px; min-width: 0; }
footer.ff .ff-actions .button { justify-content: center; min-height: 48px; }
footer.ff .ff-call { min-height: 48px; padding: 0 22px; border: 1px solid #cfd6d1; border-radius: 999px; background: #fff; color: var(--q-ink); font-weight: 500; }
footer.ff .ff-call:hover { border-color: var(--q-ink); background: #fff; color: var(--q-ink); }
@media (max-width: 760px) {
	footer.ff .ff-close { grid-template-columns: minmax(0, 1fr); }
	footer.ff .ff-actions { grid-column: 1; grid-row: auto; margin-top: 24px; }
	footer.ff .ff-actions > * { flex: 1 1 100%; }
}
/* The credential badge is round; its square photo corners are trimmed. */
footer.ff .ff-creds :is(picture, img) { border-radius: 50%; background: transparent; }

/* Menus: readable sub-links on phones (they kept the old light text), and the current page in green. */
@media (max-width: 1080px) {
	.field-header.is-nav-enhanced .field-nav-panel a > span { color: var(--q-ink); }
	.field-header.is-nav-enhanced .field-nav-kicker { color: var(--q-muted); }
}
.field-nav-panel a[aria-current="page"] { padding-bottom: 0; border-bottom: 0; color: var(--q-green); font-weight: 600; }

/* Small print stays readable: tags, counts and notes were 11px. */
.product-tags li { font-size: 12.5px; }
.jn-filters button span, .field-guide-projects .pj-filters button span { font-size: 12.5px; }
.sg-matches-note { font-size: 13px; color: var(--q-muted); }

/* Product photographs blend into their soft stage instead of showing a pale box. */
:is(.catalog-grid .product-image, .pd-stage) img { mix-blend-mode: multiply; }

/* Contents lists get the same soft corners as everything else. */
.sg-toc, .jn-rail .sg-toc { border-color: var(--q-line); border-radius: var(--q-radius); }
/* Section labels stay green on every surface (one older rule made some inherit the text colour). */
.fg-chapter .fg-chapter-heading .fg-chapter-topic { color: var(--q-green); }

/* 2.18.0: in-page links lay every section out while they scroll, so they land exactly. */
html.q-jumping main section { content-visibility: visible !important; }
main [tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* Enquiry form: calm fields, clear steps and an optional bill upload. -------------- */
.contact-form.enq-form { gap: 20px; color: var(--q-text); }
.contact-form.enq-form > h2 { margin: 0; font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: var(--q-ink); }
.contact-form.enq-form > .form-help { margin: -8px 0 0; max-width: 58ch; font-size: 15px; line-height: 1.55; color: var(--q-muted); }
.enq-form .enq-trust { gap: 8px; margin: 0; }
.enq-form .enq-trust li { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--q-soft); font-size: 13px; line-height: 1.4; color: var(--q-text); }
.enq-form .enq-trust b { color: var(--q-ink); }
.enq-form .enq-progress { gap: 8px; margin: 4px 0 0; }
.enq-form .enq-progress li { padding-top: 10px; border-top: 3px solid var(--q-line); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--q-muted); }
.enq-form .enq-progress li.is-done { border-color: #9cbca8; color: var(--q-text); }
.enq-form .enq-progress li.is-current { border-color: var(--q-green); font-weight: 600; color: var(--q-ink); }
.enq-form .enq-step { gap: 20px; }
.enq-form .enq-step-title { gap: 12px; margin-bottom: 2px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--q-ink); }
.enq-form .enq-step-title span { width: 28px; height: 28px; background: var(--q-green); color: #fff; font-size: 13px; font-weight: 600; }
.enq-form .enq-step-note { margin: -8px 0 0; font-size: 14px; color: var(--q-muted); }

/* Service choices: cards with a clear radio. */
.enq-form .enq-services { gap: 10px; }
.enq-form .enq-services span { min-height: 58px; padding: 14px 16px 14px 48px; border: 1px solid #d5dcd7; border-radius: 12px; background: #fff; font-size: 15.5px; font-weight: 500; color: var(--q-ink); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.enq-form .enq-services span::before { left: 16px; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid #9aa79f; background: #fff; }
.enq-form .enq-services label:hover span { border-color: #9aa79f; }
.enq-form .enq-services input:checked + span { border-color: var(--q-green); background: var(--q-tint); box-shadow: inset 0 0 0 1px var(--q-green); color: var(--q-ink); }
.enq-form .enq-services input:checked + span::before { border-color: var(--q-green); background: radial-gradient(circle, var(--q-green) 0 5px, #fff 5.5px); }

/* Labels, fields and quick choices. */
.enq-form.contact-form label { gap: 8px; font-size: 14px; font-weight: 600; color: var(--q-ink); }
.enq-form .enq-optional { font-weight: 400; color: var(--q-muted); }
.enq-form .form-grid { gap: 16px; }
.fg-quote .contact-form.enq-form :is(input:not([type="radio"], [type="checkbox"], [type="hidden"], [type="file"]), select, textarea),
.contact-form.enq-form :is(input:not([type="radio"], [type="checkbox"], [type="hidden"], [type="file"]), select, textarea) { min-height: 50px; padding: 12px 14px; border: 1px solid #cfd6d1; border-radius: 10px; background: #fff; font-family: var(--q-font); font-size: 16px; font-weight: 400; color: var(--q-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form.enq-form textarea { min-height: 120px; line-height: 1.55; }
.contact-form.enq-form ::placeholder { color: #8b958f; }
.contact-form.enq-form :is(input, select, textarea):focus { border-color: var(--q-green); outline: none; box-shadow: 0 0 0 3px rgba(21, 60, 46, .14); }
.contact-form.enq-form select { padding-right: 42px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23101814' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-position: right 16px center; background-repeat: no-repeat; cursor: pointer; }
.enq-form .enq-chips legend { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--q-ink); }
.enq-form .enq-chips > div { gap: 8px; }
.enq-form .enq-chips > div span { min-height: 42px; padding: 8px 16px; border: 1px solid #d5dcd7; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--q-text); }
.enq-form .enq-chips > div label:hover span { border-color: #9aa79f; }
.enq-form .enq-chips input:checked + span { border-color: var(--q-green); background: var(--q-tint); box-shadow: inset 0 0 0 1px var(--q-green); color: var(--q-ink); }
.enq-form input:focus-visible + span { outline: 2px solid var(--q-green); outline-offset: 2px; }
.contact-form.enq-form .form-help[data-peg-message-help] { margin-top: -10px; font-size: 13px; color: var(--q-muted); }
.enq-form .enq-error { font-size: 13px; font-weight: 500; color: #b42318; }

/* Optional bill: a quiet drop area; the chosen file shows below it. */
.enq-upload { display: grid; gap: 10px; }
.enq-form.contact-form .enq-upload-zone { position: relative; display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px dashed #b9c4bd; border-radius: 14px; background: var(--q-soft); font-weight: 400; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.enq-upload-zone:hover, .enq-upload.is-drag .enq-upload-zone { border-color: var(--q-green); background: var(--q-tint); }
.enq-upload-zone:has(input:focus-visible) { outline: 2px solid var(--q-green); outline-offset: 2px; }
.enq-form .enq-upload-zone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.enq-upload-icon { flex: 0 0 auto; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--q-line); color: var(--q-green); }
.enq-form.contact-form .enq-upload-text { display: block; font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--q-text); }
.enq-form.contact-form .enq-upload-text b { font-weight: 600; color: var(--q-ink); }
.enq-form.contact-form .enq-upload-text small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--q-muted); }
.enq-upload.has-file .enq-upload-zone { border-style: solid; border-color: #cfd6d1; background: #fff; }
.enq-upload-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--q-tint); font-size: 14px; font-weight: 500; color: var(--q-ink); }
.enq-upload-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.enq-upload-file button { flex: 0 0 auto; min-height: 36px; padding: 0 14px; border: 1px solid #b9c4bd; border-radius: 999px; background: #fff; color: var(--q-ink); font: 500 13px/1 var(--q-font); cursor: pointer; }
.enq-upload-file button:hover { border-color: var(--q-ink); }

/* Consent, navigation and the thank-you state. */
.enq-form.contact-form .consent { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--q-text); }
.enq-form.contact-form .consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--q-green); }
.enq-form.contact-form .consent a { color: var(--q-green); }
.enq-form .enq-nav { gap: 16px; margin-top: 8px; }
.enq-form .enq-back { min-height: 48px; padding: 0 4px; font-size: 15px; font-weight: 500; color: var(--q-text); text-decoration: none; }
.enq-form .enq-back:hover { color: var(--q-ink); text-decoration: underline; text-underline-offset: 4px; }
.fg-quote .contact-form.enq-form button[type="submit"], .enq-form .enq-nav .button { min-height: 52px; border-radius: 999px; font-size: 16px; }
@media (min-width: 761px) {
	.enq-form .enq-nav .button { flex: 0 0 auto; width: auto; min-width: 220px; margin-left: auto; padding: 0 32px; }
}
@media (max-width: 760px) {
	.enq-form .enq-nav, .fg-quote .contact-form .enq-nav { background: rgba(255, 255, 255, .97); border-top: 1px solid var(--q-line); box-shadow: 0 -8px 24px rgba(16, 24, 20, .06); }
	.enq-form .enq-nav .button { flex: 1 1 auto; }
	.enq-form .enq-upload-zone { padding: 16px; }
}
.enq-success { border-radius: 20px; background: var(--q-soft); color: var(--q-text); }
.enq-success h2 { color: var(--q-ink); }
.enq-success li::before { color: var(--q-green); }
.enq-success ol, .enq-success li { border-color: var(--q-line); }
.enq-success-call a { color: var(--q-green); }
/* Text questions read on one line: label, then "(optional)", then the field. */
.enq-form.contact-form label.enq-q { display: block; }
.enq-form.contact-form label.enq-q input { display: block; width: 100%; margin-top: 8px; }
