/* ==========================================================================
   Residential / Ecosystem: "A Healthy Home, Intelligently Maintained"
   Live: Framer "Ecosystem" (desktop, tabs component framer-SIhew), "Ecosystem Header" (tablet, Framer
   Slideshow) and "Ecosystem Mobile" (phone, tab row + sliding card strip). Values copied from the Framer
   CSS; motion sampled per frame on live (see the easing notes below).
   ========================================================================== */

/* Inter (tab labels, desktop) and Inter Variable (green eyebrow labels): the latin files live serves */
@font-face { font-family: Inter; src: url("../../../assets/fonts/inter-400-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; src: url("../../../assets/fonts/inter-variable-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.nf-res-ecosystem {
  /* in-view text fade (replays at both viewport edges): spring stiffness ~200 / damping ~25, opacity reaches 1 at ~0.45s */
  --nf-res-ecosystem-fade-ease: linear(0, 0.024, 0.0835, 0.1635, 0.2535, 0.346, 0.4359, 0.5201, 0.5969, 0.6652, 0.7251, 0.7766, 0.8204, 0.8572, 0.8877, 0.9127, 0.9331, 0.9494, 0.9624, 0.9726, 0.9805, 0.9865, 0.9911, 0.9945, 0.997, 0.9987, 0.9999, 1, 1);
  /* desktop tab underline + label colour: Framer tween 0.4s cubic-bezier(0.44, 0, 0.56, 1) */
  --nf-res-ecosystem-tab-ease: cubic-bezier(0.44, 0, 0.56, 1);
  /* tablet slideshow: spring stiffness 200, damping 40 (overdamped), fitted to the live transform per frame */
  --nf-res-ecosystem-slide-ease: linear(0, 0.0225, 0.0737, 0.1374, 0.2051, 0.272, 0.3358, 0.3954, 0.4504, 0.5009, 0.5471, 0.589, 0.6272, 0.6619, 0.6934, 0.722, 0.7479, 0.7714, 0.7927, 0.812, 0.8295, 0.8454, 0.8598, 0.8729, 0.8847, 0.8955, 0.9052, 0.9141, 0.9221, 0.9293, 0.9359, 0.9419, 0.9473, 0.9522, 0.9567, 0.9607, 0.9644, 0.9677, 0.9707, 0.9734, 0.9759, 0.9782, 0.9802, 0.982, 0.9837, 0.9852, 0.9866, 0.9879, 0.989, 0.99, 0.991, 0.9918, 0.9926, 0.9933, 0.9939, 0.9945, 0.995, 0.9954, 0.9959, 0.9963, 0.9966, 0.9969, 0.9972, 0.9975, 0.9977, 0.9979, 0.9981, 0.9983, 0.9984, 0.9986, 0.9987, 0.9988, 0.9989, 0.999, 0.9991, 0.9992, 0.9993, 0.9994, 0.9994, 0.9995, 0.9995, 0.9996, 1);
  --nf-res-ecosystem-slide-dur: 1.37s;
  /* phone card strip: spring stiffness ~520, damping ~37 (about 1.5% overshoot), fitted to the live card positions */
  --nf-res-ecosystem-card-ease: linear(0, 0.0609, 0.197, 0.3586, 0.516, 0.6538, 0.7658, 0.8517, 0.9142, 0.9571, 0.9849, 1.0014, 1.0101, 1.0137, 1.0141, 1.0128, 1.0106, 1.0083, 1.0062, 1.0043, 1.0029, 1.0018, 1.001, 1);
  --nf-res-ecosystem-card-dur: 0.39s;

  position: relative; display: block; width: 100%;
}

/* shared text styles */
.nf-res-ecosystem__title-box, .nf-res-ecosystem__lead-box { position: relative; width: 100%; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.nf-res-ecosystem__title-box { max-width: 80%; }
.nf-res-ecosystem__lead-box { max-width: 60%; }
.nf-res-ecosystem__title {
  white-space: pre-wrap; font-family: var(--nf-font-sfns-text); font-size: 52px; font-weight: 400; line-height: 62.4px;
  text-align: center; color: var(--nf-black);
}
.nf-res-ecosystem__lead {
  white-space: pre-wrap; font-family: var(--nf-font-regular); font-size: 24px; font-weight: 400; line-height: 28.8px;
  text-align: center; color: var(--nf-grey-61);
}
.nf-res-ecosystem__lead strong { font-weight: 700; }
.nf-res-ecosystem__label {
  white-space: pre-wrap; font-family: "Inter Variable", "Inter Variable Placeholder", sans-serif; font-variation-settings: "opsz" 14, "wght" 500;
  font-size: 18px; font-weight: 400; line-height: 27px; letter-spacing: 0.15em; text-align: left; color: var(--nf-green);
}

/* in-view fade (JS adds .is-js on the section and toggles .is-in) */
.nf-res-ecosystem.is-js .nf-res-ecosystem__fade { opacity: 0; transition: opacity 0.6s var(--nf-res-ecosystem-fade-ease); }
.nf-res-ecosystem.is-js .nf-res-ecosystem__fade.is-in { opacity: 1; }
.nf-res-ecosystem.is-js .nf-res-ecosystem__fade.is-reset { transition: none; }

/* ---------- Desktop (>= 1440px): "Ecosystem" > "Ecosystem Header" > Tab1..Tab5 ---------- */
.nf-res-ecosystem__d { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; overflow: hidden; }
.nf-res-ecosystem__dhead {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px;
  width: 100%; padding: 80px 60px; overflow: hidden;
}
.nf-res-ecosystem__dcomp { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; overflow: clip; }
.nf-res-ecosystem__tabbar { position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 10px; width: 100%; overflow: clip; }
.nf-res-ecosystem__tabbar::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; pointer-events: none;
  border-bottom: 1px solid var(--nf-grey-9e);
}
.nf-res-ecosystem__tabcell { position: relative; flex: 1 0 0px; width: 1px; height: 100px; }
.nf-res-ecosystem__tab {
  position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 10px;
  width: 100%; height: 100%; padding: 0 40px; overflow: clip; cursor: pointer; outline: none;
}
.nf-res-ecosystem__tab::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; pointer-events: none;
  border-bottom: 0 solid var(--nf-green); transition: border-bottom-width 0.4s var(--nf-res-ecosystem-tab-ease);
}
.nf-res-ecosystem__tab.is-active::after { border-bottom-width: 4px; }
.nf-res-ecosystem__tab-text {
  white-space: pre; font-family: Inter, "Inter Placeholder", sans-serif; font-size: 18px; font-weight: 400; line-height: 21.6px;
  color: var(--nf-grey-9e); transition: color 0.4s var(--nf-res-ecosystem-tab-ease);
}
.nf-res-ecosystem__tab.is-active .nf-res-ecosystem__tab-text { color: var(--nf-black); }
.nf-res-ecosystem__tab:focus-visible { box-shadow: inset 0 0 0 2px var(--nf-green); } /* keyboard ring: not on live (outline none) */

.nf-res-ecosystem__panel {
  position: relative; display: none; flex-direction: row; justify-content: space-between; align-items: center;
  width: 100%; height: 722px; overflow: clip;
}
.nf-res-ecosystem__panel.is-active { display: flex; }
.nf-res-ecosystem__ptext { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; width: 40%; overflow: clip; }
.nf-res-ecosystem__ptext > .nf-res-ecosystem__fade { position: relative; width: 100%; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.nf-res-ecosystem__phead {
  white-space: pre-wrap; font-family: var(--nf-font-regular); font-size: 42px; font-weight: 400; line-height: 46.2px; color: var(--nf-black);
}
.nf-res-ecosystem__phead--large { font-family: var(--nf-font-sfns-text); font-size: 52px; line-height: 62.4px; }
.nf-res-ecosystem__pbody {
  white-space: pre-wrap; font-family: var(--nf-font-regular); font-size: 24px; font-weight: 400; line-height: 28.8px; text-align: left; color: var(--nf-grey-61);
}
.nf-res-ecosystem__pimg { position: relative; flex: 0 0 auto; width: 750px; aspect-ratio: 1 / 1; }
.nf-res-ecosystem__pimg img, .nf-res-ecosystem__simg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
}

/* ---------- Tablet (810 to 1439.98px): "Ecosystem Header" + Framer Slideshow ---------- */
.nf-res-ecosystem__t {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px;
  width: 100%; padding: 60px 40px; overflow: hidden;
}
.nf-res-ecosystem__tcomp { position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; width: 100%; padding: 0 0 30px; }
.nf-res-ecosystem__show { position: relative; flex: 0 0 auto; width: 490px; height: 816px; user-select: none; -webkit-user-select: none; }
.nf-res-ecosystem__show-view { position: absolute; inset: 0; overflow: hidden; }
.nf-res-ecosystem__show-track {
  display: flex; flex-direction: row; align-items: flex-start; gap: 10px; width: 100%; height: 100%; margin: 0; padding: 0;
  transform: translateX(-2500px); cursor: grab; touch-action: pan-y;
}
.nf-res-ecosystem__show-track.is-anim { transition: transform var(--nf-res-ecosystem-slide-dur) var(--nf-res-ecosystem-slide-ease); }
.nf-res-ecosystem__show-track.is-drag { cursor: grabbing; }
.nf-res-ecosystem__slide {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
  flex: 0 0 490px; width: 490px; height: 816px; overflow: clip;
}
/* Framer slideshow hides slides further than one viewport width from the slideshow box (visibility hidden) */
.nf-res-ecosystem__slide.is-off { visibility: hidden; }
.nf-res-ecosystem__slide-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; width: 100%; overflow: clip; }
.nf-res-ecosystem__stext { position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 30px; width: 100%; overflow: clip; }
.nf-res-ecosystem__slide--first .nf-res-ecosystem__stext { gap: 20px; }
.nf-res-ecosystem__stext > .nf-res-ecosystem__fade { position: relative; width: 100%; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.nf-res-ecosystem__stext .nf-res-ecosystem__label { font-size: 16px; line-height: 24px; text-align: center; }
.nf-res-ecosystem__shead { white-space: pre-wrap; font-family: var(--nf-font-regular); font-size: 42px; font-weight: 400; line-height: 50.4px; color: var(--nf-black); }
.nf-res-ecosystem__sbody { white-space: pre-wrap; font-family: var(--nf-font-regular); font-size: 16px; font-weight: 400; line-height: 19.2px; text-align: left; color: var(--nf-grey-61); }
.nf-res-ecosystem__simg { position: relative; flex: 0 0 auto; width: 100%; aspect-ratio: 1 / 1; }
.nf-res-ecosystem__slide--first .nf-res-ecosystem__simg { width: auto; height: 400px; aspect-ratio: 1913 / 1524; }
.nf-res-ecosystem__simg img { pointer-events: none; -webkit-user-drag: none; }
.nf-res-ecosystem__show-controls {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 30px;
  pointer-events: none;
}
.nf-res-ecosystem__arrow {
  display: block; width: 45px; height: 45px; border-radius: 40px; overflow: hidden; cursor: pointer; pointer-events: auto;
  background-color: var(--nf-grey-9e); transition: transform 0.15s cubic-bezier(0, 0, 0.58, 1);
}
.nf-res-ecosystem__arrow img { width: 45px; height: 45px; }
.nf-res-ecosystem__arrow:active { transform: scale(0.9); }
.nf-res-ecosystem__arrow:focus-visible { outline: 2px solid var(--nf-green); outline-offset: 2px; } /* keyboard ring: not on live */

/* Framer's text presets switch at 1200px: wide tablets use the desktop eyebrow size and headline leading */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .nf-res-ecosystem__stext .nf-res-ecosystem__label { font-size: 18px; line-height: 27px; }
  .nf-res-ecosystem__shead { line-height: 46.2px; }
}

/* ---------- Phone (<= 809.98px): "Ecosystem Mobile", variants "Mobile - <tab>" ---------- */
.nf-res-ecosystem__p {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 32px;
  width: 100%; overflow: clip;
}
/* the phone root ("Ecosystem Mobile") carries the white fill */
@media (max-width: 809.98px) { .nf-res-ecosystem { background-color: var(--nf-white); } }
.nf-res-ecosystem__phead-wrap { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; width: 100%; padding: 32px 16px 0; overflow: clip; }
.nf-res-ecosystem__ptitle-box, .nf-res-ecosystem__plead-box { position: relative; width: 100%; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
/* phone title: Regular 400 in the font of "Real Stories from Clean Air Zone Members.", like the desktop title (Nathan 2026-11-12; was Medium 500) */
.nf-res-ecosystem__ptitle { white-space: pre-wrap; font-family: var(--nf-font-sfns-text); font-size: 28px; font-weight: 400; line-height: 33.6px; text-align: left; color: var(--nf-black); }
.nf-res-ecosystem__plead { white-space: pre-wrap; font-family: var(--nf-font-regular); font-size: 16px; font-weight: 400; line-height: 20px; color: var(--nf-black); }

.nf-res-ecosystem__ptabs {
  position: relative; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 4px;
  width: 100%; min-height: 39px; padding: 0 16px; overflow: auto hidden; scrollbar-width: none;
}
.nf-res-ecosystem__ptabs::-webkit-scrollbar { display: none; }
.nf-res-ecosystem__ptab {
  position: absolute; top: 0; bottom: 0; z-index: 1; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 10px;
  padding: 8px; overflow: clip; cursor: pointer; outline: none;
}
.nf-res-ecosystem__ptab::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; pointer-events: none;
  border-bottom: 0 solid var(--nf-green);
}
.nf-res-ecosystem__ptab.is-active::after { border-bottom-width: 2px; }
.nf-res-ecosystem__ptab-text {
  white-space: pre; font-family: var(--nf-font-medium); font-size: 16px; font-weight: 500; line-height: 22.4px; letter-spacing: 0.04em;
  text-align: left; color: var(--nf-grey-61);
}
.nf-res-ecosystem__ptab.is-active .nf-res-ecosystem__ptab-text { color: var(--nf-black); }
.nf-res-ecosystem__ptab:focus-visible { box-shadow: inset 0 0 0 2px var(--nf-green); } /* keyboard ring: not on live */

.nf-res-ecosystem__pcards {
  position: relative; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 20px;
  width: 100%; min-height: 437px; padding: 0 0 32px 16px;
}
.nf-res-ecosystem__pcard {
  position: absolute; top: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  width: 297px; transform: translateY(0);
  transition: left var(--nf-res-ecosystem-card-dur) var(--nf-res-ecosystem-card-ease), top var(--nf-res-ecosystem-card-dur) var(--nf-res-ecosystem-card-ease), transform var(--nf-res-ecosystem-card-dur) var(--nf-res-ecosystem-card-ease);
}
/* Framer positions some cards with top: 46% + translateY(-50%), which lands 2.5px lower */
.nf-res-ecosystem__pcard.is-low { top: 46%; transform: translateY(-50%); }
.nf-res-ecosystem__pcard.is-next { cursor: pointer; }
.nf-res-ecosystem__pcard-img { position: relative; flex: 0 0 auto; width: 297px; aspect-ratio: 1.15564 / 1; }
.nf-res-ecosystem__pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.nf-res-ecosystem__pcard-text {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 12px;
  width: 297px; padding: 24px; overflow: clip; border-radius: 0 0 20px 20px; background-color: var(--nf-black);
}
.nf-res-ecosystem__pcard-text > .nf-res-ecosystem__fade { position: relative; width: 100%; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.nf-res-ecosystem__pcard-head {
  white-space: pre-wrap; font-family: var(--nf-font-medium); font-size: 18px; font-weight: 500; line-height: 24px; color: var(--nf-white);
  font-feature-settings: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
}
.nf-res-ecosystem__pcard-body { white-space: pre-wrap; font-family: var(--nf-font-regular); font-size: 12px; font-weight: 400; line-height: 16px; text-align: left; color: var(--nf-white); }

/* per-variant positions copied from live (tab lefts derived from Framer's left/right offsets) */
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__ptab:nth-child(1) { left: 16px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__ptab:nth-child(2) { left: 189.375px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__ptab:nth-child(3) { left: 330.516px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__ptab:nth-child(4) { left: 478.406px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__ptab:nth-child(5) { left: 602.484px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__ptab:nth-child(1) { left: -157px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__ptab:nth-child(2) { left: 16px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__ptab:nth-child(3) { left: 157.516px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__ptab:nth-child(4) { left: 305.406px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__ptab:nth-child(5) { left: 429.484px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__ptab:nth-child(1), .nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__ptab:nth-child(1), .nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__ptab:nth-child(1) { left: -299px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__ptab:nth-child(2), .nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__ptab:nth-child(2), .nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__ptab:nth-child(2) { left: -126px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__ptab:nth-child(3), .nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__ptab:nth-child(3), .nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__ptab:nth-child(3) { left: 16px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__ptab:nth-child(4), .nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__ptab:nth-child(4), .nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__ptab:nth-child(4) { left: 163.406px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__ptab:nth-child(5), .nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__ptab:nth-child(5), .nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__ptab:nth-child(5) { left: 287.484px; }
/* card lefts: 317px pitch, active card at 16px; the last variant pins card 5 to right: 26px (left 67px) */
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__pcard:nth-child(1) { left: 16px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__pcard:nth-child(2) { left: 333px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__pcard:nth-child(3) { left: 650px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__pcard:nth-child(4) { left: 967px; }
.nf-res-ecosystem__p[data-active="0"] .nf-res-ecosystem__pcard:nth-child(5) { left: 1284px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__pcard:nth-child(1) { left: -301px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__pcard:nth-child(2) { left: 16px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__pcard:nth-child(3) { left: 333px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__pcard:nth-child(4) { left: 650px; }
.nf-res-ecosystem__p[data-active="1"] .nf-res-ecosystem__pcard:nth-child(5) { left: 967px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__pcard:nth-child(1) { left: -618px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__pcard:nth-child(2) { left: -301px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__pcard:nth-child(3) { left: 16px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__pcard:nth-child(4) { left: 333px; }
.nf-res-ecosystem__p[data-active="2"] .nf-res-ecosystem__pcard:nth-child(5) { left: 650px; }
.nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__pcard:nth-child(1) { left: -935px; }
.nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__pcard:nth-child(2) { left: -618px; }
.nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__pcard:nth-child(3) { left: -301px; }
.nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__pcard:nth-child(4) { left: 16px; }
.nf-res-ecosystem__p[data-active="3"] .nf-res-ecosystem__pcard:nth-child(5) { left: 333px; }
.nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__pcard:nth-child(1) { left: -1201px; }
.nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__pcard:nth-child(2) { left: -884px; }
.nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__pcard:nth-child(3) { left: -567px; }
.nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__pcard:nth-child(4) { left: -250px; }
.nf-res-ecosystem__p[data-active="4"] .nf-res-ecosystem__pcard:nth-child(5) { left: 67px; }

@media (prefers-reduced-motion: reduce) {
  .nf-res-ecosystem.is-js .nf-res-ecosystem__fade, .nf-res-ecosystem__show-track.is-anim, .nf-res-ecosystem__pcard,
  .nf-res-ecosystem__tab::after, .nf-res-ecosystem__tab-text { transition: none; }
}

/* Phone tab row scrolls left and right (Danny, 2026-10-19). Live moves the tabs to fixed per-state positions, so they
   cannot be swiped; here they sit in one row inside the scrollable strip, and picking a tab glides the strip so that
   tab lands at 16px, where live puts it. Works for any tab text length (Bahasa included). */
.nf-res-ecosystem__ptabs { overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.nf-res-ecosystem__ptabs .nf-res-ecosystem__ptab { position: relative; left: auto !important; flex: none; align-self: stretch; }

/* Phone tab row: the edge with more tabs past it fades out, so the row reads as scrollable (js toggles the classes;
   QC 2026-10-28). */
.nf-res-ecosystem__ptabs.is-more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.nf-res-ecosystem__ptabs.is-more-left { -webkit-mask-image: linear-gradient(to right, transparent, #000 16px); mask-image: linear-gradient(to right, transparent, #000 16px); } /* only the 16px inset: the picked tab starts there */
.nf-res-ecosystem__ptabs.is-more-left.is-more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 56px), transparent); }

/* Phone cards: two of the PNGs (Protection Factor, Smart Signals) have half-transparent bottom rows, so the white page
   showed through as a light line between the photo and the black text panel. A black strip behind the photo's bottom
   edge makes that edge blend into the panel; the rounded top corners stay transparent (QC 2026-10-28). */
.nf-res-ecosystem__pcard-img::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background-color: var(--nf-black); }
/* Cards placed at a fractional position (top 46% + translate) left a hairline between photo and panel; the panel
   overlaps the photo by 1px so no light shows between them. */
.nf-res-ecosystem__pcard-text { margin-top: -1px; }

/* "Needs AirTest" chip on Healthy Home Score and Morning Update (not on live; Danny 2026-10-29). Indonesia only: the chips
   carry data-region-key="airtest-id", which Global, Qatar and UAE remove (tools/regions.json). Styled after
   shop.nafas.com/products/clean-air-zone .ft-tag: white pill, light grey ring, grey Medium text. Text is the size of
   the label beside it (Danny: the shop's 11px was too small here): 18px desktop tabs/eyebrows, 16px phone tabs,
   tablet eyebrow 16px / 18px from 1200px. */
.nf-res-ecosystem__tag {
  display: inline-flex; flex: none; align-items: center; padding: 4px 12px; border: 1px solid #e6e6e3; border-radius: 999px;
  background-color: var(--nf-white); color: #6b6d69; white-space: nowrap;
  font-family: "Inter Variable", "Inter Variable Placeholder", sans-serif; font-variation-settings: "opsz" 14, "wght" 500;
  font-size: 16px; font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: none;
}
.nf-res-ecosystem__tab .nf-res-ecosystem__tag, .nf-res-ecosystem__ptext .nf-res-ecosystem__tag { font-size: 18px; }
@media (min-width: 1200px) { .nf-res-ecosystem__stext .nf-res-ecosystem__tag { font-size: 18px; } }
/* desktop tabs: chip beside the label, like the phone row (Danny). Live's equal 256px cells (1440) are too narrow for
   label + chip, so a cell never shrinks below its content and the side padding drops from 40px to 24px; the other
   tabs still share the rest equally. */
.nf-res-ecosystem__tabcell { min-width: max-content; }
.nf-res-ecosystem__tab { padding: 0 24px; }
/* green eyebrow (desktop panel, tablet slides): chip on the same line */
.nf-res-ecosystem__fade:has(> .nf-res-ecosystem__tag) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.nf-res-ecosystem__fade:has(> .nf-res-ecosystem__tag) > .nf-res-ecosystem__label { flex: none; }
/* phone tab row: beside the label, like the shop's tab pill */
.nf-res-ecosystem__ptab:has(.nf-res-ecosystem__tag) { gap: 8px; }
