/* Focused homepage/services preview. CMS covers remain available for sharing. */
.calm-home .relay-hero{display:flex;align-items:center;min-height:76svh;position:relative;padding-block:100px 80px}
.calm-home .relay-hero-copy{max-width:820px;position:relative;z-index:1;padding:36px 36px 36px 0}
.calm-home .relay-hero-copy:before{content:"";position:absolute;inset:-80px -100px -70px -120px;background:radial-gradient(ellipse closest-side at 50% 50%,rgba(5,11,16,.94) 0%,rgba(5,11,16,.68) 55%,rgba(5,11,16,0) 100%);z-index:-1;pointer-events:none}
.calm-home .relay-hero h1{font-size:clamp(44px,5.7vw,84px);line-height:1.07;max-width:850px;letter-spacing:-.045em}
.calm-home .relay-hero-copy>p:not(.relay-badge){max-width:620px;color:#d0dce5;font-size:18px;line-height:1.75}
.calm-home .relay-integrations{padding-block:30px 50px}
.calm-home .relay-slab{background:transparent}
.calm-home .corporate-service,.calm-services .hub-card{background:linear-gradient(125deg,rgba(32,49,61,.78),rgba(9,18,25,.85));border:1px solid rgba(176,209,231,.2);box-shadow:inset 0 1px 0 #ffffff12,0 12px 30px #0003;backdrop-filter:blur(12px);transition:transform .25s ease,border-color .25s ease;}
.calm-home .corporate-service:hover,.calm-services .hub-card:hover{transform:translateY(-4px);border-color:#98bcd075}
.calm-services .services-intro{max-width:1100px;padding-block:72px 50px;margin-inline:auto;position:relative}
.calm-services .services-intro:before{content:"";position:absolute;inset:-60px -40px;background:radial-gradient(ellipse closest-side,#070d12d9 0%,#070d1280 60%,#070d1200 100%);pointer-events:none;z-index:-1}
.calm-services .services-intro h1{font-size:clamp(36px,4.3vw,64px);max-width:900px;line-height:1.12}
.calm-services .page-lead{max-width:740px;font-size:18px;line-height:1.7;color:#d0dce5}
.calm-services .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.calm-services .hub-card{padding:30px;min-height:230px;display:flex;flex-direction:column;align-items:flex-start;}
.calm-services .hub-icon{display:none}
.calm-services .hub-card h3{font-size:24px;line-height:1.3;margin:0 0 16px}
.calm-services .hub-card p{font-size:16px;line-height:1.75;color:#becdd8;margin-bottom:24px}
.calm-services .hub-link{margin-top:auto;color:#bad9ed}
.calm-services .service-hub{padding-block:38px}
.calm-services .hub-heading{margin-bottom:26px}
.calm-services .hub-heading h2{font-size:28px}
.calm-home .relay-product-media img{display:none}
.calm-home .relay-scale-grid>article{background:#0c1722c9}
@media(max-width:760px){.calm-home .relay-hero{min-height:auto;padding-block:65px 40px}.calm-home .relay-hero-copy{padding:12px 0}.calm-home .relay-hero h1{font-size:clamp(38px,9vw,62px)}.calm-home .relay-hero-copy>p:not(.relay-badge){font-size:16px}.calm-services .hub-grid{grid-template-columns:1fr}.calm-services .hub-card{min-height:0;padding:24px}.calm-services .services-intro{padding-block:38px 20px}.calm-services .hub-heading{display:block}.calm-services .hub-heading p{margin-top:12px}.calm-home #relay-stream,.calm-services #relay-stream{opacity:.55}}
@media(prefers-reduced-motion:reduce){.calm-home .corporate-service,.calm-services .hub-card{transition:none;transform:none!important}}

.calm-home,.calm-services{overflow-x:clip}.calm-home .relay-hero{isolation:isolate}.calm-services .services-intro{isolation:isolate}


/* Inner pages: one optional editorial visual, never an automatic cover. */
.relay-site .detail-intro:not(:has(.detail-art)){grid-template-columns:minmax(0,850px)}
.relay-site .detail-intro{position:relative;isolation:isolate}
.relay-site .detail-heading{background:transparent;position:relative;isolation:isolate;padding:clamp(24px,3vw,40px);border-radius:18px;min-width:0}
.relay-site .detail-art.editorial-hero{max-width:680px;align-self:center}
.relay-site .detail-art.editorial-hero img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}
.relay-site .cms-hero-image{max-height:none;margin:24px 0;overflow:hidden}
.relay-site .cms-hero-image img{width:100%;max-height:360px;object-fit:contain}
.relay-site .article-layout{background:linear-gradient(100deg,#070f17eb,#070f17c9);border-radius:18px;padding:32px}
.relay-site .contact-form-wrap{background:#101c27f0}
.calm-home .relay-hero:has(.detail-art){gap:40px;flex-wrap:wrap}
@media(max-width:760px){.relay-site .article-layout{padding:20px}.relay-site .detail-heading{padding:24px}}

/* Fade to zero before every overlay edge; never crop a nonzero gradient. */
.relay-site .detail-heading:before{content:"";position:absolute;inset:-40px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse closest-side,#081019eb 0%,#081019a6 60%,#08101900 100%)}
.relay-site .energy-page .page-intro{background:transparent}
.relay-site .energy-page{overflow-x:clip}
.relay-site{overflow-x:clip}
