/* ============================================================
   SIBIN — homepage, light edition (v3)
   White page; only the particle story (§01–§04) stays dark,
   where the fixed WebGL canvas shows through a transparent band.
   ============================================================ */

:root { --night: #0A0E17; --paper: #F6F8FC; --mist: #EEF1F7; --white: #FAFBFD; }

body.home { background: var(--white); color: var(--text-dark); }

/* ---------- preloader (light) ---------- */
.preloader { background: var(--paper); }
.preloader .counter { color: var(--text-dark-lo); }

/* ---------- fixed canvas + fallbacks ---------- */
.gl-stage { z-index: 0; }
.gl-poster { background: radial-gradient(ellipse 46% 40% at 66% 46%, rgba(45, 91, 255, 0.22), transparent 70%), var(--night); }
body.no-webgl .dark-band { background: var(--night); }

/* ============================================================
   §00 HERO — light
   ============================================================ */
.prologue.px-hero { background: linear-gradient(180deg, #FCFDFF 0%, #F0F3FA 100%); }
.px-bg { opacity: 0.06; filter: grayscale(0.6); }
.px-hero::before {
  content: ""; display: block !important; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 74% 62%, rgba(45, 91, 255, 0.13), transparent 70%),
    radial-gradient(rgba(45, 91, 255, 0.10) 0.7px, transparent 1px) 0 0 / 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.px-hero .reveal-line { color: var(--text-dark); }
.px-hero .prologue-lede { color: var(--text-dark-lo); }
.px-hero em.accent, .on-light em.accent { color: var(--cobalt); }
.stroke-svg text { stroke: var(--cobalt); }
.stroke-svg.static text { fill: var(--cobalt); }
@keyframes kickerFill { to { fill: var(--cobalt); stroke: rgba(45, 91, 255, 0.3); } }
.px-fg { filter: drop-shadow(0 30px 50px rgba(20, 35, 80, 0.22)); }
.px-fade { display: none; }

/* ============================================================
   DARK BAND — the particle story
   ============================================================ */
.dark-band { position: relative; color: var(--text-hi); background: transparent; }
.dark-band em.accent { color: #8FA9FF; }
.dark-band .body-copy { color: var(--text-lo); }

.morph { position: relative; min-height: 0; padding: 0; display: block; }
#bridge { height: 230vh; }
#challenge { height: 330vh; }
#scale { height: 400vh; }
.morph > .stick {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 max(24px, calc((100vw - var(--max-w)) / 2));
  overflow: hidden;
}
.morph .scene-copy, .morph .hero-inner { position: relative; z-index: 1; max-width: min(560px, 44vw); }

/* §01 hero copy */
#bridge .hero-inner { margin: 0; padding: 0; align-self: flex-start; }
#bridge h1 { font-size: clamp(40px, 4.6vw, 74px); }
#bridge h1 { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
#bridge.copy-in h1 { opacity: 1; transform: none; }
#bridge.copy-in .hero-sub { transition-delay: 0.15s; }
#bridge.copy-in .btn-row { transition-delay: 0.3s; }

/* §02 challenge copy rises in once the section pins */
.challenge .scene-copy > * { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.challenge.copy-in .scene-copy > * { opacity: 1; transform: none; }
.challenge.copy-in .scene-copy > :nth-child(2) { transition-delay: 0.12s; }
.challenge.copy-in .scene-copy > :nth-child(3) { transition-delay: 0.24s; }
/* DOM numerals only when there is no WebGL (the book carries them otherwise) */
body.gl-on .challenge .numerals { display: none; }
.challenge .numeral { transition: opacity 0.6s ease; }
.challenge .numeral.on { opacity: 1; }

/* §03 builds — pinned; the cards light up in turn and stay lit */
#builds { height: 300vh; }
#builds > .stick { justify-content: center; gap: clamp(28px, 6vh, 56px); }
#builds .scene-copy { max-width: none; }
#builds h2.two-line { white-space: nowrap; }
@media (max-width: 700px) { #builds h2.two-line { white-space: normal; } }
#builds .builds-rail-wrap { width: 100%; margin: 0; }
#builds .builds-rail > * { min-width: 0; }
.builds-section .eco-card {
  background: rgba(12, 17, 32, 0.6);
  border-color: rgba(157, 180, 216, 0.14);
  box-shadow: none;
  transition: border-color 0.6s ease, box-shadow 0.6s ease, background 0.6s ease, transform 0.6s ease;
}
.builds-section .eco-card.lit {
  background: rgba(45, 91, 255, 0.12); border-color: rgba(45, 91, 255, 0.75);
  box-shadow:
    0 0 0 1px rgba(45, 91, 255, 0.35),
    0 0 36px rgba(45, 91, 255, 0.45),
    0 20px 60px -28px rgba(45, 91, 255, 0.6),
    inset 0 0 26px rgba(45, 91, 255, 0.14);
}

/* §04 scale — copy + metrics left, the map lives on the right */
.scale .stick { gap: 40px; }
.scale .scale-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 32px; max-width: min(560px, 44vw); width: 100%;
  position: relative; z-index: 1;
}
.scale .scale-metrics .metric .val { font-size: clamp(26px, 2.4vw, 40px); }
.scale .scene-copy > *, .scale .scale-metrics { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.scale.copy-in .scene-copy > *, .scale.copy-in .scale-metrics { opacity: 1; transform: none; }
.scale.copy-in .scale-metrics { transition-delay: 0.25s; }

/* projected state labels on the India map */
.map-labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; }
.map-label {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center;
  margin: -12px 0 0 14px;
  opacity: 0; transition: opacity 0.35s ease;
  will-change: transform;
}
.map-label .ml-dot { display: none; }
.map-label .ml-name {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  color: #D6E6FF;
  padding: 5px 9px; border-radius: 999px;
  border: 1px solid rgba(127, 208, 255, 0.32);
  background: rgba(10, 14, 23, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.map-label.ml-left .ml-name { transform: translateX(calc(-100% - 28px)); }
.map-label.is-home .ml-name { color: #fff; border-color: rgba(127, 208, 255, 0.85); background: rgba(45, 91, 255, 0.42); }

/* ============================================================
   LIGHT SECTIONS
   ============================================================ */
.on-light { color: var(--text-dark); }
.impact-section { background: var(--white); }
.labs-section, .leaders-section, .final-section { position: relative; }

/* §05 technology — scroll split card */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ss-section { position: relative; z-index: 4; height: 420vh; background: var(--white); color: var(--text-dark); }
.ss-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3.4vh, 34px);
  padding: 72px max(16px, calc((100vw - var(--max-w)) / 2)) 24px;
  perspective: 1400px;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(45, 91, 255, 0.08), transparent 70%), var(--white);
}
.ss-end { opacity: 0; text-align: center; will-change: opacity, transform; }
.ss-end-top .eyebrow { justify-content: center; color: var(--cobalt); }
.ss-lede { margin-top: 10px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--text-dark); max-width: 46ch; margin-inline: auto; text-wrap: balance; }
.ss-cards {
  display: flex; width: min(1020px, 100%); height: clamp(300px, 44vh, 430px);
  transform-style: preserve-3d; will-change: transform;
}
.ss-piece { position: relative; flex: 1; transform-style: preserve-3d; will-change: transform; --ss-r: 0px; --ss-sh: 0; }
.ss-piece[data-i="0"] { z-index: 0; } .ss-piece[data-i="1"] { z-index: 1; } .ss-piece[data-i="2"] { z-index: 2; }
.ss-face {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--ss-r);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, calc(var(--ss-sh) * 0.5)), 0 25px 50px -12px rgba(10, 14, 30, var(--ss-sh));
}
.ss-front { z-index: 2; }
.ss-slice { position: absolute; inset: 0; }
.ss-canvas {
  position: absolute; top: 0; height: 100%; width: 300%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
  padding: 0 6%;
  background:
    radial-gradient(ellipse 45% 70% at 50% 50%, rgba(45, 91, 255, 0.35), transparent 70%),
    radial-gradient(rgba(143, 169, 255, 0.16) 0.8px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(135deg, #142152 0%, #0B1024 60%, #070A16 100%);
  --ss-text: 1;
}
.ss-piece[data-i="0"] .ss-canvas { left: 0; }
.ss-piece[data-i="1"] .ss-canvas { left: -100%; }
.ss-piece[data-i="2"] .ss-canvas { left: -200%; }
.ss-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #8FA9FF; opacity: var(--ss-text); }
.ss-title {
  font-size: clamp(28px, 3.5vw, 50px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; color: #F2F5FA;
  opacity: var(--ss-text); transform: translateY(calc((1 - var(--ss-text)) * 14px));
}
.ss-title em { font-style: normal; color: #8FA9FF; }
.ss-back {
  transform: rotateY(180deg); z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: clamp(20px, 2.4vw, 32px);
}
.ss-back h3 { font-size: clamp(19px, 1.7vw, 25px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.ss-back p { font-size: 14.5px; line-height: 1.55; opacity: 0.82; }
.ss-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; opacity: 0.7; }
.ss-icon { margin-bottom: auto; width: 52px; height: 52px; }
.ss-icon .aico { width: 100%; height: 100%; }
.ss-c0 { background: linear-gradient(160deg, #F3F5FA, #E2E7F1); color: var(--text-dark); }
.ss-c0 .ss-icon { color: var(--cobalt); }
.ss-c1 { background: linear-gradient(160deg, #3D6BFF, #1F45D6); color: #fff; }
.ss-c2 { background: linear-gradient(160deg, #18213A, #0B1020); color: #fff; }
.ss-c2 .ss-icon { color: #8FA9FF; }
/* phones: split into rows, flip on the horizontal axis */
.ss-cards.ss-rows { flex-direction: column; height: min(58vh, 520px); }
@media (max-width: 759px) {
  .ss-stage { gap: 14px; padding-top: 64px; padding-bottom: 12px; }
  .ss-lede { font-size: 15px; margin-top: 6px; }
  .ss-end-bottom .btn { padding-top: 12px; padding-bottom: 12px; }
}
.ss-rows .ss-canvas { width: 100%; height: 300%; left: 0 !important; }
.ss-rows .ss-piece[data-i="0"] .ss-canvas { top: 0; }
.ss-rows .ss-piece[data-i="1"] .ss-canvas { top: -100%; }
.ss-rows .ss-piece[data-i="2"] .ss-canvas { top: -200%; }
.ss-rows .ss-back { transform: rotateX(180deg); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 4px; align-content: center; padding: 14px 18px; }
.ss-rows .ss-icon { grid-row: 1 / 4; width: 38px; height: 38px; margin: 0; align-self: center; }
.ss-rows .ss-back h3 { font-size: 17px; }
.ss-rows .ss-back p { font-size: 13px; line-height: 1.45; }
.ss-rows .ss-num { font-size: 10px; }

/* §06 the future we're building */
.pf-section {
  position: relative; z-index: 4;
  background: var(--mist); color: var(--text-dark);
  padding: 140px max(24px, calc((100vw - var(--max-w)) / 2));
}
.pf-head .eyebrow { color: var(--cobalt); }
.pf-head h2 { margin-top: 18px; white-space: nowrap; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: 28px; }
.pf-copy .body-copy { max-width: 54ch; color: var(--text-dark-lo); }
.pf-suites { list-style: none; margin: 32px 0 36px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pf-suite {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 20px 22px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-light);
  box-shadow: 0 14px 34px -26px rgba(20, 35, 80, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.pf-suite:hover { border-color: rgba(45, 91, 255, 0.35); box-shadow: 0 18px 40px -24px rgba(45, 91, 255, 0.35); transform: translateY(-2px); }
.pf-icon {
  width: 48px; height: 48px; padding: 10px; border-radius: 12px; color: var(--cobalt);
  background: linear-gradient(150deg, #EAF0FF 0%, #F7F9FF 100%); border: 1px solid rgba(45, 91, 255, 0.16);
}
.pf-icon .aico { width: 100%; height: 100%; }
.pf-suite h3 { font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; letter-spacing: -0.015em; margin: 0 0 4px; color: var(--text-dark); }
.pf-suite p { font-size: 14.5px; line-height: 1.55; color: var(--text-dark-lo); margin: 0; }
.pf-visual .backbone-wire {
  position: relative; left: auto; top: auto; transform: none; opacity: 1;
  width: 100%; max-width: 600px; margin-left: auto;
  filter: drop-shadow(0 18px 40px rgba(45, 91, 255, 0.18));
}

/* animated line icons */
.aico .b { transform-box: fill-box; transform-origin: 50% 100%; animation: aicoBar 2.4s ease-in-out infinite; }
.aico .b2 { animation-delay: 0.3s; } .aico .b3 { animation-delay: 0.6s; } .aico .b4 { animation-delay: 0.9s; }
@keyframes aicoBar { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.aico .tick, .aico .ar, .aico .pg { stroke-dasharray: 40; stroke-dashoffset: 40; animation: aicoDraw 3s ease-in-out infinite; }
@keyframes aicoDraw { 0% { stroke-dashoffset: 40; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -40; } }
.aico .brl { animation: aicoL 2.4s ease-in-out infinite; } .aico .brr { animation: aicoR 2.4s ease-in-out infinite; }
@keyframes aicoL { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-3px); } }
@keyframes aicoR { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.aico .sl { animation: aicoBlink 2.4s ease-in-out infinite; }
@keyframes aicoBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.aico .n { transform-box: fill-box; transform-origin: center; animation: aicoPulse 2.6s ease-in-out infinite; fill: currentColor; fill-opacity: 0.12; }
.aico .n1 { animation-delay: 0.4s; } .aico .n2 { animation-delay: 0.8s; } .aico .n3 { animation-delay: 1.2s; } .aico .n4 { animation-delay: 1.6s; }
@keyframes aicoPulse { 0%, 100% { transform: scale(1); fill-opacity: 0.12; } 50% { transform: scale(1.3); fill-opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .aico * { animation: none !important; stroke-dashoffset: 0 !important; } }

/* §07 partners */
.partners-section {
  position: relative; z-index: 4;
  background: var(--white); color: var(--text-dark);
  padding: 140px max(24px, calc((100vw - var(--max-w)) / 2)) 120px;
}
.partners-section .section-head { margin-bottom: 0; }
.partners-section h2 { max-width: 20ch; }
.partners-section .body-copy { max-width: 62ch; color: var(--text-dark-lo); }
.partners-section .partner-ticker { margin-top: 56px; }

/* §08 why organisations trust SIBIN — feature showcase */
.trust-section {
  position: relative; z-index: 4;
  background: var(--mist); color: var(--text-dark);
  padding: 130px max(24px, calc((100vw - var(--max-w)) / 2));
}
.sc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: stretch; }
.sc-right { display: flex; }
.sc-badge {
  display: inline-flex; align-items: center; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cobalt); padding: 6px 12px; border: 1px solid rgba(45, 91, 255, 0.3); border-radius: 100px; background: #fff;
}
.sc-left h2 { max-width: 14ch; }
.sc-left .body-copy { max-width: 56ch; margin-top: 22px; color: var(--text-dark-lo); }
.sc-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sc-stats span { font-size: 13px; font-weight: 500; color: var(--text-dark); padding: 6px 12px; border-radius: 100px; background: rgba(16, 24, 39, 0.06); }
.sc-acc { margin-top: 32px; max-width: 560px; border-top: 1px solid var(--line-light); }
.sc-item { border-bottom: 1px solid var(--line-light); }
.sc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-size: 16.5px; font-weight: 500; color: var(--text-dark);
}
.sc-trigger:hover { color: var(--cobalt); }
.sc-trigger:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 4px; }
.sc-chev { width: 18px; height: 18px; flex: none; transition: transform 0.3s ease; color: var(--text-dark-lo); }
.sc-item.open .sc-chev { transform: rotate(180deg); color: var(--cobalt); }
.sc-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.sc-content > p { overflow: hidden; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-dark-lo); }
.sc-item.open .sc-content { grid-template-rows: 1fr; }
.sc-item.open .sc-content > p { padding-bottom: 18px; }
.sc-ctas { margin-top: 32px; }
.sc-panel {
  position: relative; overflow: hidden; border-radius: 22px;
  flex: 1; height: auto; min-height: 520px;
  background: #dde3ee; border: 1px solid var(--line-light);
  box-shadow: 0 40px 80px -48px rgba(20, 35, 80, 0.5);
}
.sc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.6s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.sc-img.on { opacity: 1; transform: none; }
.sc-tabs {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(250, 251, 253, 0.82); border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  max-width: calc(100% - 24px); overflow-x: auto;
}
.sc-tab {
  border: 0; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-dark);
  padding: 9px 15px; border-radius: 10px; background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}
.sc-tab.on { background: var(--text-dark); color: #fff; }
.sc-tab:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
@media (max-width: 899px) {
  .trust-section { padding-top: 96px; padding-bottom: 96px; }
  .sc-grid { grid-template-columns: 1fr; }
  .sc-panel { flex: none; width: 100%; min-height: 0; height: auto; aspect-ratio: 4 / 3.4; }
  .sc-tab { padding: 8px 11px; font-size: 12.5px; }
}

/* §10 insights */
.insights-teaser {
  position: relative; z-index: 4;
  background: var(--mist); color: var(--text-dark);
  padding: 140px max(24px, calc((100vw - var(--max-w)) / 2));
}
.ins-inner { max-width: var(--max-w); margin: 0 auto; }
.ins-inner .body-copy { margin-top: 20px; color: var(--text-dark-lo); }
.ins-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; }
.ins-tags li { font-size: 14px; color: var(--text-dark); padding: 9px 18px; border: 1px solid var(--line-light); border-radius: 100px; background: #fff; }

/* hero CTAs */
.px-ctas { margin-top: 32px; }
.px-hero .btn-ghost { color: var(--text-dark); border-color: rgba(16, 24, 39, 0.18); }

.challenge .btn-row { margin-top: 24px !important; }

.labs-section { background: var(--white); color: var(--text-dark); z-index: 4; min-height: 0; }
.labs-section .lab-col p { color: var(--text-dark-lo); }
.labs-section .lab-col { border-top: 1px solid var(--line-light); padding-top: 32px; }
.labs-section .lab-col::before { top: -1px; width: 48px; height: 2px; background: var(--cobalt); }

.leaders-section { background: var(--mist); }

.final-section {
  background: var(--white); color: var(--text-dark); z-index: 4; min-height: 0;
  background-image: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(45, 91, 255, 0.10), transparent 70%);
}

/* nav over light: frosted white, wine logo back */
.site-nav.on-light.scrolled { background: rgba(250, 251, 253, 0.85); }
body.home .site-nav.on-light .brand-logo { filter: none; opacity: 1; }
.section-hud { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 899px) {
  #bridge { height: 200vh; }
  #challenge { height: 300vh; }
  #scale { height: 340vh; }
  #builds { height: auto; }
  #builds > .stick { position: relative; height: auto; padding-top: 14vh; padding-bottom: 14vh; overflow: visible; }
  #builds > .stick::before { display: none; }
  #builds .builds-rail-wrap { overflow: visible; }
  #builds .builds-rail { grid-template-columns: 1fr !important; width: 100% !important; transform: none !important; gap: 14px; }
  .morph > .stick { justify-content: flex-end; padding-bottom: 9vh; }
  .morph > .stick::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none;
    background: linear-gradient(to bottom, rgba(10, 14, 23, 0), rgba(10, 14, 23, 0.86) 38%);
  }
  .morph .scene-copy, .morph .hero-inner, .scale .scale-metrics { max-width: 100%; }
  #bridge h1 { font-size: clamp(32px, 8.4vw, 46px); }
  .morph .display-l { font-size: clamp(30px, 8vw, 44px); }
  .morph .body-copy { font-size: 15px; }
  .morph .btn-row { margin-top: 20px !important; }
  .scale .stick { gap: 22px; }
  .scale .scale-metrics { gap: 14px 18px; }
  .scale .scale-metrics .metric .val { font-size: clamp(20px, 5.6vw, 28px); }
  .scale .scale-metrics .metric .lbl { font-size: 9.5px; letter-spacing: 0.12em; }
  .challenge .scene-copy .body-copy { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .pf-section, .partners-section, .trust-section { padding-top: 96px; padding-bottom: 96px; }
  .ss-section { height: 380vh; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-visual { order: -1; }
  .pf-visual .backbone-wire { max-width: 380px; margin: 0 auto; }
  .pf-head h2 { white-space: normal; }
  .pf-suite { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 16px 18px; }
  .pf-icon { width: 42px; height: 42px; padding: 8px; }
  .map-label .ml-name { font-size: 8.5px; letter-spacing: 0.1em; padding: 3px 6px; }
  .map-label.ml-left-phone .ml-name { transform: translateX(calc(-100% - 28px)); }
}

/* ---------- loader: glass reveal of the SIBIN mark ---------- */
.preloader { background: #F3F5FA; gap: 0; }
.glass-reveal { position: absolute; inset: 0; }
.glass-reveal canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gr2 { position: absolute; inset: 0; display: grid; place-items: center; }
.gr2 > * { grid-area: 1 / 1; }
.gr2-tile {
  position: relative; overflow: hidden;
  width: min(200px, 46vw); aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255,255,255,0.75), rgba(255,255,255,0.28) 60%, rgba(255,255,255,0.5));
  -webkit-backdrop-filter: blur(2px) saturate(1.3); backdrop-filter: blur(2px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.6),
    inset 10px 12px 22px rgba(255,255,255,0.85),
    inset -8px -10px 22px rgba(138,29,86,0.10),
    -3px 0 10px rgba(255,70,160,0.22), 3px 0 10px rgba(60,140,255,0.22),
    0 30px 60px -30px rgba(20,30,60,0.45);
  animation: gr2Tile 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.gr2-sheen {
  position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.85) 50%, transparent 60%);
  transform: translateX(-70%);
  animation: gr2Sheen 2.6s ease-in-out both;
}
.gr2-mark {
  width: min(84px, 19vw); height: auto; position: relative;
  animation: gr2Mark 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes gr2Tile {
  0% { transform: scale(0.18); border-radius: 50%; opacity: 0; }
  8% { opacity: 1; }
  24% { transform: scale(1.04); border-radius: 50%; }
  36% { transform: scale(1); border-radius: 30%; }
  70% { transform: scale(1.02); border-radius: 28%; opacity: 1; }
  88%, 100% { transform: scale(1.16); border-radius: 28%; opacity: 0; }
}
@keyframes gr2Sheen {
  0%, 30% { transform: translateX(-70%); }
  72%, 100% { transform: translateX(70%); }
}
@keyframes gr2Mark {
  0% { transform: scale(1.9); opacity: 0; filter: blur(8px) drop-shadow(-4px 0 0 rgba(255,60,160,0.6)) drop-shadow(4px 0 0 rgba(50,130,255,0.6)); }
  18% { opacity: 1; }
  45% { transform: scale(1.18); filter: blur(0) drop-shadow(-3px 0 0 rgba(255,60,160,0.5)) drop-shadow(3px 0 0 rgba(50,130,255,0.5)); }
  70% { transform: scale(1.04); filter: blur(0) drop-shadow(-1.5px 0 0 rgba(255,60,160,0.35)) drop-shadow(1.5px 0 0 rgba(50,130,255,0.35)); }
  90%, 100% { transform: scale(1); opacity: 1; filter: blur(0) drop-shadow(0 0 0 rgba(255,60,160,0)) drop-shadow(0 0 0 rgba(50,130,255,0)); }
}
.gr2-still .gr2-tile, .gr2-still .gr2-sheen { display: none; }
.gr2-still .gr2-mark { animation: none; }

/* short laptop screens: the pinned copy blocks must fit ~650px of height */
@media (min-width: 900px) and (max-height: 760px) {
  .morph .display-l { font-size: clamp(34px, 3.6vw, 52px); }
  #bridge h1 { font-size: clamp(36px, 3.8vw, 56px); }
  .morph .body-copy { font-size: 15.5px; }
  .morph .btn-row { margin-top: 22px !important; }
  .scale .stick { gap: 22px; }
  .scale .scale-metrics { gap: 16px 28px; }
  .scale .scale-metrics .metric .val { font-size: clamp(24px, 2.1vw, 32px); }
  #builds > .stick { gap: 24px; }
  #builds .eco-card { padding: 16px 18px; }
}

/* ---------- §00 hero: handwritten tagline + doodle arrow over the photo ---------- */
.px-shot { position: relative; width: min(100%, 760px); display: flex; justify-content: center; }
.px-shot .px-fg { width: 100%; }
.px-note {
  position: absolute; bottom: 100%; left: 50%; margin-bottom: 6px;
  transform: rotate(-4deg); transform-origin: left bottom;
  pointer-events: none; white-space: nowrap;
}
.px-note-text {
  font-family: 'Caveat', 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-weight: 700; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; color: var(--cobalt);
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.5s;
}
.px-note-line { display: block; width: 100%; height: 14px; margin-top: 2px; }
.px-note-line path, .px-note-arrow path {
  stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.px-note-line path { stroke-width: 2.4; opacity: 0.75; transition: stroke-dashoffset 0.7s ease 1.7s; }
.px-note-arrow {
  position: absolute; left: calc(50% - 86px); top: -66px; width: 96px; height: 114px;
  pointer-events: none; overflow: visible;
}
.px-note-arrow .shaft { transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1) 1.9s; }
.px-note-arrow .head { transition: stroke-dashoffset 0.35s ease 2.75s; }
.prologue.in .px-note-text { clip-path: inset(-20% -5% -20% 0); }
.prologue.in .px-note-line path, .prologue.in .px-note-arrow path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .px-note-text { clip-path: none; transition: none; }
  .px-note-line path, .px-note-arrow path { stroke-dashoffset: 0; transition: none; }
}
/* short laptop screens: give the note room above the photo */
@media (min-width: 821px) and (max-height: 760px) { .px-fg { max-height: 72vh; } }
/* stacked layout: the note sits above the photo, centred */
@media (max-width: 820px) {
  .px-shot { width: min(100%, 520px); margin: 76px auto 0; }
  .px-note { left: 50%; transform: translateX(-50%) rotate(-3deg); transform-origin: center bottom; margin-bottom: 16px; }
  .px-note-text { font-size: clamp(24px, 7vw, 30px); }
  .px-note-arrow { left: calc(50% - 64px); top: -40px; width: 64px; height: 84px; }
}
/* phones: the hero grows to its content so the photo stands on the section's bottom edge */
@media (max-width: 820px) {
  .prologue.px-hero { height: auto !important; min-height: 0 !important; }
  .px-hero .px-layers { position: relative; inset: auto; height: auto; }
  .px-hero .px-grid { padding-bottom: 0; }
  .px-hero .px-figure, .px-hero .px-title { transform: none !important; }
  .px-hero .px-fg { margin-bottom: -1px; }
}

/* §03 Technology runs underneath the three layers as their common backbone */
@media (min-width: 900px) {
  #builds .builds-rail { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; }
  #builds .eco-backbone {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr); column-gap: 28px; align-items: center;
  }
  #builds .eco-backbone .eco-card-top { grid-row: 1 / 3; margin-bottom: 0; align-items: center; gap: 18px; justify-content: flex-start; flex-direction: row-reverse; }
  #builds .eco-backbone h3, #builds .eco-backbone p { grid-column: 2; margin: 0; }
  #builds .eco-backbone h3 { margin-bottom: 6px; }
  #builds .eco-backbone p { max-width: 80ch; }
}
#builds .eco-backbone::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -9px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(45, 91, 255, 0.55), transparent);
}
#builds .eco-backbone { position: relative; }
