/* R16: one bounded reading grid, existing Galvatim colour/type/media system. */
.fm-brochure.fx-flow{--fx-gutter:clamp(20px,3.3vw,64px);--fx-gap:clamp(22px,3vw,50px);--fx-rule:#c6d6de}
.fx-flow,.fx-flow *{box-sizing:border-box}
.fx-flow>.section{padding:64px var(--fx-gutter);margin:0;max-width:none}
.fx-flow>section[id],.fx-flow [id]{scroll-margin-top:92px}
.fx-flow h2{font-size:clamp(32px,3.4vw,58px);line-height:1.08;letter-spacing:-.028em;text-wrap:balance;margin:0 0 22px}
.fx-flow p{overflow-wrap:break-word}
.fx-flow .eyebrow{margin:0 0 22px;line-height:1.4}
.fx-flow>.section>*,.fx-flow .fc-workspace>*,.fx-flow .fc-visuals>*{min-width:0}
.fx-flow .fm-landing-hero{padding-inline:var(--fx-gutter);gap:var(--fx-gap)}
.fx-flow .fm-hero-visual{margin:0;width:100%;min-width:0}
.fx-flow .fm-hero-crumb{flex-wrap:wrap}
.fx-flow .fm-hero-copy,.fx-flow .fm-hero-actions{min-width:0}
.fx-flow .fm-subnav.fx-page-index{position:sticky;top:0;z-index:15;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 var(--fx-gutter);width:100%;max-width:100%;margin:0;overflow:visible;background:#fff;border-bottom:1px solid var(--fx-rule);white-space:normal}
.fx-page-index>a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;padding:14px 12px;color:#244955;font-size:15px;font-weight:500;text-decoration:none;white-space:normal;line-height:1.3;border-right:1px solid #e1e9ec}
.fx-page-index>a:first-child{border-left:1px solid #e1e9ec}
.fx-page-index>a>span{font-size:11px;color:#047192;font-weight:400}
.fx-page-index>a:hover,.fx-page-index>a:focus-visible{background:#edf3f5;color:#047192}
.fx-flow a:focus-visible,.fx-flow summary:focus-visible,.fx-flow button:focus-visible{outline:3px solid #047192;outline-offset:4px}
.fx-flow .fx-introduction{display:grid;grid-template-columns:1fr 1fr;gap:var(--fx-gap);margin-bottom:40px;align-items:start}
.fx-introduction>div>p:not(.eyebrow){max-width:570px;font-size:18px;line-height:1.6;color:#526f7e;margin:0}
.fx-flow .fx-proof{border-left:1px solid var(--fx-rule);padding-left:var(--fx-gap)}
.fx-flow .fx-proof-label{font-size:14px!important;color:#315b69!important;font-weight:500}
.fx-flow .fr-proof-numbers{margin:14px 0;border:0;gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
.fx-flow .fr-proof-numbers>div{padding:0;border:0;min-width:0}
.fx-flow .fr-proof-numbers strong{font-size:clamp(42px,4.2vw,72px);letter-spacing:-.04em}
.fx-flow .fr-proof-numbers h3{font-size:21px;line-height:1.25;margin:10px 0 7px}
.fx-flow .fr-proof-numbers p{font-size:13px;line-height:1.5}
.fx-flow .fx-proof .fr-scope{font-size:13px!important;line-height:1.55;margin:16px 0 12px}
.fx-text-link{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.4;color:#047192;font-weight:500;text-decoration:underline;text-underline-offset:5px}
.fx-flow .fm-benefit-gallery{gap:24px;margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.fx-flow .fm-benefit-image>a{height:178px;width:100%;max-width:100%;aspect-ratio:auto}
.fx-flow .fm-benefit-image{margin-bottom:18px}
.fx-flow .fm-benefit-copy{grid-template-columns:24px minmax(0,1fr);gap:8px 10px}
.fx-flow .fm-benefit-copy h3{font-size:25px;margin:0;line-height:1.2}
.fx-flow .fm-benefit-copy>p{font-size:16px;line-height:1.55;margin-top:8px}
.fx-flow .fm-benefit-copy .fm-read-more{margin-top:6px}
.fx-flow .fx-film{display:grid;grid-template-columns:.7fr 1.3fr;align-items:center;gap:var(--fx-gap);background:#edf3f3;border-top:1px solid var(--fx-rule)}
.fx-film>div>p:not(.eyebrow){font-size:18px;line-height:1.6;color:#526f7e;max-width:440px}
.fx-film figure{margin:0;min-width:0}
.fx-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#102b38;object-fit:contain}
.fx-film figcaption{font-size:12px;line-height:1.5;color:#526f7e;margin-top:10px}
.fx-flow .fc-section{background:#f6f8f8;border-top:1px solid var(--fx-rule)}
.fx-flow .fc-heading{grid-template-columns:1fr 1fr;align-items:start;gap:var(--fx-gap);margin-bottom:28px}
.fx-flow .fc-heading>p{font-size:18px;line-height:1.6;max-width:560px;padding-top:38px}
.fx-calculator-steps{display:flex;align-items:center;gap:28px;list-style:none;margin:0 0 24px;padding:0}
.fx-calculator-steps li{display:flex;gap:9px;align-items:center;color:#315b69;font-size:14px;line-height:1.4}
.fx-calculator-steps span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #adc5ce;flex-shrink:0;font-size:12px;color:#047192}
.fx-flow .fc-results{position:static;top:auto;display:block;min-width:0}
.fx-flow .fx-result-primary,.fx-flow .fx-result-detail{min-width:0}
.fx-flow .fc-total strong{font-size:clamp(30px,2.4vw,42px);overflow-wrap:anywhere}
.fx-flow .fc-results .fc-comparison-note{margin-bottom:22px}
.fx-flow .fc-input-mode{min-width:0}
.fx-flow .fc-model-tools>div{flex-wrap:wrap}
.fx-flow .fc-workspace,.fx-flow .fc-input-mode{max-width:1800px}
.fx-flow .fx-drawings{background:#fff;border:1px solid #cfdbde;min-width:0}
.fx-drawings>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;list-style:none;padding:18px 20px;min-height:56px;cursor:pointer;font-size:16px;line-height:1.4;color:#315b69;font-weight:500}
.fx-drawings>summary::-webkit-details-marker{display:none}
.fx-drawings>summary span{font-size:23px;color:#047192;flex-shrink:0}
.fx-drawings[open]>summary span{transform:rotate(45deg)}
.fx-flow .fx-drawings .fc-elevations{padding:0 16px 16px;margin:0;grid-template-columns:1fr}
.fx-flow .fr-details{background:#fff;border-top:1px solid var(--fx-rule)}
.fx-flow .fr-section-head{max-width:none;display:grid;grid-template-columns:1fr auto;column-gap:32px;align-items:start;margin-bottom:32px}
.fx-flow .fr-section-head>.eyebrow,.fx-flow .fr-section-head>h2,.fx-flow .fr-section-head>p{grid-column:1;max-width:800px}
.fx-flow .fr-section-head>p:last-of-type{font-size:18px;margin:0;color:#526f7e;line-height:1.6;max-width:700px}
.fx-flow .fr-section-head>.button{grid-column:2;grid-row:2/4;align-self:center;display:flex;align-items:center;gap:12px;padding:17px 20px;max-width:350px;white-space:normal;font-size:15px;line-height:1.35}
.fx-flow .fr-section-head>.button svg{flex-shrink:0}
.fx-flow .fr-section-head>.button small{display:block;font-size:11px;font-weight:400;margin-top:5px}
.fx-flow .fr-factory{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:28px;margin:0 0 35px;align-items:stretch;background:#edf3f3;padding:22px}
.fx-flow .fr-factory>.fr-figure img{max-height:450px;object-fit:contain}
.fx-flow .fr-project-specs{display:flex;flex-direction:column;justify-content:center;gap:22px;margin:0;padding:16px 0}
.fx-flow .fr-project-specs dd{font-size:23px;line-height:1.25}
.fx-flow .fr-comparison-pair{margin:32px 0;gap:var(--fx-gap);grid-template-columns:repeat(2,minmax(0,1fr))}
.fx-flow .fr-comparison-pair>div{min-width:0}
.fx-flow .fr-comparison-pair h3{font-size:27px;margin-bottom:25px}
.fx-flow .fr-bay-heading{margin-top:34px}
.fx-flow .fr-bay-heading h3{font-size:30px;line-height:1.2}
.fx-flow .fr-disclosure-body{margin-inline:0;max-width:100%}
.fx-flow .fm-process{background:#edf3f3;border-top:1px solid var(--fx-rule)}
.fx-flow .fm-process>.fm-heading{max-width:none;margin-bottom:28px}
.fx-flow .fm-process>.fm-heading>p{max-width:650px;align-self:start}
.fx-flow .fm-reuse{background:#fff;gap:var(--fx-gap);align-items:center;border-top:1px solid var(--fx-rule)}
.fx-flow .fm-reuse-visual img{max-height:410px;object-fit:contain}
.fx-flow .fm-technical{display:grid;grid-template-columns:.7fr 1.3fr;gap:var(--fx-gap);background:#f6f8f8;border-top:1px solid var(--fx-rule)}
.fx-flow .fm-technical>.fm-heading{position:static;top:auto;max-width:none}
.fx-flow .fm-disclosure-body{margin-inline:0;max-width:100%}
.fx-flow .fm-disclosure-body .section{padding-inline:24px}
.fx-flow .fm-disclosure>summary{grid-template-columns:72px minmax(0,1fr) auto}
.fx-flow .flexon-questions{border-top:1px solid var(--fx-rule);gap:var(--fx-gap)}
.fx-flow .fm-project{border-top:1px solid var(--fx-rule)}
.fx-flow .fm-project-invitation{gap:var(--fx-gap);align-items:start}
.fx-flow .fm-form-shell,.fx-flow .fm-project-form{margin-inline:0;max-width:100%}
.fx-flow .fm-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.fx-flow .fm-fields label,.fx-flow fieldset,.fx-flow .fc-form-summary{min-width:0}
.fx-flow .fm-fields input,.fx-flow .fm-fields select,.fx-flow textarea{max-width:100%;min-width:0}
@media(max-width:1200px) and (min-width:761px){
 .fx-flow .fc-workspace{grid-template-columns:260px minmax(0,1fr)}
 .fx-flow .fc-results{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
 .fx-flow .fc-results .fc-total{border-bottom:1px solid var(--fx-rule)}
 .fx-flow .fx-result-detail{border-left:1px solid var(--fx-rule);padding-left:36px}
 .fx-flow .fc-total strong{font-size:40px}
 .fx-flow .fc-metrics{margin-top:0}
 .fx-flow .fc-heading>p{padding-top:32px}
 .fx-page-index>a{font-size:13px;gap:7px;padding-inline:8px}
 .fx-flow .fr-section-head{grid-template-columns:1fr 285px}
 .fx-flow .fr-factory{grid-template-columns:minmax(0,1fr) 180px}
}
@media(max-width:900px){
 .fx-flow .fx-introduction{grid-template-columns:1fr;gap:26px}
 .fx-flow .fx-proof{border-left:0;border-top:1px solid var(--fx-rule);padding:24px 0 0}
 .fx-flow .fr-proof-numbers strong{font-size:56px}
 .fx-flow .fm-benefit-image>a{height:155px}
 .fx-flow .fm-benefit-copy h3{font-size:23px}
 .fx-flow .fm-technical{grid-template-columns:1fr;gap:24px}
 .fx-flow .fm-technical>.fm-heading{max-width:650px}
 .fx-flow .fx-film{grid-template-columns:.8fr 1.2fr}
 .fx-flow .fr-section-head{display:block}
 .fx-flow .fr-section-head>.button{margin-top:24px;max-width:max-content}
}
@media(max-width:760px){
 .fx-flow>.section{padding-block:44px}
 .fx-flow h2{font-size:36px}
 .fx-flow>section[id],.fx-flow [id]{scroll-margin-top:20px}
 .fx-flow .fm-subnav.fx-page-index{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px var(--fx-gutter);gap:0;border-bottom:1px solid var(--fx-rule)}
 .fx-page-index>a{justify-content:flex-start;border:0!important;border-bottom:1px solid #dce6e9!important;min-height:48px;padding:12px 8px;font-size:13px;gap:7px}
 .fx-page-index>a:last-child{grid-column:1/-1;border-bottom:0!important}
 .fx-flow .fm-hero-actions{gap:16px}
 .fx-flow .fm-hero-secondary{min-height:44px;display:inline-flex;align-items:center}
 .fx-flow .fx-introduction{margin-bottom:28px}
 .fx-introduction>div>p:not(.eyebrow){font-size:17px}
 .fx-flow .fr-proof-numbers{gap:20px}
 .fx-flow .fr-proof-numbers strong{font-size:46px}
 .fx-flow .fr-proof-numbers h3{font-size:19px}
 .fx-flow .fm-benefit-gallery{grid-template-columns:1fr;gap:30px}
 .fx-flow .fm-benefit-gallery>article{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:start;border-top:1px solid var(--fx-rule);padding-top:22px}
 .fx-flow .fm-benefit-image{margin:0}
 .fx-flow .fm-benefit-image>a{height:125px}
 .fx-flow .fm-benefit-image figcaption{font-size:10px;margin-top:8px}
 .fx-flow .fm-benefit-copy{display:block}
 .fx-flow .fm-benefit-index{display:none}
 .fx-flow .fm-benefit-copy h3{font-size:23px}
 .fx-flow .fm-benefit-copy>p{font-size:15px}
 .fx-flow .fm-benefit-copy .fm-read-more{font-size:13px}
 .fx-flow .fx-film{grid-template-columns:1fr;gap:24px}
 .fx-film>div>p:not(.eyebrow){font-size:17px}
 .fx-flow .fc-heading{grid-template-columns:1fr;gap:0}
 .fx-flow .fc-heading>p{padding-top:0;font-size:17px}
 .fx-calculator-steps{gap:12px;align-items:flex-start;justify-content:space-between}
 .fx-calculator-steps li{display:block;flex:1;font-size:12px}
 .fx-calculator-steps span{margin-bottom:8px}
 .fx-flow .fc-workspace{grid-template-columns:minmax(0,1fr)}
 .fx-flow .fc-results{display:block;grid-column:auto;padding:22px 20px}
 .fx-flow .fc-total strong{font-size:40px}
 .fx-flow .fx-result-detail{border-top:1px solid var(--fx-rule);padding-top:20px}
 .fx-flow .fc-model-header{flex-wrap:wrap}
 .fx-flow .fc-model-status{max-width:100%;white-space:normal}
 .fx-flow .fc-input-mode>div{max-width:100%}
 .fx-flow .fr-section-head>.button{max-width:100%;width:100%}
 .fx-flow .fr-factory{grid-template-columns:1fr;padding:16px;gap:18px}
 .fx-flow .fr-project-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;padding:0}
 .fx-flow .fr-project-specs dd{font-size:21px}
 .fx-flow .fr-comparison-pair{grid-template-columns:1fr;gap:24px}
 .fx-flow .fr-comparison-pair h3{font-size:25px}
 .fx-flow .fr-disclosure-body{padding:18px 16px 24px}
 .fx-flow .fr-bay-heading h3{font-size:28px}
 .fx-flow .fr-bay-values{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fx-flow .fm-reuse{grid-template-columns:1fr;gap:26px}
 .fx-flow .fm-reuse-visual img{max-height:320px}
 .fx-flow .fm-disclosure>summary{grid-template-columns:50px minmax(0,1fr);gap:12px;padding:18px 0}
 .fx-flow .fm-disclosure .fm-detail-action{grid-column:2;justify-self:start}
 .fx-flow .fm-disclosure-body .section{padding:24px 16px}
 .fx-flow .fm-project-invitation{grid-template-columns:1fr;gap:20px}
 .fx-flow .fm-fields{grid-template-columns:1fr}
 .fx-flow .fm-project-form{padding:24px 16px}
 .fx-flow .fm-form-disclosure>summary{padding-inline:16px}
}
@media(max-width:380px){
 .fx-flow h2{font-size:32px}
 .fx-flow .fm-benefit-gallery>article{grid-template-columns:90px minmax(0,1fr);gap:12px}
 .fx-flow .fm-benefit-image>a{height:115px}
 .fx-flow .fr-proof-numbers strong{font-size:41px}
 .fx-flow .fm-disclosure>summary>span>b{font-size:20px}
}

/* Keep secondary actions and plan controls within their own grid cells. */
.fx-flow .fm-disclosure .fm-detail-action{display:inline-flex;align-items:center;gap:8px;width:auto;min-width:0;max-width:100%;font-size:13px;line-height:1.4}
.fx-flow .fc-plan-left{left:0}
.fx-flow .fc-plan-right{right:0}
.fx-flow .fc-plan-buttons button{min-height:44px}

.fx-flow .fm-comparison-action{padding-right:9px;min-width:0}

.fx-flow .fm-benefit-copy>h3,.fx-flow .fm-benefit-copy>p,.fx-flow .fm-benefit-copy>.fm-read-more{grid-column:2;min-width:0}
.fx-flow .fm-benefit-copy>.fm-benefit-index{grid-column:1;grid-row:1}
.fx-flow .fe-method li{white-space:normal;min-width:0;overflow-wrap:break-word}

.fx-flow .fe-method{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
@media(max-width:600px){.fx-flow .fe-method{grid-template-columns:minmax(0,1fr)}}

.fx-flow .fm-story-layout{grid-template-columns:minmax(200px,.3fr) minmax(0,1fr)}
.fx-flow .fm-story-steps button,.fx-flow .fm-story-steps b,.fx-flow .fm-story-steps small{min-width:0;white-space:normal;overflow-wrap:break-word}
@media(max-width:900px){
 .fx-flow .fm-story-layout{grid-template-columns:minmax(0,1fr)}
 .fx-flow .fm-story-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 .fx-flow .fm-story-steps button{display:block;text-align:left;padding:14px 10px}
 .fx-flow .fm-story-steps button>span{display:block;margin-bottom:7px;padding:0}
 .fx-flow .fm-story-steps b{font-size:17px}
 .fx-flow .fm-story-steps small{display:none}
}
@media(max-width:600px){.fx-flow .fm-story-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Plus/minus glyphs stay inside the row; rotating the entire old icon box caused spills. */
.fx-flow .fr-cost-breakdown>summary>span:last-child,.fx-flow .fr-bay>summary>i,.fx-flow .fm-detail-action i,.fx-flow .fm-comparison-icon{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;font-size:0;font-style:normal;line-height:1;transform:none}
.fx-flow .fr-cost-breakdown[open]>summary>span:last-child,.fx-flow .fr-bay[open]>summary>i,.fx-flow .fm-disclosure[open]>summary .fm-detail-action i,.fx-flow .fm-inline-detail[open] .fm-comparison-icon,.fx-flow .fm-story-disclosure[open] .fm-comparison-icon{transform:none}
.fx-flow .fr-cost-breakdown>summary>span:last-child::after,.fx-flow .fr-bay>summary>i::after,.fx-flow .fm-detail-action i::after,.fx-flow .fm-comparison-icon::after{content:'＋';font-size:24px;font-weight:400;line-height:1}
.fx-flow .fr-cost-breakdown[open]>summary>span:last-child::after,.fx-flow .fr-bay[open]>summary>i::after,.fx-flow .fm-disclosure[open]>summary .fm-detail-action i::after,.fx-flow .fm-inline-detail[open] .fm-comparison-icon::after,.fx-flow .fm-story-disclosure[open] .fm-comparison-icon::after{content:'−'}
.fx-flow .fr-cost-breakdown>summary>span:first-child{min-width:0}
