/* ============================================================
   E-COMMERCE DEVELOPMENT v2 — all selectors prefixed ec2-
   Image-led layout on top of the shared shell, buttons, crumbs,
   FAQ, contact and reviews in css/styles.css.
   ============================================================ */

.ec2-page {
  --ink: var(--deep);
  --ink-line: var(--deep-line);
  --ink-muted: var(--deep-muted);
  --ec2-gap: 12px;
}

/* ---- Reveal (only when JS runs; see the head script) ---- */
.ec2-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.ec2-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Shared bits ---- */
.ec2-sec {
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.ec2-sec.svc-alt { background: var(--bg-alt); }

.ec2-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.ec2-head .section-label { margin-bottom: 18px; }
.ec2-head h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 17ch;
}
.ec2-head .ec2-h2-xl { font-size: clamp(44px, 7vw, 100px); line-height: 0.94; letter-spacing: -0.055em; }
.ec2-head-aside {
  display: grid;
  gap: 20px;
  justify-items: start;
  justify-self: end;
  max-width: 42ch;
}
.ec2-head-aside p { font-size: var(--fz-16); line-height: 1.55; color: var(--muted); }

.ec2-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ec2-arrow {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid currentColor;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.ec2-arrow svg,
.ec2-plat-more svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.4s var(--ease);
}

.ec2-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
}
.ec2-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text) 35%, transparent);
}
.ec2-bar span {
  flex: 0 1 60%;
  min-width: 0;
  height: 18px;
  margin-left: 8px;
  padding: 0 9px;
  font-size: 11px;
  line-height: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   HERO
   ============================================================ */
.ec2-hero {
  padding: clamp(24px, 4vw, 44px) 0 0;
  background: var(--bg);
}
.ec2-hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px 56px;
  align-items: end;
}
.ec2-h1 {
  font-size: clamp(40px, 5.6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.ec2-h1-tag {
  margin-top: 18px;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--muted);
}
.ec2-h1-mark {
  color: var(--text);
  background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.14em no-repeat;
}
.ec2-hero-side { display: grid; gap: 26px; padding-bottom: 0.4em; }
.ec2-lede { font-size: var(--fz-18); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.ec2-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Store board ---- */
.ec2-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(4, clamp(118px, 11.4vw, 164px));
  gap: var(--ec2-gap);
  margin-top: clamp(32px, 4.4vw, 52px);
}
.ec2-t-a { grid-column: 1 / 4; grid-row: 1 / 5; }
.ec2-t-b { grid-column: 4 / 10; grid-row: 1 / 3; }
.ec2-t-c { grid-column: 10 / 13; grid-row: 1 / 3; }
.ec2-t-d { grid-column: 4 / 7; grid-row: 3 / 5; }
.ec2-t-e { grid-column: 7 / 10; grid-row: 3 / 5; }
.ec2-t-f { grid-column: 10 / 13; grid-row: 3 / 5; }

.ec2-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  text-decoration: none;
}
.ec2-js .ec2-tile[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.ec2-js .ec2-tile[data-reveal].is-in { opacity: 1; transform: none; }

.ec2-tile .ec2-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease) var(--d, 0s);
}
.ec2-js .ec2-tile[data-reveal]:not(.is-in) .ec2-media { transform: scale(1.08); }
.ec2-tile > .ec2-meta { position: absolute; top: 14px; left: 16px; right: 16px; z-index: 2; }

/* Film tiles */
.ec2-t-film { background: var(--ink); border-color: var(--ink); color: var(--deep-text); }
.ec2-t-film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}
.ec2-t-film figcaption { position: absolute; inset: 14px 16px 16px; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; }
.ec2-tile-title {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 12ch;
}

/* Browser tile */
.ec2-t-browser { background: var(--surface); display: flex; flex-direction: column; }
.ec2-browser-view { position: relative; flex: 1; overflow: hidden; }
.ec2-browser-view .ec2-media { object-position: 50% 0; transform-origin: 50% 0; }
.ec2-float {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--text);
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--text) 10%, transparent);
}
.ec2-float b { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.ec2-float span { font-size: 12px; color: var(--muted); }

/* Order feed tile */
.ec2-t-feed {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 12px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--deep-text);
}
.ec2-t-feed > .ec2-meta { position: static; color: var(--ink-muted); }
.ec2-live { display: inline-flex; align-items: center; gap: 6px; color: var(--deep-text); }
.ec2-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: ec2-pulse 1.8s ease-out infinite;
}
@keyframes ec2-pulse { to { box-shadow: 0 0 0 8px transparent; } }
.ec2-feed {
  flex: 1;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  margin-top: 12px;
  list-style: none;
  overflow: hidden;
}
.ec2-feed li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 8px 10px;
  border: 1px solid var(--ink-line);
  background: color-mix(in srgb, var(--deep-text) 4%, transparent);
  font-size: 11.5px;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s;
}
.ec2-feed li.is-in { opacity: 1; transform: none; }
.ec2-feed li:first-child { border-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.ec2-feed-id { font-weight: 600; letter-spacing: 0.04em; }
.ec2-feed li b { font-size: 13px; font-weight: 600; text-align: right; }
.ec2-feed li span:not(.ec2-feed-id) { color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec2-feed li em { font-style: normal; color: var(--accent); text-align: right; white-space: nowrap; }
.ec2-feed-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--ink-line);
}
.ec2-feed-total b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ec2-feed-total span { font-size: 11.5px; color: var(--ink-muted); text-align: right; }

/* Phone tile */
.ec2-t-phone { background: var(--bg-alt); padding: 14px 16px; }
.ec2-t-phone > .ec2-meta { color: var(--muted); }
.ec2-phone-copy {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  max-width: 7.5ch;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.ec2-phone {
  position: absolute;
  right: -14px;
  top: 38px;
  height: calc(100% + 20px);
  aspect-ratio: 9 / 18.6;
  border: 6px solid var(--ink);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.45);
}
.ec2-phone-stack { display: flex; flex-direction: column; animation: ec2-phone 15s var(--ease) infinite alternate; }
.ec2-phone-stack img { display: block; width: 100%; height: auto; }
@keyframes ec2-phone {
  0%, 14% { transform: translateY(0); }
  42%, 58% { transform: translateY(-33.333%); }
  86%, 100% { transform: translateY(-66.666%); }
}

/* Price tile */
.ec2-t-price {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px 16px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.ec2-t-price > .ec2-meta { position: static; opacity: 0.72; }
.ec2-price-big {
  display: flex;
  align-items: baseline;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.ec2-price-big small { align-self: flex-start; margin: 0.35em 0.45em 0 0; font-size: 13px; letter-spacing: 0; font-weight: 600; opacity: 0.72; }
.ec2-price-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.35; font-weight: 500; }
.ec2-t-price:hover .ec2-arrow { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }

/* Facts */
.ec2-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
  list-style: none;
}
.ec2-facts li { display: grid; align-content: center; gap: 6px; padding: 22px 24px; border-left: 1px solid var(--line); }
.ec2-facts li:first-child { padding-left: 0; border-left: 0; }
.ec2-facts b { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ec2-facts li > span { font-size: var(--fz-13-5); color: var(--muted); }
.ec2-facts-badges { display: flex !important; align-items: center; gap: 22px; padding-right: 0 !important; }
.ec2-facts-badges img { height: 36px; width: auto; }

/* ---- Marquee (used by the closing band) ---- */
.ec2-marquee { display: flex; overflow: hidden; }
.ec2-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
  animation: ec2-marq var(--dur, 48s) linear infinite;
}
.ec2-marquee:hover .ec2-marquee-track { animation-play-state: paused; }
@keyframes ec2-marq { to { transform: translateX(-100%); } }

/* ============================================================
   01 FIT — four store cards
   ============================================================ */
.ec2-fit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ec2-fit-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.3s, opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.ec2-fit-card:hover { border-color: var(--text); }
.ec2-fit-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 1.3px) 0 0 / 16px 16px, var(--bg-alt);
}
.ec2-fit-num,
.ec2-fit-tag,
.ec2-chip {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}
.ec2-fit-num { left: 12px; background: var(--bg); color: var(--text); }
.ec2-fit-tag { right: 12px; background: var(--text); color: var(--bg); }
.ec2-fit-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 20px 18px; }
.ec2-fit-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.ec2-fit-body p { font-size: var(--fz-14-5); line-height: 1.5; color: var(--muted); }
.ec2-fit-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fz-13-5);
  color: var(--muted);
}
.ec2-fit-foot b { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.ec2-fit-foot .ec2-arrow { margin-left: auto; color: var(--text); }
.ec2-fit-card:hover .ec2-arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ec2-fit-card:hover .ec2-arrow svg { transform: translate(1px, -1px); }

/* Store-type drawings: ink lines on the page background, so they follow the colour theme. */
.ec2-art {
  --a-ink: var(--text);
  --a-paper: var(--surface);
  --a-fill: var(--bg-alt);
  --a-line: color-mix(in srgb, var(--text) 24%, transparent);
  --a-bar: color-mix(in srgb, var(--text) 14%, transparent);
  --a-mute: color-mix(in srgb, var(--text) 34%, transparent);
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ec2-art * { transform-box: fill-box; transform-origin: center; }
.ec2-art .k-card { fill: var(--a-paper); stroke: var(--a-line); }
.ec2-art .k-raise { filter: drop-shadow(0 10px 14px rgba(15, 15, 14, 0.12)); }
.ec2-art .k-oldbox { fill: none; stroke: var(--a-mute); stroke-dasharray: 4 4; }
.ec2-art .k-fill { fill: var(--a-fill); }
.ec2-art .k-bar { fill: var(--a-bar); }
.ec2-art .k-mute { fill: var(--a-mute); }
.ec2-art .k-ink { fill: var(--a-ink); }
.ec2-art .k-on-bar { fill: color-mix(in srgb, var(--a-paper) 55%, transparent); }
.ec2-art .k-line { fill: none; stroke: var(--a-line); }
.ec2-art .k-dash { fill: none; stroke: var(--a-mute); stroke-dasharray: 3 4; }
.ec2-art .k-stroke,
.ec2-art .k-on-stroke,
.ec2-art .k-inkline { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ec2-art .k-stroke,
.ec2-art .k-inkline { stroke: var(--a-ink); }
.ec2-art .k-on-stroke { stroke: var(--a-paper); }
.ec2-art .k-inkline { stroke-width: 2.2; }
.ec2-art text { font-family: inherit; }
.ec2-art .k-t { font-size: 10px; font-weight: 600; letter-spacing: -0.01em; fill: var(--a-ink); }
.ec2-art .k-cap { font-size: 8.5px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--a-mute); }
.ec2-art .k-on { font-size: 9px; font-weight: 650; fill: var(--a-paper); }
.ec2-art .k-tiny { font-size: 8px; }

/* 1 · Orders from chats, calls and forms land in one store */
.a1-src { animation: a1-src 6s var(--ease) calc(var(--i) * 0.35s) infinite both; }
.a1-dot { animation: a1-dot 6s var(--ease) calc(var(--i) * 0.35s) infinite both; }
.a1-badge { animation: a1-badge 6s var(--ease) infinite both; }
.a1-buy { animation: a1-buy 6s var(--ease) infinite both; }
.a1-toast { animation: a1-toast 6s var(--ease) infinite both; }
@keyframes a1-src { 0%, 10%, 100% { transform: none; } 4% { transform: translateX(4px); } }
@keyframes a1-dot {
  0% { opacity: 0; transform: none; }
  4% { opacity: 1; transform: none; }
  30% { opacity: 1; transform: translate(var(--dx), var(--dy)); }
  34%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}
@keyframes a1-badge { 0%, 40% { transform: scale(0); } 46% { transform: scale(1.3); } 52%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes a1-buy { 0%, 36%, 46%, 100% { transform: none; } 41% { transform: scale(0.92); } }
@keyframes a1-toast {
  0%, 46% { opacity: 0; transform: translateY(14px); }
  54%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* 2 · The store loads fast on a phone and every order reaches the books by itself */
.a2-load { transform-origin: left center; animation: a2-load 5s var(--ease) infinite both; }
.a2-speed { animation: a2-speed 5s var(--ease) infinite both; }
.a2-dot { animation: a2-dot 5s linear calc(var(--i) * 0.8s + 0.6s) infinite both; }
.a2-spin { animation: a2-spin 2.4s linear infinite; }
.a2-row { animation: a2-row 5s var(--ease) calc(var(--i) * 0.55s + 0.8s) infinite both; }
@keyframes a2-load { 0% { transform: scaleX(0); } 12%, 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes a2-speed { 0%, 10% { opacity: 0; transform: translateY(6px); } 16%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a2-dot { 0% { opacity: 0; transform: none; } 3% { opacity: 1; } 16% { opacity: 1; transform: translateX(54px); } 18%, 100% { opacity: 0; transform: translateX(54px); } }
@keyframes a2-spin { to { transform: rotate(360deg); } }
@keyframes a2-row { 0% { opacity: 0; transform: translateX(-10px); } 7%, 66% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; transform: none; } }

/* 3 · Products, orders and addresses move across; search positions carry on */
.a3-pack { animation: a3-pack 3.6s linear calc(var(--i) * 1.2s) infinite both; }
.a3-old { animation: a3-old 7s var(--ease) calc(var(--i) * 0.5s) infinite both; }
.a3-new { transform-origin: left center; animation: a3-new 7s var(--ease) calc(var(--i) * 0.5s) infinite both; }
.a3-line { stroke-dasharray: 100; animation: a3-line 7s var(--ease) infinite both; }
.a3-pin { animation: a3-pin 7s var(--ease) infinite both; }
@keyframes a3-pack { 0% { opacity: 0; transform: none; } 12% { opacity: 1; } 84% { opacity: 1; } 100% { opacity: 0; transform: translateX(56px); } }
@keyframes a3-old { 0%, 14% { opacity: 1; } 30%, 86% { opacity: 0.25; } 100% { opacity: 1; } }
@keyframes a3-new { 0%, 14% { transform: scaleX(0); } 32%, 88% { transform: scaleX(1); opacity: 1; } 98%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes a3-line { 0%, 20% { stroke-dashoffset: 100; opacity: 1; } 62%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes a3-pin { 0%, 58% { transform: scale(0); } 64% { transform: scale(1.35); } 70%, 90% { transform: scale(1); } 100% { transform: scale(0); } }

/* 4 · Email and spreadsheet orders become one price list kept in step with the ERP */
.a4-in { animation: a4-in 6s var(--ease) calc(var(--i) * 0.5s) infinite both; }
.a4-hl { animation: a4-hl 6s var(--ease) infinite both; }
.a4-up { animation: a4-up 2s linear infinite both; }
.a4-down { animation: a4-down 2s linear 1s infinite both; }
.a4-buy { animation: a4-buy 6s var(--ease) infinite both; }
@keyframes a4-in {
  0% { opacity: 0; transform: none; }
  4% { opacity: 1; transform: none; }
  22% { opacity: 1; transform: translate(var(--dx), var(--dy)); }
  26%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}
@keyframes a4-hl {
  0%, 14% { transform: none; }
  20%, 34% { transform: translateY(28px); }
  40%, 54% { transform: translateY(56px); }
  60%, 74% { transform: translateY(84px); }
  80%, 94% { transform: translateY(112px); }
  100% { transform: none; }
}
@keyframes a4-up { 0% { opacity: 0; transform: none; } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(32px); } }
@keyframes a4-down { 0% { opacity: 0; transform: none; } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(-32px); } }
@keyframes a4-buy { 0%, 86%, 96%, 100% { transform: none; } 91% { transform: scale(0.94); } }

/* Drawings wait until their card is on screen */
.ec2-js .ec2-fit-card:not(.is-in) .ec2-art * { animation-play-state: paused; }

/* ============================================================
   02 WORK — films and stores
   ============================================================ */
.ec2-works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(14px, 1.8vw, 24px); }
.ec2-work { grid-column: span 2; display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.ec2-work.is-half { grid-column: span 3; }
.ec2-work.is-wide { grid-column: span 4; }
.ec2-work-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.ec2-work-media > video,
.ec2-work-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.ec2-work:hover .ec2-work-media > video,
.ec2-work:hover .ec2-work-media > img { transform: scale(1.045); }
.ec2-work-media.is-screen { aspect-ratio: 16 / 10.4; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.ec2-work-media.is-screen > img { position: relative; inset: auto; flex: 1; min-height: 0; object-position: 50% 0; }
.ec2-work-media.is-screen .ec2-chip { top: 42px; }
.ec2-chip { left: 12px; background: var(--bg); color: var(--text); }
.ec2-work-cap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding-top: 16px;
}
.ec2-work-cap h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.ec2-work-cap > span { align-self: center; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ec2-work-cap p { grid-column: 1 / -1; font-size: var(--fz-14-5); color: var(--muted); }
.ec2-work-cap h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); justify-self: start; }
.ec2-work:hover .ec2-work-cap h3 { background-size: 100% 1px; }

/* Stats tile */
.ec2-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--ink);
  color: var(--deep-text);
}
.ec2-stats > .ec2-meta { color: var(--ink-muted); }
.ec2-stats-big { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 10px 24px; margin-top: auto; }
.ec2-stats-big b { font-size: clamp(72px, 9vw, 150px); font-weight: 600; letter-spacing: -0.07em; line-height: 0.82; color: var(--accent); }
.ec2-stats-big > span { max-width: 22ch; font-size: var(--fz-17); line-height: 1.4; color: var(--ink-muted); padding-bottom: 6px; }
.ec2-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); }
.ec2-stats-grid > div { padding: 16px 16px 0; border-left: 1px solid var(--ink-line); }
.ec2-stats-grid > div:first-child { padding-left: 0; border-left: 0; }
.ec2-stats-grid dt { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ec2-stats-grid dd { margin-top: 6px; font-size: 12.5px; color: var(--ink-muted); }
.ec2-stats .btn { align-self: flex-start; }

.ec2-ledger {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.ec2-ledger li:first-child { margin-right: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ec2-ledger a,
.ec2-ledger li > span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  font-size: var(--fz-14);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}
.ec2-ledger a:hover { border-color: var(--text); background: var(--accent); color: var(--accent-ink); }
.ec2-ledger em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); }
.ec2-ledger a:hover em { color: inherit; }

/* ============================================================
   03 ANATOMY — sticky frame + list
   ============================================================ */
.ec2-anat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.ec2-anat-stage { position: sticky; top: calc(var(--header-h) + 28px); }
.ec2-frame {
  border: 1px solid var(--text);
  background: var(--surface);
  box-shadow: 10px 10px 0 color-mix(in srgb, var(--text) 7%, transparent);
}
.ec2-frame .ec2-bar span { transition: color 0.3s; }
.ec2-frame-view { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #fff; }
.ec2-frame-view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s var(--ease), transform 1.3s var(--ease);
}
.ec2-frame-view img.is-contain { object-fit: contain; object-position: 50% 50%; padding: 5% 7%; background: #fff; }
.ec2-frame-view img.is-on { opacity: 1; transform: none; }
.ec2-anat-cap { margin-top: 16px; font-size: 12px; color: var(--muted); }

.ec2-anat-list { list-style: none; border-top: 1px solid var(--line); }
.ec2-anat-item {
  position: relative;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.ec2-anat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.7s var(--ease);
}
.ec2-anat-item.is-on::before { width: 100%; }
.ec2-anat-item h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: var(--muted); transition: color 0.3s; }
.ec2-anat-item p { max-width: 44ch; margin-top: 8px; font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }
.ec2-anat-item.is-on h3 { color: var(--text); }
.ec2-anat-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ec2-anat-logos span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
}
.ec2-anat-logos img { height: 16px; width: auto; }
.ec2-anat-logos .is-mark img { height: 15px; max-width: 96px; }
.ec2-anat-inline { display: none; }

/* ============================================================
   04 LEAKS — dark band
   ============================================================ */
.ec2-dark { background: var(--ink); border-top-color: var(--ink); color: var(--deep-text); }
.ec2-dark .section-label { color: var(--accent); }
.ec2-dark .ec2-head-aside p { color: var(--ink-muted); }
.ec2-leaks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink-line);
  border-left: 1px solid var(--ink-line);
  list-style: none;
}
.ec2-leak {
  position: relative;
  padding: 26px 28px 32px;
  border-right: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  transition: background 0.4s, opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.ec2-leak::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease);
}
.ec2-leak:hover { background: color-mix(in srgb, var(--deep-text) 3.5%, transparent); }
.ec2-leak:hover::after { transform: scaleX(1); }
.ec2-leak-k {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--deep-text) 50%, transparent);
}
.ec2-leak-k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff6a55; }
.ec2-leak-num {
  display: flex;
  align-items: baseline;
  gap: 0.06em;
  margin: 36px 0 12px;
  font-size: clamp(60px, 6.4vw, 100px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
}
.ec2-leak-num small { margin-left: 0.12em; font-size: 15px; letter-spacing: -0.01em; font-weight: 600; color: var(--accent); }
.ec2-leak-fix { max-width: 32ch; font-size: var(--fz-15); line-height: 1.5; color: var(--ink-muted); }
.ec2-leaks-note { margin-top: 28px; font-size: var(--fz-14-5); color: var(--ink-muted); }
.ec2-leaks-note a { color: var(--deep-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* ============================================================
   05 PLATFORMS
   ============================================================ */
.ec2-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ec2-plat {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.3s, opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.ec2-plat:hover { border-color: var(--text); }
.ec2-plat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.ec2-plat-shot { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.1s var(--ease); }
.ec2-plat:hover .ec2-plat-shot { transform: scale(1.05); }
.ec2-plat-logo {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--text);
  font-size: var(--fz-15);
  font-weight: 600;
}
.ec2-plat-logo img { height: 22px; width: auto; }
.ec2-plat-body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 22px; }
.ec2-plat-body > p { font-size: var(--fz-16); line-height: 1.5; }
.ec2-plat-facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.ec2-plat-facts li { padding: 6px 10px; background: var(--bg-alt); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.ec2-plat-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fz-14-5);
  font-weight: 600;
}
.ec2-plat:hover .ec2-plat-more svg { transform: translate(2px, -2px); }

/* ============================================================
   06 PROCESS — progress line
   ============================================================ */
.ec2-steps {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 44px;
  list-style: none;
}
.ec2-steps::before,
.ec2-steps::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  height: 2px;
  background: var(--line);
}
.ec2-steps::before { right: 0; }
.ec2-steps::after { width: calc(var(--p) * 100%); background: var(--text); }
.ec2-step { position: relative; }
.ec2-step::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 0;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  background: var(--bg-alt);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.ec2-step.is-done::before { background: var(--accent); border-color: var(--text); transform: rotate(45deg); }
.ec2-step-when { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ec2-step h3 { margin: 10px 0 8px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.ec2-step p:last-child { max-width: 30ch; font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }

/* ============================================================
   07 PRICING
   ============================================================ */
.ec2-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ec2-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.ec2-tier.is-pop { background: var(--ink); border-color: var(--ink); color: var(--deep-text); }
.ec2-tier-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 5px 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ec2-tier-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ec2-tier.is-pop .ec2-tier-k,
.ec2-tier.is-pop .ec2-tier-time { color: var(--ink-muted); }
.ec2-tier-price { display: flex; align-items: baseline; gap: 10px; font-size: clamp(46px, 4.6vw, 66px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; }
.ec2-tier-price small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.ec2-tier.is-pop .ec2-tier-price small { color: var(--ink-muted); }
.ec2-tier-time { font-size: var(--fz-13-5); color: var(--muted); }
.ec2-tier ul { display: grid; gap: 11px; margin: 6px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; }
.ec2-tier.is-pop ul { border-top-color: var(--ink-line); }
.ec2-tier li { display: flex; gap: 11px; font-size: var(--fz-15); line-height: 1.4; }
.ec2-tier li::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  margin-top: 2px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ec2-tier:not(.is-pop) li::before { background: var(--text); }
.ec2-tier .btn { width: 100%; margin-top: auto; }
.ec2-tier.is-pop .btn-lime:hover { background: var(--cta-hover); }

.ec2-guar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  list-style: none;
}
.ec2-guar li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-left: 1px solid var(--line); }
.ec2-guar li:first-child { border-left: 0; }
.ec2-guar svg { flex: 0 0 30px; height: 30px; fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linejoin: round; }
.ec2-guar span { font-size: var(--fz-13-5); line-height: 1.35; color: var(--muted); }
.ec2-guar b { display: block; font-size: var(--fz-14-5); font-weight: 600; color: var(--text); }

/* ============================================================
   MEGA MARQUEE + CURSOR
   ============================================================ */
.ec2-mega { overflow: hidden; padding: clamp(14px, 2vw, 22px) 0; background: var(--ink); color: var(--deep-text); }
.ec2-mega .ec2-marquee-track { --dur: 42s; }
.ec2-mega-item {
  padding-right: 0.32em;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
}
.ec2-mega-item i { font-style: normal; color: var(--accent); }

.ec2-cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; translate: -200px -200px; }
.ec2-cursor span {
  display: block;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.35s var(--ease);
}
.ec2-cursor.is-on span { transform: translate(-50%, -50%) scale(1); }
.ec2-has-cursor .ec2-work[data-cursor] { cursor: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .ec2-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec2-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ec2-facts-badges { display: none !important; }
}

@media (max-width: 1080px) {
  .ec2-board { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, 150px); }
  .ec2-t-a { grid-column: 1 / 4; grid-row: 1 / 5; }
  .ec2-t-b { grid-column: 4 / 7; grid-row: 1 / 3; }
  .ec2-t-c { grid-column: 4 / 7; grid-row: 3 / 5; }
  .ec2-t-d { grid-column: 1 / 3; grid-row: 5 / 7; }
  .ec2-t-e { grid-column: 3 / 5; grid-row: 5 / 7; }
  .ec2-t-f { grid-column: 5 / 7; grid-row: 5 / 7; }
  .ec2-phone-copy { display: none; }
  .ec2-phone { right: 50%; translate: 50% 0; }
  .ec2-leaks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec2-plats { grid-template-columns: 1fr 1fr; }
  .ec2-plats .ec2-plat:last-child { grid-column: 1 / -1; }
  .ec2-guar { grid-template-columns: 1fr 1fr; }
  .ec2-guar li:nth-child(3) { border-left: 0; }
  .ec2-guar li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ec2-work.is-wide { grid-column: span 4; }
}

@media (max-width: 900px) {
  .ec2-hero-head,
  .ec2-head { grid-template-columns: 1fr; }
  .ec2-head-aside { justify-self: start; }
  .ec2-works { grid-template-columns: 1fr 1fr; }
  .ec2-work,
  .ec2-work.is-half,
  .ec2-work.is-wide { grid-column: span 1; }
  .ec2-work.is-half,
  .ec2-work.is-wide { grid-column: 1 / -1; }
  .ec2-works > .ec2-work:nth-child(3) { grid-column: 1 / -1; }
  .ec2-works > .ec2-work:nth-child(3) .ec2-work-media { aspect-ratio: 16 / 10; }
  .ec2-anat-grid { grid-template-columns: 1fr; }
  .ec2-anat-stage { display: none; }
  .ec2-anat-item h3 { color: var(--text); }
  .ec2-anat-item::before { display: none; }
  .ec2-anat-inline {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-top: 16px;
    object-fit: cover;
    object-position: 50% 0;
    border: 1px solid var(--line);
    background: #fff;
  }
  .ec2-anat-inline.is-contain { object-fit: contain; padding: 4%; }
  .ec2-tiers { grid-template-columns: 1fr; max-width: 560px; }
  .ec2-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .ec2-steps::before,
  .ec2-steps::after { display: none; }
  .ec2-step::before { top: -26px; width: 14px; height: 14px; }
  .ec2-step { padding-top: 0; }
  .ec2-steps { padding-top: 26px; }
}

@media (max-width: 640px) {
  .ec2-board {
    display: flex;
    gap: 10px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .ec2-board::-webkit-scrollbar { display: none; }
  .ec2-tile { flex: 0 0 78%; height: 420px; scroll-snap-align: start; }
  .ec2-t-a { flex-basis: 70%; }
  .ec2-t-b { flex-basis: 88%; }
  .ec2-phone-copy { display: block; }
  .ec2-phone { right: -14px; translate: none; }
  .ec2-t-b .ec2-media { object-position: 0 0; }
  .ec2-facts { grid-template-columns: 1fr 1fr; }
  .ec2-facts li { padding: 16px 0 16px 16px; }
  .ec2-facts li:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ec2-facts b { font-size: 26px; }
  .ec2-fit { grid-template-columns: 1fr; }
  .ec2-works { grid-template-columns: 1fr; }
  .ec2-work,
  .ec2-work.is-half,
  .ec2-work.is-wide,
  .ec2-works > .ec2-work:nth-child(3) { grid-column: 1 / -1; }
  .ec2-work-media { aspect-ratio: 4 / 4.4; }
  .ec2-stats-big { grid-template-columns: 1fr; }
  .ec2-stats-grid { grid-template-columns: 1fr 1fr; }
  .ec2-stats-grid > div { padding: 14px 0 0; border-left: 0; }
  .ec2-leaks { grid-template-columns: 1fr; }
  .ec2-leak-num { margin-top: 24px; }
  .ec2-plats { grid-template-columns: 1fr; }
  .ec2-steps { counter-reset: step; grid-template-columns: 1fr; row-gap: 0; padding: 0 0 0 48px; }
  .ec2-steps::before,
  .ec2-steps::after { display: block; top: 16px; right: auto; left: 15px; width: 2px; height: auto; }
  .ec2-steps::before { bottom: 16px; }
  .ec2-steps::after { height: calc(var(--p) * (100% - 32px)); }
  .ec2-step { padding-bottom: 30px; }
  .ec2-step:last-child { padding-bottom: 0; }
  .ec2-step::before { counter-increment: step; content: counter(step); top: 0; left: -48px; display: grid; place-items: center; width: 32px; height: 32px; background: var(--surface); font-size: 13px; font-weight: 650; color: var(--muted); }
  .ec2-step.is-done::before { transform: none; color: var(--mark-ink); }
  .ec2-step-when { line-height: 32px; }
  .ec2-step h3 { margin: 0 0 6px; font-size: 24px; }
  .ec2-step p:last-child { max-width: none; }
  .ec2-guar { grid-template-columns: 1fr; }
  .ec2-guar li { border-left: 0 !important; }
  .ec2-guar li + li { border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  .ec2-art * { animation: none !important; }
  .ec2-phone-stack,
  .ec2-marquee-track,
  .ec2-live i { animation: none; }
  .ec2-js [data-reveal],
  .ec2-js .ec2-tile[data-reveal] { opacity: 1; transform: none; transition: none; }
  .ec2-js .ec2-tile[data-reveal] .ec2-media { transform: none; transition: none; }
  .ec2-feed li { opacity: 1; transform: none; transition: none; }
}

/* Dark surfaces: buttons on them take the dark palette's action colour */
.ec2-t-film,
.ec2-t-feed,
.ec2-work-media,
.ec2-stats,
.ec2-dark,
.ec2-tier.is-pop,
.ec2-mega {
  --cta: var(--deep-accent);
  --cta-hover: var(--deep-accent-hover);
  --cta-ink: var(--deep-accent-ink);
}
