/* =====================================================================
   Klear Energy | Phase 2 staging candidate | phase2.css
   One scoped, additive layer, loaded last. It replaces no earlier file.
   Contents: 1 tokens, 2 navigation, 3 tap targets, 4 typography floor,
   5 consent banner, 6 hero video, 7 manifesto media, 8 news preview,
   9 social live feed, 10 footer, 11 news page and 404 shell.
   Selectors are prefixed with `html body` to win the existing cascade by
   specificity. No new !important except where an earlier file used it.
   ===================================================================== */

/* 1. Tokens ---------------------------------------------------------- */
:root{
  --p2-text:13.5px;        /* minimum body size for secondary paragraphs */
  --p2-label:11.5px;       /* minimum size for small caps labels */
  --p2-dense:10.5px;       /* minimum size for diagram and index labels */
  --p2-target:44px;        /* minimum interactive size */
  --p2-deep:#03282d;
  --p2-night:#021d21;
  --p2-lime:#b4ef57;
  --p2-line:rgba(5,47,53,.16);
}

/* 2. Navigation: seven destinations ---------------------------------- */
@media (min-width:1025px){
  html body .topbar .links{gap:30px}
  html body .topbar .links a:not(.button){font-size:13.5px;letter-spacing:.03em}
}
@media (min-width:761px) and (max-width:1024px){
  html body .topbar .links{gap:20px}
  html body .topbar .links a:not(.button){font-size:12.5px}
}
html body .topbar .links a[aria-current="page"]{border-bottom:2px solid var(--p2-lime);padding-bottom:4px}

/* 3. Tap targets ------------------------------------------------------ */
html body .menu-toggle{min-height:var(--p2-target);min-width:var(--p2-target)}
html body .links a{min-height:var(--p2-target);display:inline-flex;align-items:center}
html body .links a.button{min-height:var(--p2-target)}
html body .section-rail a{min-width:var(--p2-target);min-height:var(--p2-target)}
/* master-pro-mobile.css and final-staging-refinement.css set these with !important, so the override must too. */
html body .atlas-tech-filters button{min-height:var(--p2-target)!important;padding-inline:14px!important}
html body .leader-linkedin{min-height:var(--p2-target)!important}
html body .leader-linkedin,
html body .team-linkedin,
html body .team-email{min-height:var(--p2-target);display:inline-flex;align-items:center}
html body .modal-close,
html body .archive-lightbox-close{min-width:var(--p2-target);min-height:var(--p2-target)}
html body .cookie-link{min-height:var(--p2-target);display:inline-flex;align-items:center}
html body .text-link,
html body .np-card a,
html body .press-card a{min-height:var(--p2-target);display:inline-flex;align-items:center}

/* 4. Typography floor ------------------------------------------------- */
html body :is(.team-credential,.atlas-helper,.scale-disclosure,.story-proof,.manifesto-close,
  .ecosystem-closing,.atlas-disclosure,.value-progression-heading p,.atlas-panel p,.atlas-detail dd,
  .social-consent-status p,.press-card p,.hero-proof,.hero-editorial p){font-size:var(--p2-text);line-height:1.55}
html body .footer-legal p{font-size:12px;line-height:1.55}
html body :is(.eyebrow,.press-publication,.team-brand span,.team-card span){font-size:var(--p2-label)}
html body :is(.platform-card span,.stage-footer span,.historical-media-card span,.social-channel-card small,
  .social-channel-card b,.leader-linkedin span,.figure small,figcaption small,.relationship-controls button,
  .capability-tabs button,.atlas-detail span){font-size:var(--p2-label)}
html body :is(.atlas-market-identity small,.atlas-stage-key span,.atlas-detail dt,.journey-gates b,
  .value-progression-steps small,.value-progression-steps b,.gate-heading span,.relationship-detail span,
  .section-rail b,.stage-indicators b){font-size:var(--p2-dense)}
@media (max-width:760px){
  html body .press-publication{font-size:var(--p2-label)}
  html body .hero-editorial p{font-size:14px}
}

/* 5. Consent banner and dialogs -------------------------------------- */
html body .cookie-banner{padding:16px 20px;gap:18px;border-radius:16px}
html body .cookie-banner b{font-size:14px}
html body .cookie-banner p{font-size:12.5px;line-height:1.45}
html body .cookie-banner .cookie-actions button{min-height:var(--p2-target);padding:10px 16px;font-size:14px;margin-top:0}
@media (max-width:760px){
  html body .cookie-banner{left:8px;right:8px;bottom:8px;padding:12px 14px;gap:10px;grid-template-columns:minmax(0,1fr);border-radius:14px}
  html body .cookie-banner>div{min-width:0}
  html body .cookie-banner p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  html body .cookie-banner .cookie-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  html body .cookie-banner .cookie-actions button{padding:8px 6px;font-size:13px;width:100%;min-width:0}
}

/* 6. Cinematic hero --------------------------------------------------- */
html body .hero-infrastructure .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%;opacity:0;transition:opacity 1.1s ease;pointer-events:none;background:transparent}
html body .gate2-hero.hero-video-on .hero-video{opacity:1}
html body .hero-infrastructure .hero-video-shade{position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(3,25,28,.88) 0%,rgba(3,25,28,.62) 34%,rgba(3,25,28,.18) 62%,rgba(3,25,28,.06) 100%),
    linear-gradient(0deg,rgba(3,25,28,.72) 0%,rgba(3,25,28,0) 40%),
    linear-gradient(180deg,rgba(3,25,28,.55) 0%,rgba(3,25,28,0) 22%)}
/* The earlier 3D grid and static network drawing are retired behind real footage. */
html body .gate2-hero :is(#hero-webgl,.hero-static,.hero-media-horizon){display:none}
@media (max-width:760px){
  html body .hero-infrastructure .hero-video{object-position:50% 40%}
  html body .hero-infrastructure .hero-video-shade{background:
    linear-gradient(0deg,rgba(3,25,28,.92) 0%,rgba(3,25,28,.78) 46%,rgba(3,25,28,.25) 78%,rgba(3,25,28,.5) 100%)}
}
@media print{html body .hero-video{display:none}}

/* 7. Manifesto film --------------------------------------------------- */
html body .video-shell video{background:#021d21;object-fit:contain}

/* 8. Homepage news preview ------------------------------------------- */
html body .news-preview{background:#f4f6ef;padding:clamp(56px,8vw,104px) 0}
html body .news-preview-head{display:grid;grid-template-columns:1.15fr 1fr auto;gap:32px;align-items:end;margin-bottom:34px}
html body .news-preview-head h2{margin:8px 0 0;font-size:clamp(30px,4.2vw,56px);line-height:1.02;letter-spacing:-.025em;color:var(--ink)}
html body .news-preview-head p{margin:0;color:var(--muted);font-size:15px;line-height:1.6}
html body .news-preview-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:18px}
html body .np-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:300px;border-radius:18px;overflow:hidden;text-decoration:none;color:#fff;background:#03282d;isolation:isolate}
html body .np-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s ease}
html body .np-tile:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(2,29,33,.92) 8%,rgba(2,29,33,.35) 62%,rgba(2,29,33,.15) 100%)}
html body .np-tile:hover img{transform:scale(1.04)}
html body .np-tile .np-body{padding:22px}
html body .np-tile small{display:block;font-size:var(--p2-label);letter-spacing:.14em;text-transform:uppercase;color:var(--p2-lime);font-weight:700;margin-bottom:8px}
html body .np-tile h3{margin:0;font-size:clamp(19px,1.8vw,25px);line-height:1.15;letter-spacing:-.01em;color:#fff}
html body .np-tile .np-meta{display:block;margin-top:10px;font-size:13px;color:rgba(255,255,255,.76)}
html body .np-tile.np-plain{background:#fff;color:var(--ink);border:1px solid var(--p2-line);justify-content:space-between}
html body .np-tile.np-plain:after{display:none}
html body .np-tile.np-plain h3{color:var(--ink)}
html body .np-tile.np-plain small{color:#4a7a2b}
html body .np-tile.np-plain .np-meta{color:var(--muted)}
html body .np-play{position:absolute;top:18px;left:18px;width:48px;height:48px;border-radius:50%;background:rgba(180,239,87,.95);display:grid;place-items:center}
html body .np-play:before{content:"";border-left:14px solid #021d21;border-top:9px solid transparent;border-bottom:9px solid transparent;margin-left:4px}
@media (max-width:960px){
  html body .news-preview-head{grid-template-columns:1fr;gap:16px;align-items:start}
  html body .news-preview-grid{grid-template-columns:1fr 1fr}
  html body .news-preview-grid .np-tile:first-child{grid-column:1/-1;min-height:260px}
}
@media (max-width:560px){
  html body .news-preview-grid{grid-template-columns:1fr}
  html body .np-tile{min-height:220px}
}

/* 9. Klear Energy | Social Live Feed --------------------------------- */
html body .social-live{margin-top:26px}
html body .social-live-head h3{margin:0 0 6px;font-size:clamp(22px,2.4vw,30px);letter-spacing:-.01em}
html body .social-live-head p{margin:0 0 18px;color:var(--muted);font-size:14.5px}
html body .social-live-locked{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:18px 20px;border:1px dashed var(--p2-line);border-radius:14px;background:rgba(255,255,255,.6);font-size:14px}
html body .social-live-locked button{min-height:var(--p2-target);border:1px solid currentColor;background:transparent;color:var(--ink);border-radius:99px;padding:10px 20px;font-weight:700;cursor:pointer}
html body .social-live-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;min-height:340px}
html body .social-live[data-state="locked"] .social-live-grid,
html body .social-live[data-state="locked"] .social-live-note{display:none}
html body .social-live:not([data-state="locked"]) .social-live-locked{display:none}
html body .sl-card{display:flex;flex-direction:column;border:1px solid var(--p2-line);border-radius:16px;background:#fff;overflow:hidden;min-height:340px}
html body .sl-media{aspect-ratio:16/10;background:linear-gradient(135deg,#0b3b40,#03282d 60%,#1b4d3a);position:relative}
html body .sl-media:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0 22px,rgba(180,239,87,.07) 22px 23px)}
html body .sl-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
html body .sl-meta{display:flex;justify-content:space-between;gap:10px;font-size:var(--p2-label);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700}
html body .sl-sample{color:#9a5a12}
html body .sl-card h4{margin:0;font-size:17px;line-height:1.25}
html body .sl-card p{margin:0;font-size:var(--p2-text);color:var(--muted)}
html body .sl-foot{margin-top:auto;font-size:13px;color:var(--muted)}
html body .social-live[data-state="loading"] .sl-card *{color:transparent!important}
html body .social-live[data-state="loading"] .sl-card{animation:slPulse 1.4s ease-in-out infinite}
@keyframes slPulse{50%{opacity:.55}}
html body .social-live-note{margin-top:14px;padding:12px 16px;border-left:4px solid #9a5a12;background:#faf0dd;font-size:13.5px;border-radius:0 10px 10px 0}
html body .social-live-error{padding:18px 20px;border:1px solid #e0b9a0;background:#fbeee6;border-radius:14px;font-size:14px}
@media (max-width:960px){html body .social-live-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){html body .social-live-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){html body .social-live[data-state="loading"] .sl-card{animation:none}}

/* 10. Footer navigation ---------------------------------------------- */

/* 11. News page and 404 shell ---------------------------------------- */
html body.np-page{background:#f4f6ef;color:var(--ink)}
html body .np-hero{background:radial-gradient(circle at 78% 20%,rgba(77,190,177,.16),transparent 42%),linear-gradient(160deg,#03282d,#021d21 70%);color:#fff;padding:calc(110px + 6vw) 0 clamp(40px,6vw,76px)}
html body .np-hero h1{margin:10px 0 18px;max-width:17ch;font-size:clamp(36px,6vw,78px);line-height:1;letter-spacing:-.03em;color:#fff}
html body .np-hero p.np-intro{max-width:62ch;margin:0 0 28px;font-size:clamp(16px,1.5vw,19px);line-height:1.6;color:rgba(255,255,255,.82)}
html body .np-chips{display:flex;flex-wrap:wrap;gap:10px}
html body .np-chips button{min-height:var(--p2-target);padding:10px 20px;border-radius:99px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
html body .np-chips button[aria-pressed="true"]{background:var(--p2-lime);border-color:var(--p2-lime);color:#021d21}
html body .np-section{padding:clamp(44px,6vw,80px) 0;border-bottom:1px solid var(--p2-line)}
html body .np-section[hidden]{display:none}
html body .np-section h2{margin:6px 0 10px;font-size:clamp(28px,3.4vw,44px);line-height:1.05;letter-spacing:-.02em}
html body .np-section .np-lede{max-width:64ch;margin:0 0 28px;color:var(--muted);font-size:15.5px;line-height:1.6}
html body .np-empty{padding:22px 24px;border:1px dashed var(--p2-line);border-radius:14px;background:rgba(255,255,255,.6);font-size:15px}
html body .np-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
html body .np-card{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid var(--p2-line);border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(2,29,33,.05)}
html body .np-card .np-pub{font-size:var(--p2-label);letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#4a7a2b}
html body .np-card h3{margin:0;font-size:20px;line-height:1.22;letter-spacing:-.01em}
html body .np-card p{margin:0;font-size:14.5px;line-height:1.55;color:var(--muted)}
html body .np-card a{margin-top:auto;font-weight:700;font-size:14px;color:var(--ink);text-decoration:none;border-bottom:0}
html body .np-card a:hover{text-decoration:underline}
html body .np-card.np-image{padding:0;overflow:hidden}
html body .np-card.np-image button{position:relative;display:block;border:0;padding:0;background:#021d21;cursor:zoom-in}
html body .np-card.np-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
html body .np-card.np-image button span{position:absolute;left:14px;bottom:14px;padding:6px 12px;border-radius:99px;background:rgba(2,29,33,.85);color:#fff;font-size:12px;font-weight:700}
html body .np-card.np-image .np-card-copy{padding:20px 22px 22px;display:flex;flex-direction:column;gap:10px}
html body .np-video-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;align-items:stretch}
html body .np-video{border-radius:18px;overflow:hidden;background:#021d21;border:1px solid var(--p2-line)}
html body .np-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#000}
html body .np-video .np-video-copy{padding:20px 24px 24px;color:#fff}
html body .np-video .np-pub{font-size:var(--p2-label);letter-spacing:.12em;text-transform:uppercase;color:var(--p2-lime);font-weight:700}
html body .np-video h3{margin:6px 0 8px;font-size:24px;line-height:1.15;color:#fff}
html body .np-video p{margin:0;font-size:14.5px;color:rgba(255,255,255,.8)}
html body .np-media{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:start}
html body .np-media .np-brand{padding:26px;border:1px solid var(--p2-line);border-radius:18px;background:#fff}
html body .np-media .np-brand img{height:84px;width:auto;margin-bottom:12px}
html body .np-media .np-brand a{display:inline-flex;align-items:center;min-height:var(--p2-target);margin-right:18px;color:var(--ink);font-weight:700}
html body .np-note{margin-top:22px;font-size:13px;color:var(--muted);max-width:70ch}
@media (max-width:960px){
  html body .np-grid{grid-template-columns:1fr 1fr}
  html body .np-video-grid,html body .np-media{grid-template-columns:1fr}
}
@media (max-width:620px){
  html body .np-grid{grid-template-columns:1fr}
  html body .np-hero{padding-top:104px}
}
/* 404 page */
html body.nf-page{margin:0;min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,rgba(77,190,177,.18),transparent 45%),linear-gradient(160deg,#03282d,#021d21);color:#fff;font-family:Inter,Avenir Next,Avenir,Helvetica Neue,Arial,sans-serif}


/* 12. One logo system ------------------------------------------------- */
/* Every logo instance is the same asset (assets/klear-logo-official.png) with the same plate treatment.
   Only the size variable changes by placement. */
html body img.klear-logo{--kl-size:96px;display:block;box-sizing:border-box;width:var(--kl-size)!important;height:var(--kl-size)!important;max-width:none;
  padding:calc(var(--kl-size)*.07);background:rgba(246,248,241,.93);border:1px solid rgba(255,255,255,.55);border-radius:calc(var(--kl-size)*.16);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  object-fit:contain;filter:none!important;box-shadow:0 3px 14px rgba(0,12,14,.12)}
html body .topbar .brand img.klear-logo{--kl-size:78px;width:var(--kl-size)!important;height:var(--kl-size)!important}
html body .team-brand img.klear-logo{--kl-size:104px}
html body .footer-signoff img.klear-logo{--kl-size:156px;margin:0 0 20px auto}
html body .np-media .np-brand img.klear-logo{--kl-size:168px;margin-bottom:14px}
@media (max-width:760px){
  html body .topbar .brand img.klear-logo{--kl-size:62px;width:62px!important;height:62px!important}
  html body .team-brand img.klear-logo{--kl-size:88px}
  html body .footer-signoff img.klear-logo{--kl-size:128px;margin:0 0 16px 0}
  html body .np-media .np-brand img.klear-logo{--kl-size:140px}
}
html body .relationship-core .core-logo-plate{fill:#f4f6ef;stroke:rgba(234,233,212,.55);stroke-width:1}

/* 13. Footer card: lighter, background stays visible ------------------ */
html body .footer{background:linear-gradient(90deg,rgba(3,28,31,.88),rgba(3,28,31,.30)),url('assets/history/monte-plata-solar-aerial-archive.jpg') center/cover no-repeat!important}
html body .footer-signoff{background:linear-gradient(160deg,rgba(3,28,31,.46),rgba(3,28,31,.26));border-color:rgba(234,233,212,.28);
  box-shadow:0 18px 48px rgba(0,12,14,.2);-webkit-backdrop-filter:blur(12px) saturate(1.08);backdrop-filter:blur(12px) saturate(1.08)}
html body .footer-signoff small,html body .footer-signoff .footer-legal p{text-shadow:0 1px 8px rgba(0,12,14,.55)}

/* 14. Manifesto frame (fills the empty left column) ------------------- */
html body .manifesto-section{overflow-x:clip}
html body .manifesto-frame{position:relative;margin:40px 0 0;width:min(100%,320px)}
html body .manifesto-frame::before{content:"";position:absolute;top:16px;left:16px;right:-16px;aspect-ratio:4/5;border:1px solid rgba(190,222,95,.4);border-radius:6px;pointer-events:none}
html body .mf-media{position:relative;z-index:1;aspect-ratio:4/5;overflow:hidden;border-radius:6px;background:#06262b;box-shadow:0 28px 56px rgba(0,10,12,.38)}
html body .mf-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
html body .mf-media::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(3,28,31,.0) 62%,rgba(3,28,31,.5))}
@media (max-width:760px){html body .manifesto-frame{width:min(78%,320px);margin-top:34px}}

/* 12b. Header logo placement ------------------------------------------ */
html body .topbar .brand{margin-left:24px}
@media (max-width:760px){html body .topbar .brand{margin-left:4px}}

/* ==========================================================================
   15. Cross-Border Execution: one market state (atlas-markets.js)
   Active market is lit; inactive markets are dimmed, never removed.
   ========================================================================== */
html body .world-lens-links{display:none}
html body .world-market-focus .market-focus{cursor:pointer}
html body .world-market-focus .focus-ring{fill:rgba(196,189,113,0);stroke-width:1.2;opacity:.16;transition:opacity .8s ease,fill .8s ease,stroke-width .8s ease}
html body .world-market-focus .focus-anchor{fill:#bbc88a;stroke:rgba(234,233,212,.7);stroke-width:1.2;opacity:.22;filter:none;animation:none;transition:opacity .8s ease}
html body .world-market-focus text{opacity:.3;transition:opacity .8s ease}
html body .world-market-focus .market-focus.is-active .focus-ring{opacity:.95;stroke-width:1.8;fill:rgba(196,189,113,.07)}
html body .world-market-focus .market-focus.is-active .focus-anchor{opacity:1}
html body .world-market-focus .market-focus.is-active text{opacity:1}
html body .world-energy-network path{opacity:.35}
html body .atlas-marker{transition:opacity .6s ease calc(var(--i,0)*80ms),filter .25s}
html body .atlas-marker:not(.is-visible){transition-delay:0s;transition-duration:.35s}

/* tour control */
.atlas-tour-bar{display:flex;align-items:center;gap:14px;margin-top:12px}
.atlas-tour{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px 0 14px;border:1px solid rgba(234,233,212,.22);border-radius:999px;background:rgba(255,255,255,.03);color:#eae9d4;font:600 10px/1 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:border-color .25s,background .25s}
.atlas-tour:hover,.atlas-tour:focus-visible{border-color:rgba(196,189,113,.7);background:rgba(196,189,113,.08);outline:none}
.atlas-tour-dot{width:8px;height:8px;border-radius:50%;background:rgba(234,233,212,.4);transition:background .25s,box-shadow .25s}
.atlas-tour.is-auto .atlas-tour-dot{background:#b4ef57;box-shadow:0 0 0 4px rgba(180,239,87,.14)}
.atlas-tour-status{color:rgba(234,233,212,.55);font:600 10px/1 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
/* auto-tour progress on the active tab */
.atlas-market-tabs button{position:relative;overflow:hidden}
.atlas-market-tabs button::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;background:linear-gradient(90deg,#b4ef57,#c4bd71);transform:scaleX(var(--tour-progress,0));transform-origin:left;transition:transform .1s linear;opacity:.85}

@media(prefers-reduced-motion:reduce){
  html body .world-market-focus .focus-ring,html body .world-market-focus .focus-anchor,html body .world-market-focus text,html body .atlas-marker{transition:none}
  .atlas-market-tabs button::after{transition:none}
}

/* 15b. Atlas layout: map centred in its frame, filter chips never clipped */
html body .atlas-tech-filters{flex-wrap:wrap!important;overflow:visible!important;gap:6px}
html body .atlas-tech-filters button{flex:0 0 auto}
html body .infrastructure-atlas>rect{fill:none}
@media(min-width:901px){
  html body .atlas-stage{display:flex;flex-direction:column;background-image:linear-gradient(rgba(234,233,212,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(234,233,212,.06) 1px,transparent 1px),radial-gradient(circle at 51% 46%,rgba(196,189,113,.08),transparent 30%)!important;background-size:28px 28px,28px 28px,auto!important;background-color:#071f23!important}
  html body .infrastructure-atlas{flex:1 1 auto;min-height:0;height:auto!important;width:100%}
  html body .atlas-stage-key{flex:none}
}
html body .world-market-focus .market-focus.is-active .focus-ring{fill:rgba(196,189,113,.1)}
@media(max-width:900px){
  html body .atlas-stage{height:auto!important;min-height:0!important}
  html body .infrastructure-atlas{height:auto!important;min-height:0!important;aspect-ratio:1100/620!important}
}
@media(max-width:760px){html body .infrastructure-atlas{aspect-ratio:350/430!important}}
html body .world-market-focus .focus-ring,html body .world-market-focus text{pointer-events:all}

/* 7b. Manifesto film: explicit play affordance --------------------------- */
html body .video-shell[data-manifesto-film]{position:relative}
html body .mf-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:inline-flex;align-items:center;gap:12px;min-height:56px;padding:0 26px 0 20px;border:1px solid rgba(234,233,212,.55);border-radius:999px;background:rgba(3,25,28,.62);color:#eae9d4;font:700 11px/1 Inter,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:opacity .35s ease,background .25s,border-color .25s}
html body .mf-play:hover,html body .mf-play:focus-visible{background:rgba(3,25,28,.8);border-color:#b4ef57;outline:none}
html body .video-shell.is-playing .mf-play{opacity:0;pointer-events:none}
html body .video-shell.has-error .mf-play{display:none}
html body .mf-note{position:absolute;left:16px;right:16px;bottom:64px;z-index:3;margin:0;padding:12px 16px;border-radius:10px;background:rgba(3,25,28,.85);color:#eae9d4;font-size:13px;line-height:1.5;text-align:center}
@media(max-width:560px){html body .mf-play{min-height:52px;padding:0 20px 0 16px}}
html body .mf-play{white-space:nowrap}

/* 9b. Newsletter: honest status note, News page entry ---------------------- */
html body .subscribe-card .newsletter-note{margin:12px 0 0;font-size:12px;line-height:1.55;color:#4a5f5c}
html body .subscribe-card .form-status{min-height:1.4em;margin:10px 0 0;font-size:13px;line-height:1.5;color:#173f3e}
html body .np-subscribe{margin:18px 0 0}
html body .np-subscribe a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:inherit;font-weight:650;font-size:14px;letter-spacing:.02em;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}

/* 16. Section separation: hairline edges where neighbouring sections share a tone */
html body #manifesto,html body #pipeline{border-top:1px solid rgba(234,233,212,.14)}
html body #platform,html body #leadership,html body #newsroom,html body #social{border-top:1px solid rgba(8,47,52,.14)}
html body #platform::before{content:"";display:block;width:56px;height:3px;margin:0 auto;position:relative;top:-1px;background:linear-gradient(90deg,#b4ef57,#c4bd71);opacity:.9}
html body #leadership::before,html body #newsroom::before,html body #social::before{content:"";display:block;width:56px;height:3px;margin:0 auto;position:relative;top:-1px;background:linear-gradient(90deg,#b4ef57,#c4bd71);opacity:.9}

/* 7c. Manifesto film: compact portrait presentation ----------------------- */
html body .film-section{padding:clamp(64px,7vw,104px) 0}
html body .film-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(40px,7vw,110px);align-items:center;max-width:1040px}
html body .film-copy h2{margin:0 0 22px;font-size:clamp(38px,4.6vw,62px);line-height:.98;letter-spacing:-.045em;max-width:560px}
html body .film-copy>p:not(.eyebrow){margin:0;max-width:470px;color:#45605a;font-size:17px;line-height:1.7}
html body .film-lines{display:flex;flex-wrap:wrap;gap:8px 26px;margin:28px 0 0;padding:22px 0 0;list-style:none;border-top:1px solid rgba(8,47,52,.16);color:#2f554f;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
html body .film-player{display:flex;justify-content:center}
html body .film-player .video-shell{position:relative;width:min(340px,86vw);aspect-ratio:9/16;border-radius:20px;overflow:hidden;background:#021d21;box-shadow:0 28px 70px rgba(6,31,34,.28);border:1px solid rgba(8,47,52,.18)}
html body .film-player .video-shell video{display:block;width:100%;height:100%;object-fit:contain;background:#021d21}
html body .film-player .mf-play{width:64px;height:64px;min-height:0;padding:0;justify-content:center;gap:0;border-radius:50%;border-color:rgba(234,233,212,.7);background:rgba(3,25,28,.5)}
html body .film-player .mf-play svg{margin-left:3px}
@media(max-width:860px){
  html body .film-layout{grid-template-columns:1fr;gap:34px;justify-items:center;text-align:left}
  html body .film-copy{width:100%}
  html body .film-player .video-shell{width:min(320px,82vw)}
}

/* 17. Social Live Feed page and sitemap-level page shells ------------------ */
html body.social-page .social-page-section{padding-top:clamp(120px,12vw,168px)}
html body.social-page .social-heading h1{margin:0;font-size:clamp(40px,5.4vw,78px);line-height:.98;letter-spacing:-.05em}
html body .social-architecture{padding:0 0 clamp(64px,8vw,104px)}
html body .social-architecture>div{max-width:720px;padding:28px 30px;border:1px solid rgba(8,47,52,.16);border-radius:16px;background:rgba(255,255,255,.55)}
html body .social-architecture h2{margin:6px 0 12px;font-size:clamp(22px,2.4vw,30px);line-height:1.15;letter-spacing:-.02em}
html body .social-architecture p:not(.eyebrow){margin:0;color:var(--muted);font-size:15px;line-height:1.65}

/* 18. Floating section rail: reserved safe area (rail is shown above 1050px) --- */
@media(min-width:1051px){
  html body:has(.section-rail) .shell{width:min(calc(100% - 148px),var(--max))}
}

/* 19. Development Scale: one pinned composition (heading + stages + gates) -- */
@media(min-width:901px){
  html body .gate2-value .value-pin{align-content:start;gap:0;padding-top:20px!important}
  html body .gate2-value .value-pin .section-intro{
    width:100%;margin:0 0 clamp(14px,2.2vh,26px)!important;padding:0!important;min-height:0!important;
    display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);column-gap:clamp(28px,4vw,64px);row-gap:6px;align-items:start}
  html body .gate2-value .value-pin .section-intro .eyebrow{grid-column:1;grid-row:1;margin:0}
  html body .gate2-value .value-pin .section-intro h2{grid-column:1;grid-row:2;margin:0!important;font-size:clamp(34px,min(4.1vw,6.4vh),58px)!important;line-height:1;max-width:none}
  html body .gate2-value .value-pin .section-intro>p:not(.eyebrow){grid-column:2;margin:0;font-size:clamp(14px,1.15vw,17px)!important;line-height:1.5}
  html body .gate2-value .value-pin .section-intro>p:nth-of-type(2){grid-row:1 / span 2;align-self:start}
  html body .gate2-value .value-pin .section-intro>p.editorial-support{grid-row:3;margin-top:6px}
}
@media(min-width:901px){
  html body .gate2-value{padding-top:clamp(12px,2vh,28px)!important}
  html body .gate2-value .stage-detail h3{font-size:clamp(34px,min(4.1vw,6.6vh),58px)!important;line-height:1.02}
  html body .gate2-value .value-layout{align-items:center}
}

/* 20. Root cause of the non-pinning Development Scale: html,body{overflow-x:hidden} turns body into a
   scroll container, so position:sticky never engaged. overflow-x:clip prevents horizontal bleed without that. */
@supports (overflow:clip){
  html,body{overflow-x:clip}
}
@media(min-width:901px){
  html body .gate2-value .value-story{height:auto!important;min-height:0!important}
  html body .gate2-value .value-story::after{content:"";display:block;height:clamp(420px,70vh,640px)}
}

/* 19b. Height-aware compaction so the pinned composition fits the real viewport */
@media(min-width:901px) and (min-height:760px){
  html body .gate2-value .value-pin{height:auto!important;min-height:calc(100svh - 88px)!important;overflow:hidden;padding-top:clamp(8px,1.4vh,18px)!important;padding-bottom:clamp(6px,1vh,12px)!important}
  html body .gate2-value .value-pin .section-intro{margin-bottom:clamp(6px,1.2vh,16px)!important}
  html body .gate2-value .value-pin .section-intro h2{font-size:clamp(30px,min(3.6vw,5.4vh),52px)!important}
  html body .gate2-value .value-layout{min-height:0!important;align-items:center}
  html body .gate2-value .value-energy{height:clamp(210px,31vh,330px)!important}
  html body .gate2-value .stage-index button{min-height:clamp(36px,5vh,52px)!important}
  html body .gate2-value .stage-detail{padding-top:clamp(6px,1.2vh,20px)!important;min-height:0!important}
  html body .gate2-value .stage-detail h3{font-size:clamp(28px,min(3.4vw,5vh),48px)!important;margin-bottom:clamp(6px,1.2vh,14px)}
  html body .gate2-value .gate-panel{margin-top:clamp(6px,1.2vh,16px)!important;padding-top:clamp(8px,1.2vh,16px)!important;padding-bottom:0!important}
  html body .gate2-value .journey-gates li{min-height:0!important;height:auto!important;padding-top:clamp(6px,1vh,12px)!important;padding-bottom:clamp(6px,1vh,12px)!important}
  html body .gate2-value .journey-gates{height:auto!important;min-height:0!important}
  html body .gate2-value .value-evidence-progression{margin-top:clamp(6px,1.2vh,14px)!important;padding-top:clamp(6px,1.2vh,14px)!important;padding-bottom:clamp(6px,1.2vh,14px)!important}
  html body .gate2-value .value-closing{margin-top:clamp(2px,.8vh,10px)!important;padding-top:clamp(2px,.8vh,10px)!important}
  html body .gate2-value .stage-detail{padding-bottom:0!important}
  html body .gate2-value .stage-detail>p:first-child{margin-bottom:clamp(2px,.6vh,8px)!important}
  html body .gate2-value .stage-detail h3{margin-top:clamp(2px,.8vh,10px)!important}
  html body .gate2-value .stage-detail>p:nth-of-type(2){margin-bottom:clamp(4px,1vh,12px)!important}
  html body .gate2-value .stage-indicators{margin-top:clamp(8px,1.4vh,18px)!important}
  html body .gate2-value .stage-indicators>div{padding-top:clamp(6px,1vh,10px)!important;padding-bottom:clamp(6px,1vh,10px)!important}
  html body .gate2-value .stage-signal{margin-top:clamp(8px,1.4vh,18px)!important}
}
/* short viewports: no pinning, content flows naturally (stages remain selectable) */
@media(min-width:901px) and (max-height:759px){
  html body .gate2-value .value-pin{position:relative!important;top:auto!important;height:auto!important;min-height:0!important}
  html body .gate2-value .value-story::after{display:none}
}

/* 21. Cross-Border Execution: one-screen composition (desktop) -------------------------------
   Heading, country pills, map and market panel share one viewport-aware frame. The tour control sits
   on the map. Country pills use the same rounded language as the green primary button. */
.atlas-tour-bar{display:flex;align-items:center;gap:14px;margin:0}
@media(min-width:1051px){
  html body .atlas-section{display:flex;flex-direction:column;padding-top:clamp(12px,2vh,26px)!important;padding-bottom:clamp(14px,2.4vh,30px)!important;min-height:calc(100svh - 86px)!important}
  html body .atlas-heading{margin-top:0!important;margin-bottom:clamp(8px,1.4vh,16px)!important;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)!important;gap:clamp(24px,4vw,64px)!important;align-items:end!important}
  html body .atlas-heading h2{font-size:clamp(32px,min(3.7vw,6vh),54px)!important;line-height:1!important;margin:4px 0 0!important;max-width:none!important}
  html body .atlas-heading>div:first-child{max-width:none}
  html body .atlas-editorial p{font-size:clamp(12.5px,.98vw,14.5px)!important;line-height:1.5!important;margin:0!important;max-width:none!important}
  html body .atlas-editorial .atlas-helper{margin-top:clamp(4px,.8vh,10px)!important;padding-top:clamp(6px,1vh,12px)!important;font-size:clamp(11px,.85vw,13px)!important}
  html body .atlas-market-tabs{margin-top:0!important;gap:clamp(8px,1vw,14px)!important}
  html body .atlas-market-tabs button{min-height:clamp(44px,6.2vh,58px)!important;padding:clamp(5px,.8vh,9px) clamp(16px,1.8vw,26px)!important;border-radius:999px!important;border-width:1.5px!important;border-color:rgba(234,233,212,.3)!important;background:rgba(255,255,255,.06)!important}
  html body .atlas-market-tabs b{font-size:clamp(16px,1.35vw,19px)!important;font-weight:760!important;letter-spacing:.02em!important}
  html body .atlas-market-tabs small{font-size:clamp(8.5px,.66vw,10px)!important;letter-spacing:.07em!important;color:rgba(255,255,255,.68)!important}
  html body .atlas-market-tabs button:hover,html body .atlas-market-tabs button:focus-visible{border-color:#b4ef57!important;background:rgba(180,239,87,.1)!important}
  html body .atlas-market-tabs button[aria-selected=true]{background:linear-gradient(135deg,rgba(114,212,71,.34),rgba(114,212,71,.16))!important;border-color:#b4ef57!important}
  html body .atlas-interface{margin-top:clamp(8px,1.4vh,16px)!important;grid-template-columns:minmax(0,1.4fr) minmax(390px,.8fr)!important;flex:1 1 0px;height:auto;min-height:430px;max-height:840px;grid-template-rows:minmax(0,1fr);align-items:stretch}
  html body .atlas-stage,html body .atlas-panel{height:100%!important;min-height:0!important}
  html body .atlas-stage{display:flex;flex-direction:column}
  html body .atlas-stage .infrastructure-atlas{flex:1 1 auto;min-height:0!important;height:100%;width:100%}
  html body .atlas-stage-key{flex:0 0 auto;padding:8px 18px 10px!important}
  html body .atlas-tour-bar{position:absolute;left:14px;top:12px;z-index:3}
  html body .atlas-panel{min-height:0;padding:clamp(12px,1.8vh,24px) clamp(16px,1.6vw,24px)!important;overflow:auto}
  html body .atlas-panel{gap:0}
  html body .atlas-panel .atlas-market-identity{margin:0!important;padding:0 0 clamp(6px,1vh,12px)!important;min-height:0!important;gap:12px!important}
  html body .atlas-panel .atlas-market-identity small{font-size:clamp(9px,.7vw,10.5px)!important;line-height:1.3!important}
  html body .atlas-panel .atlas-market-identity h3{font-size:clamp(22px,min(2vw,3.6vh),30px)!important;margin-top:3px!important}
  html body .atlas-panel #atlas-panel-summary{margin:clamp(6px,1vh,12px) 0 0!important;font-size:clamp(12.5px,min(.98vw,1.8vh),14.5px)!important;line-height:1.5!important}
  html body .atlas-panel .atlas-tech-filters{margin:clamp(8px,1.3vh,14px) 0 0!important;gap:6px!important}
  html body .atlas-panel .atlas-tech-filters button{height:auto!important;min-height:34px!important;padding:6px 12px!important}
  html body .atlas-panel .atlas-detail{margin:clamp(8px,1.3vh,14px) 0 0!important;padding-top:clamp(8px,1.3vh,14px)!important}
  html body .atlas-panel #atlas-detail-title{font-size:clamp(20px,min(1.9vw,3.4vh),28px)!important;margin:4px 0 clamp(4px,.8vh,10px)!important;line-height:1.1!important}
  html body .atlas-panel .atlas-detail dl{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;margin:0!important}
  html body .atlas-panel .atlas-detail dl>div{padding:clamp(4px,.7vh,8px) 0!important;grid-template-columns:1fr!important;gap:2px!important;min-height:0!important}
  html body .atlas-panel .atlas-detail dl dt{font-size:9px!important}
  html body .atlas-panel .atlas-detail dl dd{font-size:clamp(12px,.95vw,14px)!important;line-height:1.3!important}
  html body .atlas-panel .atlas-disclosure{margin:clamp(6px,1vh,10px) 0 0!important;padding-top:clamp(6px,1vh,10px)!important;font-size:clamp(10px,.76vw,11.5px)!important;line-height:1.45!important}
}
@media(min-width:1051px) and (max-height:830px){
  html body .atlas-panel{padding-top:10px!important;padding-bottom:8px!important}
  html body .atlas-panel #atlas-panel-summary{font-size:12.5px!important;line-height:1.42!important;margin-top:6px!important}
  html body .atlas-panel .atlas-market-identity{padding-bottom:6px!important}
  html body .atlas-panel .atlas-tech-filters button{min-height:30px!important;padding:4px 11px!important}
  html body .atlas-panel .atlas-detail{margin-top:8px!important;padding-top:8px!important}
  html body .atlas-panel .atlas-detail dl>div{padding:3px 0!important}
  html body .atlas-panel .atlas-disclosure{margin-top:6px!important;padding-top:6px!important;font-size:10px!important;line-height:1.35!important}
}
@media(max-width:1050px){
  html body .atlas-stage .atlas-tour-bar{position:static;padding:12px 14px 4px}
}
/* 21b. Disclosure now lives in the map key row */
html body .atlas-stage-key .atlas-disclosure{flex:1 1 280px;margin:0!important;padding:0!important;border:0!important;text-align:right;color:rgba(255,255,255,.52);font-size:10px;line-height:1.4;letter-spacing:.01em;text-transform:none}
@media(max-width:1050px){html body .atlas-stage-key .atlas-disclosure{flex-basis:100%;text-align:left;margin-top:4px!important}}
html body #atlas-panel-summary{white-space:normal!important}
html body #atlas-panel-summary .atlas-summary-block{display:block}
html body #atlas-panel-summary .atlas-summary-block+.atlas-summary-block{margin-top:.7em}

/* 22. Hero country labels: permanent pills in the language of the primary green button ------- */
html body .gate2-hero .hero-meta{display:flex!important;flex-wrap:wrap;gap:10px!important;align-items:center}
html body .gate2-hero .hero-meta span{display:inline-flex;align-items:center;padding:9px 20px;border:1.5px solid rgba(180,239,87,.5);border-radius:999px;background:rgba(6,31,34,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff!important;font-size:12.5px!important;font-weight:760!important;letter-spacing:.12em!important;line-height:1;text-transform:uppercase;transition:background .25s,border-color .25s,color .25s}
html body .gate2-hero .hero-meta span+span:before{display:none!important;content:none!important}
html body .gate2-hero .hero-meta span:hover{background:rgba(114,212,71,.28);border-color:#b4ef57}
@media(max-width:760px){
  html body .gate2-hero .hero-meta{justify-content:center;gap:6px!important}
  html body .gate2-hero .hero-meta span{padding:7px 12px;font-size:10px!important;letter-spacing:.09em!important}
}

/* 23 — Ecosystem network: balanced 9-node orbit, one shared state model.
   Geometry lives in the SVG markup (equal 40° spacing, R=290, node r=56).
   Both gate2.js (.active) and final-staging-refinement.js (.is-active) toggle
   state; these rules treat the two identically. */
html body .relation-node text{font-size:11.5px;font-weight:720;letter-spacing:.04em;fill:rgba(255,255,255,.82)}
html body .relation-node circle{fill:rgba(2,43,48,.94);stroke:rgba(255,255,255,.26);stroke-width:1.4;transition:fill .35s ease,stroke .35s ease,filter .35s ease}
html body .relation-node{transition:opacity .35s ease}
html body .relation-node:hover circle,html body .relation-node:focus-visible circle{fill:rgba(196,189,113,.12)!important;stroke:#c4bd71!important}
html body .relation-node.active circle,html body .relation-node.is-active circle{fill:rgba(196,189,113,.2)!important;stroke:#c4bd71!important;stroke-width:2.2;filter:drop-shadow(0 0 14px rgba(196,189,113,.35))}
html body .relation-node.active text,html body .relation-node.is-active text,html body .relation-node:hover text{fill:#fff}
html body .relationship-lines path{stroke:rgba(255,255,255,.14);stroke-width:1.4;transition:stroke .35s ease,stroke-width .35s ease}
html body .relationship-lines path.active,html body .relationship-lines path.is-active{stroke:#c4bd71;stroke-width:2.4;filter:url(#relationGlow)}
html body .relationship-stage{border-left:0;padding-left:0;height:auto!important;min-height:0!important;aspect-ratio:900/760;max-height:none;align-self:center;justify-self:center;width:100%}
html body .relationship-svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;overflow:visible}
@media(max-width:560px){
html body .relationship-stage{aspect-ratio:auto;overflow:hidden;max-height:none}
html body .relationship-svg{width:120%!important;height:auto!important;margin-left:0;display:block}
html body .relation-node circle{r:80px}
html body .relation-node text{font-size:18px;letter-spacing:.01em}
html body .relation-node text:first-of-type:not(:last-of-type){transform:translateY(-5px)}
html body .relation-node text:last-of-type:not(:first-of-type){transform:translateY(5px)}
}

@media(min-width:1051px){
html body .relationships-section .ecosystem-copy h2{font-size:clamp(46px,4.6vw,64px)!important;line-height:.96}
html body .relationships-section .relationship-controls{grid-template-columns:repeat(3,1fr)!important;gap:7px!important;margin-top:16px!important}
html body .relationships-section .relationship-controls button{min-height:44px!important;padding:8px 10px!important;font-size:10.5px!important}
html body .relationships-section .ecosystem-closing{margin-top:18px}
}

/* 24 — Development Scale pin: keep the rail safe area on narrow desktops */
@media(min-width:1051px){html body .gate2-value .value-pin{padding-left:max(55px,calc((100% - 1320px)/2))!important;padding-right:max(84px,calc((100% - 1320px)/2))!important}}

/* 25 — Development Scale intro, tablet/mobile: single readable column */
@media(max-width:900px){
  html body .gate2-value .value-pin .section-intro{display:block!important;grid-template-columns:1fr!important;width:100%!important}
  html body .gate2-value .value-pin .section-intro>*{grid-column:auto!important;grid-row:auto!important;max-width:none!important}
}

/* 26 — Social Live Feed: consent-gated SociableKIT widgets, fluid, no fixed widget sizes */
html body .social-feeds{margin-top:clamp(20px,3vw,36px);min-width:0}
html body .social-feeds-gate{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;justify-content:space-between;padding:clamp(16px,2vw,24px);border:1px dashed rgba(8,45,45,.35);border-radius:16px;background:rgba(8,45,45,.04)}
html body .social-feeds-gate h3{margin:0 0 6px;font-size:clamp(20px,2.2vw,28px)}
html body .social-feeds-gate p{margin:0;max-width:62ch;color:var(--muted);font-size:clamp(14px,1.1vw,15.5px);line-height:1.5}
html body .social-feeds-gate button{min-height:44px;padding:0 22px;border:1px solid currentColor;border-radius:99px;background:transparent;color:var(--ink);font-weight:700;cursor:pointer}
html body .social-feeds[data-state="live"] .social-feeds-gate,html body .social-feeds[data-state="locked"] .social-feeds-grid{display:none}
html body .social-feeds-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.4vw,32px);align-items:start}
html body .social-feed-panel{min-width:0;padding:clamp(14px,1.8vw,24px);border:1px solid rgba(8,45,45,.14);border-radius:18px;background:#fff}
html body .social-feed-panel header{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between;align-items:baseline;margin-bottom:14px}
html body .social-feed-panel h3{margin:0;font-size:clamp(20px,2vw,26px)}
html body .social-feed-panel header a{font-size:14px;font-weight:700}
html body .social-feed-slot{min-width:0;max-width:100%;overflow-x:hidden}
html body .social-feed-slot>div,html body .social-feed-slot iframe{max-width:100%!important}
html body .social-feed-status{margin:10px 0 0;font-size:14px;color:var(--muted)}
html body .social-feed-status:empty{display:none}
@media(max-width:860px){html body .social-feeds-grid{grid-template-columns:1fr}}

/* 27 — Leadership: one fluid card system (no fixed heights, no letterbox bands, no nested scroll) */
html body .team-grid{--tg:clamp(12px,1.6vw,22px);display:flex!important;flex-wrap:wrap!important;justify-content:center;gap:var(--tg)!important;overflow:visible!important;scroll-snap-type:none!important;grid-template-columns:none!important;width:100%}
html body .team-card{flex:0 0 calc((100% - 4*var(--tg))/5)!important;width:auto!important;max-width:none!important;min-width:0!important;display:flex!important;flex-direction:column;scroll-snap-align:none!important;height:auto!important;max-height:none!important;overflow:visible!important}
html body .team-card>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:308/260!important;object-fit:cover!important;object-position:50% 12%!important;border-radius:0!important;background:#e8ebe5!important;margin:0!important}
html body .team-card>div{flex:1;display:flex;flex-direction:column;min-width:0;overflow:visible!important;max-height:none!important}
html body .team-card h3{overflow-wrap:anywhere;font-size:clamp(17px,1.5vw,21px)}
@media(max-width:1179px){html body .team-card{flex-basis:calc((100% - 2*var(--tg))/3)!important}}
@media(max-width:759px){html body .team-card{flex-basis:calc((100% - var(--tg))/2)!important}}
@media(max-width:339px){html body .team-card{flex-basis:100%!important}}

/* 28 — Future direction cards: photograph and caption are separate zones, so chargers,
   vehicles and infrastructure are never covered by text. Fluid heights, no fixed card height. */
html body .future-flow article{--fh:clamp(190px,17vw,270px);min-height:0!important;justify-content:flex-start!important;padding:calc(var(--fh) + clamp(16px,1.6vw,24px)) clamp(18px,1.8vw,28px) clamp(20px,2vw,30px)!important;background:#082d2d!important}
html body .future-flow article:before{inset:0 0 auto 0!important;height:var(--fh);background-image:linear-gradient(180deg,rgba(2,22,24,0) 62%,rgba(8,45,45,.55) 100%),var(--future-image)!important;background-position:center 62%!important}
html body .future-flow article>span{position:absolute!important;top:14px;left:18px;padding:3px 9px;border-radius:99px;background:rgba(2,22,24,.55);backdrop-filter:blur(4px)}
html body .future-flow article h3{font-size:clamp(22px,2.1vw,32px)!important;margin:0 0 10px!important;line-height:1.08}
html body .future-flow article p{font-size:clamp(14px,1.05vw,16px)!important;line-height:1.5}

/* 29 — Readability floor: no visible UI text below 11px (labels, captions, controls) */
html body :is(.section-rail a b,.hero .shell>span,.hero-meta span,figure.shell figcaption span,.platform-sun span,.capability-detail span,.value-energy .energy-core span,
 .stage-indicators>div>span,.gate-heading span,.journey-gates li b,.value-progression-heading span,.value-progression-steps li b,.value-progression-steps li small,
 .atlas-tour-bar span,.atlas-stage-key span,.atlas-stage-key p,.atlas-tech-filters button,.atlas-market-identity small,.pipeline-markets button small,
 .team-card>div>span,.team-brand span,.team-connect-actions span,.relationship-detail>span,.relationship-controls button,.hydrogen-direction span,
 .footer-legal p,.consent-check span,.atlas-panel dt){font-size:max(11px,.6875rem)!important}
html body .shell>button small{font-size:max(11px,.6875rem)!important}
html body :is(#pipeline dt,#leadership .shell>div>span){font-size:max(11px,.6875rem)!important}
html body :is(.back-to-top b){font-size:10px!important}

/* 30 — Social page: compact header and contained editorial feed panels */
html body.social-page .np-hero{padding:calc(92px + 2vw) 0 clamp(22px,3vw,36px)}
html body.social-page .np-hero h1{max-width:none;margin:8px 0 10px;font-size:clamp(28px,3.6vw,48px);letter-spacing:-.025em}
html body.social-page .np-hero p.np-intro{margin:0;font-size:clamp(15px,1.3vw,17px)}
html body.social-page .social-page-section{padding:clamp(20px,2.6vw,36px) 0 clamp(24px,3vw,40px)}
html body.social-page .social-feeds{margin-top:0}
html body.social-page .social-feeds-grid{gap:clamp(14px,2vw,24px)}
html body.social-page .social-feed-panel{display:flex;flex-direction:column;padding:clamp(12px,1.4vw,18px);border-radius:16px}
html body.social-page .social-feed-panel header{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(8,45,45,.1)}
html body .social-feed-slot{position:relative;max-height:clamp(480px,74vh,760px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(8,45,45,.35) transparent;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent);padding-bottom:20px}
html body .social-provider-note{margin:0 auto;padding:0 0 clamp(28px,4vw,56px);max-width:var(--max);font-size:13.5px;line-height:1.55;color:var(--muted)}
@media(max-width:860px){html body .social-feed-slot{max-height:clamp(440px,70vh,640px)}}

/* 31 — Homepage social preview: one compact editorial strip (2-4 small cards) */
html body .social-preview{padding:clamp(34px,4.4vw,60px) 0 clamp(36px,4.6vw,64px);background:#f5f4ec}
html body .sp-head{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:end;justify-content:space-between;margin-bottom:clamp(16px,2vw,24px)}
html body .sp-head h2{margin:2px 0 0;font-size:clamp(26px,3vw,40px);line-height:1.05;letter-spacing:-.02em}
html body .sp-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 20px;border-radius:99px;background:var(--lime);color:var(--night);font-weight:760;font-size:14.5px;text-decoration:none;transition:transform .2s,filter .2s}
html body .sp-link:hover,html body .sp-link:focus-visible{transform:translateY(-1px);filter:brightness(1.06)}
html body .sp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.4vw,18px);margin:0;padding:0;list-style:none}
html body .sp-card{display:flex;flex-direction:column;height:100%;border:1px solid rgba(8,45,45,.14);border-radius:14px;background:#fff;color:inherit;text-decoration:none;overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s}
html body .sp-card:hover,html body .sp-card:focus-visible{transform:translateY(-2px);border-color:rgba(8,45,45,.4);box-shadow:0 10px 24px rgba(8,45,45,.12)}
html body .sp-media{display:grid;place-items:center;height:clamp(84px,9vw,128px);background:linear-gradient(145deg,#0b3a3c,#14554f);color:rgba(255,255,255,.7);overflow:hidden}
html body .sp-media i{font:700 clamp(15px,1.4vw,19px)/1 var(--font-sans,inherit);font-style:normal;letter-spacing:.04em;text-transform:uppercase;opacity:.75}
html body .sp-media img{width:100%;height:100%;object-fit:cover;object-position:50% 28%;display:block}
html body .sp-body{display:flex;flex-direction:column;gap:5px;padding:clamp(11px,1.2vw,15px)}
html body .sp-meta{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(8,45,45,.62)}
html body .sp-body b{font-size:clamp(15px,1.2vw,17px);line-height:1.25;color:var(--ink)}
html body .sp-text{font-size:13.5px;line-height:1.45;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1099px){html body .sp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:559px){
 html body .sp-grid{grid-template-columns:1fr}
 html body .sp-card{flex-direction:row}
 html body .sp-media{flex:0 0 92px;height:auto;min-height:100%}
 html body .sp-text{-webkit-line-clamp:2}
}
html body .social-preview{display:block!important}
html body .social-preview>.shell{display:block!important;grid-template-columns:none!important;max-width:var(--max)}

/* 32 — Footer navigation: lime pills in the language of the "Connect with Klear" button */
html body .footer-links{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0;padding:0;list-style:none}
html body .footer-links a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid rgba(180,239,87,.55);border-radius:99px;background:rgba(180,239,87,.1);color:#e9f9c6;font-size:14px;font-weight:700;letter-spacing:.01em;text-decoration:none;transition:background .2s,color .2s,transform .2s,border-color .2s,box-shadow .2s}
html body .footer-links a:hover,html body .footer-links a:focus-visible{background:var(--lime);border-color:var(--lime);color:var(--night);transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.25);text-decoration:none;outline:none}
html body .footer-links a:focus-visible{box-shadow:0 0 0 3px rgba(180,239,87,.45)}
@media(max-width:560px){html body .footer-links{gap:8px}html body .footer-links a{min-height:40px;padding:0 16px;font-size:14px}}

/* 33 — Scale refinement: calmer section headings, tighter vertical rhythm, shorter stages */
html body :is(.platform-statement,.section-intro h2,.story-heading h2,.team-heading h2,.manifesto-heading h2,.ecosystem-copy h2,.atlas-heading h2,.social-heading h2){font-size:clamp(32px,4.2vw,60px)!important;line-height:1.02!important;letter-spacing:-.03em}
html body :is(.platform-section,.story-section,.leadership-section,.relationships-section,.future-section,.manifesto-section){padding-top:clamp(48px,5.6vw,84px)!important;padding-bottom:clamp(48px,5.6vw,84px)!important}
html body .platform-card{min-height:0!important}
html body .platform-stage,html body .platform-visual{min-height:clamp(380px,33vw,470px)!important;height:auto}
html body .platform-controls{padding-top:clamp(22px,3vw,40px)!important;padding-bottom:clamp(22px,3vw,40px)!important}
html body .platform-context-visual{height:clamp(190px,17vw,240px)!important;min-height:0!important}
html body .platform-context-visual img{width:100%;height:100%!important;object-fit:cover}
html body .platform-context-visual figcaption{height:100%!important;min-height:0!important}
html body .section-intro{margin-bottom:clamp(22px,3vw,40px)!important}

/* 34 — Social page: remove decorative section rule and surplus padding */
html body.social-page main .section.social-section.social-page-section{padding:clamp(22px,2.6vw,36px) 0 clamp(18px,2.4vw,30px)!important}
html body.social-page main .social-section::before{display:none!important;content:none!important}
html body.social-page .social-feeds-gate{margin:0}
html body.social-page #social>.shell{margin-top:0!important}
