/* gs-sector — the v2 sector and solution template, shared by the industries,
   solutions, services, applications and living-walls-<sector> pages. Load it
   after /css/gs-v2.css and before the page's own <style>, so page rules win
   ties. Spec: docs/design/sector-template.md. When this file changes, bump
   ?v= on every page that links it. */

.gs-night { --sx-ar: var(--gs-gold); --sx-surface: var(--gs-night); }
.gs-night--warm { --sx-surface: var(--gs-night-warm); }
.gs-day { --sx-ar: var(--gs-green-day); --sx-surface: var(--gs-day); }

/* ── Hero: a real photo tied to the audience, a measured overlay, the answer ── */
.sx-hero { position: relative; margin-top: var(--nav-h); height: calc(88vh - var(--nav-h)); min-height: 620px; max-height: 960px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.sx-hero > .gs-ph { position: absolute; inset: 0; z-index: -1; margin: 0; --gs-out-origin: 50% 40%; }
.sx-hero > .gs-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 12, 12, 0.95) 0%, rgba(12, 12, 12, 0.86) 26%, rgba(12, 12, 12, 0.4) 46%, rgba(12, 12, 12, 0) 60%); pointer-events: none; }
.sx-cap { position: absolute; z-index: 3; top: 1.25rem; left: var(--gs-gutter); max-width: calc(100% - 2 * var(--gs-gutter)); padding: 0.45rem 0.65rem; background: rgba(12, 12, 12, 0.74); font-size: 0.8125rem; line-height: 1.45; color: rgba(245, 242, 235, 0.92); }
.sx-cap a { color: var(--gs-ink); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: rgba(245, 242, 235, 0.5); }
.sx-copy { position: relative; z-index: 2; width: min(var(--gs-max), 100% - 2 * var(--gs-gutter)); margin: 0 auto; padding-bottom: clamp(2rem, 5vh, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.25rem 4rem; align-items: end; }
.sx-hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.5rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 22ch; }
.sx-answer { margin-top: 1rem; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.55; color: rgba(245, 242, 235, 0.9); max-width: 58ch; }
.sx-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(245, 242, 235, 0.22); }
.sx-figure b { font-family: var(--gs-font-display); font-weight: 300; font-size: clamp(2.1rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sx-figure span { font-size: 0.9375rem; line-height: 1.4; color: rgba(245, 242, 235, 0.82); }
.sx-note { margin-top: 0.7rem; font-size: 0.8125rem; line-height: 1.5; color: rgba(245, 242, 235, 0.74); max-width: 52ch; }
.sx-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sx-hero-more { margin-top: 0.9rem; font-size: 0.875rem; }
.sx-hero-more a { color: rgba(245, 242, 235, 0.86); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: rgba(196, 162, 101, 0.7); transition: color 0.2s; }
.sx-hero-more a:hover { color: var(--gs-gold); }
/* .sx-hero--plain: no clean photo of this audience yet; type on night, no image */
.sx-hero--plain { height: auto; min-height: 0; max-height: none; padding-top: clamp(3rem, 9vh, 6rem); border-bottom: 1px solid var(--gs-line); }
.sx-hero--plain .sx-copy { padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
/* .sx-hero--split: a clean photo under 1200px wide sits beside the copy at its
   own proportions on desktop instead of being stretched behind it */
@media (min-width: 1025px) {
  .sx-hero--split { height: auto; min-height: clamp(520px, calc(86vh - var(--nav-h)), 760px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: clamp(2.5rem, 5vw, 4.5rem); padding: clamp(2.5rem, 7vh, 4.5rem) max(var(--gs-gutter), (100% - var(--gs-max)) / 2); }
  .sx-hero--split > .gs-ph { position: relative; inset: auto; z-index: 0; grid-area: 1 / 2; aspect-ratio: var(--gs-iw) / var(--gs-ih); }
  .sx-hero--split > .gs-ph::after { content: none; }
  .sx-hero--split .sx-copy { grid-area: 1 / 1; width: auto; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sx-hero--split .sx-cap { top: auto; bottom: 0.75rem; left: 0.75rem; max-width: calc(100% - 1.5rem); }
  /* .sx-hero--base: the photo's bottom edge holds the frame, so a low line clears the copy */
  .sx-hero--base .gs-scrollout { inset: auto; left: 50%; bottom: 0; width: max(100cqw, 100cqh * var(--gs-iw) / var(--gs-ih)); height: max(100cqh, 100cqw * var(--gs-ih) / var(--gs-iw)); translate: -50% 0; container-type: size; }
}
/* .sx-hero--top: the subject sits in the photo's top third; its top edge holds the frame */
.sx-hero--top .gs-scrollout { inset: auto; left: 50%; top: 0; width: max(100cqw, 100cqh * var(--gs-iw) / var(--gs-ih)); height: max(100cqh, 100cqw * var(--gs-ih) / var(--gs-iw)); translate: -50% 0; container-type: size; }

/* ── Section head: the heading left, its one line right ── */
.sx-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1rem clamp(2.5rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sx-head h2 { margin-bottom: 0; }
.sx-head p { color: var(--gs-fg-muted); max-width: 58ch; }
.sx-head p a, .sx-aside a { color: var(--gs-fg); }

/* ── Sibling pages (the other industries, solutions or sectors) ── */
.sx-sib { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.sx-sib a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 0.95rem; border: 1px solid var(--gs-tb-line); border-radius: var(--gs-pill); font-size: 0.875rem; line-height: 1.3; color: var(--gs-fg); transition: border-color 0.2s, background-color 0.2s, color 0.2s, scale 0.3s var(--gs-ease); }
.sx-sib a:hover { border-color: var(--gs-fg); }
.sx-sib a:active { scale: 0.96; transition-duration: 0.2s, 0.2s, 0.2s, 0.08s; }
.sx-sib a[aria-current="page"] { background: var(--gs-fg); border-color: var(--gs-fg); color: var(--sx-surface); }

/* ── In short: the page's answer as a drawing's title block ── */
@media (min-width: 1025px) { .sx-tb:not(.gs-tb--figures) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 769px) and (max-width: 1024px) { .sx-tb:not(.gs-tb--figures) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 769px) and (max-width: 1024px) { .sx-tb.gs-tb--figures { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sx-tb a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, var(--sx-ar) 70%, transparent); transition: color 0.2s; }
.sx-tb a:hover { color: var(--gs-link); }
.sx-tb dd small { display: block; margin-top: 0.45rem; font-family: var(--gs-font-body); font-size: 0.875rem; line-height: 1.5; letter-spacing: 0; color: var(--gs-fg-muted); }
.sx-aside { margin-top: clamp(1.5rem, 3vw, 2rem); font-size: var(--gs-small); line-height: 1.65; color: var(--gs-fg-muted); max-width: 72ch; }
.sx-aside strong { color: var(--gs-fg); font-weight: 600; }

/* ── The problem → what works ──
   .sx-pw is one large pair (the page's "problem" and "solution" headings);
   .sx-rows are smaller pairs, one per goal. The arrow draws as each enters. */
.sx-ar { position: relative; display: block; height: 1px; background: var(--sx-ar); transform-origin: 0 50%; }
.sx-ar::after { content: ''; position: absolute; right: 1px; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--sx-ar); border-right: 1px solid var(--sx-ar); transform: rotate(45deg); }
.gs-motion [data-reveal] .sx-ar { transform: scaleX(0); transition: transform 0.9s var(--gs-ease) 0.25s; }
.gs-motion [data-reveal].is-in .sx-ar { transform: none; }
.gs-motion [data-reveal] .sx-ar::after { opacity: 0; transition: opacity 0.3s linear 0.85s; }
.gs-motion [data-reveal].is-in .sx-ar::after { opacity: 1; }
.sx-pw { display: grid; grid-template-columns: minmax(0, 1fr) clamp(3rem, 7vw, 6.5rem) minmax(0, 1fr); gap: 1.5rem clamp(1.25rem, 2.5vw, 2.25rem); align-items: start; }
.sx-pw > .sx-ar { margin-top: clamp(1.1rem, 1.9vw, 1.6rem); }
.sx-pw :is(h2, h3) { font-size: var(--gs-h2); line-height: 1.06; letter-spacing: -0.015em; font-weight: 300; margin-bottom: 1rem; max-width: 15ch; }
.sx-pw-a :is(h2, h3) { color: var(--gs-fg-muted); }
.sx-pw p { color: var(--gs-fg-muted); max-width: 44ch; }
.sx-rows { border-bottom: 1px solid var(--gs-rule); }
.sx-rows > li { display: grid; grid-template-columns: minmax(0, 0.95fr) clamp(2.5rem, 6vw, 5rem) minmax(0, 1.05fr); gap: 0.4rem clamp(1rem, 2vw, 1.75rem); align-items: baseline; padding: clamp(1.15rem, 2.2vw, 1.6rem) 0; border-top: 1px solid var(--gs-rule); }
.sx-rows > li > .sx-ar { align-self: center; }
.sx-row-a { font-family: var(--gs-font-display); font-weight: 300; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--gs-fg-muted); text-wrap: balance; }
.sx-row-b h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.25; font-weight: 400; margin-bottom: 0.3rem; }
.sx-row-b p { font-size: var(--gs-small); line-height: 1.6; color: var(--gs-fg-muted); max-width: 52ch; }
.sx-row-b a, .sx-pw a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, var(--sx-ar) 70%, transparent); color: var(--gs-fg); }
/* What to know: a heading with its line beside a set of gs-statements */
.sx-know { margin-top: clamp(3.5rem, 7vw, 5rem); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.5rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
.sx-know-h { font-size: clamp(1.7rem, 2.7vw, 2.3rem); font-weight: 300; line-height: 1.1; margin-bottom: 0.75rem; }
.sx-know-head p { color: var(--gs-fg-muted); max-width: 40ch; }
.sx-know .gs-statement summary { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.sx-know .gs-statement-body p + p { margin-top: 0.75rem; }

/* ── More: a compact disclosure for long copy, kept in the DOM ── */
.sx-more { margin-top: 1rem; border-top: 1px solid var(--gs-rule); border-bottom: 1px solid var(--gs-rule); max-width: 44ch; }
.sx-more > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: 0.55rem 0; font-size: 0.9375rem; font-weight: 600; color: var(--gs-fg); transition: color 0.2s; }
.sx-more > summary::-webkit-details-marker { display: none; }
.sx-more > summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-right: 0.25rem; border-right: 1.5px solid var(--sx-ar); border-bottom: 1.5px solid var(--sx-ar); transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--gs-ease); }
.sx-more[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.sx-more > summary:hover { color: var(--gs-link); }
.sx-more-body { padding: 0 0 1rem; font-size: var(--gs-small); line-height: 1.65; color: var(--gs-fg-muted); }
.sx-more-body p + p { margin-top: 0.6rem; }
.gs-motion .sx-more[open] .sx-more-body { animation: gs-in 0.5s var(--gs-ease); }

/* ── Situations: gs-stage with the caption under the photo; "Shown:" lines ── */
.sx-sit .gs-stage--below:not(.is-stage) { row-gap: 2.5rem; }
.sx-sit .gs-stage--below:not(.is-stage) .gs-stage-media { aspect-ratio: 4 / 3; }
.sx-sit .gs-stage--below:not(.is-stage) .gs-stage-go:focus-visible { outline-color: var(--gs-focus); }
.gs-stage-cap .sx-shown { margin-top: 0.4rem; font-size: 0.8125rem; line-height: 1.5; }
@media (min-width: 900px) { .is-stage .gs-stage-cap .sx-shown { font-size: 0.875rem; max-width: 40ch; } }
.sx-sit .gs-linkrow { margin-top: 1.5rem; }
/* All of them, in detail: the long copy of every situation, one click away */
.sx-all { margin-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--gs-rule); border-bottom: 1px solid var(--gs-rule); }
.sx-all > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: 0.9rem 0; font-size: 1rem; font-weight: 600; transition: color 0.2s; }
.sx-all > summary::-webkit-details-marker { display: none; }
.sx-all > summary::after { content: ''; flex: none; width: 10px; height: 10px; margin-right: 0.3rem; border-right: 1.5px solid var(--sx-ar); border-bottom: 1.5px solid var(--sx-ar); transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--gs-ease); }
.sx-all[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.sx-all > summary:hover { color: var(--gs-link); }
.sx-all > ul { display: grid; grid-template-columns: repeat(var(--sx-all-cols, 2), minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); padding: 0.5rem 0 1.5rem; }
.sx-all h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.35rem; }
.sx-all p { font-size: 0.9375rem; line-height: 1.6; color: var(--gs-fg-muted); }
.sx-all p + p { margin-top: 0.4rem; }
.sx-all a { color: var(--gs-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, var(--sx-ar) 60%, transparent); }
.gs-motion .sx-all[open] > ul { animation: gs-in 0.6s var(--gs-ease); }

/* ── Proof: gs-film of real projects, the recorded figure drawn on each ── */
.sx-proof .gs-film-card a:hover h3 { color: var(--gs-link); }
.sx-proof .gs-linkrow { margin-top: 1.75rem; }

/* ── Route cards: where to go next, with an approved starting rate ── */
.sx-routes { display: grid; grid-template-columns: repeat(var(--sx-cols, 2), minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem); }
.sx-route { position: relative; display: flex; flex-direction: column; transition: translate 0.5s var(--gs-ease); }
.sx-route-media { aspect-ratio: 16 / 10; margin-bottom: 1.1rem; }
.sx-route-media > img { transition: transform 0.9s var(--gs-ease); }
.sx-route h3 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); font-weight: 300; line-height: 1.15; margin-bottom: 0.7rem; transition: color 0.2s; }
.sx-route-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; padding: 0.65rem 0; border-top: 1px solid var(--gs-rule); font-size: 0.875rem; line-height: 1.45; color: var(--gs-fg-muted); }
.sx-route-p b { font-family: var(--gs-font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.1; color: var(--gs-fg); font-variant-numeric: tabular-nums; }
.sx-route > p:not(.sx-route-p) { font-size: var(--gs-small); line-height: 1.6; color: var(--gs-fg-muted); max-width: 52ch; }
.sx-route-list { border-top: 1px solid var(--gs-rule); }
.sx-route-list li { position: relative; padding: 0.55rem 0 0.55rem 1.15rem; border-bottom: 1px solid var(--gs-rule); font-size: var(--gs-small); line-height: 1.5; color: var(--gs-fg-muted); }
.sx-route-list li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 0.55rem; height: 1px; background: var(--sx-ar); }
.sx-route-list a, .sx-route > p a { position: relative; z-index: 1; color: var(--gs-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, var(--sx-ar) 70%, transparent); }
.sx-route-go { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; align-self: flex-start; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--gs-link); }
.sx-route-go::after { content: ''; position: absolute; inset: 0; }
.sx-route-go:focus-visible { outline: none; }
.sx-route:has(.sx-route-go:focus-visible) { outline: 2px solid var(--gs-focus); outline-offset: 6px; }
.sx-route:hover { translate: 0 -4px; }
.sx-route:hover .sx-route-media > img { transform: scale(1.03); }
.sx-route:hover h3 { color: var(--gs-link); }
.sx-route:hover .sx-route-go .gs-ar, .sx-route-go:focus-visible .gs-ar { translate: 3px 0; }
/* No clean photo for a route or a sector: a drafting-hatch tile with its tag */
.sx-none { display: grid; place-items: center; background: #1C1918 repeating-linear-gradient(135deg, rgba(245, 242, 235, 0.06) 0 1px, transparent 1px 11px); }
.gs-film-card .sx-none { aspect-ratio: 4 / 3; }
.sx-none span { padding: 0.42em 0.6em; background: rgba(12, 12, 12, 0.86); font: 500 var(--gs-label)/1 var(--gs-font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #F5F2EB; }

/* ── Mini sizer: width × height at approved starting rates (gs-sector.js) ── */
.sx-sizer { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.sx-sizer-h { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.5rem clamp(2.5rem, 6vw, 6rem); align-items: end; }
.sx-sizer-h h3 { font-size: clamp(1.7rem, 2.7vw, 2.3rem); font-weight: 300; line-height: 1.1; }
.sx-sizer-h h2 { margin-bottom: 0; }
.sx-sizer-h p { color: var(--gs-fg-muted); max-width: 52ch; }
.sx-routes + .sx-sizer { margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--gs-rule); }
.sx-sz-draw { container-type: inline-size; aspect-ratio: 640 / 360; border: 1px solid var(--gs-rule); background: color-mix(in srgb, var(--gs-fg) 3%, transparent); }
.sx-sz-svg { display: block; width: 100%; height: 100%; }
.sx-sz-svg .grd { fill: none; stroke: color-mix(in srgb, var(--gs-fg) 45%, transparent); stroke-width: 1; }
.sx-sz-svg .face { stroke: var(--gs-fg); stroke-width: 1.5; }
.sx-sz-svg .dl { stroke: var(--gs-fg); stroke-width: 1.25; fill: none; }
.sx-sz-svg .who { fill: color-mix(in srgb, var(--gs-fg) 78%, transparent); }
.sx-sz-svg text { font-family: var(--gs-font-mono); font-size: 15px; font-weight: 500; letter-spacing: 0.06em; fill: var(--gs-fg); paint-order: stroke; stroke: var(--sx-surface); stroke-width: 6px; stroke-linejoin: round; font-variant-numeric: tabular-nums; }
@container (max-width: 520px) { .sx-sz-svg text { font-size: 24px; stroke-width: 8px; } }
.sx-sz-ctl { display: grid; gap: 1.15rem; }
.sx-sz-field { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.35rem 1rem; }
.sx-sz-field label { font-size: 0.9375rem; font-weight: 600; }
.sx-sz-num { display: inline-flex; align-items: center; gap: 0.4rem; font: 500 0.875rem/1 var(--gs-font-mono); color: var(--gs-fg-muted); }
.sx-sz-num input { width: 5.5ch; min-height: 44px; padding: 0.4rem 0.5rem; font: 500 1rem/1 var(--gs-font-mono); color: var(--gs-fg); text-align: right; background: color-mix(in srgb, var(--sx-surface) 55%, #fff 45%); border: 1px solid color-mix(in srgb, var(--gs-fg) 30%, transparent); border-radius: var(--gs-radius); -moz-appearance: textfield; appearance: textfield; }
.gs-night .sx-sz-num input { background: rgba(245, 242, 235, 0.05); }
.sx-sz-num input::-webkit-inner-spin-button, .sx-sz-num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sx-sz-num input:focus { border-color: var(--gs-fg); }
.sx-sz-field .gs-range { grid-column: 1 / -1; }
.sx-sz-area { display: flex; align-items: baseline; gap: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--gs-rule); font-size: 0.9375rem; color: var(--gs-fg-muted); }
.sx-sz-area output { font-family: var(--gs-font-display); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--gs-fg); font-variant-numeric: tabular-nums; }
.sx-sz-out > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--gs-rule); font-size: 0.9375rem; }
.sx-sz-out > div:first-child { border-top: 1px solid var(--gs-rule); }
.sx-sz-out dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-sz-out output { font-weight: 600; }
.sx-sz-out dt a { color: var(--gs-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.sx-sz-out dt a:hover { text-decoration-color: currentColor; }
.sx-sz-note { font-size: 0.8125rem; line-height: 1.5; color: var(--gs-fg-muted); }
.sx-sz-act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.sx-link { display: inline-flex; align-items: baseline; gap: 0.4rem; padding: 0.4rem 0; font-size: 0.9375rem; font-weight: 600; color: var(--gs-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color 0.2s; }
.sx-link::after { content: ''; flex: none; width: 0.4em; height: 0.4em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-0.1em) rotate(45deg); transition: transform 0.3s var(--gs-ease); }
.sx-link:hover { text-decoration-color: currentColor; }
.sx-link:hover::after { transform: translate(0.15em, -0.1em) rotate(45deg); }

/* ── FAQ, button variant: only for pages whose guard pins <button class="faq-question">
   (industries-hospitality). Answers start open; gs-sector.js closes them to
   hidden="until-found", so find-in-page still reaches them. ── */
.sx-faqb { max-width: 860px; }
.sx-faqb-item { border-top: 1px solid var(--gs-rule); }
.sx-faqb-item:last-child { border-bottom: 1px solid var(--gs-rule); }
.sx-faqb h3 { font: inherit; letter-spacing: normal; }
.sx-faqb .faq-question { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 0; text-align: left; font-size: var(--gs-body); font-weight: 500; line-height: 1.45; color: var(--gs-fg); transition: color 0.2s; }
.sx-faqb .faq-question:hover { color: var(--gs-gold); }
.sx-faqb .faq-toggle { flex: none; width: 10px; height: 10px; margin-top: 0.45rem; border-right: 1.5px solid var(--sx-ar); border-bottom: 1.5px solid var(--sx-ar); transform: rotate(45deg); transition: transform 0.25s var(--gs-ease); }
.no-js .sx-faqb .faq-toggle { display: none; }
.sx-faqb .faq-question[aria-expanded="true"] .faq-toggle { transform: rotate(225deg); margin-top: 0.7rem; }
.sx-faqb .faq-answer p { padding: 0 0 1.2rem; font-size: 0.9875rem; line-height: 1.65; color: var(--gs-fg-muted); max-width: 64ch; }
.sx-faqb .faq-answer a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(196, 162, 101, 0.7); }
.gs-motion .sx-faqb .faq-answer.is-opening p { animation: gs-in 0.5s var(--gs-ease); }
.gs-faq a { color: var(--gs-fg); }

/* ── Close: the quote request, then California installation ── */
.sx-close { border-top: 1px solid var(--gs-line); }
.sx-close-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.sx-close h2 { margin-bottom: 0.6rem; max-width: 18ch; }
.sx-close .gs-lede { max-width: 56ch; }
.sx-contact { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; font-size: 0.9375rem; }
.sx-close .sx-actions { margin-top: 0; }
.sx-ca { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--gs-line); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 1.25rem clamp(2rem, 5vw, 4rem); align-items: start; }
.sx-ca h3 { margin-bottom: 0.6rem; }
.sx-ca p { font-size: 0.9375rem; line-height: 1.65; color: var(--gs-muted); max-width: 60ch; }
.sx-ca p + p { margin-top: 0.6rem; font-size: 0.8125rem; }
.sx-ca ul { border-top: 1px solid var(--gs-line); }
.sx-ca li a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--gs-line); font-size: 0.9375rem; line-height: 1.4; transition: color 0.2s; }
.sx-ca li a .gs-ar { color: var(--gs-gold); }
.sx-ca li a:hover { color: var(--gs-gold); }
.sx-ca li a:hover .gs-ar, .sx-ca li a:focus-visible .gs-ar { translate: 3px 0; }

/* Shell quick-action bar: steps aside while a .sx-actions button row is on screen */
.m-cta-bar { transition: transform 0.35s var(--gs-ease), opacity 0.3s linear; }
.m-cta-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

@media (max-width: 1024px) {
  .sx-hero { height: auto; min-height: 0; max-height: none; justify-content: flex-start; }
  .sx-hero > .gs-ph { position: relative; inset: auto; z-index: 0; height: clamp(300px, 46svh, 480px); }
  .sx-hero > .gs-ph::after { background: linear-gradient(to top, rgba(12, 12, 12, 0.5) 0%, rgba(12, 12, 12, 0) 35%); }
  .sx-cap { top: auto; bottom: 0.75rem; }
  .sx-copy { grid-template-columns: minmax(0, 1fr); padding: 1.75rem 0 2.25rem; }
  .sx-head, .sx-know, .sx-sizer, .sx-sizer-h { grid-template-columns: minmax(0, 1fr); }
  .sx-routes { grid-template-columns: repeat(min(var(--sx-cols, 2), 2), minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .sx-hero > .gs-ph { height: clamp(250px, 40svh, 360px); }
  .sx-cap { bottom: 0.6rem; font-size: 0.75rem; padding: 0.35rem 0.55rem; }
  .sx-hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .sx-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .sx-close .sx-actions { flex: 1 1 100%; }
  .sx-pw { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .sx-pw > .sx-ar { margin: 0 0 0 0.6rem; }
  .sx-rows > li { grid-template-columns: minmax(0, 1fr); gap: 0.65rem; }
  .sx-ar { width: 1px; height: 26px; transform-origin: 50% 0; }
  .sx-ar::after { right: auto; top: auto; left: -4px; bottom: 1px; transform: rotate(135deg); }
  .gs-motion [data-reveal] .sx-ar { transform: scaleY(0); }
  .sx-pw > .sx-ar, .sx-rows > li > .sx-ar { align-self: start; justify-self: start; margin-left: 0.6rem; }
  .sx-all > ul, .sx-routes, .sx-ca { grid-template-columns: minmax(0, 1fr); }
  .sx-more { max-width: none; }
  .sx-sib { gap: 0.4rem; }
  .sx-sib a { min-height: 40px; padding: 0.3rem 0.8rem; font-size: 0.8125rem; }
  .sx-route-media { aspect-ratio: 2 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  .m-cta-bar, .sx-route, .sx-route-media > img, .sx-sib a, .sx-link::after, .sx-more > summary::after, .sx-all > summary::after, .sx-faqb .faq-toggle { transition: none; }
  .sx-route:hover { translate: none; }
  .sx-route:hover .sx-route-media > img { transform: none; }
  .sx-route:hover .sx-route-go .gs-ar, .sx-route-go:focus-visible .gs-ar { translate: none; }
  .sx-sib a:active { scale: none; }
  .sx-link:hover::after { transform: translateY(-0.1em) rotate(45deg); }
}
