/* ==========================================================================
   Gill Manufacturing — design system (v2, corporate refinement)
   Layered on Avada global options (palette, typography). Component classes
   are prefixed "g-" and applied to Avada Builder containers/columns via their
   CSS Class field, or emitted by the child-theme shortcodes and builder
   templates. See docs/DESIGN-DIRECTION.md.
   ========================================================================== */

:root {
	--g-ink: #121821;
	--g-charcoal: #2a323d;
	--g-steel: #586271;
	--g-line: #e1e5ea;
	--g-line-strong: #c6cdd6;
	--g-gray: #f3f5f7;
	--g-gray-2: #e9edf1;
	--g-paper: #ffffff;
	--g-blue: #0066ca;
	--g-blue-dark: #004f9e;
	--g-blue-light: #6aa9f2;
	--g-blue-tint: #eaf3fd;
	--g-navy: #0c1a2e;
	--g-navy-2: #0a1424;

	--g-font-display: "Gill Display", "Manrope", "Helvetica Neue", Arial, sans-serif;
	--g-font-text: "Gill Text", "Inter", "Helvetica Neue", Arial, sans-serif;

	--g-gutter: clamp(16px, 4vw, 48px);
	--g-max: 1320px;
	--g-section: clamp(64px, 8vw, 120px);
	--g-section-sm: clamp(44px, 5vw, 80px);
	--g-radius: 6px;
	--g-shadow-sm: 0 1px 2px rgba(12, 26, 46, .06), 0 2px 8px rgba(12, 26, 46, .05);
	--g-shadow: 0 2px 6px rgba(12, 26, 46, .06), 0 18px 40px -18px rgba(12, 26, 46, .22);
	--g-shadow-product: drop-shadow(0 22px 22px rgba(12, 26, 46, .18)) drop-shadow(0 4px 6px rgba(12, 26, 46, .10));
	--g-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------------------------------------------------------- */

html { -webkit-text-size-adjust: 100%; }
body, #main, #wrapper, .fusion-body #main { background: var(--g-paper); }
body { color: var(--g-charcoal); font-family: var(--g-font-text); -webkit-font-smoothing: antialiased; }
body #main { padding-top: 0; padding-bottom: 0; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, .g-display { font-family: var(--g-font-display); color: var(--g-ink); }
.fusion-text p, .g-prose p { max-width: 68ch; }
.fusion-text a:not(.g-btn), .g-prose a:not(.g-btn) { color: var(--g-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fusion-text a:not(.g-btn):hover { color: var(--g-blue-dark); }
::selection { background: var(--g-blue); color: #fff; }

/* Visible keyboard focus everywhere. */
body.fusion-body :focus-visible,
body.fusion-disable-outline :focus-visible {
	outline: 3px solid var(--g-blue) !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, .9);
}
.skip-link:focus { background: var(--g-ink); color: #fff; padding: 12px 18px; z-index: 100000; }

/* ---------- Type -------------------------------------------------------- */

.g-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 14px/1.3 var(--g-font-text); letter-spacing: .01em;
	color: var(--g-blue); margin: 0 0 16px;
}
.g-eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.g-eyebrow a { color: inherit !important; text-decoration: none !important; }
.g-eyebrow a:hover { color: var(--g-blue-dark) !important; }
.g-on-dark .g-eyebrow { color: var(--g-blue-light); }

.g-h1 { font: 700 clamp(2rem, 1.2rem + 2.2vw, 3.25rem)/1.12 var(--g-font-display); letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
.g-h2 { font: 700 clamp(1.6rem, 1.1rem + 1.4vw, 2.375rem)/1.16 var(--g-font-display); letter-spacing: -.015em; margin: 0 0 .55em; text-wrap: balance; }
.g-h3 { font: 700 clamp(1.15rem, 1rem + .35vw, 1.3rem)/1.3 var(--g-font-display); letter-spacing: -.005em; margin: 0 0 .5em; }
.g-lede { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.6; color: var(--g-charcoal); max-width: 58ch; }
.g-muted { color: var(--g-steel); }
.g-num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ------------------------------------------------------- */

.g-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px;
	font: 600 15.5px/1 var(--g-font-text); letter-spacing: 0; text-decoration: none !important;
	border: 1.5px solid transparent; border-radius: var(--g-radius);
	transition: background-color .2s var(--g-ease), color .2s var(--g-ease), border-color .2s var(--g-ease), box-shadow .2s var(--g-ease), transform .2s var(--g-ease);
}
.g-btn--primary { background: var(--g-blue); color: #fff !important; box-shadow: 0 6px 18px -8px rgba(0, 102, 202, .7); }
.g-btn--primary:hover { background: var(--g-blue-dark); transform: translateY(-1px); }
.g-btn.g-btn--secondary { background: #fff; color: var(--g-ink) !important; border-color: var(--g-line-strong); }
.g-btn.g-btn--secondary:hover { border-color: var(--g-ink); }
.g-btn--dark { background: var(--g-navy); color: #fff !important; }
.g-btn--dark:hover { background: var(--g-blue); }
.g-btn--light { background: #fff; color: var(--g-ink) !important; }
.g-btn--light:hover { background: var(--g-blue-tint); }
.g-btn.g-btn--ghost-light { color: #fff !important; border-color: rgba(255,255,255,.5); }
.g-btn.g-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.g-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.g-link-arrow { font-weight: 600; color: var(--g-blue) !important; text-decoration: none !important; display: inline-flex; gap: 6px; align-items: center; }
.g-link-arrow::after { content: "→"; transition: transform .2s var(--g-ease); }
.g-link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header -------------------------------------------------------- */

.fusion-secondary-header { background: var(--g-navy) !important; border: 0 !important; }
.fusion-secondary-header, .fusion-secondary-header a, .fusion-secondary-header .fusion-contact-info { color: #c3ccd8 !important; font: 500 13px/1 var(--g-font-text) !important; }
.fusion-secondary-header .fusion-row { min-height: 36px; display: flex; align-items: center; }
.fusion-secondary-header a:hover { color: #fff !important; }
.fusion-header-separator { opacity: .35; margin: 0 10px; }

.fusion-header-wrapper .fusion-header { background: rgba(255,255,255,.96) !important; border-bottom: 1px solid var(--g-line) !important; box-shadow: none !important; backdrop-filter: saturate(1.2) blur(8px); }
.fusion-header .fusion-logo img { max-height: 44px !important; width: auto; }
.fusion-main-menu > ul > li > a, .fusion-main-menu > ul > li > a .menu-text { font: 500 15px/1 var(--g-font-text) !important; color: var(--g-ink) !important; }
.fusion-main-menu > ul > li { padding-right: 30px; }
.fusion-main-menu > ul > li:last-child { padding-right: 0; }
.fusion-main-menu > ul > li > a.fusion-bar-highlight { border-top: 0 !important; }
.fusion-main-menu > ul > li > a:hover .menu-text,
.fusion-main-menu > ul > .current-menu-item > a .menu-text,
.fusion-main-menu > ul > .current-menu-ancestor > a .menu-text { color: var(--g-blue) !important; }
.fusion-main-menu > ul > .current-menu-item > a, .fusion-main-menu > ul > .current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--g-blue); }
.fusion-main-menu > ul > li.g-menu-cta > a { box-shadow: none !important; }
.fusion-main-menu > ul > li.g-menu-cta > a .menu-text { background: var(--g-blue); color: #fff !important; padding: 12px 18px; border-radius: var(--g-radius); transition: background-color .2s; }
.fusion-main-menu > ul > li.g-menu-cta > a:hover .menu-text { background: var(--g-blue-dark); color: #fff !important; }
.fusion-main-menu .sub-menu { background: #fff !important; border: 1px solid var(--g-line) !important; border-top: 2px solid var(--g-blue) !important; border-radius: 0 0 var(--g-radius) var(--g-radius); box-shadow: var(--g-shadow) !important; min-width: 260px; padding: 8px 0; }
.fusion-main-menu .sub-menu li a { font: 500 15px/1.35 var(--g-font-text) !important; color: var(--g-ink) !important; padding: 10px 20px !important; border: 0 !important; background: transparent !important; }
.fusion-main-menu .sub-menu li a:hover { color: var(--g-blue) !important; background: var(--g-gray) !important; }
.fusion-mobile-nav-holder .fusion-mobile-nav-item a { font: 500 16px/1.2 var(--g-font-text) !important; color: var(--g-ink) !important; }
.fusion-mobile-menu-icons a { color: var(--g-ink) !important; font-size: 24px; }

/* ---------- Layout: sections and the content row --------------------------
   Content rows are centered at --g-max with no negative margins, so every
   section shares the header's left edge. Gutters live on the container. */

.fusion-fullwidth[class*="g-section"] { padding-left: var(--g-gutter) !important; padding-right: var(--g-gutter) !important; }
.fusion-fullwidth[class*="g-section"] > .fusion-builder-row { max-width: var(--g-max) !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
.fusion-fullwidth.g-section { padding-top: var(--g-section) !important; padding-bottom: var(--g-section) !important; }
.fusion-fullwidth.g-section-sm { padding-top: var(--g-section-sm) !important; padding-bottom: var(--g-section-sm) !important; }
.fusion-fullwidth.g-flush-top { padding-top: 0 !important; }
.fusion-fullwidth.g-flush-bottom { padding-bottom: 0 !important; }
.fusion-fullwidth.g-bg-paper { background-color: var(--g-paper) !important; }
.fusion-fullwidth.g-bg-gray, .fusion-fullwidth.g-bg-warm { background-color: var(--g-gray) !important; }
.fusion-fullwidth.g-bg-stone { background-color: var(--g-gray-2) !important; }
.fusion-fullwidth.g-bg-navy { background-color: var(--g-navy) !important; }
.fusion-fullwidth.g-rule-top { border-top: 1px solid var(--g-line) !important; }
.g-on-dark, .g-on-dark p, .g-on-dark li { color: #c9d2de; }
.g-on-dark h1, .g-on-dark h2, .g-on-dark h3, .g-on-dark h4, .g-on-dark .g-h2 { color: #fff; }
.g-on-dark .fusion-text a:not(.g-btn) { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.g-on-dark .fusion-text a:not(.g-btn):hover { color: var(--g-blue-light); }
.fusion-fullwidth .fusion-text > *:last-child { margin-bottom: 0; }
.g-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.g-head .g-h2 { margin: 0; }
.g-head p { margin: 12px 0 0; color: var(--g-steel); max-width: 60ch; }

/* ---------- Home hero ----------------------------------------------------- */

.fusion-fullwidth.g-hero { background:
	radial-gradient(1200px 520px at 78% 30%, #ffffff 0%, rgba(255,255,255,0) 60%),
	linear-gradient(180deg, #f6f8fa 0%, #eef2f6 100%) !important;
	overflow: hidden; padding-top: clamp(40px, 6vw, 88px) !important; padding-bottom: clamp(40px, 6vw, 88px) !important; }
.g-hero__brand { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 600 14px/1.3 var(--g-font-text); color: var(--g-steel); }
.g-hero__brand img { width: 34px; height: auto; }
.g-hero .g-h1 { max-width: none; }
.g-hero .g-h1 .g-line { display: block; }
.g-hero .g-lede { max-width: 52ch; }
.g-trustline { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 30px 0 0; padding: 0; color: var(--g-steel); font: 500 14.5px/1.4 var(--g-font-text); }
.g-trustline li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.g-trustline li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--g-blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230066ca' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Layered product stage: real cut-out photography on a soft lit surface. */
.g-stage { position: relative; aspect-ratio: 6 / 5; width: 100%; isolation: isolate; }
.g-stage::before { content: ""; position: absolute; inset: 8% 0 0 6%; border-radius: 10px; background: linear-gradient(160deg, #ffffff 0%, #e7ecf1 100%); box-shadow: inset 0 0 0 1px rgba(12,26,46,.05); z-index: -2; }
.g-stage::after { content: ""; position: absolute; left: 10%; right: 4%; bottom: 7%; height: 10%; background: radial-gradient(closest-side, rgba(12,26,46,.16), rgba(12,26,46,0)); z-index: -1; }
.g-stage figure { position: absolute; margin: 0; }
.g-stage img { display: block; width: 100%; height: auto; filter: var(--g-shadow-product); }
.g-stage__back { top: 0; right: 2%; width: 56%; z-index: 1; }
.g-stage__main { left: 0; bottom: 9%; width: 66%; z-index: 2; }
.g-stage__front { right: 4%; bottom: 3%; width: 38%; z-index: 3; }
.g-stage__tag { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,.94); border: 1px solid var(--g-line); border-radius: 999px; box-shadow: var(--g-shadow-sm); font: 600 13px/1 var(--g-font-text); color: var(--g-ink) !important; text-decoration: none !important; white-space: nowrap; transition: border-color .2s, color .2s; }
.g-stage__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g-blue); box-shadow: 0 0 0 4px var(--g-blue-tint); }
.g-stage__tag:hover { border-color: var(--g-blue); color: var(--g-blue) !important; }
.g-stage__tag--back { top: 4%; left: 34%; }
.g-stage__tag--main { left: 4%; bottom: 4%; }
.g-stage__tag--front { right: 6%; bottom: -1%; }

/* Facts strip under the hero */
.g-facts-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.g-facts-strip li { margin: 0; padding: 6px 28px; border-left: 1px solid var(--g-line); }
.g-facts-strip li:first-child { border-left: 0; padding-left: 0; }
.g-facts-strip strong { display: block; font: 700 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--g-font-display); color: var(--g-ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.g-facts-strip span { display: block; margin-top: 6px; color: var(--g-steel); font-size: 15px; line-height: 1.45; }

/* ---------- Product-line showcase (tabs) ---------------------------------- */

.g-show__tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--g-gray); border: 1px solid var(--g-line); border-radius: 10px; margin: 0 0 32px; flex-wrap: wrap; }
.g-show__tabs[hidden] { display: none; }
.g-show__tab { appearance: none; border: 0; background: transparent; padding: 11px 18px; border-radius: 7px; font: 600 15px/1 var(--g-font-text); color: var(--g-steel); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.g-show__tab:hover { color: var(--g-ink); }
.g-show__tab[aria-selected="true"] { background: #fff; color: var(--g-ink); box-shadow: var(--g-shadow-sm); }
.g-show__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.g-show__panel + .g-show__panel { margin-top: 56px; }
.g-show--ready .g-show__panel + .g-show__panel { margin-top: 0; }
.g-show--ready .g-show__panel[hidden] { display: none; }
.g-show__stage { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(165deg, #ffffff 0%, var(--g-gray) 100%); border: 1px solid var(--g-line); border-radius: 10px; overflow: hidden; }
.g-show__stage img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: var(--g-shadow-product); transition: opacity .35s var(--g-ease), transform .5s var(--g-ease); }
.g-show__stage img.is-flat { filter: none; mix-blend-mode: multiply; }
.g-show__stage img.is-leaving { opacity: 0; transform: scale(.98); }
.g-show__title { font: 700 clamp(1.4rem, 1.1rem + .8vw, 1.85rem)/1.2 var(--g-font-display); margin: 0 0 10px; }
.g-show__text { color: var(--g-steel); margin: 0 0 22px; max-width: 54ch; }
.g-show__list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--g-line); }
.g-show__list li { margin: 0; border-bottom: 1px solid var(--g-line); }
.g-show__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 6px 14px 0; color: var(--g-ink) !important; text-decoration: none !important; font-weight: 600; transition: color .2s, padding .2s var(--g-ease); }
.g-show__list a span { font: 500 13px/1 var(--g-font-text); color: var(--g-steel); font-variant-numeric: tabular-nums; }
.g-show__list a:hover, .g-show__list a:focus-visible, .g-show__list a.is-active { color: var(--g-blue) !important; padding-left: 8px; }

/* ---------- Markets / industries bento ------------------------------------ */

.g-markets { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; list-style: none; margin: 0; padding: 0; }
.g-market { position: relative; margin: 0; grid-column: span 4; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--g-line); display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; isolation: isolate; }
.g-market--feature { grid-column: span 8; grid-row: span 2; min-height: 520px; border: 0; background: var(--g-navy); }
.g-market--dark { background: var(--g-navy); border: 0; }
.g-market__img { position: absolute; z-index: -1; transition: transform .8s var(--g-ease); }
.g-market--feature .g-market__img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-market--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,20,36,0) 35%, rgba(10,20,36,.86) 100%); }
.g-market:not(.g-market--feature) .g-market__img { right: 18px; top: 18px; width: auto; height: 52%; max-width: 64%; object-fit: contain; filter: var(--g-shadow-product); }
.g-market:hover .g-market__img { transform: scale(1.04); }
.g-market__body { padding: 22px 24px; }
.g-market--feature .g-market__body { max-width: 560px; padding: clamp(24px, 3vw, 40px); }
.g-market h3 { font: 700 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1.25 var(--g-font-display); margin: 0 0 6px; }
.g-market p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--g-steel); }
.g-market--feature h3, .g-market--dark h3 { color: #fff; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.9rem); }
.g-market--feature p, .g-market--dark p { color: #d3dbe6; }
.g-market a.g-market__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.g-market a.g-market__link:focus-visible { outline-offset: -4px !important; }

/* ---------- Facility band (full bleed) ------------------------------------ */

.fusion-fullwidth.g-facility { position: relative; overflow: hidden; background: var(--g-navy) !important; padding-top: clamp(72px, 9vw, 140px) !important; padding-bottom: clamp(72px, 9vw, 140px) !important; isolation: isolate; }
.g-facility__media { position: absolute; inset: -8% 0; z-index: -2; }
.g-facility__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.g-facility__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,36,.94) 0%, rgba(10,20,36,.82) 36%, rgba(10,20,36,.25) 70%, rgba(10,20,36,.05) 100%); }
.g-facility__copy, .g-facility__credit { position: relative; z-index: 1; }
.g-facility__credit { position: absolute; }
.g-facility .fusion-builder-row, .g-facility .fusion-layout-column, .g-facility .fusion-column-wrapper { position: static !important; }
.g-facility__copy { max-width: 560px; }
.g-facility .g-h2 { color: #fff; }
.g-facility p { color: #d5dde8; }
.g-capabilities { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.g-capabilities li { margin: 0; display: flex; gap: 12px; align-items: flex-start; color: #eef2f7; font-size: 16px; line-height: 1.5; }
.g-capabilities li::before { content: ""; flex: none; margin-top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(106,169,242,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%236aa9f2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.g-facility__credit { position: absolute; right: var(--g-gutter); bottom: 18px; margin: 0; font-size: 13px; color: rgba(255,255,255,.8); }

/* ---------- Full-bleed photograph ----------------------------------------- */

.g-bleed { margin: 0; position: relative; overflow: hidden; }
.g-bleed img { display: block; width: 100%; height: clamp(280px, 42vw, 620px); object-fit: cover; object-position: 50% 60%; }
.g-bleed figcaption { position: absolute; left: var(--g-gutter); bottom: 16px; padding: 8px 12px; border-radius: var(--g-radius); background: rgba(12,26,46,.72); color: #fff; font-size: 13.5px; }

/* ---------- Galleries ----------------------------------------------------- */

.g-work .fusion-gallery .fusion-gallery-image, .g-product .fusion-gallery .fusion-gallery-image { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); overflow: hidden; transition: border-color .2s, box-shadow .3s var(--g-ease); }
.g-work .fusion-gallery .fusion-gallery-image:hover, .g-product .fusion-gallery .fusion-gallery-image:hover { border-color: var(--g-line-strong); box-shadow: var(--g-shadow); }
.g-work .fusion-gallery img, .g-product .fusion-gallery img { aspect-ratio: 4/3; object-fit: contain; transition: transform .6s var(--g-ease); }
.g-work .fusion-gallery .fusion-gallery-image:hover img { transform: scale(1.04); }

/* ---------- Product grid (shortcode [gill_product_grid]) ------------------ */

.g-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.g-card { margin: 0; }
.g-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--g-line); border-radius: 8px; overflow: hidden; text-decoration: none !important; color: var(--g-ink); transition: border-color .25s var(--g-ease), box-shadow .3s var(--g-ease), transform .3s var(--g-ease); }
.g-card__link:hover { border-color: var(--g-line-strong); box-shadow: var(--g-shadow); transform: translateY(-2px); }
.g-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.g-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--g-ease); }
.g-card__link:hover .g-card__media img { transform: scale(1.04); }
.g-card__title { font: 700 16.5px/1.3 var(--g-font-display) !important; margin: 0 !important; padding: 16px 18px 4px; border-top: 1px solid var(--g-line); color: var(--g-ink); }
.g-card__model { font: 500 13px/1.3 var(--g-font-text); color: var(--g-steel); padding: 0 18px 18px; font-variant-numeric: tabular-nums; }

.g-cat-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.g-cat-head .g-h2 { margin: 0; }
.g-cat-head p { margin: 10px 0 0; color: var(--g-steel); max-width: 62ch; }
.g-jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.g-jump a { display: inline-block; padding: 10px 16px; border: 1px solid var(--g-line-strong); color: var(--g-ink) !important; text-decoration: none !important; font-weight: 600; font-size: 15px; border-radius: 999px; background: #fff; transition: border-color .2s, color .2s; }
.g-jump a:hover { border-color: var(--g-blue); color: var(--g-blue) !important; }

/* ---------- Page header (inner pages) ------------------------------------- */

.fusion-fullwidth.g-pagehead { background: linear-gradient(180deg, #f6f8fa 0%, #ffffff 100%) !important; border-bottom: 1px solid var(--g-line) !important; }
.g-pagehead .g-h1 { max-width: 22ch; }
.g-pagehead .g-lede { margin-top: 0; }
.g-pagehead__media { position: relative; isolation: isolate; }
.g-pagehead__media img { width: 100%; height: auto; filter: var(--g-shadow-product); }
.g-pagehead__media::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -2%; height: 9%; background: radial-gradient(closest-side, rgba(12,26,46,.14), rgba(12,26,46,0)); z-index: -1; }

/* Breadcrumbs remain in structured data only (Yoast BreadcrumbList). */
.g-breadcrumbs { display: none !important; }

/* ---------- Product detail ------------------------------------------------ */

.g-product .g-h1 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem); max-width: 18ch; }
.g-product__model { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1 var(--g-font-text); font-variant-numeric: tabular-nums; padding: 8px 12px; background: var(--g-blue-tint); color: var(--g-blue-dark); border-radius: 999px; margin: 0 0 20px; }
.g-product__main .fusion-imageframe { display: block; background: #fff; border: 1px solid var(--g-line); border-radius: 10px; overflow: hidden; }
.g-product__main img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.g-product .fusion-gallery { margin-top: 12px !important; }
.g-gallery-note { font-size: 14px; color: var(--g-steel); margin-top: 12px; }
@media (min-width: 1025px) { .g-product__info .fusion-column-wrapper { position: sticky; top: 120px; } }

.g-specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--g-line); }
.g-specs li { position: relative; margin: 0; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--g-line); font-size: 15.5px; line-height: 1.5; color: var(--g-charcoal); }
.g-specs li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--g-blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230066ca' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.g-subhead { font: 700 16px/1.3 var(--g-font-display) !important; color: var(--g-ink) !important; margin: 32px 0 12px !important; letter-spacing: 0 !important; text-transform: none !important; }
.g-note { background: var(--g-gray); border-radius: var(--g-radius); padding: 16px 20px; margin: 24px 0 0; font-size: 15px; line-height: 1.55; }

/* ---------- Standards ----------------------------------------------------- */

.g-standards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.g-standards li { margin: 0; padding: 26px 24px; background: #fff; border: 1px solid var(--g-line); border-radius: 10px; }
.g-standards li::before { content: ""; display: block; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 9px; background: var(--g-blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230066ca' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.g-standards h3 { font: 700 18px/1.3 var(--g-font-display); margin: 0 0 8px; }
.g-standards p { margin: 0; color: var(--g-steel); font-size: 15.5px; line-height: 1.55; }
.g-on-dark .g-standards li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.g-on-dark .g-standards p { color: #b3bfce; }

/* ---------- Figures, checklists, index, steps ------------------------------ */

.g-figure { margin: 0; }
.g-figure img { display: block; width: 100%; }
.g-figure figcaption { font-size: 14px; color: var(--g-steel); margin-top: 12px; }
.g-frame img { border-radius: 10px; }
.g-checklist { list-style: none; margin: 20px 0 0; padding: 0; }
.g-checklist li { position: relative; padding: 10px 0 10px 30px; margin: 0; border-bottom: 1px solid var(--g-line); }
.g-checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--g-blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230066ca' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.g-index { list-style: none; counter-reset: gi; margin: 0; padding: 0; }
.g-index > li { counter-increment: gi; display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--g-line); margin: 0; }
.g-index > li:last-child { border-bottom: 1px solid var(--g-line); }
.g-index > li::before { content: counter(gi, decimal-leading-zero); font: 700 15px/1.6 var(--g-font-display); color: var(--g-blue); font-variant-numeric: tabular-nums; }
.g-index h3 { font: 700 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.25 var(--g-font-display); margin: 0; }
.g-index p { margin: 0 0 10px; }
.g-index .g-index__links { font-size: 15px; color: var(--g-steel); }

.g-steps { list-style: none; counter-reset: gs; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.g-steps li { counter-increment: gs; margin: 0; padding: 24px; border-radius: 10px; background: #fff; border: 1px solid var(--g-line); }
.g-steps li::before { content: counter(gs); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--g-blue); color: #fff; font: 700 15px/1 var(--g-font-display); margin-bottom: 16px; }
.g-steps h3 { font: 700 18px/1.3 var(--g-font-display); color: var(--g-ink); margin: 0 0 8px; }
.g-steps p { margin: 0; color: var(--g-steel); font-size: 15.5px; line-height: 1.55; }
.g-on-dark .g-steps li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.g-on-dark .g-steps h3 { color: #fff; }
.g-on-dark .g-steps p { color: #b3bfce; }

/* ---------- FAQ ----------------------------------------------------------- */

.g-faq { border-top: 1px solid var(--g-line); }
.g-faq details { border-bottom: 1px solid var(--g-line); }
.g-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font: 700 clamp(1rem, .95rem + .3vw, 1.125rem)/1.4 var(--g-font-display); color: var(--g-ink); }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--g-gray); font: 500 20px/1 var(--g-font-text); color: var(--g-blue); transition: transform .2s var(--g-ease), background-color .2s; }
.g-faq details[open] summary::after { transform: rotate(45deg); background: var(--g-blue-tint); }
.g-faq details > div { padding: 0 0 22px; max-width: 70ch; color: var(--g-charcoal); }
.g-faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band (light) --------------------------------------------- */

.fusion-fullwidth.g-cta { background: var(--g-gray) !important; border-top: 1px solid var(--g-line) !important; }
.g-cta .g-h2 { max-width: 20ch; }
.g-cta__card { background: #fff; border: 1px solid var(--g-line); border-radius: 12px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--g-shadow-sm); }
.g-cta__card dl { margin: 0; display: grid; gap: 18px; }
.g-cta__card dt { font: 600 13.5px/1.2 var(--g-font-text); color: var(--g-steel); }
.g-cta__card dd { margin: 4px 0 0; font-size: 17px; color: var(--g-ink); }
.g-cta__card a { color: var(--g-ink) !important; font-weight: 600; text-decoration: none !important; }
.g-cta__card a:hover { color: var(--g-blue) !important; }

/* ---------- Contact / forms ----------------------------------------------- */

.g-panel { background: #fff; border: 1px solid var(--g-line); border-radius: 12px; padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--g-shadow); }
.g-details { margin: 0; }
.g-details dt { font: 600 13.5px/1.2 var(--g-font-text); color: var(--g-steel); margin-top: 22px; }
.g-details dt:first-child { margin-top: 0; }
.g-details dd { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: var(--g-ink); }
.g-details a { color: var(--g-ink); font-weight: 600; text-decoration: none !important; }
.g-details a:hover { color: var(--g-blue); }
.g-contact-card { background: var(--g-gray); border-radius: 12px; padding: clamp(22px, 3vw, 36px); }
.g-contact-card img { border-radius: 8px; margin-top: 24px; display: block; width: 100%; }

.wpcf7 form .g-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.g-form .g-field { margin: 0; }
.g-form .g-field--full { grid-column: 1 / -1; }
.g-form label { display: block; font: 600 14px/1.3 var(--g-font-text); color: var(--g-ink); margin-bottom: 8px; }
.g-form .g-req { color: var(--g-blue); font-weight: 600; }
.g-form .g-hint { display: block; font-weight: 400; color: var(--g-steel); font-size: 13px; margin-top: 3px; }
.g-form input[type="text"], .g-form input[type="email"], .g-form input[type="tel"], .g-form select, .g-form textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; font: 400 16px/1.4 var(--g-font-text); color: var(--g-ink);
	background: #fff !important; border: 1px solid var(--g-line-strong) !important; border-radius: var(--g-radius) !important; box-shadow: none; appearance: none;
	transition: border-color .2s, box-shadow .2s;
}
.g-form select { background-image: linear-gradient(45deg, transparent 50%, var(--g-ink) 50%), linear-gradient(135deg, var(--g-ink) 50%, transparent 50%) !important; background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50% !important; background-size: 6px 6px !important; background-repeat: no-repeat !important; padding-right: 40px; }
.g-form textarea { min-height: 160px; resize: vertical; }
.g-form input:focus, .g-form select:focus, .g-form textarea:focus { border-color: var(--g-blue) !important; box-shadow: 0 0 0 4px var(--g-blue-tint) !important; }
.g-form input[type="file"] { font-size: 15px; padding: 10px 0; }
.g-form .wpcf7-not-valid { border-color: #b3261e !important; }
.g-form .wpcf7-not-valid-tip { color: #b3261e; font-size: 14px; margin-top: 6px; }
.g-form .wpcf7-submit { min-height: 52px; padding: 0 30px; background: var(--g-blue) !important; color: #fff !important; border: 0 !important; border-radius: var(--g-radius) !important; font: 600 16px/1 var(--g-font-text) !important; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0,102,202,.7); }
.g-form .wpcf7-submit:hover { background: var(--g-blue-dark) !important; }
.g-form .g-privacy { display: block; font-size: 13px; color: var(--g-steel); margin: 12px 0 0; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 16px; border-width: 1px; border-radius: var(--g-radius); font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1f7a3d; background: #eef7f0; color: #14532d; }
.g-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer -------------------------------------------------------- */

.fusion-footer-widget-area { background: var(--g-navy) !important; border: 0 !important; padding: clamp(56px, 7vw, 88px) 0 44px !important; }
.fusion-footer-widget-area, .fusion-footer-widget-area p, .fusion-footer-widget-area li { color: #b6c1cf !important; font: 400 15px/1.65 var(--g-font-text) !important; }
.fusion-footer-widget-area .widget-title, .fusion-footer-widget-area h4 { font: 700 15px/1.2 var(--g-font-display) !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; margin: 0 0 16px !important; }
.fusion-footer-widget-area a { color: #dfe6ef !important; text-decoration: none; }
.fusion-footer-widget-area a:hover { color: #fff !important; text-decoration: underline; }
.fusion-footer-widget-area ul { list-style: none; margin: 0; padding: 0; }
.fusion-footer-widget-area ul li { padding: 3px 0 !important; border: 0 !important; }
.fusion-footer-widget-area ul li::before { display: none !important; }
.g-footer-brand img { width: 180px; height: auto; margin-bottom: 18px; }
.g-footer-brand p { max-width: 34ch; }
.fusion-footer-copyright-area { background: var(--g-navy-2) !important; border-top: 1px solid rgba(255,255,255,.08) !important; padding: 20px 0 !important; }
.fusion-copyright-notice, .fusion-copyright-notice a { color: #8e9bad !important; font: 400 13.5px/1.5 var(--g-font-text) !important; }
.fusion-copyright-notice a:hover { color: #fff !important; }

/* ---------- Motion --------------------------------------------------------
   Two gates: html.g-js (added by js/gill.js) and no reduced-motion preference.
   Without either, everything renders in its final, visible state. */

@media (prefers-reduced-motion: no-preference) {
	@keyframes g-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
	@keyframes g-rise-sm { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
	@keyframes g-settle { from { transform: translateY(14px) scale(.985); } to { transform: none; } }
	@keyframes g-slide-l { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
	@keyframes g-slide-u { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
	@keyframes g-pop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }

	/* Hero entrance sequence. The main product (LCP) is never faded: it only settles. */
	html.g-js .g-hero__brand { animation: g-rise-sm .5s var(--g-ease) both; }
	html.g-js .g-hero .g-h1 { animation: g-rise .6s var(--g-ease) .1s both; }
	html.g-js .g-hero .g-lede { animation: g-rise .6s var(--g-ease) .22s both; }
	html.g-js .g-hero .g-btn-row { animation: g-rise .6s var(--g-ease) .34s both; }
	html.g-js .g-hero .g-trustline { animation: g-rise-sm .6s var(--g-ease) .46s both; }
	html.g-js .g-stage__main { animation: g-settle .9s var(--g-ease) both; }
	html.g-js .g-stage__back { animation: g-slide-l .9s var(--g-ease) .18s both; }
	html.g-js .g-stage__front { animation: g-slide-u .9s var(--g-ease) .32s both; }
	html.g-js .g-stage__tag { animation: g-pop .45s var(--g-ease) both; }
	html.g-js .g-stage__tag--back { animation-delay: .7s; }
	html.g-js .g-stage__tag--main { animation-delay: .8s; }
	html.g-js .g-stage__tag--front { animation-delay: .9s; }

	/* Scroll reveals (IntersectionObserver adds .is-visible). --i staggers children. */
	html.g-js .g-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--g-ease), transform .7s var(--g-ease); transition-delay: calc(var(--i, 0) * 80ms); }
	html.g-js .g-reveal.is-visible { opacity: 1; transform: none; }

	/* Scroll-linked depth, CSS only (Chromium); static elsewhere. */
	@supports (animation-timeline: view()) {
		@keyframes g-parallax { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
		@keyframes g-drift { from { transform: translateY(16px); } to { transform: translateY(-16px); } }
		.g-facility__media img { animation: g-parallax linear both; animation-timeline: view(); }
		.g-market:not(.g-market--feature) .g-market__img { animation: g-drift linear both; animation-timeline: view(); }
		.g-pagehead__media img { animation: g-drift linear both; animation-timeline: view(); }
	}
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 1024px) {
	.g-standards, .g-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-index > li { grid-template-columns: 44px minmax(0, 1fr); }
	.g-index > li > div:last-child { grid-column: 2; }
	.g-show__panel { grid-template-columns: 1fr; }
	.g-market, .g-market--feature { grid-column: span 6; }
	.g-market--feature { grid-column: span 12; grid-row: auto; min-height: 420px; }
	.g-facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
	.g-facts-strip li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 800px) {
	.fusion-secondary-header { display: none; }
	.fusion-fullwidth[class*="g-section"] .fusion-column-wrapper { margin-left: 0 !important; margin-right: 0 !important; }
	.fusion-fullwidth[class*="g-section"] .fusion-layout-column:not(:last-child) { margin-bottom: 32px !important; }
	.g-standards, .g-steps { grid-template-columns: 1fr; }
	.wpcf7 form .g-form { grid-template-columns: 1fr; }
	.g-cat-head, .g-head { grid-template-columns: 1fr; }
	.g-market, .g-market--feature { grid-column: span 12; }
	.g-market--feature { min-height: 360px; }
	.g-stage { aspect-ratio: 5 / 4; max-width: 560px; margin: 0 auto; }
	.g-stage__tag { font-size: 12px; padding: 6px 10px; }
	.g-stage__tag--back { left: 22%; }
	.g-facility__media::after { background: linear-gradient(180deg, rgba(10,20,36,.7) 0%, rgba(10,20,36,.92) 50%); }
	.g-facility__media { inset: 0; }
}
@media (max-width: 480px) {
	.g-hero .g-btn-row .g-btn { flex: 1 1 auto; }
	.g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.g-card__title { font-size: 15px !important; padding: 12px 12px 4px; }
	.g-card__model { padding: 0 12px 14px; font-size: 12px; }
	.g-index > li { grid-template-columns: 1fr; gap: 8px; }
	.g-index > li > div:last-child { grid-column: 1; }
	.g-facts-strip li { padding: 0 0 0 14px; }
	.g-facts-strip li:nth-child(odd) { border-left: 0; padding-left: 0; }
	.g-stage__tag--front { display: none; }
	.g-show__tab { padding: 10px 12px; font-size: 14px; }
}
