/* Home screen additions on top of site.css. */

/* Panels and descriptions toggled by home.js. .hw-pan sets display:flex, so hidden needs restating. */
.hw-pan[hidden],.hw-d[hidden]{display:none}

/* Audience card headings: one line at desktop, free to wrap when the card is too narrow to hold them. */
.seg-h{white-space:nowrap}
@container (max-width:1100px){.seg-h{white-space:normal}}

/* The other card dims only while a card is hovered, not while the pointer sits in the gap between them. */
.segrow:hover .segcard:not(:hover){opacity:1}
.segrow:has(.segcard:hover) .segcard:not(:hover){opacity:.82}

/* Stacked cards do not grow. */
@container (max-width:860px){.segcard:hover{flex-grow:0}}


/* Narrow phones: tighter text columns so each heading and line sit above the mock-up. */
@container (max-width:620px){
  .seg-txt{padding:32px 24px!important}
  .segcard .shotapp{top:284px}
  .wide-txt{width:auto!important;min-width:0!important;padding:32px 24px!important}
  .widecard .shotapp.wide{top:276px}
}

/* Home banner (Alex, November 21, 2026): a large centred headline, one sentence and the button on the navy band;
   the service ring sits on its own white section below. The headline scales with the window and never cuts a word. */
.banner-wrap{padding-top:96px;padding-bottom:96px}
.banner{display:flex;flex-direction:column;align-items:center;text-align:center}
.pn .banner-h{font-size:clamp(44px,6.6cqw,96px);line-height:1;letter-spacing:-.03em;color:#FEFDF8;max-width:100%;overflow-wrap:break-word}
.pn .banner-lead{margin-top:32px;max-width:640px;font-size:20px;line-height:1.5;color:rgba(254,253,248,.8)}
.pn .banner-btn{margin-top:40px}
.banner-ring{display:flex;justify-content:center;min-width:0;width:100%}
@container (max-width:860px){.banner-wrap{padding-top:64px;padding-bottom:48px}.pn .banner-lead{font-size:18px}}

/* The service ring on its own white section below the banner (Alex, November 21, 2026): light tiles with a hairline,
   navy icons, the current tile in navy, the name in navy. */
.ring-sec{background:#FFFFFF;color:#111E39;--tile:#F3ECDF;--tileb:rgba(17,30,57,.12);--tilefg:#111E39;--curbg:#111E39;--curfg:#FEFDF8}
.ring-wrap{padding-top:88px;padding-bottom:88px}
@container (max-width:860px){.ring-wrap{padding-top:56px;padding-bottom:56px}}
/* The ring's centre holds a fixed label on two lines (Services on / The Provider Network) at the same size as the
   rotating service name to the ring's right (Alex, November 21, 2026).
   Under 860px the name moves below the ring. */
.banner-ring{align-items:center;gap:56px}
.pn .ring-centre-text{display:block;font-size:36px;line-height:1.15;letter-spacing:-.02em}
.pn .ring-centre-text>span{display:block;white-space:nowrap}
.ring-side{flex:0 1 380px;min-width:0}
.pn #hero-ring-name{display:block;font-size:36px;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
@container (max-width:860px){.banner-ring{flex-direction:column;gap:24px;text-align:center}.ring-side{flex:none}}
/* Under 620px the ring is drawn at 62%, so its label reads at about 22px; the name below matches it. */
@container (max-width:620px){.pn #hero-ring-name{font-size:22px}}
