.home-eco {
  --eco-ink: #112019;
  --eco-muted: #40534a;
  --eco-green: #056b3f;
  --eco-bright: #00e676;
  --eco-line: #c9d8cf;
  overflow: hidden;
  color: var(--eco-ink);
  background: linear-gradient(142deg, #fff 26%, #f4f6f4 26.1%, #fff 70%);
  scroll-margin-top: 105px;
}
.home-eco [hidden] { display: none !important; }
.eco-layout {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
  grid-template-areas: "intro map" "detail map";
  align-items: start;
  gap: 22px clamp(22px, 3.5vw, 54px);
}
.eco-intro { grid-area: intro; container-type: inline-size; }
.eco-intro .eyebrow { color: var(--eco-green); }
.eco-intro h2 {
  margin: 14px 0 20px;
  font-size: clamp(27px, 11.3cqi, 57px);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-transform: none;
}
.eco-intro em { font-style: normal; color: var(--eco-green); }
.eco-intro > p:not(.eyebrow) { color: var(--eco-muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; margin: 0 0 13px; max-width: 49ch; }
.eco-intro p strong { color: var(--eco-ink); }
.eco-intro .button { margin-top: 6px; text-align: center; }
.eco-map {
  grid-area: map;
  position: relative;
  isolation: isolate;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .56fr) minmax(0, 1fr);
  grid-template-areas:
    ". intent ."
    "marketing . build"
    "audience . advertising"
    "messaging . creators"
    ". technology .";
  gap: clamp(8px, 1.05vw, 16px);
  padding-block: 30px;
}
.eco-intent { grid-area: intent; }
.eco-marketing { grid-area: marketing; --eco-image: url("assets/service-marketing.webp"); --eco-image-position: 42% 55%; }
.eco-build { grid-area: build; --eco-image: url("assets/service-build.webp"); --eco-image-position: 43% 52%; }
.eco-audience { grid-area: audience; --eco-image: url("assets/service-audience-capture.webp"); --eco-image-position: 38% 48%; }
.eco-advertising { grid-area: advertising; --eco-image: url("assets/marketing/itv-global-outdoor.webp"); --eco-image-position: 52% 47%; }
.eco-messaging { grid-area: messaging; --eco-image: url("assets/service-messaging.webp"); --eco-image-position: 66% 48%; }
.eco-creators { grid-area: creators; --eco-image: url("assets/creators/creator-shoot.webp"); --eco-image-position: 55% 46%; }
.eco-technology { grid-area: technology; }
.eco-orb {
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 50%;
  width: min(84%, 555px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.eco-orbit, .eco-wheel, .eco-core, .eco-core::before { position: absolute; border-radius: 50%; }
.eco-orbit-outer {
  inset: 0;
  background: conic-gradient(from 12deg, #bacfc1, #008851 16%, #46c784 26%, #c6d6cc 35%, #c6d6cc 52%, #12a263 66%, #21bd73 77%, #bacfc1 87%);
  mask-image: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.eco-orbit-inner { inset: 6%; border: 1px dashed #7c9c8966; }
.eco-wheel {
  inset: 12%;
  background: conic-gradient(from -30deg, #fff 0deg, #e5eae6 60deg, #f9faf9 60deg, #e4e9e6 120deg, #fff 120deg, #e6ece8 180deg, #f9faf9 180deg, #e1e9e4 240deg, #fbfcfb 240deg, #e8ece9 300deg, #fff 300deg, #e4eae6 360deg);
  border: 2px solid #fff;
  box-shadow: 0 16px 34px #193e2520, inset 0 0 27px #fff;
}
.eco-core {
  display: grid;
  place-items: center;
  inset: 32%;
  isolation: isolate;
  background: linear-gradient(150deg, #fff 22%, #eef1ee 100%);
  border: 2px solid #fff;
  box-shadow: 0 12px 24px #1c36254a, inset 0 -3px 6px #c8d5cb;
}
.eco-core::before {
  content: "";
  inset: -9px;
  z-index: -1;
  mask-image: radial-gradient(closest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
  background: conic-gradient(from -35deg, #079451 0deg, #00de76 51deg, transparent 70deg 157deg, #00ac5f 157deg, #05643c 219deg, transparent 233deg);
}
.eco-core img { width: 55%; height: auto; filter: invert(1) hue-rotate(180deg) saturate(1.2); }
.eco-node {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: clamp(6px, .7vw, 10px);
  width: 100%;
  min-height: clamp(62px, 6.5vw, 94px);
  padding: 9px clamp(9px, 1.1vw, 16px);
  border: 1px solid #fff;
  border-radius: 16px;
  background: linear-gradient(150deg, #fff, #f1f4f1);
  color: var(--eco-ink);
  box-shadow: 0 1px 2px #25493229, 0 9px 19px #243e2c20;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  font: inherit;
}
.eco-node strong { display: block; font-size: clamp(13px, 1.18vw, 17px); line-height: 1.18; letter-spacing: -.02em; }
.eco-node small { display: block; margin-top: 5px; font-size: .78rem; line-height: 1.2; color: var(--eco-muted); }
.eco-symbol { flex: 0 0 23px; color: var(--eco-green); font-family: system-ui, sans-serif; font-size: 1.45rem; text-align: center; }
.eco-node:is(:hover, .is-connected) { border-color: #8dbba1; }
.eco-node[aria-pressed="true"] { border-color: #057043; box-shadow: 0 0 0 1px #057043, 0 9px 19px #243e2c28; }
.eco-node[aria-pressed="true"] strong { color: var(--eco-green); }
.eco-node:where(:not(.eco-intent, .eco-technology)) {
  padding-right: calc(var(--eco-art-size, 0%) + 9px);
}
.eco-node:where(:not(.eco-intent, .eco-technology))::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: var(--eco-art-size, 0%);
  border-radius: 0 15px 15px 0;
  background: var(--eco-image) var(--eco-image-position) / cover;
  clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
@media (min-width: 561px) {
  .eco-map { --eco-art-size: 31%; }
}
.eco-intent, .eco-technology {
  width: max-content;
  max-width: calc(100% + 145px);
  min-height: 67px;
  justify-self: center;
}
.eco-intent {
  z-index: 1;
  background: linear-gradient(120deg, #152d21, #0b160f);
  border-color: #406956;
  color: #f5f3ef;
  border-radius: 11px;
}
.eco-intent .eco-symbol { color: #75ffb5; }
.eco-intent small { color: #b0c5b9; }
.eco-intent[aria-pressed="true"] { border-color: #8fffc1; box-shadow: inset 0 0 16px #00e67624, 0 6px 24px #0f563e3d; }
.eco-intent[aria-pressed="true"] strong { color: #abffce; }
.eco-detail {
  grid-area: detail;
  min-height: 250px;
  padding: 17px 20px;
  border: 1px solid #3e6d54;
  border-left: 3px solid var(--eco-bright);
  border-radius: 0 10px 10px 0;
  background: #101e16;
  color: #f5f3ef;
}
.eco-detail h3 { margin: 4px 0 7px; font-size: 1.35rem; line-height: 1.2; }
.eco-detail p { color: #d5e2da; margin: 0 0 7px; line-height: 1.4; }
.eco-detail .eco-label { color: #a2efc1; font-size: .73rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.eco-detail .eco-connection { color: #b0c5b9; font-size: .88rem; }
.eco-detail > a { display: inline-block; color: #a2ffc7; padding: 5px 0; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.eco-audience-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 6px; }
.eco-audience-modes button {
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid #406956;
  border-radius: 6px;
  background: transparent;
  color: #f5f3ef;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.eco-audience-modes button:hover { border-color: #a2ffc7; }
.eco-audience-modes button[aria-pressed="true"] { background: #a2ffc7; border-color: #a2ffc7; color: #0a2014; }
.eco-proof, .eco-stages button {
  position: relative;
  border: 1px solid #2b8c5d;
  color: #f5fff9;
  box-shadow: inset 0 1px 0 #beffdc35, 0 3px 6px #102c2033, 0 9px 18px #102c2026;
}
.eco-proof::after, .eco-stages button::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--eco-edge-angle, 0deg), #24ec80 0%, #5affab 28%, #c3ffdf 43%, #39ff95 52%, #24ec80 72%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
}
.eco-proof:is(:hover, :focus-within), .eco-stages button:is(:hover, :focus-visible, [aria-pressed="true"]) {
  border-color: #39ff95;
  box-shadow: 0 0 0 1px #39ff95, 0 0 12px #00e67660, 0 5px 12px #102c2030;
}
.eco-proof:is(:hover, :focus-within)::after,
.eco-stages button:is(:hover, :focus-visible, [aria-pressed="true"])::after { opacity: 1; }
.eco-proof {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(16px, 3.5vw, 44px);
  margin-top: clamp(24px, 3vw, 42px);
  padding: clamp(18px, 2.45vw, 34px);
  border-radius: 14px;
  background: radial-gradient(ellipse at 5% -20%, #197447, transparent 70%), linear-gradient(120deg, #0f5135, #082a1c);
}
.eco-proof-result { align-self: center; }
.eco-proof-result strong {
  display: block;
  margin-bottom: 5px;
  color: #65fba8;
  font-size: clamp(44px, 5vw, 70px);
  line-height: .94;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.eco-proof p { margin: 0; color: #d7eee1; line-height: 1.5; }
.eco-proof-result p { max-width: 29ch; }
.eco-proof-story { border-left: 1px solid #96dbb455; padding-left: clamp(16px, 3.5vw, 44px); }
.eco-proof-story h3 { color: inherit; margin: 0 0 6px; font-size: clamp(23px, 2.4vw, 34px); letter-spacing: -.035em; }
.eco-proof-story p { max-width: 62ch; }
.eco-proof-story a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #abffce;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
.eco-flywheel { margin-top: 33px; border-top: 1px solid var(--eco-line); padding-top: 19px; }
.eco-flywheel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 12px; }
.eco-flywheel h3 { margin: 0; font-size: clamp(21px, 2vw, 28px); letter-spacing: -.03em; }
.eco-motion { border: 1px solid var(--eco-line); background: #fff; color: var(--eco-ink); border-radius: 999px; padding: 8px 13px; min-height: 44px; cursor: pointer; }
.eco-motion[aria-pressed="true"] { border-color: var(--eco-green); color: var(--eco-green); }
.eco-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.eco-stages button {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(145deg, #135738, #0a321f);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.eco-stages button span { color: #d7eee1; font-size: .8rem; line-height: 1.25; }
.eco-stages button[aria-pressed="true"] { background: linear-gradient(145deg, #176643, #08472c); }
.eco-stages button[aria-pressed="true"] strong { color: #a6ffcd; }
.eco-stage-explanation { margin: 17px 0 0; color: var(--eco-muted); line-height: 1.5; min-height: 3em; }
.home-eco :is(a, button):focus-visible { outline: 2px solid #047846; outline-offset: 4px; }
.eco-detail :is(a, button):focus-visible, .eco-proof-story a:focus-visible { outline-color: #a8ffcc; }
@media (min-width: 1051px) {
  .eco-map { top: -44px; }
}
@media (max-width: 1050px) {
  .eco-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "map" "detail"; }
  .eco-map { width: min(100%, 720px); margin-inline: auto; }
  .eco-detail { min-height: 0; }
}
@media (max-width: 560px) {
  .eco-layout { gap: 18px; }
  .eco-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "intent intent" ". ." "marketing build" "audience advertising" "messaging creators" "technology technology";
    grid-template-rows: auto 106px repeat(4, auto);
    padding-block: 4px;
  }
  .eco-orb { inset-block-start: 126px; width: 214px; }
  .eco-core { inset: 28%; }
  .eco-node { min-height: 62px; border-radius: 10px; }
  .eco-intent, .eco-technology { max-width: 100%; }
  .eco-stage-explanation { min-height: 4.5em; }
  .eco-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-proof { grid-template-columns: 1fr; }
  .eco-proof-story { border-left: 0; padding: 14px 0 0; border-top: 1px solid #96dbb455; }
}
@property --eco-edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes eco-edge-sweep { to { --eco-edge-angle: 360deg; } }
@keyframes eco-orbit-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .eco-orbit-outer { animation: eco-orbit-turn 24s linear infinite; }
  .eco-orbit-inner { animation: eco-orbit-turn 38s linear infinite reverse; }
  .eco-proof:is(:hover, :focus-within)::after,
  .eco-stages button:is(:hover, :focus-visible, [aria-pressed="true"])::after { animation: eco-edge-sweep 7s linear infinite; }
  .eco-paused .eco-orbit,
  .eco-paused .eco-proof::after,
  .eco-paused .eco-stages button::after { animation-play-state: paused; }
  .eco-proof, .eco-stages button { transition: translate .2s ease-out, box-shadow .2s ease-out, border-color .2s ease-out; }
  .eco-proof::after, .eco-stages button::after { transition: opacity .2s; }
  .eco-node { transition: border-color .2s, box-shadow .2s, background-color .2s; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .eco-proof:hover, .eco-stages button:hover {
    z-index: 1;
    translate: 0 -5px;
    box-shadow: 0 0 0 1px #39ff95, 0 0 15px #00e67670, 0 13px 23px #102c2046;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-eco .eco-motion { display: none; }
}
