/*
 * Consultus Digital, case-study-shell.css
 * Case-study story template (ecw- class names): split hero, personas, build layers,
 * timeline, scoreboard and creative wall. Loaded by the case studies built on the Eco Choice shell.
 *
 * Rules are in the same cascade order every page used when this CSS was inline.
 * Page-specific rules stay in each page's own <style> block, after the <link> tags.
 */

.ecw-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.ecw-shot {
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.08);
  border-radius: 12px;
  padding: 14px 14px 18px;
  box-shadow: 0 16px 40px -24px rgba(20,20,20,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ecw-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -24px rgba(20,20,20,0.35);
}
.ecw-shot img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.ecw-shot-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A686B;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
}
.ecw-wide {
  grid-column: span 3;
}
.ecw-duo {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 24px;
  grid-column: span 3;
  align-items: start;
}
.ecw-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #8C8A87;
  background: rgba(20,20,20,0.04);
  border: 1px dashed rgba(20,20,20,0.18);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 40px;
}
@media (max-width: 760px) {
  .ecw-gallery {
    grid-template-columns: 1fr;
  }
  .ecw-wide,
  .ecw-duo {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}
/* Split hero with floating work collage */
.hero-cover .cover-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-cover .cover-main h1 {
  text-wrap: balance;
  font-size: clamp(38px, 4.4vw, 68px);
}
.hero-cover .cover-main p.lede {
  text-wrap: pretty;
}
.ecw-hero-visual {
  position: relative;
  height: 470px;
}
.ecw-hv-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.08);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 28px 64px -26px rgba(20,20,20,0.45);
}
.ecw-hv-card video,
.ecw-hv-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}
.ecw-hv-a {
  left: 50%;
  margin-left: -125px;
  top: 35px;
  width: 250px;
  z-index: 3;
  animation: ecwFloatA 7s ease-in-out infinite;
}
.ecw-hv-b {
  left: 0;
  top: 130px;
  width: 185px;
  z-index: 2;
  animation: ecwFloatB 8.5s ease-in-out infinite;
}
.ecw-hv-c {
  right: 0;
  top: 100px;
  width: 185px;
  z-index: 1;
  animation: ecwFloatC 9.5s ease-in-out infinite;
}
@keyframes ecwFloatA {
  0%, 100% {
    transform: translateY(var(--par,0px)) rotate(-1.5deg);
  }
  50% {
    transform: translateY(calc(var(--par,0px) - 12px)) rotate(-1.5deg);
  }
}
@keyframes ecwFloatB {
  0%, 100% {
    transform: translateY(var(--par,0px)) rotate(-5deg);
  }
  50% {
    transform: translateY(calc(var(--par,0px) - 9px)) rotate(-5deg);
  }
}
@keyframes ecwFloatC {
  0%, 100% {
    transform: translateY(var(--par,0px)) rotate(4.5deg);
  }
  50% {
    transform: translateY(calc(var(--par,0px) - 14px)) rotate(4.5deg);
  }
}
.ecw-hv-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFEC00;
  color: #141414;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}
.ecw-hv-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D94545;
  animation: ecwPulse 1.6s ease-in-out infinite;
}
@keyframes ecwPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ecw-hv-a,
  .ecw-hv-b,
  .ecw-hv-c,
  .ecw-hv-tag .dot {
    animation: none;
  }
}
@media (max-width: 900px) {
  .hero-cover .cover-grid {
    grid-template-columns: 1fr;
  }
  .ecw-hero-visual {
    height: 400px;
    max-width: 480px;
  }
}
/* Live landing page frames */
.ecw-pages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.ecw-browser {
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px -24px rgba(20,20,20,0.35);
}
.ecw-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #F5F2EC;
  border-bottom: 1px solid rgba(20,20,20,0.08);
}
.ecw-browser-bar .bdots {
  display: flex;
  gap: 5px;
}
.ecw-browser-bar .bdots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C7C5C8;
}
.ecw-browser-bar .burl {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 11px;
  color: #6A686B;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 4px 12px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ecw-frame {
  position: relative;
  aspect-ratio: 4/4.6;
  overflow: hidden;
  background: #FFFFFF;
}
.ecw-frame iframe {
  width: 1280px;
  height: 2400px;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  pointer-events: none;
}
.ecw-browser-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}
.ecw-browser-foot .flbl {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A686B;
}
.ecw-browser-foot a {
  font-size: 13px;
  font-weight: 500;
  color: #1A40C7;
}
.ecw-browser-foot a:hover {
  color: #141414;
}
@media (max-width: 760px) {
  .ecw-pages-grid {
    grid-template-columns: 1fr;
  }
}
/* Personas */
.ecw-personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.ecw-persona {
  background: #1E1E1E;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
}
.ecw-persona-tag {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFEC00;
}
.ecw-persona h3 {
  font-size: 17px;
  font-weight: 600;
  color: #FAF8F3;
  margin: 10px 0 10px;
  letter-spacing: -0.01em;
}
.ecw-persona .q {
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: #C7C5C8;
  min-height: 68px;
}
.ecw-persona .hook-lbl {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A878B;
  margin-top: 14px;
}
.ecw-persona .hook {
  font-size: 13.5px;
  color: #FAF8F3;
  margin-top: 5px;
  line-height: 1.45;
}
.ecw-persona img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 16px;
}
.ecw-personas-foot {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #8A878B;
  margin-top: 28px;
}
/* Timeline */
.ecw-tl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 64px;
}
.ecw-tl::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 2%;
  right: 12%;
  height: 2px;
  background: #E1DCD1;
}
.ecw-tl-step {
  position: relative;
  padding-right: 24px;
}
.ecw-tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1A40C7;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.ecw-tl-step.live .ecw-tl-dot {
  background: #FFEC00;
  border: 3px solid #141414;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
}
.ecw-tl-date {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A40C7;
  margin-bottom: 8px;
}
.ecw-tl-evt {
  font-size: 14px;
  line-height: 1.5;
  color: #2A2A2A;
}
/* Six-step timeline (Dragonscale, Gordon's). A class, not an inline style, so the 900px rule below can stack it on tablets and phones. */
.ecw-tl.ecw-tl-6 {
  grid-template-columns: repeat(6, 1fr);
}
/* Laptop frames */
.ecw-browser {
  border: 10px solid #141414;
  border-radius: 16px;
  box-shadow: 0 30px 60px -28px rgba(20,20,20,0.5);
}
.ecw-browser::after {
  content: '';
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -28px;
  height: 17px;
  background: linear-gradient(180deg, #313131, #161616);
  border-radius: 0 0 14px 14px;
}
.ecw-browser {
  position: relative;
}
.ecw-pages-grid {
  row-gap: 70px;
  margin-bottom: 34px;
}
/* Hero mini laptop */
.ecw-hv-d {
  left: auto;
  top: auto;
  right: -20px;
  bottom: -26px;
  width: 300px;
  z-index: 4;
  padding: 0;
  border: 8px solid #141414;
  border-radius: 12px;
  background: #FFFFFF;
  animation: ecwFloatD 10s ease-in-out infinite;
  overflow: visible;
}
.ecw-hv-d .ecw-frame {
  aspect-ratio: 16/10;
  border-radius: 4px;
}
.ecw-hv-d::after {
  content: '';
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -20px;
  height: 13px;
  background: linear-gradient(180deg, #313131, #161616);
  border-radius: 0 0 10px 10px;
}
@keyframes ecwFloatD {
  0%, 100% {
    transform: translateY(var(--par,0px)) rotate(-1deg);
  }
  50% {
    transform: translateY(calc(var(--par,0px) - 8px)) rotate(-1deg);
  }
}
/* Hooks */
.ecw-hooks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ecw-hook {
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.08);
  border-radius: 12px;
  padding: 12px 12px 20px;
}
.ecw-hook video {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.ecw-hook-tag {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A40C7;
  margin: 14px 0 6px;
}
.ecw-hook h3 {
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  margin: 0 0 6px;
}
.ecw-hook p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #6A686B;
  margin: 0;
}
/* Map */
.ecw-map-wrap {
  margin-top: 48px;
}
.ecw-map-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.ecw-pin-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: ecwPing 2.4s ease-out infinite;
}
@keyframes ecwPing {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  80% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.ecw-mapcard {
  opacity: 0;
  animation: ecwCardCycle 24s infinite;
}
.ecw-mapcard.c2 {
  animation-delay: 6s;
}
.ecw-mapcard.c3 {
  animation-delay: 12s;
}
.ecw-mapcard.c4 {
  animation-delay: 18s;
}
@keyframes ecwCardCycle {
  0% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  22% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ecw-pin-ring,
  .ecw-mapcard {
    animation: none;
  }
  .ecw-mapcard.c1 {
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .ecw-personas {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecw-hooks {
    grid-template-columns: 1fr;
  }
  .ecw-tl,
  .ecw-tl.ecw-tl-6 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ecw-tl::before {
    display: none;
  }
  .ecw-hv-d {
    display: none;
  }
}
@media (max-width: 560px) {
  .ecw-personas {
    grid-template-columns: 1fr;
  }
}
/* Motion-style creative dashboard */
.ecw-mdash {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
  margin-top: 48px;
}
.ecw-mdash-bar {
  background: #141414;
  padding: 11px 16px;
  display: flex;
  gap: 6px;
}
.ecw-mdash-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a3a;
}
.ecw-mstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(20,20,20,0.08);
}
.ecw-mstat {
  padding: 18px 22px;
  border-right: 1px solid rgba(20,20,20,0.08);
}
.ecw-mstat:last-child {
  border-right: none;
}
.ecw-mstat .k {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A686B;
}
.ecw-mstat .v {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #141414;
}
.ecw-chip-up {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #237A4E;
  background: #E7F4EE;
  border-radius: 6px;
  padding: 3px 8px;
}
.ecw-chip-dn {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #B93030;
  background: #FBEAEA;
  border-radius: 6px;
  padding: 3px 8px;
}
.ecw-mcards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px;
}
.ecw-mcard {
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 12px;
  padding: 12px;
  background: #FFFFFF;
}
.ecw-mcard.dead {
  opacity: 1;
  border-color: #D94545;
}
.ecw-mthumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.ecw-mthumb img,
.ecw-mthumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ecw-mtype {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(20,20,20,0.78);
  color: #FAF8F3;
  padding: 3px 8px;
  border-radius: 5px;
}
.ecw-mname {
  font-size: 14px;
  font-weight: 600;
  color: #141414;
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}
.ecw-mrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5.5px 0;
  border-bottom: 1px dashed rgba(20,20,20,0.08);
  font-size: 12px;
  color: #6A686B;
}
.ecw-mrow b {
  color: #141414;
  font-weight: 600;
  font-size: 12.5px;
}
.ecw-mrow .with-chip {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ecw-mbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 76px;
  justify-content: flex-end;
}
.ecw-mbar i {
  display: block;
  width: 44px;
  height: 5px;
  border-radius: 100px;
  background: #ECEAE6;
  position: relative;
  overflow: hidden;
}
.ecw-mbar i::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w, 50%);
  background: var(--c, #2D8F5F);
  border-radius: 100px;
}
.ecw-mtags {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A686B;
  margin: 11px 0 7px;
}
.ecw-mchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ecw-mchips i {
  font-style: normal;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 6px;
}
.ecw-mchips i.fmt {
  background: #E7F4EE;
  color: #1f7a4d;
}
.ecw-mchips i.per {
  background: #FBE4EE;
  color: #C2185B;
}
.ecw-mchips i.test {
  background: #E9EEFD;
  color: #1A40C7;
}
.ecw-mchips i.kill {
  background: #FBEAEA;
  color: #B93030;
}
@media (max-width: 960px) {
  .ecw-mcards {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecw-mstats {
    grid-template-columns: 1fr;
  }
  .ecw-mstat {
    border-right: none;
    border-bottom: 1px solid rgba(20,20,20,0.08);
  }
}
.ecw-zmock .zroas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(20,20,20,0.08);
}
.ecw-zmock .zroas span {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 7.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6A686B;
}
.ecw-zmock .zroas b {
  background: #FFEC00;
  color: #141414;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}
/* Sandpaper grain on light surfaces */
body,
.hero-cover,
.sec.bone-full {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Hero rebalance + cycling ad card */
.ecw-hv-a {
  margin-left: -170px;
}
.ecw-hv-c {
  right: -6px;
  top: 52px;
  z-index: 4;
  width: 205px;
}
.ecw-hv-d {
  z-index: 5;
}
.ecw-hv-e {
  left: 118px;
  top: -16px;
  width: 150px;
  z-index: 2;
  padding: 6px;
  animation: ecwFloatC 9s ease-in-out infinite;
}
.ecw-hv-e img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 9px;
  display: block;
  transition: opacity .4s ease;
}
@media (max-width: 900px) {
  .ecw-hv-e {
    display: none;
  }
}
.ecw-ns-head {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6A686B;
  background: #F5F2EC;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(20,20,20,0.08);
}
.ecw-ns-body svg {
  width: 100%;
  height: auto;
  display: block;
}
.ecw-ns-foot p {
  font-size: 13px;
  line-height: 1.55;
  color: #6A686B;
  margin: 0 0 12px;
}
.ecw-ns-chips i {
  font-style: normal;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid rgba(20,20,20,0.18);
  color: #2A2A2A;
}
@media (max-width: 860px) {
  .ecw-brief-grid {
    grid-template-columns: 1fr;
  }
  .ecw-ns {
    position: static;
  }
}
/* A/B verdict deck */
.ecw-ab-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 64px;
  align-items: center;
}
.ecw-ab-copy h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #141414;
  margin: 0 0 12px;
}
.ecw-ab-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: #6A686B;
  margin: 0;
  max-width: 440px;
}
.ecw-ab {
  position: relative;
  height: 300px;
}
.ecw-ab-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(340px, 92%);
  height: 260px;
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 16px;
  box-shadow: 0 26px 60px -24px rgba(20,20,20,0.45);
  padding: 24px;
  box-sizing: border-box;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ecw-ab-card .t {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1A40C7;
}
.ecw-ab-card .h {
  font-size: 17px;
  font-weight: 600;
  color: #141414;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.ecw-ab-card .r {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #141414;
}
.ecw-ab-card .r small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A686B;
  margin-top: 2px;
}
.ecw-ab-stamp {
  position: absolute;
  top: 20px;
  right: 18px;
  border: 3px solid #2D8F5F;
  color: #2D8F5F;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  transform: rotate(12deg);
}
.ecw-ab-card.lose .ecw-ab-stamp {
  border-color: #D94545;
  color: #D94545;
  transform: rotate(-12deg);
}
.ecw-ab-card.c1 {
  animation: ecwAbR 16s ease-in-out infinite;
}
.ecw-ab-card.c2 {
  animation: ecwAbL 16s ease-in-out infinite 4s;
}
.ecw-ab-card.c3 {
  animation: ecwAbR 16s ease-in-out infinite 8s;
}
.ecw-ab-card.c4 {
  animation: ecwAbL 16s ease-in-out infinite 12s;
}
@keyframes ecwAbR {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  3% {
    opacity: 1;
    transform: none;
  }
  22% {
    opacity: 1;
    transform: none;
  }
  28% {
    opacity: 0;
    transform: translateX(135%) rotate(15deg);
  }
  100% {
    opacity: 0;
  }
}
@keyframes ecwAbL {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  3% {
    opacity: 1;
    transform: none;
  }
  22% {
    opacity: 1;
    transform: none;
  }
  28% {
    opacity: 0;
    transform: translateX(-135%) rotate(-15deg);
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ecw-ab-card {
    animation: none !important;
  }
  .ecw-ab-card.c1 {
    opacity: 1;
  }
}
@media (max-width: 860px) {
  .ecw-ab-wrap {
    grid-template-columns: 1fr;
  }
}
/* Persona creative fans */
.ecw-fan {
  position: relative;
  height: 158px;
  margin-top: 18px;
}
.ecw-fan img,
.ecw-fan video {
  position: absolute;
  width: 47%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #2A2A2A;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,0.6);
}
.ecw-fan .f1 {
  left: 0;
  top: 8px;
  transform: rotate(-6deg);
  z-index: 1;
}
.ecw-fan .f2 {
  left: 26%;
  top: 0;
  transform: rotate(1.5deg);
  z-index: 2;
}
.ecw-fan .f3 {
  left: 52%;
  top: 10px;
  transform: rotate(6deg);
  z-index: 3;
}
.ecw-fan-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  z-index: 4;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #141414;
  background: #FFEC00;
  border-radius: 100px;
  padding: 4px 9px;
  font-weight: 600;
}
.ecw-fmt {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}
.ecw-fmt i {
  font-style: normal;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 7.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid #3a3a3a;
  color: #C7C5C8;
}
.ecw-fun {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A878B;
  margin-top: 11px;
}
.ecw-fun b {
  color: #FFEC00;
  font-weight: 600;
}
/* Scroll reveals */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.ecw-personas .rv:nth-child(2) {
  transition-delay: .08s;
}
.ecw-personas .rv:nth-child(3) {
  transition-delay: .16s;
}
.ecw-personas .rv:nth-child(4) {
  transition-delay: .24s;
}
.ecw-hooks .rv:nth-child(2) {
  transition-delay: .1s;
}
.ecw-hooks .rv:nth-child(3) {
  transition-delay: .2s;
}
.ecw-tl .rv:nth-child(2) {
  transition-delay: .08s;
}
.ecw-tl .rv:nth-child(3) {
  transition-delay: .16s;
}
.ecw-tl .rv:nth-child(4) {
  transition-delay: .24s;
}
.ecw-tl .rv:nth-child(5) {
  transition-delay: .32s;
}
.ecw-score .rv:nth-child(3) {
  transition-delay: .07s;
}
.ecw-score .rv:nth-child(4) {
  transition-delay: .14s;
}
.ecw-score .rv:nth-child(5) {
  transition-delay: .21s;
}
.ecw-score .rv:nth-child(6) {
  transition-delay: .28s;
}
.ecw-pages-grid .rv:nth-child(2) {
  transition-delay: .12s;
}
/* Kinetic type bands */
.ecw-band {
  background: #141414;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
}
.ecw-band-track {
  display: flex;
  align-items: baseline;
  gap: 38px;
  width: max-content;
  animation: csm-scroll 38s linear infinite;
}
.ecw-band-track.rev {
  animation-direction: reverse;
}
.ecw-band-track span {
  font-family: var(--wide);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FAF8F3;
  white-space: nowrap;
}
.ecw-band-track span.y {
  color: #FFEC00;
}
@media (prefers-reduced-motion: reduce) {
  .ecw-band-track {
    animation: none;
  }
}
/* Ghost serif texture in dark sections */
.ecw-rel {
  position: relative;
  overflow: hidden;
}
/* Yellow highlight chip (from the e11ement video language) */
.ecw-hl {
  background: #FFEC00;
  color: #141414;
  font-style: normal;
  padding: 1px 16px 4px;
  border-radius: 6px;
  display: inline-block;
  transform: rotate(-1.2deg);
}
/* Hero scope mocks */
.ecw-hv-b,
.ecw-hv-c {
  width: 200px;
}
.ecw-gmock,
.ecw-zmock {
  padding: 12px 13px 14px;
  width: 100%;
  box-sizing: border-box;
}
.ecw-mock-tag {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1A40C7;
  margin-bottom: 10px;
}
.ecw-gmock-bar {
  border: 1px solid rgba(20,20,20,0.16);
  border-radius: 100px;
  padding: 6px 11px;
  font-size: 10.5px;
  color: #2A2A2A;
  margin-bottom: 11px;
  white-space: nowrap;
  overflow: hidden;
}
.ecw-gmock-sp {
  font-size: 8.5px;
  font-weight: 700;
  color: #2A2A2A;
  margin-bottom: 4px;
}
.ecw-gmock-t {
  font-size: 11.5px;
  line-height: 1.35;
  color: #1a0dab;
  font-weight: 500;
  margin-bottom: 3px;
}
.ecw-gmock-u {
  font-size: 9.5px;
  color: #2D8F5F;
  margin-bottom: 5px;
}
.ecw-gmock-d {
  font-size: 9.5px;
  line-height: 1.5;
  color: #6A686B;
}
.ecw-zmock-head {
  font-size: 12px;
  font-weight: 600;
  color: #141414;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(20,20,20,0.08);
  margin-bottom: 4px;
}
.ecw-zmock .zr {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(20,20,20,0.08);
  font-size: 9.5px;
}
.ecw-zmock .zr span {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6A686B;
}
.ecw-zmock .zr b {
  color: #141414;
  font-weight: 600;
  white-space: nowrap;
}
.ecw-zmock .zs {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.ecw-zmock .zs i {
  font-style: normal;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  border: 1px solid #2D8F5F;
  color: #2D8F5F;
}
.ecw-zmock .zs i.won {
  background: #FFEC00;
  border-color: #FFEC00;
  color: #141414;
  font-weight: 600;
}
/* Program status strip */
.ecw-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
}
.ecw-status-cell {
  padding: 22px 24px;
  border-right: 1px solid rgba(20,20,20,0.08);
}
.ecw-status-cell:last-child {
  border-right: none;
}
.ecw-status-cell .k {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6A686B;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ecw-status-cell .k .sdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2D8F5F;
  flex: none;
  position: static;
}
.ecw-status-cell .v {
  font-size: 15.5px;
  font-weight: 600;
  color: #141414;
  margin-top: 9px;
  letter-spacing: -0.01em;
}
.ecw-status-cell .s {
  font-size: 12px;
  color: #6A686B;
  margin-top: 3px;
}
@media (max-width: 860px) {
  .ecw-status {
    grid-template-columns: 1fr 1fr;
  }
  .ecw-status-cell {
    border-bottom: 1px solid rgba(20,20,20,0.08);
  }
}
/* CRO experiment overlays on the laptops */
.ecw-cro-overlay {
  position: absolute;
  right: -18px;
  top: 64px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 250px;
  pointer-events: none;
}
.ecw-cro-chip {
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.12);
  border-radius: 10px;
  padding: 13px 15px;
  box-shadow: 0 18px 40px -16px rgba(20,20,20,0.5);
}
.ecw-cro-chip .t {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A40C7;
}
.ecw-cro-chip .h {
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.45;
  color: #2A2A2A;
  margin: 6px 0 9px;
}
.ecw-cro-chip .u {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 17px;
  font-weight: 600;
  color: #141414;
  letter-spacing: -0.02em;
}
.ecw-cro-chip .u small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6A686B;
  margin-top: 3px;
}
.ecw-cro-chip .w {
  display: inline-flex;
  margin-top: 9px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #141414;
  color: #FAF8F3;
}
.ecw-cro-chip .w.run {
  background: transparent;
  border: 1px solid #5D7BEA;
  color: #1A40C7;
}
@media (max-width: 760px) {
  .ecw-cro-overlay {
    right: 8px;
    width: 210px;
    top: 52px;
  }
}
/* Attribution */
.ecw-attr-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  margin-top: 48px;
  align-items: start;
}
.ecw-journey {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.ecw-journey::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: #E1DCD1;
}
.ecw-journey li {
  position: relative;
  padding: 0 0 30px 44px;
}
.ecw-journey li:last-child {
  padding-bottom: 0;
}
.ecw-journey .jdot {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FAF8F3;
  border: 3px solid #1A40C7;
  z-index: 1;
}
.ecw-journey li:last-child .jdot {
  background: #FFEC00;
  border-color: #141414;
}
.ecw-journey .jlbl {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1A40C7;
}
.dark-full .ecw-journey .jlbl {
  color: #B4BFEB;
}
.ecw-journey .jtxt {
  font-size: 15px;
  color: #2A2A2A;
  line-height: 1.5;
  margin-top: 4px;
}
.ecw-crm {
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 14px;
  box-shadow: 0 24px 56px -28px rgba(20,20,20,0.35);
  overflow: hidden;
}
.ecw-crm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #F5F2EC;
  border-bottom: 1px solid rgba(20,20,20,0.08);
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6A686B;
}
.ecw-crm-head .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2D8F5F;
}
.ecw-crm-rows {
  padding: 8px 20px;
}
.ecw-crm-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(20,20,20,0.1);
  font-size: 14px;
}
.ecw-crm-row:last-child {
  border-bottom: none;
}
.ecw-crm-row .k {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6A686B;
  padding-top: 2px;
}
.ecw-crm-row .v {
  color: #141414;
  font-weight: 500;
}
.ecw-crm-row .v .tag {
  display: inline-block;
  background: #E9EEFD;
  color: #1A40C7;
  border-radius: 6px;
  padding: 2px 9px;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 11px;
}
.ecw-crm-stages {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(20,20,20,0.08);
}
.ecw-stage {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid #2D8F5F;
  color: #237A4E;
}
.ecw-stage.won {
  background: #FFEC00;
  border-color: #FFEC00;
  color: #141414;
  font-weight: 600;
}
/* CRO loop */
.ecw-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 48px;
}
.ecw-exp {
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.08);
  border-radius: 12px;
  padding: 24px 22px;
  position: relative;
}
.ecw-loop .ecw-exp:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #8C8A87;
}
.ecw-exp-tag {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A40C7;
}
.ecw-exp-hyp {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.45;
  color: #141414;
  margin: 12px 0 18px;
  min-height: 72px;
}
.ecw-exp-up {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #141414;
}
.ecw-exp-up small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6A686B;
  margin-top: 4px;
}
.ecw-exp-pill {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 13px;
  border-radius: 100px;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ecw-exp-pill.base {
  background: #141414;
  color: #FAF8F3;
}
.ecw-exp-pill.run {
  border: 1px solid #5D7BEA;
  color: #1A40C7;
}
@media (max-width: 860px) {
  .ecw-attr-grid {
    grid-template-columns: 1fr;
  }
  .ecw-loop {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ecw-loop .ecw-exp:not(:last-child)::after {
    content: '\2193';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -26px;
    transform: translateX(-50%);
  }
}
/* Search rebuild */
.ecw-search-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  margin-top: 48px;
  align-items: start;
}
.ecw-tree {
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px -28px rgba(20,20,20,0.3);
  position: sticky;
  top: 100px;
}
.ecw-tree-head {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6A686B;
  background: #F5F2EC;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(20,20,20,0.08);
  display: flex;
  justify-content: space-between;
}
.ecw-tree-body {
  padding: 18px 20px 20px;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 12.5px;
  line-height: 2.1;
  color: #2A2A2A;
}
.ecw-tree-body .root {
  font-weight: 600;
  color: #141414;
}
.ecw-tree-body .branch {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ecw-tree-body .branch b {
  color: #1A40C7;
  font-weight: 600;
}
.ecw-tree-body .branch.pmax b {
  color: #141414;
  background: #FFEC00;
  padding: 1px 7px;
  border-radius: 4px;
}
.ecw-tree-body .branch .dim {
  color: #6A686B;
}
.ecw-tree-foot {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #6A686B;
  border-top: 1px dashed rgba(20,20,20,0.15);
  padding: 12px 20px 16px;
}
@media (max-width: 860px) {
  .ecw-search-grid {
    grid-template-columns: 1fr;
  }
  .ecw-tree {
    position: static;
  }
}
/* Creative scoreboard */
.ecw-score {
  margin-top: 48px;
}
.ecw-score-head {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.6fr 1.4fr;
  gap: 18px;
  padding: 0 18px 12px;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A878B;
}
.ecw-score-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.6fr 1.4fr;
  gap: 18px;
  align-items: center;
  background: #1E1E1E;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.ecw-score-row.dead {
  opacity: 0.55;
}
.ecw-score-id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ecw-score-id img,
.ecw-score-id video {
  width: 52px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  flex: none;
  display: block;
}
.ecw-score-id strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #FAF8F3;
  letter-spacing: -0.01em;
}
.ecw-score-id span {
  display: block;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A878B;
  margin-top: 4px;
}
.ecw-score-hook {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ecw-score-hook .bar {
  flex: 1;
  height: 6px;
  background: #2A2A2A;
  border-radius: 100px;
  overflow: hidden;
}
.ecw-score-hook .bar i {
  display: block;
  height: 100%;
  background: #FFEC00;
  border-radius: 100px;
}
.ecw-score-hook em {
  font-style: normal;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 12px;
  color: #FAF8F3;
  min-width: 34px;
}
.ecw-score-roas {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 19px;
  font-weight: 600;
  color: #FAF8F3;
  letter-spacing: -0.02em;
}
.ecw-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 100px;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ecw-pill.win {
  background: #FFEC00;
  color: #141414;
  font-weight: 600;
}
.ecw-pill.test {
  border: 1px solid #5D7BEA;
  color: #5D7BEA;
}
.ecw-pill.iter {
  border: 1px solid #8A878B;
  color: #C7C5C8;
}
.ecw-pill.kill {
  border: 1px solid #D94545;
  color: #D94545;
}
@media (max-width: 860px) {
  .ecw-score-head {
    display: none;
  }
  .ecw-score-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* Work-in-motion marquee */
.csm-sec {
  padding: 100px 0 90px;
  overflow: hidden;
}
.csm-head {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: end;
}
.csm-row {
  display: flex;
  overflow: hidden;
  margin-bottom: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.csm-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 14px 12px;
  animation: csm-scroll 60s linear infinite;
}
.csm-track.csm-rev {
  animation-direction: reverse;
  animation-duration: 70s;
}
.csm-row:hover .csm-track {
  animation-play-state: paused;
}
@keyframes csm-scroll {
  to {
    transform: translateX(-50%);
  }
}
.csm-card {
  display: block;
  width: 240px;
  flex: none;
  background: #FFFFFF;
  border: 1px solid rgba(20,20,20,0.08);
  border-radius: 12px;
  padding: 10px 10px 12px;
  box-shadow: 0 14px 36px -22px rgba(20,20,20,0.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.csm-card:nth-child(odd) {
  transform: rotate(-1.4deg);
}
.csm-card:nth-child(even) {
  transform: rotate(1.2deg);
}
.csm-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  box-shadow: 0 26px 56px -22px rgba(20,20,20,0.45);
}
.csm-card img,
.csm-card video {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.csm-card .csm-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A686B;
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
}
.csm-cta-row {
  max-width: 1200px;
  margin: 36px auto 0;
  padding: 0 32px;
}
@media (prefers-reduced-motion: reduce) {
  .csm-track {
    animation: none;
  }
}
@media (max-width: 640px) {
  .csm-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .csm-card {
    width: 180px;
  }
}
@supports (animation-timeline: view()) {
  .st-rise {
    animation: stRise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 32%;
  }
  .st-scale {
    animation: stScale linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 42%;
  }
  .st-left {
    animation: stLeft linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
  .st-right {
    animation: stRight linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
/* hero collage exits upward with a gentle shrink as you scroll past */
  .st-hero-exit {
    animation: stHeroExit linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 100%;
  }
/* the wall rows skate sideways with scroll, on top of the marquee drift */
  .st-skate-l {
    animation: stSkateL linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  .st-skate-r {
    animation: stSkateR linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .st-rise,
  .st-scale,
  .st-left,
  .st-right,
  .st-hero-exit,
  .st-skate-l,
  .st-skate-r {
    animation: none !important;
  }
}
/* 3D-tilted creative wall, Motion style */
.csm-tilt {
  perspective: 1400px;
}
.csm-tilt .csm-row {
  transform: rotateX(7deg);
  transform-style: preserve-3d;
}
.csm-tilt .csm-row + .csm-row {
  transform: rotateX(-5deg);
}
/* big scrubbed stat */
.bks-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(90px, 14vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #FFEC00;
}
.bks-num small {
  font-size: 0.42em;
  letter-spacing: -0.02em;
}
.bks-substats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}
.bks-substat {
  text-align: center;
}
.bks-substat b {
  display: block;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FAF8F3;
}
.bks-substat span {
  display: block;
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A878B;
  margin-top: 8px;
}
/* North-star card rows (ported from e11ement) */
.e11-dgp-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(20,20,20,0.1);
}
.e11-dgp-row:last-child {
  border-bottom: none;
}
.e11-dgp-row b {
  font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1A40C7;
  min-width: 64px;
  flex-shrink: 0;
}
.e11-dgp-row span {
  font-size: 14px;
  line-height: 1.5;
  color: #2A2A2A;
}
.rcx-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.rcx-viewport {
  overflow: hidden;
  padding: 38px 0;
}
.rcx-track {
  display: flex;
  gap: 26px;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.rcx-slide {
  flex: 0 0 326px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4/4.5;
  padding: 22px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transform: scale(0.84);
  opacity: 0.4;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), opacity 0.55s, box-shadow 0.55s;
}
.rcx-slide.is-active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 0 0 2px #FFEC00, 0 34px 70px -26px rgba(0,0,0,0.7);
}
.rcx-photo {
  background-size: cover;
  background-position: center top;
  color: #FAF8F3;
}
.rcx-stat {
  background: radial-gradient(135% 115% at 0% 0%, #1E1E1E 0%, #0D0D0D 72%);
  border: 1px solid #2A2A2A;
  color: #FAF8F3;
}
.rcx-eye {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.82);
}
.rcx-pbottom {
  display: flex;
  flex-direction: column;
}
.rcx-ptitle {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #FAF8F3;
}
.rcx-psub {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(250,248,243,0.82);
  margin: 6px 0 13px;
}
.rcx-pmetric {
  display: inline-block;
  width: fit-content;
  background: #FFEC00;
  color: #141414;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.rcx-statnum {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px,4.6vw,58px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #FFEC00;
  margin-top: auto;
}
.rcx-statlbl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(250,248,243,0.82);
  margin: 8px 0 14px;
}
.rcx-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FAF8F3;
  color: #141414;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}
.rcx-arrow:hover {
  background: #FFEC00;
  transform: translateY(-50%) scale(1.06);
}
.rcx-prev {
  left: -8px;
}
.rcx-next {
  right: -8px;
}
.rcx-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 22px;
}
.rcx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250,248,243,0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.rcx-dot.is-active {
  background: #FFEC00;
  width: 24px;
  border-radius: 5px;
}
@media (max-width: 560px) {
  .rcx-slide {
    flex-basis: 80vw;
  }
  .rcx-arrow {
    width: 44px;
    height: 44px;
  }
  .rcx-prev {
    left: 2px;
  }
  .rcx-next {
    right: 2px;
  }
}
