/* Page: infrastructure (infrastructure.html). Loaded only on this page, after the shared stylesheets. */
.page#infrastructure{padding-top:var(--hh,85px)}
.spoke{fill:none;stroke:var(--navy);stroke-width:1.2;stroke-dasharray:1;stroke-dashoffset:1;opacity:.55}
@media (prefers-reduced-motion:no-preference){
.spoke{transition:stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1),opacity .6s}
}
.st2 .spoke,.st3 .spoke,.st4 .spoke{stroke-dashoffset:0}
.st3 .spoke,.st4 .spoke{opacity:.18}
.layer{display:grid;grid-template-columns:150px 1fr;gap:12px 28px;align-items:center;padding:22px 28px;background:#fff;border:1px solid var(--line);border-radius:12px;width:var(--w);min-width:min(100%,560px);margin-left:auto;margin-right:auto}
.layer .ln{font-size:22px;font-weight:500;letter-spacing:-.01em;color:var(--navy)}
.layer .ld{font-size:16px;line-height:1.5;color:var(--muted)}
.layer:first-child{background:var(--navy);border-color:var(--navy)}
.layer:first-child .ln{color:#fff}
.layer:first-child .ld{color:rgba(255,255,255,.82)}
.hwc.next{background:#fff;color:var(--navy);border:1px dashed #B9B4E6}
.seg{display:inline-flex;padding:4px;border-radius:999px;background:#fff;border:1px solid var(--line);margin-bottom:28px}
.seg button{all:unset;cursor:pointer;padding:10px 20px;border-radius:999px;font-size:15px;font-weight:500;color:var(--muted)}
.seg button[aria-pressed="true"]{background:var(--navy);color:#fff}
.seg button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:no-preference){
@keyframes ledBlink{0%,100%{opacity:.25}50%{opacity:1}}
.hwx .led{animation:ledBlink 2.2s ease-in-out infinite}
}
@media (max-width:900px){
.layer{width:100%;grid-template-columns:1fr;padding:20px}
}
/* ===== Infrastructure page (Figma 463:92492) ===== */
#infrastructure{font-family:var(--inter)}
#infrastructure .wrap{max-width:1344px}
#infrastructure .lbl{margin:0;font-size:14px;font-weight:600;line-height:1.21;text-transform:uppercase;color:var(--indigo)}
#infrastructure .h2{margin:0;font-family:var(--cambria);font-weight:400;font-size:clamp(40px,4.2vw,60px);line-height:1.17;letter-spacing:0;color:var(--navy)}
#infrastructure section,#infrastructure .plate{scroll-margin-top:79px}
.if-hero{position:relative;overflow:hidden;background:var(--navy)}
.if-hero .wrap{position:relative;padding-top:120px;padding-bottom:60px;display:flex;flex-direction:column;gap:32px}
.if-hero .lbl{color:#C9C2F2!important}
.if-hero h1{margin:12px 0 0;font-family:var(--cambria);font-weight:400;font-size:clamp(48px,5.6vw,80px);line-height:1.17;color:#fff}
.if-hero hr{margin:0;border:0;border-top:1px solid rgba(232,231,238,.45)}
.if-hero p.d{margin:0;max-width:719px;font-size:20px;line-height:28px;color:#E8E7EE}
.if-sub{position:sticky;top:var(--hh,85px);z-index:15;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);border-bottom:1px solid #E8E7EE}
.if-sub .wrap{padding-top:20px;padding-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.if-sub nav{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;min-width:0}
.if-sub nav::-webkit-scrollbar{display:none}
.if-sub nav a{flex-shrink:0;padding:8px 24px;border:1px solid transparent;border-radius:30px;font-size:16px;line-height:1.2;color:var(--navy);text-decoration:none;white-space:nowrap;transition:background-color .25s,color .25s,border-color .25s}
.if-sub nav a:hover{border-color:#C9C2F2}
.if-sub nav a[aria-current="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.if-idn .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:60px}
.if-wb{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px}
.wbc{background:#fff;border:1px solid #E8E7EE;border-radius:16px;padding:1px;overflow:hidden;display:flex;flex-direction:column;transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s}
.wbc:hover{transform:translateY(-4px);box-shadow:0 20px 40px -28px rgba(31,0,160,.45)}
.wbc .art{position:relative;height:276.5px;background:#F6F7FA;border-bottom:1px solid #E8E7EE;overflow:hidden}
.wbc .art img{position:absolute;left:20px;top:12px;width:calc(100% - 40px);height:263.5px;max-width:none;object-fit:contain;object-position:center top}
.wbc .tx{padding:24px;display:flex;flex-direction:column;gap:12px}
.wbc h3{margin:0;font-family:var(--cambria);font-weight:400;font-size:24px;line-height:1.17;color:var(--navy)}
.wbc h3 img{width:22px;height:22px;vertical-align:-3px;margin-left:7px}
.wbc p{margin:0;font-size:16px;line-height:24px;color:var(--slate)}
.if-bw{background:#F6F7FA;border-top:1px solid #E8E7EE;border-bottom:1px solid #E8E7EE}
.if-bw .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:60px}
.if-bwg{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.bwc{background:#fff;border:1px solid #E8E7EE;border-radius:14px;padding:24px 16px;display:flex;flex-direction:column;gap:13px}
.bwc>img{width:40px;height:40px;display:block}
.bwc h3{margin:0;min-height:56px;font-size:20px;font-weight:500;line-height:28px;color:var(--navy)}
.bwc h3 img{width:18px;height:18px;vertical-align:-2px;margin-left:6px}
.bwc p{margin:0;font-size:16px;line-height:24px;color:var(--slate)}
.if-sink{position:relative;background:#fff}
.if-sink::before{content:"";position:absolute;inset:0;background:url("../../img/bg-sink.webp") center/cover no-repeat;opacity:.1;pointer-events:none}
.if-sink .wrap{position:relative;padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:60px}
.plate{display:flex;min-height:371px;border-radius:32px;overflow:hidden}
.plate .ps{flex:0 0 50.7%;position:relative;overflow:hidden;min-height:240px}
.plate .ps img{position:absolute;left:0;max-width:none;object-fit:cover}
.plate .pt{flex:1 1 0;min-width:0;padding:20px 32px;display:flex;flex-direction:column;justify-content:center;gap:24px;background:linear-gradient(90deg,#C9C7D6,#fff)}
.plate.rev .pt{background:linear-gradient(90deg,#fff,#C9C7D6)}
.plate .pt h3{margin:0;font-family:var(--cambria);font-weight:400;font-size:clamp(28px,2.5vw,36px);line-height:1.2;color:var(--navy)}
.plate .pt>p{margin:0;font-size:16px;line-height:1.3;color:var(--navy)}
.plate dl{margin:0;display:flex;flex-direction:column}
.plate dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #fff}
.plate dl>div:last-child{border-bottom:0}
.plate dt{flex:0 0 87px;font-size:11px;font-weight:500;text-transform:uppercase;color:#6B6D81}
.plate dd{margin:0;flex:1 1 0;max-width:455px;font-size:16px;line-height:24px;color:var(--slate)}
.plate dl>div:last-child dd{color:var(--indigo)}
.if-rep{background:var(--navy)}
.if-rep .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:48px}
.if-rep .l{flex:0 1 467px;display:flex;flex-direction:column;gap:40px}
.if-rep .l>div{display:flex;flex-direction:column;gap:12px}
.if-rep .l .lbl{color:#C9C2F2!important}
#infrastructure .if-rep .h2{color:#fff}
.if-rep .l>p{margin:0;font-size:20px;line-height:28px;color:rgba(255,255,255,.8)}
.if-rep ol{flex:0 1 653px;margin:0;padding:0;list-style:none;border-bottom:1px solid rgba(255,255,255,.18)}
.if-rep li{display:flex;gap:12px;padding:24px 0;border-top:1px solid rgba(255,255,255,.18)}
.if-rep li>span{flex:0 0 64px;padding-top:6px;font-size:16px;line-height:24px;color:#C9C2F2}
.if-rep li>div{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:8px}
.if-rep li b{font-family:var(--cambria);font-weight:400;font-size:24px;line-height:1.17;color:#fff}
.if-rep li p{margin:0;font-size:16px;line-height:24px;color:rgba(255,255,255,.78)}
.if-fun .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:42px}
@media (max-width:1100px){
.if-wb{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.if-bwg{grid-template-columns:repeat(3,minmax(0,1fr))}
.plate,.plate.rev{flex-direction:column}
.plate.rev .ps{order:-1}
.plate .ps{flex-basis:300px}
.plate .pt{padding:28px 32px;background:linear-gradient(180deg,#C9C7D6,#fff)!important}
.if-rep .l,.if-rep ol{flex-basis:100%}
}
@media (max-width:760px){
.if-hero .wrap{padding-top:88px;padding-bottom:48px}
.if-hero p.d,.if-rep .l>p{font-size:18px;line-height:26px}
.if-sub .wrap{padding-top:12px;padding-bottom:12px}
.if-sub .btn-e{display:none}
.if-sub nav a{padding:6px 16px;font-size:15px}
.if-idn .wrap,.if-bw .wrap,.if-sink .wrap,.if-rep .wrap,.if-fun .wrap{padding-top:64px;padding-bottom:64px;gap:40px}
.if-wb,.if-bwg{grid-template-columns:1fr}
.bwc h3{min-height:0}
.plate{border-radius:24px}
.plate .ps{flex-basis:220px}
.plate .pt{padding:24px 20px}
.plate dl>div{flex-direction:column;align-items:flex-start;gap:2px}
.plate dt{flex-basis:auto}
}
@media (max-width:560px){
#infrastructure .wrap{padding-left:16px;padding-right:16px}
}
#infrastructure .if-wb{
  /* colour tokens — change here */
  --fx-ink:#000a47;          /* titles */
  --fx-line:#4a5072;         /* illustration outlines */
  --fx-detail:rgba(74,80,114,.5);
  --fx-body:#4a5072;         /* description text */
  --fx-tint:#f6f7fa;         /* illustration panel */
  --fx-rule:#e7e6ee;         /* card border + divider */
  --fx-face-l:#e6e2f6;       /* lit faces of the plot */
  --fx-face-r:#c4bfdc;       /* shaded faces */
  --fx-win:#c9c6df;
  --fx-acc:#1f00a0;          /* brand purple: the "live" thing in each card */
  --fx-acc-soft:#b3a7f3;
  --fx-ease-out:cubic-bezier(0.23,1,0.32,1);
  --fx-sans:"Inter",-apple-system,"Segoe UI",system-ui,sans-serif;
  --fx-title:Cambria,"Caladea",Georgia,"Times New Roman",serif;
  }
/* ---------- illustration ---------- */
.fx-ill .o{stroke:var(--fx-line);stroke-width:1.35;stroke-linejoin:round;stroke-linecap:round}
.fx-ill .d{stroke:var(--fx-detail);stroke-width:.9;stroke-linecap:round;fill:none}
.fx-ill .dash{stroke-dasharray:2.5 3.5}
.fx-ill .all{transition:transform 260ms var(--fx-ease-out)}
.fx-ill .win{fill:var(--fx-win);transition:fill 160ms ease}
.fx-ill .led{fill:#fff;transition:fill 160ms ease}
.fx-ill .wire{fill:none;stroke:var(--fx-line);stroke-width:1.5;stroke-dasharray:3.2 3.2}
.fx-ill .cable{fill:none;stroke:var(--fx-acc-soft);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fx-ill .pulse{fill:none;stroke:var(--fx-acc);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 7;opacity:0;transition:opacity 160ms ease}
.fx-ill .pipe{fill:none;stroke:var(--fx-acc-soft);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.fx-ill .arrive{transition:transform 160ms var(--fx-ease-out),opacity 120ms ease;transform:translate(36px,18px);opacity:0}
.fx-ill .bay{transition:opacity 160ms ease}
.fx-ill .spoke{fill:none;stroke:var(--fx-acc-soft);stroke-width:1.3;transition:stroke 160ms ease}
/* net: light at rest, brand purple on hover */
.fx-ill .ntop{transition:fill 160ms ease}
/* hover = the card's thing switches on. Real pointers only; release snaps back with no stagger. */
@media (hover:hover) and (pointer:fine){
.fx-card:hover .all{transform:translateY(-3px)}
.fx-card:hover .wire{animation:fx-flow .6s linear infinite}
.fx-card:hover .pulse{opacity:1;animation:fx-flow2 .7s linear infinite;transition-duration:240ms}
.fx-card:hover .win,.fx-card:hover .led{fill:var(--fx-acc);transition-duration:200ms}
.fx-card:hover .arrive{transform:none;opacity:1;transition-duration:420ms,240ms}
.fx-card:hover .bay{opacity:0;transition-duration:240ms}
.fx-card:hover .win:nth-child(1){transition-delay:80ms}
.fx-card:hover .win:nth-child(2){transition-delay:120ms}
.fx-card:hover .win:nth-child(3){transition-delay:160ms}
.fx-card:hover .win:nth-child(4){transition-delay:200ms}
.fx-card:hover .win:nth-child(5){transition-delay:240ms}
.fx-card:hover .win:nth-child(6){transition-delay:280ms}
.fx-card:hover .led{transition-delay:calc(60ms + var(--i,0) * 45ms)}
.fx-card:hover .arrive .led{transition-delay:380ms}
.fx-card:hover .node .ntop{fill:var(--fx-acc-soft);transition-duration:200ms;transition-delay:calc(80ms + var(--i,0) * 70ms)}
.fx-card:hover .hub .ntop{fill:var(--fx-acc);transition-duration:200ms}
.fx-card:hover .spoke{stroke:var(--fx-acc);transition-duration:200ms;transition-delay:calc(var(--i,0) * 70ms)}
}
/* touch screens: the same "on" state while the card sits mid-screen (class set by the script) */
.fx-card.is-on .wire{animation:fx-flow .6s linear infinite}
.fx-card.is-on .pulse{opacity:1;animation:fx-flow2 .7s linear infinite}
.fx-card.is-on .win,.fx-card.is-on .led{fill:var(--fx-acc)}
.fx-card.is-on .arrive{transform:none;opacity:1;transition-duration:420ms,240ms}
.fx-card.is-on .bay{opacity:0}
.fx-card.is-on .node .ntop{fill:var(--fx-acc-soft)}
.fx-card.is-on .hub .ntop{fill:var(--fx-acc)}
.fx-card.is-on .spoke{stroke:var(--fx-acc)}
@keyframes fx-flow{to{stroke-dashoffset:-6.4}}
@keyframes fx-flow2{to{stroke-dashoffset:-9}}
@media (prefers-reduced-motion: reduce){
.fx-ill .all,.fx-ill .arrive{transition-property:opacity}
.fx-card:hover .all{transform:none}
.fx-card:hover :is(.wire,.pulse),.fx-card.is-on :is(.wire,.pulse){animation:none}
.fx-card:hover :is(.win,.led){transition-delay:0s!important}
}
#infrastructure .wbc.fx-card:hover{transform:none;box-shadow:none}
#infrastructure .wbc .art svg{display:block;width:100%;height:100%;max-width:none}
#infrastructure .wbc .art{height:auto;aspect-ratio:388/275}
.inf-wlx .pulse{fill:none;stroke:var(--accent);stroke-width:2}
