/* Navigation indicates the section in view, rather than permanently marking Contact. */
.site-header nav a{border-bottom:1px solid transparent}
.site-header nav a[aria-current]{border-bottom-color:currentColor}
.site-header nav .nav-contact{margin-left:0;border-bottom-color:transparent}
.site-header nav a:focus-visible{outline-offset:3px}
/* Keep the project controls quiet and consistent with the site. */
.map-explore{max-width:calc(100% - 82px);padding:10px 12px;border:1px solid #d5ddd8;border-radius:6px;background:#fffffff5;box-shadow:0 3px 16px #10281c12}
.map-filter-row{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}
.map-filter-row label{font-size:10px;letter-spacing:.04em;color:#5c6b63}
.map-filter-row select{appearance:none;max-width:210px;width:100%;min-height:34px;border:1px solid #d9e0db;border-radius:3px;background:#f5f7f5;color:#21372c;padding:5px 27px 5px 9px;font-size:12px}
.map-filter-row:after{content:'';position:absolute;right:11px;top:13px;width:5px;height:5px;border-right:1px solid #42574a;border-bottom:1px solid #42574a;transform:rotate(45deg);pointer-events:none}
.map-explore .map-context{margin-top:7px;gap:6px;max-width:260px;font-size:10px}
.map-context-dot{background:#617c6a}
.map-context>span:last-child{overflow-wrap:anywhere}
.maplibregl-ctrl-group{border-color:#c9d4cc!important;border-radius:5px!important;background:#fff!important;box-shadow:0 3px 16px #10281c12!important}
.maplibregl-ctrl-group button{width:36px;height:36px}
.maplibregl-ctrl-group button+button{border-top-color:#dce3dd}
.map-selection a{align-self:center;white-space:nowrap;font-size:11px;padding:4px}
.map-selection a span{margin-left:8px}
.map-selection a:hover{text-decoration:underline;text-underline-offset:3px}
.map-credit{min-height:23px;padding-top:5px;color:#707b74;font-size:9px;line-height:1.45}
.map-credit .maplibregl-ctrl{float:none;clear:none;margin:0!important}
.map-credit .maplibregl-ctrl-attrib{padding:0;background:transparent;font-size:9px!important;line-height:1.45!important}
.tile-details:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* The agreed white framing does not select a new background or logo treatment. */
body[data-hero-frame=white] .site-header{background:#fff;color:var(--ink);border-bottom-color:var(--line)}
body[data-hero-frame=white] .header-brand{opacity:1;visibility:visible;pointer-events:auto}
body[data-hero-frame=white] .hero{padding-bottom:0}
body[data-hero-frame=white] .hero-foot{margin-inline:calc(-1 * var(--rail));margin-top:24px;padding:16px var(--rail);min-height:68px;justify-content:center;background:#fff;color:var(--ink);border-top:0}
body[data-hero-frame=white] .hero-foot a{max-width:none;gap:24px;font-size:13px}
body[data-hero-frame=white] .hero-foot a:hover{color:#a93a1d}
body[data-landing-tuned=true] .hero-signature .logo-copy{gap:var(--lp-wordmarkGap,10px)}
body:not([data-hero-frame=white]) .hero-foot{justify-content:center}
@media(max-width:560px){
 .map-explore{left:10px;top:10px;padding:8px;max-width:calc(100% - 66px)}
 .map-filter-row{gap:7px}
 .map-filter-row label{font-size:9px}
 .map-filter-row select{font-size:11px;min-height:34px;padding-left:7px}
 .map-explore .map-context{font-size:9px;max-width:225px}
 .map-selection a{font-size:11px;justify-self:end}
 .search-area{top:108px}
 .map-credit{font-size:9px}
}

/* November 3 BOO revision: proposition first, supporting image and three benefits. */
.boo-page .boo-page-opening{min-height:0;justify-content:flex-start;padding-block:28px 24px}
.boo-page-intro{display:block}
.boo-page-intro h1{font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.035em}
.boo-page-value{max-width:900px;margin-top:20px;font-size:clamp(25px,2.7vw,35px);line-height:1.24;letter-spacing:-.025em;text-wrap:pretty}
.boo-page-summary{max-width:900px;margin-top:18px;color:var(--muted);font-size:16px;line-height:1.8}
.boo-page .boo-page-visual{max-width:900px;margin-top:26px}
.boo-page .boo-page-visual img{height:clamp(200px,31svh,320px);object-position:50% 16%}
.boo-page .boo-page-reading{padding-top:24px}
.boo-page-reading>.boo-page-lead{max-width:960px;font-size:clamp(23px,2.3vw,31px);line-height:1.3;margin-bottom:30px}
.boo-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.boo-benefits article{min-width:0;padding-top:22px;border-top:1px solid var(--line)}
.boo-benefits h2{font-size:clamp(23px,2vw,27px);line-height:1.2;font-weight:400;letter-spacing:-.025em}
.boo-benefits p,.boo-page-close p{margin-top:17px;color:var(--muted);font-size:15px;line-height:1.8}
.boo-page .boo-page-close{grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:end;margin-top:40px;padding-top:30px;border-top:1px solid var(--line)}
.boo-page-close h2{max-width:830px;font-size:clamp(25px,2.6vw,34px)}
.boo-page-close p{max-width:760px}
.boo-page-close>.outline-link{margin:0;white-space:nowrap}
@media(max-width:780px){.boo-benefits{grid-template-columns:minmax(0,1fr);gap:25px}.boo-benefits h2{font-size:25px}.boo-benefits p{max-width:660px;margin-top:12px}.boo-page .boo-page-close{grid-template-columns:minmax(0,1fr);gap:23px;align-items:start}.boo-page-close>.outline-link{justify-self:start}}
@media(max-width:560px){.boo-page .boo-page-opening{padding-block:24px 22px}.boo-page-value{font-size:27px;margin-top:17px}.boo-page-summary{font-size:15px;line-height:1.75}.boo-page .boo-page-visual img{height:190px;aspect-ratio:auto;object-position:50% 16%}.boo-page-reading>.boo-page-lead{font-size:25px;margin-bottom:24px}}

/* Center Energy over Infrastructure alone; Inc. occupies its own narrow column. */
.structured-logo .logo-copy>.logo-stack{display:inline-grid;grid-template-columns:max-content max-content;column-gap:.2em;row-gap:.12em;align-items:center;justify-content:center;text-align:center;line-height:1.1}
.logo-stack>.logo-energy{display:block;grid-row:1;grid-column:1;font-size:1em;letter-spacing:.045em}
.logo-stack>.logo-infrastructure{display:contents}
.logo-infrastructure-word{grid-row:2;grid-column:1;white-space:nowrap}
.logo-stack .logo-infrastructure small{grid-row:2;grid-column:2;align-self:end;font-size:.55em;line-height:1.4;letter-spacing:.035em}
.site-header .header-brand .logo-copy>.logo-stack{display:inline-grid}
.site-header .header-brand .logo-stack small{font-size:.6em}
/* The next section remains visible below the landing photograph and white rail. */
body[data-landing-tuned=true] .hero{--about-peek:clamp(94px,13svh,116px);min-height:calc(100svh - var(--about-peek));padding-top:calc(var(--header) + 24px)}
body[data-landing-tuned=true] #story{padding-top:28px}
body[data-hero-frame=white] .hero-foot{min-height:56px;padding-block:13px;margin-top:20px}
/* Only the map and its project selection need to occupy the canvas. */
.search-area{top:16px;left:16px}
.map-marker.cluster-marker{width:16px;height:16px;padding:0;font-size:0;border:2px solid #fff;background:#244b3a;box-shadow:0 1px 6px #0004}
.map-marker.cluster-marker.active{width:20px;height:20px;font-size:0;background:#dc542b}
.map-selection{bottom:39px;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 14px}
.map-selection strong{grid-column:auto}
.map-selection a{grid-column:auto;grid-row:auto}
.maplibregl-ctrl-attrib.maplibregl-compact{font-size:9px!important;line-height:1.5!important;background:#ffffffe6;backdrop-filter:blur(12px);border-radius:14px;box-shadow:0 1px 8px #15342316}
.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{padding:3px 7px 3px 4px;max-width:290px}
/* A small return control stays within reach without covering page content. */
.return-button{position:fixed;left:max(22px,env(safe-area-inset-left));bottom:max(22px,env(safe-area-inset-bottom));z-index:40;display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:46px;padding:0 20px 0 18px;border:1px solid #ffffffb8;border-radius:999px;background:#ffffffe0;color:#20392c;box-shadow:0 5px 24px #102a1b1a,inset 0 1px 0 #fff;backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);font-size:13px;line-height:1}
.return-button[hidden]{display:none}
.return-button:before{content:'';width:7px;height:7px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.return-button:hover{background:#fffffff5;box-shadow:0 6px 25px #102a1b25}
.return-button:focus-visible{outline:2px solid #dc542b;outline-offset:4px}
.detail-nav a[data-floating-return]{display:none}
.detail-nav:has([data-floating-return]){justify-content:flex-end}
@supports not (backdrop-filter:blur(1px)){.return-button{background:#fffffff5}}
@media(prefers-reduced-transparency:reduce){.return-button{background:#fff;backdrop-filter:none}}
@media(max-width:560px){
 body[data-landing-tuned=true] .hero{--about-peek:82px;padding-top:calc(var(--header) + 14px)}
 body[data-landing-tuned=true] .hero-content{padding-block:12px}
 body[data-landing-tuned=true] .hero-signature{margin-bottom:min(var(--lp-logoGap,42px),26px)}
 body[data-landing-tuned=true] #story{padding-top:23px}
 body[data-hero-frame=white] .hero-foot{min-height:48px;margin-top:16px;padding-block:10px}
 .return-button{left:16px;bottom:max(16px,env(safe-area-inset-bottom));min-height:44px;padding-inline:17px;font-size:12px}
 .search-area{top:12px;left:12px}
 .map-selection{grid-template-columns:minmax(0,1fr) auto;bottom:38px;padding:11px 12px}
 .map-selection strong{font-size:13px}
}

/* A landing preview can compare a full frame with two amounts of the next section. */
body[data-landing-tuned=true][data-about-peek=off] .hero{--about-peek:0px}
body[data-landing-tuned=true][data-about-peek=more] .hero{--about-peek:clamp(142px,20svh,180px)}
@media(max-width:560px){body[data-landing-tuned=true][data-about-peek=more] .hero{--about-peek:124px}}

/* A partial next project provides a quiet visual invitation to scroll. */
.projects .project-browser{gap:8px;scroll-snap-type:none}
.projects .project-card{flex:0 0 calc((100% - 32px)/var(--project-rows,4.35));height:calc((100% - 32px)/var(--project-rows,4.35));min-height:0;scroll-snap-align:none}
.projects .project-card .project-tile{height:100%;min-height:0;padding:9px 84px 9px 12px}
.projects .project-tile .tile-top{font-size:8px;line-height:1.1}
.projects .project-tile .tile-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.projects .project-tile .tile-bottom strong{font-size:clamp(15px,1.35vw,20px);line-height:1.12;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:100%}
.projects .project-tile .tile-bottom small{font-size:9px;line-height:1.2}
.projects .project-card:not([data-selected=true]) .project-tile img{filter:brightness(.91) saturate(.85)}
.projects .project-card[data-selected=true] .project-tile img{filter:brightness(1.13) saturate(1.05)}
.projects .project-card[data-selected=true] .project-tile:before{background:linear-gradient(180deg,#07131b1c,transparent 30%,#07131b9c)}
/* Keep return navigation just under the main bar, with room at anchor targets. */
.return-button{top:calc(var(--header,78px) + 10px);bottom:auto;left:max(16px,env(safe-area-inset-left));background:linear-gradient(135deg,#ffffffc9,#eef5ed8c);border-color:#ffffffbf;box-shadow:0 7px 26px #102c1a1c,inset 0 1px 0 #ffffffed,inset 1px 0 0 #ffffff66;backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%)}
.section{scroll-margin-top:54px}
.capability-reader{scroll-margin-top:calc(var(--header) + 64px)}
/* The experience link belongs to the photograph; About R&R supplies the white edge. */
body[data-landing-tuned=true] .hero-foot{background:transparent;color:#fff;border:0;margin:14px 0 0;padding:18px 0 22px;min-height:0;justify-content:center}
body[data-landing-tuned=true] .hero-foot a{display:inline-flex;flex-direction:row;align-items:center;gap:15px;max-width:none;font-size:12px;color:#fff}
body[data-landing-tuned=true] .hero-foot a span{font-size:inherit}
body[data-landing-tuned=true] .hero-foot svg{display:block;flex:none}
@media(max-width:560px){.return-button{top:calc(var(--header,68px) + 8px);bottom:auto;left:14px}.projects .project-tile .tile-bottom strong{font-size:15px}.projects .project-card .project-tile{padding:8px 72px 8px 11px}.projects .project-tile .tile-bottom small{font-size:8px}.projects .project-browser{height:390px}body[data-landing-tuned=true] .hero-foot{padding-block:12px 16px;margin-top:10px}}

/* A frosted return rail keeps the previous section out of anchored reading views. */
body:not(.detail-page):has(.return-button:not([hidden])):after{content:'';position:fixed;inset:var(--header) 0 auto;height:54px;background:linear-gradient(180deg,#fffffff5,#ffffffd9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);z-index:29;pointer-events:none}
@media(prefers-reduced-transparency:reduce){.return-button{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}body:not(.detail-page):has(.return-button:not([hidden])):after{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}
body:has(#main-navigation.open) .return-button{visibility:hidden}
.projects .project-tile .tile-top{text-shadow:0 1px 3px #07131bd9}

/* Bill November 8: retain the emblem and use Infrastructure Inc. without Energy. */
.structured-logo .logo-copy>.logo-stack,.site-header .header-brand .logo-copy>.logo-stack{display:inline-flex;align-items:center;gap:0;text-align:left}
.logo-stack>.logo-infrastructure{display:inline;white-space:nowrap}
.logo-infrastructure-word{display:inline}
.logo-stack .logo-infrastructure small{display:inline;vertical-align:baseline}
/* Move the photograph down slightly within the existing Transmission window. */
.infrastructure-card>img[data-site-photo=transmissionPhoto]{object-position:50% 25%}
