/* ==========================================================================
   EDIO — Homepage sections after the hero.
   One theme throughout: white room, thin lines, cyan as signal, regular-weight Archivo; small labels are set in
   Archivo too (no mono caps). The hero's own files (home.css / home.js) are not touched by anything here.
   ========================================================================== */

:root { --panel: #F6F9FA; --panel-2: #EEF3F5; --rule: rgba(14, 26, 32, .09); }

/* ---------- one room: the hero's light carried behind every section (fixed, so there are no seams) ---------- */
.atmos { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--void); }
.atmos i { position: absolute; display: block; }
.atmos-a, .atmos-b { border-radius: 50%; will-change: transform; }
.atmos-a {
  width: 70vw; height: 70vw; left: -24vw; top: -30vw;
  background: radial-gradient(closest-side, rgba(11, 127, 145, .035), rgba(11, 127, 145, 0));
  animation: atmos-a 28s ease-in-out infinite alternate;
}
.atmos-b {
  width: 64vw; height: 64vw; right: -22vw; bottom: -30vw;
  background: radial-gradient(closest-side, rgba(11, 127, 145, .03), rgba(11, 127, 145, 0));
  animation: atmos-b 34s ease-in-out infinite alternate;
}
@keyframes atmos-a { to { transform: translate(10vw, 14vw); } }
@keyframes atmos-b { to { transform: translate(-8vw, -12vw); } }
.atmos-halo { inset: 0; background: radial-gradient(55% 55% at 50% 48%, rgba(242, 244, 245, .42), rgba(255, 255, 255, 0) 75%), radial-gradient(40% 50% at 12% 20%, rgba(242, 244, 245, .3), rgba(255, 255, 255, 0) 70%); }
.atmos-vignette { inset: 0; background: radial-gradient(120% 90% at 50% 45%, rgba(255, 255, 255, 0) 55%, rgba(14, 26, 32, .083) 100%); }
.atmos-grain {
  inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hs-index, .hs-flow, .hs-cats, .hs-reach, .hs-partners, .hs-vision { background: transparent; position: relative; }
/* a little air between one section and the next */
.hs-index, .hs-flow, .hs-cats, .hs-reach, .hs-partners, .hs-vision { margin-top: clamp(32px, 4.5vw, 72px); }
@media (max-width: 767px) { .hs-index, .hs-flow, .hs-cats, .hs-reach, .hs-partners, .hs-vision { margin-top: 28px; } }
/* out of the hero's floor: the room's light fades in rather than starting at an edge */
.hs-index { background: linear-gradient(180deg, var(--void) 0, rgba(255, 255, 255, 0) min(45vh, 420px)); }
/* the same quiet cyan light the hero uses, so every section feels like the same room */
.hs-index::before, .hs-flow::before, .hs-cats::before, .hs-vision::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 45% at 80% 30%, rgba(11, 127, 145, .039), rgba(11, 127, 145, 0) 70%),
              radial-gradient(45% 40% at 10% 90%, rgba(11, 127, 145, .034), rgba(11, 127, 145, 0) 70%);
}
.hs-flow::before { background: radial-gradient(40% 45% at 38% 62%, rgba(11, 127, 145, .039), rgba(11, 127, 145, 0) 70%); }
.flow-sticky { position: relative; }
.flow-sticky > .container { position: relative; }
.flow-sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(11, 127, 145, .069) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 127, 145, .069) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 55% at 50% 55%, #000, transparent); mask-image: radial-gradient(60% 55% at 50% 55%, #000, transparent); }
.hs-cats::before { background: radial-gradient(55% 45% at 20% 40%, rgba(11, 127, 145, .039), rgba(11, 127, 145, 0) 70%); }
.hs-vision::before { background: radial-gradient(45% 50% at 50% 45%, rgba(11, 127, 145, .05), rgba(11, 127, 145, 0) 70%); }
.hs-cats > *, .hs-reach > *, .hs-partners > *, .hs-vision > * { position: relative; }

.hs-h2 {
  font: 500 clamp(38px, 4.8vw, 80px)/.98 var(--font-display);
  letter-spacing: -.045em; color: var(--ink-hi); text-wrap: balance;
}
.hs-lede { margin-top: 10px; max-width: 46ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: #4A5C64; }
.hs-head { max-width: none; }
.hs-head .hs-h2 { margin-top: 0; }
.hs-h2--sm { font-size: clamp(30px, 3.2vw, 48px); }
/* small labels: the body face, sentence case, a step quieter than the text they label */
.hs-k { font: 500 13px/1.35 var(--font-display); letter-spacing: 0; color: var(--text-mute); }

/* ---------- typewriter (JS wraps letters in .ch inside nowrap words) ---------- */
.tw-w { display: inline-block; white-space: nowrap; }
.js [data-type] .ch { opacity: 0; }
.js [data-type] .ch.on { opacity: 1; }
[data-type] .ch { position: relative; }
[data-type] .ch.is-caret::after {
  content: ""; position: absolute; left: 100%; top: .12em; bottom: .02em; width: .06em; margin-left: .04em;
  background: var(--cyan); box-shadow: 0 0 12px rgba(11, 127, 145, .336);
}
[data-type].is-typed .ch.is-caret::after { animation: tw-caret 1s steps(1) infinite; }
@keyframes tw-caret { 50% { opacity: 0; } }
.js [data-type-after] { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-type-after].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   SCROLL RUNWAYS — the index, the scope and the timeline are pinned while their spacer scrolls past
   (home-sections.js adds .is-runway when the content fits one screen; otherwise they scrub in place)
   ========================================================================== */
.hs-index, .hs-flow { overflow-x: clip; }   /* clip, not hidden: hidden would stop the content from sticking */
.idx-sticky, .flow-sticky { top: var(--header-h); padding-block: clamp(48px, 5vw, 80px); }
.is-runway > .idx-sticky, .is-runway > .flow-sticky { position: sticky; padding-block: clamp(36px, 6vh, 64px); }
.hs-index.is-runway::after, .hs-flow.is-runway::after { content: ""; display: block; height: 90vh; }
.hs-index.is-runway::after { height: 140vh; }
/* shorter screens (laptops): the pinned content keeps its rhythm but tightens so it still fits one screen */
@media (max-height: 860px) and (min-width: 768px) {
  .is-runway > .idx-sticky, .is-runway > .flow-sticky { padding-block: 28px; }
  .scope { margin-top: 28px; }
}
.idx-sticky .hs-h2, .flow-sticky .hs-h2 { font-size: clamp(34px, 3.8vw, 62px); }

/* ==========================================================================
   WHAT EDIO IS — the index: the current row darkens and its line fills; its picture wipes up over the last.
   Pictures are shown whole (never cropped): each sits in the same frame at its own shape.
   ========================================================================== */
.idx-grid { margin-top: clamp(32px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.idx-rows { border-top: 1px solid var(--line); }
.idx-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(18px, 3vh, 30px) 0; border-bottom: 1px solid var(--line); }
.idx-row::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--cyan); transform: scaleX(var(--f, 1)); transform-origin: left; }
.idx-row h3 { font: 500 clamp(26px, 2.8vw, 46px)/1 var(--font-display); letter-spacing: -.04em; color: var(--ink-hi); transition: color .35s ease, transform .5s var(--ease); }
.idx-row p { font-size: 16px; line-height: 1.5; color: var(--text-dim); transition: color .35s ease; }
.js .idx-row:not(.is-on) h3 { color: rgba(14, 26, 32, .26); }
.js .idx-row:not(.is-on) p { color: var(--text-mute); }
.idx-row.is-on h3 { transform: translateX(10px); }
.idx-row.is-on h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 14px 6px -24px; background: var(--cyan); vertical-align: middle; }
.idx-pics { position: relative; aspect-ratio: 4 / 3; max-height: calc(100vh - var(--header-h) - 220px); width: 100%; }
.idx-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; background: var(--bg); clip-path: inset(calc(var(--w, 0) * 100%) 0 0 0); }
/* no JS: the three pictures simply follow one another */
.no-js .idx-pics { aspect-ratio: auto; max-height: none; display: grid; gap: 12px; }
.no-js .idx-pics img { position: static; height: auto; }

/* ==========================================================================
   FROM REPAIRS TO INTELLIGENCE — the scope: one white graph box. Uneven source waves run in from the left
   and meet at EDIO's box in the middle; a clean wave comes out on the right. As the reader scrolls, EDIO's
   four steps appear one by one (home-sections.js draws the graph)
   ========================================================================== */
.scope { margin-top: clamp(36px, 5.5vh, 60px); overflow: hidden; background: #fff; border: 1px solid rgba(14, 26, 32, .09); border-radius: 24px; box-shadow: 0 40px 80px -60px rgba(14, 26, 32, .35); }
/* the titles run along the top: what goes in on the left, what comes out on the right */
.scope-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 40px; padding: 22px 28px 18px; border-bottom: 1px solid rgba(14, 26, 32, .06); }
.scope-top > div { display: grid; gap: 10px; }
.scope-top-r { text-align: right; justify-items: end; }
.scope-k { font: 500 13px/1.3 var(--font-display); color: var(--text-mute); }
.scope-note { font: 500 18px/1.3 var(--font-display); letter-spacing: -.015em; color: var(--ink-hi); }
.scope-key { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.scope-key li { display: flex; align-items: center; gap: 9px; font: 500 14px/1.3 var(--font-display); color: var(--ink-hi); white-space: nowrap; }
.scope-key i { width: 16px; height: 2px; border-radius: 1px; background: rgba(14, 26, 32, .5); }
.scope-key li:nth-child(2) i { background: var(--cyan-2); }
.scope-key li:nth-child(3) i { background: #0A2233; }
/* one graph across the whole box; EDIO's box sits on it, the uneven waves run into it and a clean wave comes out */
.scope-screen { position: relative; display: grid; place-items: center; height: clamp(310px, 40vh, 400px); }
.scope-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scope-box { position: relative; width: min(270px, 30%); padding: 18px 20px; background: #fff; border: 1px solid rgba(14, 26, 32, .1); border-radius: 18px; box-shadow: 0 24px 50px -32px rgba(14, 26, 32, .4); }
.scope-box { text-align: center; }
.scope-box img { display: block; width: 104px; height: auto; margin-inline: auto; }
.scope-box .scope-k { margin-top: 6px; }
.scope-steps { display: grid; gap: 10px; margin-top: 16px; }
.scope-steps li { position: relative; padding: 8px 14px; border: 1px solid rgba(11, 127, 145, .22); border-radius: 10px; background: rgba(11, 127, 145, .04); font: 500 15px/1.2 var(--font-display); color: var(--ink-hi); transition: opacity .5s ease, transform .6s var(--ease); }
/* the short line joining each box to the one above */
.scope-steps li + li::after { content: ""; position: absolute; left: 50%; top: -11px; width: 2px; height: 10px; margin-left: -1px; background: var(--cyan); }
.scope-steps li:last-child { background: var(--cyan-2); border-color: var(--cyan-2); color: #fff; }
.js .scope-steps li:not(.is-on) { opacity: 0; transform: translateY(8px); }

/* ==========================================================================
   06 STARTING POINT — timeline
   ========================================================================== */
.hs-cats .hs-h2 { font-size: clamp(34px, 3.8vw, 62px); }
.hs-cats { padding-block: clamp(48px, 5vw, 80px); }
/* ==========================================================================
   STARTING POINT — the heading names the category, and that word rolls over on its own; the four
   categories below light in turn, joined by a line that fills sideways as the word changes
   ========================================================================== */
/* the heading on the left, the drawing of the category on the right */
.cat-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 40%); align-items: center; gap: 24px clamp(24px, 4vw, 64px); }
.cat-board { display: block; width: 100%; height: clamp(260px, 26vw, 380px); }
.cat-h { display: grid; gap: .08em; }
.cat-h-b { color: var(--text-mute); }
/* the slot is as wide as the word in it (home-sections.js sets --w); the words roll up through it */
.cat-slot { position: relative; display: inline-block; width: var(--w, auto); height: 1.3em; overflow: hidden; vertical-align: bottom; margin-bottom: -.16em; color: var(--cyan-2); transition: width .6s var(--ease); }
.cat-slot span { display: block; width: max-content; height: 1.3em; line-height: 1.3; white-space: nowrap; opacity: 0; transform: translateY(calc(var(--i, 0) * -1.3em)); transition: transform .7s var(--ease), opacity .45s ease; }
.cat-slot span.is-cur { opacity: 1; transition: transform .7s var(--ease), opacity .5s ease .2s; }
.no-js .cat-slot span:first-child { opacity: 1; }
.cat-slot.is-snap, .cat-slot.is-snap span, .cat-slot.is-grow { transition: none; }
.cat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the four categories in one even row; a dotted line runs along their tops and fills in as each comes up */
.cat-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 5vh, 56px); }
.cat { position: relative; padding-right: clamp(20px, 2.4vw, 40px); }
.cat::before, .cat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.cat::before { background: repeating-linear-gradient(90deg, rgba(11, 127, 145, .22) 0 6px, transparent 6px 12px); }
.cat::after { background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.cat.is-done::after, .cat.is-on::after { transform: scaleX(1); }
.cat-btn { display: grid; justify-items: start; gap: 10px; width: 100%; padding: 26px 0 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.cat-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
/* the node on the line where each category starts */
.cat-btn::before { content: ""; position: absolute; left: 0; top: -5px; width: 12px; height: 12px; border-radius: 3px; background: #fff; border: 2px solid rgba(11, 127, 145, .3); box-sizing: border-box; transition: border-color .4s ease, background .4s ease; z-index: 1; }
.cat.is-done .cat-btn::before, .cat.is-on .cat-btn::before { border-color: var(--cyan); }
.cat.is-on .cat-btn::before { background: var(--cyan); }
.cat-stage { display: inline-flex; align-items: center; font: 500 13px/1.3 var(--font-display); color: var(--cyan-2); }
.cat b { font: 500 clamp(26px, 2.4vw, 38px)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--ink-hi); transition: color .4s ease; }
.cat-d { max-width: 32ch; font-size: 15px; line-height: 1.55; color: var(--text-dim); }
.cat:not(.is-on) .cat-btn { opacity: .5; transition: opacity .4s ease; }
.cat.is-on .cat-btn { opacity: 1; transition: opacity .4s ease; }
.cat.is-on b { color: var(--cyan-2); }
.no-js .cat .cat-btn { opacity: 1; }

/* ==========================================================================
   BUILDING FOR EVERY REPAIR — numbers, then the footprint map
   ========================================================================== */
.hs-reach { padding-block: clamp(64px, 7vw, 112px) clamp(40px, 4vw, 64px); }
.stats { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) 24px; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.stats dd { font: 500 clamp(40px, 4.4vw, 68px)/1 var(--font-display); letter-spacing: -.045em; color: var(--ink-hi); font-variant-numeric: tabular-nums; }
.stats dt { font: 500 14px/1.35 var(--font-display); color: var(--text-mute); }
.hs-reach .eco { margin-top: clamp(36px, 4vw, 56px); align-items: center; }

/* ==========================================================================
   GROWTH PARTNERS — one row that scrolls on its own (two copies of the list loop seamlessly); hover pauses it
   ========================================================================== */
.hs-partners { padding-block: clamp(48px, 5vw, 80px) clamp(16px, 2vw, 32px); }
.marquee {
  margin-top: clamp(28px, 3vw, 44px); overflow: hidden; padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partners { display: flex; align-items: center; flex: none; }
.partners li { flex: none; display: grid; place-items: center; height: 112px; padding-inline: clamp(32px, 3.6vw, 60px); }
.partners img { max-height: 80px; max-width: 300px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) opacity(.7); transition: filter .4s ease; }
.partners li:hover img { filter: none; }

/* ==========================================================================
   09 CLOSING VISION
   ========================================================================== */
/* the closing statement follows the partners closely; the globe still has room around the words */
.hs-vision { margin-top: 0; padding-block: clamp(56px, 6vw, 96px) clamp(96px, 11vw, 180px); min-height: clamp(680px, 100svh, 1040px); display: flex; align-items: center; }
.hs-vision > .container { width: 100%; }
.hs-vision-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hs-vision-title { margin-top: 0; max-width: 14ch; font: 500 clamp(48px, 7.6vw, 128px)/.94 var(--font-display); letter-spacing: -.05em; color: var(--ink-hi); text-wrap: balance; }
.hs-vision-cta { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* the globe behind the words (vision-fx.js) */
.hs-vision > .vision-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* the globe can be dragged: sideways swipes turn it, vertical ones still scroll the page */
.hs-vision { touch-action: pan-y; cursor: grab; }
.hs-vision.is-turning { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.hs-vision a { cursor: pointer; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {

  .idx-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 767px) {
  .idx-sticky .hs-h2, .flow-sticky .hs-h2, .hs-cats .hs-h2 { font-size: clamp(28px, 8vw, 36px); }
  /* phones scroll faster: shorter runways, and the pinned content sits close under the header */
  .hs-flow.is-runway::after { height: 70vh; }
  .is-runway > .idx-sticky, .is-runway > .flow-sticky { padding-block: 16px 12px; }
  /* phones: the index keeps its rows above one picture; the scope stacks its three parts */
  .idx-grid { grid-template-columns: 1fr; gap: 16px; }
  .idx-row { padding: 12px 0; }
  .idx-row h3 { font-size: 22px; }
  .idx-row p { font-size: 14px; }
  .idx-row.is-on h3::before { display: none; }
  .idx-row.is-on h3 { transform: none; }
  .idx-pics { max-height: 34vh; }
  .hs-index.is-runway::after { height: 110vh; }
  /* phones: the graph runs top to bottom. The sources sit above it, the waves come down into EDIO's box,
     the clean wave leaves below it, and what it becomes sits underneath */
  .scope { display: flex; flex-direction: column; margin-top: 18px; border-radius: 18px; }
  .scope-top { display: contents; }
  .scope-top > div { gap: 8px; padding: 14px 16px 12px; border-bottom: 1px solid rgba(14, 26, 32, .06); }
  .scope-top-r { order: 3; text-align: left; justify-items: start; border-bottom: 0; border-top: 1px solid rgba(14, 26, 32, .06); }
  .scope-note { font-size: 15px; }
  .scope-key { gap: 6px 14px; }
  .scope-key li { font-size: 12px; gap: 7px; }
  .scope-screen { order: 2; height: 420px; }
  .scope-box { width: min(240px, 66%); padding: 14px 16px; border-radius: 14px; }
  .scope-box img { width: 84px; }
  .scope-box .scope-k { display: none; }
  .scope-steps { gap: 8px; margin-top: 12px; }
  .scope-steps li { padding: 7px 12px; border-radius: 8px; font-size: 13.5px; }
  .scope-steps li + li::after { top: -9px; height: 8px; }
  .stats { gap: 22px 16px; }
  .partners li { height: 84px; padding-inline: 26px; }
  .partners img { max-height: 58px; max-width: 210px; }
  /* phones: the drawing sits under the heading; the categories sit two by two, each pair joined along its top line */
  .cat-top { grid-template-columns: 1fr; gap: 8px; }
  .hs-cats .cat-h { font-size: clamp(32px, 9.2vw, 42px); }
  .cat-board { height: 230px; }
  .hs-cats { padding-block: 40px; }
  .cat-cols { grid-template-columns: 1fr 1fr; row-gap: 30px; margin-top: 28px; }
  .cat { padding-right: 14px; }
  .cat-btn { gap: 8px; padding-top: 20px; }
  .cat b { font-size: 24px; }
  .cat-d { font-size: 13.5px; line-height: 1.5; }
  /* room under the buttons for the globe (vision-fx.js places it there on phones) */
  .hs-vision { display: block; min-height: 0; padding-bottom: calc(102vw + 120px); }
  .hs-vision-cta { flex-direction: column; width: 100%; }
  .hs-vision-cta .btn { width: 100%; }
}
/* no JS: the timeline shows its finished state */

@media (prefers-reduced-motion: reduce) {
  .atmos-a, .atmos-b { animation: none; }
  .idx-row h3, .idx-row p { transition: none; }
  /* no auto-scrolling: the logos wrap onto as many rows as they need */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
  .partners { flex-wrap: wrap; justify-content: center; }
  .partners[aria-hidden] { display: none; }
}

/* ==========================================================================
   FOOTPRINT MAP — the India dot map, as on edio.in: dark panel, pins per category, list beside it (eco-map.js)
   ========================================================================== */
.eco { --ink-2: #101E24; --line-ink: #23343B; --on-ink: #E4ECEE; --on-ink-soft: #93A4AA; --gold: #D8AE49;
  display: grid; gap: clamp(24px, 3.5vw, 48px); align-items: start; }
@media (min-width: 1000px) { .eco { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
/* colour per category; darker where it sits on white */
.eco [data-cat="customers"] { --c: #7FD17F; }
.eco [data-cat="events"] { --c: #D8AE49; }
.eco-side [data-cat="customers"] { --c: #2F8A3E; }
.eco-side [data-cat="events"] { --c: #B08A2E; }

.eco-map { position: relative; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-ink); }
.eco-map svg { display: block; width: 100%; height: auto; }
.eco-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 18px; border-bottom: 1px solid var(--line-ink); }
.eco-bar-k { font: 500 13px/1.3 var(--font-display); color: var(--on-ink-soft); }
.eco-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-lg { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-ink); border-radius: 99px; background: transparent; color: var(--on-ink); font: 500 13px/1.2 var(--font-display); cursor: pointer; transition: border-color .18s, opacity .18s; }
.eco-lg i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.eco-lg b { font-weight: 500; color: var(--on-ink-soft); }
.eco-lg:hover { border-color: var(--c); }
.eco-lg[aria-pressed="false"] { opacity: .5; }
.eco-lg[aria-pressed="false"] i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }

.eco-stage { position: relative; }
.map-india { fill: none; stroke: #3A7F8B; stroke-width: 5; stroke-linecap: round; }
.map-near { fill: none; stroke: #1D2B30; stroke-width: 4; stroke-linecap: round; }
.map-lead { fill: none; stroke: var(--on-ink-soft); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
.map-origin { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.map-label { font: 500 15px var(--font-display); fill: var(--on-ink); }
.map-label--k { font-size: 13px; fill: var(--gold); }
.mpin { cursor: pointer; }
.mpin-halo { fill: var(--c); opacity: .2; transform-box: fill-box; transform-origin: center; }
.eco.is-in .mpin-halo { animation: eco-ping 3s var(--ease) infinite; }
.is-touch-scrolling .eco .mpin-halo, .is-touch-scrolling .eco .wm-pin-halo { animation-play-state: paused; }
@keyframes eco-ping { 0% { transform: scale(.8); opacity: .9; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.mpin-dot { fill: var(--c); stroke: var(--ink-2); stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: transform .2s var(--ease); }
.mpin[data-on="1"] .mpin-dot { transform: scale(1.7); }
.eco-tip {
  position: absolute; z-index: 2; min-width: 140px; max-width: 230px; padding: 9px 12px; pointer-events: none;
  transform: translate(-50%, calc(-100% - 16px)); background: rgba(9, 12, 13, .95); border: 1px solid var(--c, var(--gold)); border-radius: 6px; box-shadow: 0 12px 26px rgba(0, 0, 0, .45);
}
.eco-tip b { display: block; font: 600 14.5px/1.3 var(--font-display); color: #fff; }
.eco-tip span { display: block; margin-top: 2px; font: 500 12.5px/1.3 var(--font-display); color: var(--c); }
.eco-inset { position: absolute; left: 14px; top: 14px; width: clamp(120px, 26%, 200px); padding: 8px 8px 6px; border: 1px solid var(--line-ink); background: rgba(10, 20, 24, .75); }
.eco-inset .w { fill: none; stroke: #34474E; stroke-width: 2.6; stroke-linecap: round; }
.eco-inset rect { fill: rgba(216, 174, 73, .12); stroke: var(--gold); stroke-width: 1.4; }
.eco-inset p { margin-top: 4px; font: 500 11px/1 var(--font-display); color: var(--on-ink-soft); }
.eco-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 44ch; padding: 20px; text-align: center; background: var(--ink-2); font: 500 14px/1.6 var(--font-display); color: var(--on-ink-soft); }
.eco-fallback { padding: 40px 24px; font-size: 16px; line-height: 1.6; color: var(--on-ink); }
.eco.is-live .eco-fallback { display: none; }

/* world view (opens first): world land in dots, India lit in teal, fine lines out from India with a light
   travelling each one; selecting India zooms into the India view above, the bar button comes back */
.eco { --teal: #0E8FA2; --teal-hi: #5CC6D6; }
.eco-bar-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eco[data-view="world"] .eco-legend { display: none; }
.eco-switch { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border: 1px solid rgba(14, 143, 162, .55); border-radius: 99px; background: rgba(14, 143, 162, .1); color: var(--on-ink); font: 500 13px/1.2 var(--font-display); cursor: pointer; transition: border-color .18s, background-color .18s; }
.eco-switch i { font-style: normal; color: var(--teal-hi); }
.eco-switch:hover { border-color: var(--teal-hi); background: rgba(14, 143, 162, .2); }
.eco-switch:focus-visible, .eco-ihit:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; }

.eco[data-view] .eco-stage { overflow: hidden; transition: height .6s var(--ease); }
.eco-view { transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s; }
.eco-view--world, .eco-view--india { position: relative; }
.eco[data-view="world"] .eco-view--india, .eco[data-view="india"] .eco-view--world {
  position: absolute; left: 0; right: 0; top: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.eco[data-view="world"] .eco-view--india { transform: scale(.94); }
.eco[data-view="india"] .eco-view--world { transform: scale(2.4); }

/* the world land is light enough that every country reads on the dark panel */
.wm-land { fill: none; stroke: #6F8A94; stroke-width: 5; stroke-linecap: round; }
.wm-india { fill: none; stroke: var(--teal); stroke-width: 5.4; stroke-linecap: round; transition: stroke .25s, filter .25s; }
.eco-ihit { position: absolute; z-index: 1; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.eco-ihit:is(:hover, :focus-visible) + svg .wm-india { stroke: var(--teal-hi); filter: drop-shadow(0 0 7px rgba(92, 198, 214, .75)); }
.wm-arc { fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; opacity: .7; stroke-dasharray: 1; stroke-dashoffset: 1; }
.eco.is-in .wm-arc { animation: eco-draw 1.6s var(--ease) calc(.25s + var(--i) * .12s) forwards; }
@keyframes eco-draw { to { stroke-dashoffset: 0; } }
.wm-trail { fill: none; stroke: var(--teal-hi); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: .12 2; stroke-dashoffset: .12; }
.wm-head { fill: #DDF6FA; opacity: 0; filter: drop-shadow(0 0 4px rgba(92, 198, 214, .9)); }
.wm-pin-dot { fill: var(--teal-hi); stroke: var(--ink-2); stroke-width: 3; opacity: 0; transition: opacity .4s; }
.wm-pin-halo { fill: var(--teal); opacity: 0; transform-box: fill-box; transform-origin: center; }
.eco.is-in .wm-pin-dot { opacity: 1; transition-delay: calc(1.4s + var(--i) * .12s); }
.eco.is-in .wm-pin-halo { animation: eco-ping 3.6s var(--ease) calc(1.6s + var(--i) * .33s) infinite; }
.wm-origin { stroke-width: 2.4; }
.eco-hint { position: absolute; left: 16px; bottom: 12px; font: 500 12px/1.3 var(--font-display); color: var(--on-ink-soft); pointer-events: none; }
.eco-inset { cursor: pointer; }
.eco-inset:hover { border-color: #3A4D54; }
@media (max-width: 600px) {
  .wm-land, .wm-india { stroke-width: 7; }
  .wm-arc { stroke-width: 4.4; }
  .wm-trail { stroke-width: 5.6; }
  .wm-head { r: 11px; }
  .wm-pin-dot { r: 12px; }
  .eco-hint { position: static; padding: 2px 16px 12px; font-size: 11.5px; }
  /* phone: the view button shares the label's row, the legend wraps below */
  .eco-bar-r { display: contents; }
  .eco-switch { order: 1; margin-left: auto; padding: 5px 11px; font-size: 12.5px; }
  .eco-legend { order: 2; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .eco.is-in .wm-arc, .wm-arc { animation: none; stroke-dashoffset: 0; }
  .wm-pin-dot, .eco.is-in .wm-pin-dot { opacity: 1; transition: none; }
  .eco.is-in .wm-pin-halo { animation: none; }
  .eco[data-view] .eco-stage, .eco-view, .eco[data-view] .eco-view { transition: none; transform: none; }
}

.eco-title { max-width: 14ch; font: 500 clamp(28px, 2.8vw, 44px)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--ink-hi); text-wrap: balance; }
@media (max-width: 600px) { .eco-inset, .map-label, .map-lead { display: none; } }
@media (prefers-reduced-motion: reduce) { .eco.is-in .mpin-halo { animation: none; } }
